JP6383463B2 - Information processing apparatus, control method thereof, and program - Google Patents

Information processing apparatus, control method thereof, and program Download PDF

Info

Publication number
JP6383463B2
JP6383463B2 JP2017116071A JP2017116071A JP6383463B2 JP 6383463 B2 JP6383463 B2 JP 6383463B2 JP 2017116071 A JP2017116071 A JP 2017116071A JP 2017116071 A JP2017116071 A JP 2017116071A JP 6383463 B2 JP6383463 B2 JP 6383463B2
Authority
JP
Japan
Prior art keywords
screen
web browser
key
information processing
hardware key
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.)
Active
Application number
JP2017116071A
Other languages
Japanese (ja)
Other versions
JP2017201542A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017116071A priority Critical patent/JP6383463B2/en
Publication of JP2017201542A publication Critical patent/JP2017201542A/en
Application granted granted Critical
Publication of JP6383463B2 publication Critical patent/JP6383463B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、サーバとネットワークを介して接続され、サーバにより提供される操作画面を表示するブラウザを備える情報処理装置、その制御方法、及びプログラムに関するものである。   The present invention relates to an information processing apparatus including a browser connected to a server via a network and displaying an operation screen provided by the server, a control method thereof, and a program.

PCなどの情報処理装置がネットワーク上のWebサーバに接続され、Webサーバにより提供される操作画面を、情報処理装置が備えるWebブラウザ上に表示することが知られている。この場合、まず情報処理装置のWebブラウザが、Webサーバに対して操作画面を要求(リクエスト)する。そして、Webサーバ上のWebアプリケーションが情報処理装置からの要求に応えて、Webブラウザに操作画面を表示させるためのHTMLデータを情報処理装置に応答(レスポンス)する。情報処理装置のWebブラウザは、受信したHTMLデータを解析し、HTMLデータの記述に基づいた操作画面を表示する。更に、Webブラウザに表示された操作画面を介してユーザが指示を入力すると、入力された指示をWebブラウザがWebサーバに対して通知する。そして、この通知を受けたWebサーバ上のWebアプリケーションは、入力された指示に従って処理を実行する。   It is known that an information processing apparatus such as a PC is connected to a Web server on a network and an operation screen provided by the Web server is displayed on a Web browser provided in the information processing apparatus. In this case, first, the Web browser of the information processing apparatus requests (requests) an operation screen from the Web server. In response to a request from the information processing apparatus, the Web application on the Web server responds to the information processing apparatus with HTML data for displaying an operation screen on the Web browser. The Web browser of the information processing apparatus analyzes the received HTML data and displays an operation screen based on the description of the HTML data. Further, when the user inputs an instruction via the operation screen displayed on the Web browser, the Web browser notifies the input instruction to the Web server. The Web application on the Web server that has received this notification executes processing in accordance with the input instruction.

最近ではスキャナやプリンタを備えたMFP(Multi Function Peripheral)の中にも、上述したようなWebブラウザを備えているものがある。例えば、特許文献1には、MFPが備える各機能を利用するための操作画面を、Webサーバが提供することが提案されている。即ち、MFPのユーザは、Webブラウザ上に表示された操作画面を介して、MFPに対する指示を入力する。そして、入力された指示は、MFPのWebブラウザによってWebサーバに通知される。通知を受けたWebサーバは、ユーザから入力された指示の内容に従って、MFPに対して各種処理の実行を依頼する。そして、この依頼を受けたMFPは、依頼された処理を実行する。これにより、MFPを操作するための全メニューデータをMFP内で保持しておく必要がなくなり、またメニューデータの変更もWebサーバ上で容易に行うことができるようになる。   Recently, some MFPs (Multi Function Peripherals) equipped with scanners and printers are equipped with a Web browser as described above. For example, Patent Document 1 proposes that a Web server provides an operation screen for using each function included in an MFP. That is, the user of the MFP inputs an instruction for the MFP via the operation screen displayed on the Web browser. Then, the input instruction is notified to the Web server by the Web browser of the MFP. Upon receiving the notification, the Web server requests the MFP to execute various processes according to the content of the instruction input from the user. Upon receiving this request, the MFP executes the requested processing. Accordingly, it is not necessary to store all menu data for operating the MFP in the MFP, and the menu data can be easily changed on the Web server.

また、特許文献2には、MFPに搭載されたハードウェアキー(スタートキー)の入力をWebブラウザ上に表示された操作画面より受け付けて、MFPに対する読み込みや出力などの処理を実現している。これにより、Webアプリケーションであっても通常のMFPと同じ操作性を提供することが可能になる。   Japanese Patent Application Laid-Open No. 2004-228561 accepts input of a hardware key (start key) mounted on an MFP from an operation screen displayed on a Web browser, and realizes processing such as reading and output to the MFP. As a result, even a Web application can provide the same operability as a normal MFP.

特開2006−127503号公報JP 2006-127503 A 特開2011−130123号公報JP 2011-130123 A

しかしながら、上記従来技術には以下に記載する問題がある。例えば上記特許文献2の技術を採用したとしても、Webアプリケーションは、MFPに予め組み込まれているアプリケーション(以下では、ネイティブアプリケーションと称する。)で使用可能なハードウェアキー(スタートキー)とソフトウェアキーの関連付けを制御できない。そのため、Webアプリケーションの操作画面の中に複数のソフトウェアキーが含まれる場合、ユーザに対して通常のネイティブアプリケーションと同じ操作性を提供することが困難であった。   However, the above prior art has the following problems. For example, even if the technique disclosed in Patent Document 2 is adopted, the Web application is a combination of a hardware key (start key) and a software key that can be used by an application (hereinafter referred to as a native application) that is pre-installed in the MFP. The association cannot be controlled. Therefore, when a plurality of software keys are included in the operation screen of the Web application, it is difficult to provide the same operability as that of a normal native application to the user.

本発明は、上述の問題に鑑みて行われたものであり、Webアプリケーションにおいて、ハードウェアキーとソフトウェアキーとの両方を使用可能なネイティブアプリケーションと同様の操作性を実現する仕組みを提供することを目的とする。   The present invention has been made in view of the above-described problems, and provides a mechanism for realizing the same operability as a native application that can use both a hardware key and a software key in a Web application. Objective.

本発明は、サーバが提供するアプリケーションを実行する情報処理装置であって、前記アプリケーションの画面情報であって、ハードウェアキーの制御を登録し、ハードウェアキーの発光部を点灯する関数を呼び出す処理が定義されたスクリプトを含む前記画面情報を前記サーバから取得する第1取得手段と、前記第1取得手段によって取得した前記画面情報に従って操作部に画面を表示する表示制御手段と、前記第1取得手段によって取得した前記画面情報に含まれる前記スクリプトに定義された関数を呼び出すことにより、前記操作部に設けられたハードウェアキーの制御を登録し、前記画面情報に従った画面を前記操作部に表示している間に、前記ハードウェアキーの発光部を点灯させる実行手段を有し、前記実行手段は、さらに、前記ハードウェアキーが押下されると、前記登されたハードウェアキーの制御を行うことを特徴とする
The present invention is an information processing apparatus that executes an application provided by a server, and is a screen information of the application that registers a control of a hardware key and calls a function for lighting a light emitting unit of the hardware key A first acquisition unit that acquires the screen information including the script defined by the server , a display control unit that displays a screen on an operation unit according to the screen information acquired by the first acquisition unit, and the first by calling the function defined in the script included in the acquired screen information by the acquiring means, and registers the control of hardware keys provided on the operation unit, the operation unit screen according to the screen information while viewing a has an execution unit Ru is lit light emitting portion of the hardware key, the execution unit may further When serial hardware key is pressed, and performs control of the pre Kito recording hardware key.

本発明は、Webアプリケーションにおいて、ハードウェアキーとソフトウェアキーとの両方を使用可能なネイティブアプリケーションと同様の操作性を実現する仕組みを提供できる。   The present invention can provide a mechanism for realizing the same operability as a native application that can use both a hardware key and a software key in a Web application.

MFP101とサーバ102とを含む情報処理システムの全体構成を示す図。1 is a diagram illustrating an overall configuration of an information processing system including an MFP 101 and a server 102. FIG. MFP101のハードウェア構成を示すブロック図。2 is a block diagram showing a hardware configuration of the MFP 101. FIG. 操作部219の外観構成を示す図である。It is a figure which shows the external appearance structure of the operation part 219. FIG. サーバ102のハードウェア構成を示すブロック図。2 is a block diagram showing a hardware configuration of a server 102. FIG. MFP101のソフトウェア構成を示すブロック図。2 is a block diagram showing a software configuration of the MFP 101. FIG. サーバ102のソフトウェア構成を示すブロック図。FIG. 2 is a block diagram showing a software configuration of a server 102. MFP101の操作部219に表示される画面の遷移を示す図。6 is a diagram showing transition of screens displayed on an operation unit 219 of the MFP 101. FIG. 情報処理システムで実行される処理のシーケンスを示す図。The figure which shows the sequence of the process performed with an information processing system. スキャン設定画面701のHTMLデータの一例を示す図。The figure which shows an example of the HTML data of the scan setting screen. スキャン要求メッセージの一例を示す図。The figure which shows an example of a scanning request message. SOAP要求メッセージの一例を示す図。The figure which shows an example of a SOAP request message. Webブラウザ500が実行するスキャン準備完了処理の手順を示すフローチャート。6 is a flowchart showing a procedure of scan preparation completion processing executed by the Web browser 500. Webブラウザ500がスタートキー303の入力を受け付けたときに実行する処理の手順を示すフローチャート。10 is a flowchart showing a procedure of processing executed when the Web browser 500 receives an input of a start key 303. Webブラウザ500がWebブラウザ500とその他の画面間で画面遷移したときに実行する処理の手順を示すフローチャート。The flowchart which shows the procedure of the process performed when the web browser 500 changes a screen between the web browser 500 and another screen. 第2の実施形態に係るMFP101のソフトウェア構成を示すブロック図。FIG. 10 is a block diagram showing a software configuration of the MFP 101 according to the second embodiment. 第2の実施形態に係る情報処理システムで実行される処理のシーケンスを示す図。The figure which shows the sequence of the process performed with the information processing system which concerns on 2nd Embodiment. 第2の実施形態に係るスキャン設定画面701のHTMLデータの一例を示す図。FIG. 10 is a diagram showing an example of HTML data on a scan setting screen 701 according to the second embodiment.

以下、本発明を実施するための形態について図面を用いて説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでなく、また実施形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention.

