JP2017151550A - Information processing system, screen display information generation method, electronic apparatus, and browser program - Google Patents

Information processing system, screen display information generation method, electronic apparatus, and browser program Download PDF

Info

Publication number
JP2017151550A
JP2017151550A JP2016031309A JP2016031309A JP2017151550A JP 2017151550 A JP2017151550 A JP 2017151550A JP 2016031309 A JP2016031309 A JP 2016031309A JP 2016031309 A JP2016031309 A JP 2016031309A JP 2017151550 A JP2017151550 A JP 2017151550A
Authority
JP
Japan
Prior art keywords
template
information
screen display
electronic device
web application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016031309A
Other languages
Japanese (ja)
Other versions
JP6740632B2 (en
Inventor
達也 白井
Tatsuya Shirai
達也 白井
高津 和典
Kazunori Takatsu
和典 高津
みなみ 小川
Minami Ogawa
みなみ 小川
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 JP2016031309A priority Critical patent/JP6740632B2/en
Publication of JP2017151550A publication Critical patent/JP2017151550A/en
Application granted granted Critical
Publication of JP6740632B2 publication Critical patent/JP6740632B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing system capable of reducing a data size of a Web application in which a degree of freedom of screen display is high.SOLUTION: In an information processing system having an electronic apparatus mounted with a Web browser and an information processing device for providing a Web application to the electronic apparatus, the information processing device comprises: a storage part having provision means for providing the Web application in which at least a part of screen display information is represented by a template to the electronic apparatus, and the Web browser comprises: a storage part for storing a program describing processing executable by the Web application; and conversion means for, on the basis of image display information at least a part of which is represented by the template and information on a function of the electronic apparatus, converting a portion represented by the template into the information on the function of the electronic apparatus, and for generating screen display information of a screen on which a user uses the Web application.SELECTED DRAWING: Figure 4

Description

本発明は、情報処理システム、画面表示情報生成方法、電子機器及びブラウザプログラムに関する。   The present invention relates to an information processing system, a screen display information generation method, an electronic device, and a browser program.

近年、ウェブ技術の普及により様々なデバイスにおいてウェブアプリケーションが動作するようになった。例えば従来の画像形成装置にはウェブブラウザを搭載し、ウェブアプリケーションから画像形成装置の機能を利用する構成が知られている。このような構成においては、ウェブアプリケーションごとに機能を利用するための処理や画面表示を用意すると開発コストが大きいことから、処理や画面表示のソースコードを切り出したライブラリが配布され、利用されていた。   In recent years, with the spread of web technology, web applications have been running on various devices. For example, a configuration in which a web browser is installed in a conventional image forming apparatus and functions of the image forming apparatus are used from a web application is known. In such a configuration, if a process or screen display for using a function for each web application is prepared, the development cost is high. Therefore, a library in which the source code of the process or screen display is extracted and distributed has been used. .

画面開発の効率化を維持すると共に、画像形成装置が有する特有のハードウェアの制御も可能なインタフェースを提供する画像処理システムは、従来から知られている。このような画像処理システムにおける画像形成装置は、オペレーションパネルを備える。画像形成装置はHTML(HyperText Markup Language)データに基づいてオペレーションパネルに操作画面を表示させるウェブブラウザとしてMFPブラウザを備えていた(例えば特許文献1参照)。   2. Description of the Related Art Conventionally, an image processing system that provides an interface capable of maintaining the efficiency of screen development and controlling the specific hardware of an image forming apparatus has been known. An image forming apparatus in such an image processing system includes an operation panel. The image forming apparatus includes an MFP browser as a web browser that displays an operation screen on an operation panel based on HTML (HyperText Markup Language) data (see, for example, Patent Document 1).

配布されたライブラリを利用して作成されたウェブアプリケーションは、利用の度にライブラリを含めてダウンロードされるため、ライブラリの分だけダウンロードに余計な時間が掛かる。なお、配布されたライブラリを利用して作成されたウェブアプリケーションをウェブブラウザにキャッシュさせた場合は、様々なウェブアプリケーションが同じライブラリをキャッシュすることで、キャッシュサイズが大きくなってしまう。一方、処理や画面表示をウェブブラウザに組み込んでしまうとウェブアプリケーションごとにカスタマイズできないか、あるいは、できたとしても自由度が大きく制限されてしまうという問題があった。   Since the web application created using the distributed library is downloaded including the library every time it is used, it takes extra time to download the library. Note that when a web application created using a distributed library is cached in a web browser, the cache size increases because various web applications cache the same library. On the other hand, if processing and screen display are incorporated into a web browser, there is a problem that customization is not possible for each web application, or even if it is possible, the degree of freedom is greatly limited.

本発明の実施の形態は、画面表示の自由度が高いウェブアプリケーションのデータサイズを削減できる情報処理システムを提供することを目的とする。   An object of the embodiment of the present invention is to provide an information processing system capable of reducing the data size of a web application having a high degree of freedom in screen display.

上記目的を達成するため、本願請求項1は、ウェブブラウザを搭載する電子機器と、前記電子機器にウェブアプリケーションを提供する情報処理装置と、を有する情報処理システムであって、前記情報処理装置は、画面表示情報の少なくとも一部がテンプレートにより表された前記ウェブアプリケーションを前記電子機器に提供する提供手段、を有し、前記電子機器に搭載されたウェブブラウザは、前記ウェブアプリケーションが実行可能な処理を記述したプログラムを記憶するプログラム記憶部と、前記プログラム記憶部が記憶するプログラムと、少なくとも一部がテンプレートにより表された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートにより表された部分を前記電子機器の機能に関する情報により変換して、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換手段と、を有することを特徴とする。   In order to achieve the above object, claim 1 of the present application is an information processing system including an electronic device equipped with a web browser and an information processing device that provides a web application to the electronic device. Providing means for providing the electronic device with the web application in which at least a part of the screen display information is represented by a template, and a web browser installed in the electronic device is capable of executing the web application The template is based on a program storage unit that stores a program describing the program, a program stored in the program storage unit, the screen display information at least partially represented by a template, and information on the function of the electronic device. To the information about the function of the electronic device. Converting Ri, user and having a conversion means for generating a screen display information of a screen for using the web application.

本発明の実施の形態によれば画面表示の自由度が高いウェブアプリケーションのデータサイズを削減できる。   According to the embodiment of the present invention, the data size of a web application having a high degree of freedom of screen display can be reduced.

本実施形態に係る情報処理システムの一例の構成図である。It is a lineblock diagram of an example of an information processing system concerning this embodiment. 本実施形態に係るコンピュータの一例のハードウェア構成図である。It is a hardware block diagram of an example of the computer which concerns on this embodiment. 本実施形態に係る画像形成装置の一例のハードウェア構成図である。1 is a hardware configuration diagram of an example of an image forming apparatus according to an embodiment. 本実施形態に係る情報処理システムの一例の機能ブロック図である。It is a functional block diagram of an example of an information processing system concerning this embodiment. ウェブアプリケーションで画像形成装置の機能を利用する処理手順を表した一例のシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of a processing procedure for using a function of an image forming apparatus in a web application. スキャンジョブ設定情報の一例の構成図である。It is a block diagram of an example of scan job setting information. ステップS4で返されるレスポンスの一例の構成図である。It is a block diagram of an example of the response returned by step S4. UIテンプレート情報に基づいて画面表示情報を生成する処理の手順を示した一例のフローチャートである。It is the flowchart of an example which showed the procedure of the process which produces | generates screen display information based on UI template information. UIテンプレート情報に基づいて生成された画面表示情報の一例の構成図である。It is a block diagram of an example of the screen display information produced | generated based on UI template information. ウェブブラウザが表示する画面の一例のイメージ図である。It is an image figure of an example of the screen which a web browser displays. ステップS4で返されるレスポンスの一例の構成図である。It is a block diagram of an example of the response returned by step S4. UIテンプレート情報に基づいて生成された画面表示情報の他の例の構成図である。It is a block diagram of the other example of the screen display information produced | generated based on UI template information. ウェブブラウザが表示する画面の一例のイメージ図である。It is an image figure of an example of the screen which a web browser displays. UIテンプレート情報の一例の構成図である。It is a block diagram of an example of UI template information. ジョブの状態情報の一例の構成図である。It is a block diagram of an example of the status information of a job. UIテンプレート情報に基づいてダイアログの画面表示情報を生成する処理の手順を示した一例のフローチャートである。10 is a flowchart illustrating an example of a procedure for generating screen display information of a dialog based on UI template information. UIテンプレート情報に基づいて生成されたダイアログの画面表示情報の一例の構成図である。It is a block diagram of an example of the screen display information of the dialog produced | generated based on UI template information. ジョブの状態が「読み取り中」であるときに表示される画面の一例のイメージ図である。FIG. 10 is an image diagram of an example of a screen displayed when a job state is “reading”. ジョブの状態情報の他の例の構成図である。It is a block diagram of the other example of the status information of a job. UIテンプレート情報に基づいて生成されたダイアログの画面表示情報の他の例の構成図である。It is a block diagram of the other example of the screen display information of the dialog produced | generated based on UI template information. ジョブの状態が「原稿待ち状態」であるときに表示される画面の一例のイメージ図である。FIG. 10 is an image diagram of an example of a screen displayed when the job state is “document waiting state”. 本実施形態に係る情報処理システムの他の例の機能ブロック図である。It is a functional block diagram of the other example of the information processing system which concerns on this embodiment. テンプレート記憶部がテンプレート種別ごとに記憶するUIテンプレート情報の一例の構成図である。It is a block diagram of an example of UI template information which a template memory | storage part memorize | stores for every template classification. ステップS4で返されるレスポンスの他の例の構成図である。It is a block diagram of the other example of the response returned by step S4. UIテンプレート情報に基づいて画面表示情報を生成する処理の手順を示した他の例のフローチャートである。It is the flowchart of the other example which showed the procedure of the process which produces | generates screen display information based on UI template information.

次に、本発明の実施の形態について詳細に説明する。本実施形態では、ウェブブラウザを搭載し、ウェブアプリケーションから機能を利用される電子機器の一例として画像形成装置を例に説明するが、画像形成装置に限定するものではない。例えば電子機器は、プロジェクタ、会議システム、テレビ、レコーダ、カメラ、電子黒板(IWB)などであってもよい。
[第1の実施形態]
<システム構成>
図1は、本実施形態に係る情報処理システムの一例の構成図である。図1の情報処理システム1はLANやインターネットなどのネットワーク130を介して接続された情報処理装置100、画像形成装置120を有する。情報処理装置100及び画像形成装置120は無線又は有線による通信手段を有している。図1では情報処理装置100及び画像形成装置120が1台である例を示しているが、複数台あってもよい。
Next, embodiments of the present invention will be described in detail. In the present embodiment, an image forming apparatus will be described as an example of an electronic apparatus that includes a web browser and uses functions from a web application. However, the present invention is not limited to the image forming apparatus. For example, the electronic device may be a projector, a conference system, a television, a recorder, a camera, an electronic blackboard (IWB), or the like.
[First Embodiment]
<System configuration>
FIG. 1 is a configuration diagram of an example of an information processing system according to the present embodiment. The information processing system 1 in FIG. 1 includes an information processing apparatus 100 and an image forming apparatus 120 connected via a network 130 such as a LAN or the Internet. The information processing apparatus 100 and the image forming apparatus 120 have wireless or wired communication means. Although FIG. 1 shows an example in which the information processing apparatus 100 and the image forming apparatus 120 are one, there may be a plurality of them.

情報処理装置100は一台以上のコンピュータによって実現される。情報処理装置100は後述のウェブアプリケーションを画像形成装置120に提供する。画像形成装置120は電子機器の一例である。画像形成装置120はウェブブラウザを搭載し、情報処理装置100から提供されたウェブアプリケーションを実行する。なお、図1の情報処理システム1は一例であって、一台の情報処理装置100が備える機能を複数台の情報処理装置100で実現する構成であってもよい。   The information processing apparatus 100 is realized by one or more computers. The information processing apparatus 100 provides a web application described later to the image forming apparatus 120. The image forming apparatus 120 is an example of an electronic device. The image forming apparatus 120 includes a web browser and executes a web application provided from the information processing apparatus 100. Note that the information processing system 1 in FIG. 1 is an example, and a configuration in which the functions of one information processing apparatus 100 are realized by a plurality of information processing apparatuses 100 may be employed.

<ハードウェア構成>
図1の情報処理装置100は例えば図2に示すようなハードウェア構成のコンピュータにより実現される。図2は本実施形態に係るコンピュータの一例のハードウェア構成図である。
<Hardware configuration>
The information processing apparatus 100 in FIG. 1 is realized by a computer having a hardware configuration as shown in FIG. FIG. 2 is a hardware configuration diagram of an example of a computer according to the present embodiment.

図2に示したコンピュータ500は、入力装置501、表示装置502、外部I/F503、RAM504、ROM505、CPU506、通信I/F507、及びHDD508などを備え、それぞれがバスBで相互に接続されている。なお、入力装置501及び表示装置502は必要なときに接続して利用する形態であってもよい。   A computer 500 illustrated in FIG. 2 includes an input device 501, a display device 502, an external I / F 503, a RAM 504, a ROM 505, a CPU 506, a communication I / F 507, an HDD 508, and the like. . Note that the input device 501 and the display device 502 may be connected and used when necessary.

入力装置501はキーボードやマウスなどを含み、ユーザが各操作信号を入力するのに用いられる。表示装置502はディスプレイなどを含み、コンピュータ500による処理結果を表示する。通信I/F507はコンピュータ500をネットワーク130に接続するインタフェースである。これにより、コンピュータ500は通信I/F507を介してデータ通信を行うことができる。   The input device 501 includes a keyboard and a mouse, and is used by a user to input each operation signal. The display device 502 includes a display and the like, and displays a processing result by the computer 500. The communication I / F 507 is an interface that connects the computer 500 to the network 130. Thereby, the computer 500 can perform data communication via the communication I / F 507.

HDD508はプログラムやデータを格納している不揮発性の記憶装置である。格納されるプログラムやデータにはコンピュータ500全体を制御する基本ソフトウェアであるOSや、OS上において各種機能を提供するアプリケーションソフトウェア等がある。   The HDD 508 is a non-volatile storage device that stores programs and data. The stored programs and data include an OS that is basic software for controlling the entire computer 500, application software that provides various functions on the OS, and the like.

外部I/F503は、外部装置とのインタフェースである。外部装置には、記録媒体503aなどがある。これにより、コンピュータ500は外部I/F503を介して記録媒体503aの読み取り及び/又は書き込みを行うことができる。記録媒体503aにはフレキシブルディスク、CD、DVD、SDメモリカード、USBメモリなどがある。   The external I / F 503 is an interface with an external device. The external device includes a recording medium 503a. Accordingly, the computer 500 can read and / or write the recording medium 503a via the external I / F 503. Examples of the recording medium 503a include a flexible disk, a CD, a DVD, an SD memory card, and a USB memory.

ROM505は、電源を切ってもプログラムやデータを保持することができる不揮発性の半導体メモリ(記憶装置)である。ROM505には、コンピュータ500の起動時に実行されるBIOS(Basic Input/Output System)、OS設定、及びネットワーク設定などのプログラムやデータが格納されている。RAM504は、プログラムやデータを一時保持する揮発性の半導体メモリ(記憶装置)である。   The ROM 505 is a nonvolatile semiconductor memory (storage device) that can retain programs and data even when the power is turned off. The ROM 505 stores programs and data such as BIOS (Basic Input / Output System), OS settings, and network settings that are executed when the computer 500 is started. The RAM 504 is a volatile semiconductor memory (storage device) that temporarily stores programs and data.

CPU506は、ROM505やHDD508などの記憶装置からプログラムやデータをRAM504上に読み出し、処理を実行することで、コンピュータ500全体の制御や機能を実現する演算装置である。   The CPU 506 is an arithmetic device that realizes control and functions of the entire computer 500 by reading a program and data from a storage device such as the ROM 505 and the HDD 508 onto the RAM 504 and executing processing.

本実施形態に係る情報処理装置100は上記のコンピュータ500のハードウェア構成により後述するような各種処理を実現できる。   The information processing apparatus 100 according to the present embodiment can implement various processes as described below by the hardware configuration of the computer 500 described above.

図1の画像形成装置120は、例えば図3に示すようなハードウェア構成により実現される。図3は、本実施形態に係る画像形成装置の一例のハードウェア構成図である。図3に示した画像形成装置120は、コントローラ601、操作パネル602、外部I/F603、通信I/F604、プリンタ605及びスキャナ606などを備える。   The image forming apparatus 120 in FIG. 1 is realized by a hardware configuration as shown in FIG. 3, for example. FIG. 3 is a hardware configuration diagram of an example of the image forming apparatus according to the present embodiment. The image forming apparatus 120 illustrated in FIG. 3 includes a controller 601, an operation panel 602, an external I / F 603, a communication I / F 604, a printer 605, a scanner 606, and the like.

コントローラ601はCPU611、RAM612、ROM613、NVRAM614及びHDD615などを備える。ROM613は、各種プログラムやデータが格納されている。RAM612はプログラムやデータを一時保持する。NVRAM614は、例えば設定情報等が格納されている。また、HDD615は各種プログラムやデータが格納されている。   The controller 601 includes a CPU 611, a RAM 612, a ROM 613, an NVRAM 614, an HDD 615, and the like. The ROM 613 stores various programs and data. The RAM 612 temporarily stores programs and data. The NVRAM 614 stores setting information, for example. The HDD 615 stores various programs and data.

CPU611は、ROM613やNVRAM614、HDD615などからプログラムやデータ、設定情報等をRAM612上に読み出し、処理を実行することで、画像形成装置120全体の制御や機能を実現する。   The CPU 611 implements control and functions of the entire image forming apparatus 120 by reading programs, data, setting information, and the like from the ROM 613, the NVRAM 614, the HDD 615, and the like onto the RAM 612 and executing the processing.

操作パネル602はユーザからの入力を受け付ける入力部と、表示を行う表示部とを備えている。外部I/F603は外部装置とのインタフェースである。外部装置には、記録媒体603aなどがある。これにより、画像形成装置120は外部I/F603を介して記録媒体603aの読み取り及び/又は書き込みを行うことができる。記録媒体603aにはICカード、フレキシブルディスク、CD、DVD、SDメモリカード、USBメモリ等がある。   The operation panel 602 includes an input unit that receives input from the user and a display unit that performs display. An external I / F 603 is an interface with an external device. The external device includes a recording medium 603a. Accordingly, the image forming apparatus 120 can read and / or write the recording medium 603a via the external I / F 603. Examples of the recording medium 603a include an IC card, a flexible disk, a CD, a DVD, an SD memory card, and a USB memory.

また、通信I/F604は画像形成装置120をネットワーク130に接続するインタフェースである。これにより、画像形成装置120は通信I/F604を介してデータ通信を行うことができる。   A communication I / F 604 is an interface for connecting the image forming apparatus 120 to the network 130. Thereby, the image forming apparatus 120 can perform data communication via the communication I / F 604.

プリンタ605は印刷データを被搬送物に印刷するための印刷装置である。例えば被搬送物は紙、コート紙、厚紙、OHP、プラスチックフィルム、プリプレグ、銅箔など、紙に限定されない。スキャナ606は原稿から画像データ(電子データ)を読み取り、画像ファイル(電子ファイル)を生成するための読取装置である。本実施形態に係る画像形成装置120は上記ハードウェア構成により、後述するような各種処理を実現できる。   A printer 605 is a printing device for printing print data on a transported object. For example, the object to be conveyed is not limited to paper such as paper, coated paper, cardboard, OHP, plastic film, prepreg, and copper foil. A scanner 606 is a reading device for reading image data (electronic data) from a document and generating an image file (electronic file). The image forming apparatus 120 according to the present embodiment can realize various processes as described later with the above hardware configuration.

<ソフトウェア構成>
本実施形態に係る情報処理システム1は例えば図4に示すような機能ブロックにより実現される。図4は本実施形態に係る情報処理システムの一例の機能ブロック図である。
<Software configuration>
The information processing system 1 according to the present embodiment is realized by, for example, functional blocks as shown in FIG. FIG. 4 is a functional block diagram of an example of the information processing system according to the present embodiment.

情報処理装置100はウェブサーバ101、ネットワークI/F104を有する構成である。ウェブサーバ101は、ウェブアプリケーション102を画像形成装置120に提供する。ウェブアプリケーション102はUIテンプレート情報を含む画面表示情報103を保持している。ネットワークI/F104はネットワーク130を介した画像形成装置120との通信を実現する。なお、UIテンプレート情報を含む画面表示情報103の詳細は後述する。   The information processing apparatus 100 includes a web server 101 and a network I / F 104. The web server 101 provides the web application 102 to the image forming apparatus 120. The web application 102 holds screen display information 103 including UI template information. The network I / F 104 realizes communication with the image forming apparatus 120 via the network 130. Details of the screen display information 103 including the UI template information will be described later.

また、画像形成装置120はネットワークI/F121、ウェブサービス122、プリンタ123、スキャナ124、MFP情報管理部125、イベント通知部126、操作部127、ウェブブラウザ128を有する構成である。ウェブブラウザ128はHTML解析部131、スクリプト記憶部132、スクリプト実行部133、テンプレート変換部134、表示制御部135、MFP情報取得部136、入力部137、イベント受信部138を有する。   The image forming apparatus 120 includes a network I / F 121, a web service 122, a printer 123, a scanner 124, an MFP information management unit 125, an event notification unit 126, an operation unit 127, and a web browser 128. The web browser 128 includes an HTML analysis unit 131, a script storage unit 132, a script execution unit 133, a template conversion unit 134, a display control unit 135, an MFP information acquisition unit 136, an input unit 137, and an event reception unit 138.

ネットワークI/F121はネットワーク130を介した情報処理装置100との通信を実現する。ウェブブラウザ128のHTML解析部131は、HTLMデータの解析を行う。スクリプト記憶部132はジョブ実行処理のスクリプトを記憶している。スクリプト実行部133はスクリプトを実行する。   The network I / F 121 realizes communication with the information processing apparatus 100 via the network 130. The HTML analysis unit 131 of the web browser 128 analyzes the HTLM data. The script storage unit 132 stores a script for job execution processing. The script execution unit 133 executes a script.

テンプレート変換部134は、情報処理装置100のウェブサーバ101から提供されたウェブアプリケーション102に含まれるUIテンプレート情報を画面表示情報に変換する。表示制御部135は操作部127の表示を制御する。MFP情報取得部136は後述のMFP情報を取得する。入力部137は操作部127に対するユーザからの入力操作を受け付ける。イベント受信部138は、イベント通知部126から各種イベント通知を受信する。   The template conversion unit 134 converts UI template information included in the web application 102 provided from the web server 101 of the information processing apparatus 100 into screen display information. The display control unit 135 controls the display of the operation unit 127. The MFP information acquisition unit 136 acquires MFP information described later. The input unit 137 receives an input operation from the user for the operation unit 127. The event reception unit 138 receives various event notifications from the event notification unit 126.

ウェブサービス122はウェブブラウザ128が通常の通信方法であるHTTPプロトコルを用いてプリンタ123、スキャナ124、MFP情報管理部125と通信するために設けられている。イベント通知部126は、ウェブサービス122を介してプリンタ123やスキャナ124からイベントを受信し、ウェブブラウザ128に対してイベント通知を送信する。なお、ウェブブラウザ128と、プリンタ123、スキャナ124又はMFP情報管理部125との通信はHTTPやHTTPSに限定されるものでなく、他のプロトコルによる通信であってもよい。   The web service 122 is provided for the web browser 128 to communicate with the printer 123, the scanner 124, and the MFP information management unit 125 using the HTTP protocol which is a normal communication method. The event notification unit 126 receives an event from the printer 123 or the scanner 124 via the web service 122 and transmits an event notification to the web browser 128. Communication between the web browser 128 and the printer 123, scanner 124, or MFP information management unit 125 is not limited to HTTP or HTTPS, and may be communication using other protocols.

<処理の詳細>
以下では、本実施形態に係る情報処理システム1の処理の詳細について説明する。
<Details of processing>
Below, the detail of the process of the information processing system 1 which concerns on this embodiment is demonstrated.

図5はウェブアプリケーションで画像形成装置の機能を利用する処理手順を表した一例のシーケンス図である。ステップS1においてユーザは画像形成装置120のウェブブラウザ128を起動する。ステップS2においてウェブブラウザ128のMFP情報取得部136は、ウェブサービス122を介して、MFP情報管理部125からMFP情報を取得する。ステップS2で取得したMFP情報は、この後に起動される様々なウェブアプリケーション102で利用する。   FIG. 5 is a sequence diagram illustrating an example of a processing procedure for using the function of the image forming apparatus in the web application. In step S <b> 1, the user activates the web browser 128 of the image forming apparatus 120. In step S <b> 2, the MFP information acquisition unit 136 of the web browser 128 acquires MFP information from the MFP information management unit 125 via the web service 122. The MFP information acquired in step S2 is used by various web applications 102 to be started later.

なお、画像形成装置120の起動中に変更されないMFP情報はステップS2で一度だけ取得すればよい。画像形成装置120の起動中に動的に変更されるMFP情報は必要に応じて適宜取得する必要がある。画像形成装置120の起動中に変更されないMFP情報としては、例えばパンチ機能の有無などである。また、画像形成装置120の起動中に動的に変更されるMFP情報としては、例えばセットされている用紙の枚数や紙詰まりのような情報、実行中の読み取りジョブの情報、ジョブ実行履歴などである。   Note that MFP information that is not changed while the image forming apparatus 120 is activated need only be acquired once in step S2. MFP information that is dynamically changed while the image forming apparatus 120 is activated needs to be acquired as needed. The MFP information that is not changed during the activation of the image forming apparatus 120 is, for example, the presence or absence of a punch function. The MFP information that is dynamically changed while the image forming apparatus 120 is activated includes, for example, information such as the number of sheets set or paper jam, information on a reading job being executed, job execution history, and the like. is there.

ステップS3に進み、ユーザは目的のウェブアプリケーション102のURLをウェブブラウザ128に入力する。ステップS4に進み、ウェブブラウザ128は入力されたURLのウェブアプリケーション102をウェブサーバ101にリクエストし、HTLMで記述されたウェブアプリケーション102をレスポンスとして返される。   In step S 3, the user inputs the URL of the target web application 102 into the web browser 128. In step S4, the web browser 128 requests the web server 102 for the web application 102 having the input URL, and the web application 102 described in HTLM is returned as a response.

ステップS5〜S8はウェブブラウザ128がウェブアプリケーション102の画面を表示するための処理である。なお、ここではウェブサーバ101から返されたウェブアプリケーション102がスキャンアプリケーションである例を説明する。   Steps S <b> 5 to S <b> 8 are processes for the web browser 128 to display the screen of the web application 102. Here, an example in which the web application 102 returned from the web server 101 is a scan application will be described.

ステップS5において、ウェブブラウザ128はウェブアプリケーション102を画面に表示する。ステップS6において、ウェブブラウザ128は読み取り条件の画面表示情報をUIテンプレート情報から作成して表示する。なお、ステップS6の処理の詳細については後述する。ステップS7において、ウェブブラウザ128はジョブ実行処理と紐付いた実行ボタンをUIテンプレート情報から作成して表示する。なお、ステップS7の処理の詳細については後述する。ステップS8において、ウェブブラウザ128はジョブの状態を表示するダイアログをUIテンプレート情報から作成する。ただし、作成したダイアログは、ここでは表示しない。なお、ステップS8の処理の詳細については後述する。   In step S5, the web browser 128 displays the web application 102 on the screen. In step S <b> 6, the web browser 128 creates screen display information of reading conditions from the UI template information and displays it. Details of the process in step S6 will be described later. In step S7, the web browser 128 creates and displays an execution button associated with the job execution process from the UI template information. Details of the process in step S7 will be described later. In step S8, the web browser 128 creates a dialog for displaying the job status from the UI template information. However, the created dialog is not displayed here. Details of the process in step S8 will be described later.

ステップS9において、ユーザは表示されたウェブアプリケーション102の画面に読み取り条件を設定する。また、ステップS10において、ユーザは表示されたウェブアプリケーション102の画面から読み取り開始を指示する。ステップS11においてウェブブラウザ128は、ウェブサービス122を介してスキャナ124に読み取り開始を指示する。ステップS12において、ウェブサービス122はイベント通知部126を介してウェブブラウザ128にジョブの状態を通知する。ステップS13において、ウェブブラウザ128は通知されたジョブの状態に応じたダイアログを表示する。なお、ステップS13で表示するダイアログはステップS8で作成しておいたものである。   In step S <b> 9, the user sets a reading condition on the displayed screen of the web application 102. In step S10, the user gives an instruction to start reading from the displayed screen of the web application 102. In step S <b> 11, the web browser 128 instructs the scanner 124 to start reading via the web service 122. In step S <b> 12, the web service 122 notifies the web browser 128 of the job status via the event notification unit 126. In step S13, the web browser 128 displays a dialog corresponding to the notified job status. Note that the dialog displayed in step S13 has been created in step S8.

ステップS14において、ユーザはダイアログを通じて読み取り終了をウェブブラウザ128に指示する。ステップS15においてウェブブラウザ128は、ウェブサービス122を介してスキャナ124に読み取り終了を指示する。なお、ユーザはキャンセルや次の用紙の読み取りを継続するなどの指示もダイアログを通じてウェブブラウザ128に指示できる。キャンセルや次の用紙の読み取りを継続するなどの指示も、ウェブサービス122を介してスキャナ124に指示される。   In step S14, the user instructs the web browser 128 to end reading through the dialog. In step S <b> 15, the web browser 128 instructs the scanner 124 to end reading via the web service 122. Note that the user can also instruct the web browser 128 through the dialog to cancel or continue reading the next sheet. An instruction to cancel or continue reading the next sheet is also instructed to the scanner 124 via the web service 122.

ステップS16はユーザが別のウェブアプリケーション102のURLをウェブブラウザ128に入力した例を示している。ステップS17に進み、ウェブブラウザ128は入力されたURLのウェブアプリケーション102を、ステップS4と同一又は別のウェブサーバ101にリクエストし、HTLMで記述されたウェブアプリケーション102をレスポンスとして返される。そして、ウェブブラウザ128はステップS5〜S8と同様にウェブアプリケーション102の画面を表示する。   Step S 16 shows an example in which the user inputs the URL of another web application 102 into the web browser 128. In step S17, the web browser 128 requests the web application 102 of the input URL to the same or different web server 101 as in step S4, and the web application 102 described in HTLM is returned as a response. Then, the web browser 128 displays the screen of the web application 102 as in steps S5 to S8.

ステップS2においてウェブブラウザ128のMFP情報取得部136はMFP情報の一例として例えば図6に示すようなスキャンジョブ設定情報を取得する。図6はスキャンジョブ設定情報の一例の構成図である。図6のスキャンジョブ設定情報は、画像形成装置120においてスキャンジョブに設定できる機能と、その機能で利用できる値とがリストで表されたものである。つまり、ステップS2で取得するMFP情報は、画像形成装置120においてジョブに設定できる機能と、その機能で利用できる値とが対応付けられた情報である。   In step S2, the MFP information acquisition unit 136 of the web browser 128 acquires scan job setting information as shown in FIG. 6 as an example of MFP information. FIG. 6 is a configuration diagram of an example of scan job setting information. The scan job setting information in FIG. 6 is a list of functions that can be set for a scan job in the image forming apparatus 120 and values that can be used for the functions. That is, the MFP information acquired in step S2 is information in which a function that can be set for a job in the image forming apparatus 120 is associated with a value that can be used for the function.

図6のスキャンジョブ設定情報では「読み取りカラーモード」と「読み取り原稿面」とがジョブに設定できる機能として記載されている。また、図6のスキャンジョブ設定情報では「読み取りカラーモード」機能で利用できる値として「白黒」と「カラー」と「自動カラー」とが記載されている。図6のスキャンジョブ設定情報は一例であって、その他にも様々な機能や値が記載されている。また、図6のスキャンジョブ設定情報は画像形成装置120の機種によって異なってもよい。   The scan job setting information shown in FIG. 6 describes “read color mode” and “read original surface” as functions that can be set for a job. In the scan job setting information of FIG. 6, “monochrome”, “color”, and “automatic color” are described as values that can be used in the “reading color mode” function. The scan job setting information in FIG. 6 is an example, and various other functions and values are described. Further, the scan job setting information in FIG. 6 may be different depending on the model of the image forming apparatus 120.

なお、図6のスキャンジョブ設定情報は、機能表示名及び値表示名が記載されている例を示したが、機能表示名及び値表示名が記載されていない構成も可能である。この場合はMFP情報管理部125がスキャンジョブ設定情報に機能及び値を記載しておく。ウェブブラウザ128のテンプレート変換部134は、機能と機能表示名との対応、及び、値と値表示名との対応を保持しておくことで、図6と同様なスキャンジョブ設定情報を生成できる。   The scan job setting information in FIG. 6 shows an example in which the function display name and the value display name are described, but a configuration in which the function display name and the value display name are not described is also possible. In this case, the MFP information management unit 125 describes the function and value in the scan job setting information. The template conversion unit 134 of the web browser 128 can generate scan job setting information similar to that in FIG. 6 by maintaining the correspondence between functions and function display names and the correspondence between values and value display names.

ステップS4においてウェブブラウザ128は例えば図7に示すようなHTMLで記述されたウェブアプリケーション102をレスポンスとして返される。図7はステップS4で返されるレスポンスの一例の構成図である。図7においてUIテンプレート情報1000は、scriptタグで表現されている。例えば図7のUIテンプレート情報1000の「type="text/x−r−template"」は読み取り条件設定のUIテンプレートであることを示している。UIテンプレート情報1000の{{}}で囲まれた部分は後述する処理によって置き換えられる。   In step S4, the web browser 128 returns a web application 102 described in HTML as shown in FIG. 7, for example, as a response. FIG. 7 is a block diagram showing an example of the response returned in step S4. In FIG. 7, the UI template information 1000 is expressed by a script tag. For example, “type =“ text / xr-template ”” in the UI template information 1000 in FIG. 7 indicates that the UI template is a reading condition setting. The portion surrounded by {{}} in the UI template information 1000 is replaced by processing to be described later.

図7においてUIテンプレート情報1000以外の部分は通常のHTLMで表現された画面表示情報103である。図7では記述していないが、ウェブアプリケーション102に動的な動作をさせるためにJavaScript(登録商標)などのスクリプトによる処理を含んでいてもよい。ただし、画像形成装置120の機能についてのスクリプトはウェブブラウザ128のスクリプト記憶部132に記憶されているため、レスポンスとして返されるウェブアプリケーション102に含めない。また、図7ではダイアログについての情報を省略しているが、読み取り条件設定のUIテンプレート情報1000の後ろに追加される。   In FIG. 7, the part other than the UI template information 1000 is the screen display information 103 expressed in normal HTLM. Although not described in FIG. 7, processing by a script such as JavaScript (registered trademark) may be included in order to cause the web application 102 to perform a dynamic operation. However, since the script for the function of the image forming apparatus 120 is stored in the script storage unit 132 of the web browser 128, it is not included in the web application 102 returned as a response. In FIG. 7, information about the dialog is omitted, but is added after the UI template information 1000 for setting the reading conditions.

ウェブブラウザ128のテンプレート変換部134は、図6のスキャンジョブ設定情報と図7のUIテンプレート情報1000とに基づき、図8に示す手順で図9の画面表示情報を生成する。図8はUIテンプレート情報に基づいて画面表示情報を生成する処理の手順を示した一例のフローチャートである。図9はUIテンプレート情報に基づいて生成された画面表示情報の一例の構成図である。図8ではUIテンプレート情報1000をテンプレート部と呼称している。ウェブサーバ101からレスポンスとして返されるウェブアプリケーション102にはテンプレート部が複数含まれていてもよい。   The template conversion unit 134 of the web browser 128 generates the screen display information of FIG. 9 according to the procedure shown in FIG. 8 based on the scan job setting information of FIG. 6 and the UI template information 1000 of FIG. FIG. 8 is a flowchart illustrating an example of a processing procedure for generating screen display information based on UI template information. FIG. 9 is a configuration diagram of an example of screen display information generated based on the UI template information. In FIG. 8, the UI template information 1000 is referred to as a template part. A plurality of template parts may be included in the web application 102 returned as a response from the web server 101.

ステップS21において、ウェブブラウザ128のテンプレート変換部134は図7のウェブアプリケーション102に含まれる全てのテンプレート部を探し、それぞれのテンプレート部のscriptタグ内の「data−type」属性を抽出する。scriptタグ内の「data−type」属性はUIテンプレートの種類を表している。例えば図7のテンプレート部では、scriptタグ内の「data−type」属性が「"scanner"」であるため、スキャナのUIテンプレートであることが分かる。テンプレート変換部134はUIテンプレートの種類に応じたMFP情報を利用してステップS22以降の処理を行う。なお、図7のテンプレート部の場合、テンプレート変換部134は図6のスキャンジョブ設定情報を利用してステップS22以降の処理を行う。   In step S <b> 21, the template conversion unit 134 of the web browser 128 searches for all template units included in the web application 102 of FIG. 7 and extracts the “data-type” attribute in the script tag of each template unit. The “data-type” attribute in the script tag represents the type of UI template. For example, in the template part of FIG. 7, since the “data-type” attribute in the script tag is ““ scanner ””, it can be understood that this is the UI template of the scanner. The template conversion unit 134 performs the processing from step S22 onward using MFP information corresponding to the type of UI template. In the case of the template part of FIG. 7, the template conversion part 134 performs the processing after step S22 using the scan job setting information of FIG.

ステップS22以降の処理はステップS21で探した全てのテンプレート部について行われる。ここでは、図6のスキャンジョブ設定情報を利用して、図7のテンプレート部に対してステップS22以降の処理を行う例を説明する。   The processing after step S22 is performed for all the template portions searched in step S21. Here, an example will be described in which the scan job setting information in FIG. 6 is used to perform the processing in step S22 and subsequent steps on the template portion in FIG.

ステップS22において、テンプレート変換部134はテンプレート部の{{機能+Name}}の文字列を図6のスキャンジョブ設定情報の機能表示名に置換する。具体的にテンプレート変換部134は、テンプレート部の{{scanColorName}}の文字列を「読み取りカラーモード」に置換し、{{scanSideName}}の文字列を「読み取り原稿面」に置換する。   In step S22, the template conversion unit 134 replaces the {{function + Name}} character string in the template part with the function display name of the scan job setting information in FIG. Specifically, the template conversion unit 134 replaces the character string of {{scanColorName}} in the template part with “reading color mode” and replaces the character string of {{scanSideName}} with “reading document surface”.

また、ステップS23において、テンプレート変換部134はテンプレート部の{{#each 機能}}の文字列を探す。具体的にはテンプレート部の{{#each scanColor}}の文字列と{{#each scanSide}}の文字列とを探す。   In step S23, the template conversion unit 134 searches for a character string of {{#each function}} in the template unit. Specifically, the character string {{#each scanColor}} and the character string {{#each scanSide}} in the template part are searched.

なお、ステップS24及びS25の処理は、ステップS23で探した全ての{{#each 機能}}が表す機能の全ての値について行われる。ステップS24において、テンプレート変換部134はテンプレート部の{{value}}を図6のスキャンジョブ設定情報の値に置換する。また、ステップS25においてテンプレート変換部134はテンプレート部の{{name}}を図6のスキャンジョブ設定情報の値表示名に置換する。   Note that the processing in steps S24 and S25 is performed for all values of the function represented by all {{#each function}} searched in step S23. In step S24, the template conversion unit 134 replaces {{value}} in the template unit with the value of the scan job setting information in FIG. In step S25, the template conversion unit 134 replaces {{name}} in the template unit with the value display name of the scan job setting information in FIG.

図8のフローチャートは機能に対して値を列挙する場合に、全てをテンプレート部に記述するのではなく、{{#each}}という記法を用いる例を示している。テンプレート部に{{#each}}が存在する場合、テンプレート変換部134は{{#each}}から{{/each}}までの文字列について、繰り返し処理を行う。   The flowchart of FIG. 8 shows an example in which notation is used in the template part when values are enumerated for functions, and the notation {{#each}} is used. When {{#each}} exists in the template part, the template conversion part 134 performs an iterative process on the character string from {{#each}} to {{/ each}}.

繰り返し処理が終了すると、テンプレート変換部134はbuttonタグのid属性が「r−start−job」のジョブ実行ボタンに対して、ジョブ実行読み出し処理を紐付ける。例えば図7のテンプレート部の場合、テンプレートの種類としてスキャナが指定されているため、ジョブ実行ボタンに対して紐付けられるジョブ実行読み出し処理はスキャン実行処理となる。   When the iterative process is completed, the template conversion unit 134 associates the job execution read process with the job execution button whose id attribute of the button tag is “r-start-job”. For example, in the case of the template portion of FIG. 7, since the scanner is designated as the template type, the job execution reading process associated with the job execution button is a scan execution process.

以上の処理により、テンプレート変換部134は図6のスキャンジョブ設定情報と図7のUIテンプレート情報1000とに基づき、ウェブブラウザ128が解析して画面を表示することのできる図9の画面表示情報を生成できる。図9の画面表示情報に含まれている「onclick="startScan()"」はボタンが押されたらスキャン実行処理を開始することを示している。なお、スキャン実行処理はウェブブラウザ128のスクリプト記憶部132に記憶されたスクリプトに記述されている。   Through the above processing, the template conversion unit 134 converts the screen display information of FIG. 9 that can be analyzed and displayed by the web browser 128 based on the scan job setting information of FIG. 6 and the UI template information 1000 of FIG. Can be generated. “Onclick =“ startScan () ”” included in the screen display information of FIG. 9 indicates that the scan execution process is started when the button is pressed. Note that the scan execution process is described in a script stored in the script storage unit 132 of the web browser 128.

図8に示したフローチャートの処理はウェブサーバ101からレスポンスとして返されたHTMLデータや、そのHTMLデータに含まれるスクリプト部から明示的に呼び出すものではない。図8のフローチャートの処理はウェブブラウザ128がウェブサーバ101からHTMLデータを取得して、通常のウェブブラウザと同様にスタイルシートやアプリケーションのためのスクリプト情報を取得し、自動的に実行される。   The processing of the flowchart shown in FIG. 8 is not explicitly called from the HTML data returned as a response from the web server 101 or the script part included in the HTML data. The processing in the flowchart of FIG. 8 is automatically executed by the web browser 128 acquiring HTML data from the web server 101, acquiring script information for a style sheet and application in the same manner as a normal web browser.

なお、ウェブブラウザ128はウェブサーバ101からレスポンスとして返されたHTMLデータに、type属性が「"text/x−r−template"」であるscriptタグがなければ、通常のウェブブラウザと同様な表示を行う。   If the HTML data returned as a response from the web server 101 does not have a script tag whose type attribute is ““ text / x-r-template ””, the web browser 128 displays the same display as a normal web browser. Do.

ウェブブラウザ128は図9の画面表示情報を解析して例えば図10に示すような画面を表示する。図10はウェブブラウザが表示する画面の一例のイメージ図である。図10の画面1100からユーザは読み取りカラーモードと読み取り原稿面とを選択して画像形成装置120にスキャナ124による読み取り開始を指示できる。なお、図10の画面1100に含まれる「スキャンアプリケーション」の部分は、UIテンプレート情報1000以外の部分にあるtitleタグで定義されている。   The web browser 128 analyzes the screen display information of FIG. 9 and displays a screen as shown in FIG. 10, for example. FIG. 10 is an image diagram of an example of a screen displayed by the web browser. From the screen 1100 in FIG. 10, the user can select a reading color mode and a reading document surface and instruct the image forming apparatus 120 to start reading by the scanner 124. The “scan application” portion included in the screen 1100 of FIG. 10 is defined by a title tag in a portion other than the UI template information 1000.

このように、図7のウェブアプリケーション102は、UIテンプレート情報1000とアプリケーション固有の部分とを一つのHTMLデータで記述できる。本実施形態に係るウェブブラウザ128を利用することで、ウェブアプリケーション102の開発者はUIテンプレート情報1000の記述により画像形成装置120の機能を利用可能なウェブアプリケーション102を実現できる。   As described above, the web application 102 in FIG. 7 can describe the UI template information 1000 and the application-specific portion with a single HTML data. By using the web browser 128 according to the present embodiment, the developer of the web application 102 can realize the web application 102 that can use the functions of the image forming apparatus 120 based on the description of the UI template information 1000.

ステップS4においてウェブサーバ101からレスポンスとして返されるウェブアプリケーション102は例えば図11に示すような構成であってもよい。図11はステップS4で返されるレスポンスの一例の構成図である。図11においてUIテンプレート情報1200はscriptタグで表現されている。   The web application 102 returned as a response from the web server 101 in step S4 may be configured as shown in FIG. 11, for example. FIG. 11 is a configuration diagram of an example of the response returned in step S4. In FIG. 11, the UI template information 1200 is expressed by a script tag.

図7では{{#each}}という記法を用いる例を示したが、図11に示すように機能と値とをドット記号「.」で繋いで記述してもよい。図11に示すような記法を用いることにより、UIテンプレート情報1200は列挙する値と、その値の順序とを管理することができる。   FIG. 7 shows an example in which the notation {{#each}} is used. However, as shown in FIG. 11, the function and the value may be connected by a dot symbol “.”. By using the notation as shown in FIG. 11, the UI template information 1200 can manage the enumerated values and the order of the values.

図11のUIテンプレート情報1200の場合も、図8に示した手順とほぼ同様な手順で図12の画面表示情報を生成する。図12はUIテンプレート情報に基づいて生成された画面表示情報の他の例の構成図である。図11のUIテンプレート情報1200の場合は{{#each}}という記法による繰り返し処理の代わりに、直接記載されている値及び値表示名を図6のスキャンジョブ設定情報の値及び値表示名に置換する。   Also in the case of the UI template information 1200 of FIG. 11, the screen display information of FIG. 12 is generated by a procedure substantially similar to the procedure shown in FIG. FIG. 12 is a configuration diagram of another example of screen display information generated based on the UI template information. In the case of the UI template information 1200 of FIG. 11, instead of the repetitive processing using the notation {{#each}}, the directly written value and value display name are used as the scan job setting information value and value display name of FIG. Replace.

テンプレート部の記法は図7に示したものや図11に示したものなど、既存の様々な記法を利用できる。利用できる記法は、例えばMFP情報の参照が必要であり、さらに繰り返し処理と分岐処理とが記述できることが望ましい。   As the template part notation, various existing notations such as those shown in FIG. 7 and FIG. 11 can be used. For the notation that can be used, for example, it is necessary to refer to MFP information, and it is desirable that it is possible to describe an iterative process and a branch process.

ウェブブラウザ128は図12の画面表示情報を解析して例えば図13に示すような画面を表示する。図13はウェブブラウザが表示する画面の一例のイメージ図である。図13の画面1300からユーザは読み取りカラーモードと読み取り原稿面とを選択して画像形成装置120にスキャナ124による読み取り開始を指示できる。   The web browser 128 analyzes the screen display information of FIG. 12 and displays a screen as shown in FIG. 13, for example. FIG. 13 is an image diagram of an example of a screen displayed by the web browser. From the screen 1300 in FIG. 13, the user can select a reading color mode and a reading document surface, and can instruct the image forming apparatus 120 to start reading by the scanner 124.

図10の画面1100では読み取りカラーモードの値として図6のMFP情報で示された白黒、カラー、自動カラーの全てが表示されている。一方、図13の画面1300では読み取りカラーモードの値として、図11のUIテンプレート情報1200で指定された白黒、カラーが表示されている。また、図13の画面1300では読み取り原稿面の値の順番が、図6のMFP情報で示された順番でなく、図11のUIテンプレート情報1200で指定された両面左右開き、片面の順番に表示されている。   On the screen 1100 in FIG. 10, all of black and white, color, and automatic color indicated by the MFP information in FIG. 6 are displayed as reading color mode values. On the other hand, on the screen 1300 in FIG. 13, monochrome and color designated by the UI template information 1200 in FIG. 11 are displayed as the values of the reading color mode. Further, on the screen 1300 in FIG. 13, the order of the reading document surface values is not the order indicated by the MFP information in FIG. 6, but the double-sided left and right opening designated by the UI template information 1200 in FIG. Has been.

ステップS8においてウェブブラウザ128はウェブサーバ101からレスポンスとして返されたウェブアプリケーション102から図14に示すようなUIテンプレート情報1400を探す。なお、UIテンプレート情報1400はscriptタグ内のtype属性「"text/x−r−template"」とdata−type属性「"scanner−job−dialog"」とにより、読み取りジョブ状態を示すダイアログのUIテンプレートと判断される。図14のUIテンプレート情報1400は例えば図7のUIテンプレート情報1000に続けて記述される。   In step S <b> 8, the web browser 128 searches for UI template information 1400 as shown in FIG. 14 from the web application 102 returned as a response from the web server 101. The UI template information 1400 is a UI template of a dialog indicating a reading job state based on the type attribute ““ text / x-r-template ”” and the data-type attribute ““ scanner-job-dialog ”” in the script tag. It is judged. The UI template information 1400 in FIG. 14 is described, for example, following the UI template information 1000 in FIG.

ウェブブラウザ128はMFP情報管理部125から例えば図15に示すジョブの状態情報を取得する。図15はジョブの状態情報の一例の構成図である。図15のジョブの状態情報は読み取り中のときの例を示している。読み取り中の場合、ジョブ状態の理由には特別な理由が無いことを示すnullが記載されている。   For example, the web browser 128 acquires job status information shown in FIG. 15 from the MFP information management unit 125. FIG. 15 is a configuration diagram of an example of job status information. The job status information in FIG. 15 shows an example when reading. When reading, null indicating that there is no special reason for the job status is described.

ジョブ状態メッセージには画面に表示されるテキストが記載されている。キャンセル可能、完了可能及び継続可能は、読み取り中の場合にユーザからキャンセル、完了又は継続の指示を受け付ける(TRUE)か否(FALSE)かを表している。図15の例は読み取り中の場合にユーザからキャンセルの指示を受け付けることができ、完了及び継続の指示を受け付けることができないことを示している。なお、ジョブ状態メッセージは必ずしもMFP情報管理部125から取得しなくてもよい。例えばテンプレート変換部134はジョブ状態、ジョブ状態の理由及びジョブ状態メッセージの対応表を管理することで図15のジョブの状態情報を生成できる。   The job status message contains text displayed on the screen. “Cancelable”, “Completable”, and “Continuable” indicate whether an instruction to cancel, complete, or continue is accepted from the user during reading (TRUE) or not (FALSE). The example of FIG. 15 shows that a cancel instruction can be received from the user when reading is in progress, and that completion and continuation instructions cannot be received. Note that the job status message does not necessarily have to be acquired from the MFP information management unit 125. For example, the template conversion unit 134 can generate the job status information of FIG. 15 by managing the job status, the reason for the job status, and the correspondence table of the job status messages.

ウェブブラウザ128のテンプレート変換部134は、図14のUIテンプレート情報1400と図15のジョブの状態情報とに基づき、図16に示す手順で図17の画面表示情報を生成する。図16はUIテンプレート情報に基づいてダイアログの画面表示情報を生成する処理の手順を示した一例のフローチャートである。図17はUIテンプレート情報に基づいて生成されたダイアログの画面表示情報の一例の構成図である。図16ではUIテンプレート情報1400をテンプレート部と呼称している。   The template conversion unit 134 of the web browser 128 generates the screen display information of FIG. 17 according to the procedure shown in FIG. 16 based on the UI template information 1400 of FIG. 14 and the job status information of FIG. FIG. 16 is a flowchart illustrating an example of a procedure for generating screen display information of a dialog based on UI template information. FIG. 17 is a configuration diagram of an example of screen display information of a dialog generated based on the UI template information. In FIG. 16, the UI template information 1400 is called a template part.

ステップS31において、ウェブブラウザ128のテンプレート変換部134はレスポンスとして返されたウェブアプリケーション102に含まれている全てのテンプレート部を探す。そして、テンプレート変換部134は、それぞれのテンプレート部のscriptタグ内の「data−type」属性を抽出し、読み取りジョブ状態を示すダイアログのUIテンプレート情報1400を見付ける。   In step S31, the template conversion unit 134 of the web browser 128 searches for all template units included in the web application 102 returned as a response. Then, the template conversion unit 134 extracts the “data-type” attribute in the script tag of each template unit, and finds the UI template information 1400 of the dialog indicating the reading job status.

例えば図14のテンプレート部は、scriptタグ内の「data−type」属性が「"scanner−job−dialog"」であるため、読み取りジョブ状態を示すダイアログのUIテンプレートであることが分かる。テンプレート変換部134は読み取りジョブ状態を示すダイアログのUIテンプレートが複数見つかった場合、最初の一つ目を用いる。   For example, since the “data-type” attribute in the script tag is ““ scanner-job-dialog ””, the template portion in FIG. 14 is a UI template for a dialog indicating a reading job state. The template conversion unit 134 uses the first one when a plurality of UI templates for the dialog indicating the reading job status are found.

テンプレート変換部134は、ステップS31で探した読み取りジョブ状態を示すダイアログのUIテンプレート情報1400に対し、図15のジョブの状態情報を利用してステップS32以降の処理を行う。ステップS32において、テンプレート変換部134はテンプレート部の{{job.status.message}}の文字列を図15に示したジョブの状態情報のジョブ状態メッセージ「読み取り中です」に置換する。   The template conversion unit 134 performs the processing after step S32 on the UI template information 1400 of the dialog indicating the reading job status found in step S31 using the job status information of FIG. In step S32, the template conversion unit 134 selects {{job. status. message}} is replaced with the job status message “reading” in the job status information shown in FIG.

次に、ステップS33において、テンプレート変換部134は図15に示したジョブの状態情報にキャンセルの指示を受け付ける(TRUE)が設定されていれば、ステップS34の処理を行う。ステップS34において、テンプレート変換部134はbuttonタグの「data−type」が「"cancel"」であるキャンセルボタンの表示と、そのボタンへのキャンセル処理の紐付けとを行うダイアログの画面表示情報を作成する。   Next, in step S33, if the template conversion unit 134 is set to accept a cancel instruction (TRUE) in the job status information shown in FIG. 15, the template conversion unit 134 performs the process of step S34. In step S <b> 34, the template conversion unit 134 creates screen display information of a dialog for displaying a cancel button whose “data-type” of the button tag is “cancel” and linking cancel processing to the button. To do.

なお、テンプレート変換部134は図15に示したジョブの状態情報にキャンセルの指示を受け付けない(FALSE)が設定されていればステップS35に進む。ステップS35においてテンプレート変換部134はキャンセルボタンが非表示となるようにダイアログの画面表示情報を作成する。なお、テンプレート変換部134はキャンセルボタンが押下できないようにダイアログの画面表示情報を作成してもよい。   Note that the template conversion unit 134 proceeds to step S35 if a cancel instruction is not accepted (FALSE) in the job status information shown in FIG. In step S35, the template conversion unit 134 creates screen display information of the dialog so that the cancel button is hidden. The template conversion unit 134 may create screen display information of a dialog so that the cancel button cannot be pressed.

次に、ステップS36において、テンプレート変換部134は図15に示したジョブの状態情報に完了の指示を受け付ける(TRUE)が設定されていれば、ステップS37の処理を行う。ステップS37において、テンプレート変換部134はbuttonタグの「data−type」が「"finish"」である完了ボタンの表示と、そのボタンへの完了処理の紐付けとを行うダイアログの画面表示情報を作成する。   Next, in step S36, the template conversion unit 134 performs the process of step S37 if a completion instruction (TRUE) is set in the job status information shown in FIG. In step S <b> 37, the template conversion unit 134 creates screen display information of a dialog for displaying a completion button whose “data-type” of the button tag is ““ finish ”” and linking completion processing to the button. To do.

なお、テンプレート変換部134は図15に示したジョブの状態情報に完了の指示を受け付けない(FALSE)が設定されていればステップS38に進む。ステップS38においてテンプレート変換部134は完了ボタンが非表示となるようにダイアログの画面表示情報を作成する。なお、テンプレート変換部134は完了ボタンが押下できないようにダイアログの画面表示情報を作成してもよい。   Note that the template conversion unit 134 proceeds to step S38 if the completion information is not accepted (FALSE) in the job status information shown in FIG. In step S38, the template conversion unit 134 creates screen display information of the dialog so that the completion button is hidden. Note that the template conversion unit 134 may create dialog screen display information so that the completion button cannot be pressed.

次に、ステップS39において、テンプレート変換部134は図15に示したジョブの状態情報に継続の指示を受け付ける(TRUE)が設定されていれば、ステップS40の処理を行う。ステップS40において、テンプレート変換部134はbuttonタグの「data−type」が「"continue"」である継続ボタンの表示と、そのボタンへの継続処理の紐付けとを行うダイアログの画面表示情報を作成する。   Next, in step S39, the template conversion unit 134 performs the process of step S40 if the continuation instruction (TRUE) is set in the job status information shown in FIG. In step S <b> 40, the template conversion unit 134 creates screen display information of a dialog for displaying a continuation button whose “data-type” of the button tag is “continue” and linking the continuation process to the button. To do.

なお、テンプレート変換部134は図15に示したジョブの状態情報に継続の指示を受け付けない(FALSE)が設定されていればステップS41に進む。ステップS41においてテンプレート変換部134は継続ボタンが非表示となるようにダイアログの画面表示情報を作成する。なお、テンプレート変換部134は継続ボタンが押下できないようにダイアログの画面表示情報を作成してもよい。   Note that the template conversion unit 134 proceeds to step S41 if the continuation instruction is not accepted (FALSE) in the job status information shown in FIG. In step S41, the template conversion unit 134 creates dialog screen display information so that the continuation button is hidden. Note that the template conversion unit 134 may create screen display information of a dialog so that the continuation button cannot be pressed.

ここまでの処理により、テンプレート変換部134は図17に示す読み取り中におけるダイアログの画面表示情報を作成できる。ウェブブラウザ128はイベント通知部126からジョブの状態として「読み取り中」が通知されると、図17の画面表示情報を解析して例えば図18に示すような画面を表示する。図18はジョブの状態が「読み取り中」であるときに表示される画面の一例のイメージ図である。   Through the processing so far, the template conversion unit 134 can create the screen display information of the dialog during reading shown in FIG. When “reading” is notified as the job status from the event notification unit 126, the web browser 128 analyzes the screen display information of FIG. 17 and displays a screen as shown in FIG. 18, for example. FIG. 18 is an image diagram of an example of a screen displayed when the job status is “reading”.

図18の画面1500は、ジョブの状態を示すジョブ状態メッセージと、ユーザが指示を行うためのボタンの一例であるキャンセルボタンと、が含まれる。なお、図18の画面1500はジョブの状態が「読み取り中」であるときに表示され、それ以外のジョブの状態であるときに表示されない。画面1500は例えばvisiblity属性に「"hidden"」の値を設定することで非表示となる。   A screen 1500 in FIG. 18 includes a job status message indicating the status of the job, and a cancel button that is an example of a button for the user to give an instruction. The screen 1500 in FIG. 18 is displayed when the job status is “reading” and is not displayed when the job status is other than that. The screen 1500 is hidden, for example, by setting a value of ““ hidden ”” in the visibility attribute.

また、ウェブブラウザ128はMFP情報管理部125から例えば図19に示すようなジョブの状態情報を取得する場合もある。図19はジョブの状態情報の他の例の構成図である。図19のジョブの状態情報は原稿待ち状態のときの例を示している。原稿待ち状態の場合、ジョブ状態の理由には停止の理由が記載されている。   Further, the web browser 128 may acquire job status information as illustrated in FIG. 19 from the MFP information management unit 125, for example. FIG. 19 is a configuration diagram of another example of job status information. The job status information in FIG. 19 shows an example when the document is waiting. In the document waiting state, the reason for the stop is described as the reason for the job state.

ジョブ状態メッセージには画面に表示されるテキストが記載されている。キャンセル可能、完了可能及び継続可能は、原稿待ち状態の場合にユーザからキャンセル、完了又は継続の指示を受け付ける(TRUE)か否(FALSE)かを表している。図19の例は原稿待ち状態の場合にユーザからキャンセル、完了及び継続の指示を受け付けることができることを示している。   The job status message contains text displayed on the screen. “Cancelable”, “Completable” and “Continuable” indicate whether a cancel, completion or continuation instruction is received from the user in a document waiting state (TRUE) or not (FALSE). The example of FIG. 19 shows that cancellation, completion, and continuation instructions can be received from the user in the document waiting state.

ウェブブラウザ128のテンプレート変換部134は、図14のUIテンプレート情報1400と図19のジョブの状態情報とに基づき、図16に示す手順で図20の画面表示情報を生成する。図20はUIテンプレート情報に基づいて生成されたダイアログの画面表示情報の他の例の構成図である。   The template conversion unit 134 of the web browser 128 generates the screen display information of FIG. 20 according to the procedure shown in FIG. 16 based on the UI template information 1400 of FIG. 14 and the job status information of FIG. FIG. 20 is a configuration diagram of another example of the screen display information of the dialog generated based on the UI template information.

図16の処理により、テンプレート変換部134は図21に示す原稿待ち状態におけるダイアログの画面表示情報を作成できる。ウェブブラウザ128はイベント通知部126からジョブの状態として「原稿待ち状態」が通知されると、図20の画面表示情報を解析して例えば図21に示す画面を表示する。図21はジョブの状態が「原稿待ち状態」であるときに表示される画面の一例のイメージ図である。   With the processing in FIG. 16, the template conversion unit 134 can create the screen display information of the dialog in the document waiting state shown in FIG. When “event waiting” is notified as the job status from the event notification unit 126, the web browser 128 analyzes the screen display information of FIG. 20 and displays the screen shown in FIG. 21, for example. FIG. 21 is an image diagram of an example of a screen displayed when the job state is “document waiting state”.

図21の画面1600は、ジョブの状態を示すジョブ状態メッセージと、ユーザが指示を行うためのボタンの一例であるキャンセルボタン、完了ボタン及び継続ボタンとが含まれる。なお、図21の画面1600はジョブの状態が「原稿待ち状態」であるときに表示され、それ以外のジョブの状態であるときに表示されない。   A screen 1600 in FIG. 21 includes a job status message indicating a job status, and a cancel button, a completion button, and a continuation button, which are examples of buttons for a user to give an instruction. Note that the screen 1600 in FIG. 21 is displayed when the job status is “document waiting status”, and is not displayed when the job status is other than that.

(まとめ)
以上、本実施形態によれば、ウェブアプリケーション102の画面をUIテンプレート情報により自由に記述することができ、かつ、ウェブアプリケーション102から画像形成装置120の機能を容易に利用できる。また、本実施形態によれば画像形成装置120の機能を利用するためのジョブ実行処理のスクリプトを、ウェブブラウザ128に埋め込んでおくため、ウェブサーバ101から返されるウェブアプリケーション102のデータサイズを小さくできる。このため、本実施形態によれば、ウェブサーバ101からウェブブラウザ128へのウェブアプリケーション102のダウンロード時間を減らすことができる。
[第2の実施形態]
第1の実施形態ではUIテンプレート情報がウェブアプリケーション102に含まれていた。第2の実施形態はUIテンプレート情報をウェブブラウザ128に含めるようにしている。なお、第2の実施形態は一部を除いて第1の実施形態と同様であるため、適宜説明を省略する。
(Summary)
As described above, according to the present embodiment, the screen of the web application 102 can be freely described by the UI template information, and the function of the image forming apparatus 120 can be easily used from the web application 102. Further, according to the present embodiment, since the script for job execution processing for using the function of the image forming apparatus 120 is embedded in the web browser 128, the data size of the web application 102 returned from the web server 101 can be reduced. . For this reason, according to this embodiment, the download time of the web application 102 from the web server 101 to the web browser 128 can be reduced.
[Second Embodiment]
In the first embodiment, UI template information is included in the web application 102. In the second embodiment, the UI template information is included in the web browser 128. Note that the second embodiment is the same as the first embodiment except for a part thereof, and thus description thereof will be omitted as appropriate.

図22は本実施形態に係る情報処理システムの他の例の機能ブロック図である。図22の情報処理システム1はUIテンプレート情報がウェブブラウザ128のテンプレート記憶部139に記憶されている点が図4の情報処理システム1と異なっている。また、テンプレート記憶部139は図23に示すようにテンプレート種別ごとにUIテンプレート情報を記憶する。なお、テンプレート記憶部139は、図23に示すように同一のUIテンプレートの種類(例えばscannerとscanner−detail)のUIテンプレート情報を複数記憶していてもよい。なお、scannerは少ない種類の読み取り条件を設定できるUIテンプレート情報である。scanner−detailは多くの種類の読み取り条件を設定できるUIテンプレート情報である。   FIG. 22 is a functional block diagram of another example of the information processing system according to this embodiment. The information processing system 1 in FIG. 22 is different from the information processing system 1 in FIG. 4 in that UI template information is stored in the template storage unit 139 of the web browser 128. Also, the template storage unit 139 stores UI template information for each template type as shown in FIG. Note that the template storage unit 139 may store a plurality of pieces of UI template information of the same UI template type (for example, scanner and scanner-detail) as shown in FIG. Note that “scanner” is UI template information that can set a few types of reading conditions. The scanner-detail is UI template information that can set many types of reading conditions.

第2の実施形態ではウェブサーバ101から例えば図24に示すようなHTMLで記述されたウェブアプリケーション102がレスポンスとして返される。図24はステップS4で返されるレスポンスの他の例の構成図である。図24のレスポンスには、図23に示したテンプレート種別を示す文字列2000、2001が含まれる。   In the second embodiment, the web application 102 described in HTML as shown in FIG. 24, for example, is returned from the web server 101 as a response. FIG. 24 is a configuration diagram of another example of the response returned in step S4. The response in FIG. 24 includes character strings 2000 and 2001 indicating the template types shown in FIG.

文字列2000、2001では、scriptタグ内の「data−type」属性により、スキャナのUIテンプレート情報と読み取りジョブ状態を示すダイアログのUIテンプレート情報とを指定している。テンプレート変換部134は図25のフローチャートの手順で文字列2000、2001により指定されていたUIテンプレート情報を、文字列2000、2001の位置に置き換えることで、画面表示情報を作成できる。   In the character strings 2000 and 2001, the “data-type” attribute in the script tag specifies the UI template information of the scanner and the UI template information of the dialog indicating the reading job status. The template conversion unit 134 can create screen display information by replacing the UI template information specified by the character strings 2000 and 2001 in the procedure of the flowchart of FIG. 25 with the positions of the character strings 2000 and 2001.

図25はUIテンプレート情報に基づいて画面表示情報を生成する処理の手順を示した他の例のフローチャートである。図25のフローチャートは図8に示したフローチャートにステップS52、S57の処理を追加したものである。ステップS52では図24に示したテンプレート部の「data−type」属性に対応するUIテンプレート情報をテンプレート記憶部139から取得する。   FIG. 25 is a flowchart of another example showing a procedure of processing for generating screen display information based on UI template information. The flowchart of FIG. 25 is obtained by adding steps S52 and S57 to the flowchart shown in FIG. In step S 52, UI template information corresponding to the “data-type” attribute of the template part shown in FIG. 24 is acquired from the template storage part 139.

ステップS53〜S56ではステップS52で取得したUIテンプレート情報に対して図8のステップS22〜S25と同様な処理を行う。そして、テンプレート変換部134はステップS52〜56の処理を行ったUIテンプレート情報を、ステップS57において図24の文字列2000、2001の位置に置き換える。ステップS58は図8に示したステップS26と同様である。   In steps S53 to S56, processing similar to that in steps S22 to S25 in FIG. 8 is performed on the UI template information acquired in step S52. Then, the template conversion unit 134 replaces the UI template information that has undergone the processing in steps S52 to S56 with the positions of the character strings 2000 and 2001 in FIG. 24 in step S57. Step S58 is the same as step S26 shown in FIG.

以上、テンプレート変換部134は、図6のスキャンジョブ設定情報と図24のウェブアプリケーション102とテンプレート記憶部139のUIテンプレート情報とに基づきウェブブラウザ128が解析して画面を表示可能な画面表示情報を生成できる。   As described above, the template conversion unit 134 displays screen display information that can be displayed by the web browser 128 based on the scan job setting information of FIG. 6, the web application 102 of FIG. 24, and the UI template information of the template storage unit 139. Can be generated.

(まとめ)
以上、本実施形態によれば、予め準備されているUIテンプレート情報をウェブアプリケーション102に指定しておくことにより、ウェブアプリケーション102の画面表示情報を簡単に作成できる。また、予め準備されているUIテンプレート情報をウェブアプリケーション102に指定しておくことで、ウェブアプリケーション102から画像形成装置120の機能を容易に利用できる。
(Summary)
As described above, according to the present embodiment, the screen display information of the web application 102 can be easily created by designating the UI template information prepared in advance in the web application 102. Further, by specifying UI template information prepared in advance in the web application 102, the function of the image forming apparatus 120 can be easily used from the web application 102.

また、本実施形態によれば、画像形成装置120の機能を利用するためのジョブ実行処理のスクリプトと、UIテンプレート情報とを、ウェブブラウザ128に埋め込んでおくことができる。このため、本実施形態によれば、ウェブサーバ101から返されるウェブアプリケーション102のデータサイズを第1の実施形態よりも小さくできる。本実施形態によれば、ウェブサーバ101からウェブブラウザ128へのウェブアプリケーション102のダウンロード時間を第1の実施形態よりも減らすことができる。   Further, according to the present embodiment, a job execution processing script for using the function of the image forming apparatus 120 and UI template information can be embedded in the web browser 128. For this reason, according to this embodiment, the data size of the web application 102 returned from the web server 101 can be made smaller than in the first embodiment. According to the present embodiment, the download time of the web application 102 from the web server 101 to the web browser 128 can be reduced as compared with the first embodiment.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

ウェブアプリケーション102は特許請求の範囲に記載した提供手段の一例である。スクリプト記憶部132はプログラム記憶部の一例である。テンプレート変換部134は変換手段の一例である。MFP情報は電子機器の機能に関する情報の一例である。スクリプトはウェブアプリケーションが実行可能な処理を記述したプログラムの一例である。   The web application 102 is an example of providing means described in the claims. The script storage unit 132 is an example of a program storage unit. The template conversion unit 134 is an example of a conversion unit. The MFP information is an example of information regarding the function of the electronic device. A script is an example of a program describing processing that can be executed by a web application.

1 情報処理システム
100 情報処理装置
101 ウェブサーバ
102 ウェブアプリケーション
103 画面表示情報
104 ネットワークI/F
120 画像形成装置
121 ネットワークI/F
122 ウェブサービス
123 プリンタ
124 スキャナ
125 MFP情報管理部
126 イベント通知部
127 操作部
128 ウェブブラウザ
130 ネットワーク
131 HTML解析部
132 スクリプト記憶部
133 スクリプト実行部
134 テンプレート変換部
135 表示制御部
136 MFP情報取得部
137 入力部
138 イベント受信部
139 テンプレート記憶部
500 コンピュータ
501 入力装置
502 表示装置
503 外部I/F
503a 記録媒体
504 RAM
505 ROM
506 CPU
507 通信I/F
508 HDD
601 コントローラ
602 操作パネル
603 外部I/F
603a 記録媒体
604 通信I/F
605 プリンタ
606 スキャナ
611 CPU
612 RAM
613 ROM
614 NVRAM
615 HDD
1000、1400 UIテンプレート情報
1100、1300、1500、1600 画面
1200 UIテンプレート情報
2000、2001 テンプレート種別を示す文字列
B バス
DESCRIPTION OF SYMBOLS 1 Information processing system 100 Information processing apparatus 101 Web server 102 Web application 103 Screen display information 104 Network I / F
120 Image forming apparatus 121 Network I / F
122 Web Service 123 Printer 124 Scanner 125 MFP Information Management Unit 126 Event Notification Unit 127 Operation Unit 128 Web Browser 130 Network 131 HTML Analysis Unit 132 Script Storage Unit 133 Script Execution Unit 134 Template Conversion Unit 135 Display Control Unit 136 MFP Information Acquisition Unit 137 Input unit 138 Event reception unit 139 Template storage unit 500 Computer 501 Input device 502 Display device 503 External I / F
503a Recording medium 504 RAM
505 ROM
506 CPU
507 Communication I / F
508 HDD
601 Controller 602 Operation panel 603 External I / F
603a Recording medium 604 Communication I / F
605 Printer 606 Scanner 611 CPU
612 RAM
613 ROM
614 NVRAM
615 HDD
1000, 1400 UI template information 1100, 1300, 1500, 1600 screen 1200 UI template information 2000, 2001 Character string indicating template type B bus

特開2006−352845号公報JP 2006-352845 A

Claims (10)

ウェブブラウザを搭載する電子機器と、前記電子機器にウェブアプリケーションを提供する情報処理装置と、を有する情報処理システムであって、
前記情報処理装置は、画面表示情報の少なくとも一部がテンプレートにより表された前記ウェブアプリケーションを前記電子機器に提供する提供手段、を有し、
前記電子機器に搭載されたウェブブラウザは、前記ウェブアプリケーションが実行可能な処理を記述したプログラムを記憶するプログラム記憶部と、
前記プログラム記憶部が記憶するプログラムと、少なくとも一部がテンプレートにより表された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートにより表された部分を前記電子機器の機能に関する情報により変換して、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換手段と、を有する
ことを特徴とする情報処理システム。
An information processing system comprising: an electronic device equipped with a web browser; and an information processing device that provides a web application to the electronic device,
The information processing apparatus includes providing means for providing the electronic device with the web application in which at least part of screen display information is represented by a template,
A web browser installed in the electronic device includes a program storage unit that stores a program describing a process executable by the web application;
Based on the program stored in the program storage unit, the screen display information at least partly represented by a template, and information on the function of the electronic device, the part represented by the template is related to the function of the electronic device. An information processing system comprising: conversion means for converting information to generate screen display information of a screen on which a user uses the web application.
前記提供手段は、前記画面表示情報の少なくとも一部としてテンプレートが記述された前記ウェブアプリケーションを前記電子機器に提供し、
前記変換手段は、前記画面表示情報に含まれる前記テンプレートにより記述されている部分を、前記電子機器の機能に関する情報により変換する
ことを特徴とする請求項1記載の情報処理システム。
The providing means provides the electronic device with the web application in which a template is described as at least part of the screen display information,
The information processing system according to claim 1, wherein the conversion unit converts a part described by the template included in the screen display information with information related to a function of the electronic device.
前記電子機器に搭載されたウェブブラウザは、前記テンプレートを識別する識別情報と対応付けて前記テンプレートを記憶するテンプレート記憶部を更に有し、
前記提供手段は、前記画面表示情報の少なくとも一部としてテンプレートの識別情報が記述された前記ウェブアプリケーションを前記電子機器に提供し、
前記変換手段は、前記画面表示情報に含まれる前記識別情報に対応付けられて前記テンプレート記憶部に記憶されている前記テンプレートを読み出し、そのテンプレートを前記電子機器の機能に関する情報により変換して、前記画面表示情報に含まれる前記テンプレートの識別情報により記述されている部分と置き換える
ことを特徴とする請求項1記載の情報処理システム。
The web browser mounted on the electronic device further includes a template storage unit that stores the template in association with identification information for identifying the template,
The providing means provides the electronic device with the web application in which template identification information is described as at least part of the screen display information,
The conversion means reads the template stored in the template storage unit in association with the identification information included in the screen display information, converts the template with information related to the function of the electronic device, and The information processing system according to claim 1, wherein the information processing system is replaced with a portion described by identification information of the template included in screen display information.
前記電子機器の機能に関する情報は、前記電子機器において設定できる機能と、その機能で利用できる値と、を表す
ことを特徴とする請求項1乃至3何れか一項記載の情報処理システム。
The information processing system according to claim 1, wherein the information related to the function of the electronic device represents a function that can be set in the electronic device and a value that can be used for the function.
前記変換手段により生成された前記画面表示情報に基づき、前記電子機器において設定できる機能ごとに、前記機能で利用できる値をユーザに選択させ、ユーザから前記ウェブアプリケーションの実行開始指示を受け付ける画面を表示する画面制御部、を更に有する
ことを特徴とする請求項4記載の情報処理システム。
Based on the screen display information generated by the conversion means, for each function that can be set in the electronic device, a value that can be used by the function is selected by the user, and a screen that receives an instruction to start execution of the web application from the user is displayed. The information processing system according to claim 4, further comprising: a screen control unit that performs processing.
ウェブブラウザを搭載する電子機器と、前記電子機器にウェブアプリケーションを提供する情報処理装置と、を有する情報処理システムが行う画面表示情報生成方法であって、
前記情報処理装置が、画面表示情報の少なくとも一部としてテンプレートが記述された前記ウェブアプリケーションを前記電子機器に提供する提供ステップと、
前記電子機器に搭載されたウェブブラウザが、プログラム記憶部により記憶されている前記ウェブアプリケーションが実行可能な処理を記述したプログラムと、少なくとも一部にテンプレートが記述された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートにより記述されている部分を前記電子機器の機能に関する情報により変換して、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換ステップと、を有する
ことを特徴とする画面表示情報生成方法。
A screen display information generation method performed by an information processing system having an electronic device equipped with a web browser and an information processing device that provides a web application to the electronic device,
Providing the web application in which the information processing apparatus describes a template as at least part of screen display information to the electronic device;
A web browser installed in the electronic device includes a program describing processing executable by the web application stored in a program storage unit, the screen display information in which a template is described at least in part, and the electronic A conversion step of converting a portion described by the template with information on the function of the electronic device based on information on the function of the device, and generating screen display information of a screen on which the user uses the web application; A screen display information generation method characterized by comprising:
ウェブブラウザを搭載する電子機器と、前記電子機器にウェブアプリケーションを提供する情報処理装置と、を有する情報処理システムが行う画面表示情報生成方法であって、
前記情報処理装置が、画面表示情報の少なくとも一部としてテンプレートの識別情報が記述された前記ウェブアプリケーションを前記電子機器に提供する提供ステップと、
前記電子機器に搭載されたウェブブラウザが、前記テンプレートを識別する識別情報と対応付けて前記テンプレートを記憶するテンプレート記憶部から、前記画面表示情報に含まれる前記識別情報に対応付けられて前記テンプレート記憶部に記憶されている前記テンプレートを読み出す読出しステップと、
前記電子機器に搭載されたウェブブラウザが、前記テンプレート記憶部から読み出した前記テンプレートと、プログラム記憶部により記憶されている前記ウェブアプリケーションが実行可能な処理を記述したプログラムと、少なくとも一部にテンプレートの識別情報が記述された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートを前記電子機器の機能に関する情報により変換して、前記画面表示情報に含まれる前記テンプレートの識別情報により記述されている部分と置き換え、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換ステップと、を有する
ことを特徴とする画面表示情報生成方法。
A screen display information generation method performed by an information processing system having an electronic device equipped with a web browser and an information processing device that provides a web application to the electronic device,
A step of providing the web application in which the identification information of the template is described as at least part of the screen display information to the electronic device, the information processing apparatus;
A web browser installed in the electronic device stores the template in association with the identification information included in the screen display information from a template storage unit that stores the template in association with identification information for identifying the template. A reading step of reading the template stored in the unit;
A web browser installed in the electronic device reads the template read from the template storage unit, a program describing processing executable by the web application stored in the program storage unit, and at least a part of the template Based on the screen display information in which identification information is described and information on the function of the electronic device, the template is converted by information on the function of the electronic device, and the template identification information included in the screen display information And a conversion step of generating screen display information of a screen on which the user uses the web application, replacing the portion described by the above.
ウェブブラウザを搭載し、情報処理装置から画面表示情報の少なくとも一部としてテンプレートが記述されたウェブアプリケーションを提供される電子機器であって、
前記ウェブブラウザが、
前記ウェブアプリケーションが実行可能な処理を記述したプログラムを記憶するプログラム記憶部と、
前記プログラム記憶部が記憶するプログラムと、少なくとも一部にテンプレートが記述された前記情報処理装置から提供された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートにより記述されている部分を前記電子機器の機能に関する情報により変換して、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換手段と、を有する
ことを特徴とする電子機器。
An electronic device equipped with a web browser and provided with a web application in which a template is described as at least part of screen display information from an information processing device,
The web browser is
A program storage unit for storing a program describing a process executable by the web application;
Based on the program stored in the program storage unit, the screen display information provided from the information processing apparatus in which at least a template is described, and information on the function of the electronic device, the template is described by the template. An electronic device comprising: conversion means for converting a portion that is present with information related to the function of the electronic device and generating screen display information of a screen on which a user uses the web application.
ウェブブラウザを搭載し、情報処理装置から画面表示情報の少なくとも一部としてテンプレートの識別情報が記述されたウェブアプリケーションを提供される電子機器であって、
前記ウェブブラウザが、
前記ウェブアプリケーションが実行可能な処理を記述したプログラムを記憶するプログラム記憶部と、
前記テンプレートを識別する識別情報と対応付けて前記テンプレートを記憶するテンプレート記憶部と、
前記テンプレート記憶部から、前記画面表示情報に含まれる前記識別情報に対応付けられて前記テンプレート記憶部に記憶されている前記テンプレートを読み出し、前記テンプレート記憶部から読み出した前記テンプレートと、前記プログラム記憶部により記憶されている前記ウェブアプリケーションが実行可能な処理を記述したプログラムと、少なくとも一部として前記テンプレートの識別情報が記述された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートを前記電子機器の機能に関する情報により変換して、前記画面表示情報に含まれる前記テンプレートの識別情報により記述されている部分と置き換え、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換手段と、を有する
ことを特徴とする電子機器。
An electronic device equipped with a web browser and provided with a web application in which identification information of a template is described as at least part of screen display information from an information processing device,
The web browser is
A program storage unit for storing a program describing a process executable by the web application;
A template storage unit that stores the template in association with identification information for identifying the template;
The template stored in the template storage unit in association with the identification information included in the screen display information is read from the template storage unit, the template read from the template storage unit, and the program storage unit Based on the program describing the process executable by the web application stored in the above, the screen display information in which the identification information of the template is described as at least a part, and the information on the function of the electronic device, The template is converted with information related to the function of the electronic device and replaced with the portion described by the identification information of the template included in the screen display information, and the screen display information of the screen on which the user uses the web application is generated. Conversion means to An electronic apparatus, comprising.
情報処理装置から画面表示情報の少なくとも一部としてテンプレートの識別情報が記述されたウェブアプリケーションを提供される電子機器を、
前記ウェブアプリケーションが実行可能な処理を記述したプログラムを記憶するプログラム記憶部、
前記テンプレートを識別する識別情報と対応付けて前記テンプレートを記憶するテンプレート記憶部、
前記テンプレート記憶部から、前記画面表示情報に含まれる前記識別情報に対応付けられて前記テンプレート記憶部に記憶されている前記テンプレートを読み出し、前記テンプレート記憶部から読み出した前記テンプレートと、前記プログラム記憶部により記憶されている前記ウェブアプリケーションが実行可能な処理を記述したプログラムと、少なくとも一部として前記テンプレートの識別情報が記述された前記画面表示情報と、前記電子機器の機能に関する情報とに基づき、前記テンプレートを前記電子機器の機能に関する情報により変換して、前記画面表示情報に含まれる前記テンプレートの識別情報により記述されている部分と置き換え、ユーザが前記ウェブアプリケーションを利用する画面の画面表示情報を生成する変換手段、
として機能させるためのブラウザプログラム。
An electronic device provided with a web application in which identification information of a template is described as at least part of screen display information from an information processing device,
A program storage unit for storing a program describing processing executable by the web application;
A template storage unit for storing the template in association with identification information for identifying the template;
The template stored in the template storage unit in association with the identification information included in the screen display information is read from the template storage unit, the template read from the template storage unit, and the program storage unit Based on the program describing the process executable by the web application stored in the above, the screen display information in which the identification information of the template is described as at least a part, and the information on the function of the electronic device, The template is converted with information related to the function of the electronic device and replaced with the portion described by the identification information of the template included in the screen display information, and the screen display information of the screen on which the user uses the web application is generated. Conversion means,
Browser program to make it function as
JP2016031309A 2016-02-22 2016-02-22 Information processing system, screen display information generation method, electronic device and browser program Active JP6740632B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016031309A JP6740632B2 (en) 2016-02-22 2016-02-22 Information processing system, screen display information generation method, electronic device and browser program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016031309A JP6740632B2 (en) 2016-02-22 2016-02-22 Information processing system, screen display information generation method, electronic device and browser program

Publications (2)

Publication Number Publication Date
JP2017151550A true JP2017151550A (en) 2017-08-31
JP6740632B2 JP6740632B2 (en) 2020-08-19

Family

ID=59741860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016031309A Active JP6740632B2 (en) 2016-02-22 2016-02-22 Information processing system, screen display information generation method, electronic device and browser program

Country Status (1)

Country Link
JP (1) JP6740632B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020057872A (en) * 2018-09-28 2020-04-09 株式会社リコー Electronic apparatus, information processing system, and end operation prevention method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001331393A (en) * 2000-05-18 2001-11-30 Canon Inc Device and method for controlling network device
JP2007087398A (en) * 2005-09-22 2007-04-05 Sharp Corp Display data forming method, method of standardizing display of image processing device, image processing device, control system and control method of image processing device, program, and computer-readable recording medium
JP2007172482A (en) * 2005-12-26 2007-07-05 Hitachi Software Eng Co Ltd Information display system
US20120005579A1 (en) * 2010-06-30 2012-01-05 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and program
JP2012168778A (en) * 2011-02-15 2012-09-06 Konica Minolta Business Technologies Inc Image forming apparatus, image forming system, method of controlling image forming apparatus, and program for controlling image forming apparatus
JP2014116803A (en) * 2012-12-10 2014-06-26 Canon Inc Information processor, control method and program for the same and information processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001331393A (en) * 2000-05-18 2001-11-30 Canon Inc Device and method for controlling network device
JP2007087398A (en) * 2005-09-22 2007-04-05 Sharp Corp Display data forming method, method of standardizing display of image processing device, image processing device, control system and control method of image processing device, program, and computer-readable recording medium
JP2007172482A (en) * 2005-12-26 2007-07-05 Hitachi Software Eng Co Ltd Information display system
US20120005579A1 (en) * 2010-06-30 2012-01-05 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and program
JP2012168778A (en) * 2011-02-15 2012-09-06 Konica Minolta Business Technologies Inc Image forming apparatus, image forming system, method of controlling image forming apparatus, and program for controlling image forming apparatus
JP2014116803A (en) * 2012-12-10 2014-06-26 Canon Inc Information processor, control method and program for the same and information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020057872A (en) * 2018-09-28 2020-04-09 株式会社リコー Electronic apparatus, information processing system, and end operation prevention method
JP7135685B2 (en) 2018-09-28 2022-09-13 株式会社リコー Electronic device, information processing system, and termination operation suppression method

Also Published As

Publication number Publication date
JP6740632B2 (en) 2020-08-19

Similar Documents

Publication Publication Date Title
US9135533B2 (en) Information processing apparatus configured to establish a workflow using plugins, information processing method, and computer-readable storage medium performing the same
US8468213B2 (en) Screen generating method, image forming apparatus, and computer program product
EP3346685A1 (en) Input/output device and information processing system
US9489218B2 (en) Device and help server
US10809993B2 (en) System, management device, information processing device, control method for management device, control method for information processing device, and computer-readable storage medium
JP6638498B2 (en) Information processing apparatus, program, and printing system
JP2013088992A (en) Printing system
JP6825465B2 (en) Information processing equipment, information processing methods, and programs
US10122882B2 (en) Information processing apparatus, control method for information processing apparatus, and program storage medium, relating to displaying setting screens associated with extension software
KR101282254B1 (en) Image processing apparatus and image processing method and media for computer program thereof
JP2018037746A (en) Information processing system, information processor, and information processing method
US20090207436A1 (en) Image forming apparatus, server, image forming system, and storage medium
JP2017142766A (en) Information processing system, information processing apparatus, and information processing method
US10701225B2 (en) User interface definition for information processing apparatus, control method, and storage medium
JP6740632B2 (en) Information processing system, screen display information generation method, electronic device and browser program
JP6464712B2 (en) Information processing apparatus and information processing method
JP2008211747A (en) Image processing apparatus, server apparatus, task processing method, storage medium, and program
JP2010219928A (en) Information providing apparatus, information providing method and information providing program
JP2019160226A (en) Image forming apparatus, setting value input receiving method, and program
JP5353771B2 (en) Image forming apparatus, image processing apparatus, image processing system, image processing method, program, and recording medium
JP6658110B2 (en) Information processing system, program and request method
JP2020030697A (en) Information processing apparatus, terminal device, setting screen display system, and setting screen display method
JP6852591B2 (en) I / O devices, programs and information processing systems
JP2014071789A (en) Information processing device and program
US20220405033A1 (en) Information processing apparatus, information processing system, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200706

R151 Written notification of patent or utility model registration

Ref document number: 6740632

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151