[go: up one dir, main page]

JP2015118471A - Image processor, control method thereof, and computer program - Google Patents

Image processor, control method thereof, and computer program Download PDF

Info

Publication number
JP2015118471A
JP2015118471A JP2013260530A JP2013260530A JP2015118471A JP 2015118471 A JP2015118471 A JP 2015118471A JP 2013260530 A JP2013260530 A JP 2013260530A JP 2013260530 A JP2013260530 A JP 2013260530A JP 2015118471 A JP2015118471 A JP 2015118471A
Authority
JP
Japan
Prior art keywords
program
resource amount
image processing
manifest file
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013260530A
Other languages
Japanese (ja)
Inventor
健 裏垣
Takeshi Uragaki
健 裏垣
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 JP2013260530A priority Critical patent/JP2015118471A/en
Publication of JP2015118471A publication Critical patent/JP2015118471A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a mechanism capable of installing a program by utilizing a resource amount of processing whose processing already finishes in the case where an image processor cannot install the program due to a resource amount.SOLUTION: An image processor 101 installs a program on the basis of a resource amount described in a manifest file. The image processor 101 determines whether shortage occurs in a resource amount of the image processor when installing the program, and reduces the resource amount described in the manifest file to update the manifest file when it is determined that the shortage occurs in the resource amount of the image processor.

Description

本発明は、画像処理装置の機能を拡張する拡張プログラムの初期設置作業を確実に実行するための仕組みに関する。   The present invention relates to a mechanism for reliably executing an initial installation operation of an extension program that extends the functions of an image processing apparatus.

画像処理装置を新規に導入するに当たり、事前に画像処理装置の使用環境に応じた初期設置作業を行う必要がある。初期設置作業には、印刷物の仕上げ処理を行うフィニッシャーなどハードウェアオプションの取り付けや、画像処理装置の制御プログラムの設定作業などの作業がある。   When a new image processing apparatus is introduced, it is necessary to perform initial installation work in accordance with the use environment of the image processing apparatus in advance. The initial installation work includes work such as installation of hardware options such as a finisher for finishing a printed material, and setting of a control program for the image processing apparatus.

また、近年、オフィスに設置される画像処理装置には、アドイン機能が組み込まれ、拡張プログラムにより画像処理装置の機能を拡張できるシステムが普及している。この種のシステムとしてはキヤノン株式会社のMEAP(登録商標)などが挙げられる。   In recent years, an image processing apparatus installed in an office has a built-in add-in function, and a system that can expand the function of the image processing apparatus using an expansion program has become widespread. An example of this type of system is Canon's MEAP (registered trademark).

拡張プログラムの資源管理は、実行するために必要な資源情報と、実行環境において使用可能な資源情報とを比較して、事前に資源を割り当てる方式をとっていた。つまり、拡張プログラムを実行するために必要な資源が確保できる場合にのみ、画像処理装置にアプリケーションをインストールすることが可能となる。システムは、このような制御を行うことによりPCアプリケーションの様に実行中に資源不足によるエラーが発生することを防ぐことができ、安定して画像処理装置の機能を利用できる環境を提供している。   The resource management of the extended program takes a method of allocating resources in advance by comparing the resource information necessary for execution with the resource information usable in the execution environment. That is, the application can be installed in the image processing apparatus only when the resources necessary for executing the extension program can be secured. By performing such control, the system can prevent an error due to lack of resources during execution like a PC application, and provides an environment where the functions of the image processing apparatus can be used stably. .

資源が不足するような場合でも拡張プログラムが実行できるような仕組みとして、実行環境に応じて動作モードを切り替えるもの(特許文献1参照)や、拡張プログラムのマニフェストを更新するもの(特許文献2参照)があった。   As a mechanism that allows an extended program to be executed even when resources are insufficient, a mechanism that switches the operation mode according to the execution environment (see Patent Document 1), or a mechanism that updates the extension program manifest (see Patent Document 2) was there.

特開2011−70394号公報JP 2011-70394 A 特開2012−155478号公報JP 2012-155478 A

しかしながら、従来の技術は、画像処理装置にあらかじめ備えられたファームウェアの仕組みに応じて資源量の不足の課題を解決しているため、画像処理装置のシステムに修正が必要であった。また、拡張プログラムの資源環境に応じて動作モードを切り替える場合、使用可能な拡張プログラムの機能に制限が生じてしまい、すべての機能を活用できないという課題がある。拡張プログラムが他の拡張プログラムをインストールする場合に容量不足に陥るケースが発生するが、この場合、機能に制限があると初期設置作業が出来なくなってしまう恐れがある。また、特許文献2が開示する方法では、画像処理装置の資源に応じて拡張プログラムがインストールされるため、インストールされる拡張プログラムに制限が課せられる。   However, since the conventional technology solves the problem of insufficient resource amount according to the firmware mechanism provided in advance in the image processing apparatus, the system of the image processing apparatus needs to be corrected. In addition, when the operation mode is switched according to the resource environment of the extension program, there is a problem that the functions of the extension program that can be used are limited, and all the functions cannot be used. When an extension program installs another extension program, there may be a case where the capacity falls short. In this case, if the function is limited, the initial installation work may not be performed. Further, in the method disclosed in Patent Document 2, an extension program is installed according to the resources of the image processing apparatus, and thus a restriction is imposed on the installed extension program.

本発明は、資源量に起因して画像処理装置がプログラムをインストールできない場合に、既に処理が終了した処理の資源量を利用してプログラムのインストールを可能とする仕組みを提供する。   The present invention provides a mechanism that enables a program to be installed using the resource amount of a process that has already been completed when the image processing apparatus cannot install the program due to the resource amount.

本発明の一実施形態の画像処理装置は、マニフェストファイルに記載された資源量に基づいてプログラムをインストールするインストール手段と、前記プログラムをインストールする際に自装置の資源量に不足が発生するか否かを判断する判断手段と、自装置の資源量に不足が発生すると判断された場合に、前記マニフェストファイルに記載された資源量を削減して前記マニフェストファイルを更新する更新手段と、を備える。   An image processing apparatus according to an embodiment of the present invention includes an installation unit that installs a program based on a resource amount described in a manifest file, and whether or not the resource amount of the device itself is insufficient when the program is installed. Determining means for determining whether or not the resource amount of the device itself is insufficient, and updating means for reducing the resource amount described in the manifest file and updating the manifest file.

本発明によれば、資源量に起因して画像処理装置がプログラムをインストールできない場合に、既に処理が終了した処理の資源量を利用してプログラムをインストールすることが可能となる。従って、拡張プログラムの仕組みのみで動作することができるため、画像処理装置のファームウェアに特別な仕組みを必要とせずにインストール処理を実行することができる。   According to the present invention, when the image processing apparatus cannot install a program due to the resource amount, the program can be installed using the resource amount of the process that has already been completed. Accordingly, since the operation can be performed only by the mechanism of the extension program, the installation process can be executed without requiring a special mechanism in the firmware of the image processing apparatus.

本発明の画像処理装置情報処理システムの機器構成例を示す図である。It is a figure which shows the apparatus structural example of the image processing apparatus information processing system of this invention. 画像処理装置のハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of an image processing apparatus. 画像処理装置のソフトウェア構成例を示すブロック図である。It is a block diagram which shows the software structural example of an image processing apparatus. 拡張プログラムシステムサービスの機能構成について記載したブロック図である。It is a block diagram describing the functional configuration of the extended program system service. 拡張プログラムが具備するマニフェストファイルの例である。It is an example of a manifest file included in the extension program. 拡張プログラム初期設置作業サポートプログラムの機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of an extended program initial installation work support program. 図6に示すプログラムが使用する可搬記憶媒体のデータ格納先の例である。It is an example of the data storage destination of the portable storage medium which the program shown in FIG. 6 uses. 図6に示すプログラムが使用するスクリプトファイルの例である。It is an example of the script file which the program shown in FIG. 6 uses. 各処理に必要な資源量が記載された資源量テーブルの例である。It is an example of the resource amount table in which the resource amount required for each process is described. 拡張プログラムのインストール処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the installation process of an extended program. 拡張プログラム初期設置サポートプログラムの実行操作画面の例である。It is an example of the execution operation screen of an extended program initial installation support program. マニフェストファイルの更新処理について示したフローチャートである。It is the flowchart shown about the update process of the manifest file. 実施例2の拡張プログラムのインストール処理の流れを示したフローチャートである。12 is a flowchart illustrating a flow of installation processing of an extension program according to the second embodiment. 実施例3の拡張プログラムのインストール処理の流れを示したフローチャートである。10 is a flowchart illustrating a flow of installation processing of an extension program according to the third embodiment. 実施例4の拡張プログラムのインストール処理の流れを示したフローチャートである。14 is a flowchart illustrating a flow of installation processing of an extension program according to the fourth embodiment.

(実施例1)
<ハードウェア構成例>
図1、図2を使用して、本発明における画像処理装置のハードウェア構成について説明する。なお、本実施形態に示す初期設置作業サポートプログラムは、本実施形態における画像処理装置に限定されるものではなく、MFP(Multi Function Peripheral)やその他の情報処理装置等も含まれる。
Example 1
<Hardware configuration example>
The hardware configuration of the image processing apparatus according to the present invention will be described with reference to FIGS. The initial installation work support program shown in the present embodiment is not limited to the image processing apparatus in the present embodiment, and includes an MFP (Multi Function Peripheral) and other information processing apparatuses.