<第1の実施形態>
<情報処理システムの構成>
以下では、図1乃至図14を参照して、本発明の第1の実施形態について説明する。まず、図1を参照して、情報処理システムの全体構成について説明する。図1に示すように、LAN110には、MFP101と、サーバ102とが互いに通信可能に接続されている。なお、本実施形態では、情報処理システムに上記2つの装置が含まれることを前提として説明するが、本発明はこれに限定されず、複数の他のMFPや、複数の他のサーバを含んでもよい。MFP101は、Webブラウザ機能を有し、サーバ102が提供するWebアプリケーションを実行する。即ち、MFP101のWebブラウザは、サーバ102から提供される画面情報に従ってMFP101の操作部にWebアプリケーションの画面を表示する。なお、本実施形態では、情報処理装置として、MFP101を一例として説明する。本発明に適用可能な情報処理装置として、他の画像形成装置や、画像読取装置等が適用されてもよい。
<First Embodiment>
<Configuration of information processing system>
The first embodiment of the present invention will be described below with reference to FIGS. First, the overall configuration of the information processing system will be described with reference to FIG. As shown in FIG. 1, an MFP 101 and a server 102 are communicably connected to a LAN 110. Although the present embodiment will be described on the assumption that the information processing system includes the above two devices, the present invention is not limited to this, and may include a plurality of other MFPs and a plurality of other servers. Good. The MFP 101 has a Web browser function and executes a Web application provided by the server 102. That is, the Web browser of the MFP 101 displays a Web application screen on the operation unit of the MFP 101 according to the screen information provided from the server 102. In the present embodiment, the MFP 101 will be described as an example of the information processing apparatus. As an information processing apparatus applicable to the present invention, another image forming apparatus, an image reading apparatus, or the like may be applied.

ここで、Webアプリケーションとは、サーバ102が提供するアプリケーションを示す。一方、MFP101が予めインストールしているアプリケーションをネイティブアプリケーションと称する。本実施形態では、Webアプリケーションの操作性を、できるだけネイティブアプリケーションの操作性に近づけるための仕組みを提案する。   Here, the Web application indicates an application provided by the server 102. On the other hand, an application installed in advance by the MFP 101 is referred to as a native application. In this embodiment, a mechanism for making the operability of a Web application as close as possible to the operability of a native application is proposed.

<MFPのハードウェア構成>
次に、図2を参照して、MFP101のハードウェア構成について説明する。MFP101は、制御部210、操作部219、プリンタ220、及びスキャナ221を備える。また、制御部210は、CPU211、ROM212、RAM213、HDD214、操作部I/F215、プリンタI/F216、スキャナI/F217、及びネットワークI/F218を備える。制御部210は、MFP101全体の動作を制御する。
<Hardware configuration of MFP>
Next, the hardware configuration of the MFP 101 will be described with reference to FIG. The MFP 101 includes a control unit 210, an operation unit 219, a printer 220, and a scanner 221. The control unit 210 includes a CPU 211, ROM 212, RAM 213, HDD 214, operation unit I / F 215, printer I / F 216, scanner I / F 217, and network I / F 218. A control unit 210 controls the overall operation of the MFP 101.

CPU211は、ROM212に記憶された制御プログラムを読み出して読取制御や送信制御などの各種制御を行う。RAM213は、CPU211の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD214は、画像データや各種プログラムを記憶する。操作部I/F215は、操作部219と制御部210とを接続する。操作部219には、タッチパネル機能を有する液晶表示部やハードウェアキーなどが備えられている。また、MFP101には後述するWebブラウザ機能が備えられており、MFP101のWebブラウザは、サーバ102から受信したHTMLデータを解析し、受信したHTMLデータの記述に基づく操作画面を操作部219の液晶表示部に表示する。   The CPU 211 reads out a control program stored in the ROM 212 and performs various controls such as reading control and transmission control. The RAM 213 is used as a temporary storage area such as a main memory or work area for the CPU 211. The HDD 214 stores image data and various programs. The operation unit I / F 215 connects the operation unit 219 and the control unit 210. The operation unit 219 includes a liquid crystal display unit having a touch panel function, a hardware key, and the like. Further, the MFP 101 is provided with a Web browser function to be described later. The Web browser of the MFP 101 analyzes HTML data received from the server 102 and displays an operation screen based on the description of the received HTML data on the liquid crystal display of the operation unit 219. To display.

プリンタI/F216は、プリンタ220と制御部210とを接続する。プリンタ220で印刷すべき画像データはプリンタI/F216を介して制御部210から転送され、プリンタ220において記録媒体上に印刷される。スキャナI/F217は、スキャナ221と制御部210とを接続する。スキャナ221は、原稿上の画像を読み取って画像データを生成し、スキャナI/F217を介して制御部210に入力する。ネットワークI/F218は、制御部210(MFP101)をLAN110に接続する。ネットワークI/F218は、LAN110上の外部装置(例えば、サーバ102)に画像データや情報を送信したり、LAN110上の外部装置から各種情報を受信したりする。   A printer I / F 216 connects the printer 220 and the control unit 210. Image data to be printed by the printer 220 is transferred from the control unit 210 via the printer I / F 216 and printed on a recording medium by the printer 220. The scanner I / F 217 connects the scanner 221 and the control unit 210. The scanner 221 reads an image on a document to generate image data, and inputs the image data to the control unit 210 via the scanner I / F 217. The network I / F 218 connects the control unit 210 (MFP 101) to the LAN 110. The network I / F 218 transmits image data and information to an external device (for example, the server 102) on the LAN 110, and receives various types of information from the external device on the LAN 110.

<操作部の構成>
次に、図3を参照して、操作部219の構成について説明する。図3に示すように、操作部219は、LCD上にタッチパネルシート302が貼られている液晶表示部301を有する。この液晶表示部301には、後述するネイティブ機能モジュールやWebブラウザが表示する操作画面及びソフトウェアキーが表示されるとともに、表示されているキーが押されると、押された位置を示す位置情報をCPU211に伝える。
<Configuration of operation unit>
Next, the configuration of the operation unit 219 will be described with reference to FIG. As illustrated in FIG. 3, the operation unit 219 includes a liquid crystal display unit 301 in which a touch panel sheet 302 is pasted on an LCD. On the liquid crystal display unit 301, an operation screen and software keys displayed by a native function module and a web browser described later are displayed, and when the displayed key is pressed, position information indicating the pressed position is displayed on the CPU 211. To tell.

また、操作部219には、スタートキー303、ストップキー304、リセットキー305、ガイドキー306、トップメニューキー307、及び数値キー308の各種ハードウェアキーが設けられている。スタートキー303は、画像処理装置の処理の開始を指示するためのキーであり、スタートキー303の中央部には、LED表示部309が設けられている。LED表示部309は、LED点灯状態によってスタートキー303が使用可能な状態にあるか否かを表す。ストップキー304は、稼働中の動作を止めるためのキーである。リセットキー305は設定を初期化するときに用いられるキーである。ガイドキー306は、MFP101の使用方法を表示するためのキーである。トップメニューキー307はMFP101の機能を選択させるためのトップメニュー画面を表示するためのキーである。数値キー308は数値を入力するためのキーである。本実施形態に係るMFP101では、Webアプリケーションにおいても、上記ハードウェアキーを使用することを可能とする。   The operation unit 219 is provided with various hardware keys such as a start key 303, a stop key 304, a reset key 305, a guide key 306, a top menu key 307, and a numeric key 308. A start key 303 is a key for instructing the start of processing of the image processing apparatus, and an LED display unit 309 is provided at the center of the start key 303. The LED display unit 309 indicates whether or not the start key 303 is usable depending on the LED lighting state. A stop key 304 is a key for stopping an operation in progress. A reset key 305 is a key used when initializing settings. A guide key 306 is a key for displaying how to use the MFP 101. A top menu key 307 is a key for displaying a top menu screen for selecting a function of the MFP 101. A numerical key 308 is a key for inputting a numerical value. The MFP 101 according to the present embodiment can use the hardware key even in a Web application.

<サーバのハードウェア構成>
次に、図4を参照して、サーバ102のハードウェア構成について説明する。サーバ102は、制御部410を備える。制御部410は、CPU411、ROM412、RAM413、HDD414、及びネットワークI/F415を備える。制御部410は、サーバ102全体の動作を制御する。
<Server hardware configuration>
Next, the hardware configuration of the server 102 will be described with reference to FIG. The server 102 includes a control unit 410. The control unit 410 includes a CPU 411, ROM 412, RAM 413, HDD 414, and network I / F 415. The control unit 410 controls the overall operation of the server 102.

CPU411は、ROM412に記憶された制御プログラムを読み出して各種制御処理を実行する。RAM413は、CPU411の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD414は、画像データや各種プログラムを記憶する。ネットワークI/F415は、制御部410(サーバ102)をLAN110に接続する。ネットワークI/F415は、LAN110上の他の装置との間で各種情報を送受信する。   The CPU 411 reads out a control program stored in the ROM 412 and executes various control processes. The RAM 413 is used as a temporary storage area such as a main memory or work area for the CPU 411. The HDD 414 stores image data and various programs. The network I / F 415 connects the control unit 410 (server 102) to the LAN 110. The network I / F 415 transmits / receives various information to / from other devices on the LAN 110.

<MFPのソフトウェア構成>
次に、図5を参照して、MFP101のソフトウェア構成について説明する。図5に示す各機能部は、MFP101が有しているCPU211が制御プログラムを実行することにより実現される。MFP101は、Webブラウザ500、HTTPサーバ510、デバイス制御部520、及びジョブ制御部530を含む。
<Software configuration of MFP>
Next, the software configuration of the MFP 101 will be described with reference to FIG. Each function unit illustrated in FIG. 5 is realized by the CPU 211 included in the MFP 101 executing a control program. The MFP 101 includes a web browser 500, an HTTP server 510, a device control unit 520, and a job control unit 530.

Webブラウザ500は、サーバ102に対して、HTTPのプロトコルに従ってリクエスト(以下、HTTPリクエスト)を送信するとともに、そのリクエストに対するレスポンス(以下、HTTPレスポンス)を受信する。そして、受信したHTTPレスポンスを解析して、操作画面を表示したり、受信したレスポンスに含まれるJavaScript(登録商標)(スクリプト)を処理したりする。スクリプトには、処理を実行するための複数の命令が含まれる。Webブラウザ500は、JavaScriptを処理することにより、操作画面を書き換えたり、操作部219の各種ハードウェアキーからの入力を受け付けたり、デバイス制御部520へLED表示部309の点灯又は消灯を指示したりすることができる。なお、
HTTPサーバ510は、Webブラウザ500からのHTTPリクエストを受信して、指定されたWebサービスへHTTPリクエストを割り当てる。HTTPサーバ510が公開するWebサービスには、ジョブ制御部530がある。
The web browser 500 transmits a request (hereinafter referred to as an HTTP request) to the server 102 in accordance with an HTTP protocol, and receives a response to the request (hereinafter referred to as an HTTP response). Then, the received HTTP response is analyzed, an operation screen is displayed, and a JavaScript (registered trademark) (script) included in the received response is processed. The script includes a plurality of instructions for executing processing. The Web browser 500 processes JavaScript to rewrite the operation screen, accept input from various hardware keys of the operation unit 219, or instruct the device control unit 520 to turn on or off the LED display unit 309. can do. In addition,
The HTTP server 510 receives the HTTP request from the web browser 500 and assigns the HTTP request to the designated web service. A Web service published by the HTTP server 510 includes a job control unit 530.

