JP6772009B2 - Information processing equipment and control methods in the information processing equipment, and programs and image processing equipment - Google Patents

Information processing equipment and control methods in the information processing equipment, and programs and image processing equipment Download PDF

Info

Publication number
JP6772009B2
JP6772009B2 JP2016184689A JP2016184689A JP6772009B2 JP 6772009 B2 JP6772009 B2 JP 6772009B2 JP 2016184689 A JP2016184689 A JP 2016184689A JP 2016184689 A JP2016184689 A JP 2016184689A JP 6772009 B2 JP6772009 B2 JP 6772009B2
Authority
JP
Japan
Prior art keywords
service
application
identification information
information
web
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
JP2016184689A
Other languages
Japanese (ja)
Other versions
JP2017126977A (en
JP2017126977A5 (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 US15/386,584 priority Critical patent/US10051154B2/en
Publication of JP2017126977A publication Critical patent/JP2017126977A/en
Publication of JP2017126977A5 publication Critical patent/JP2017126977A5/ja
Application granted granted Critical
Publication of JP6772009B2 publication Critical patent/JP6772009B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、情報処理装置および、情報処理装置における制御方法およびプログラムと画像処理装置に関するものである。 The present invention relates to an information processing apparatus, a control method and a program in the information processing apparatus, and an image processing apparatus.

近年、画像処理装置にソフトウェアをインストールして機能を拡張させる環境が整備されてきている。このようなソフトウェア(本体アプリ)は外部のサービスと連携し、画像処理装置の機能を拡張することが可能になっている。従来技術として、画像処理装置が、外部サービスにアクセスする際に、外部サービスを認証して、認証された外部サービスのみ、利用することが提案されている(特許文献1参照)。 In recent years, an environment has been developed in which software is installed in an image processing device to expand its functions. Such software (main body application) can be linked with an external service to expand the functions of the image processing device. As a prior art, it has been proposed that when an image processing apparatus accesses an external service, the external service is authenticated and only the authenticated external service is used (see Patent Document 1).

特開2015-230669号公報JP-A-2015-230669

特許文献1で開示している方法では、外部サービスにアクセスする際に、外部サービスを認証しているため、例えば、外部サービス(Webアプリ)による情報処理装置の利用はしないが、外部サービス(Webアプリ)にアクセスして画面情報を取得するというようなことができなかった。また、Webブラウザーから外部サービスにアクセスすることを想定した場合、閲覧だけを行うWebページ(例えば、企業のポータルサイト)にアクセスできないという課題があった。
本発明は、上記問題に鑑みてなされたものである。外部サービスへのアクセスは可能にしながら、外部サービスによる情報処理装置の利用を管理することを、本発明の目的とする。
In the method disclosed in Patent Document 1, since the external service is authenticated when accessing the external service, for example, the information processing device is not used by the external service (Web application), but the external service (Web) is used. I couldn't access the app) to get screen information. Further, when it is assumed that an external service is accessed from a Web browser, there is a problem that a Web page (for example, a corporate portal site) that is only viewed cannot be accessed.
The present invention has been made in view of the above problems. An object of the present invention is to control the use of an information processing device by an external service while enabling access to the external service.

上記目的を達成するために本発明は以下の構成を有する。
すなわち、接続された外部のサーバーに対してサービスを要求できるサービス要求手段と、
前記外部のサーバーによる要求に応じて、サービスを前記外部のサーバーに提供するためのサービス提供手段と、
前記サービス提供手段によるサービスの提供を許可されたサービス要求元の識別情報を保持する、インストールおよびアンインストールが可能に構成された保持手段と
を有し、
前記サービス提供手段は、サービス要求元にサービスの提供が許可されているかを、前記保持手段により保持された識別情報を参照して判定し、許可されていると判定した場合に、要求されたサービスを提供し、
前記サービス要求手段は、さらに、外部のサーバーにアクセスして表示画面情報を取得して表示することを特徴とする情報処理装置が提供される
In order to achieve the above object, the present invention has the following configuration.
That is, a service requesting means that can request a service from a connected external server,
As required by the external server, and service providing means for providing a service to the external server,
It has a holding means configured to be installable and uninstallable, which holds the identification information of the service requester authorized to provide the service by the service providing means.
The service providing means determines whether or not the service requester is permitted to provide the service by referring to the identification information held by the holding means, and if it is determined that the service is permitted, the requested service. Provide,
The service requesting means further provides an information processing device characterized by accessing an external server to acquire and display display screen information.

本発明によれば、外部サービスを変更せずに、外部サービスによる情報処理装置の利用を、情報処理装置に紐づくライセンスに基づき、管理できる。 According to the present invention, the use of the information processing device by the external service can be managed based on the license associated with the information processing device without changing the external service.

本発明の好適な実施の形態に係る画像処理装置の一例であるMFPを備えるネットワークシステムを構成する図である。It is a figure which constructs the network system which includes the MFP which is an example of the image processing apparatus which concerns on a preferred embodiment of this invention. 画像処理装置(MFP)の装置構成例を示すブロック図である。It is a block diagram which shows the apparatus configuration example of an image processing apparatus (MFP). 本発明の好適な実施の形態に係るソフトウェア構成を示すブロック図である。It is a block diagram which shows the software structure which concerns on the preferred embodiment of this invention. 本発明の好適な実施の形態に係る画像処理装置とWebサーバーのソフトウェア構成例を示すブロック図である。It is a block diagram which shows the software configuration example of the image processing apparatus and the Web server which concerns on a preferred embodiment of this invention. 本発明の好適な実施の形態に係る画像処理装置とWebサーバーのソフトウェア構成例を示すブロック図である。It is a block diagram which shows the software configuration example of the image processing apparatus and the Web server which concerns on a preferred embodiment of this invention. 本発明の好適な実施の形態に係る画像処理システムのシーケンス図である。It is a sequence diagram of the image processing system which concerns on a preferred embodiment of this invention. 本発明の第一の実施の形態におけるサービスプロバイダーの基本フローである。It is a basic flow of a service provider in the first embodiment of the present invention. 本発明の第二の実施の形態におけるサービスプロバイダーの基本フローである。It is a basic flow of a service provider in the second embodiment of the present invention. 本発明の好適な実施の形態に係るアプリケーションの構造の一例を示す図である。It is a figure which shows an example of the structure of the application which concerns on a preferred embodiment of this invention. 本発明の好適な実施の形態に係るライセンスファイルの一例を示す図である。It is a figure which shows an example of the license file which concerns on the preferred embodiment of this invention. 本発明の好適な実施の形態に係るアプリケーションのインストール処理のフローチャートである。It is a flowchart of the installation process of the application which concerns on a preferred embodiment of this invention. 本発明の第三の実施の形態に係るアプリケーションの構造の一例を示す図である。It is a figure which shows an example of the structure of the application which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態に係る画像処理システムのシーケンス図である。It is a sequence diagram of the image processing system which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態に係る画像処理システムのシーケンス図である。It is a sequence diagram of the image processing system which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態に係る画像処理システムのシーケンス図である。It is a sequence diagram of the image processing system which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態におけるサービスプロバイダーの基本フローである。It is a basic flow of a service provider in the third embodiment of the present invention. 本発明の第三の実施の形態に係るMFPの操作部に表示されるGUIの一例を示す図である。It is a figure which shows an example of GUI displayed in the operation part of the MFP which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態に係るMFPにおける処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing in the MFP which concerns on 3rd Embodiment of this invention. 本発明の第三の実施の形態に係るMFPのアプリケーション及びソフトウェアモジュールの構成を示す図である。It is a figure which shows the structure of the application and software module of the MFP which concerns on 3rd Embodiment of this invention.

以下に、本発明を実施するための形態について図面を用いて説明する。ただし、この実施の形態に記載されている構成要素はあくまで例示であり、この発明の範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. However, the components described in this embodiment are merely examples, and the scope of the present invention is not limited to them.

[第一の実施形態]
<システム構成例>
図1は、本発明の好適な実施の形態に係る情報処理装置(すなわちコンピューター)である画像処理装置を備える画像処理システムを構成する図である。図1中、Webサーバー100は、外部サービスを提供する情報処理装置である。このWebサーバー100には、サービスとしてのWebアプリケーション1001を有する。すなわち、Webサーバー100はアプリケーションサービスを提供するアプリケーションサーバーということもできる。このアプリケーションサービスは、たとえばMFP110の機能を拡張するようなサービスである。Webアプリケーション1001は、後述のWebブラウザーの指示により、Webブラウザーにコンテンツ情報を送付する。ライセンスサーバー101は、アプリケーションのライセンスを管理する情報処理装置である。ライセンスサーバー101はアプリケーションの情報、アプリケーションに割り当てられているプロダクトキー及びアプリケーションを有効化するライセンスファイルを、図示しない記憶部に保持する。さらにライセンスサーバー101はネットワーク120を介し、図示しない情報処理装置からライセンスファイルの要求を受け付ける手段を有し、要求に応じて要求元にライセンスファイルを送付する機能を有する。管理装置102は画像処理システムの管理を司る情報処理装置である。画像処理システムの管理者は、管理装置102を用い、MFP110の設定・管理や、アプリケーションのインストールを行う。
[First Embodiment]
<System configuration example>
FIG. 1 is a diagram constituting an image processing system including an image processing device which is an information processing device (that is, a computer) according to a preferred embodiment of the present invention. In FIG. 1, the Web server 100 is an information processing device that provides an external service. The Web server 100 has a Web application 1001 as a service. That is, the Web server 100 can also be said to be an application server that provides an application service. This application service is, for example, a service that extends the functions of the MFP 110. The Web application 1001 sends content information to the Web browser according to the instructions of the Web browser described later. The license server 101 is an information processing device that manages application licenses. The license server 101 holds application information, a product key assigned to the application, and a license file that activates the application in a storage unit (not shown). Further, the license server 101 has a means for receiving a request for a license file from an information processing device (not shown) via the network 120, and has a function of sending the license file to the request source in response to the request. The management device 102 is an information processing device that controls the management of the image processing system. The administrator of the image processing system uses the management device 102 to set and manage the MFP 110 and install the application.

MFP(複合周辺装置)110は画像形成装置あるいは画像処理装置であり、各種アプリケーションをインストールすることが可能なデバイスである。本実施形態では画像処理装置或いは画像形成装置としているが、各種アプリケーションが動作可能なあらゆる情報処理装置が、本実施形態におけるデバイスになり得る。本実施形態では、説明の簡便のため、プリンター、画像スキャナ等の複数の機能を持つ複合機(MFP)をデバイスの例とする。以降の説明において、MFPとはアプリケーションをインストールする画像処理装置を指す。ネットワーク120はインターネットなどのネットワークである。MFP110は、ネットワーク120を介して、Webサーバー100、管理装置102や図示しない情報処理装置と接続される。 The MFP (multifunction peripheral device) 110 is an image forming device or an image processing device, and is a device on which various applications can be installed. Although the image processing device or the image forming device is used in the present embodiment, any information processing device capable of operating various applications can be the device in the present embodiment. In the present embodiment, for the sake of simplicity of explanation, a multifunction device (MFP) having a plurality of functions such as a printer and an image scanner is used as an example of a device. In the following description, the MFP refers to an image processing device in which an application is installed. The network 120 is a network such as the Internet. The MFP 110 is connected to the Web server 100, the management device 102, and an information processing device (not shown) via the network 120.

図2はMFP110の装置構成例を示すブロック図である。図2において、制御部208は、CPU210、ROM211、及びRAM212を含み、MFP110全体の動作を制御する。CPU210は、ROM211に記憶された制御プログラムを読み出して読取制御や送信制御などの各種制御処理を実行する。RAM212は、CPU210の主メモリ、ワークエリア等の一時記憶領域として用いられる。また、制御部208は、機能部201と接続され、操作表示部202、スキャナ部203、及びプリンター部204の動作を制御する。また制御部208はまた、Webブラウザーなど、インストールされたアプリケーションプログラム(デバイスアプリあるいは単にアプリと呼ぶ。)を実行する。 FIG. 2 is a block diagram showing an example of a device configuration of the MFP 110. In FIG. 2, the control unit 208 includes the CPU 210, the ROM 211, and the RAM 212, and controls the operation of the entire MFP 110. The CPU 210 reads the control program stored in the ROM 211 and executes various control processes such as read control and transmission control. The RAM 212 is used as a temporary storage area such as a main memory and a work area of the CPU 210. Further, the control unit 208 is connected to the function unit 201 and controls the operations of the operation display unit 202, the scanner unit 203, and the printer unit 204. The control unit 208 also executes an installed application program (referred to as a device application or simply an application) such as a Web browser.

操作表示部202には、タッチパネル機能を有する液晶等の表示部やキーボード等が配置されている。操作表示部202には、Webブラウザー等の画面が表示される。プリンター部204は、制御部208から出力された画像データを印刷する。スキャナ部203は、原稿の画像を読み取って画像データを生成し、制御部208に出力する。インターフェース部206は、制御部208をネットワーク120に接続して外部の情報処理装置(不図示)から印刷用の画像データを受信したり、操作表示部202で表示する画面データを受信したりする。HDD209は、画像データや各種プログラムを記憶する。なお、外部の情報処理装置から受信した印刷用の画像データは、画像メモリ207に一時的に格納され、制御部208を介してプリンター部204により印刷される。 The operation display unit 202 is arranged with a display unit such as a liquid crystal having a touch panel function, a keyboard, and the like. A screen of a Web browser or the like is displayed on the operation display unit 202. The printer unit 204 prints the image data output from the control unit 208. The scanner unit 203 reads the image of the original, generates image data, and outputs the image data to the control unit 208. The interface unit 206 connects the control unit 208 to the network 120 to receive image data for printing from an external information processing device (not shown) or screen data to be displayed on the operation display unit 202. HDD 209 stores image data and various programs. The image data for printing received from the external information processing device is temporarily stored in the image memory 207 and printed by the printer unit 204 via the control unit 208.

<MFP110のソフトウェア構成>
図3(a)は、本実施形態におけるMFP110のソフトウェア構造の一例を示す図である。図3(a)に示される各ソフトウェアは、ROM211あるいはHDD209に格納され、CPU210によって実行されるものとする。
OS(Operation System)層301は、一般的にはリアルタイムOSが使用されるが、Linux(登録商標)等の汎用OSを用いても良い。
JavaVM302は、Java(登録商標)などの仮想マシンであり、アプリケーションの実行環境を提供する。
アプリケーションフレームワーク303は、アプリケーションのライフサイクルを管理する機能を提供する。Native機能部304は、MFP110に組み込まれた機能を提供する。インターフェース部206を介して受信した印刷データに基づき、プリンター部204で印刷を行う機能がNative機能の一例である。インストールされたアプリケーションは、MFP110により提供されるネイティブ機能304を利用できる。図3(a)の例では、アプリケーションとして、Webブラウザー305、インストーラサービス306、連携許可アプリケーション307、サービスプロバイダー308がインストールされている。インストールされたアプリケーションは、必要に応じてアンインストールすることもできる。
Webブラウザー部305(Webブラウザー305とも呼ぶ。)は、MFP110に搭載されたウェブブラウザーを機能させるものである。Webブラウザー部305は、操作表示部202にハイパーテキスト型の情報を表示したり、操作表示部202から入力された操作情報等をWebサーバー100へ送信する等を行うことができる。また、Webブラウザー部305は、Webサーバー100から受信したスクリプトを実行することもできる。このようにWebブラウザー部305は、Webサーバー100や図示しない情報処理装置から受信したHTMLファイルを解析し、解析したHTMLファイルの記述に基づく操作画面を操作表示部202に表示する。また、Webブラウザー部305は、そのリクエスト先をWebアプリケーション1001とすることで、Webアプリケーション1001に対してサービス要求するサービス要求元となる。
<Software configuration of MFP110>
FIG. 3A is a diagram showing an example of the software structure of the MFP 110 according to the present embodiment. It is assumed that each software shown in FIG. 3A is stored in the ROM 211 or the HDD 209 and executed by the CPU 210.
As the OS (Operation System) layer 301, a real-time OS is generally used, but a general-purpose OS such as Linux (registered trademark) may be used.
JavaVM302 is a virtual machine such as Java (registered trademark), and provides an application execution environment.
The application framework 303 provides a function of managing the life cycle of an application. The Native function unit 304 provides a function incorporated in the MFP 110. An example of the Native function is a function of printing with the printer unit 204 based on the print data received via the interface unit 206. The installed application can utilize the native function 304 provided by the MFP 110. In the example of FIG. 3A, a Web browser 305, an installer service 306, a cooperation permission application 307, and a service provider 308 are installed as applications. The installed application can also be uninstalled if necessary.
The Web browser unit 305 (also referred to as a Web browser 305) functions the Web browser mounted on the MFP 110. The Web browser unit 305 can display hypertext type information on the operation display unit 202, transmit the operation information or the like input from the operation display unit 202 to the Web server 100, and the like. The Web browser unit 305 can also execute the script received from the Web server 100. In this way, the Web browser unit 305 analyzes the HTML file received from the Web server 100 or the information processing device (not shown), and displays the operation screen based on the description of the analyzed HTML file on the operation display unit 202. Further, the Web browser unit 305 becomes a service request source for requesting a service to the Web application 1001 by setting the request destination to the Web application 1001.

インストーラサービス306は、複数のアプリケーションを、アプリケーションフレームワーク303に登録することでインストール処理を行う。インストールされたアプリケーションを有効化するためには、MFP110へのライセンスファイルのインストールを必要とする。ライセンスファイルをインストールしないとアプリケーションは、図示しないアプリケーション管理機能によって動作を停止させられる。インストーラサービス306は、このライセンスのインストールも行う。ライセンスファイルはライセンスサーバー101により発行される。ライセンスファイルには、対象アプリケーションの識別情報と、アプリケーションのインストール先のMFPを識別する情報を埋め込む。MFPを識別する情報とは、例えばMFPのシリアル番号である。他のMFPに対して同じアプリケーションをインストールするには、該当するMFPの識別情報を埋め込んだライセンスファイルのインストールが必要となる。これにより、ソフトウェアの無断複製が防止可能となっている。 The installer service 306 performs an installation process by registering a plurality of applications in the application framework 303. In order to activate the installed application, it is necessary to install the license file on the MFP110. If the license file is not installed, the application will be stopped by an application management function (not shown). The installer service 306 also installs this license. The license file is issued by the license server 101. Embed the identification information of the target application and the information that identifies the MFP in which the application is installed in the license file. The information that identifies the MFP is, for example, the serial number of the MFP. To install the same application on another MFP, you need to install a license file that embeds the identification information of the corresponding MFP. This makes it possible to prevent unauthorized duplication of software.

連携許可アプリケーション307は、インストーラサービス306によってインストールされたアプリケーションであり、MFP110上で様々な機能を提供する。連携許可アプリケーション307はMFP110の外部からダウンロードしてインストールすることが可能である。連携許可アプリケーション307は、操作表示部202を介してユーザーとやり取りを行うことが可能である。また、連携許可アプリケーション307は、Native機能部304を介して、スキャナ部204を使って画像データを生成することも可能である。
サービスプロバイダー308は、Webブラウザー305を介して指示されたジョブの実行を制御する。例えば、Webブラウザー305を介して印刷の指示を受けると、サービスプロバイダー308は、Native機能部304を介し、プリンター部204の制御を行い、印刷ジョブの実行を行うことができる。このようにサービスプロバイダー308は、MFP110の外部たとえばWebアプリケーション1001に対してMFP110の機能をサービス提供するサービス提供部である。
The cooperation permission application 307 is an application installed by the installer service 306 and provides various functions on the MFP 110. The cooperation permission application 307 can be downloaded and installed from the outside of the MFP 110. The cooperation permission application 307 can communicate with the user via the operation display unit 202. In addition, the cooperation permission application 307 can also generate image data using the scanner unit 204 via the Native function unit 304.
The service provider 308 controls the execution of the job instructed via the Web browser 305. For example, upon receiving a print instruction via the Web browser 305, the service provider 308 can control the printer unit 204 and execute the print job via the Native function unit 304. As described above, the service provider 308 is a service providing unit that provides the function of the MFP 110 to the outside of the MFP 110, for example, the Web application 1001.

なお、本実施形態では、JavaVM302、アプリケーションフレームワーク303、インストーラサービス306、Webブラウザー305、連携許可アプリケーション307、サービスプロバイダー308はHDD209に格納されているものとする。また、Native機能304はROM210に格納されているものとする。 In the present embodiment, it is assumed that the JavaVM 302, the application framework 303, the installer service 306, the Web browser 305, the cooperation permission application 307, and the service provider 308 are stored in the HDD 209. Further, it is assumed that the Native function 304 is stored in the ROM 210.

図4−1(a)は、本発明の第一の実施例における画像処理装置(MFP)とWebサーバーのソフトウェア構成例を示すブロック図である。図4−1(a)記載の各機能部は、MFP110が有しているCPU210や、Webサーバー100が有している図示しないCPUが制御プログラムを実行することにより実現される。なお、以下では、画像処理システム特に画像処理装置のソフトウェア構成について説明するが、これらの機能ブロックはハードウェアや、ハードウェアとソフトウェアの組み合わせによって実現されてもよい。 FIG. 4-1 (a) is a block diagram showing a software configuration example of an image processing device (MFP) and a Web server according to the first embodiment of the present invention. Each functional unit shown in FIG. 4-1 (a) is realized by executing a control program by a CPU 210 included in the MFP 110 or a CPU (not shown) included in the Web server 100. In the following, the software configuration of the image processing system, particularly the image processing device, will be described, but these functional blocks may be realized by hardware or a combination of hardware and software.

Webブラウザー305及びサービスプロバイダー308及び連携許可アプリケーション307のそれぞれは、MFP110が有しているCPU201が制御プログラムを実行することにより実現される。なお、Webブラウザー305とWebサーバー100とは、プロトコルを共有してコンテンツの要求/提供が可能なものであれば他のプロトコルに従うクライアント/サーバーであってもよい。すなわち、Webサーバー100のコンテンツを表示するものに限定するものではない。同様に、Webサーバー100もHTTPプロトコルに従ってリクエスト/レスポンスを送受信するWebサーバーに限定するものではない。したがって、Webブラウザー305は、サーバーと通信を行うことによってコンテンツを取得し、画面に表示するといった機能を有するクライアントであればよい。ここで、コンテンツとは、MFP110が操作表示部202に表示する表示画面の情報を示す。 Each of the Web browser 305, the service provider 308, and the cooperation permission application 307 is realized by the CPU 201 of the MFP 110 executing the control program. The Web browser 305 and the Web server 100 may be clients / servers that follow other protocols as long as they can request / provide content by sharing the protocol. That is, it is not limited to displaying the contents of the Web server 100. Similarly, the Web server 100 is not limited to the Web server that sends and receives requests / responses according to the HTTP protocol. Therefore, the Web browser 305 may be a client having a function of acquiring content by communicating with the server and displaying it on the screen. Here, the content indicates information on the display screen displayed on the operation display unit 202 by the MFP 110.

Webブラウザー305は、通信部421、解析部422、及び画面表示部423を備える。通信部421は、HTTPプロトコルに従って、Webサーバー100のWebアプリケーション110におけるプレゼンテーション部411と通信を行う。より具体的には、通信部421は、Webブラウザー305で表示した操作画面を介して入力される情報をWebアプリケーション110に対するリクエストとして送信する。また、通信部421は、Webアプリケーション110から送信されるレスポンス(処理結果)を受信する。Webブラウザー305がリクエスト送信およびレスポンス受信を行っている相手先であるWebアプリケーション110のアドレス(URL)はWebブラウザー305内部で保持している。相手のURLは、インストール済のアプリケーションや後述のサービスプロバイダー308からの求めに応じ、いつでも提供可能とする。 The Web browser 305 includes a communication unit 421, an analysis unit 422, and a screen display unit 423. The communication unit 421 communicates with the presentation unit 411 in the Web application 110 of the Web server 100 according to the HTTP protocol. More specifically, the communication unit 421 transmits the information input via the operation screen displayed by the Web browser 305 as a request to the Web application 110. In addition, the communication unit 421 receives the response (processing result) transmitted from the Web application 110. The address (URL) of the Web application 110, which is the destination to which the Web browser 305 sends a request and receives a response, is held inside the Web browser 305. The URL of the other party can be provided at any time in response to a request from the installed application or the service provider 308 described later.

解析部422は、Webアプリケーション1001から受信したレスポンスを解析する。レスポンスの中にはWebブラウザー305に表示すべき操作画面の内容を示す記述であるHTMLデータが含まれている。画面表示部423は、表示制御手段として機能し、解析部422によるHTMLデータ(表示画面情報)の解析結果に基づいて、操作表示部202にHTMLデータやスクリプト等に応じた画面を表示する。 The analysis unit 422 analyzes the response received from the Web application 1001. The response includes HTML data that is a description indicating the content of the operation screen to be displayed on the Web browser 305. The screen display unit 423 functions as a display control means, and displays a screen corresponding to the HTML data, a script, or the like on the operation display unit 202 based on the analysis result of the HTML data (display screen information) by the analysis unit 422.

サービスプロバイダー308は、通信部431、ジョブ生成部432、コンテンツ生成部433、及び許可URL検証部434を備える。通信部431は、Webアプリケーション1001内のロジック部412から処理依頼を受け付ける。また、通信部431は、MFP110の通信部421からリクエストを受けた場合、後述のコンテンツ生成部433によって生成されたコンテンツ情報(HTMLデータ)をレスポンスとして返す。ジョブ生成部432は、通信部431が受け付けた処理依頼を受け取り、依頼された処理を実行するためのジョブを生成して実行する。コンテンツ生成部433は、通信部431がMFP110の通信部421からリクエストを受けた場合に、Webブラウザー305が画面表示を行うためのコンテンツ情報(HTMLデータ)を生成する。また、コンテンツ生成部433は、動的にコンテンツを生成せず、HDD209等の記憶装置に予め記憶したコンテンツを参照して使用してもよい。許可URL検証部434は、通信部431が処理依頼を受けたときに、依頼元のURLが後述の許可URLと一致するか判定し、一致する場合はジョブ生成部432にジョブの生成を許可する。一致しない場合は、ジョブの生成を許可しない。 The service provider 308 includes a communication unit 431, a job generation unit 432, a content generation unit 433, and a permission URL verification unit 434. The communication unit 431 receives a processing request from the logic unit 412 in the Web application 1001. Further, when the communication unit 431 receives a request from the communication unit 421 of the MFP 110, the communication unit 431 returns the content information (HTML data) generated by the content generation unit 433 described later as a response. The job generation unit 432 receives the processing request received by the communication unit 431, and generates and executes a job for executing the requested processing. The content generation unit 433 generates content information (HTML data) for the Web browser 305 to display the screen when the communication unit 431 receives a request from the communication unit 421 of the MFP 110. Further, the content generation unit 433 may refer to and use the content stored in advance in a storage device such as HDD 209 without dynamically generating the content. When the communication unit 431 receives the processing request, the permission URL verification unit 434 determines whether the URL of the request source matches the permission URL described later, and if it matches, permits the job generation unit 432 to generate a job. .. If they do not match, do not allow job generation.

連携許可アプリケーション307は、MFP110にインストールされたアプリケーションである。連携許可アプリケーション307は、サービスプロバイダー308によるジョブ生成を管理するためにMFP110にインストールされた。連携許可アプリケーション307が有する許可URL441の情報は、他のアプリケーションやサービスプロバイダー308から参照可能な情報であり、許可URL検証部434によって、ジョブの生成許可の判断基準として使われる。これはMFP110の資源を利用する権限を有するWebアプリケーションの識別情報といってもよいし、その利用を認める許可情報といってもよい。 The cooperation permission application 307 is an application installed in the MFP 110. The federation authorization application 307 was installed on the MFP 110 to manage job generation by the service provider 308. The information of the permission URL 441 possessed by the cooperation permission application 307 is information that can be referred to by another application or the service provider 308, and is used by the permission URL verification unit 434 as a criterion for determining the permission to generate a job. This may be the identification information of the Web application having the authority to use the resources of the MFP 110, or may be the permission information for permitting the use thereof.

<ファイルの内容>
次に図8を用いて、アプリケーションファイルについて説明する。アプリケーションファイルとは、アプリケーションプログラムのファイル(圧縮済みでもよい)およびそのメタデータファイルを含むファイルである。図8において、アプリケーションファイル800は、CABファイルや、JAR(Java(登録商標)ARchive)ファイル、ZIPファイルのように複数のファイルを圧縮した1ファイルで構成されている。アプリケーションファイル800の内部にはマニフェストファイル801、およびアプリケーションプログラム802が含まれる。マニフェストファイル801には、アプリケーション名や、本アプリケーションを一意に識別すためのアプリケーションID、バージョンなどのアプリケーション付属情報を記載する。マニフェストファイル801はインストーラサービス306によって、インストール時に読み込まれる。インストールされたアプリケーションのマニフェストファイル801に記載された情報は、アプリケーションフレームワーク303を介して、他のインストール済アプリケーションや、サービスプロバイダー308から参照可能とする。アプリケーションファイル800内のアプリケーションプログラム802は、第三者によるプログラムの改ざんなどを防止するため暗号化されている。アプリケーションファイル802は、CDなどの記録媒体や、インターネットなどのメディアを介して使用者に配布され、インストール対象のMFPで解読されて実行される。アプリケーションファイル802は復号されたのちにアプリケーションフレームワーク303上にインストールされる。
<File contents>
Next, the application file will be described with reference to FIG. An application file is a file that contains an application program file (which may be compressed) and its metadata file. In FIG. 8, the application file 800 is composed of one file obtained by compressing a plurality of files such as a CAB file, a JAR (Java (registered trademark) Archive) file, and a ZIP file. The manifest file 801 and the application program 802 are included in the application file 800. In the manifest file 801, information attached to the application such as the application name, the application ID for uniquely identifying the application, and the version is described. The manifest file 801 is read by the installer service 306 during installation. The information described in the manifest file 801 of the installed application can be referred to by other installed applications and the service provider 308 via the application framework 303. The application program 802 in the application file 800 is encrypted to prevent falsification of the program by a third party. The application file 802 is distributed to users via a recording medium such as a CD or a medium such as the Internet, and is decrypted and executed by the MFP to be installed. The application file 802 is decrypted and then installed on the application framework 303.

本実施形態では、マニフェストファイル801に記述する項目を下記のように定義する。
アプリケーション名8011は、アプケーションの名称を表す。
アプリケーションID8012は、アプリケーションを一意に特定するための識別子を表す。
アプリケーションタイプ8013は、アプリケーションの種別を表す。例えば、値100は、外部サービスからMFPの利用(連携)を許可するために用いられるアプリケーション、すなわち本実施形態における連携許可アプリケーション307を表す。
バージョン8014は、アプリケーションのバージョンを表す。
サービスホスト8015は、サービスを提供しているサーバーのアドレスをURL形式で表す。連携許可アプリケーション307に関しては、本項目に記載されたアドレスが許可URL441である。すなわち、本項目で示されるアドレスのサービスは、当該連携許可アプリケーション307がインストールされたMFPの利用を許可される。本項目はアプリケーション開発者によって、アプリケーション作成時に設定される。
In the present embodiment, the items described in the manifest file 801 are defined as follows.
The application name 8011 represents the name of the application.
The application ID 8012 represents an identifier for uniquely identifying the application.
Application type 8013 represents the type of application. For example, the value 100 represents an application used to permit the use (cooperation) of the MFP from an external service, that is, the cooperation permission application 307 in the present embodiment.
Version 8014 represents the version of the application.
The service host 8015 represents the address of the server providing the service in URL format. Regarding the cooperation permission application 307, the address described in this item is the permission URL 441. That is, the service at the address indicated in this item is permitted to use the MFP in which the cooperation permission application 307 is installed. This item is set by the application developer when the application is created.

図9(a)はアプリケーションを有効にするためにMFP110にインストールするライセンスファイルの一例を示す図である。本実施形態では、ライセンスファイルに記述する項目を以下のように定義する。
図9(a)中、ライセンスID901はライセンスを識別するためにユニークなIDを表す。ライセンスの種類には、起動回数や期間に制限のあるお試しライセンスや、同時起動等の機能に制限がある制限ライセンス、一切の制限のないライセンス等がある。
図9(a)中、アプリケーションID902には、ライセンスの設定対象であるアプリケーションを一意に識別するアプリケーションIDを表す。図9(a)中、有効期間903には本ライセンスが対象とするアプリケーションを使用可能な期間を表す。図9中、デバイスID904は、本ライセンスが対象とするアプリケーションがインストール可能なMFPを一意に識別するデバイスIDを表す。図9(a)中、復号化データ905は、ライセンス対象のアプリケーションの暗号化されたアプリケーションプログラム802を復号するための情報等が格納される。インストーラサービス304は、ライセンスファイル記載の情報に基づきアプリケーションが有効であるか無効であるかを判断する。以下の条件がすべて成り立つときは、アプリケーションのライセンスを有効にするものとする
・ライセンスファイル記載のアプリケーションID902と、対象アプリケーションのマニフェストファイル記載のアプリケーションID8102が一致する。
・ライセンスファイル記載の有効期間903が過ぎていない。
・ライセンスファイル記載のデバイスID904と、インストール対象のMFPから取得したデバイスIDが一致する。
FIG. 9A is a diagram showing an example of a license file installed on the MFP 110 in order to enable the application. In this embodiment, the items described in the license file are defined as follows.
In FIG. 9A, the license ID 901 represents a unique ID for identifying the license. Types of licenses include trial licenses with a limited number of activations and period, restricted licenses with restrictions on functions such as simultaneous activation, and licenses without any restrictions.
In FIG. 9A, the application ID 902 represents an application ID that uniquely identifies the application for which the license is set. In FIG. 9A, the validity period 903 represents the period during which the application covered by this license can be used. In FIG. 9, the device ID 904 represents a device ID that uniquely identifies the MFP on which the application covered by this license can be installed. In FIG. 9A, the decryption data 905 stores information and the like for decrypting the encrypted application program 802 of the licensed application. The installer service 304 determines whether the application is valid or invalid based on the information described in the license file. When all of the following conditions are satisfied, the license of the application shall be valid.-The application ID 902 described in the license file and the application ID 8102 described in the manifest file of the target application match.
-The validity period 903 described in the license file has not passed.
-The device ID 904 described in the license file matches the device ID obtained from the MFP to be installed.

<アプリケーションのインストール処理>
次に、図10を参照して、本実施形態におけるアプリケーションのインストール処理の一例について説明する。インストールするアプリケーションのインストールプログラムと、インストールに必要な各種設定値は管理者によって管理装置102に渡されているものとする。この手順でインストールされるアプリケーションには、たとえばサービスプロバイダー308や、Webブラウザー305、連携許可アプリケーション307なども含まれる。
S1000で、管理装置102はMFP110からデバイス識別情報を取得する。デバイス識別情報とは、画像処理装置を一意に識別する情報である。例えば、シリアル番号である。
次にS1001で、管理装置102はライセンスサーバー101にアプリケーション識別情報とデバイス識別情報とを送付する。アプリケーション識別情報とは、アプリケーションID、アプリケーション名、バージョン等である。
次にS1002で、ライセンスサーバー101は予め定められた方法に基づきライセンスファイルを管理装置102に送付する。ライセンスサーバーはS1001で受け取ったアプリケーション識別情報、デバイス識別情報を図9(a)中のアプリケーションID902、デバイスID904に設定し、ライセンスファイルを作成する。作成したライセンスファイルを管理装置102に送付する。
次にS1003で、管理装置102はアプリケーションのインストールプログラムと、S1002で取得したライセンスファイルとを、MFP110のインストーラサービス306に送付する。
次にS1004で、MFP110はインストールする。すなわち、MFP110のインストーラサービス306はS1003で受け取ったインストールプログラムを起動し、アプリケーションファイルを、アプリケーションフレームワーク303に登録する。
次にS1005でMFP110は、インストールしたアプリケーションをアクティベート(有効化)する。すなわち、MFP110のインストーラサービス306は、S1003で取得したライセンスファイル記載の情報と、MFP110のデバイス情報およびS1004でインストールしたアプリケーションの情報との比較を行う。例えば、S1003で取得したライセンスファイル記載のデバイスID905の値と、MFP110から取得したデバイスIDとが異なると、不正のインストールと見做し、アクティベートを失敗とする。アクティベート失敗のときは、アプリケーションフレームワーク303に登録済のアプリケーションは起動をすることができない。同様にS1003で取得したライセンスファイル記載のアプリケーションID903と、S1004でインストールしたアプリケーションのアプリケーションIDが異なるときも、アクティベート失敗とする。
S1005でアクティベートに成功したときはS1006で、MFP110は管理装置102にアクティベーション成功を返す。例えば、管理装置102の図示しないWebブラウザーにアプリケーションの成功を意味する情報を送付することで、管理装置102の図示しないWebブラウザーはインストール成功を管理装置102に通知する。
S1005でアクティベートに成功しなかったときはS1007で、MFP110は管理装置102にアクティベーション失敗を返す。例えば、管理装置102の図示しないWebブラウザーにアプリケーションの失敗を意味する情報を送付することで、ユーザーにインストール失敗を通知する。
Webブラウザーは通常、HTTPリクエストに対するレスポンスを受信する。このことから、管理装置102のWebブラウザーを用いる場合、たとえばS1003の直後にインストールが成功したか失敗したかを示すURLに対するリクエストを管理装置102がMFP110に送信し、それに対する応答としてインストールの失敗/成功を管理装置102に返すよう構成してもよい。また管理装置102にスクリプトを送信し、そのスクリプトによりインストールの失敗/成功を受信させてもよい。もちろんHTTPを用いずにインストール結果を通知してもよい。
<Application installation process>
Next, an example of the application installation process in the present embodiment will be described with reference to FIG. It is assumed that the installation program of the application to be installed and various setting values required for installation have been passed to the management device 102 by the administrator. The applications installed by this procedure include, for example, a service provider 308, a Web browser 305, a cooperation permission application 307, and the like.
In S1000, the management device 102 acquires device identification information from the MFP 110. The device identification information is information that uniquely identifies the image processing device. For example, a serial number.
Next, in S1001, the management device 102 sends the application identification information and the device identification information to the license server 101. The application identification information is an application ID, an application name, a version, or the like.
Next, in S1002, the license server 101 sends the license file to the management device 102 based on a predetermined method. The license server sets the application identification information and the device identification information received in S1001 to the application ID 902 and the device ID 904 in FIG. 9A, and creates a license file. The created license file is sent to the management device 102.
Next, in S1003, the management device 102 sends the application installation program and the license file acquired in S1002 to the installer service 306 of the MFP110.
Next, in S1004, the MFP 110 is installed. That is, the installer service 306 of the MFP 110 starts the installation program received in S1003 and registers the application file in the application framework 303.
Next, in S1005, the MFP 110 activates the installed application. That is, the installer service 306 of the MFP 110 compares the information described in the license file acquired in S1003 with the device information of the MFP 110 and the information of the application installed in S1004. For example, if the value of the device ID 905 described in the license file acquired in S1003 and the device ID acquired from the MFP 110 are different, it is regarded as an unauthorized installation and the activation fails. When the activation fails, the application registered in the application framework 303 cannot be started. Similarly, if the application ID 903 described in the license file acquired in S1003 and the application ID of the application installed in S1004 are different, the activation fails.
When the activation is successful in S1005, the MFP110 returns the activation success to the management device 102 in S1006. For example, by sending information indicating the success of the application to a Web browser (not shown) of the management device 102, the Web browser (not shown) of the management device 102 notifies the management device 102 of the success of the installation.
If the activation is not successful in S1005, the MFP110 returns the activation failure to the management device 102 in S1007. For example, the user is notified of the installation failure by sending information indicating the failure of the application to a Web browser (not shown) of the management device 102.
The web browser usually receives a response to the HTTP request. From this, when using the Web browser of the management device 102, for example, the management device 102 sends a request for a URL indicating whether the installation succeeded or failed immediately after S1003 to the MFP 110, and the installation failed / failed as a response. It may be configured to return success to management device 102. Further, a script may be sent to the management device 102, and the failure / success of the installation may be received by the script. Of course, the installation result may be notified without using HTTP.

そして、Webアプリケーション101によるサービスプロバイダー308等のデバイスアプリケーションの利用を許可する場合には、Webブラウザー305がWebアプリケーション101にアクセスするためのURLをマニフェストファイル800に記載した連携許可アプリケーション307が登録されている必要がある。連携許可アプリケーション307は、デバイスアプリケーションを利用するWebアプリケーションごとにひとつずつインストールされてもよいし、ひとつの連携許可アプリケーション307のマニフェストファイルに、デバイスアプリケーションを利用する1又は複数のWebアプリケーションのURLを記載してもよい。 Then, when permitting the use of the device application such as the service provider 308 by the Web application 101, the cooperation permission application 307 in which the URL for the Web browser 305 to access the Web application 101 is described in the manifest file 800 is registered. You need to be. The cooperation permission application 307 may be installed one by one for each Web application that uses the device application, or the URLs of one or more Web applications that use the device application are described in the manifest file of one cooperation permission application 307. You may.

<画像処理装置における手順>
次に、図5を参照して、本実施形態における画像処理装置における一連の処理について説明する。本シーケンスは、MFP110のWebブラウザー305がユーザーによって起動されることにより開始される。なお、Webブラウザー305とHTTPリクエスト/レスポンスを交換するのはWebサーバー100であり、Webアプリケーション1001はWebサーバー100を介してリクエスト/レスポンスをWebブラウザーと交換する。しかし図5ではWebサーバー100の介在は省略し、Webブラウザー305はWebアプリケーション1001と直接通信しているかのように記載し、また説明する。まず、S500において、Webブラウザー305は、HTTPリクエストをWebサーバー100のWebアプリケーション1001に行う。このときHTTPリクエストの宛先はWebアプリケーション1001ごとに決められたWebアプリケーション対応URLである。リクエストを受けたWebアプリケーション1001は、S501において、Webブラウザー305で表示する画面のHTMLコンテンツ(表示画面情報)をHTTPレスポンスとして返す。例えば、HTTPリクエストが印刷設定画面の要求である場合は、Webアプリケーション1001は、スキャン設定画面表示用のHTMLをレスポンスする。
ユーザーがWebブラウザー305により操作表示部202に表示されたコンテンツを操作すると、S502において、Webブラウザー305は、当該操作に従ってWebアプリケーション1001に対して、サービスプロバイダー308への機能実行を要求するHTTPリクエストを送信する。ここで、例えば、コンテンツの操作としてユーザーがスキャン実行ボタンを押下したのであれば、スキャンの実行を要求するHTTPリクエストをWebブラウザー305はWebアプリケーション対応URLを宛先として送信する。そのリクエストに応じてWebアプリケーション1001は、Webブラウザー305によりスキャンの実行を要求されたと判断する。リクエストには、要求された機能を実行するMFPのサービスプロバイダー308の宛先を示す情報が含まれていてもよい。
<Procedure in image processing device>
Next, a series of processes in the image processing apparatus according to the present embodiment will be described with reference to FIG. This sequence is started when the Web browser 305 of the MFP 110 is started by the user. It is the Web server 100 that exchanges the HTTP request / response with the Web browser 305, and the Web application 1001 exchanges the request / response with the Web browser via the Web server 100. However, in FIG. 5, the intervention of the Web server 100 is omitted, and the Web browser 305 is described and described as if it is directly communicating with the Web application 1001. First, in S500, the Web browser 305 makes an HTTP request to the Web application 1001 of the Web server 100. At this time, the destination of the HTTP request is the Web application corresponding URL determined for each Web application 1001. The Web application 1001 that has received the request returns the HTML content (display screen information) of the screen displayed by the Web browser 305 as an HTTP response in S501. For example, when the HTTP request is a request for the print setting screen, the Web application 1001 responds with HTML for displaying the scan setting screen.
When the user operates the content displayed on the operation display unit 202 by the Web browser 305, in S502, the Web browser 305 requests the Web application 1001 to execute the function to the service provider 308 according to the operation. Send. Here, for example, if the user presses the scan execution button as an operation of the content, the Web browser 305 sends an HTTP request requesting the execution of the scan to the URL corresponding to the Web application. In response to the request, the Web application 1001 determines that the Web browser 305 has requested the execution of the scan. The request may include information indicating the destination of the service provider 308 of the MFP performing the requested function.

S503において、Webアプリケーション1001は、Webブラウザー305に対して、画面表示用のHTMLコンテンツをレスポンスする。ここでレスポンスするコンテンツは、処理実行中をユーザーに知らせるHTMLコンテンツである。
S504において、Webアプリケーション1001は、サービスプロバイダー308に機能実行指示を行う。例えば、S502でユーザーによってスキャン実行の指示をされた場合は、サービスプロバイダー305にスキャンの指示を行う。この機能実行指示の送信は、ロジック部412とサービスプロバイダー308との間であるので、HTTPでなくともよい。あるいはサービスプロバイダー308にWebサーバー機能を持たせ、HTTPリクエストとして送信してもよい。また、Webアプリケーション1001はMFP110による要求に応じてアプリケーションサービスを提供するので、Webアプリケーション1001がMFPによるサービスを必要とする場合には、アプリケーションサービスの要求元のMFPに対してサービスを要求するものとする。すなわち、Webアプリケーション1001に対するサービス要求元のMFPが、Webアプリケーション1001によるサービス要求先のMFPとなる。
S505において、サービスプロバイダー308は、Webブラウザー305から接続URLを取得する。すなわち、直前のS503でレスポンスを送信したWebアプリケーション1001のURLを取得する。
次にS506において、サービスプロバイダー308は、連携許可アプリケーション307が保持する許可URLを取得する。
次にS507において、サービスプロバイダー308は、S505およびS506で取得したURLが一致するか判定する。
S507で一致すると判定したときはS508において、サービスプロバイダー308はジョブを実行する。例えば、S502でユーザーによってスキャン実行の指示をされた場合は、スキャンのジョブを生成し、スキャンを実行する。スキャンにより生成された画像データは、ジョブ実行要求に応じて、たとえばWebアプリケーション101に送信されたり、あるいはMFP110の格納部に格納されたりする。
S507で一致すると判定しなかったときはS509において、サービスプロバイダー308は、Webアプリケーション1001にエラーを通知する。例えば、ライセンス違反を意味するエラーコード情報を、予め定められた方法で通知する。
In S503, the Web application 1001 responds to the Web browser 305 with HTML content for screen display. The content that responds here is HTML content that informs the user that processing is being executed.
In S504, the Web application 1001 gives a function execution instruction to the service provider 308. For example, when the user instructs the service provider 305 to execute the scan in S502, the service provider 305 is instructed to perform the scan. Since the transmission of the function execution instruction is between the logic unit 412 and the service provider 308, it does not have to be HTTP. Alternatively, the service provider 308 may be provided with a Web server function and transmitted as an HTTP request. Further, since the Web application 1001 provides the application service in response to the request by the MFP 110, when the Web application 1001 requires the service by the MFP, the service is requested from the MFP that requests the application service. To do. That is, the MFP of the service request source for the Web application 1001 becomes the MFP of the service request destination by the Web application 1001.
In S505, the service provider 308 acquires the connection URL from the Web browser 305. That is, the URL of the Web application 1001 that transmitted the response in S503 immediately before is acquired.
Next, in S506, the service provider 308 acquires the permission URL held by the cooperation permission application 307.
Next, in S507, the service provider 308 determines whether the URLs acquired in S505 and S506 match.
When it is determined in S507 that they match, the service provider 308 executes the job in S508. For example, when the user instructs S502 to execute the scan, a scan job is generated and the scan is executed. The image data generated by the scan is transmitted to, for example, the Web application 101, or is stored in the storage unit of the MFP 110, depending on the job execution request.
If it is not determined in S507 that they match, the service provider 308 notifies the Web application 1001 of an error in S509. For example, error code information indicating a license violation is notified by a predetermined method.

上記例では機能としてスキャンを用いたが、サービスプロバイダー308を介してWebアプリケーション101に対して提供される機能であればどのような機能にも上記手順は適用可能である。 In the above example, scanning is used as a function, but the above procedure can be applied to any function provided to the Web application 101 via the service provider 308.

<サービスプロバイダーによる処理手順>
次に、図6を用いてサービスプロバイダー308の基本フローを説明する。なお、以下で説明する処理は、CPU210でHDD209等の記憶装置から読みだしたプログラムを実行することで実現される。
S601で、サービスプロバイダー308は、Webアプリケーション1001からジョブ実行の指示を受け付ける(図5のS504に相当)。ジョブに関する詳細情報は、Webアプリケーションからサービスプロバイダー308に適宜伝わっているものとする。
次にS602で、サービスプロバイダー308は、Webブラウザー305から接続先URLを取得する。本ステップは図5におけるS505に相当する。
次にS603で、サービスプロバイダー308は、連携許可アプリケーション307から許可URLを取得する。本ステップは図5におけるS506に相当する。
S604で、サービスプロバイダー308は、URLが一致するか判断する。すなわち、S602およびS603で取得した2つのURLが同じ場合は、URLが一致すると判断する。本ステップは図5におけるS507に相当する。
S604でURLが一致すると判断したときは、S605でサービスプロバイダー308は、ジョブを実行する。すなわちS601でWebアプリケーション1001から指示されたジョブを実行する。本ステップは図5におけるS508に相当する。
S604でURLが一致しないと判断したときは、S606でサービスプロバイダー308は、Webアプリケーション101に対してエラー通知する。すなわち、S601で受け付けたジョブ実行指示の送付元であるWebアプリケーション1001に、予め定められた方法を用いてエラー情報を通知する。本ステップは図5におけるS509に相当する。
<Processing procedure by service provider>
Next, the basic flow of the service provider 308 will be described with reference to FIG. The process described below is realized by executing the program read from the storage device such as HDD 209 by the CPU 210.
In S601, the service provider 308 receives a job execution instruction from the Web application 1001 (corresponding to S504 in FIG. 5). It is assumed that the detailed information about the job is appropriately transmitted from the Web application to the service provider 308.
Next, in S602, the service provider 308 acquires the connection destination URL from the Web browser 305. This step corresponds to S505 in FIG.
Next, in S603, the service provider 308 acquires the permission URL from the cooperation permission application 307. This step corresponds to S506 in FIG.
In S604, the service provider 308 determines if the URLs match. That is, when the two URLs acquired in S602 and S603 are the same, it is determined that the URLs match. This step corresponds to S507 in FIG.
When it is determined in S604 that the URLs match, the service provider 308 executes the job in S605. That is, the job instructed by the Web application 1001 is executed in S601. This step corresponds to S508 in FIG.
When it is determined in S604 that the URLs do not match, the service provider 308 notifies the Web application 101 of an error in S606. That is, the error information is notified to the Web application 1001 which is the sender of the job execution instruction received in S601 by using a predetermined method. This step corresponds to S509 in FIG.

以上説明したように、第一の実施の形態における画像処理システムでは、Webアプリケーションからの画像処理装置の利用を簡単に管理できる。すなわち、Webアプリケーションから画像処理装置へのジョブ実行指示があった場合、該当WebアプリケーションのURLを持つ連携許可アプリケーションがインストール済の場合に限り、ジョブを実行することができる。特定のWebアプリケーションに画像処理装置の利用を許可したいときは、該当WebアプリケーションのURLを持つ連携許可アプリケーションをインストールすることで利用許可することが可能となる。また、利用を許可から不許可にしたいときは、インストール済の該当アプリケーションをアンインストールすれば、不許可にするこができる。WebブラウザーやWebアプリケーションおよびWebサーバーに特別な変更を施すことないため、画像処理装置からWebアプリケーションへの通信や、画像処理装置の利用を伴わないWebアプリケーションからの通信は制限されない。 As described above, in the image processing system according to the first embodiment, the use of the image processing device from the Web application can be easily managed. That is, when a job execution instruction is given from the Web application to the image processing device, the job can be executed only when the cooperation permission application having the URL of the corresponding Web application is already installed. When it is desired to permit the use of the image processing device to a specific Web application, the use can be permitted by installing the cooperation permission application having the URL of the corresponding Web application. Also, if you want to disallow the use from permission, you can disallow it by uninstalling the installed application. Since no special changes are made to the Web browser, Web application, and Web server, communication from the image processing device to the Web application and communication from the Web application that does not involve the use of the image processing device are not restricted.

以上はジョブの実行に限らない。Webアプリケーションから画像処理装置の資源を利用する場合には、利用が許可されたWebアプリケーションの識別情報(例えばURL)を有する連携許可アプリケーションを画像処理装置にインストールしておく。サービスプロバイダーは、その連携許可アプリケーションの持つ識別情報を参照することで、Webアプリケーションが画像処理装置の資源にアクセスする権限を持つか否かを判断できる。またサービスとしてスキャンを例に挙げたが、MFP110により提供できるプリンターの機能や、スキャンおよびプリンターの両方の機能、ファクシミリやデータ保管ボックスなどの機能を提供することもできる。 The above is not limited to job execution. When using the resources of the image processing device from the Web application, the cooperation permission application having the identification information (for example, URL) of the Web application permitted to be used is installed in the image processing device. The service provider can determine whether or not the Web application has the authority to access the resources of the image processing device by referring to the identification information of the cooperation permission application. In addition, although scanning is taken as an example as a service, it is also possible to provide printer functions that can be provided by the MFP 110, both scanning and printer functions, and functions such as facsimile and data storage box.

[第二の実施形態]
画像処理装置を利用するWebアプリケーションが増えると、その都度、連携許可アプリケーションのインストールが必要になり、管理者による管理工数を増大させることとなる。画像処理システムに特別な権限を用意し、この特別な権限を持つシステムでは、連携許可アプリケーションがなくともWebアプリケーションから画像処理装置の利用を許可する改良が考えられる。説明の簡便のため、第一の実施の形態と異なる点のみ説明する。図4−1(b)、図7、図9(b)を用いて説明する。
[Second Embodiment]
As the number of Web applications that use the image processing device increases, it is necessary to install the cooperation permission application each time, which increases the management man-hours by the administrator. An improvement is conceivable in which a special authority is prepared for the image processing system, and in the system having this special authority, the use of the image processing device is permitted from the Web application even if there is no cooperation permission application. For the sake of simplicity, only the points different from the first embodiment will be described. This will be described with reference to FIGS. 4-1 (b), 7 and 9 (b).

Webブラウザー305のライセンスファイルによって特別な権限を付与する例を説明する。Webブラウザー305と共にインストールされたライセンスファイルのライセンスIDによって、画像処理システムに付与する権限を指定することができる。図9(b)は特別な権限を持つWebブラウザー305のライセンスファイルの一例である。ライセンスID911は、特別な権限を意味する値が設定されている。この特別な権限を示すライセンスファイルと共にWebブラウザー305をインストールされた画像処理装置110は特別な権限を持つものとする。特別な権限(以下、特別権限と呼ぶ。)とは、画像処理装置110を利用するWebアプリケーション1001に制限を設けないというものである。つまり、この特別な権限を有するアプリケーション、特にWebブラウザー305からリクエストによりサービスを提供するWebアプリケーション1001は、どんなWebアプリケーションでも画像処理装置110を利用することができ、利用にあたり連携許可アプリケーション305のインストールを必要としない。 An example of granting special authority by the license file of the Web browser 305 will be described. The authority to be granted to the image processing system can be specified by the license ID of the license file installed together with the Web browser 305. FIG. 9B is an example of a license file of the Web browser 305 having special authority. The license ID 911 is set with a value meaning a special authority. The image processing device 110 on which the Web browser 305 is installed together with the license file indicating this special authority shall have the special authority. The special authority (hereinafter referred to as a special authority) means that the Web application 1001 that uses the image processing device 110 is not restricted. That is, the application having this special authority, particularly the Web application 1001 that provides the service by request from the Web browser 305, can use the image processing device 110 for any Web application, and the cooperation permission application 305 must be installed for use. do not need.

<ソフトウェア構成例>
図4−1(b)は、本発明の第二の実施例における画像処理装置(MFP)とWebサーバーのソフトウェア構成例を示すブロック図である。
ライセンス検証部435は、通信部431がWebアプリケーション1001から処理依頼を受けたときに、Webブラウザー305のライセンスが、Webアプリケーション1001から画像処理装置110を使わせるための特別権限であるか判定する。特別権限がある場合はジョブ生成部432にジョブの生成を許可する。特別権限がない場合は、許可URL検証部434にジョブの生成を許可判定させる。これは第1実施形態で説明した通りである。Webブラウザー305のライセンスは、アプリケーションフレームワークを介して、他のインストール済アプリケーションや、サービスプロバイダー308から参照可能とする。
<Software configuration example>
FIG. 4-1 (b) is a block diagram showing a software configuration example of an image processing device (MFP) and a Web server according to a second embodiment of the present invention.
When the communication unit 431 receives a processing request from the Web application 1001, the license verification unit 435 determines whether the license of the Web browser 305 is a special authority for causing the Web application 1001 to use the image processing device 110. If there is special authority, the job generation unit 432 is allowed to generate a job. If there is no special authority, the permission URL verification unit 434 is made to determine permission to generate a job. This is as described in the first embodiment. The license of the Web browser 305 can be referred to by other installed applications or the service provider 308 via the application framework.

<サービスプロバイダーの基本フロー>
図7は、第二の実施例におけるサービスプロバイダー308の基本フローである。S601〜606は、図6のフローにおけるS601〜606と同じである。
S601でサービスプロバイダー308は、Webアプリケーション1001からジョブ実行指示を受け付ける。なお図7の手順はジョブ実行指示の受信をきっかけに開始されてもよい。それは図6も同様である。
S701でサービスプロバイダー308は、特別権限があるか判定する。すなわち、サービスプロバイダー308は、Webブラウザー305のライセンスファイルのライセンスID911を調べ、特別権限を意味する値が設定されている場合は、特別権限があると判断する。
S701でWebブラウザー305に特別権限があると判断したときは、S605でサービスプロバイダー308はWebアプリケーション1001から指示されたジョブを実行する。
S701で特別権限があると判断しなかったときは、図6のS602〜S606の処理を実行する。このように、S701において、実施形態1で説明した連携許可の判定以前に、本実施形態では特別権限を優先的に判定し、特別権限があればサービスの提供を許可する。
説明の簡便のため、画像処理システムの特別権限の判断手段としてライセンスファイルによるものを例にとり説明したが、これに限られるものではない。Webブラウザーの製品名やバージョンによって判断してもよい。また、Webブラウザーではなく、他の機能を有するアプリケーションのライセンスを特別権限の判断基準にしてもよい。
<Basic flow of service provider>
FIG. 7 is a basic flow of the service provider 308 in the second embodiment. S601 to 606 are the same as S601 to 606 in the flow of FIG.
In S601, the service provider 308 receives the job execution instruction from the Web application 1001. The procedure of FIG. 7 may be started when the job execution instruction is received. The same is true for FIG.
In S701, service provider 308 determines if he has special authority. That is, the service provider 308 examines the license ID 911 of the license file of the Web browser 305, and if a value meaning special authority is set, it determines that the service provider 308 has special authority.
When it is determined in S701 that the Web browser 305 has special authority, the service provider 308 executes the job instructed by the Web application 1001 in S605.
When it is not determined in S701 that the person has special authority, the processes S602 to S606 of FIG. 6 are executed. As described above, in S701, prior to the determination of the cooperation permission described in the first embodiment, the special authority is preferentially determined in the present embodiment, and if there is the special authority, the provision of the service is permitted.
For the sake of simplicity, the license file is used as an example to determine the special authority of the image processing system, but the description is not limited to this. It may be judged by the product name and version of the Web browser. Further, the license of the application having other functions may be used as the criterion for determining the special authority instead of the Web browser.

以上説明した通り、第二の実施の形態における画像処理システムでは、連携許可アプリケーションをインストールすることなく、Webアプリケーションから画像処理装置利用の許可することができる。よって、特別権限を持つ画像処理システムでは、Webアプリケーション毎に連携許可アプリケーションのインストールの必要がなくなり、管理者のアプリケーション管理負荷が軽減する。 As described above, in the image processing system according to the second embodiment, the use of the image processing device can be permitted from the Web application without installing the cooperation permission application. Therefore, in the image processing system having special authority, it is not necessary to install the cooperation permission application for each Web application, and the application management load of the administrator is reduced.

[第三の実施形態]
第一の実施形態ではWebアプリケーションに接続するためにステップS500でWebアプリケーション101ごとに決められたWebアプリケーション対応URLに対してHTTPリクエストを行う必要があった。しかし、接続しようとするWebアプリケーション対応URLが連携許可されているか否か(Webアプリケーション対応URLに対応する連携許可アプリケーションがインストールされているか否か)は、図5のシーケンスにおけるステップS507まで実施しないと分からない。また、ユーザーは、Webアプリケーション101ごとに決められたWebアプリケーションURLをあらかじめ知っておく必要がある。そこで、本実施形態では、連携許可アプリケーションにWebアプリケーションへの接続機能を持たせる改良を、実施形態1あるいは実施形態2で説明した構成に施す。本実施形態でも、システム構成およびMFPのハードウェア構成は図1、図2にそれぞれ示したとおりであり、それに関しては、実施形態1と同様であるため説明を省略する。
[Third Embodiment]
In the first embodiment, in order to connect to the Web application, it is necessary to make an HTTP request to the Web application corresponding URL determined for each Web application 101 in step S500. However, whether or not the linking permission URL corresponding to the Web application corresponding URL to be connected is permitted (whether or not the cooperation permission application corresponding to the Web application compatible URL is installed) must be performed up to step S507 in the sequence of FIG. I do not understand. In addition, the user needs to know in advance the Web application URL determined for each Web application 101. Therefore, in the present embodiment, the configuration described in the first embodiment or the second embodiment is improved so that the cooperation permission application has a connection function to the Web application. Also in this embodiment, the system configuration and the hardware configuration of the MFP are as shown in FIGS. 1 and 2, respectively, and the description thereof will be omitted because they are the same as those in the first embodiment.

図3(b)は、図3(a)と同様に、本実施形態におけるMFP110のソフトウェア構造の一例を示す図である。図3(a)との差異点は、複数の連携許可アプリケーション450,460が存在する点と、メニューアプリ310が存在する点である。なお以下の説明では連携許可アプリケーション450について説明するが、連携許可アプリケーション460あるいは他の連携許可アプリケーションについても同様である。 FIG. 3B is a diagram showing an example of the software structure of the MFP110 according to the present embodiment, similarly to FIG. 3A. The difference from FIG. 3A is that there are a plurality of cooperation permission applications 450 and 460 and that there is a menu application 310. In the following description, the cooperation permission application 450 will be described, but the same applies to the cooperation permission application 460 or other cooperation permission applications.

<MFPとWebサーバーのソフトウェア構成例>
図4−2は、本発明の第三の実施例における画像処理装置(MFP)とWebサーバーのソフトウェア構成例を示すブロック図である。なお、特に記載がない場合は、前述の図4−1(a),図4−1(b)と構成やブロックは、同じ役割を持つ。前述した図4−1と図4−2の違いは、連携許可アプリケーションの中に、WebアプリケーションのURLを複数保持することが可能である点である。図4−2の連携許可アプリケーション450は、許可URL441とWebアプリケーション対応URL451というふたつのURLを保持する。許可URL441は、第一の実施形態で説明したように連携許可された、すなわちMFP110の資源へのアクセスが許可されたWebアプリケーションか否かを確認するために使用するURLである。Webアプリケーション対応URL451は、Webアプリケーションの入り口となるトップページのURL(以降、トップページURLとも呼ぶ)である。また、トップページURLは、許可URL441と同様、連携許可されたWebアプリケーションか否かを確認するためにも使用する場合がある。ふたつのURLのうち、Webアプリケーション対応URL451は必須である。Webアプリケーション対応URLと許可URLのドメインとパスが同じ場合、許可URL441は省略することが可能である。すなわち、Webアプリケーション対応URL451のみが含まれている場合には、Webアプリケーション対応URL451は許可URLでもあると判断できる。一方、Webアプリケーション対応URLと許可URLのドメインやパスが異なる場合、許可URLは省略できない。例えば、トップページを認証のためのサブドメイン(例:auth.mysite.org)、Webアプリケーションを専用のサブドメイン(例:app1.mysite.org)で提供する場合、Webアプリケーション対応URL(すなわちトップページURL)と許可URLを両方指定しておく必要がある。
<Software configuration example of MFP and Web server>
FIG. 4-2 is a block diagram showing a software configuration example of an image processing device (MFP) and a Web server according to a third embodiment of the present invention. Unless otherwise specified, the configurations and blocks have the same roles as those in FIGS. 4-1 (a) and 4-1 (b). The difference between FIGS. 4-1 and 4-2 described above is that it is possible to hold a plurality of URLs of the Web application in the cooperation permission application. The cooperation permission application 450 of FIG. 4-2 holds two URLs, the permission URL 441 and the Web application corresponding URL 451. The permission URL 441 is a URL used for confirming whether or not the Web application is permitted to cooperate as described in the first embodiment, that is, the access to the resource of the MFP 110 is permitted. The Web application-compatible URL 451 is the URL of the top page (hereinafter, also referred to as the top page URL) that serves as the entrance to the Web application. Further, the top page URL may be used for confirming whether or not the Web application is permitted to cooperate with the permission URL 441. Of the two URLs, the Web application-compatible URL 451 is indispensable. When the domain and path of the Web application compatible URL and the permitted URL are the same, the permitted URL 441 can be omitted. That is, when only the Web application-compatible URL 451 is included, it can be determined that the Web application-compatible URL 451 is also a permitted URL. On the other hand, if the domain or path of the URL corresponding to the Web application and the permitted URL are different, the permitted URL cannot be omitted. For example, when the top page is provided by a subdomain for authentication (example: auto.mysite.org) and the Web application is provided by a dedicated subdomain (example: app1.mysite.org), the URL corresponding to the Web application (that is, the top page). It is necessary to specify both the URL) and the permitted URL.

<連携許可アプリケーション450のソフトウェア>
図18は実施形態に係る連携許可アプリケーション450のソフトウェアモジュールの構成を示す図である。ここでも説明は連携許可アプリケーション450を対象とするが、他の連携許可アプリケーションも同様である。連携許可アプリケーション450は、Webアプリごとに必要となる設定情報をマニフェストファイル1801に保持する。つまり、ひとつのWebアプリに対して、ひとつの連携許可アプリケーションが必要となる。MFP110には、使用するWebアプリに応じた連携許可アプリケーションをインストールする。複数のWebアプリを使用する場合、複数の連携許可アプリケーションをMFP110にインストールする。その場合、複数の連携許可アプリケーションは、ひとつのWebブラウザー305を共有して使用することになる。図18に提示したこれらソフトウェアモジュールは、MFP110のHDD209に格納され、実行時にはRAM212に展開されてCPU210により実行される。
<Software of cooperation permission application 450>
FIG. 18 is a diagram showing a configuration of a software module of the cooperation permission application 450 according to the embodiment. The explanation here also targets the cooperation permission application 450, but the same applies to other cooperation permission applications. The cooperation permission application 450 holds the setting information required for each Web application in the manifest file 1801. That is, one cooperation permission application is required for one Web application. The cooperation permission application corresponding to the Web application to be used is installed in the MFP110. When using a plurality of Web applications, a plurality of cooperation permission applications are installed in the MFP 110. In that case, the plurality of cooperation permission applications share and use one Web browser 305. These software modules presented in FIG. 18 are stored in the HDD 209 of the MFP 110, expanded in the RAM 212 at the time of execution, and executed by the CPU 210.

マニフェストファイル1801は、連携許可アプリケーション450の基本情報とWebアプリへ接続するための情報を記述したファイルである。このマニフェストファイル1801に許可URL441およびWebアプリケーション対応URL451が登録されている。メニューアプリ連携部1811からWebブラウザー連携部1812に、マニフェストファイル1801に登録されたWebアプリのトップページURL8016(図11(a)参照)を伝えて、Webブラウザー305内で動作するアプリが動作を開始できるようにする。なおトップページURL8016が、Webアプリケーション対応URL451に相当する。またサービスホスト8015は、許可URL441に相当する。 The manifest file 1801 is a file that describes the basic information of the cooperation permission application 450 and the information for connecting to the Web application. The permission URL 441 and the Web application compatible URL 451 are registered in this manifest file 1801. The menu application cooperation unit 1811 informs the Web browser cooperation unit 1812 of the top page URL 8016 (see FIG. 11 (a)) of the Web application registered in the manifest file 1801, and the application operating in the Web browser 305 starts operation. It can be so. The top page URL 8016 corresponds to the Web application compatible URL 451. The service host 8015 corresponds to the permission URL 441.

図11で、連携許可アプリケーションのアプリケーションファイル800について説明する。図11(a)、図11(b)は、図8の一部を変更した図である。アプリケーションファイル800に含まれたマニフェストファイル801,802は、図18に示したマニフェストファイル1801に相当する。なお、本説明では図8との差異についてのみ説明する。図11(a)は、サービスホスト(すなわち許可URL)8015とトップページURL(すなわちWebアプリケーション対応URL)8016が同一のサイトに配置されている例である。例えば、スキャンした文書を格納するサイト(のトップページURL)とその文書に対する処理(例として、ファイル形式の変換処理や、画像解像度の変換処理等)をおこなうサイト(サービスホスト)が同一なケースを想定している。なお、本例の場合、サービスホスト8015とトップページURL8016が同一のサイトなのでサービスホスト8015を省略可能である。図11(a)において、トップページURL8016は、サービスを提供しているサーバーのWebアプリケーションのトップページのアドレスをURL形式で表す。図4−2の連携許可アプリケーション450に関しては、本項目に記載されたアドレスがWebアプリケーション対応URL451である。一方で、図11(b)が、サービスホスト8025とトップページURL8026が別のサイトに配置されている例である。例えば、トップページURL8026のサイトで認証を行った後に、サービスホスト8025が別のサイトで処理を継続するような場合を想定している。なお、本例の場合、サービスホスト8015とトップページURL8016が異なるサイトに配置されているのでサービスホスト8015を省略することは不可である。 FIG. 11 describes the application file 800 of the cooperation permission application. 11 (a) and 11 (b) are views in which a part of FIG. 8 is modified. The manifest files 801,802 included in the application file 800 correspond to the manifest file 1801 shown in FIG. In this description, only the difference from FIG. 8 will be described. FIG. 11A shows an example in which the service host (that is, the permitted URL) 8015 and the top page URL (that is, the URL corresponding to the Web application) 8016 are arranged on the same site. For example, a case where the site (top page URL) that stores the scanned document and the site (service host) that performs processing on the document (for example, file format conversion processing, image resolution conversion processing, etc.) are the same. I'm assuming. In the case of this example, since the service host 8015 and the top page URL 8016 are the same site, the service host 8015 can be omitted. In FIG. 11A, the top page URL 8016 represents the address of the top page of the Web application of the server providing the service in the URL format. Regarding the cooperation permission application 450 of FIG. 4-2, the address described in this item is the Web application compatible URL 451. On the other hand, FIG. 11B shows an example in which the service host 8025 and the top page URL 8026 are located on different sites. For example, it is assumed that the service host 8025 continues the process at another site after the authentication is performed at the site of the top page URL 8026. In the case of this example, since the service host 8015 and the top page URL 8016 are located on different sites, it is not possible to omit the service host 8015.

<連携許可アプリケーションのインストール処理>
図10のステップS1004およびS1005における、連携許可アプリケーションのインストール時、および、アクティベートとして、メインメニューにボタンを登録するフローを、図15を使って補足説明する。
<Installation process of cooperation permission application>
The flow of registering a button in the main menu at the time of installation and activation of the cooperation permission application in steps S1004 and S1005 of FIG. 10 will be supplementarily described with reference to FIG.

図15は、MFP110が行う連携許可アプリケーションのインストール処理を説明するためのフローチャートである。MFP110のHDD209に記憶されているプログラムを、CPU210がRAM212に読み出し、解析、実行することで、図15のフローチャートの各ステップが実行される。 FIG. 15 is a flowchart for explaining the installation process of the cooperation permission application performed by the MFP 110. The CPU 210 reads, analyzes, and executes the program stored in the HDD 209 of the MFP 110 into the RAM 212, so that each step of the flowchart of FIG. 15 is executed.

事前準備として、連携許可アプリケーション購入者は、前述したように、暗号化された連携許可アプリケーションとライセンスアクセス番号を連携許可アプリケーションの販売者から受け取り、ライセンスサーバー101からライセンスファイルを受け取っているものとする。 As a preliminary preparation, it is assumed that the purchaser of the cooperation permission application receives the encrypted cooperation permission application and the license access number from the seller of the cooperation permission application and receives the license file from the license server 101 as described above. ..

先ずインストーラサービス306は、連携許可アプリケーション購入者が操作するPC140からインストールの指示として暗号化された連携許可アプリケーションと、暗号化されたライセンスファイルを受け取る(ステップS1501)。インストーラサービス306は、受け取った連携許可アプリケーションとライセンスファイルを復号する。(ステップS1502)。 First, the installer service 306 receives the encrypted cooperation permission application and the encrypted license file as installation instructions from the PC 140 operated by the cooperation permission application purchaser (step S1501). The installer service 306 decrypts the received cooperation permission application and the license file. (Step S1502).

インストーラサービス306は、ライセンスファイルと連携許可アプリケーションが両方とも復号できたかどうかをチェックする(ステップS1503)。インストーラサービス306は、両方とも復号できた場合はステップS1504へ処理を進める。インストーラサービス306は、どちらか一方または両方とも復号できなかった場合はエラーを通知(ステップS1510)して処理を終了する。 The installer service 306 checks whether both the license file and the cooperation permission application can be decrypted (step S1503). If both of them can be decrypted, the installer service 306 proceeds to step S1504. If either one or both cannot be decrypted, the installer service 306 notifies an error (step S1510) and ends the process.

ステップS1504で、インストーラサービス306は、復号したライセンスファイルに記載されているデバイスIDと、MFP110に予め設定されているデバイスIDとを比較し、そのMFP110に適合した正しいライセンスファイルかどうかを判定する。インストーラサービス306は、ライセンスファイルが正しいと判定すると、ステップS1505に処理を進める。インストーラサービス306は、正しいライセンスファイルでないと判定すると、エラーを通知(ステップS1510)して処理を終了する。 In step S1504, the installer service 306 compares the device ID described in the decrypted license file with the device ID preset in the MFP 110, and determines whether or not the license file is correct and conforms to the MFP 110. If the installer service 306 determines that the license file is correct, the installer service 306 proceeds to step S1505. If the installer service 306 determines that the license file is not correct, it notifies an error (step S1510) and ends the process.

次にインストーラサービス306は、復号した連携許可アプリケーションとライセンスファイルをHDD209に保存する。続けてインストーラサービス306は、HDD209に保存した連携許可アプリケーションをRAM212に読み出し、起動する(ステップS1507)。起動した連携許可アプリケーションは、メニューアプリ310に連携許可アプリケーションを呼び出すためのGUIボタン(あるいはアイコン)を登録する(ステップS1508)。 Next, the installer service 306 saves the decrypted cooperation permission application and the license file in the HDD 209. Subsequently, the installer service 306 reads the cooperation permission application saved in the HDD 209 into the RAM 212 and starts it (step S1507). The started cooperation permission application registers a GUI button (or icon) for calling the cooperation permission application in the menu application 310 (step S1508).

図16は、実施形態に係るMFP110に二つの連携許可アプリケーションをインストールした状態で、MFP110のメニューアプリ310を呼び出したときに操作表示部202に表示されるGUIの一例を示す図である。GUIボタン1601、1602、1603は、MFP110に最初から備わっているアプリケーションを呼び出すためのGUIボタンである。GUIボタン1604とGUIボタン1605は、ともに連携許可アプリケーションを呼び出すためのGUIボタンである。図16に示したように、連携許可アプリケーションごとにGUIボタンが表示される。GUIボタン1606は、連携許可アプリケーションとは別のMFP上で動作するアプリケーションを呼び出すためのGUIボタンである。図16に示したようにメニューアプリ310はアプリケーションの種類を区別せずにGUIボタンを表示する。 FIG. 16 is a diagram showing an example of a GUI displayed on the operation display unit 202 when the menu application 310 of the MFP 110 is called in a state where two cooperation permission applications are installed on the MFP 110 according to the embodiment. The GUI buttons 1601, 1602, and 1603 are GUI buttons for calling an application that is included in the MFP 110 from the beginning. Both the GUI button 1604 and the GUI button 1605 are GUI buttons for calling the cooperation permission application. As shown in FIG. 16, GUI buttons are displayed for each cooperation permission application. The GUI button 1606 is a GUI button for calling an application running on an MFP different from the cooperation permission application. As shown in FIG. 16, the menu application 310 displays GUI buttons without distinguishing between application types.

<MFPによるWebアプリの利用シーケンス>
図13は、MFP110からWebアプリを利用する際の一連の処理の流れを示したシーケンス図である。ここでは例としてメニューアプリ310が表示したGUIボタン1605がユーザーによって選択された場合の処理を説明する。
<Web application usage sequence by MFP>
FIG. 13 is a sequence diagram showing a flow of a series of processes when using the Web application from the MFP 110. Here, as an example, the processing when the GUI button 1605 displayed by the menu application 310 is selected by the user will be described.

最初にMFP110のメニューアプリ310はユーザーによるGUIボタン1605の押下を受け付けると、GUIボタン1605に対応した連携許可アプリケーション450を呼び出す(ステップS1301)。呼び出された連携許可アプリケーション450は連携許可アプリケーション450のマニフェストファイル1801に定義された情報(例えばトップページURL8016)に基づいてWebアプリのトップページを呼び出すために必要な情報を作成する(ステップS1302)。続いて連携許可アプリケーション450は、Webブラウザー305を用いて、ステップS1302で作成した情報に基づきWebアプリのトップページを呼び出す(ステップS1303)。 First, when the menu application 310 of the MFP 110 accepts the user to press the GUI button 1605, it calls the cooperation permission application 450 corresponding to the GUI button 1605 (step S1301). The called cooperation permission application 450 creates information necessary for calling the top page of the Web application based on the information defined in the manifest file 1801 of the cooperation permission application 450 (for example, the top page URL 8016) (step S1302). Subsequently, the cooperation permission application 450 calls the top page of the Web application based on the information created in step S1302 by using the Web browser 305 (step S1303).

呼び出しを受けて、Webサーバー100は、呼び出しに対する検証を行う(ステップS1304)。呼び出しに対する検証として、例えば、存在するURLの呼び出しか否か、や、ブラウザーのバージョンチェックなどを行う。検証の結果を踏まえて、Webサーバー100は、呼び出しに対する応答をMFP110(Webブラウザ305)に対して返す(ステップS1305)。検証の結果がOK(すなわち成功)であれば、Webサーバー100は次の操作に必要な画面を構成するためのHTMLコンテンツを応答する。一方検証が不首尾に終わった場合には、その旨のメッセージを応答する。 Upon receiving the call, the Web server 100 verifies the call (step S1304). As verification for the call, for example, whether or not the URL exists is called, and the version of the browser is checked. Based on the result of the verification, the Web server 100 returns a response to the call to the MFP 110 (Web browser 305) (step S1305). If the verification result is OK (that is, success), the Web server 100 responds with HTML content for configuring the screen required for the next operation. On the other hand, if the verification is unsuccessful, a message to that effect is responded.

Webブラウザー305は受け取ったHTML(あるいは不首尾メッセージ)をレンダリングし、操作部111に画面を表示する(ステップS1306)。検証が成功した場合、次にWebブラウザー305は、ユーザーの画面操作指示を受け取る(ステップS1307)と、それに対応するリクエストをHTTPプロトコルでWebサーバー100へ送信する(ステップS1308)。 The Web browser 305 renders the received HTML (or unsuccessful message) and displays the screen on the operation unit 111 (step S1306). If the verification is successful, the Web browser 305 then receives the user's screen operation instruction (step S1307), and then sends a corresponding request to the Web server 100 using the HTTP protocol (step S1308).

リクエストを受け取ったWebサーバー100は、リクエストに対する処理を行い(ステップS1309)、処理結果にもとに次の画面を構成するためのHTMLコンテンツをMFP110(Webブラウザ305)へ応答する(ステップS1310)。以降、ステップS1306からステップS1310を繰り返すことで、Webアプリの処理および画面遷移を実現する。 The Web server 100 that has received the request processes the request (step S1309), and responds to the MFP 110 (Web browser 305) with HTML content for configuring the next screen based on the processing result (step S1310). After that, by repeating steps S1306 to S1310, the processing of the Web application and the screen transition are realized.

図12で、本実施形態における画像処理装置における一連の処理について説明する。図5のシーケンスを本実施形態に合わせて一部変更したものである。そのため、本説明では、差異についてのみ説明を行う。なお図12は、図13のシーケンスをソフトウェアモジュールごとの動作として示し、かつ、Webアプリケーション101からMFP110の資源を利用する場合について詳述した図である。S1201では、連携許可アプリケーション450からWebブラウザー305にトップページURLを伝える。トップページURLに関する説明は、図4−2の説明で前述したため、本説明では説明を割愛する。S504でジョブ実行要求を受信したサービスプロバイダー308は、S1202において、連携許可アプリケーション450が保持する許可URL441とトップページURLとしてのWebアプリケーション対応URL451を取得する。サービスプロバイダー308は、許可URLを取得できた場合には、S505で取得した接続先URLと比較し、一致していれば、要求されたジョブを実行する。一方、取得したURLに許可URL441が含まれていない場合には、Webアプリケーション対応URL451とS505で取得した接続先URLと比較し、一致していれば、要求されたジョブを実行する。一致していなければWebアプリケーション101にエラーを通知する。 FIG. 12 describes a series of processes in the image processing apparatus according to the present embodiment. The sequence of FIG. 5 is partially modified according to the present embodiment. Therefore, in this description, only the difference will be described. Note that FIG. 12 is a diagram detailing a case where the sequence of FIG. 13 is shown as an operation for each software module and the resources of the Web application 101 to the MFP 110 are used. In S1201, the top page URL is transmitted from the cooperation permission application 450 to the Web browser 305. Since the description of the top page URL has been described in the description of FIG. 4-2, the description is omitted in this description. The service provider 308 that received the job execution request in S504 acquires the permission URL 441 held by the cooperation permission application 450 and the Web application corresponding URL 451 as the top page URL in S1202. When the permitted URL can be acquired, the service provider 308 compares it with the connection destination URL acquired in S505, and if they match, executes the requested job. On the other hand, when the acquired URL does not include the permission URL 441, the URL 451 corresponding to the Web application is compared with the connection destination URL acquired in S505, and if they match, the requested job is executed. If they do not match, an error is notified to the Web application 101.

<連携許可アプリケーションによるトップページの呼び出し処理>
図17は、連携許可アプリケーションがWebアプリのトップページを呼び出す際の処理を説明するためのフローチャートである。MFP110のHDD204に記憶されているプログラムを、CPU201がRAM203に読み出し、解析、実行することで、図17のフローチャートの各ステップが実行される。
<Call processing of top page by cooperation permission application>
FIG. 17 is a flowchart for explaining a process when the cooperation permission application calls the top page of the Web application. Each step of the flowchart of FIG. 17 is executed by the CPU 201 reading, analyzing, and executing the program stored in the HDD 204 of the MFP 110 into the RAM 203.

図17のフローチャートは、図13のステップS1301からステップS1303の処理を詳細に説明したものである。図13のステップS1301は、図17ではステップS1701に相当する。図13のステップS1302は、図17ではステップS1702からステップS1705に相当する。図13のステップS1303は、図17ではステップS1706に相当する。扱いを検討する
図17において、連携許可アプリケーション450のメニューアプリ連携部1811は、ユーザーによるGUIボタン押下を受け取ったメニューアプリ310からの呼び出し指示を受け取る(ステップS1701)。次にWebブラウザー連携部812は、マニフェストファイル1801からWebアプリの情報であるトップページURL8016(図11(a)参照)を取得する(ステップS1702)。
The flowchart of FIG. 17 is a detailed description of the processes of steps S1301 to S1303 of FIG. Step S1301 in FIG. 13 corresponds to step S1701 in FIG. Step S1302 in FIG. 13 corresponds to steps S1702 to S1705 in FIG. Step S1303 in FIG. 13 corresponds to step S1706 in FIG. Examining the Handling In FIG. 17, the menu application cooperation unit 1811 of the cooperation permission application 450 receives a call instruction from the menu application 310 that has received the GUI button press by the user (step S1701). Next, the Web browser cooperation unit 812 acquires the top page URL 8016 (see FIG. 11A), which is the information of the Web application, from the manifest file 1801 (step S1702).

次にWebブラウザー連携部1812は、取得したトップページURLを接続先としてWebブラウザー305に設定する(ステップS1704)。Webブラウザー連携部1812は、操作部202の表示をメニューアプリ310からWebブラウザー305のGUIウィンドウに切り変える(ステップS1705)。Webブラウザー305は、GUIボタンに対応するWebアプリのトップページを呼び出すため、ステップS1704で設定されたURLへアクセスする(ステップS1706)。 Next, the Web browser cooperation unit 1812 sets the acquired top page URL as the connection destination in the Web browser 305 (step S1704). The Web browser cooperation unit 1812 switches the display of the operation unit 202 from the menu application 310 to the GUI window of the Web browser 305 (step S1705). The Web browser 305 accesses the URL set in step S1704 in order to call the top page of the Web application corresponding to the GUI button (step S1706).

以上の処理を実行することによって、メニューアプリ310で指示されたGUIボタンに対応する連携許可アプリケーションが、Webアプリのトップページを呼び出すことができる。 By executing the above processing, the cooperation permission application corresponding to the GUI button instructed by the menu application 310 can call the top page of the Web application.

<サービスプロバイダーの基本フロー>
次に、図14を用いてサービスプロバイダー308の基本フローを説明する。なお、図14は、図6を元にフローを追加したものである。特に説明がないフローについては、図6と同等である。なお本説明では、追加した差異について説明する。図14の手順は、図12のステップS507〜S509に相当する。
<Basic flow of service provider>
Next, the basic flow of the service provider 308 will be described with reference to FIG. Note that FIG. 14 is a flow added based on FIG. The flow without particular explanation is the same as that in FIG. In this description, the added difference will be described. The procedure of FIG. 14 corresponds to steps S507 to S509 of FIG.

S1407で、サービスプロバイダー308は、連携許可アプリケーション450から許可URL441とトップページURL(すなわちWebアプリケーション対応URL451)とを取得する。本ステップは図12におけるS1202に相当する。トップページURLについては、図4−2で記載したので省略する。S1408では、サービスプロバイダー308は、URLが2つ存在しないかを判断する。すなわち、S1407で取得したURLが1つ以下かどうかを判断する。もし、1つしかURLが存在しない場合は、S604に進む。もし、2つ以上URLが存在する場合は、S1409に進む。なお、S604、S605、S606に関しては図6と差異がないので説明を省略する。一つもURLが含まれていなければ、S606に分岐する。 In S1407, the service provider 308 acquires the permission URL 441 and the top page URL (that is, the Web application corresponding URL 451) from the cooperation permission application 450. This step corresponds to S1202 in FIG. The URL of the top page is omitted because it is described in FIG. 4-2. In S1408, the service provider 308 determines if there are two URLs. That is, it is determined whether or not the number of URLs acquired in S1407 is one or less. If there is only one URL, proceed to S604. If there are two or more URLs, proceed to S1409. Since there is no difference between S604, S605, and S606 from FIG. 6, the description thereof will be omitted. If no URL is included, it branches to S606.

S1409では、サービスプロバイダー308は、Webアプリケーション対応UR451Lもしくは許可URL441のいずれかが一致するかを判断する。もし少なくともいずれか一方が一致している場合は、S605に進む。もしいずれも一致していない場合は、S606に進む。本ステップは図5におけるS1309に相当する。なお、S604およびS1409において、URLを比較する場合は、URLの完全一致ではなく、部分一致の比較とする。具体的には、そのサービスのサイトを識別可能にする文字列が一致するかを比較する。理由としては、本来サイト単位で比較することを期待しているが、URLの完全一致で比較すると、サイトのページ単位で比較されてしまう。そのため、該当のページのみの許可になってしまう。一方で、サービスのサイト単位を識別可能にする文字列を部分一致で比較すれば、該当するサイトかをサイト単位で正しく比較できる。例えば、最上位フォルダまでの比較とする。なお、トップページURLと許可URLのいずれかと接続先URLがマッチすればOKとする。 In S1409, the service provider 308 determines whether either the Web application compatible UR451L or the permission URL 441 matches. If at least one of them matches, the process proceeds to S605. If none of them match, the process proceeds to S606. This step corresponds to S1309 in FIG. In S604 and S1409, when comparing URLs, it is not an exact match of URLs but a partial match. Specifically, it compares whether the strings that identify the site of the service match. The reason is that we originally expect to compare by site, but if we compare by exact URL match, it will be compared by page of site. Therefore, only the corresponding page is permitted. On the other hand, if the character strings that make it possible to identify the site unit of the service are compared by partial match, it is possible to correctly compare whether the site is applicable or not. For example, compare up to the top level folder. If either the top page URL or the permitted URL matches the connection destination URL, it is OK.

以上説明した通り、第三の実施の形態における画像処理システムでは、連携許可アプリケーションにWebアプリケーションへの接続機能を持たせる。そのため、特定の連携許可アプリケーションと特定のWebアプリケーションとが紐づけられ、特定の連携許可アプリケーションを起動することで、対応するWebアプリケーションを利用できる。さらに、連携許可アプリケーションは、それが紐づけられているWebアプリケーションに与えられた、MFPの資源へのアクセス権限を管理している。よって、接続しようとするWebアプリケーション対応URLが連携許可されているか否か(Webアプリケーション対応URLに対応する連携許可アプリケーションがインストールされているか否か)を、サービスプロバイダーによる判定処理(図5のS507)を実施しないでも把握することが可能になる。連携許可アプリケーションにはトップページURLが必ず登録されており、そこに対しては本実施形態では、MFPの資源へのアクセスを許可する。そこで連携許可アプリケーションがインストールされていれば、それに紐づけられたWebサービスは連携許可されていると判断できるためである。 As described above, in the image processing system according to the third embodiment, the cooperation permission application is provided with the connection function to the Web application. Therefore, the corresponding Web application can be used by associating the specific cooperation permission application with the specific Web application and starting the specific cooperation permission application. Further, the cooperation permission application manages the access authority to the resource of the MFP given to the Web application to which it is associated. Therefore, the service provider determines whether or not the linking permission URL corresponding to the Web application corresponding URL to be connected is permitted (whether or not the linking permission application corresponding to the Web application compatible URL is installed) (S507 in FIG. 5). It becomes possible to grasp without implementing. The top page URL is always registered in the cooperation permission application, and in the present embodiment, access to the resources of the MFP is permitted for the top page URL. This is because if the cooperation permission application is installed, it can be determined that the Web service associated with the cooperation permission application is permission to cooperate.

また、ユーザーは、Webアプリケーション101ごとに決められたWebアプリケーションURLをあらかじめ知っておく必要もなくなる。そのため、Webアプリケーションに接続するためにステップを簡便にし、操作性の煩雑さを軽減出来る。 Further, the user does not need to know the Web application URL determined for each Web application 101 in advance. Therefore, it is possible to simplify the steps for connecting to the Web application and reduce the complexity of operability.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピューターにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 Webサーバー、102 管理装置、110 MFP、202 表示操作部、303 アプリケーションフレームワーク、305 Webブラウザー、308 サービスプロバイダー 100 Web server, 102 Management device, 110 MFP, 202 Display operation unit, 303 Application framework, 305 Web browser, 308 Service provider

Claims (15)

接続された外部のサーバーに対してサービスを要求できるサービス要求手段と、
前記外部のサーバーによる要求に応じて、サービスを前記外部のサーバーに提供するためのサービス提供手段と、
前記サービス提供手段によるサービスの提供を許可されたサービス要求元の識別情報を保持する、インストールおよびアンインストールが可能に構成された保持手段と
を有し、
前記サービス提供手段は、サービス要求元にサービスの提供が許可されているかを、前記保持手段により保持された識別情報を参照して判定し、許可されていると判定した場合に、要求されたサービスを提供し、
前記サービス要求手段は、さらに、外部のサーバーにアクセスして表示画面情報を取得して表示することを特徴とする情報処理装置。
A service request method that can request a service from a connected external server,
As required by the external server, and service providing means for providing a service to the external server,
It has a holding means configured to be installable and uninstallable, which holds the identification information of the service requester authorized to provide the service by the service providing means.
The service providing means determines whether or not the service requester is permitted to provide the service by referring to the identification information held by the holding means, and if it is determined that the service is permitted, the requested service. Provide,
The service requesting means is an information processing device that further accesses an external server to acquire and display display screen information.
前記サービス提供手段は、前記サービス要求手段から、該サービス要求手段がサービスを要求したサービス要求先の識別情報を取得し、取得した前記サービス要求先の識別情報を前記サービス要求元の識別情報として前記保持手段により保持された識別情報とに基づいて、前記サービス要求元にサービスの提供が許可されているかを判定することを特徴とする請求項1に記載の情報処理装置。 The service providing means acquires the identification information of the service requesting destination for which the service requesting means has requested the service from the service requesting means, and the acquired identification information of the service requesting destination is used as the identification information of the service requesting source. The information processing apparatus according to claim 1, wherein it is determined whether or not the service requester is permitted to provide the service based on the identification information held by the holding means. 前記保持手段は、前記サービス要求元ごとに、該サービス要求元の識別情報に加えて、前記サービス要求手段によるサービス要求先の識別情報をさらに保持し、
前記サービス要求手段は、前記サービス要求先の識別情報に対してサービス要求のためにアクセスすることを特徴とする請求項1に記載の情報処理装置。
The holding means further holds the identification information of the service request destination by the service request means in addition to the identification information of the service request source for each service request source.
The information processing device according to claim 1, wherein the service request means accesses the identification information of the service request destination for a service request.
前記サービス要求元の識別情報と前記サービス要求先の識別情報とが同じ場合には、前記保持手段は、少なくとも一方を、サービス要求元の識別情報およびサービス要求先の識別情報として保持することを特徴とする請求項3に記載の情報処理装置。 When the service request source identification information and the service request destination identification information are the same, the holding means holds at least one of the service request source identification information and the service request destination identification information. The information processing apparatus according to claim 3. 前記サービス提供手段は、前記サービス要求手段から、該サービス要求手段がサービスを要求した要求先の識別情報を取得し、取得した前記要求先の識別情報を、前記保持手段により保持された識別情報と比較し、少なくともいずれか一方が一致していれば、前記サービス要求元に対するサービスの提供が許可されていると判定することを特徴とする請求項3または4に記載の情報処理装置。 The service providing means acquires the identification information of the request destination to which the service request means has requested the service from the service request means, and the acquired identification information of the request destination is combined with the identification information held by the holding means. The information processing apparatus according to claim 3 or 4, wherein if at least one of them matches, it is determined that the provision of the service to the service requesting source is permitted. アプリケーションをインストール可能なフレームワークを更に有し、
前記保持手段は、前記フレームワークにインストールおよびアンインストールが可能な連携許可アプリケーションにより実現されることを特徴とする請求項1乃至5のいずれか一項に記載の情報処理装置。
It also has a framework on which applications can be installed
The information processing apparatus according to any one of claims 1 to 5, wherein the holding means is realized by a cooperation permission application that can be installed and uninstalled in the framework.
前記連携許可アプリケーションは、前記サービス要求元ごとに、該サービス要求元の識別情報を保持するひとつのアプリケーションとして前記フレームワークにインストールされることを特徴とする請求項6に記載の情報処理装置。 The information processing device according to claim 6, wherein the cooperation permission application is installed in the framework as one application that holds identification information of the service request source for each service request source. アプリケーションをインストールすると、メインメニューにGUIボタンを登録し、前記連携許可アプリケーションを起動すると、Webブラウザーを開いて、前記連携許可アプリケーションが保持する前記サービス要求先の識別情報に基づいて、該サービス要求先へとアクセスすることを特徴とする請求項2を引用する請求項6に記載の情報処理装置。 When the application is installed, the GUI button is registered in the main menu, and when the cooperation permission application is started, the Web browser is opened and the service request destination is based on the identification information of the service request destination held by the cooperation permission application. The information processing apparatus according to claim 6, wherein the information processing apparatus according to claim 2, wherein the information processing apparatus is used to access the device. ライセンス検証手段を更に有し、
前記連携許可アプリケーションは、前記ライセンス検証手段によってライセンスがあると判定された場合に有効化されることを特徴とする請求項6乃至8のいずれか一項に記載の情報処理装置。
Has more license verification means
The information processing device according to any one of claims 6 to 8, wherein the cooperation permission application is activated when it is determined by the license verification means that there is a license.
前記サービス要求手段は、前記フレームワークにインストールおよびアンインストールが可能なアプリケーションにより実現され、
前記サービス提供手段は、前記サービス要求手段を実現するアプリケーションの識別情報が、特別な権限を示す値であるか否かを優先的に判定し、特別な権限を示す値である場合には、前記サービス要求元にサービスの提供が許可されていると判定することを特徴とする請求項6乃至9のいずれか一項に記載の情報処理装置。
The service request means is realized by an application that can be installed and uninstalled in the framework.
The service providing means preferentially determines whether or not the identification information of the application that realizes the service requesting means is a value indicating a special authority, and if it is a value indicating a special authority, the above-mentioned The information processing apparatus according to any one of claims 6 to 9, wherein it is determined that the service requester is permitted to provide the service.
画像をスキャンするスキャン手段と、
画像を印刷するプリンター手段とを更に有し、
前記サービス提供手段により提供されるサービスは、前記スキャン手段または前記プリンター手段またはその両方を用いたサービスを含むことを特徴とする請求項1乃至10のいずれか一項に記載の情報処理装置。
Scanning means to scan images and
It also has a printer means for printing images,
The information processing apparatus according to any one of claims 1 to 10, wherein the service provided by the service providing means includes a service using the scanning means, the printer means, or both of them.
画像処理装置であって、
アプリケーションをインストールし、インストールしたアプリケーションを実行するためのアプリケーションフレームワークと、
スキャナ部と、
プリンター部とを有し、
前記アプリケーションフレームワークにインストールされたアプリケーションとして、前記画像処理装置の機能を外部のサーバーに提供するサービスプロバイダーと、
外部のサーバーにアクセスしてWebアプリケーションによるサービスを受けるWebブラウザーと、
前記Webアプリケーションによる前記画像処理装置によるサービスの提供が許可されるか否かを示す許可情報と前記Webアプリケーションのトップページにアクセスするための情報とを保持する連携許可アプリケーションと
を有し、
前記サービスプロバイダーは、前記Webアプリケーションにサービスの提供が許可されているかを、前記連携許可アプリケーションにより保持された許可情報、もしくは前記アクセスするための情報を参照して判定し、許可されていると判定した場合に、要求されたサービスを提供し、
前記Webブラウザーは、外部のサーバーにアクセスして表示画面情報を取得して表示することを特徴とする画像処理装置。
It is an image processing device
An application framework for installing applications and running installed applications,
With the scanner part
It has a printer unit and
As an application installed in the application framework, a service provider that provides the function of the image processing device to an external server , and
A web browser that accesses an external server and receives services from a web application,
It has a cooperation permission application that holds permission information indicating whether or not the provision of services by the image processing device by the Web application is permitted and information for accessing the top page of the Web application.
The service provider determines whether the provision of the service is permitted to the Web application by referring to the permission information held by the cooperation permission application or the information for accessing the Web application, and determines that the service is permitted. If you do, provide the requested service,
The Web browser is an image processing device characterized by accessing an external server, acquiring display screen information, and displaying the information.
接続された外部のサーバーに対してサービスを要求できるサービス要求工程と、
前記外部のサーバーによる要求に応じて、サービスを前記外部のサーバーに提供するためのサービス提供工程と、
前記サービス提供工程によるサービスの提供を許可されたサービス要求元の識別情報を保持する、インストールおよびアンインストールが可能に構成された保持工程と
を有し、
前記サービス提供工程は、サービス要求元にサービスの提供が許可されているかを、前記保持工程により保持された識別情報を参照して判定し、許可されていると判定した場合に、要求されたサービスを提供し、
前記サービス要求工程では、外部のサーバーにアクセスして表示画面情報を取得して表示することを特徴とする情報処理装置における制御方法。
A service request process that can request services from a connected external server,
As required by the external server, and a service providing step for providing a service to the external server,
It has a retention process configured to be installable and uninstallable, which retains the identification information of the service requester authorized to provide the service by the service provision process.
The service providing process determines whether or not the service requester is permitted to provide the service by referring to the identification information held by the holding process, and if it is determined that the service is permitted, the requested service. Provide,
In the service request process, a control method in an information processing device, which comprises accessing an external server to acquire and display display screen information.
前記保持工程では、前記サービス要求元ごとに、該サービス要求元の識別情報に加えて、前記サービス要求工程によるサービス要求先の識別情報をさらに保持し、
前記サービス要求工程では、前記サービス要求先の識別情報に対してサービス要求のためにアクセスすることを特徴とする請求項13に記載の情報処理装置における制御方法。
In the holding step, in addition to the identification information of the service request source, the identification information of the service request destination by the service request process is further held for each service request source.
The control method in the information processing apparatus according to claim 13, wherein in the service request process, the identification information of the service request destination is accessed for the service request.
請求項1乃至11のいずれか一項に記載の情報処理装置としてコンピューターを機能させるためのプログラム。 A program for operating a computer as the information processing device according to any one of claims 1 to 11.
JP2016184689A 2016-01-13 2016-09-21 Information processing equipment and control methods in the information processing equipment, and programs and image processing equipment Active JP6772009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/386,584 US10051154B2 (en) 2016-01-13 2016-12-21 Information processing apparatus, control method in information processing apparatus, and image processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016004614 2016-01-13
JP2016004614 2016-01-13

Publications (3)

Publication Number Publication Date
JP2017126977A JP2017126977A (en) 2017-07-20
JP2017126977A5 JP2017126977A5 (en) 2019-11-07
JP6772009B2 true JP6772009B2 (en) 2020-10-21

Family

ID=59365376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016184689A Active JP6772009B2 (en) 2016-01-13 2016-09-21 Information processing equipment and control methods in the information processing equipment, and programs and image processing equipment

Country Status (1)

Country Link
JP (1) JP6772009B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7275734B2 (en) * 2019-03-26 2023-05-18 ブラザー工業株式会社 Image forming apparatus, information processing method and information processing program

Also Published As

Publication number Publication date
JP2017126977A (en) 2017-07-20

Similar Documents

Publication Publication Date Title
US10051154B2 (en) Information processing apparatus, control method in information processing apparatus, and image processing apparatus
JP4136325B2 (en) Image forming system, software acquisition method, image forming apparatus, and computer-readable recording medium storing program for causing computer to execute the method
US8264721B2 (en) Server apparatus, management system, and method
US10305961B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium storing program
JP5528018B2 (en) Image processing apparatus, image processing apparatus control method, and program
US20090241107A1 (en) License file issuance apparatus, image processing apparatus, license file issuance method, application installation method, and storage medium
US10298800B2 (en) Information processing apparatus and control method thereof
US20130074048A1 (en) System, information processing apparatus and control method thereof, image forming apparatus and control method thereof, and computer-readable medium
JP5693051B2 (en) Information processing apparatus and user authentication method for information processing apparatus
JP2004303202A (en) Information providing device, information providing method, information providing program and recording medium, user authenticating device, user authenticating method, and user authenticating program and recording medium
US10185523B2 (en) Information processing system, information processing apparatus and control method therefor, and program for preventing inconsistency of a setting
JP6872867B2 (en) Information processing device and application management method
US10284734B2 (en) Information processing apparatus, method, and storage medium for managing an executable application
JP6303979B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP2012088849A (en) Image forming device, log management method, and log management program
US10713098B2 (en) Information processing apparatus and cookie information management method
US8239857B2 (en) Information processing apparatus and method of installing application program
JP6772009B2 (en) Information processing equipment and control methods in the information processing equipment, and programs and image processing equipment
JP2009205262A (en) Application program installation device, application program installation method, program, and recording medium
JP2004153472A (en) Job processing control apparatus and method therefor
JP2004122778A (en) Image forming apparatus and method of controlling use thereof
JP2004129247A (en) Image forming apparatus and use control method
JP5247540B2 (en) Information processing system, control method therefor, and program
JP2020091544A (en) Information processing device, control method thereof, and program
JP2018055569A (en) Information processing apparatus and controlling method therefor, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190920

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200819

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200930

R151 Written notification of patent or utility model registration

Ref document number: 6772009

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151