図1は、本発明の画像処理装置を備える初期設置作業サポートシステムの機器構成の例を示す図である。本発明の画像処理装置を備える情報処理システムは、画像処理装置101、可搬記憶媒体102、クライアントコンピュータ103によって構成される。画像処理装置101は、複写機にスキャナ、プリンタ、ファクシミリ、ファイル送信機能等、複数の機能を統合した複合機を想定しているが、単一の機能のみを有するデバイスであってもよい。また、画像処理装置101は、可搬記憶媒体を接続するインターフェースを有している。可搬記憶媒体を接続するインターフェースの種別は問わないが、本実施例ではUSBインターフェースを用いることとする。本インターフェースに可搬記憶媒体102を接続することで、画像処理装置101は可搬記憶媒体102に対してデータの読み書きを行うことができる。   FIG. 1 is a diagram illustrating an example of a device configuration of an initial installation work support system including an image processing apparatus according to the present invention. An information processing system including the image processing apparatus according to the present invention includes an image processing apparatus 101, a portable storage medium 102, and a client computer 103. The image processing apparatus 101 is assumed to be a multifunction machine in which a plurality of functions such as a scanner, a printer, a facsimile, and a file transmission function are integrated in a copying machine, but may be a device having only a single function. The image processing apparatus 101 also has an interface for connecting a portable storage medium. The type of interface for connecting the portable storage medium is not limited, but in this embodiment, the USB interface is used. By connecting the portable storage medium 102 to this interface, the image processing apparatus 101 can read / write data from / to the portable storage medium 102.

可搬記憶媒体102は、ホストとなる機器から容易に取り外せる記憶装置であれば種別を問わないが、本実施例ではUSBマスストレージクラスを実装するUSBストレージ214を用いる。   The portable storage medium 102 may be of any type as long as it is a storage device that can be easily removed from a host device. In this embodiment, a USB storage 214 that implements a USB mass storage class is used.

クライアントコンピュータ103は、所謂パーソナルコンピュータである。クライアントコンピュータ103は、可搬記憶媒体を接続するインターフェースを有している。可搬記憶媒体を接続するインターフェースの種別は問わないが、本実施例ではUSBインターフェースを用いる。本インターフェースに可搬記憶媒体102を接続することで、クライアントコンピュータ103は可搬記憶媒体102に対してデータの読み書きを行うことができる。また、クライアントコンピュータ103は、Webブラウザプログラムを有し、画像処理装置101が公開するWebサイトにアクセスすることで、画像処理装置101の各種設定を行うことができる。   The client computer 103 is a so-called personal computer. The client computer 103 has an interface for connecting a portable storage medium. The type of interface for connecting the portable storage medium is not limited, but a USB interface is used in this embodiment. By connecting the portable storage medium 102 to this interface, the client computer 103 can read / write data from / to the portable storage medium 102. Further, the client computer 103 has a Web browser program, and can make various settings of the image processing apparatus 101 by accessing a Web site published by the image processing apparatus 101.

図2は、画像処理装置101の主要部のハードウェア構成例を示すブロック図である。画像処理装置101はコントローラユニット200を含み、コントローラユニット200には、画像入力デバイスであるスキャナ270や画像出力デバイスであるプリンタ295が接続されるとともに、操作部212が接続される。コントローラユニット200は、スキャナ270で読み取られた画像データをプリンタ295により印刷出力するコピー機能を実現するための制御を行う。   FIG. 2 is a block diagram illustrating a hardware configuration example of a main part of the image processing apparatus 101. The image processing apparatus 101 includes a controller unit 200, to which a scanner 270 that is an image input device and a printer 295 that is an image output device are connected, and an operation unit 212 is connected. The controller unit 200 performs control for realizing a copy function for printing out image data read by the scanner 270 by the printer 295.

コントローラユニット200は、CPU201を有し、CPU201は、ROM203に格納されているブートプログラムによりオペレーションシステム(OS)を立ち上げる。CPU201は、このOS上で、HDD(ハードディスクドライブ)204に格納されているプログラムを実行し、これによって各種処理を実行する。このCPU201の作業領域としてはRAM202が用いられる。RAM202は、作業領域を提供するとともに、画像データを一時記憶するための画像メモリ領域を提供する。HDD204は、上記プログラムや画像データを格納する。CPU201乃至操作部I/F206、ネットワークI/F210、USBホストI/F213は、システムバス207を介して接続され、相互にデータを送受信することができる。   The controller unit 200 has a CPU 201, and the CPU 201 starts up an operation system (OS) by a boot program stored in the ROM 203. The CPU 201 executes a program stored in an HDD (Hard Disk Drive) 204 on the OS, thereby executing various processes. A RAM 202 is used as a work area of the CPU 201. The RAM 202 provides a work area and an image memory area for temporarily storing image data. The HDD 204 stores the program and image data. The CPU 201 to the operation unit I / F 206, the network I / F 210, and the USB host I / F 213 are connected via the system bus 207, and can transmit and receive data to and from each other.

操作部I/F206は、タッチパネルを有する操作部212とのインターフェースであり、操作部212に表示すべき画像データを操作部212に対して出力する。また、操作部I/F206は、操作部212においてユーザにより入力された情報をCPU201に送出する。ネットワークI/F210は、画像処理装置101をLANに接続するためのインターフェースである。   The operation unit I / F 206 is an interface with the operation unit 212 having a touch panel, and outputs image data to be displayed on the operation unit 212 to the operation unit 212. In addition, the operation unit I / F 206 sends information input by the user through the operation unit 212 to the CPU 201. A network I / F 210 is an interface for connecting the image processing apparatus 101 to a LAN.

USBホストI/F213は、USBストレージ214と通信するインターフェース部である。USBホストI/F213は、HDD204に格納されているデータをUSBストレージ214に出力する。また、USBホストI/F213は、USBストレージ214に格納されているデータを受取りCPU201に伝える。USBストレージ214は、データを格納する外部記憶装置であり、USBホストI/F213に対して着脱可能である。USBホストI/F213には、USBストレージ214を含む複数のUSBデバイスが接続可能である。   The USB host I / F 213 is an interface unit that communicates with the USB storage 214. The USB host I / F 213 outputs the data stored in the HDD 204 to the USB storage 214. The USB host I / F 213 receives data stored in the USB storage 214 and transmits it to the CPU 201. The USB storage 214 is an external storage device that stores data, and is detachable from the USB host I / F 213. A plurality of USB devices including the USB storage 214 can be connected to the USB host I / F 213.

画像バスI/F205は、システムバス207と、画像データを高速で転送する画像バス208とを接続し、データ形式を変換するためのバスブリッジである。画像バス208は、PCIバスまたはIEEE1394等によって構成される。画像バス208には、デバイスI/F220、スキャナ画像処理部280、プリンタ画像処理部290が接続される。   An image bus I / F 205 is a bus bridge for connecting the system bus 207 and an image bus 208 for transferring image data at high speed and converting the data format. The image bus 208 is configured by a PCI bus or IEEE1394. A device I / F 220, a scanner image processing unit 280, and a printer image processing unit 290 are connected to the image bus 208.

デバイスI/F220には、スキャナ270およびプリンタ295が接続され、デバイスI/F220は、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部280は、入力画像データに対し補正、加工、編集を行う。プリンタ画像処理部290は、プリント出力画像データに対してプリンタ295に応じた補正、解像度変換などを行う。   A scanner 270 and a printer 295 are connected to the device I / F 220, and the device I / F 220 performs synchronous / asynchronous conversion of image data. A scanner image processing unit 280 corrects, processes, and edits input image data. The printer image processing unit 290 performs correction, resolution conversion, and the like corresponding to the printer 295 for the print output image data.

<ソフトウェア構成例>
図3は、画像処理装置101の拡張プログラムの実行環境の例を示すブロック図である。オペレーティングシステム(OS)300上には、スキャナ270やプリンタ295等のデバイスをアプリケーションから制御するためのデバイス制御ライブラリ301がある。そのライブラリ上には、コピーやFAX、スキャナなどの初期状態で画像処理装置101に備わっているネイティブプログラム302と、拡張プログラムの実行フレームワークである拡張プログラム実行プラットフォーム303が動作している。
<Software configuration example>
FIG. 3 is a block diagram illustrating an example of an execution environment of the extension program of the image processing apparatus 101. On the operating system (OS) 300, there is a device control library 301 for controlling devices such as the scanner 270 and the printer 295 from an application. On the library, a native program 302 provided in the image processing apparatus 101 in an initial state such as copying, FAX, and scanner, and an extended program execution platform 303 that is an execution program execution framework are operating.

ネイティブプログラム302上には、ファームウェア更新サービス304、オプション有効化サービス305、設定管理サービス306が動作している。また、拡張プログラム実行プラットフォーム303上では、拡張プログラムシステムサービス307と拡張プログラム管理サービス308、拡張プログラム309が動作している。ファームウェア更新サービス304は、ファームウェアを更新するための各種機能を提供するサービスである。例えば、ファームウェア更新サービス304は、ユーザから指定されたファームウェアを参照し、該ファームウェアの更新が必要か否かを判断する。またネイティブプログラム302に対し、またはネイティブプログラム302を介し、ファームウェアを更新する。   On the native program 302, a firmware update service 304, an option validation service 305, and a setting management service 306 operate. On the extended program execution platform 303, an extended program system service 307, an extended program management service 308, and an extended program 309 are operating. The firmware update service 304 is a service that provides various functions for updating firmware. For example, the firmware update service 304 refers to the firmware designated by the user and determines whether the firmware needs to be updated. Further, the firmware is updated with respect to the native program 302 or via the native program 302.

オプション有効化サービス305は、ネイティブプログラム302に予め組み込まれているオプション機能を有効化するためのサービスである。オプション有効化サービス305は、ユーザから指定されたオプションライセンスファイルにより特定されるオプション機能を識別し、有効化する。   The option validation service 305 is a service for validating an option function incorporated in advance in the native program 302. The option validation service 305 identifies and validates the option function specified by the option license file designated by the user.