デバイス制御部520は、MFP101の各種デバイスを制御する。例えば、デバイス制御部520は、操作部I/F215を介して操作部219のLED表示部309の点灯及び消灯を制御する。デバイス制御部520は、Webブラウザ500からLED表示部309の点灯又は消灯指示を受け付けると、LED表示部309の点灯又は消灯する。なお、Webブラウザ500は、LED表示部309を点灯しているときはスタートキー303を使用可能に制御し、消灯しているときはスタートキー303を使用不可に制御する。   A device control unit 520 controls various devices of the MFP 101. For example, the device control unit 520 controls lighting and extinguishing of the LED display unit 309 of the operation unit 219 via the operation unit I / F 215. When the device control unit 520 receives an instruction to turn on or off the LED display unit 309 from the web browser 500, the device control unit 520 turns on or off the LED display unit 309. The Web browser 500 controls the start key 303 to be usable when the LED display unit 309 is lit, and disables the start key 303 when the LED display unit 309 is unlit.

ジョブ制御部530は、スキャナ221による読取処理、プリンタ220による印刷処理、ネットワークI/F218を介した送信処理を含むジョブを実行する。ジョブ制御部530は、後述するWebアプリケーション610からSOAPリクエストを受信すると、SOAPリクエストを解釈してジョブを実行する。そして、ジョブ制御部530は、ジョブ実行結果を含むSOAPレスポンスをWebアプリケーション610へ送信する。また、ジョブ制御部530は、ユーザからのジョブ制御操作を受け付けるための操作画面を操作部219へ表示する。なお、本実施形態では、MFP101で実行されるジョブの一例として、原稿を読み取ってファイルを生成し、サーバ102にファイルを送信するジョブについて説明するが、他にもプリンタ220による印刷処理などを実行するジョブにも適用することができる。   The job control unit 530 executes a job including reading processing by the scanner 221, printing processing by the printer 220, and transmission processing via the network I / F 218. When the job control unit 530 receives a SOAP request from the Web application 610 described later, the job control unit 530 interprets the SOAP request and executes the job. Then, the job control unit 530 transmits a SOAP response including the job execution result to the web application 610. Further, the job control unit 530 displays an operation screen for accepting a job control operation from the user on the operation unit 219. In this embodiment, as an example of a job executed by the MFP 101, a job is described in which an original is read to generate a file and the file is transmitted to the server 102. However, a print process by the printer 220 is also executed. It can also be applied to jobs.

<サーバのソフトウェア構成>
次に、図6を参照して、サーバ102のソフトウェア構成について説明する。図6に示す各機能部は、サーバ102が有しているCPU411が制御プログラムを実行することにより実現される。サーバ102は、HTTPサーバ600、Webアプリケーション610、及びデータベース620を含む。
<Server software configuration>
Next, the software configuration of the server 102 will be described with reference to FIG. Each functional unit illustrated in FIG. 6 is realized by the CPU 411 included in the server 102 executing a control program. The server 102 includes an HTTP server 600, a web application 610, and a database 620.

HTTPサーバ600は、Webブラウザ500からのHTTPリクエストを受信すると、URLで指定されたWebアプリケーション610へ、そのHTTPリクエストを割り当てる。Webアプリケーション610は、Webブラウザ500からのHTTPリクエストに応じて、Webブラウザ500で表示すべきHTMLデータを生成する。そして、Webアプリケーション610は、生成したHTMLデータをHTTPレスポンスとしてWebブラウザ500へ送信する。また、Webアプリケーション610は、ジョブ制御部530から送信されるファイルアップロード要求を処理して、要求されたデータをデータベース620に登録する。   When receiving the HTTP request from the Web browser 500, the HTTP server 600 assigns the HTTP request to the Web application 610 specified by the URL. The web application 610 generates HTML data to be displayed on the web browser 500 in response to an HTTP request from the web browser 500. Then, the Web application 610 transmits the generated HTML data to the Web browser 500 as an HTTP response. The Web application 610 processes the file upload request transmitted from the job control unit 530 and registers the requested data in the database 620.

<画面遷移>
次に、図7を参照して、本情報処理システムにおいて、MFP101のWebブラウザ500がスキャン処理を開始する際の画面遷移の一例について説明する。図7に含まれる画面の内、原稿読込画面703を除く各画面は、Webブラウザ500が、Webアプリケーション610が応答するHTMLデータを処理した結果、操作部219へ表示する画面である。一方、原稿読込画面703は、ジョブ制御部530が、ジョブ制御操作を受け付けるために操作部219へ表示する画面である。つまり、原稿読込画面703は、ネイティブアプリケーションが提供する画面であり、原稿読込画面703以外の画面は、Webアプリケーションが提供する画面である。
<Screen transition>
Next, an example of screen transition when the Web browser 500 of the MFP 101 starts scan processing in the information processing system will be described with reference to FIG. Of the screens included in FIG. 7, the screens other than the original reading screen 703 are screens displayed on the operation unit 219 as a result of the Web browser 500 processing the HTML data to which the Web application 610 responds. On the other hand, the original reading screen 703 is a screen that the job control unit 530 displays on the operation unit 219 in order to accept a job control operation. That is, the original reading screen 703 is a screen provided by the native application, and the screens other than the original reading screen 703 are screens provided by the Web application.

メニュー画面700は、MFP101の機能を利用するに当たりどの機能を選択するかを選択する画面である。この画面において機能を選択すると、選択した機能に対応した画面に遷移する。例えば、Webブラウザ500は、表示制御手段として機能し、スキャン機能を選択するためのスキャンボタンが押下されると、続いてスキャン設定画面701を操作部219へ表示する。   A menu screen 700 is a screen for selecting which function to select when using the function of the MFP 101. When a function is selected on this screen, the screen changes to a screen corresponding to the selected function. For example, the Web browser 500 functions as a display control unit, and when a scan button for selecting a scan function is pressed, a scan setting screen 701 is subsequently displayed on the operation unit 219.

スキャン設定画面701は、スキャン設定を入力するための画面である。スキャン設定画面701は、読み込みカラーを選択するためのラジオボタン、画像ファイルのフォーマットを選択するためのラジオボタン、スキャン開始を指示するためのスキャン開始ボタン及びメニュー画面700へ戻るためのキャンセルボタンを含む。読み込みカラーを選択するためのラジオボタンには、“カラー”、“グレースケール”、及び“白黒”の選択肢が含まれる。また、画像ファイルのフォーマットを選択するためのラジオボタンには、“PDF”、及び“XPS”の選択肢が含まれる。スキャン設定画面701において、スキャン開始ボタンは選択不可状態になっている。選択不可状態の場合は、図7に示すように、グレーアウトで表示される。その後、Webブラウザ500は、読み込みカラー及びフォーマットが選択されると、スキャン開始画面702を操作部219へ表示する。一方、Webブラウザ500は、キャンセルボタンが押下されると、メニュー画面700を操作部219へ表示する。   A scan setting screen 701 is a screen for inputting scan settings. The scan setting screen 701 includes a radio button for selecting a reading color, a radio button for selecting an image file format, a scan start button for instructing start of scanning, and a cancel button for returning to the menu screen 700. . Radio buttons for selecting a reading color include options of “color”, “grayscale”, and “black and white”. The radio button for selecting the image file format includes options “PDF” and “XPS”. On the scan setting screen 701, the scan start button is not selectable. In the case where the selection is impossible, the display is grayed out as shown in FIG. Thereafter, when the read color and format are selected, the Web browser 500 displays a scan start screen 702 on the operation unit 219. On the other hand, when the cancel button is pressed, the web browser 500 displays the menu screen 700 on the operation unit 219.

スキャン開始画面702は、スキャンの開始を指示するための画面である。スキャン開始画面702は、スキャン設定画面701と同様に、読み込みカラーを選択するためのラジオボタン、画像ファイルのフォーマットを選択するためのラジオボタン、スキャン開始を指示するためのスキャン開始ボタン及びメニュー画面700へ戻るためのキャンセルボタンを含む。スキャン開始画面702において、スキャン開始ボタンは選択可能状態になっている。スキャン開始ボタンが押下されると、ジョブ制御部530が原稿読込画面703を操作部219へ表示する。一方、キャンセルボタンが押下されると、Webブラウザ500はメニュー画面700を操作部219へ表示する。   The scan start screen 702 is a screen for instructing the start of scanning. Similar to the scan setting screen 701, the scan start screen 702 is a radio button for selecting a reading color, a radio button for selecting an image file format, a scan start button for instructing the start of scanning, and a menu screen 700. Includes a cancel button to return to. On the scan start screen 702, the scan start button is in a selectable state. When the scan start button is pressed, the job control unit 530 displays a document reading screen 703 on the operation unit 219. On the other hand, when the cancel button is pressed, the web browser 500 displays the menu screen 700 on the operation unit 219.

原稿読込画面703は、原稿読取操作を指示するための画面である。原稿読込画面703は、読込終了ボタン及び中止ボタンを含む。読込終了ボタン又は中止ボタンが押下されると、ジョブ制御部530は、Webブラウザ500の操作画面を操作部219へ表示する。この結果、Webブラウザ500は処理中画面704を操作部219へ表示する。   A document reading screen 703 is a screen for instructing a document reading operation. The original reading screen 703 includes a reading end button and a cancel button. When the reading end button or the cancel button is pressed, the job control unit 530 displays the operation screen of the Web browser 500 on the operation unit 219. As a result, the Web browser 500 displays a processing screen 704 on the operation unit 219.

処理中画面704は、ジョブ処理中を表す画面である。ジョブ制御部530がスキャン画像のWebアプリケーション610への送信を完了すると、Webブラウザ500は送信完了画面705を操作部219へ表示する。一方、ジョブ制御部530がスキャン処理を中止すると、Webブラウザ500は処理中止画面706を表示する。   A processing screen 704 is a screen indicating that the job is being processed. When the job control unit 530 completes transmission of the scanned image to the Web application 610, the Web browser 500 displays a transmission completion screen 705 on the operation unit 219. On the other hand, when the job control unit 530 cancels the scan process, the Web browser 500 displays a process stop screen 706.

送信完了画面705は、スキャン画像をWebアプリケーション610へ送信完了したことを表す画面である。送信完了画面705は、スキャン設定画面701へ遷移するための戻るボタンを含む。Webブラウザ500は、戻るボタンが押下されると、スキャン設定画面701を表示する。処理中止画面706は、スキャン処理を中止したことを表す画面である。処理中画面704は、スキャン設定画面701へ遷移するための戻るボタンを含む。Webブラウザ500は、戻るボタンが押下されると、スキャン設定画面701を操作部219へ表示する。   A transmission completion screen 705 is a screen indicating that the scan image has been transmitted to the Web application 610. The transmission completion screen 705 includes a return button for transitioning to the scan setting screen 701. When the return button is pressed, the web browser 500 displays a scan setting screen 701. The process stop screen 706 is a screen indicating that the scan process has been stopped. The processing screen 704 includes a return button for transitioning to the scan setting screen 701. When the return button is pressed, the web browser 500 displays a scan setting screen 701 on the operation unit 219.

