JP2016119029A - Information processing device, apparatus, information processing system, information processing method, program, and installation method - Google Patents
Information processing device, apparatus, information processing system, information processing method, program, and installation method Download PDFInfo
- Publication number
- JP2016119029A JP2016119029A JP2014259770A JP2014259770A JP2016119029A JP 2016119029 A JP2016119029 A JP 2016119029A JP 2014259770 A JP2014259770 A JP 2014259770A JP 2014259770 A JP2014259770 A JP 2014259770A JP 2016119029 A JP2016119029 A JP 2016119029A
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- processing apparatus
- display data
- additional module
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 83
- 238000000034 method Methods 0.000 title claims description 30
- 238000009434 installation Methods 0.000 title claims description 7
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000012545 processing Methods 0.000 claims description 42
- 230000006870 function Effects 0.000 abstract description 89
- 238000004891 communication Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 12
- 230000004044 response Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000013515 script Methods 0.000 description 10
- 239000008186 active pharmaceutical agent Substances 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Abstract
Description
本発明は、情報処理装置、機器、情報処理システム、情報処理方法、プログラム、及びインストール方法に関する。 The present invention relates to an information processing apparatus, a device, an information processing system, an information processing method, a program, and an installation method.
HTML(HyperText Markup Language)、CSS(Cascading Style Sheets)、及びスクリプト等を含むWebページは、当該Webページに基づいて表示される画面に対する操作に応じた処理を、当該Webページのダウンロード先の機器に実行させるアプリケーションとして機能可能である。具体的には、Webページが、Webブラウザに対して要求を行うと、Webブラウザが当該要求に応じた処理を、当該機器に実行させる。 Web pages including HTML (HyperText Markup Language), CSS (Cascading Style Sheets), scripts, etc., perform processing corresponding to operations on the screen displayed based on the Web page on the device to which the Web page is downloaded. It can function as an application to be executed. Specifically, when a Web page makes a request to the Web browser, the Web browser causes the device to execute processing according to the request.
基本的に、WebページがWebブラウザに対して要求できる機能は、Webブラウザが提供しているAPIに係る機能に限定される。例えば、Webページに対して記述可能なスクリプトは、Webブラウザが解釈可能なものに限られる。 Basically, functions that a web page can request from a web browser are limited to functions related to the API provided by the web browser. For example, a script that can be described for a Web page is limited to a script that can be interpreted by a Web browser.
したがって、例えば、Webページのダウンロード先の機器等において新機能が実装された場合、当該新機能をWebページから利用可能とするためには、Webブラウザを改変して、当該新機能に対するインタフェースをWebページに対して提供可能とする必要が有る。 Therefore, for example, when a new function is implemented in a device to which a web page is downloaded, in order to make the new function available from the web page, the web browser is modified and the interface for the new function is changed to the web page. It needs to be available for the page.
Webブラウザに対するプラグインを利用すれば、Webブラウザの改変の必要性を低減させることができる。しかし、スマートフォンやタブレット端末等のスマートデバイスが備えるWebブラウザには、プラグインの機構を有していないものが有る。 If a plug-in for the Web browser is used, the necessity of modifying the Web browser can be reduced. However, some Web browsers provided in smart devices such as smartphones and tablet terminals do not have a plug-in mechanism.
本発明は、上記の点に鑑みてなされたものであって、ネットワークを介して取得される表示データが利用可能な機能を増加させるために既存部分を改変する必要性を低減させることを目的とする。 The present invention has been made in view of the above points, and an object thereof is to reduce the need to modify an existing part in order to increase the functions that display data acquired via a network can use. To do.
そこで上記課題を解決するため、情報処理装置は、ネットワークを介して表示データを取得し、前記表示データに基づいて画面を表示する表示制御部を有し、前記表示制御部は、当該情報処理装置にユーザ別にインストールされたプログラムのうち、当該情報処理装置のユーザに対応し、前記表示データによって指定される識別情報に係る第一のプログラムに、前記表示データにおいて指定されているデータを入力する。 Therefore, in order to solve the above problem, the information processing apparatus has a display control unit that acquires display data via a network and displays a screen based on the display data, and the display control unit includes the information processing apparatus. Among the programs installed for each user, the data specified in the display data is input to the first program corresponding to the identification information specified by the display data corresponding to the user of the information processing apparatus.
ネットワークを介して取得される表示データが利用可能な機能を増加させるために既存部分を改変する必要性を低減させることができる。 It is possible to reduce the need to modify the existing part in order to increase the functions available for the display data acquired via the network.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態における情報処理システムの構成例を示す図である。図1に示される情報処理システム1において、画像形成装置10は、情報処理端末20と通信可能に接続される。画像形成装置10と情報処理端末20との通信は、例えば、USB(Universal Serial Bus)、近距離無線通信、又はLAN(有線又は無線の別は問わない)等のネットワークを介して行われる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of an information processing system according to an embodiment of the present invention. In the
画像形成装置10は、印刷、スキャン、コピー、及びFAX送受信等のうちの2以上の機能を一台の筐体によって実現する複合機である。但し、いずれか一つの機能を有する機器が画像形成装置10として用いられてもよい。また、本実施の形態における画像形成装置10は、機器の一例であり、プロジェクタ、テレビ会議システム、又はデジタルカメラ等の機器が、画像形成装置10の代わりに用いられてもよい。
The
情報処理端末20は、例えば、スマートフォンやタブレット型端末等、単独で完結した情報処理を実行可能なスマートデバイスである。本実施の形態において、情報処理端末20は、画像形成装置10の操作部として機能する。より詳しくは、情報処理端末20は、従来、画像形成装置10の専用の操作部として設置されていた操作パネルの代わりに、画像形成装置10に接続される。以下、単に、「操作パネル」というとき、従来の画像形成装置10において設置されていた操作パネルをいう。
The
情報処理端末20は、例えば、画像形成装置10の所定の位置(例えば、操作パネルが配置される位置)に固定されて設置される。したがって、情報処理端末20及び画像形成装置10とは、一台の装置として把握されてもよい。または、情報処理端末20は、画像形成装置10から取り外し可能(分離可能)であってもよい。情報処理端末20が取り外された状態において、情報処理端末20は、Bluetooth(登録商標)又は赤外線等の無線通信等を介して、画像形成装置10の操作部として機能可能であってもよい。
For example, the
図1において、情報処理端末20は、LAN又はインターネット等のネットワークを介してWebサーバ装置30と通信可能である。但し、情報処理端末20とWebサーバ装置30との通信は、画像形成装置10によって仲介されてもよい。Webサーバ装置30は、HTML(HyperText Markup Language)、CSS(Cascading Style Sheets)、及びJava(登録商標)スクリプト等を含むWebページを記憶するコンピュータである。Webページは、表示データとして機能するだけでなく、スクリプト等によって、アプリケーションとしても機能する。そこで、本実施の形態では、Webページを、「Webアプリケーション」という。なお、情報処理端末20は、複数又は不特定のWebサーバ装置30と通信可能であってもよい。
In FIG. 1, an
図2は、本発明の実施の形態における情報処理端末のハードウェア構成例を示す図である。図2において、情報処理端末20は、CPU201、メモリ202、補助記憶装置203、タッチパネル204、無線通信装置205、及び機器インタフェース206等を有する。
FIG. 2 is a diagram illustrating a hardware configuration example of the information processing terminal according to the embodiment of the present invention. 2, the
補助記憶装置203は、情報処理端末20にインストールされたプログラム等を記憶する。メモリ202は、プログラムの起動指示があった場合に、補助記憶装置203からプログラムを読み出して記憶する。CPU201は、メモリ202に記憶されたプログラムに従って情報処理端末20に係る機能を実現する。
The
タッチパネル204は、入力機能と表示機能との双方を備えた電子部品であり、情報の表示や、ユーザからの入力の受け付け等を行う。タッチパネル204は、表示装置211及び入力装置212等を含む。
The
表示装置211は、液晶ディスプレイ等であり、タッチパネル204の表示機能を担う。入力装置212は、表示装置211に対する接触物の接触を検出するセンサを含む電子部品である。接触物の接触の検出方式は、静電方式、抵抗膜方式、又は光学方式等、公知の方式のいずれであってもよい。なお、接触物とは、タッチパネル204の接触面(表面)に接触する物体をいう。斯かる物体の一例として、ユーザの指や専用又は一般のペン等が挙げられる。
The
無線通信装置205は、無線LAN(Local Area Network)又は移動体通信網等における通信を行うために必要とされるアンテナ等の電子部品である。機器インタフェース206は、画像形成装置10と通信するためのインタフェースである。すなわち、機器インタフェース206は、画像形成装置10との通信を行う。
The
図3は、本発明の実施の形態における情報処理端末のソフトウェア構成例を示す図である。図3において、情報処理端末20は、OS21、追加モジュール22、及びブラウザ23を有する。これらは、CPU201に処理を実行させるプログラムである。
FIG. 3 is a diagram illustrating a software configuration example of the information processing terminal according to the embodiment of the present invention. In FIG. 3, the
OS21は、一般的な、OS(Operating System)である。追加モジュール22やブラウザ23等、他のプログラムは、OS21上でプロセス又はスレッドとして動作する。
The OS 21 is a general OS (Operating System). Other programs such as the
ブラウザ23は、Webブラウザである。すなわち、ブラウザ23は、Webサーバ装置30からWebアプリケーション31を取得(ダウンロード)し、当該Webアプリケーション31に含まれている定義に従って、画面の表示をCPU201及び表示装置211に実行させる。画面に関する定義は、例えば、HTML(HyperText Markup Language)及びCSS(Cascading Style Sheets)等を用いて記述される。ブラウザ23は、また、Webアプリケーション31に含まれている、スクリプトによって呼び出されるAPI(Application Program Interface)に応じた処理を、CPU201に実行させる。すなわち、ブラウザ23には、スクリプトから呼び出される各種のAPIに対する実装(処理の定義)が含まれている。斯かるAPIの一つとして、ブラウザ23は、汎用API231を有する。汎用API231は、特定の機能に特化していない点において、他のAPIと異なる。汎用API231は、Webアプリケーション31から任意の追加モジュール22の機能を利用可能とするための関数群である。すなわち、汎用API231は、Webアプリケーション31に対し、追加モジュール22を透過的に呼び出すための手段又は経路を提供する。例えば、汎用API231のうちの一つの関数は、例えば、以下のようなインタフェース仕様を有している。
The
<追加モジュール呼び出し関数名>(モジュールID,入力データ)
<追加モジュール呼び出し関数名>は、追加モジュール22を呼び出すための関数(以下、「追加モジュール呼び出し関数」という。)の名前である。モジュールIDは、呼び出し先の追加モジュール22の識別情報である。モジュールIDは、追加モジュール22のファイル名であってもよいし、他の識別情報であってもよい。モジュールIDは、ブラウザ23が、一つの追加モジュール22を特定可能な情報であればよい。但し、本実施の形態では、同一のモジュールIDを有する複数の追加モジュール22が、一つの情報処理端末20にインストール可能である。具体的には、追加モジュール22は、補助記憶装置203において、ユーザごとに異なる記憶領域(例えば、異なるフォルダ)に区別されて記憶(インストール)される。例えば、ユーザ名ごとに(ユーザ別に)、フォルダが生成され、各フォルダには、当該ユーザに対する追加モジュール22が記憶される。追加モジュール22のインストール先のフォルダは、例えば、インストール時のログインユーザ名によって決定されてもよいし、インストール時に指定されるユーザ名に基づいて決定されてもよい。なお、呼び出し時に呼び出される追加モジュール22は、情報処理端末20へのログインユーザのユーザ名に対応する(すなわち、情報処理端末20を操作するユーザに対応する)追加モジュール22である。
<Additional module call function name> (module ID, input data)
<Additional module call function name> is a name of a function for calling the additional module 22 (hereinafter referred to as “additional module call function”). The module ID is identification information of the
入力データは、追加モジュール22に入力されるデータである。例えば、当該データは、文字列型であってもよい。但し、当該データの内容は、文字列でなくてもよい。なお、引数にモジュールIDが指定されることからも明らかなように、汎用API231は、複数の追加モジュール22に対して共通のAPIである。
The input data is data input to the
ブラウザ23は、Webアプリケーション31から追加モジュール呼び出し関数が呼び出されると、引数に指定されたモジュールIDに係る追加モジュール22に対して、引数に指定された入力データを入力する。
When the additional module call function is called from the
また、汎用API231は、以下のような関数を含んでも良い。
The general-
<コールバック登録関数名>(モジュールID、コールバック関数アドレス)
<コールバック登録関数名>は、追加モジュール22からの応答又は通知等を受け取るためのインタフェースの一例であるコールバック関数を登録するための関数(以下、「コールバック登録関数」という。)の関数名である。モジュールIDは、コールバック関数の対象とされる追加モジュール22である。コールバック関数アドレスは、コールバック関数のアドレス情報である。
<Callback registration function name> (module ID, callback function address)
<Callback registration function name> is a function for registering a callback function which is an example of an interface for receiving a response or notification from the additional module 22 (hereinafter referred to as “callback registration function”). Name. The module ID is an
追加モジュール22は、ブラウザ23の機能拡張を図るためにインストールされるプログラムである。追加モジュール22は、ブラウザ23から入力データを受け付けるために、ブラウザ23が予定している形式のAPIである追加モジュールAPI221を有する。追加モジュール22は、追加モジュールAPI221を介して入力されたデータに従って処理を実行する。図3では、一つの追加モジュール22のみが示されているが、ユーザごとに複数種類の追加モジュール22が、情報処理端末20にインストールされてもよい。追加モジュール22がインストールされることにより、ブラウザ23の汎用API231を介して、当該追加モジュール22に係る機能が、擬似的にブラウザ23にプラグインされる。
The
図3には、また、Webアプリケーション31が示されている。Webアプリケーション31は、情報処理端末20に予めインストールされるものではなく、ユーザによる情報処理端末20の操作に応じて、ブラウザ23によって動的に取得される。Webアプリケーション31は、ブラウザ23の汎用API231を介して、追加モジュール22を呼び出すことができる。一形態としては、Webアプリケーション31と追加モジュール22とが1対1に対応する例が挙げられる。すなわち、或るWebアプリケーション31において、ブラウザ23の既存のAPIでは実現できない機能を利用したい場合に、当該機能を提供可能な追加モジュール22が作成され、情報処理端末20にインストールされる。したがって、追加モジュール22は、Webアプリケーション31の開発者によって開発されてもよい。
FIG. 3 also shows a
なお、一般的に、PCのWebブラウザにはプラグインという形式を利用した機能拡張の方式が採用されており、プラグイン向けのAPIが用意されている。しかし、スマートデバイスのWebブラウザにはプラグインの仕組みが用意されておらず、プラグインを利用した機能拡張を行うことが困難である。そこで、プラグインに代わる手段として、本実施の形態では、汎用API231と追加モジュール22とが利用される。
In general, a function expansion method using a plug-in format is adopted in a Web browser of a PC, and an API for plug-in is prepared. However, the web browser of the smart device does not have a plug-in mechanism, and it is difficult to perform function expansion using the plug-in. Therefore, in the present embodiment, the general-
なお、汎用API231はWebアプリケーション31が扱うことができる言語であるスクリプトによって提供される。また、追加モジュールAPI221は、例えば、OS21上で実行できる形式の言語で提供される。
The general-
なお、ブラウザ23や追加モジュール22等は、情報処理端末20が実行するインストール処理によって、情報処理端末20にインストールされる。
Note that the
以下、情報処理端末20が実行する処理手順について説明する。なお、以降においては、便宜上、各プログラムが処理の実行主体として記述されるが、厳密には、各プログラムは、CPU201に処理を実行させる。
Hereinafter, a processing procedure executed by the
図4は、Webアプリケーションからの追加モジュールの呼び出し時の処理手順の一例を説明するためのシーケンス図である。なお、図4においては、ユーザによる操作に応じて特定されるURLに対応するWebアプリケーション31が、ブラウザ23によって取得されている状態であるとする。また、Webアプリケーション31による処理は、当該Webアプリケーション31内に定義されているスクリプトに基づく。
FIG. 4 is a sequence diagram for explaining an example of a processing procedure when an additional module is called from a Web application. In FIG. 4, it is assumed that the
ステップS101において、Webアプリケーション31は、汎用API231の一つである、コールバック登録関数を呼び出す。すなわち、Webアプリケーション31は、コールバック関数の登録を、ブラウザ23に要求する。コールバック登録関数の引数には、ステップS102において呼び出し先として指定される追加モジュール22のモジュールIDと、登録対象のコールバック関数のアドレス情報とが指定される。ブラウザ23は、コールバック登録関数の呼び出しに応じ、当該関数の引数に指定されているモジュールIDと、アドレス情報とを対応付けて、例えば、メモリ202に記憶する。
In step S101, the
続いて、Webアプリケーション31は、汎用API231の一つである。追加モジュール呼び出し関数を呼び出す。すなわち、Webアプリケーション31は、追加モジュール22の呼び出しを、ブラウザ23に要求する。追加モジュール呼び出し関数の引数には、呼び出し先の追加モジュール22のモジュールIDと、当該追加モジュール22に対する入力データとが指定される。
Subsequently, the
続いて、ブラウザ23は、ログインユーザ名を特定し、当該ログインユーザ名に対応する、追加モジュール22の記憶領域(例えば、フォルダ)を特定する(S103)。ログインユーザ名は、例えば、OS21に問い合わせることで特定することができる。OS21は、ユーザのログイン時において、ユーザを認証する(ユーザを識別する)機能を有するからである。
Subsequently, the
ブラウザ23は、ステップS103において特定された記憶領域内に記憶されている追加モジュール22のうち、引数に指定されたモジュールIDによって識別される追加モジュール22に対し、追加モジュールAPI221を介して入力データを入力する(S104)。入力データの入力に対し、追加モジュール22は、応答を行う(S105)。ブラウザ23は、当該応答に応じ、追加モジュール呼び出し関数に対する応答を行う(S106)。
The
応答後、追加モジュール22は、入力データに関して処理を実行する。当該処理が完了すると、追加モジュール22は、処理結果を、ブラウザ23に通知する(S107)。処理結果は、処理の成否等を示す情報であってもよいし、処理によって生成されたデータであってもよい。なお、ブラウザ23は、追加モジュール22から処理結果等の通知を受けるためのインタフェースを有している。
After the response, the
続いて、ブラウザ23は、当該処理結果の通知元のモジュールIDに対応付けられてメモリ202に記憶されているアドレス情報に係るコールバック関数を呼び出す(S108)。コールバック関数の引数には、処理結果が指定される。その結果、Webアプリケーション31に対して、処理結果が通知される。
Subsequently, the
なお、Webアプリケーション31が、追加モジュール22の処理結果の通知を必要としない場合、ステップS101及びS108は実行されなくてもよい。
Note that if the
また、図4のステップS105及びS106において、追加モジュール22による処理の前に応答が行われるのは、本実施の形態では、追加モジュール22とブラウザ23とは異なるスレッド又はプロセスで動作し、追加モジュール22の処理とブラウザ23の処理とは非同期に行われるからである。したがって、仮に、追加モジュール22からの処理結果が、ステップS104に対して同期的に応答されるのであれば、ステップS105及びS106は実行されなくてよい。また、処理結果を受け付けるためのコールバック関数の登録も行われなくてもよい。ブラウザ23は、追加モジュール呼び出し関数の戻り値として、追加モジュール22の処理結果を返却することが可能だからである。
Also, in steps S105 and S106 in FIG. 4, the response is performed before the processing by the
但し、追加モジュール22からの処理結果が、ステップS104に対して同期的に応答される場合であっても、ブラウザ23が、追加モジュール22側から非同期に通知される情報を取得したい場合、コールバック関数の登録は有効である。
However, even if the processing result from the
図5は、追加モジュールからの情報の通知時に実行される処理手順の第一の例を説明するためのシーケンス図である。 FIG. 5 is a sequence diagram for explaining a first example of a processing procedure executed at the time of notification of information from the additional module.
例えば、ログインユーザ名に対応する記憶領域に記憶されているいずれかの追加モジュール22が、何らかのイベントの発生を検知すると、当該イベントに関する情報を、ブラウザ23に通知する(S111)。当該情報は、追加モジュール22の処理結果の通知を受けるためにブラウザ23が有するインタフェースと同じインタフェースを利用して、ブラウザ23に通知されてもよい。または、ブラウザ23は、処理結果の通知を受けるためのインタフェースとは別に、非同期な情報の通知を受けるためのインタフェースを有していてもよい。
For example, when any of the
続いて、ブラウザ23は、当該情報の通知元の追加モジュール22のモジュールIDに対応付けられてメモリ202に記憶されているアドレス情報に係るコールバック関数を呼び出す(S112)。コールバック関数の引数には、当該情報が指定される。その結果、Webアプリケーション31に対して、当該情報が通知される。
Subsequently, the
なお、ブラウザ23が、タブを用いて複数のWebアプリケーション31を表示することが可能である場合、複数のWebアプリケーション31によって一つの追加モジュール22に対するコールバック関数が重複して登録されてもよい。
Note that when the
この場合、図5の処理手順は、例えば、図6に示されるようになる。図6は、追加モジュールからの情報の通知時に実行される処理手順の第二の例を説明するためのシーケンス図である。図6中、図5と同一ステップには同一ステップ番号を付している。 In this case, the processing procedure of FIG. 5 is as shown in FIG. 6, for example. FIG. 6 is a sequence diagram for explaining a second example of a processing procedure executed when information is notified from the additional module. In FIG. 6, the same steps as those in FIG.
図6は、Webアプリケーション31aとWebアプリケーション31bとの二つのWebアプリケーション31が、ブラウザ23の相互に異なるタブにおいて表示対象とされており、それぞれが、同じ追加モジュール22に対するコールバック関数を、ブラウザ23に登録している場合に実行される処理を示す。この場合、ブラウザ23は、追加モジュール22からの情報の通知に応じ(S111)、各Webアプリケーション31から登録されているコールバック関数を呼び出す(S112、S113)。その結果、各Webアプリケーション31に、同じ情報が配信される。
In FIG. 6, two
続いて、図4、図5、及び図6においてブラウザ23が実行する処理手順について説明する。図7は、追加モジュールの呼び出しに関してブラウザが実行する処理手順の一例を説明するためのフローチャートである。
Subsequently, a processing procedure executed by the
ステップS201において、ブラウザ23は、ユーザによる操作によって特定されるURLに係るWebアプリケーション31を、Webサーバ装置30から取得(ダウンロード)する。続いて、ブラウザ23は、取得されたWebアプリケーション31の定義内容に基づいて、操作画面を表示装置211に表示させる(S202)。
In step S <b> 201, the
続いて、ブラウザ23は、当該Webアプリケーション31から、追加モジュール呼び出し関数の呼び出しを受ける(S203)。換言すれば、ブラウザ23は、Webアプリケーション31の定義内容を解析し、追加モジュール呼び出し関数を検出する。なお、追加モジュール呼び出し関数の呼び出しのタイミングは、Webアプリケーション31の定義に依存する。例えば、Webアプリケーション31の取得に応じて呼び出しが行われてもよいし、Webアプリケーション31に基づいて表示される操作画面に対する操作に応じて呼び出しが行われてもよい。
Subsequently, the
続いて、ブラウザ23は、ログインユーザ名を特定し、当該ログインユーザ名に対応する、追加モジュール22の記憶領域(例えば、フォルダ)を特定する(S204)。
Subsequently, the
続いて、ブラウザ23は、ステップS204において特定された記憶領域内に記憶されている追加モジュール22のうち、呼び出された追加モジュール呼び出し関数の引数に指定されているモジュールIDに係る追加モジュール22に対して、当該関数の引数に指定されている入力データを入力する(S205)。なお、呼び出し先の追加モジュール22が入力データを必要としない場合、追加モジュール呼び出し関数において、入力データの引数が省略されるようにしてもよい。
Subsequently, the
追加モジュール22の呼び出しに成功した場合(S206でYes)、追加モジュール呼び出し関数に関するブラウザ23による処理は正常終了する(S207)。この場合、例えば、図4のステップS106において、正常終了を示す応答が行われる。追加モジュール22の呼び出しに失敗した場合(S206のNo)、追加モジュール呼び出し関数に関するブラウザ23による処理は異常終了する(S208)。この場合、例えば、図4のステップS106において、異常終了を示す応答が行われる。
If the
図8は、追加モジュールからの情報の通知に関してブラウザが実行する処理手順の一例を説明するためのフローチャートである。 FIG. 8 is a flowchart for explaining an example of a processing procedure executed by the browser regarding notification of information from the additional module.
ブラウザ23は、Webアプリケーション31から、コールバック登録関数の呼び出しを受けると(S211)、当該関数の引数に指定されているモジュールIDとコールバック関数のアドレス情報とを、対応付けてメモリ202に記憶する(S212)。
When the
その後、ブラウザ23は、追加モジュール22から処理結果又は非同期の情報の通知を受けると、当該追加モジュール22のモジュールIDに対応付けられてアドレス情報が記憶されているコールバック関数の有無を判定する(S214)。該当するコールバック関数が有る場合(S214でYes)、ブラウザ23は、当該コールバック関数を呼び出す(S215)。当該コールバック関数の引数には、通知された情報が指定される。
Thereafter, when the
続いて、追加モジュール22の具体例について説明する。図9は、追加モジュールの具体例を示す図である。
Next, a specific example of the
図9において、情報処理端末20には、NFC(Near field communication)デバイスが追加されている。例えば、当初、NFCデバイス207を有していない情報処理端末20に対して、USB接続等によりNFCデバイス207が追加された状態である。したがって、ブラウザ23は、NFCデバイス207にアクセスするためのスクリプトのAPIを提供していない。このような場合に、Webアプリケーション31から、NFCデバイス207を利用可能とするための方法について説明する。なお、NFCデバイス207は、近距離無線通信を行うハードウェアである。
In FIG. 9, an NFC (Near field communication) device is added to the
この場合、例えば、Webアプリケーション31の開発者は、NFCデバイス207を制御するためのNFC制御モジュール22aを作成する。この際、NFC制御モジュール22aは、追加モジュールAPI221を有するように作成される。作成されたNFC制御モジュール22aは、任意のタイミングで、追加モジュール22の一つとして情報処理端末20にインストールされる。図9では、NFC制御モジュール22aが、インストールされた状態が示されている。この状態において、NFC制御モジュール22aは、Webアプリから利用可能となる。すなわち、Webアプリケーション31は、汎用API231の追加モジュール呼び出し関数を介して、NFC制御モジュール22aを利用することができる。
In this case, for example, the developer of the
例えば、NFC制御モジュール22aに関して図4の処理が実行される場合、コールバック登録関数及び追加モジュール呼び出し関数の引数には、NFC制御モジュール22aのモジュールIDが指定される。また、追加モジュール呼び出し関数の引数の入力データには、通信相手との接続状況の取得要求を示す情報が指定される。すなわち、入力データには、追加モジュール22において処理対象とされるデータのみならず、追加モジュール22に対する処理要求を示すデータも指定可能である。
For example, when the process of FIG. 4 is executed for the
NFC制御モジュール22aは、NFCデバイス207による、通信相手との接続状況を確認し、確認結果を、ステップS107においてブラウザ23に通知する。ブラウザ23は、当該確認結果を、コールバック関数を利用して、Webアプリケーション31に通知する(S108)。その結果、Webアプリケーション31は、NFCデバイス207の接続状況を把握することができる。
The
また、NFC制御モジュール22aに関して、図5及び図6等が実行される場合に、NFC制御モジュール22aから通知される情報の一例として、通信相手との接続状況の変化を示す情報が挙げられる。例えば、通信相手との接続が確立されたこと、又は通信相手との接続が解除されたことが、コールバック関数を介して、NFC制御モジュール22aを利用するWebアプリケーション31に通知される。
Further, regarding the
上述したように、本実施の形態によれば、Webアプリケーション31は、ブラウザ23の汎用API231を介して、情報処理端末20によってインストールされた追加モジュール22のうちのいずれかを、呼び出すことができる。すなわち、実質的に、ブラウザ23に対して、追加モジュール22に係る機能を追加することができる。その結果、Webアプリケーション31が利用可能な機能を増加させるために既存部分(ブラウザ23)を改変する必要性を低減させることができる。
As described above, according to the present embodiment, the
また、本実施の形態によれば、ユーザ別に追加モジュール22がインストールされる。したがって、例えば、同じ関数名に係る汎用API231の呼び出しであっても、ユーザごとに異なる処理を実行することができる。例えば、ICカードから情報を読み取るような追加モジュール22が追加される場合に、ユーザごとに、当該ユーザのICカードから読み取られるべきデータの格納領域が異なるとする。このような場合、各追加モジュール22は、当該追加モジュール22に係るユーザに対応したICカードの格納領域からデータを取得するように実行されることで、ユーザに対応した格納領域からデータを読み取ることが可能となる。
Further, according to the present embodiment, the
なお、本実施の形態では、ユーザごとに追加モジュール22の記憶領域が区別されることにより、各追加モジュールがユーザ名に関連付けられる例を示したが、追加モジュール22とユーザ名との関連付けは、異なる形態によって実現されてもよい。例えば、各追加モジュール22と各ユーザ名との対応情報が、補助記憶装置203に記憶されるようにしてもよい。この場合、追加モジュール22の呼び出し時には、当該対応情報においてログインユーザ名に関連付けられている追加モジュール22が呼び出し対象とされればよい。また、一つの追加モジュール22に対して複数のユーザ名が関連付けられてもよい。すなわち、一つの追加モジュール22が、複数のユーザによって共用されてもよい。例えば、或るユーザが、追加モジュール22をインストールしようとした場合、OS21は、当該追加モジュール22と同一の追加モジュール22が、インストール済みであるか否かを判定する。同一の追加モジュール22がインストール済みである場合、OS21は、上記対応情報において、当該インストール済みの追加モジュール22に対して当該ユーザのユーザ名を新たに関連付けて、インストール処理を完了してもよい。
In the present embodiment, an example is shown in which each additional module is associated with a user name by distinguishing the storage area of the
なお、本実施の形態は、例えば、プロジェクタ、テレビ会議システム、デジタルカメラ、家電製品等、画像形成装置10以外の機器の操作部として機能するスマートデバイスに対して適用されてもよい。また、機器の操作部として機能するのではなく、単独の情報処理端末20として機能するスマートデバイスに、本実施の形態が適用されてもよい。
Note that the present embodiment may be applied to a smart device that functions as an operation unit of a device other than the
また、本実施の形態は、PC(Personal Computer)におけるWebブラウザ、すなわち、プラグイン可能なWebブラウザに関して適用されてもよい。 Further, the present embodiment may be applied to a Web browser in a PC (Personal Computer), that is, a plug-in Web browser.
なお、本実施の形態において、情報処理端末20は、情報処理装置の一例である。Webアプリケーションは、表示データの一例である。ブラウザ23は、表示制御部の一例である。
In the present embodiment, the
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
1 情報処理システム
10 画像形成装置
20 情報処理端末
21 OS
22 追加モジュール
22a NFC制御モジュール
23 ブラウザ
30 Webサーバ装置
31 Webアプリケーション
201 CPU
202 メモリ
203 補助記憶装置
204 タッチパネル
205 無線通信装置
206 機器インタフェース
207 NFCデバイス
211 表示装置
212 入力装置
221 追加モジュールAPI
231 汎用API
1
22
202
231 General-purpose API
Claims (11)
ネットワークを介して表示データを取得し、前記表示データに基づいて画面を表示する表示制御部を有し、
前記表示制御部は、当該情報処理装置にユーザ別にインストールされたプログラムのうち、当該情報処理装置のユーザに対応し、前記表示データによって指定される識別情報に係る第一のプログラムに、前記表示データにおいて指定されているデータを入力する、
ことを特徴とする情報処理装置。 An information processing apparatus,
A display control unit that acquires display data via a network and displays a screen based on the display data,
The display control unit corresponds to the first program related to the identification information specified by the display data corresponding to the user of the information processing apparatus among the programs installed in the information processing apparatus for each user. Enter the data specified in
An information processing apparatus characterized by that.
ことを特徴とする請求項1記載の情報処理装置。 The display control unit inputs data specified in the interface to the first program through a common interface for a plurality of programs.
The information processing apparatus according to claim 1.
ことを特徴とする請求項2記載の情報処理装置。 The interface is an API (Application Program Interface).
The information processing apparatus according to claim 2.
ことを特徴とする請求項1乃至3いずれか一項記載の情報処理装置。 The display control unit notifies the display data of information related to processing that the first program causes the information processing apparatus to execute with respect to input data.
The information processing apparatus according to any one of claims 1 to 3.
ことを特徴とする請求項4記載の情報処理装置。 The display control unit notifies the display data of information related to the processing via an interface registered by the display data.
The information processing apparatus according to claim 4.
ことを特徴とする請求項5記載の情報処理装置。 The first program causes the information processing apparatus to execute control of hardware added to the information processing apparatus.
The information processing apparatus according to claim 5.
ネットワークを介して表示データを取得し、前記表示データに基づいて画面を表示する表示制御部を有し、
前記表示制御部は、当該情報処理装置にユーザ別にインストールされたプログラムのうち、当該情報処理装置のユーザに対応し、前記表示データによって指定される識別情報に係る第一のプログラムに、前記表示データにおいて指定されているデータを入力する、
ことを特徴とする情報処理システム。 An information processing system including an information processing device and a device having the information processing device as an operation unit,
A display control unit that acquires display data via a network and displays a screen based on the display data,
The display control unit corresponds to the first program related to the identification information specified by the display data corresponding to the user of the information processing apparatus among the programs installed in the information processing apparatus for each user. Enter the data specified in
An information processing system characterized by this.
前記表示制御部が、当該情報処理装置にユーザ別にインストールされたプログラムのうち、当該情報処理装置のユーザに対応し、前記表示データによって指定される識別情報に係る第一のプログラムに、前記表示データにおいて指定されているデータを入力する、
ことを特徴とする情報処理方法。 An information processing method in an information processing apparatus having a display control unit for acquiring display data via a network and displaying a screen based on the display data,
The display control unit corresponds to the user of the information processing apparatus among the programs installed for each user in the information processing apparatus, and the display data is included in the first program related to the identification information specified by the display data. Enter the data specified in
An information processing method characterized by the above.
ネットワークを介して表示データを取得し、前記表示データに基づいて画面を表示する表示制御部として機能させ、
前記表示制御部は、当該情報処理装置にユーザ別にインストールされたプログラムのうち、当該情報処理装置のユーザに対応し、前記表示データによって指定される識別情報に係る第一のプログラムに、前記表示データにおいて指定されているデータを入力する、
ことを特徴とするプログラム。 Information processing device
Acquire display data via a network, function as a display control unit that displays a screen based on the display data,
The display control unit corresponds to the first program related to the identification information specified by the display data corresponding to the user of the information processing apparatus among the programs installed in the information processing apparatus for each user. Enter the data specified in
A program characterized by that.
ことを特徴とするインストール方法。 A computer executes a procedure for installing the program according to claim 10.
An installation method characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014259770A JP2016119029A (en) | 2014-12-24 | 2014-12-24 | Information processing device, apparatus, information processing system, information processing method, program, and installation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014259770A JP2016119029A (en) | 2014-12-24 | 2014-12-24 | Information processing device, apparatus, information processing system, information processing method, program, and installation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016119029A true JP2016119029A (en) | 2016-06-30 |
Family
ID=56243092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014259770A Pending JP2016119029A (en) | 2014-12-24 | 2014-12-24 | Information processing device, apparatus, information processing system, information processing method, program, and installation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016119029A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002312726A (en) * | 2001-04-13 | 2002-10-25 | Nippon Telegr & Teleph Corp <Ntt> | Ic card control method, terminal equipment, program and recording medium |
JP2005056122A (en) * | 2003-08-04 | 2005-03-03 | Sony Corp | Information processor and method, program, and storage medium |
WO2010079566A1 (en) * | 2009-01-09 | 2010-07-15 | 日本電気株式会社 | Service providing device, service providing system, service providing method, and storage medium |
JP2011501830A (en) * | 2007-11-13 | 2011-01-13 | ノキア コーポレイション | Method and apparatus comprising a browser |
JP2011514996A (en) * | 2008-03-02 | 2011-05-12 | ヤフー! インコーポレイテッド | Secure browser-based application |
JP2012162044A (en) * | 2011-02-09 | 2012-08-30 | Ricoh Co Ltd | Information processing system, image forming apparatus, information processing method, and program |
JP2013168113A (en) * | 2012-02-17 | 2013-08-29 | Ricoh Co Ltd | Apparatus, information processing system, information processing method, and information processing program |
JP2014197827A (en) * | 2013-03-04 | 2014-10-16 | 株式会社リコー | Information processing system, information processing device, information processing method and information processing program |
JP2014235645A (en) * | 2013-06-04 | 2014-12-15 | 株式会社リコー | Device, information processing terminal, information processing system, display control method, and program |
-
2014
- 2014-12-24 JP JP2014259770A patent/JP2016119029A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002312726A (en) * | 2001-04-13 | 2002-10-25 | Nippon Telegr & Teleph Corp <Ntt> | Ic card control method, terminal equipment, program and recording medium |
JP2005056122A (en) * | 2003-08-04 | 2005-03-03 | Sony Corp | Information processor and method, program, and storage medium |
JP2011501830A (en) * | 2007-11-13 | 2011-01-13 | ノキア コーポレイション | Method and apparatus comprising a browser |
JP2011514996A (en) * | 2008-03-02 | 2011-05-12 | ヤフー! インコーポレイテッド | Secure browser-based application |
WO2010079566A1 (en) * | 2009-01-09 | 2010-07-15 | 日本電気株式会社 | Service providing device, service providing system, service providing method, and storage medium |
JP2012162044A (en) * | 2011-02-09 | 2012-08-30 | Ricoh Co Ltd | Information processing system, image forming apparatus, information processing method, and program |
JP2013168113A (en) * | 2012-02-17 | 2013-08-29 | Ricoh Co Ltd | Apparatus, information processing system, information processing method, and information processing program |
JP2014197827A (en) * | 2013-03-04 | 2014-10-16 | 株式会社リコー | Information processing system, information processing device, information processing method and information processing program |
JP2014235645A (en) * | 2013-06-04 | 2014-12-15 | 株式会社リコー | Device, information processing terminal, information processing system, display control method, and program |
Non-Patent Citations (1)
Title |
---|
原 直史、加藤剛志、西川隆清、伊藤佳毅: "Technology Reports:FeliCaアドホック通信機能を提供するiC通信アプリの開発", NTT DOCOMOテクニカル・ジャーナル, vol. 19, no. 4, JPN6019010697, 1 January 2012 (2012-01-01), pages 21 - 26, ISSN: 0004003465 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921996B2 (en) | Information processing terminal and control method | |
US9282211B2 (en) | Image forming apparatus, control method, and storage medium in which data is shared between applications | |
JP5884542B2 (en) | Apparatus, information processing system, information processing method, and information processing program | |
US8976402B2 (en) | Method of controlling communication system | |
JP6390126B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
JP6424440B2 (en) | INFORMATION PROCESSING APPARATUS, DEVICE, INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND DISPLAY CONTROL PROGRAM | |
JP6205861B2 (en) | Information processing system, information processing method, and program | |
JP2017107307A (en) | Apparatus, information processing system, information processing method, and program | |
JP2013191196A (en) | Information processing device, apparatus, information processing system, information processing method, and information processing program | |
JP2016038614A (en) | Device, information processing system, information processing method, and information processing program | |
US9110962B2 (en) | Data providing apparatus for implementing script, electronic apparatus for implementing script, data processing system for implementing script, and method of data processing for implementing script | |
CN102937963A (en) | Template and server content download using protocol handlers | |
US20160156629A1 (en) | Information processing method, information processing apparatus, and storage medium | |
EP2843553A2 (en) | Information processing terminal and control method therefor, and program | |
JP6269006B2 (en) | Information processing apparatus, information processing method, and information processing program | |
JP2017167700A (en) | Information processing system, apparatus, information processing terminal, information processing method, and program | |
WO2017213454A1 (en) | File control system and method using user server | |
JP2016119029A (en) | Information processing device, apparatus, information processing system, information processing method, program, and installation method | |
JP2019053463A (en) | Information processing apparatus, information processing system, information processing method, and program | |
JP5001747B2 (en) | Web page browsing device | |
US10079873B2 (en) | Information processing apparatus and method | |
EP4064027A1 (en) | Information processing apparatus, information processing system, information processing method, and carrier means | |
US11275575B2 (en) | Information processing apparatus, method, and recording medium | |
JP2017037361A (en) | Apparatus, information processing system, information processing method, and program | |
US10165057B2 (en) | Information processing terminal, and controlling method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171206 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180726 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180904 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181030 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20190326 |