設定管理サービス306は、プリンタやスキャナなどの各種設定情報を管理するためのサービスである。設定管理サービス306は、例えばユーザから1つまたは複数の設定、または複数の設定情報を含むファイルを指定されると、ネイティブプログラム302の設定情報を書き換える機能を提供する。尚、設定管理サービス306は、ユーザインターフェース(以下、UI)を持っており、ユーザは画像処理装置101の操作部208を介して設定変更の指示ができる。   The setting management service 306 is a service for managing various setting information such as printers and scanners. The setting management service 306 provides a function of rewriting the setting information of the native program 302 when, for example, one or more settings or a file including a plurality of setting information is designated by the user. The setting management service 306 has a user interface (hereinafter referred to as UI), and the user can instruct setting change via the operation unit 208 of the image processing apparatus 101.

拡張プログラムシステムサービス307は、拡張プログラムに共通して有用なユーティリティライブラリで、システムから提供される。拡張プログラム309から拡張プログラムシステムサービス307が備える機能を呼び出すことにより、新規で拡張プログラムを開発する手間を省くことができる。   The extended program system service 307 is a utility library that is useful in common with extended programs, and is provided from the system. By calling functions provided in the extended program system service 307 from the extended program 309, it is possible to save time and effort for developing a new extended program.

拡張プログラム管理サービス308は、拡張プログラム309の管理(インストール・アンインストール・開始・停止・資源管理など)を行う。拡張プログラム管理サービス308を使用することで、拡張プログラムから他の拡張プログラムのインストールや、資源量の取得を行うことができる。   The extension program management service 308 manages the extension program 309 (installation / uninstallation / start / stop / resource management, etc.). By using the extended program management service 308, it is possible to install another extended program and acquire the amount of resources from the extended program.

拡張プログラム309は、拡張プログラム実行プラットフォーム303または拡張プログラムシステムサービス307や拡張プログラム管理サービス308を介してのみ、他の拡張プログラムやRAM202など画像処理装置101の各モジュールへアクセス可能。   The extension program 309 can access other extension programs and modules of the image processing apparatus 101 such as the RAM 202 only through the extension program execution platform 303, the extension program system service 307, and the extension program management service 308.

また、ユーザインターフェース(以下、UI)を持つ拡張プログラムは、画像処理装置101の操作部212に表示されるメインメニュー画面にアイコンを表示することができる。このアイコンをユーザが選択したことを、操作部212を通じて操作部I/F206が検知すると、操作部I/F206はその旨をCPU201に送信する。その旨を受け取ったCPU201はユーザに選択された拡張プログラムのUIを操作部212に表示する。   An extension program having a user interface (hereinafter referred to as UI) can display an icon on the main menu screen displayed on the operation unit 212 of the image processing apparatus 101. When the operation unit I / F 206 detects that the user has selected this icon through the operation unit 212, the operation unit I / F 206 transmits the fact to the CPU 201. Receiving the notice, the CPU 201 displays the UI of the extension program selected by the user on the operation unit 212.

図4は、拡張プログラム管理サービス308について詳細に説明した図である。拡張プログラム管理サービス308は、ユーザインタフェース制御部401、拡張プログラム制御部402、マニフェストファイル取得部403、資源情報管理部404から構成される。   FIG. 4 is a diagram illustrating the extended program management service 308 in detail. The extended program management service 308 includes a user interface control unit 401, an extended program control unit 402, a manifest file acquisition unit 403, and a resource information management unit 404.

ユーザインタフェース制御部401は、拡張プログラムを管理するためのユーザインタフェースを制御する。本実施形態のユーザインタフェース制御部401はウェブアプリケーションであり、ユーザはウェブブラウザ上から画像処理装置101にアクセスして拡張プログラムの管理操作を行うことができる。また、ユーザインタフェース制御部401は拡張プログラムからアクセスするためのI/Fを持ち、他の拡張プログラムに対して管理操作を行うことができる。拡張プログラム制御部402は、ユーザインタフェースからの要求を受け取り拡張プログラムの実行を制御する。マニフェストファイル取得部403は、拡張プログラムを管理する際に利用する情報を拡張プログラムから取得する。資源情報管理部404は画像処理装置101上で利用可能な資源量や動作中の拡張プログラムの利用資源などを管理する。ここで、資源情報には、ワークメモリの空き容量、記憶装置105の空き容量も含まれる。   The user interface control unit 401 controls a user interface for managing the extension program. The user interface control unit 401 according to the present embodiment is a web application, and the user can access the image processing apparatus 101 from a web browser and perform an extension program management operation. The user interface control unit 401 has an I / F for accessing from an extension program, and can perform management operations on other extension programs. The extension program control unit 402 receives a request from the user interface and controls execution of the extension program. The manifest file acquisition unit 403 acquires information used when managing the extension program from the extension program. The resource information management unit 404 manages the amount of resources that can be used on the image processing apparatus 101 and the resources that are used by the extended program being operated. Here, the resource information includes the free capacity of the work memory and the free capacity of the storage device 105.

<マニフェストファイル例> <Example of manifest file>

図5は各拡張プログラムが持つようにフレームワークで定められた規定マニフェストファイルに記載される内容について説明した図である。マニフェストファイル500には、拡張プログラムの名前等の拡張プログラム情報501と、拡張プログラムが起動した際に使用する資源量の最大値を記載した消費資源情報502が記載される。消費資源情報502は、拡張プログラムの開発者によってあらかじめ計測された資源量が記載され、メモリの最大使用量や記憶装置の最大使用量が記載される。具体的には、MaximumMemoryUsage1024は、拡張プログラムApp 1のインストール時に必要な資源量を示し、該プログラムが起動されると、MaximumFilespace Usage512000が資源量として必要になる。これらの値以上の資源量が画像処理装置101に存在しない場合、拡張プログラムはインストール不可能である。また、インストールできた場合でも、拡張プログラム起動時に資源不足に陥る可能性がある。なお、図5では拡張プログラムの資源情報のみが記載されているが、ファームウェア情報やデバイス設定に関する資源情報も記載されているものとする。あるいは、ファームウェア情報やデバイス設定の資源情報は別のマニフェストに記載されていることもある。   FIG. 5 is a diagram for explaining the contents described in the specified manifest file defined by the framework so that each extension program has. The manifest file 500 includes extension program information 501 such as the name of the extension program, and consumption resource information 502 that describes the maximum value of the amount of resources used when the extension program is activated. In the consumption resource information 502, the amount of resources measured in advance by the developer of the extension program is described, and the maximum usage amount of the memory and the maximum usage amount of the storage device are described. Specifically, MaximumMemoryUsage 1024 indicates the amount of resources required when installing the extension program App 1, and when the program is activated, MaximumFile Usage 512000 is required as the amount of resources. If there is no resource amount greater than these values in the image processing apparatus 101, the extension program cannot be installed. Even if it can be installed, there is a possibility that it will run out of resources when starting the extended program. In FIG. 5, only the resource information of the extension program is described, but it is assumed that the resource information related to firmware information and device settings is also described. Alternatively, firmware information and device setting resource information may be described in another manifest.

拡張プログラムのインストール時、拡張プログラム管理サービス308はマニフェストファイル500を基に、拡張プログラムの解析を行う。拡張プログラム管理サービス308は、インストールする拡張プログラムの資源の使用量がデバイスで使用可能な資源の量を超えないかどうかを判断し、超えないと判断した場合に拡張プログラムのインストール処理を行う。   When the extension program is installed, the extension program management service 308 analyzes the extension program based on the manifest file 500. The extension program management service 308 determines whether or not the usage amount of the extension program resource to be installed does not exceed the amount of resources that can be used by the device.

<初期設置作業サポートプログラム>
本発明に係る、後述する拡張プログラムの実行環境の資源領域拡大処理は、拡張プログラムの一つである拡張プログラム初期設置作業サポートプログラムが行う。拡張プログラム初期設置作業サポートプログラムは画像処理装置101が生産現場から出荷される段階で搭載されていることが望ましいが、初期設置作業現場でインストールしてもよい。
<Initial installation work support program>
The extension program initial installation work support program, which is one of the extension programs, performs the resource area expansion process of the extension program execution environment, which will be described later. The extended program initial installation work support program is preferably installed when the image processing apparatus 101 is shipped from the production site, but may be installed at the initial installation work site.

図6は、拡張プログラム初期設置作業サポートプログラムの機能構成例を示す図である。CPU211が各機能に応じたプログラムを実行することにより、各機能は実現される。拡張プログラム初期設置作業サポートプログラム600は、UI制御部601、ストレージ管理部602、処理実行部603、資源管理部604、スクリプト解析部605を備える。   FIG. 6 is a diagram illustrating a functional configuration example of the extended program initial installation work support program. Each function is realized by the CPU 211 executing a program corresponding to each function. The extended program initial installation work support program 600 includes a UI control unit 601, a storage management unit 602, a process execution unit 603, a resource management unit 604, and a script analysis unit 605.

UI制御部601は、拡張プログラム初期設置作業サポートプログラムを操作するためのUIを、操作部219を通じてユーザに提供し、ユーザの操作を受け付ける。ストレージ管理部602は、USBストレージ223のデータの読み書きを行う。また、USBストレージ223の抜き差しを検知する。処理実行部603は、UI制御部601及びストレージ管理部602の指示に従い、各種処理を行う。   The UI control unit 601 provides a user for operating the extended program initial installation work support program to the user through the operation unit 219, and receives the user's operation. The storage management unit 602 reads and writes data in the USB storage 223. In addition, the insertion / removal of the USB storage 223 is detected. The process execution unit 603 performs various processes in accordance with instructions from the UI control unit 601 and the storage management unit 602.