<処理シーケンス>
次に、図8を参照して、情報処理システムにより実行される処理シーケンスについて説明する。図8に示す処理シーケンスは、Webブラウザ500にメニュー画面700のURLが入力されてページを開くよう指示されると、S801の処理を開始する。なお、以下で説明する処理は、MFP101のCPU211、又は、サーバ102のCPU411が、ROM212、412から制御プログラムをRAM213、413に読み出して実行することによって実現される。具体的には、CPU211は、Webブラウザ500、HTTPサーバ510、デバイス制御部520、及びジョブ制御部530の処理を制御する。一方、CPU411は、Webアプリケーション610、及びHTTPサーバ600の処理を制御する。
<Processing sequence>
Next, a processing sequence executed by the information processing system will be described with reference to FIG. In the processing sequence illustrated in FIG. 8, when the URL of the menu screen 700 is input to the Web browser 500 and an instruction to open a page is given, the processing of S801 starts. Note that the processing described below is realized by the CPU 211 of the MFP 101 or the CPU 411 of the server 102 reading out the control program from the ROMs 212 and 412 to the RAMs 213 and 413 and executing them. Specifically, the CPU 211 controls processing of the web browser 500, HTTP server 510, device control unit 520, and job control unit 530. On the other hand, the CPU 411 controls processing of the Web application 610 and the HTTP server 600.

S801において、Webブラウザ500は、入力されたURLに従って、メニュー画面700の取得を要求するHTTPリクエストをHTTPサーバ600へ送信する。続いて、S802において、HTTPサーバ600は、Webアプリケーション610へメニュー画面700の画面情報の取得を要求する。S803において、Webアプリケーション610は、HTTPサーバ600へメニュー画面700の画面情報を送信することによって応答する。S804において、HTTPサーバ600は、受信したメニュー画面700の画面情報を送信するためのHTTPレスポンスをWebブラウザ500へ送信する。   In step S <b> 801, the web browser 500 transmits an HTTP request for requesting acquisition of the menu screen 700 to the HTTP server 600 according to the input URL. In step S <b> 802, the HTTP server 600 requests the Web application 610 to acquire screen information on the menu screen 700. In step S <b> 803, the Web application 610 responds by transmitting the screen information of the menu screen 700 to the HTTP server 600. In step S <b> 804, the HTTP server 600 transmits an HTTP response for transmitting the received screen information of the menu screen 700 to the web browser 500.

Webブラウザ500は、受信したメニュー画面HTMLを解釈してメニュー画面700を表示する。Webブラウザ500は、メニュー画面700に含まれるスキャンボタンが押下されるとS805に処理を進める。S805において、Webブラウザ500は、スキャン設定画面701の取得を要求するHTTPリクエストをHTTPサーバ600へ送信する。S806において、HTTPサーバ600は、Webアプリケーション610へスキャン設定画面701の画面情報の取得を要求する。ステップ807において、Webアプリケーション610は、HTTPサーバ600へスキャン設定画面701の画面情報を送信することによって応答する。S808において、HTTPサーバ600は、スキャン設定画面701の画面情報を送信するためのHTTPレスポンスをWebブラウザ500へ送信する。   The web browser 500 interprets the received menu screen HTML and displays the menu screen 700. When the scan button included in the menu screen 700 is pressed, the web browser 500 advances the process to step S805. In step S <b> 805, the web browser 500 transmits an HTTP request for requesting acquisition of the scan setting screen 701 to the HTTP server 600. In step S806, the HTTP server 600 requests the Web application 610 to acquire screen information on the scan setting screen 701. In step 807, the Web application 610 responds by transmitting the screen information of the scan setting screen 701 to the HTTP server 600. In step S <b> 808, the HTTP server 600 transmits an HTTP response for transmitting the screen information of the scan setting screen 701 to the web browser 500.

図9は、Webアプリケーション610が送信するスキャン設定画面701の画面情報を示すHTMLデータ(以下、スキャン設定画面HTML900と称する。)の一例を示す。スキャン設定画面HTML900は、head部にデバイス制御JavaScript(スクリプト)910、及びスキャン設定確認部920を含み、body部にスキャン設定フォーム930を含む。   FIG. 9 shows an example of HTML data (hereinafter referred to as a scan setting screen HTML 900) indicating screen information of the scan setting screen 701 transmitted by the Web application 610. The scan setting screen HTML 900 includes a device control JavaScript (script) 910 and a scan setting confirmation unit 920 in the head part, and a scan setting form 930 in the body part.

デバイス制御JavaScript910には、スキャン準備完了を指示するメソッドである“Scan.ready”関数が定義されている。このような関数には、処理を実行するための命令が定義されている。具体的には、Webブラウザ500は、“Scan.ready”関数を呼び出すと、スタートキー303の入力を受け付けて、更にデバイス制御部520へLED表示部309の点灯を指示する。“Scan.ready”関数の内部処理の詳細については、図12乃至図14に記載のフローチャートを用いて後述する。また、デバイス制御JavaScript910は外部ファイル参照されている。したがって、Webブラウザ500は、スキャン設定画面HTML900を受信すると、デバイス制御JavaScript910をHTTPサーバ600より取得する。   The device control JavaScript 910 defines a “Scan.ready” function that is a method for instructing completion of scan preparation. In such a function, an instruction for executing processing is defined. Specifically, when the Web browser 500 calls the “Scan.ready” function, the Web browser 500 receives an input of the start key 303 and further instructs the device control unit 520 to turn on the LED display unit 309. Details of the internal processing of the “Scan.ready” function will be described later with reference to the flowcharts shown in FIGS. Device control JavaScript 910 is referred to by an external file. Accordingly, when the Web browser 500 receives the scan setting screen HTML 900, the Web browser 500 acquires the device control JavaScript 910 from the HTTP server 600.

スキャン設定確認部920には、スキャン設定画面701において読み込みカラー及びフォーマットが選択されている場合に、Webブラウザ500がスキャン開始画面702を表示してLEDを点灯するための処理が記述されている。具体的には、読み込みカラー又はフォーマットが選択されると、Webブラウザ500は“selectColor”関数又は“selectFormat”関数を呼び出す。更にWebブラウザ500は“selectColor”関数又は“selectFormat”関数から“enable”関数を呼び出す。“enable”関数では、読み込みカラー及びフォーマットの両方が設定されている場合、Webブラウザ500がスキャン設定画面701のメッセージを“スキャンできます”に設定し、かつスキャン開始ボタンの“disabled”属性を“false”に設定する。この結果、スキャン設定画面701はスキャン開始画面702へ変更される。更に、Webブラウザ500は、“Scan.ready”関数を呼び出す。“Scan.ready”関数の第1引数“start”はスタートキー303と関連付けるボタンIDを表し、第2引数“true”はLED表示部309を点灯することを表す。Webブラウザ500は、“Scan.ready”関数を処理した結果、スタートキー303の入力を受け付けるとスタートボタンを押下するように関連付け、かつLED表示部309を点灯するようデバイス制御部520へ指示する。   The scan setting confirmation unit 920 describes a process for the Web browser 500 to display the scan start screen 702 and turn on the LED when the reading color and format are selected on the scan setting screen 701. Specifically, when a reading color or format is selected, the Web browser 500 calls a “selectColor” function or a “selectFormat” function. Further, the Web browser 500 calls the “enable” function from the “selectColor” function or the “selectFormat” function. In the “enable” function, when both the reading color and format are set, the Web browser 500 sets the message on the scan setting screen 701 to “can scan” and sets the “disabled” attribute of the scan start button to “ Set to “false”. As a result, the scan setting screen 701 is changed to the scan start screen 702. Further, the Web browser 500 calls a “Scan.ready” function. The first argument “start” of the “Scan.ready” function represents a button ID associated with the start key 303, and the second argument “true” represents that the LED display unit 309 is turned on. As a result of processing the “Scan.ready” function, the Web browser 500 associates the start button 303 with pressing the start key 303 and instructs the device control unit 520 to turn on the LED display unit 309.

スキャン設定フォーム930には、読み込みカラー及びフォーマットを選択してWebアプリケーション610へスキャン開始を要求するためのフォームが記述されている。具体的には、読み込みカラーを選択するためのラジオボタン“color”、フォーマットを選択するためのラジオボタン“format”、スキャン開始を指示するsubmitボタン“start”及びキャンセルを指示するsubmitボタン“cancel”が記述されている。Webブラウザ500は、ラジオボタン“color”が選択されると、スキャン設定確認部920で定義されている“selectColor”関数を呼び出す。また、Webブラウザ500は、ラジオボタン“format”が選択されると、スキャン設定確認部920で定義されている“selectFormat”関数を呼び出す。そしてWebブラウザ500は、submitボタン“start”又は“cancel”が押下されると、ラジオボタン及びsubmitボタンの値をWebアプリケーション610へ送信する。   The scan setting form 930 describes a form for selecting a reading color and format and requesting the Web application 610 to start scanning. Specifically, a radio button “color” for selecting a reading color, a radio button “format” for selecting a format, a submit button “start” for instructing to start scanning, and a submit button “cancel” for instructing cancellation. Is described. When the radio button “color” is selected, the Web browser 500 calls the “selectColor” function defined in the scan setting confirmation unit 920. In addition, when the radio button “format” is selected, the Web browser 500 calls a “selectFormat” function defined in the scan setting confirmation unit 920. Then, when the submit button “start” or “cancel” is pressed, the web browser 500 transmits the values of the radio button and the submit button to the web application 610.

図8のフローチャートの説明に戻る。S809において、Webブラウザ500は、デバイス制御JavaScript910の取得を要求するHTTPリクエストをHTTPサーバ600へ送信する。S810において、HTTPサーバ600は、デバイス制御JavaScript910の取得をWebアプリケーション610へ要求する。S811において、Webアプリケーション610は、デバイス制御JavaScript910をHTTPサーバ600へ送信することによって応答する。S812において、HTTPサーバ510は、デバイス制御JavaScript910を含むHTTPレスポンスをWebブラウザ500へ送信する。   Returning to the flowchart of FIG. In step S809, the Web browser 500 transmits an HTTP request requesting acquisition of the device control JavaScript 910 to the HTTP server 600. In step S810, the HTTP server 600 requests the web application 610 to acquire the device control JavaScript 910. In step S811, the Web application 610 responds by transmitting a device control JavaScript 910 to the HTTP server 600. In step S812, the HTTP server 510 transmits an HTTP response including the device control JavaScript 910 to the web browser 500.

Webブラウザ500は、スキャン設定画面701のカラー読み込み設定及びフォーマット設定が選択されると、S813の処理を実行する。S813において、Webブラウザ500は、スキャン設定確認部920に記述されたJavaScriptを処理して、スキャン開始画面702を操作部219に表示する。S814において、Webブラウザ500は、デバイス制御JavaScript910に定義された“Scan.ready”関数を処理した結果、デバイス制御部520へLED表示部309の点灯を指示する。デバイス制御部520は、スタートキー303のLED表示部309を点灯させる。   When the color reading setting and the format setting on the scan setting screen 701 are selected, the Web browser 500 executes the process of S813. In step S813, the web browser 500 processes JavaScript described in the scan setting confirmation unit 920, and displays a scan start screen 702 on the operation unit 219. In step S <b> 814, the Web browser 500 processes the “Scan.ready” function defined in the device control JavaScript 910, and instructs the device control unit 520 to turn on the LED display unit 309. The device control unit 520 turns on the LED display unit 309 of the start key 303.

その後、Webブラウザ500は、スタートキー303の入力を受け付けると、S815の処理を実行する。S815において、Webブラウザ500は、スキャン開始画面702のスキャン設定フォーム930のsubmitボタン“start”が押下されたものとしてフォームをsubmitする。さらに、S816において、Webブラウザ500は、スキャン設定フォーム930をsubmitした結果、スキャン開始を要求するHTTPリクエストをHTTPサーバ600へ送信する。図10は、スキャン開始を要求するHTTPリクエストの一例を示す。図10の場合、読み込みカラーに“fullcolor”、生成する画像ファイルのフォーマットに“pdf”を指定してスキャンを開始することを表している。   Thereafter, when the Web browser 500 receives an input of the start key 303, the Web browser 500 executes the process of S815. In step S815, the Web browser 500 submits the form on the assumption that the submit button “start” of the scan setting form 930 on the scan start screen 702 has been pressed. Further, in step S816, as a result of submitting the scan setting form 930, the Web browser 500 transmits an HTTP request for requesting start of scanning to the HTTP server 600. FIG. 10 shows an example of an HTTP request for requesting the start of scanning. In the case of FIG. 10, “fullcolor” is specified as the read color and “pdf” is specified as the format of the image file to be generated, indicating that scanning is started.

次に、S817において、HTTPサーバ600は、Webアプリケーション610へスキャン開始を要求する。S818において、Webアプリケーション610は、スキャン開始を要求するSOAPリクエストをMFP101のHTTPサーバ510へ送信する。図11は、S818でWebアプリケーション610が送信するSOAPリクエストの一例を示す。具体的には、原稿をスキャンしPDFファイルに変換後、Webアプリケーション610へ送信することを指示している。スキャン設定には解像度300×300及びフルカラーを指定し、文書設定にはPDFフォーマットを指定し、送信設定にはホスト名“xxx.yyy.zzz”及びパス名“upload/test”を指定している。   Next, in S817, the HTTP server 600 requests the Web application 610 to start scanning. In step S <b> 818, the Web application 610 transmits a SOAP request requesting to start scanning to the HTTP server 510 of the MFP 101. FIG. 11 shows an example of a SOAP request transmitted by the Web application 610 in S818. Specifically, an instruction is given to scan the document, convert it to a PDF file, and send it to the Web application 610. The scan setting specifies a resolution of 300 × 300 and full color, the document setting specifies the PDF format, and the transmission setting specifies the host name “xxx.yyy.zzz” and the path name “upload / test”. .

次に、S819において、HTTPサーバ510は、ジョブ制御部530へスキャンジョブの生成を要求する。ジョブ制御部530は、SOAPリクエストを解釈すると、スキャンジョブを生成する。S820において、ジョブ制御部530は、原稿読込画面703を操作部219へ表示する。S821において、ジョブ制御部530は、HTTPサーバ600へジョブ生成成功を表すSOAPレスポンスを送信することにより応答する。S822において、HTTPサーバ510は、ジョブ生成成功を表すSOAPレスポンスをWebアプリケーション610へ送信する。   In step S <b> 819, the HTTP server 510 requests the job control unit 530 to generate a scan job. When the job control unit 530 interprets the SOAP request, the job control unit 530 generates a scan job. In step S820, the job control unit 530 displays the document reading screen 703 on the operation unit 219. In step S <b> 821, the job control unit 530 responds by transmitting a SOAP response indicating successful job generation to the HTTP server 600. In step S822, the HTTP server 510 transmits a SOAP response indicating job generation success to the Web application 610.

S823において、Webアプリケーション610は、HTTPサーバ600へ処理中画面704の画面情報を送信する。続いて、S824において、HTTPサーバ600は、処理中画面704の画面情報を含むHTTPレスポンスをWebブラウザ500へ送信する。このとき、S820の処理によって操作部219には原稿読込画面703が表示されており、処理中画面704は表示されていない。   In step S823, the Web application 610 transmits the screen information of the processing screen 704 to the HTTP server 600. Subsequently, in S824, the HTTP server 600 transmits an HTTP response including the screen information of the processing screen 704 to the Web browser 500. At this time, the original reading screen 703 is displayed on the operation unit 219 by the processing of S820, and the processing screen 704 is not displayed.

ジョブ制御部530は、原稿読込画面703の読込終了ボタンが押下されると原稿の読み込みを終了し、S825の処理を実行する。S825において、ジョブ制御部530がLED表示部309に消灯を指示する。さらに、S826において、ジョブ制御部530は、Webブラウザ500を操作部219に表示する。この結果、操作部219には、S824で取得した情報に基づいて処理中画面704が表示される。   When the reading end button on the original reading screen 703 is pressed, the job control unit 530 ends reading of the original and executes the process of S825. In step S825, the job control unit 530 instructs the LED display unit 309 to turn off. In step S826, the job control unit 530 displays the web browser 500 on the operation unit 219. As a result, the processing screen 704 is displayed on the operation unit 219 based on the information acquired in S824.

S827において、Webブラウザ500は、ジョブ結果を取得するためのHTTPリクエストをHTTPサーバ600へ送信する。具体的には、処理中画面HTMLには、Webアプリケーション610へHTTPリクエストを繰り返し送信する処理がJavaScriptで記述されている。Webブラウザ500は、JavaScriptを処理することによって、ジョブ完了応答を受信するまで繰り返しジョブ結果取得要求を送信する。   In step S827, the Web browser 500 transmits an HTTP request for acquiring a job result to the HTTP server 600. Specifically, in the processing screen HTML, processing for repeatedly transmitting an HTTP request to the Web application 610 is described in JavaScript. The Web browser 500 processes the JavaScript to repeatedly transmit a job result acquisition request until a job completion response is received.

S828において、HTTPサーバ600は、ジョブ結果の取得をWebアプリケーション610へ要求する。S829において、Webアプリケーション610は、ジョブがまだ完了していなければ、ジョブ処理中をHTTPサーバ600へ応答する。S830において、HTTPサーバ600は、ジョブ処理中を示すHTTPレスポンスをWebブラウザ500へ送信する。Webブラウザ500は、S827の処理を、ジョブ完了応答を受信するまで繰り返し実行する。したがって、S830では、処理中を示す応答を受信しているため、その後も定期的にS827の処理を繰り返し実行する。   In step S828, the HTTP server 600 requests the Web application 610 to acquire a job result. In step S829, if the job is not yet completed, the Web application 610 responds to the HTTP server 600 while the job is being processed. In S830, the HTTP server 600 transmits an HTTP response indicating that the job is being processed to the Web browser 500. The Web browser 500 repeatedly executes the process of S827 until a job completion response is received. Accordingly, in S830, since a response indicating that processing is in progress is received, the processing of S827 is repeatedly executed periodically thereafter.

ジョブ制御部530は、原稿の読み込みを終了して画像ファイルを生成すると、S831の処理を開始する。S831において、ジョブ制御部530は、画像ファイルを含むHTTPリクエストをHTTPサーバ600へ送信する。S832において、HTTPサーバ600は、スキャン画像をWebアプリケーション610へ送信する。S833において、Webアプリケーション610は、スキャン画像送信成功をHTTPサーバ600へ送信することによって応答する。S834において、HTTPサーバ600は、スキャン画像送信成功を示すHTTPレスポンスをジョブ制御部530へ送信する。   When the job control unit 530 finishes reading the document and generates an image file, the job control unit 530 starts the process of S831. In step S831, the job control unit 530 transmits an HTTP request including an image file to the HTTP server 600. In S832, the HTTP server 600 transmits the scanned image to the Web application 610. In step S833, the Web application 610 responds by transmitting a scan image transmission success to the HTTP server 600. In step S834, the HTTP server 600 transmits an HTTP response indicating successful scan image transmission to the job control unit 530.

また、ジョブ制御部530は、スキャン画像を送信すると、S835の処理を実行する。S835において、ジョブ制御部530は、ジョブ完了を通知するためのHTTPリクエストをHTTPサーバ600へ送信する。S836において、HTTPサーバ600は、ジョブ完了をWebアプリケーション610へ通知する。S837において、Webアプリケーション610は、ジョブ完了通知成功をHTTPサーバ600へ送信することによって応答する。S838において、HTTPサーバ600は、ジョブ完了通知成功を応答するためのHTTPレスポンスをジョブ制御部530へ送信する。   In addition, when the job control unit 530 transmits the scan image, the job control unit 530 executes the process of S835. In step S835, the job control unit 530 transmits an HTTP request for notifying completion of the job to the HTTP server 600. In step S836, the HTTP server 600 notifies the Web application 610 of job completion. In step S837, the Web application 610 responds by transmitting a job completion notification success to the HTTP server 600. In step S <b> 838, the HTTP server 600 transmits an HTTP response for responding a job completion notification success to the job control unit 530.

S839乃至S842の処理は、S827からS830の処理と同様に、Webブラウザ500が処理中画面HTMLに記述されたJavaScriptを処理することによって実行される。S839において、Webブラウザ500は、ジョブ結果を取得するためのHTTPリクエストをHTTPサーバ600へ送信する。S840において、HTTPサーバ600は、ジョブ結果の取得をWebアプリケーション610へ要求する。S841において、Webアプリケーション610は、HTTPサーバ600へジョブ完了を送信することによって応答する。S842において、HTTPサーバ600は、Webブラウザ500へジョブ完了を応答するHTTPレスポンスを送信する。   The processing from S839 to S842 is executed by processing the JavaScript described in the processing screen HTML by the Web browser 500, similarly to the processing from S827 to S830. In step S <b> 839, the web browser 500 transmits an HTTP request for acquiring a job result to the HTTP server 600. In step S840, the HTTP server 600 requests the Web application 610 to acquire a job result. In step S <b> 841, the Web application 610 responds by transmitting a job completion to the HTTP server 600. In step S <b> 842, the HTTP server 600 transmits an HTTP response for responding job completion to the web browser 500.

Webブラウザ500は、ジョブ完了を受信すると、S843の処理を実行する。S843において、Webブラウザ500は、処理中画面HTMLに記述されたJavaScriptを処理することによって、送信完了画面705を表示する。   When receiving the job completion, the Web browser 500 executes the process of S843. In S843, the Web browser 500 displays the transmission completion screen 705 by processing the JavaScript described in the processing-in-progress screen HTML.

<処理手順>
続いて、図12乃至図14に示すフローチャートを参照して、本実施形態におけるWebブラウザ500の処理手順について説明する。以下で説明する処理は、CPU211がROM212に記憶された制御プログラムをRAM213に読み出して実行することにより実現される。図12は、Webブラウザ500がスキャン準備完了を指示する“Scan.ready”関数を実行する処理手順を示す。具体的には、スキャン開始画面702において読み込みカラー及びフォーマットが指定されると、S1201の処理を開始する。
<Processing procedure>
Next, the processing procedure of the Web browser 500 in this embodiment will be described with reference to the flowcharts shown in FIGS. The processing described below is realized by the CPU 211 reading out the control program stored in the ROM 212 to the RAM 213 and executing it. FIG. 12 shows a processing procedure in which the Web browser 500 executes a “Scan.ready” function instructing completion of scan preparation. Specifically, when the reading color and format are designated on the scan start screen 702, the processing of S1201 is started.