資源管理部604は、拡張プログラム管理サービス308を利用して、拡張プログラム初期設置作業サポートプログラム600がインストールしようとする拡張プログラムが資源不足に陥らないかどうかを判断する。資源不足に陥ると判断された場合、拡張プログラム初期設置作業サポートプログラム600の持つマニフェストファイル500の消費資源量502の値を減らすように修正/更新し、インストールに必要な資源量を画像処理装置101に確保する。スクリプト解析部605は、USBストレージ223に格納されている設置作業指示情報のスクリプトを解析し、処理実行部603が実行すべき処理、順序を決定する。   The resource management unit 604 uses the extension program management service 308 to determine whether or not the extension program to be installed by the extension program initial installation work support program 600 does not run out of resources. If it is determined that there is a shortage of resources, it is corrected / updated so as to reduce the value of the consumed resource amount 502 of the manifest file 500 of the extended program initial installation work support program 600, and the amount of resources necessary for the installation is changed to the image processing apparatus 101. To ensure. The script analysis unit 605 analyzes the script of the installation work instruction information stored in the USB storage 223, and determines the process and order to be executed by the process execution unit 603.

図7は、本発明に係る初期設置作業サポートプログラム600が使用するUSBストレージ214内のフォルダ及びファイル構成の例を示す図である。ルートフォルダ700の中にはFirmwareフォルダ701、EmbeddedFuncフォルダ703、Appフォルダ705、DevConfigフォルダ708、Logフォルダ710、Script.xmlファイル712が存在する。   FIG. 7 is a diagram showing an example of the folder and file structure in the USB storage 214 used by the initial installation work support program 600 according to the present invention. In the root folder 700, there are a Firmware folder 701, an Embedded Func folder 703, an App folder 705, a DevConfig folder 708, a Log folder 710, a Script. An xml file 712 exists.

Firmwareフォルダ701は、画像処理装置101に対して更新したいファームウェアを格納するフォルダである。本図では、Firmwareフォルダ701の中には、ファームウェア群をzip形式でアーカイブしたFirmware_v1.0.1.zipファイル702が存在している。   The Firmware folder 701 is a folder for storing firmware to be updated for the image processing apparatus 101. In the figure, the Firmware folder 701 includes Firmware_v1.0.1.1.0 in which firmware groups are archived in the zip format. A zip file 702 exists.

EmbeddedFuncフォルダ703は、画像処理装置101にプリインストールされている機能をアクティベートするためのライセンスファイルを格納するフォルダである。本図では、EmbeddedFuncフォルダ703の中には、ライセンスファイルEmbeddedFunc−License.lic704が存在している。   The EmbeddedFunc folder 703 is a folder for storing a license file for activating a function preinstalled in the image processing apparatus 101. In the figure, the Embedded Func folder 703 contains a license file Embedded Func-License. lic 704 exists.

Appフォルダ705は、初期設置作業にて画像処理装置101に対してインストールすべき拡張プログラム、及び拡張プログラムのインストールに必要なライセンスファイルを格納するフォルダである。本図では、Appフォルダ705の中には、拡張プログラムApplication001.jar706、及びライセンスファイルApp001−License.lic707が存在している。   The App folder 705 is a folder for storing an extension program to be installed in the image processing apparatus 101 in the initial installation work and a license file necessary for installing the extension program. In this figure, in the App folder 705, the extension program Application001. jar 706 and the license file App001-License. lic 707 exists.

DevConfigフォルダ708は、リファレンス画像処理装置にて事前に設定、及びエクスポートした設定情報を格納するフォルダである。本図では、DevConfigフォルダ708の中には、zip形式でアーカイブしたファイルdeviceConfigurationFile.zip709が存在している。   The DevConfig folder 708 is a folder for storing setting information that has been set and exported in advance by the reference image processing apparatus. In the figure, the DevConfig folder 708 contains a file deviceConfigurationFile.archived in the zip format. Zip 709 exists.

Logフォルダ710は、初期設置作業サポートプログラムが実行した結果のファイル(以降、ログ)を格納するためのフォルダである。本図では、Logフォルダ710の中にはLog.txt711が格納されているが、初期設置作業サポートプログラムを実行する前は、Logフォルダ710、及びLog.txt711は存在しない。これらのフォルダ及びファイルは、実行中、または実行後に初期設置作業プログラムが作成する。   The Log folder 710 is a folder for storing a file (hereinafter, a log) as a result of execution by the initial installation work support program. In this figure, the Log folder 710 contains Log. txt 711 is stored, but before executing the initial installation work support program, the Log folder 710 and the Log. There is no txt711. These folders and files are created by the initial installation work program during or after execution.

Script.xml712は、初期設置作業を自動的に処理するための作業手順を示す指示書(スクリプト)である。スクリプトの詳細については、図8にて後述する。本スクリプトは、処理手順を定義するファイルである。画像形成装置101が、このスクリプトファイルの存在有無によって初期設置作業サポートプログラムの実行可否を決定しても良い。つまり使用中のUSBストレージ204が、本発明に係る初期設置作業サポートプログラム用のUSBストレージ204であることを示す識別子として使用しても良い。   Script. xml 712 is an instruction sheet (script) indicating a work procedure for automatically processing the initial installation work. Details of the script will be described later with reference to FIG. This script is a file that defines the processing procedure. The image forming apparatus 101 may determine whether or not to execute the initial installation work support program depending on the presence or absence of the script file. That is, the USB storage 204 in use may be used as an identifier indicating that it is the USB storage 204 for the initial installation work support program according to the present invention.

ResourceTable.csv713は、初期設置作業を行う際に、各処理においてどの程度の資源を使用するかを記載したファイルである。ファイルの内容については、図9を用いて後述する。尚、本実施例ではCSVファイルとしたが、他の形式のファイルでも構わないし、USBメモリ上ではなく拡張プログラム初期設置作業サポートプログラム内に存在しても構わない。また、本図における構成は一例であり、これに限らず任意のフォルダ構成として良い。   ResourceTable. The csv 713 is a file that describes how much resources are used in each process when performing the initial installation work. The contents of the file will be described later with reference to FIG. In this embodiment, the CSV file is used. However, it may be a file of another format, and may exist in the extended program initial installation work support program instead of on the USB memory. Further, the configuration in this figure is an example, and the configuration is not limited to this, and an arbitrary folder configuration may be used.

図8は、画像処理装置101の初期設置を自動で処理するための作業手順を示す指示書であるスクリプトの例を示す。スクリプト800は、初期設置作業サポートプログラム600のストレージ管理部602で読み込まれ、処理実行部603を介しスクリプト解析部604によって解析される。スクリプト解析部604によって解析されたスクリプト800は、その後処理実行部603によって記載された処理が実行される。また本図におけるスクリプト800は、XML(Extensible Markup Language)で記載されており、画像処理装置識別部801と処理記載部802で構成されている。尚、本図ではXMLによりスクリプトを表現しているが、XMLに限定されず、シェルスクリプトなどで書かれていても良い。   FIG. 8 shows an example of a script that is an instruction sheet showing a work procedure for automatically processing the initial installation of the image processing apparatus 101. The script 800 is read by the storage management unit 602 of the initial installation work support program 600 and analyzed by the script analysis unit 604 via the processing execution unit 603. The script 800 analyzed by the script analysis unit 604 is then subjected to the process described by the process execution unit 603. The script 800 in this figure is described in XML (Extensible Markup Language), and includes an image processing device identification unit 801 and a process description unit 802. In this figure, the script is expressed by XML, but is not limited to XML, and may be written by a shell script or the like.

画像処理装置識別部801は、初期設置作業の対象である画像処理装置101を識別するための情報が記載されており、画像処理装置101の識別子である<deviceId>と、本スクリプトの内容を任意の文字列で示す<comment>で構成されている。<comment>は、本スクリプトの内容説明だけでなく、<deviceId>だけで識別不可能な場合の識別子として利用しても良い。例えば、1つの画像処理装置101に対し複数の設定を用意する必要がある場合に識別子として利用可能である。   The image processing device identification unit 801 describes information for identifying the image processing device 101 that is the target of the initial installation work, and optionally specifies <deviceId> that is the identifier of the image processing device 101 and the contents of this script. <Comment> indicated by the character string. <Comment> may be used not only as a description of the content of this script but also as an identifier when it cannot be identified only by <deviceId>. For example, it can be used as an identifier when it is necessary to prepare a plurality of settings for one image processing apparatus 101.

処理記載部802は、初期設置を実施するために必要な処理群が記載される。本図では、処理記載部802はファームウェア更新処理803、拡張プログラムインストール処理804、拡張プログラム開始処理805を備える。また、処理記載部802は、システム組み込み拡張プログラムアクティベート処理806、設定情報インポート処理807、拡張プログラム設定情報インポート処理808も備える。各処理を示すタグの中にはOrder属性が含まれており、本図ではOrderの値に応じて処理の順番が決定する。   The process description part 802 describes a process group necessary for performing the initial installation. In this figure, the process description unit 802 includes a firmware update process 803, an extension program installation process 804, and an extension program start process 805. The processing description unit 802 also includes a system built-in extended program activation process 806, a setting information import process 807, and an extended program setting information import process 808. The tag indicating each process includes an Order attribute. In this figure, the order of the processes is determined according to the value of Order.