S1201において、Webブラウザ500は、LED表示部309を点灯するか否かを判定する。具体的には、“Scan.ready”関数の第2引数で“true”が指定されていればLED表示部309を点灯すると判定し、“false”が指定されていればLED表示部309を消灯すると判定する。LED表示部309を点灯すると判定した場合はS1202の処理へ進み、消灯すると判定した場合S1212の処理へ進む。   In step S1201, the web browser 500 determines whether to turn on the LED display unit 309. Specifically, if “true” is specified in the second argument of the “Scan.ready” function, it is determined that the LED display unit 309 is turned on, and if “false” is specified, the LED display unit 309 is turned off. Judge that. When it is determined that the LED display unit 309 is to be turned on, the process proceeds to S1202, and when it is determined that the LED display unit 309 is turned off, the process proceeds to S1212.

S1202において、Webブラウザ500は、スキャン設定画面701の中から指定されたボタンを探索する。具体的には、“Scan.ready”関数の第1引数で指定された“start”をID属性に持つ要素、即ち、スタートボタンを探索する。続いて、S1203において、Webブラウザ500は、スタートボタンにclickイベントリスナを登録する。この結果、Webブラウザ500は、スキャン設定画面701においてスタートボタンが押下されると、clickイベントを発行し、スタートボタンへ通知する。そして、Webブラウザ500は、登録されたリスナ処理を実行する。clickイベントリスナの処理の内容については図13を用いて後述する。その後、Webブラウザ500は、S1204の処理へ進む。   In step S <b> 1202, the web browser 500 searches for a designated button from the scan setting screen 701. Specifically, an element having “start” specified by the first argument of the “Scan.ready” function as an ID attribute, that is, a start button is searched. In step S1203, the web browser 500 registers a click event listener in the start button. As a result, when the start button is pressed on the scan setting screen 701, the web browser 500 issues a click event and notifies the start button. Then, the Web browser 500 executes the registered listener process. The contents of the click event listener process will be described later with reference to FIG. Thereafter, the Web browser 500 proceeds to the process of S1204.

S1204において、Webブラウザ500は、スタートボタンにkeyイベントリスナを登録する。この結果、Webブラウザ500は、スタートキー303の入力を受け付けると、keyイベントを発行しスタートボタンへ通知する。そして、Webブラウザ500は登録されたリスナ処理を実行する。keyイベントリスナの処理の内容については図13を用いて後述する。その後、Webブラウザ500は、S1205の処理へ進む。   In step S1204, the web browser 500 registers a key event listener in the start button. As a result, when the web browser 500 accepts the input of the start key 303, it issues a key event and notifies the start button. Then, the web browser 500 executes the registered listener process. The contents of the key event listener process will be described later with reference to FIG. Thereafter, the Web browser 500 proceeds to the process of S1205.

S1205において、Webブラウザ500は、ウィンドウにfocusイベントリスナを登録する。この結果、Webブラウザ500は、Webブラウザ500が操作部219へ表示されると、focusイベントを発行しウィンドウへ通知する。そして、Webブラウザ500は登録されたリスナ処理を実行する。focusイベントリスナの処理の内容については図14を用いて後述する。その後、Webブラウザ500は、S1206の処理へ進む。   In step S1205, the Web browser 500 registers a focus event listener in the window. As a result, when the web browser 500 is displayed on the operation unit 219, the web browser 500 issues a focus event and notifies the window. Then, the web browser 500 executes the registered listener process. The contents of the focus event listener process will be described later with reference to FIG. Thereafter, the Web browser 500 proceeds to the process of S1206.

S1206において、Webブラウザ500は、ウィンドウにblurイベントリスナを登録する。Webブラウザ500は、Webブラウザ500以外の画面が操作部219へ表示されると、blurイベントを発行しウィンドウへ通知する。そして、Webブラウザ500は登録されたリスナ処理を実行する。blurイベントリスナの処理の内容については図14を用いて後述する。その後、Webブラウザ500は、S1207の処理へ進む。   In S1206, the Web browser 500 registers a blur event listener in the window. When a screen other than the web browser 500 is displayed on the operation unit 219, the web browser 500 issues a blur event and notifies the window. Then, the web browser 500 executes the registered listener process. The contents of the blur event listener process will be described later with reference to FIG. Thereafter, the web browser 500 proceeds to the process of S1207.

S1207において、Webブラウザ500は、ウィンドウにunloadイベントリスナを登録する。Webブラウザ500は、異なるURLのページを開くときやページを更新するときにドキュメントをアンロードする。Webブラウザ500は、ドキュメントをアンロードするときに、unloadイベントを発行しウィンドウへ通知する。そして、Webブラウザ500は登録されたリスナ処理を実行する。unloadイベントリスナの処理の内容については図13を用いて後述する。その後、Webブラウザ500は、S1208の処理へ進む。   In step S1207, the Web browser 500 registers an unload event listener in the window. The web browser 500 unloads a document when opening a page with a different URL or updating a page. When the web browser 500 unloads a document, it issues an unload event to notify the window. Then, the web browser 500 executes the registered listener process. The contents of the unload event listener process will be described later with reference to FIG. Thereafter, the Web browser 500 proceeds to the process of S1208.

S1208において、Webブラウザ500は、デバイス制御部520にLED表示部309の点灯を指示し、処理をS1209に進める。一方、S1201で消灯と判定した場合、S1212において、Webブラウザ500は、デバイス制御部520にLED表示部309の消灯を指示し、処理をS1209に進める。   In step S1208, the web browser 500 instructs the device control unit 520 to turn on the LED display unit 309, and the process proceeds to step S1209. On the other hand, if it is determined in S1201 that the LED display unit 309 is turned off in S1212, the Web browser 500 instructs the device control unit 520 to turn off the LED display unit 309, and the process proceeds to S1209.

S1209において、Webブラウザ500は、RAM213又はHDD214に、LED表示部309の点灯状態を記憶する。具体的には、S1208でLED表示部309を点灯した場合は、LEDを点灯していることを記憶する。一方、S1209でLED表示部309を消灯した場合は、LEDを消灯していることを記憶する。Webブラウザ500は、S1209の処理を終了するとスキャン準備完了処理を終了する。   In step S1209, the Web browser 500 stores the lighting state of the LED display unit 309 in the RAM 213 or the HDD 214. Specifically, when the LED display unit 309 is turned on in S1208, it is stored that the LED is turned on. On the other hand, when the LED display unit 309 is turned off in S1209, it is stored that the LED is turned off. The Web browser 500 ends the scan preparation completion process when the process of S1209 ends.

次に、図13及び図14のフローチャート1300乃至1320及び1400乃至1410を参照して、Webブラウザ500の処理手順について説明する。各フローチャートは、S1203乃至S1207で登録した処理を示す。以下で説明する処理は、CPU211がROM212に記憶された制御プログラムをRAM213に読み出して実行することにより実現される。まず、フローチャート1300を参照して、Webブラウザ500がスタートキー303の入力を受け付けたときの処理手順について説明する。Webブラウザ500は、keyイベントが通知されると、S1301の処理を開始する。   Next, a processing procedure of the Web browser 500 will be described with reference to flowcharts 1300 to 1320 and 1400 to 1410 in FIGS. 13 and 14. Each flowchart shows the processing registered in S1203 to S1207. The processing described below is realized by the CPU 211 reading out the control program stored in the ROM 212 to the RAM 213 and executing it. First, a processing procedure when the Web browser 500 receives an input of the start key 303 will be described with reference to a flowchart 1300. When notified of the key event, the Web browser 500 starts the process of S1301.

S1301において、Webブラウザ500は、キーコードがスタートキーか否かを判定する。キーコードがスタートキーであればS1302の処理へ進み、スタートキー以外のハードウェアキーであれば、処理を終了する。S1302において、Webブラウザ500は、スタートキーに関連付けられたスタートボタンにclickイベントを発行して、処理を終了する。このように、スタートキーの入力を受け付けると、JavaScriptの記述によって予め指定されたボタン(ソフトウェアキー)を押下したことと同様の処理を実行することができる。つまり、本実施形態によれば、スクリプトによって、所定のハードウェアキーが押下された場合の処理として、Webアプリケーションが提供するWebブラウザ500の画面に表示されたソフトウェアキーに関連付けられた処理が登録される。例えば、本実施形態では、スタートキー303は、スキャン開始画面702のスキャンボタンに関連付けられる。このように制御することで、本実施形態に係る情報処理装置は、ネイティブアプリケーションと同等の操作性をWebアプリケーションで実現する。   In step S1301, the web browser 500 determines whether the key code is a start key. If the key code is a start key, the process proceeds to step S1302, and if the key code is a hardware key other than the start key, the process ends. In S1302, the Web browser 500 issues a click event to the start button associated with the start key, and ends the process. As described above, when the input of the start key is received, it is possible to execute the same processing as when a button (software key) designated in advance by the description of JavaScript is pressed. That is, according to the present embodiment, a process associated with the software key displayed on the screen of the Web browser 500 provided by the Web application is registered as a process when a predetermined hardware key is pressed by a script. The For example, in the present embodiment, the start key 303 is associated with the scan button on the scan start screen 702. By controlling in this way, the information processing apparatus according to the present embodiment realizes operability equivalent to that of a native application using a Web application.

次に、フローチャート1310を参照して、Webブラウザ500における、スタートボタンが押下されたときの処理手順について説明する。Webブラウザ500は、スタートボタンへclickイベントが通知されると、S1303の処理を開始する。   Next, a processing procedure when the start button is pressed in the Web browser 500 will be described with reference to a flowchart 1310. When the click event is notified to the start button, the Web browser 500 starts the process of S1303.

S1303において、Webブラウザ500は、スタートボタンが押下されたことを記憶して、処理を終了する。具体的には、スキャン開始画面702でスタートキーが入力されたりスタートボタンが押下されたりした場合は、Webブラウザ500はS1303の処理を実行する。一方、スキャン開始画面702でキャンセルボタンが押下された場合は、Webブラウザ500は処理を終了する。   In step S1303, the web browser 500 stores that the start button has been pressed, and ends the process. Specifically, when a start key is input or a start button is pressed on the scan start screen 702, the Web browser 500 executes the process of S1303. On the other hand, when the cancel button is pressed on the scan start screen 702, the web browser 500 ends the process.

次に、フローチャート1320を参照して、Webブラウザ500がドキュメントをアンロードする(スキャン開始画面702を閉じる)ときの処理手順について説明する。Webブラウザ500は、ウィンドウへunloadイベントが通知されると、S1304の処理を開始する。   Next, a processing procedure when the Web browser 500 unloads a document (closes the scan start screen 702) will be described with reference to a flowchart 1320. When the unload event is notified to the window, the Web browser 500 starts the process of S1304.

S1304において、Webブラウザ500は、スタートボタンが押下されたか否かを判定する。具体的には、S1303の処理が実行されている場合は、スタートボタンが押下されたと判定し、処理をS1306に進める。一方、S1303の処理が実行されていない場合は、スタートボタンが押下されていないと判定し、処理をS1305に進める。S1305において、Webブラウザ500は、デバイス制御部520にLED表示部309の消灯を指示する。例えば、スキャン開始画面702のキャンセルボタンが押下されて処理中画面704へ遷移する場合、LED表示部309が消灯し、処理をS1306へ進める。   In step S1304, the web browser 500 determines whether the start button has been pressed. Specifically, if the process of S1303 is being executed, it is determined that the start button has been pressed, and the process proceeds to S1306. On the other hand, if the process of S1303 has not been executed, it is determined that the start button has not been pressed, and the process proceeds to S1305. In step S <b> 1305, the web browser 500 instructs the device control unit 520 to turn off the LED display unit 309. For example, when the cancel button on the scan start screen 702 is pressed to change to the processing screen 704, the LED display unit 309 is turned off, and the process proceeds to S1306.