ファームウェア更新処理803は、ファームウェア更新サービス303を介してファームウェアを更新する処理である。ファームウェア更新処理803は、<updateFirmwareCommand>タグを記載することで処理を定義し、<relativeDirPath>タグと<FirmwareName>により使用するファイルを指定している。<relativeDirPath>タグは、ルートフォルダ700から更新したいファームウェアまでの相対パスが記載されている。<FirmwareName>タグは、更新したいファームウェアが指定されている。本図においてはZip形式でアーカイブされたファームウェアが指定されている。   The firmware update process 803 is a process for updating firmware via the firmware update service 303. The firmware update process 803 defines a process by describing an <updateFirmwareCommand> tag, and designates a file to be used by a <relativeDirPath> tag and <FirmwareName>. The <relativeDirPath> tag describes a relative path from the root folder 700 to the firmware to be updated. The <FirmwareName> tag specifies the firmware to be updated. In the figure, firmware archived in the Zip format is designated.

拡張プログラムインストール処理804は、<installApplicationCommand>タグの記載により処理を定義している。そして、<relativeDirPath>タグ、及び<AppFileName>タグによりインストールされる拡張プログラムが指定されている。<relativeDirPath>タグには、ルートフォルダ700からインストール対象の拡張プログラムの実体までの相対パスが記載されている。<AppFileName>タグは、インストール対象の拡張プログラムの実体が指定されている。本図においてはJarファイル形式の拡張プログラムが指定されている。尚、本拡張プログラムの形式はJarファイル形式に限定されない。   The extension program installation process 804 defines the process by the description of the <installApplicationCommand> tag. An extension program to be installed is specified by a <relativeDirPath> tag and an <AppFileName> tag. The <relativeDirPath> tag describes a relative path from the root folder 700 to the actual extension program to be installed. The <AppFileName> tag specifies the entity of the extension program to be installed. In this figure, an extension program in the Jar file format is designated. Note that the format of this extension program is not limited to the Jar file format.

また、インストール対象の拡張プログラムに対するライセンスは、<licenseRelativeDirPath>タグ、及び<licenseFileName>タグにより指定されている。<licenseRelativeDirPath>タグには、ルートフォルダ700から拡張プログラムのライセンスファイルまでの相対パスが記載されている。<licenseFileName>タグには、拡張プログラムのライセンスの実体が指定されている。本図においては.licファイル形式のライセンスファイルが指定されており、ライセンスのファイル形式についてはこれに限定されない。   The license for the extension program to be installed is specified by a <licenseRelateDirDirPath> tag and a <licenseFileName> tag. The <licenseRelativDirDirPath> tag describes the relative path from the root folder 700 to the license file for the extension program. The <licenseFileName> tag specifies the license of the extension program. In this figure. A license file in the lic file format is specified, and the file format of the license is not limited to this.

拡張プログラム開始処理805は、<startApplicationCommand>タグの記載により処理が定義されており、<appId>タグにより開始対象の拡張プログラムが指定されている。<appId>タグには、開始対象の拡張プログラムを唯一に識別するIDが指定されている。   The extension program start process 805 is defined by the description of the <startApplicationCommand> tag, and the extension program to be started is specified by the <appId> tag. In the <appId> tag, an ID that uniquely identifies the extension program to be started is specified.

システム組み込み拡張プログラムアクティベート処理806は、<activateEmbeddedFunctionCommand>タグの記載により処理を定義している。そして、<relativeDirPath>タグ、及び<licenseFileName>タグによりアクティベートされる組み込み拡張プログラムが指定されている。<relativeDirPath>タグには、ルートフォルダ700からアクティベートする組み込み拡張プログラムのライセンスファイルまでの相対パスが記載されている。<licenseFileName>タグには、組み込み拡張プログラムを有効化するためのライセンスの実体が指定されている。本図においてはlic形式のライセンスファイルが指定されており、ライセンスのファイル形式についてはこれに限定されない。尚、画像処理装置101にプリインストールされた組み込み拡張プログラムが無い場合、また有効化しない場合には、本処理の記載は不要である。   The system built-in extended program activation process 806 defines the process by the description of the <activateEmbeddedFunctionCommand> tag. The embedded extension program activated by the <relativeDirPath> tag and the <licenseFileName> tag is designated. The <relativeDirPath> tag describes the relative path from the root folder 700 to the license file of the embedded extension program to be activated. The <licenseFileName> tag specifies a license entity for validating the embedded extension program. In this figure, a license file in the lic format is designated, and the license file format is not limited to this. If there is no built-in extension program preinstalled in the image processing apparatus 101, or if it is not activated, the description of this process is unnecessary.

設定情報インポート処理807は、<importDeviceConfigCommand>タグの記載により処理を定義している。そして、<relativeDirPath>タグ、及び<configFileName>タグによりインポートする設定情報ファイルが指定されている。<relativeDirPath>タグには、ルートフォルダ700からインポート対象の設定情報ファイルまでの相対パスが記載されている。<configFileName>タグには、インポート対象の設定情報ファイルが指定されている。本図においてはZip形式にアーカイブされた設定情報ファイルが指定されている。尚、本設定情報ファイルの形式はZipファイル形式に限定されない。   The setting information import process 807 defines the process by describing the <importDeviceConfigCommand> tag. A setting information file to be imported is specified by a <relativeDirPath> tag and a <configFileName> tag. The <relativeDirPath> tag describes the relative path from the root folder 700 to the setting information file to be imported. In the <configFileName> tag, a setting information file to be imported is specified. In the figure, a setting information file archived in the Zip format is designated. The format of the setting information file is not limited to the Zip file format.

拡張プログラム設定情報インポート処理808は、<importAppConfigCommand>タグの記載により処理を定義している。そして、<relativeDirPath>タグ、及び<configFileName>タグによりインポートされる拡張プログラム設定情報ファイルが指定されている。<relativeDirPath>タグは、ルートフォルダ700からインポート対象の設定情報ファイルまでの相対パスが記載されている。<configFileName>タグは、インポート対象の設定情報ファイルが指定されている。本図においてはZip形式にアーカイブされた拡張プログラム設定情報ファイルが指定されている。尚、本設定情報ファイルの形式はZipファイル形式に限定されない。尚、本図で示すスクリプトの処理は記載された処理に限定されず、例えば画像処理装置101の再起動処理などを加えても良い。また必要不要に応じて処理の重複、増減があっても良い。   The extended program setting information import process 808 defines the process by the description of the <importAppConfigCommand> tag. An extended program setting information file to be imported is designated by a <relativeDirPath> tag and a <configFileName> tag. The <relativeDirPath> tag describes the relative path from the root folder 700 to the setting information file to be imported. The <configFileName> tag specifies a setting information file to be imported. In this figure, an extended program setting information file archived in the Zip format is designated. The format of the setting information file is not limited to the Zip file format. Note that the script processing shown in the drawing is not limited to the processing described, and for example, restart processing of the image processing apparatus 101 may be added. Further, there may be overlap and increase / decrease of processing as required.

図9に拡張プログラムをインストール可能な領域を広げるために使用する、初期設置サポートプログラムの各処理で使用する資源量を保持したデータテーブルについて説明する。拡張プログラム初期設置作業サポートプログラムは、拡張プログラムなどをインストールする際に図9に示すデータテーブルを参照する。   FIG. 9 illustrates a data table holding the amount of resources used in each process of the initial installation support program, which is used to expand the area where the extension program can be installed. The extension program initial installation work support program refers to the data table shown in FIG. 9 when installing the extension program or the like.

各処理使用資源量テーブル900には、初期設置サポートプログラムの各処理901に対して、使用資源量902に必要な資源量が記載されている。使用資源量902は、使用するインストール領域のサイズが記載されている。インストール領域のほかに、拡張プログラム初期設置サポートプログラムを起動した際に各処理が使用するメモリ領域のサイズ等が記載されてもよい。初期設置サポートプログラムは、使用資源量902に記載の値を基に、拡張プログラム初期設置サポートプログラムのマニフェストファイルに記載された資源量の値を修正する。各処理使用資源量テーブル900は、処理毎に記載しても構わないし、拡張プログラムをインストールする前に行う処理すべてをまとめた値として記載されても構わない。   Each processing resource usage table 900 describes the amount of resources required for the resource usage 902 for each processing 901 of the initial installation support program. The used resource amount 902 describes the size of the installation area to be used. In addition to the installation area, the size of the memory area used by each process when the extended program initial installation support program is started may be described. The initial installation support program corrects the value of the resource amount described in the manifest file of the extended program initial installation support program based on the value described in the used resource amount 902. Each processing resource usage table 900 may be described for each processing, or may be described as a value that summarizes all processing performed before installing the extension program.

<初期設置作業サポートプログラム_作業ステップ>
以下、本発明に係る、画像処理装置101の拡張プログラムの初期設置作業について説明する。図11は拡張プログラム初期設置作業サポートプログラムの操作画面の図である。拡張プログラム初期設置作業サポートプログラムが実行するスクリプト800のファイル名を確認し、実行ボタン1101を押下することで、処理が開始される。ただし、実行の開始方法については、実行ボタン1101の押下の他、USBメモリ214が挿入された時点で実行する等でも構わない。
<Initial installation work support program_working steps>
Hereinafter, the initial installation work of the expansion program of the image processing apparatus 101 according to the present invention will be described. FIG. 11 is a diagram of an operation screen of the extended program initial installation work support program. The processing is started by confirming the file name of the script 800 executed by the extended program initial installation work support program and pressing the execution button 1101. However, the execution start method may be executed when the USB memory 214 is inserted in addition to pressing the execution button 1101.

図10は、本発明における処理の流れを示したフローチャートである。CPU201は、HDD204またはROM203等に格納されているプログラムをRAM202にロードし実行することによって本発明の各種処理を実行する。S1001では、スクリプト解析部605がUSBストレージ214から読み込まれたスクリプト800を解析し、スクリプト800に記載された処理順序を解釈する。S1002では、スクリプト解析部605が次に実行する処理が拡張プログラムインストール処理804であるかどうか確認する。   FIG. 10 is a flowchart showing the flow of processing in the present invention. The CPU 201 executes various processes of the present invention by loading a program stored in the HDD 204 or the ROM 203 into the RAM 202 and executing it. In step S1001, the script analysis unit 605 analyzes the script 800 read from the USB storage 214 and interprets the processing order described in the script 800. In step S <b> 1002, the script analysis unit 605 confirms whether the next process to be executed is the extended program installation process 804.

次に実行する処理が拡張プログラムインストール処理804である場合、処理はS1003に進む。次に実行する処理が拡張プログラムインストール処理804でない場合、S1012において処理実行部603が処理を実行する。ここでの処理は、ファームウェア更新処理803、拡張プログラム開始処理805、システム組み込み拡張プログラムアクティベート処理806、設定情報インポート処理807のいずれであっても構わない。S1013において、次に実行する必要がある場合はS1002に処理が進み、処理がないと場合は、処理終了する。   When the process to be executed next is the extended program installation process 804, the process proceeds to S1003. If the process to be executed next is not the extended program installation process 804, the process execution unit 603 executes the process in S1012. The processing here may be any of firmware update processing 803, extension program start processing 805, system built-in extension program activation processing 806, and setting information import processing 807. If it is necessary to execute next in S1013, the process proceeds to S1002, and if there is no process, the process ends.

S1003では、処理実行部603は、既にインストール済みの拡張プログラムが使用する総資源量を計測する。総資源量には、拡張プログラム初期設置サポートプログラム自身が使用する資源も含まれる。資源管理部604が拡張プログラム管理サービス308のマニフェストファイル取得部403に問い合わせることで、すでに画像処理装置101にインストール済みの拡張プログラムの総資源使用量を取得することが出来る。   In step S1003, the process execution unit 603 measures the total amount of resources used by the already installed extension program. The total resource amount includes resources used by the extended program initial installation support program itself. The resource management unit 604 makes an inquiry to the manifest file acquisition unit 403 of the extension program management service 308, so that the total resource usage of the extension program already installed in the image processing apparatus 101 can be acquired.

S1004では、資源管理部604が、インストール対象の拡張プログラムにより使用される資源量を確認する。資源管理部604は、マニフェストファイルを読み出し、インストール対象の拡張プログラムの資源情報を取得する。取得する値は、次にインストールする1つのプログラムの値だけであっても、インストールするすべての拡張プログラムの合計の値であっても構わない。すべての拡張プログラムの合計値を取得する場合は、後のS1011の処理は必要ない。   In step S1004, the resource management unit 604 confirms the amount of resources used by the extension program to be installed. The resource management unit 604 reads the manifest file and acquires the resource information of the extension program to be installed. The value to be acquired may be only the value of one program to be installed next, or the total value of all the extended programs to be installed. When the total value of all the extended programs is acquired, the subsequent processing of S1011 is not necessary.

S1005では、資源管理部604が先のS1003、S1004で取得した資源量を合算し、合算した値と画像処理装置101で拡張プログラムの領域として使用可能な資源量と比較する。拡張プログラムをインストールすると資源不足が発生すると判断されると、処理はS1006に進む。資源不足が発生しない場合は、S1012において、処理実行部603は拡張プログラムインストール処理804を実行する。   In step S <b> 1005, the resource management unit 604 adds up the resource amounts acquired in steps S <b> 1003 and S <b> 1004, and compares the added value with the resource amount that can be used as an extension program area in the image processing apparatus 101. If it is determined that a shortage of resources occurs when the extension program is installed, the process proceeds to S1006. If the resource shortage does not occur, the process execution unit 603 executes the extension program installation process 804 in S1012.

S1006では、S1012で既に実行された処理があるかどうかを判断する。実行された処理がない場合、拡張プログラム初期設置サポートプログラムが使用する資源の削減が出来ないため、拡張プログラムインストール処理804の実行はできない。そのため、ストレージ管理部602は拡張プログラムインストール処理804の実行はあきらめて、処理はS1013に進む。すでに実行済みの処理がある場合はマニフェストファイルの修正により資源を削減可能なため、処理はS1007に進む。   In S1006, it is determined whether there is a process already executed in S1012. If there is no process executed, the extension program installation process 804 cannot be executed because the resources used by the extension program initial installation support program cannot be reduced. Therefore, the storage management unit 602 gives up execution of the extended program installation process 804, and the process proceeds to S1013. If there is a process that has already been executed, the resource can be reduced by modifying the manifest file, and the process advances to step S1007.

S1007では、ResourceTable.csv713を元に、資源管理部604は、拡張プログラム初期設置サポートプログラムがすでに実行済みの処理が使用した総資源量を取得する。S1008では、処理実行部603が、S1007で取得した値を元に、拡張プログラム初期設置作業サポートプログラムの持つマニフェストファイルに宣言された使用資源の値を修正/更新する。値の修正方法については図12で詳細に説明する。   In S1007, ResourceTable. Based on the csv 713, the resource management unit 604 acquires the total amount of resources used by the processing that has already been executed by the extended program initial installation support program. In step S1008, the process execution unit 603 corrects / updates the value of the resource used declared in the manifest file of the extended program initial installation work support program based on the value acquired in step S1007. The value correction method will be described in detail with reference to FIG.

S1009では、処理実行部603は、S1008において修正したマニフェストファイルを画像処理装置101に登録する。これにより、拡張プログラムをインストールために使用可能な領域を広げることが出来る。修正済みマニフェストファイルは、拡張プログラム管理サービス308を介して反映させる。また、修正済みマニフェストファイルを持った新しい拡張プログラム初期設置サポートプログラムのJarファイルをインストールし、現在動作中の拡張プログラム初期設置サポートプログラムをアンインストールするという方法でも構わない。   In step S1009, the process execution unit 603 registers the manifest file corrected in step S1008 in the image processing apparatus 101. As a result, an area usable for installing the extension program can be expanded. The corrected manifest file is reflected via the extended program management service 308. Alternatively, a new extension program initial installation support program Jar file having a corrected manifest file may be installed, and the currently installed extension program initial installation support program may be uninstalled.

S1010でストレージ管理部602は拡張プログラムをインストールする。ストレージ管理部602は、USBストレージ214のAppフォルダ705から拡張プログラムを読み出し、拡張プログラム制御部402を使用してインストールを実行する。S1011では、初期設置作業サポートプログラムがインストールすべき拡張プログラムが他にもあるかどうかを判断する。他にもある場合には、S1003に戻って拡張プログラムインストール処理804を計測して行う。インストールすべき拡張プログラムがない場合は、S1013に進む。   In S1010, the storage management unit 602 installs the extension program. The storage management unit 602 reads the extension program from the App folder 705 of the USB storage 214 and executes installation using the extension program control unit 402. In S1011, it is determined whether there are other extension programs to be installed by the initial installation work support program. If there are others, the process returns to S1003 and the extension program installation process 804 is measured and executed. If there is no extension program to be installed, the process proceeds to S1013.

図12は、S1007、S1008を詳細にした、マニフェストファイルの修正方法を説明するフローチャートである。S1201において資源管理部604が処理実行部605から指示を受け、削減すべき資源量を計算する。資源量は、各処理使用資源量テーブル900を用いてすでに実行が終了した処理の資源量を合算する。例えば、ファームウェアアップデートとデバイス設定データインポートの処理が終了していれば、資源管理部604は300MBの資源量を算出する。   FIG. 12 is a flowchart for explaining a manifest file correction method in which S1007 and S1008 are detailed. In step S1201, the resource management unit 604 receives an instruction from the processing execution unit 605, and calculates the amount of resources to be reduced. The resource amount is the sum of the resource amounts of the processes that have already been executed using the process use resource amount table 900. For example, if the processing of firmware update and device setting data import has been completed, the resource management unit 604 calculates a resource amount of 300 MB.

S1202において、資源管理部604は、拡張プログラム初期設置サポートプログラムのマニフェストファイルを読み込む。ここでは次にインストール対象の拡張プログラムの資源量が取得される。S1203において、資源管理部604はS1201、S1202の処理で取得した値を比較する。   In step S1202, the resource management unit 604 reads the manifest file of the extended program initial installation support program. Here, the resource amount of the extension program to be installed next is acquired. In S1203, the resource management unit 604 compares the values acquired in the processing of S1201 and S1202.

S1204において、拡張プログラム初期設置サポートプログラムのマニフェスト記載の資源量の方が多いと判断した場合、S1205において処理実行部603がマニフェストファイルに記載された資源量からすでに実行済みの処理の資源量を削減する。つまり、次にインストール対象の拡張プログラムの資源量から、既に処理が終了したファームウェアアップデートとデバイス設定データインポートに係る資源量が削減される。処理実行が終了した処理の資源量の合計の値の方が多いと判断した場合は、S1206において、処理実行部603は、拡張プログラム初期設置サポートプログラムのマニフェスト記載の資源量を0に設定する。   If it is determined in S1204 that the amount of resources described in the manifest of the extended program initial installation support program is larger, the processing execution unit 603 reduces the amount of resources already executed from the amount of resources described in the manifest file in S1205. To do. That is, the resource amount relating to the firmware update and device setting data import that have already been processed is reduced from the resource amount of the extension program to be installed next. If it is determined that the total value of the resource amounts of the processes for which the process execution has been completed is larger, in S1206, the process execution unit 603 sets the resource amount described in the manifest of the extended program initial installation support program to zero.