S1306において、Webブラウザ500は、S1203乃至S1207で登録したイベントリスナを解除して処理を終了する。このように、Webブラウザ500は、スタートキー303が入力されたりスタートボタンが押下されたりした場合は、LED表示部309を点灯したまま別ページへ遷移する。一方、Webブラウザ500は、キャンセルボタンが押下されたり、URL入力欄にURLが入力されたり、更新が指示されたりした場合は、LED表示部309を消灯して別ページへ遷移する。点灯したLED表示部309は、原稿読込画面703で読込終了ボタン又は中止ボタンが押下されると、ジョブ制御部530が消灯する。   In step S1306, the web browser 500 cancels the event listener registered in steps S1203 to S1207 and ends the process. As described above, when the start key 303 is input or the start button is pressed, the Web browser 500 transitions to another page while the LED display unit 309 is lit. On the other hand, when the cancel button is pressed, a URL is input in the URL input field, or an update is instructed, the Web browser 500 turns off the LED display unit 309 and transitions to another page. The LED display unit 309 that has turned on turns off the job control unit 530 when a reading end button or a cancel button is pressed on the document reading screen 703.

次に、フローチャート1400を参照して、操作部219へWebブラウザ500以外の画面を表示したときのWebブラウザ500の処理手順について説明する。具体的には、操作部219へWebブラウザ500が表示されているときに、ガイドキー306やトップメニューキー307が押下されて、操作部219へガイド画面やトップメニュー画面を表示されたときのWebブラウザ500の処理手順を示す。Webブラウザ500は、操作部219にWebブラウザ500以外の画面が表示されると、blurイベントを発行してウィンドウへ通知する。Webブラウザ500は、ウィンドウへblurイベントが通知されると、S1401の処理を開始する。   Next, a processing procedure of the Web browser 500 when a screen other than the Web browser 500 is displayed on the operation unit 219 will be described with reference to the flowchart 1400. Specifically, when the web browser 500 is displayed on the operation unit 219, the guide key 306 or the top menu key 307 is pressed, and the web browser 500 is displayed when the guide screen or the top menu screen is displayed on the operation unit 219. The processing procedure of is shown. When a screen other than the web browser 500 is displayed on the operation unit 219, the web browser 500 issues a blur event to notify the window. When the blur event is notified to the window, the Web browser 500 starts the process of S1401.

S1401において、Webブラウザ500は、LED点灯状態を取得する。LED点灯状態は上記S1209においてRAM213又はHDD214に記憶されている。Webブラウザ500は、S1401の処理を終了するとS1402の処理へ進む。S1402において、Webブラウザ500は、LED表示部309が点灯しているか否かを判定する。具体的には、S1401において取得したLED点灯状態が点灯を示せば、LED表示部309は点灯していると判定する。一方、LED点灯状態が消灯を示すか、又は、情報が記憶されていない場合は、LED表示部309が消灯していると判定する。Webブラウザ500は、LED表示部309が点灯していると判定した場合、S1403の処理へ進み、LED表示部309が消灯していると判定した場合は処理を終了する。   In S1401, the web browser 500 acquires the LED lighting state. The LED lighting state is stored in the RAM 213 or the HDD 214 in S1209. When the web browser 500 ends the process of S1401, the process proceeds to S1402. In step S1402, the web browser 500 determines whether the LED display unit 309 is lit. Specifically, if the LED lighting state acquired in S1401 indicates lighting, it is determined that the LED display unit 309 is illuminated. On the other hand, if the LED lighting state indicates extinguishment or no information is stored, it is determined that the LED display unit 309 is extinguished. If the web browser 500 determines that the LED display unit 309 is turned on, the process proceeds to step S1403. If the web browser 500 determines that the LED display unit 309 is turned off, the process ends.

S1403において、Webブラウザ500は、LED表示部309の消灯をデバイス制御部520へ指示し、処理を終了する。このように、Webブラウザ500がスキャン開始画面702を表示してLED表示部309が点灯している状態で、ガイド画面やトップメニューへ遷移すると、Webブラウザはスタートキー303のLED表示部309を消灯する。このように、本実施形態によれば、Webブラウザ500の画面が操作部219においてアクティブ画面でない場合、即ち、他の画面が上面に表示されている場合は、スタートキー303による処理の実行開始指示を受け付けないように制御する。   In step S1403, the web browser 500 instructs the device control unit 520 to turn off the LED display unit 309, and ends the process. As described above, when the Web browser 500 displays the scan start screen 702 and the LED display unit 309 is lit, when the transition is made to the guide screen or the top menu, the Web browser turns off the LED display unit 309 of the start key 303. . As described above, according to the present embodiment, when the screen of the Web browser 500 is not an active screen in the operation unit 219, that is, when another screen is displayed on the upper surface, an instruction to start execution of processing by the start key 303 is given. Control not to accept.

次に、フローチャート1410を参照して、操作部219へWebブラウザ500を表示したときのWebブラウザの処理手順について説明する。具体的には、操作部219にガイド画面が表示されているときにガイドキー306が押下されて、操作部219へWebブラウザ500が再表示されたときのWebブラウザ500の処理手順を示す。Webブラウザ500は、操作部219にWebブラウザ500が表示されると、focusイベントを発行してウィンドウへ通知する。Webブラウザ500は、ウィンドウへイベントがfocus通知されると、S1404の処理を開始する。   Next, a processing procedure of the Web browser when the Web browser 500 is displayed on the operation unit 219 will be described with reference to a flowchart 1410. Specifically, a processing procedure of the Web browser 500 when the guide key 306 is pressed when the guide screen is displayed on the operation unit 219 and the Web browser 500 is displayed again on the operation unit 219 is shown. When the web browser 500 is displayed on the operation unit 219, the web browser 500 issues a focus event to notify the window. When the event is notified to the window of the focus, the Web browser 500 starts the process of S1404.

S1404において、Webブラウザ500は、LED点灯状態を取得する。LED点灯状態は上記S1209においてRAM213又はHDD214に記憶されている。続いて、S1405において、Webブラウザ500は、LED表示部309は点灯すべきか否かを判定する。具体的には、S1404において取得したLED点灯状態が点灯を示せば、LED表示部309が既に点灯しているため点灯する必要なしと判定する。一方、LED点灯状態が消灯を示すか、又は、記憶されていない場合は、LED表示部309が点灯していないため点灯すべきと判定する。   In S1404, the Web browser 500 acquires the LED lighting state. The LED lighting state is stored in the RAM 213 or the HDD 214 in S1209. Subsequently, in S1405, the Web browser 500 determines whether the LED display unit 309 should be lit. Specifically, if the LED lighting state acquired in S1404 indicates lighting, it is determined that it is not necessary to turn on the LED display unit 309 because it has already been turned on. On the other hand, if the LED lighting state indicates extinguishment or is not stored, it is determined that the LED display unit 309 is not lit and should be lit.

Webブラウザ500は、LED表示部309を点灯すべきと判定した場合、S1406の処理へ進む。一方、LED表示部309を点灯する必要なしと判定した場合、処理を終了する。S1406において、Webブラウザ500は、LED表示部309の点灯をデバイス制御部520へ指示し、処理を終了する。このように、Webブラウザ500がガイド画面を表示している状態でスキャン開始画面702へ遷移すると、即ち、再びスキャン開始画面702が最上面に表示されると、Webブラウザ500はLED表示部309を再点灯する。   If the Web browser 500 determines that the LED display unit 309 should be lit, the process proceeds to S1406. On the other hand, if it is determined that it is not necessary to turn on the LED display unit 309, the process is terminated. In step S1406, the web browser 500 instructs the device control unit 520 to turn on the LED display unit 309, and ends the process. Thus, when the web browser 500 transitions to the scan start screen 702 while the guide screen is displayed, that is, when the scan start screen 702 is displayed again on the top surface, the web browser 500 displays the LED display unit 309. Relight.

このように本発明によれば、Webブラウザ500がJavaScriptの記述に従ってハードウェアキーやLEDを制御することによって、通常のMFP機能と同等の操作性でジョブ制御を実施することができる。   As described above, according to the present invention, the web browser 500 controls the hardware key and LED according to the description of JavaScript, so that job control can be performed with the same operability as the normal MFP function.

<第2の実施形態>
以下では、図15乃至図17を参照して、本発明に係る第2の実施形態について説明する。上記第1の実施形態との差異は、Webブラウザ500がスキャン設定画面HTML900に記述されたJavaScriptを処理することによってジョブ制御を実現する点である。なお、以下では、第1の実施形態との差異について主に説明する。
<Second Embodiment>
Hereinafter, a second embodiment according to the present invention will be described with reference to FIGS. 15 to 17. The difference from the first embodiment is that job control is realized by the Web browser 500 processing the JavaScript described in the scan setting screen HTML 900. In the following, differences from the first embodiment will be mainly described.

<MFPのソフトウェア構成>
まず、図15を参照して、本実施形態におけるMFP101のソフトウェア構成について説明する。第1の実施形態におけるMFP101のソフトウェア構成との差異は、MFP101がHTTPサーバ510を備えていない点である。第2の実施形態では、Webブラウザ500がデバイス制御部520及びジョブ制御部530を直接制御する構成である。デバイス制御部520及びジョブ制御部530は、HTTPサーバ510より割り当てられたHTTPリクエストを受信してHTTPレスポンスを応答することはしない。
<Software configuration of MFP>
First, a software configuration of the MFP 101 in the present embodiment will be described with reference to FIG. The difference from the software configuration of the MFP 101 in the first embodiment is that the MFP 101 does not include the HTTP server 510. In the second embodiment, the Web browser 500 directly controls the device control unit 520 and the job control unit 530. The device control unit 520 and the job control unit 530 do not receive an HTTP request assigned from the HTTP server 510 and respond with an HTTP response.

<処理シーケンス>
次に、図16を参照して、本実施形態における情報処理システムにおいて実行される処理シーケンスをについて説明する。第1の実施形態との差異は、S1601に示す処理である。図8に示したように、第1の実施形態のS818乃至S822では、Webアプリケーション610が、HTTPサーバ510へSOAPリクエストを送信することによって、ジョブ制御部530へスキャンジョブ生成を要求した。
<Processing sequence>
Next, a processing sequence executed in the information processing system according to this embodiment will be described with reference to FIG. The difference from the first embodiment is the processing shown in S1601. As shown in FIG. 8, in S818 to S822 of the first embodiment, the Web application 610 requests the job control unit 530 to generate a scan job by transmitting a SOAP request to the HTTP server 510.

一方、本実施形態では、S1601において、Webブラウザ500が、スキャン設定画面HTML1700に記述されたJavaScriptを処理することによって、ジョブ制御部530へスキャンジョブ生成を要求する。   On the other hand, in the present embodiment, in step S1601, the Web browser 500 requests the job control unit 530 to generate a scan job by processing the JavaScript described in the scan setting screen HTML 1700.