S1207において、S1205、S1206で求めた値となるよう、処理実行部603はマニフェストファイルの資源量を修正する。以上、実施例1で説明した画像処理装置によれば、資源量に起因して画像処理装置がプログラムをインストールできない場合に、既に処理が終了した処理の資源量を利用してプログラムをインストールすることが可能となる。従って、画像処理装置の初期設定作業を更に効率化し、より確実に拡張プログラムのインストール作業を行うことができる。   In step S1207, the process execution unit 603 corrects the resource amount of the manifest file so that the values obtained in steps S1205 and S1206 are obtained. As described above, according to the image processing apparatus described in the first embodiment, when the image processing apparatus cannot install the program due to the resource amount, the program is installed using the resource amount of the process that has already been completed. Is possible. Therefore, the initial setting operation of the image processing apparatus can be made more efficient, and the expansion program installation operation can be performed more reliably.

(実施例2)
実施例1同様に、拡張プログラムをインストール可能な領域を増やす手段として、あらかじめ拡張プログラムを1つのホストバンドルと各処理の機能を持った1つ以上のフラグメントバンドルとに分割して構成し搭載する方法もある。ここで、バンドルとは、Java(登録商標)モジュールのことを指し、本発明においては、アプリと同義である。OSGiの仕様には、ホストバンドルとフラグメントバンドルという仕組みがある。ホストバンドルとは、フラグメントバンドルが追加されるバンドルを指す。フラグメントバンドルとは、単独では動作せず、ホストバンドルのクラスローダ空間にバンドル自身を追加(アタッチ)する形式のバンドルである。アプリの修正または拡張時に、フラグメントバンドルを用いてホストバンドルの機能を修正または拡張することで、インストールするファイルサイズを小さくすることができ効率的にモジュールを配布することが可能となる。
(Example 2)
As in the first embodiment, as a means for increasing the area in which the extension program can be installed, a method in which the extension program is divided and configured in advance into one host bundle and one or more fragment bundles having functions of each processing There is also. Here, the bundle refers to a Java (registered trademark) module, and is synonymous with an application in the present invention. The OSGi specification has a mechanism of a host bundle and a fragment bundle. A host bundle refers to a bundle to which a fragment bundle is added. A fragment bundle is a bundle that does not operate alone, but adds (attaches) the bundle itself to the class loader space of the host bundle. By modifying or expanding the function of the host bundle using the fragment bundle when the application is modified or expanded, the file size to be installed can be reduced and the module can be efficiently distributed.

図13は、本実施例における処理の流れを説明したフローチャートである。拡張プログラム初期設置作業サポートプログラムの操作画面の実行ボタン1101を押下した後の動作について説明する。S1301からS1306までの拡張プログラムのインストール資源領域の拡張が必要かどうかを確認するステップは、図10のS1001からS1006と同様のため、説明は省略する。   FIG. 13 is a flowchart for explaining the flow of processing in this embodiment. The operation after the execution button 1101 on the operation screen of the extended program initial installation work support program is pressed will be described. The steps for checking whether or not the extension resource area of the extension program from S1301 to S1306 needs to be extended are the same as S1001 to S1006 in FIG.

S1307では、すでに実行が終了した処理を持つフラグメントバンドルをアンインストールする。拡張プログラム初期設置サポートプログラムの処理実行部603が拡張プログラム管理サービス308にフラグメントバンドルのアンインストール処理を指示することでアンインストールが行われる。アンインストールするフラグメントバンドルは、実行が終了した処理1つずつのフラグメントバンドルであってもよいし、実行が終了した処理が1つのフラグメントバンドルであっても構わない。   In step S1307, the fragment bundle having the process that has already been executed is uninstalled. The processing execution unit 603 of the extended program initial installation support program instructs the extended program management service 308 to uninstall the fragment bundle, thereby performing uninstallation. The fragment bundle to be uninstalled may be one fragment bundle for each process that has been executed, or one fragment bundle that has been executed.

なお、実施例1と異なり、実施例2ではマニフェストファイルの更新処理は行わない。これは、ホストバンドルおよびフラグメントバンドル毎にマニフェストファイルが保持されているためであり、例えばホストバンドルが保持するマニフェストに記載された資源量を更新する必要がないためである。従って、S1303の処理では、資源管理部604は複数のマニフェストファイルに記載された、バンドル毎の資源量を計測することになる。   Unlike the first embodiment, the second embodiment does not perform a manifest file update process. This is because a manifest file is held for each host bundle and fragment bundle, and for example, it is not necessary to update the amount of resources described in the manifest held by the host bundle. Therefore, in the processing of S1303, the resource management unit 604 measures the resource amount for each bundle described in the plurality of manifest files.

アンインストール後の処理S1308からS1311も実施例1におけるS1010からS1013と同様のため、説明は省略する。これらの方法によって、画像処理装置はより簡易に拡張プログラムのインストール領域を拡張すること出来る。   Since the processes S1308 to S1311 after uninstallation are the same as S1010 to S1013 in the first embodiment, description thereof will be omitted. By these methods, the image processing apparatus can extend the installation area of the extension program more easily.

(実施例3)
実施例1、実施例2のように、拡張プログラムをインストールする前にインストール領域を広げてもなお、インストールが出来ない場合がある。例えば、画像処理装置の設置作業においては、基本的には各処理をどの順序でも行えるようになっている。従って、スクリプトにはファームインストールやデバイス設定の前に、最初に行う処理として拡張プログラムのインストールが記載されている可能性もある。その場合、初期設置作業サポートプログラム600は、一旦次の処理に進めて、最後に拡張プログラムのインストールを行う。
(Example 3)
As in the first and second embodiments, even if the installation area is expanded before the extension program is installed, the installation may not be performed. For example, in the installation work of the image processing apparatus, basically, each process can be performed in any order. Therefore, there is a possibility that the extension program installation is described in the script as the first process to be performed before the firmware installation or device setting. In that case, the initial installation work support program 600 proceeds to the next process once and finally installs the extension program.

図14は、本実施例における処理の流れを説明したフローチャートである。S1401からS1407は実施例1のS1001からS1007と同様のため、説明は省略する。S1408では、処理実行部603は、先のS1407で取得した資源量を基に、拡張プログラムがインストール可能かどうかを判断する。可能な場合は、処理はS1410に進む。不可能な場合、次のS1410に進んでもインストール処理は実行出来ないため、S1409において処理実行部603は処理の順番の変更を行い、実行可能な処理を実行する。インストール処理を最後に行うようにすることで別の処理を先に行うことが出来、S1407の処理で計算される資源量の総量を増やすことが出来る。順序を変更した後は、S1415に進み次の処理を実行する。   FIG. 14 is a flowchart illustrating the flow of processing in the present embodiment. Since S1401 to S1407 are the same as S1001 to S1007 of the first embodiment, description thereof is omitted. In step S1408, the process execution unit 603 determines whether the extension program can be installed based on the resource amount acquired in step S1407. If possible, the process proceeds to S1410. If it is not possible, the installation process cannot be executed even if the process proceeds to the next S1410. Therefore, in S1409, the process execution unit 603 changes the order of the processes and executes the executable processes. By performing the installation process last, another process can be performed first, and the total amount of resources calculated in the process of S1407 can be increased. After the order is changed, the process proceeds to S1415 to execute the next process.

S1410からS1415までは実施例1のS1008からS1013と同様のため、説明は省略する。これらの方法によって、画像処理装置はより確実にインストール処理を実行することができる。   Steps S1410 to S1415 are the same as steps S1008 to S1013 of the first embodiment, and a description thereof will be omitted. By these methods, the image processing apparatus can more reliably execute the installation process.

(実施例4)
実施例3に述べたように、画像処理装置の設置作業においては、基本的には各処理をどの順序でも行えるようになっている。しかし、処理の順番を変えられない場合も存在する。例えば、拡張プログラムをインストールしなければ、次の処理が行えないような場合である。次に実行する処理が、先にインストールした拡張プログラムに関連する設定データのインポート処理は、拡張プログラムのインストール前に行うことができない。そのような場合、処理の順番を変えることが出来ないため、実施例3の方法では、処理を進めることが出来ない。
Example 4
As described in the third embodiment, in the installation operation of the image processing apparatus, basically, each process can be performed in any order. However, there are cases where the order of processing cannot be changed. For example, the following processing cannot be performed unless an extension program is installed. The processing to be executed next cannot import the setting data related to the previously installed extension program before the extension program is installed. In such a case, since the order of processing cannot be changed, the method of the third embodiment cannot proceed with the processing.

ここで拡張プログラムインストール処理804に必要な資源を確保するため、すでにインストールはされているが、停止中で資源を使用しない拡張プログラムの資源量に着目する。この停止中の拡張プログラムの資源量を初期設置サポートプログラムのマニフェストの宣言値から削減することで資源量を削減する。インストール処理が終了した段階で再度マニフェストファイルを修正し、元に戻すことで問題なく動作することが出来る。この場合、ストレージ管理部602は、USBストレージ214などから読み込んだマニフェストファイルを再度読み込めばよい。   Here, in order to secure resources necessary for the extension program installation processing 804, attention is paid to the resource amount of the extension program that has already been installed but is not used. The resource amount is reduced by reducing the resource amount of the stopped extension program from the declared value of the manifest of the initial installation support program. When the installation process is completed, the manifest file can be modified again and restored to its original state so that it can operate without any problems. In this case, the storage management unit 602 only needs to read the manifest file read from the USB storage 214 or the like again.

図15は本実施例における処理の流れを説明したフローチャートである。S1501からS1507までの処理は、実施例1のS1001からS1007と同様なので、説明は省略する。   FIG. 15 is a flowchart for explaining the flow of processing in this embodiment. Since the processing from S1501 to S1507 is the same as S1001 to S1007 of the first embodiment, description thereof is omitted.