<スキャン設定画面HTML>
次に、図17を参照して、本実施形態におけるスキャン設定画面HTML1700の一例について説明する。第1の実施形態との差異は、デバイス・ジョブ制御JavaScript1710及びスキャンジョブ実行部1730である。
<Scan setting screen HTML>
Next, an example of the scan setting screen HTML 1700 in this embodiment will be described with reference to FIG. The difference from the first embodiment is a device / job control JavaScript 1710 and a scan job execution unit 1730.

第1の実施形態のデバイス制御JavaScript910には、デバイス制御部520へLED表示部309の点灯及び消灯を指示するためのスクリプトが定義されていた。一方、本実施形態のデバイス・ジョブ制御JavaScript1710には、デバイス制御部520へLED表示部309の点灯及び消灯を指示するスクリプトに加えて、ジョブ制御部530へジョブ実行を指示するためのスクリプトが定義されている。さらに、スキャンジョブ実行部1730には、スキャン設定フォーム1740に設定された読み込みカラー及び生成フォーマットをスキャン設定として、ジョブ制御部530へジョブ生成を要求するJavaScriptが記述されている。   In the device control JavaScript 910 of the first embodiment, a script for instructing the device control unit 520 to turn on and off the LED display unit 309 is defined. On the other hand, in the device / job control JavaScript 1710 of this embodiment, a script for instructing the job control unit 530 to execute a job is defined in addition to a script for instructing the device control unit 520 to turn on / off the LED display unit 309. Has been. Further, the scan job execution unit 1730 describes JavaScript that requests the job control unit 530 to generate a job with the read color and generation format set in the scan setting form 1740 as scan settings.

<その他の実施例>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other examples>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

101:MFP、102:サーバ、210:制御部、219:操作部、220:プリンタ、221:スキャナ   101: MFP, 102: server, 210: control unit, 219: operation unit, 220: printer, 221: scanner

Claims (9)

サーバが提供するアプリケーションを実行する情報処理装置であって、
前記アプリケーションの画面情報であって、ハードウェアキーの制御を登録し、ハードウェアキーの発光部を点灯する関数を呼び出す処理が定義されたスクリプトを含む前記画面情報を前記サーバから取得する第1取得手段と、
前記第1取得手段によって取得した前記画面情報に従って操作部に画面を表示する表示制御手段と、
前記第1取得手段によって取得した前記画面情報に含まれる前記スクリプトに定義された関数を呼び出すことにより、前記操作部に設けられたハードウェアキーの制御を登録し、前記画面情報に従った画面を前記操作部に表示している間に、前記ハードウェアキーの発光部を点灯させる実行手段を有し、
前記実行手段は、さらに、前記ハードウェアキーが押下されると、前記登されたハードウェアキーの制御を行うことを特徴とする情報処理装置。
An information processing apparatus that executes an application provided by a server,
A screen information of the application, first to register the control of the hardware key, the screen information processing contains a defined script that calls a function to turn on the light-emitting portion of the hardware key, to retrieve from the server Acquisition means;
Display control means for displaying a screen on the operation unit in accordance with the screen information acquired by the first acquisition means;
By calling the function defined in the script included in the screen information acquired by the first acquisition means, and registers the control of hardware keys provided on the operation unit, the screen according to the screen information while viewing the operating unit has the execution unit Ru is lit light emitting portion of the hardware key,
Said execution means further, when the hardware key is pressed, the information processing apparatus characterized by controlling the hardware key that is pre Kito recorded.
Webブラウザが、前記画面情報に従った画面を前記操作部に表示し、前記ハードウェアキーの発光部を点灯する処理が定義されたスクリプトの実行を行うことを特徴とする請求項1に記載の情報処理装置。   The Web browser displays a screen according to the screen information on the operation unit, and executes a script in which processing for turning on the light emitting unit of the hardware key is defined. Information processing device. 前記スクリプトは、さらに、前記Webブラウザの前記画面情報に従った画面が前記操作部に表示されなくなったら、前記ハードウェアキーの発光部を消灯する処理が定義されていることを特徴とする請求項2に記載の情報処理装置。   The script further includes a process of turning off the light emitting unit of the hardware key when a screen according to the screen information of the Web browser is not displayed on the operation unit. 2. The information processing apparatus according to 2. 前記実行手段は、前記操作部に表示した画面に含まれるソフトウェアキーに関連付けて前記ハードウェアキーの制御を登録することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the execution unit registers control of the hardware key in association with a software key included in a screen displayed on the operation unit. . 前記ハードウェアキーの制御とは、前記ハードウェアキーが押下された際に、関連付けられた前記ソフトウェアキーが押下されたときと同じ情報を前記サーバに通知する制御であることを特徴とする請求項4に記載の情報処理装置。   The control of the hardware key is a control for notifying the server of the same information as when the associated software key is pressed when the hardware key is pressed. 5. The information processing apparatus according to 4. 前記ハードウェアキーの制御とは、前記ハードウェアキーが押下された際に、関連付けられた前記ソフトウェアキーが押下されたときと同じ情報を、前記アプリケーションを介して提供する前記情報処理装置の処理を実行する手段に通知する制御であることを特徴とする請求項4に記載の情報処理装置。   The control of the hardware key is a process of the information processing apparatus that provides the same information as when the associated software key is pressed via the application when the hardware key is pressed. The information processing apparatus according to claim 4, wherein the information processing apparatus is a control for notifying the execution means. 前記ハードウェアキーとは、スタートキーであり、
前記アプリケーションは、前記スタートキーが押下されると、該アプリケーションを介して提供する前記情報処理装置の処理を開始させることを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。
The hardware key is a start key,
7. The information processing apparatus according to claim 1, wherein when the start key is pressed, the application starts processing of the information processing apparatus provided via the application. .
サーバが提供するアプリケーションを実行する情報処理装置の制御方法であって、
第1取得手段が、前記アプリケーションの画面情報であって、ハードウェアキーの制御を登録し、ハードウェアキーの発光部を点灯する関数を呼び出す処理が定義されたスクリプトを含む前記画面情報を前記サーバから取得する第1取得工程と、
表示制御手段が、前記第1取得工程において取得した前記画面情報に従って操作部に画面を表示する表示制御工程と、
実行手段が、前記第1取得工程において取得した前記画面情報に含まれる前記スクリプトに定義された関数を呼び出すことにより、前記操作部に設けられたハードウェアキーの制御を登録し、前記画面情報に従った画面を前記操作部に表示している間に、前記ハードウェアキーの発光部を点灯させる実行工程を有し、
前記実行工程では、さらに、前記ハードウェアキーが押下されると、前記登されたハードウェアキーの制御を行うことを特徴とする情報処理装置の制御方法。
A method of controlling an information processing apparatus that executes an application provided by a server,
The first acquisition means is the screen information of the application, the screen information including a script in which processing for calling a function for registering control of a hardware key and turning on a light emitting unit of the hardware key is defined , A first acquisition step of acquiring from the server;
A display control step in which a display control means displays a screen on the operation unit according to the screen information acquired in the first acquisition step;
The execution unit registers the control of the hardware key provided in the operation unit by calling a function defined in the script included in the screen information acquired in the first acquisition step, and stores the control in the screen information. the follow screen while displaying on the operation unit, has an execution step of Ru is lit light emitting portion of the hardware key,
Wherein the execution step further, when the hardware key is pressed, the control method for an information processing apparatus and performs control of the hardware key that is pre Kito recorded.
請求項8に記載された情報処理装置の制御方法における各工程を、コンピュータに実行させるためのプログラム。   The program for making a computer perform each process in the control method of the information processing apparatus described in Claim 8.
JP2017116071A 2017-06-13 2017-06-13 Information processing apparatus, control method thereof, and program Active JP6383463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017116071A JP6383463B2 (en) 2017-06-13 2017-06-13 Information processing apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017116071A JP6383463B2 (en) 2017-06-13 2017-06-13 Information processing apparatus, control method thereof, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012243850A Division JP2014092996A (en) 2012-11-05 2012-11-05 Information processing device, control method thereof, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018141585A Division JP2018181375A (en) 2018-07-27 2018-07-27 Information processing apparatus, method for controlling the same, and program

Publications (2)

Publication Number Publication Date
JP2017201542A JP2017201542A (en) 2017-11-09
JP6383463B2 true JP6383463B2 (en) 2018-08-29

Family

ID=60264929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017116071A Active JP6383463B2 (en) 2017-06-13 2017-06-13 Information processing apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP6383463B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019121261A (en) * 2018-01-10 2019-07-22 コニカミノルタ株式会社 Information processing system and control program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4849122B2 (en) * 2008-12-16 2012-01-11 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus and server apparatus
JP5326944B2 (en) * 2009-08-31 2013-10-30 株式会社リコー Image forming apparatus, screen display method, and program
JP5436187B2 (en) * 2009-12-16 2014-03-05 キヤノン株式会社 Image processing apparatus, control method therefor, and program
JP2011154166A (en) * 2010-01-27 2011-08-11 Konica Minolta Business Technologies Inc Image forming apparatus
JP5625433B2 (en) * 2010-03-26 2014-11-19 村田機械株式会社 Compound machine
JP5761934B2 (en) * 2010-06-30 2015-08-12 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program

Also Published As

Publication number Publication date
JP2017201542A (en) 2017-11-09

Similar Documents

Publication Publication Date Title
JP2014092996A (en) Information processing device, control method thereof, and program
JP5591040B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP4890605B2 (en) MFP, MFP control system, program and recording medium
US20170142282A1 (en) Copying apparatus, copying system, control method thereof, and control program thereof
JP4226618B2 (en) Control device, multifunction device, multifunction device control system, control program, and computer-readable recording medium
JP4757712B2 (en) Multifunction device, control method of multifunction device, control device, control method of control device, multifunction device control system, control program, and computer-readable recording medium
JP5436187B2 (en) Image processing apparatus, control method therefor, and program
JP5100488B2 (en) Information processing apparatus, information processing method, and program
JP2012243114A (en) Multifunctional image forming apparatus
JP2016057697A (en) Information processing system, information processor, control method thereof, and program
JP5500128B2 (en) Application linkage system and application linkage method
JP2011124721A (en) Composite machine, program, and recording medium
JP5701025B2 (en) Image processing apparatus, image processing system, control method for image processing apparatus, and program
JP2012038094A (en) Image forming apparatus, information processing method, and program
US8879079B2 (en) Information processing apparatus that displays web page, method of controlling information processing apparatus, and storage medium
JP2009239362A (en) Information processing apparatus, image reading apparatus and program
JP6383463B2 (en) Information processing apparatus, control method thereof, and program
JP5853999B2 (en) Image forming system, image forming apparatus, remote control device, and program
JP7240246B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD AND IMAGE FORMING SYSTEM THEREOF, AND PROGRAM
JP2018181375A (en) Information processing apparatus, method for controlling the same, and program
JP2013005341A (en) Image transmission device, information processing device, image transmission method and image transmission program
JP6213297B2 (en) Image forming system, image forming apparatus, remote control device, and program
JP4830713B2 (en) Instruction information processing apparatus and control method thereof
JP2013105357A (en) Server device, information processing device, control method of server device and program
JP2014059790A (en) Image forming apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180425

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180803

R151 Written notification of patent or utility model registration

Ref document number: 6383463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151