S1508において、処理実行部603は、処理が終了した処理の資源量とインストール対象の拡張プログラムに必要とされる資源量を比較する。インストール対象の拡張プログラムに必要とされる資源量の方が多い場合、S1512に進んでもインストールは実行できない。そのため、S1509において、資源管理部604が停止中の拡張プログラムがあるかどうかを確認する。停止中の拡張プログラムがある場合には、S1510において資源管理部604は停止中の拡張プログラムに必要とされる総資源量を取得する。S1511において、すでに終了した処理の資源量と合算し、拡張プログラム初期設置サポートプログラムのマニフェストファイルの資源量から削除する。その後、S1513で修正したマニフェストファイルを再登録する。   In step S <b> 1508, the process execution unit 603 compares the resource amount of the process for which the process has been completed with the resource amount required for the extension program to be installed. If the amount of resources required for the extension program to be installed is larger, the installation cannot be executed even if the processing proceeds to S1512. Therefore, in step S1509, the resource management unit 604 checks whether there is an extended program that is stopped. If there is an extended program that is stopped, the resource management unit 604 obtains the total amount of resources required for the extended program that is stopped in S1510. In step S1511, the resource amount of the already completed processing is added and deleted from the resource amount of the manifest file of the extended program initial installation support program. Thereafter, the manifest file modified in S1513 is re-registered.

さらに、停止中の拡張プログラムの資源だけでは拡張プログラムのインストールに必要な資源領域を確保できない場合には、起動中の拡張プログラムを停止させ、S1509を実行しても構わない。   Furthermore, when the resource area necessary for installing the extension program cannot be secured with only the resources of the extension program being stopped, the extension program being started may be stopped and S1509 may be executed.

これにより、画像処理装置は、処理の順を変更せずにすべての拡張プログラムのインストール処理を実行することが可能となる。   As a result, the image processing apparatus can execute installation processing for all extension programs without changing the processing order.

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

101 画像処理装置 101 Image processing apparatus

Claims (10)

マニフェストファイルに記載された資源量に基づいてプログラムをインストールするインストール手段と、
前記プログラムをインストールする際に自装置の資源量に不足が発生するか否かを判断する判断手段と、
自装置の資源量に不足が発生すると判断された場合に、前記マニフェストファイルに記載された資源量を削減して前記マニフェストファイルを更新する更新手段と、を備える
ことを特徴とする画像処理装置。
Installation means for installing the program based on the amount of resources described in the manifest file;
Determining means for determining whether or not a shortage occurs in the resource amount of the device when installing the program;
An image processing apparatus comprising: an update unit configured to reduce the resource amount described in the manifest file and update the manifest file when it is determined that the resource amount of the own device is insufficient.
前記判断手段は、既にインストールされているプログラムの資源量とインストール対象のプログラムの資源量とを合算した資源量に基づいて、自装置の資源量に不足が発生するか否かを判断する
ことを特徴とする請求項1に記載の画像処理装置。
The determination means determines whether or not a shortage of the resource amount of the own device occurs based on the resource amount obtained by adding the resource amount of the already installed program and the resource amount of the installation target program. The image processing apparatus according to claim 1, wherein:
前記更新手段は、前記マニフェストファイルに記載されたインストール対象のプログラムの資源量から、既に終了した処理の資源量を差し引くことにより前記マニフェストファイルを更新する
ことを特徴とする請求項1または2に記載の画像処理装置。
The said update means updates the said manifest file by subtracting the resource amount of the process already completed from the resource amount of the program of the installation object described in the said manifest file. Image processing apparatus.
前記更新手段は、前記既に終了した処理の資源量を差し引いても自装置の資源量に不足が発生する場合に、スクリプトに記載された処理の内、インストール対象のプログラムをインストールする前に実行可能な処理を実行し、前記マニフェストファイルを更新する
ことを特徴とする請求項3に記載の画像処理装置。
The update means can be executed before installing the installation target program among the processes described in the script when the resource amount of the device itself is insufficient even if the resource amount of the already completed process is subtracted. The image processing apparatus according to claim 3, wherein the processing is executed to update the manifest file.
前記更新手段は、前記スクリプトに記載された処理の順序を変更できず前記自装置の資源量に不足が発生すると判断された場合に、既に終了した処理の資源量と、既にインストール済みであるが起動していないプログラムの資源量をさらに差し引くことにより前記マニフェストファイルを更新する
ことを特徴とする請求項4に記載の画像処理装置。
When the update means cannot change the order of the processes described in the script and it is determined that the resource amount of the own device is insufficient, the resource amount of the process that has already been completed and already installed The image processing apparatus according to claim 4, wherein the manifest file is updated by further subtracting a resource amount of a program that is not activated.
マニフェストファイルに記載された資源量に基づいて、ホストバンドルと少なくとも一つのフラグメントバンドルとを含むプログラムをインストールするインストール手段と、
前記プログラムをインストールする際に自装置の資源量に不足が発生するか否かを判断する判断手段と、
前記自装置の資源量に不足が発生すると判断された場合に、既に処理が終了したフラグメントバンドルを自装置からアンインストールするアンインストール手段を備える、
ことを特徴とする画像処理装置。
Installation means for installing a program including a host bundle and at least one fragment bundle based on the amount of resources described in the manifest file;
Determining means for determining whether or not a shortage occurs in the resource amount of the device when installing the program;
When it is determined that there is a shortage in the resource amount of the own device, the device includes an uninstall unit that uninstalls the fragment bundle that has already been processed from the own device.
An image processing apparatus.
前記判断手段は、既に処理が終了したバンドルが保持するマニフェストファイルに記載された各々の資源量と、インストール対象のプログラムに必要とされる資源量とを合算した値に基づいて前記自装置の資源量に不足が発生するか否かを判断する
ことを特徴とする請求項6に記載の画像処理装置。
The determination means determines the resource of the own device based on the sum of each resource amount described in the manifest file held by the bundle that has already been processed and the resource amount required for the installation target program. The image processing apparatus according to claim 6, wherein it is determined whether or not a shortage occurs in the amount.
前記マニフェストファイルは、前記ホストバンドルと前記フラグメントバンドル毎に各々保持されている
ことを特徴とする請求項6または7に記載の画像処理装置。
The image processing apparatus according to claim 6, wherein the manifest file is held for each of the host bundle and the fragment bundle.
マニフェストファイルに記載された資源量に基づいてプログラムをインストールするインストール工程と、
前記プログラムをインストールする際に自装置の資源量に不足が発生するか否かを判断する判断工程と、
自装置の資源量に不足が発生すると判断された場合に、前記マニフェストファイルに記載された資源量を削減して前記マニフェストファイルを更新する更新工程と、を備える
ことを特徴とする画像処理装置の制御方法。
An installation process for installing the program based on the amount of resources described in the manifest file;
A determination step of determining whether or not a shortage occurs in the resource amount of the device itself when installing the program;
An update step of updating the manifest file by reducing the resource amount described in the manifest file when it is determined that the resource amount of the own device is insufficient. Control method.
請求項9に記載の制御方法をコンピュータにより実行させることを特徴とするコンピュータプログラム。   A computer program that causes a computer to execute the control method according to claim 9.
JP2013260530A 2013-12-17 2013-12-17 Image processor, control method thereof, and computer program Pending JP2015118471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013260530A JP2015118471A (en) 2013-12-17 2013-12-17 Image processor, control method thereof, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013260530A JP2015118471A (en) 2013-12-17 2013-12-17 Image processor, control method thereof, and computer program

Publications (1)

Publication Number Publication Date
JP2015118471A true JP2015118471A (en) 2015-06-25

Family

ID=53531154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013260530A Pending JP2015118471A (en) 2013-12-17 2013-12-17 Image processor, control method thereof, and computer program

Country Status (1)

Country Link
JP (1) JP2015118471A (en)

Similar Documents

Publication Publication Date Title
US9417862B2 (en) Information processing apparatus, function extension method for information processing apparatus, and non-transitory computer-readable storage medium
JP5699500B2 (en) Installation program, installation method, image forming apparatus, and recording medium
EP3094071A1 (en) Interaction between a translation application and an (other) add-on application in an image forming apparatus
JP2015046075A (en) Information processing apparatus, control method therefor, and computer program
US11140291B2 (en) Information processing apparatus, control method thereof, and storage medium
US9965299B2 (en) Information processing apparatus, method for controlling the same, and storage medium
US11720390B2 (en) Information processing apparatus that determines whether an extended application can reuse a virtual machine, method of controlling the same, and storage medium
US20110267628A1 (en) Information processing apparatus and computer program product
JP6147139B2 (en) Information processing apparatus, control method therefor, and computer program
JP2015205499A (en) Image processing device, control method and program of image processing device
US9696978B2 (en) Information processing apparatus, application management method, and non-transitory computer-readable medium
JP2011180681A (en) Installer and method for installing printer driver
CN109660688B (en) Information processing apparatus and control method thereof
CN104424006B (en) device and control method
JP5178319B2 (en) Application platform
JP6103978B2 (en) Distribution apparatus, device apparatus, distribution apparatus control method, and computer program
JP2015060557A (en) Information processing system, information processing apparatus, device apparatus, software installation method, and computer program
US20220129212A1 (en) Image forming apparatus capable of preventing phenomenon that printing by schedule setting will not be started due to display of confirmation screen, control method for image forming apparatus, and storage medium
JP2015197845A (en) Information processing apparatus and control method of the same, and program
JP2015118471A (en) Image processor, control method thereof, and computer program
JP2012181690A (en) Image forming device, updating method, updating program and recording medium
JP2015177254A (en) Image formation apparatus and control method thereof
JP6057740B2 (en) Image forming apparatus, information processing method, and program
JP7030426B2 (en) Image forming device and its control method, and program
JP6308526B2 (en) Image processing apparatus, image processing apparatus control method, and program