JP6478066B2 - Installation package file, electronic device and installation program - Google Patents
Installation package file, electronic device and installation program Download PDFInfo
- Publication number
- JP6478066B2 JP6478066B2 JP2016107390A JP2016107390A JP6478066B2 JP 6478066 B2 JP6478066 B2 JP 6478066B2 JP 2016107390 A JP2016107390 A JP 2016107390A JP 2016107390 A JP2016107390 A JP 2016107390A JP 6478066 B2 JP6478066 B2 JP 6478066B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- application
- version
- electronic device
- installation package
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、電子機器が電子機器自身にアプリケーションの実行ファイルをインストールするために使用されるインストールパッケージファイル、電子機器およびインストールプログラムに関する。 The present invention relates to an installation package file, an electronic device, and an installation program that are used by an electronic device to install an execution file of an application on the electronic device itself.
従来、電子機器が電子機器自身にアプリケーションをインストールするために使用されるインストールパッケージファイルが知られている(例えば、特許文献1参照。)。特許文献1に記載されたインストールパッケージファイルは、複数のバージョンのアプリケーションの実行ファイルと、アプリケーション用のプラットフォームのバージョンに最適なアプリケーションのバージョンを示すバージョン対応情報とを含んでいる。そして、特許文献1に記載された電子機器は、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの実行ファイルがインストールパッケージファイルに含まれるとバージョン対応情報に基づいて判断した場合に、インストールパッケージファイルに含まれる複数のバージョンのアプリケーションの実行ファイルのうち電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの実行ファイルを電子機器自身にインストールする。
2. Description of the Related Art Conventionally, an installation package file used for an electronic device to install an application on the electronic device itself is known (see, for example, Patent Document 1). The installation package file described in
しかしながら、従来のインストールパッケージファイルにおいては、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの実行ファイルがインストールパッケージファイルに含まれるか否かをバージョン対応情報に基づいて判断する機能を電子機器が備えていない場合に、電子機器が電子機器自身にアプリケーションの実行ファイルをインストールすることができないという問題がある。 However, in the conventional installation package file, the electronic device has a function of determining whether or not the execution file of the application having the optimum version for the platform version of the electronic device is included in the installation package file based on the version correspondence information. If not, there is a problem that the electronic device cannot install the application execution file on the electronic device itself.
そこで、本発明は、アプリケーションの実行ファイルをインストール可能な電子機器を増やすことができるインストールパッケージファイル、電子機器およびインストールプログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide an installation package file, an electronic device, and an installation program that can increase the number of electronic devices that can install an application execution file.
本発明のインストールパッケージファイルは、電子機器にアプリケーションの実行ファイルをインストールするために使用され、特定のバージョンのアプリケーションとしての特定バージョンアプリの実行ファイルを含むデータのファイルとしての特定バージョンアプリファイルと、前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報とを含む。前記電子機器は、前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断機能を備える場合に、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断機能によって判断したとき、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールし、前記電子機器は、前記最適バージョン判断機能を備えない場合に、前記特定バージョンアプリファイルに含まれる前記アプリケーションの実行ファイルを前記電子機器にインストールする。 The installation package file of the present invention is used to install an execution file of an application in an electronic device, and a specific version application file as a data file including an execution file of a specific version application as a specific version application, A compressed new version application file as a compressed data file including the executable file of the new version application as the application of a version newer than a specific version, and the version of the application most suitable for the platform version for the application Version correspondence information shown. The electronic device corresponds to the version whether or not the installation package file includes an optimal compressed new version application file as the compressed new version application file of the application having a version optimal for the platform version of the electronic device. In the case of providing an optimum version judging function for judging based on information, when the optimum version judging function judges that the optimum compressed new version application file is included in the installation package file, the optimum compressed new version application file is decompressed. The execution file of the application acquired in the above is installed in the electronic device, and the electronic device is included in the specific version application file when the electronic device does not have the optimum version determination function. The executable file of the application be installed on the electronic device that.
この構成により、本発明のインストールパッケージファイルは、電子機器が最適バージョン判断機能を備えている場合に電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを含むとき、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを電子機器が解凍して取得したアプリケーションの実行ファイルを電子機器自身にインストールするだけでなく、電子機器が最適バージョン判断機能を備えていない場合に、特定バージョンアプリファイルに含まれるアプリケーションの実行ファイルを電子機器が電子機器自身にインストールするので、電子機器が最適バージョン判断機能を備えていなくても、電子機器が電子機器自身にアプリケーションの実行ファイルをインストールすることができる。したがって、本発明のインストールパッケージファイルは、アプリケーションの実行ファイルをインストール可能な電子機器を増やすことができる。 With this configuration, when the installation package file of the present invention includes the compressed new version application file of the version of the application that is optimal for the version of the platform of the electronic device when the electronic device has the optimum version determination function, Compression of the application with the optimum version for the version of the platform In addition to installing the application executable file obtained by decompressing the new version application file by the electronic device on the electronic device itself, the electronic device does not have the optimum version determination function In this case, since the electronic device installs the application execution file included in the specific version application file in the electronic device itself, even if the electronic device does not have the optimum version determination function, the electronic device It is possible to install the application's executable file to the child device itself. Therefore, the installation package file of the present invention can increase the number of electronic devices that can install the application execution file.
本発明のインストールパッケージファイルにおいて、前記電子機器は、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれないと前記最適バージョン判断機能によって判断した場合、前記インストールパッケージファイルに含まれる前記圧縮新バージョンアプリファイルのうち最新のバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールしても良い。 In the installation package file of the present invention, when the electronic device determines that the optimum compressed new version application file is not included in the installation package file by the optimum version determination function, the electronic device includes the compressed new version included in the installation package file. An executable file of the application obtained by decompressing the compressed new version application file of the latest version of the application among the version application files may be installed in the electronic device.
この構成により、本発明のインストールパッケージファイルは、電子機器が最適バージョン判断機能を備えている場合に電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを含まないとき、インストールパッケージファイルに含まれる圧縮新バージョンアプリファイルのうち最新のバージョンのアプリケーションの圧縮新バージョンアプリファイルを電子機器が解凍して取得したアプリケーションの実行ファイルを電子機器自身にインストールするので、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを含まなくても、電子機器が電子機器自身にアプリケーションの実行ファイルをインストールすることができる。したがって、本発明のインストールパッケージファイルは、アプリケーションの実行ファイルをインストール可能な電子機器を増やすことができる。 With this configuration, when the electronic device has an optimum version determination function, the installation package file of the present invention does not include the compressed new version application file of the application having the optimum version for the platform version of the electronic device. The latest version of the compressed new version application file included in the file will be installed on the electronic device itself, and the executable version of the application will be installed on the electronic device itself. Compress the optimal version of the application The new version of the application installs the application executable file on the electronic device itself, even if it does not contain the application file It can be. Therefore, the installation package file of the present invention can increase the number of electronic devices that can install the application execution file.
本発明の電子機器は、特定のバージョンのアプリケーションとしての特定バージョンアプリの実行ファイルを含むデータのファイルとしての特定バージョンアプリファイルと、前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報とを含むインストールパッケージファイルを使用して前記電子機器自身に前記アプリケーションの実行ファイルをインストールし、前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断機能を備え、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断機能によって判断した場合に、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールすることを特徴とする。 The electronic device according to the present invention executes a specific version application file as a data file including an execution file of a specific version application as a specific version application, and the execution of the new version application as the application of a version newer than the specific version. The electronic version using an installation package file including a compressed new version application file as a compressed data file including a file and version correspondence information indicating a version of the application most suitable for a platform version for the application The executable file of the application is installed on the device itself, and the pressure of the application of the version most suitable for the platform version of the electronic device is installed. An optimal version determination function for determining whether or not an optimal compressed new version application file as a new version application file is included in the installation package file based on the version correspondence information, wherein the optimal compressed new version application file is installed in the installation package file; When it is determined by the optimal version determination function that it is included in a package file, the execution file of the application obtained by decompressing the optimal compressed new version application file is installed in the electronic device.
この構成により、本発明の電子機器は、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルがインストールパッケージファイルに含まれる場合に、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを解凍して取得したアプリケーションの実行ファイルを電子機器自身にインストールするので、最適なバージョンのアプリケーションの実行ファイルを電子機器自身にインストールすることができる。 With this configuration, the electronic device according to the present invention has a version that is optimal for the version of the electronic device platform when the compressed new version application file of the application that is optimal for the version of the electronic device platform is included in the installation package file. Application compression Since the application executable file obtained by decompressing the new version application file is installed in the electronic device itself, the optimal version of the application executable file can be installed in the electronic device itself.
本発明のインストールプログラムは、特定のバージョンのアプリケーションとしての特定バージョンアプリの実行ファイルを含むデータのファイルとしての特定バージョンアプリファイルと、前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報とを含むインストールパッケージファイルを使用して電子機器自身に前記アプリケーションの実行ファイルをインストールする前記電子機器によって実行され、前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断手段、および、前記アプリケーションの実行ファイルを前記電子機器にインストールするインストール手段として前記電子機器を機能させ、前記インストール手段は、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断手段によって判断された場合に、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールすることを特徴とする。 The installation program of the present invention executes a specific version application file as a data file including an execution file of a specific version application as a specific version application, and the execution of the new version application as the application of a version newer than the specific version. An electronic device using an installation package file including a compressed new version application file as a compressed data file including a file and version correspondence information indicating the version of the application most suitable for the platform version for the application It is executed by the electronic device that installs the executable file of the application on itself, and is optimal for the platform version of the electronic device An optimum version judging means for judging whether or not an optimal compressed new version application file as the compressed new version application file of the application of a version is included in the installation package file, and When the electronic device is caused to function as an installation unit that installs an executable file in the electronic device, and the installation unit determines that the optimal compressed new version application file is included in the installation package file by the optimal version determination unit In addition, the execution file of the application obtained by decompressing the optimum compressed new version application file is installed in the electronic device.
この構成により、本発明のインストールプログラムを実行する電子機器は、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルがインストールパッケージファイルに含まれる場合に、電子機器のプラットフォームのバージョンに最適なバージョンのアプリケーションの圧縮新バージョンアプリファイルを解凍して取得したアプリケーションの実行ファイルを電子機器自身にインストールするので、最適なバージョンのアプリケーションの実行ファイルを電子機器自身にインストールすることができる。 With this configuration, the electronic device that executes the installation program of the present invention can be applied to the version of the electronic device platform when the compressed new version application file of the version of the application optimal for the version of the electronic device platform is included in the installation package file. Since the application executable file obtained by decompressing the new version application file is installed in the electronic device itself, the optimal version application executable file can be installed in the electronic device itself.
本発明のインストールパッケージファイル、電子機器およびインストールプログラムは、アプリケーションの実行ファイルをインストール可能な電子機器を増やすことができる。 The installation package file, the electronic device, and the installation program of the present invention can increase the number of electronic devices that can install the application execution file.
以下、本発明の一実施の形態について、図面を用いて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
まず、本実施の形態に係るシステムの構成について説明する。 First, the configuration of the system according to the present embodiment will be described.
図1は、本実施の形態に係るシステム10のブロック図である。 FIG. 1 is a block diagram of a system 10 according to the present embodiment.
図1に示すように、システム10は、プラットフォームとしてのJava(登録商標)VM(Virtual Machine)上で動作するJavaアプリケーション(以下「Javaアプリ」と言う。)の実行ファイルを電子機器自身にインストールする電子機器としてのMFP(Multifunction Peripheral)20と、Javaアプリの実行ファイルを電子機器自身にインストールする電子機器としてのMFP30と、電子機器が電子機器自身にJavaアプリの実行ファイルをインストールするために使用されるインストールパッケージファイルをMFP20やMFP30に送信するためのPC(Personal Computer)などのコンピューター40と、MFP20やMFP30によって読み込まれるインストールパッケージファイルを記憶しているUSB(Universal Serial Bus)メモリーなどの記憶媒体70とを備えている。
As shown in FIG. 1, the system 10 installs an executable file of a Java application (hereinafter referred to as “Java application”) that operates on a Java (registered trademark) VM (Virtual Machine) as a platform. Used as an MFP (Multifunction Peripheral) 20 as an electronic device, an
MFP20およびMFP30と、コンピューター40とは、LAN(Local Area Network)、インターネットなどのネットワーク11経由で互いに通信可能である。MFP20およびMFP30と、コンピューター40とは、ネットワーク11を経由せずに有線または無線で直接に互いに通信可能であっても良い。
The MFP 20 and the MFP 30 and the
同様に、MFP20およびMFP30と、記憶媒体70とは、ネットワーク11経由で互いに通信可能である。MFP20およびMFP30は、ネットワーク11を経由せずに有線または無線で直接に記憶媒体70に接続しても良い。
Similarly, the
なお、システム10は、MFP20と同様なMFPを多数備えることが可能である。同様に、システム10は、MFP30と同様なMFP、コンピューター40と同様なコンピューター、記憶媒体70と同様な記憶媒体を、それぞれ、多数備えることが可能である。
The system 10 can include many MFPs similar to the
図2は、コンピューター40のブロック図である。
FIG. 2 is a block diagram of the
図2に示すように、コンピューター40は、種々の操作が入力されるマウス、キーボードなどの入力デバイスである操作部41と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部42と、ネットワーク11(図1参照。)経由で、または、ネットワーク11を経由せずに有線または無線で直接に外部の装置と通信を行う通信デバイスである通信部43と、各種の情報を記憶する半導体メモリー、HDD(Hard Disk Drive)などの不揮発性の記憶デバイスである記憶部44と、コンピューター40全体を制御する制御部45とを備えている。
As shown in FIG. 2, the
記憶部44は、MFPがMFP自身にJavaアプリの実行ファイルをインストールするために使用されるインストールパッケージファイル50を記憶している。
The storage unit 44 stores an
図3は、インストールパッケージファイル50の一例を示す図である。
FIG. 3 is a diagram illustrating an example of the
図3に示すように、インストールパッケージファイル50は、インストールパッケージファイル50に含まれるJavaアプリの各種の情報を示すヘッダー51と、Javaアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮アプリファイル52とを含んでいる。
As shown in FIG. 3, the
ヘッダー51は、インストールパッケージファイル50によってインストールされるJavaアプリの特定のバージョンを示すバージョン情報51aと、インストールパッケージファイル50によってインストールされるJavaアプリの名称を示すアプリ名情報51bと、インストールパッケージファイル50によってインストールされるJavaアプリの開発会社を示す開発会社情報51cと、インストールパッケージファイル50によってインストールされるJavaアプリのアイコンファイルのファイル名を示すアイコンファイル名情報51dとを含んでいる。
The header 51 includes
なお、以下においては、特定のバージョンがバージョン1であるものとして説明する。
In the following description, it is assumed that the specific version is
圧縮アプリファイル52は、バージョン1のJavaアプリとしての特定バージョンアプリの実行ファイルを含むデータのファイル、すなわち、特定バージョンアプリファイルとして、アプリファイル53を含んでいる。
The compressed application file 52 includes a data file including an execution file of a specific version application as a
アプリファイル53は、特定バージョンアプリの実行ファイル53aと、特定バージョンアプリの起動時の初期値を示すアプリ情報ファイル53bと、特定バージョンアプリのアイコンファイル53cとを含んでいる。すなわち、アプリファイル53は、特定バージョンアプリをMFP上で動作させるために必要なファイルを含んでいる。
The application file 53 includes an
図4は、コンピューター40に記憶されるインストールパッケージファイル60の一例を示す図である。
FIG. 4 is a diagram illustrating an example of the installation package file 60 stored in the
コンピューター40は、インストールパッケージファイル50(図3参照。)ではなく、インストールパッケージファイル60を記憶していても良い。
The
図4に示すように、インストールパッケージファイル60は、インストールパッケージファイル50(図3参照。)と同様に、ヘッダー61および圧縮アプリファイル62を含んでいる。 As shown in FIG. 4, the installation package file 60 includes a header 61 and a compressed application file 62 in the same manner as the installation package file 50 (see FIG. 3).
ヘッダー61は、ヘッダー51(図3参照。)と同様に、バージョン情報61a、アプリ名情報61b、開発会社情報61cおよびアイコンファイル名情報61dを含んでいる。
Similar to the header 51 (see FIG. 3), the header 61 includes
圧縮アプリファイル62は、バージョン1のJavaアプリとしての特定バージョンアプリの実行ファイルを含むデータのファイル、すなわち、特定バージョンアプリファイルとしてのアプリファイル63と、JavaVMのバージョンに最適なJavaアプリのバージョンを示すバージョン対応情報64と、バージョン1より新しいバージョンのJavaアプリとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイル65とを含んでいる。圧縮アプリファイル62は、複数のバージョンの圧縮新バージョンアプリファイル65を含むことが可能である。
The compressed application file 62 indicates a data file including an execution file of a specific version application as a
アプリファイル63は、アプリファイル53(図3参照。)と同様に、実行ファイル63a、アプリ情報ファイル63bおよびアイコンファイル63cを含んでいる。すなわち、アプリファイル63は、特定バージョンアプリをMFP上で動作させるために必要なファイルを含んでいる。
Similar to the application file 53 (see FIG. 3), the application file 63 includes an
圧縮新バージョンアプリファイル65は、新バージョンアプリの実行ファイルを含むアプリファイル66を含んでいる。アプリファイル66は、新バージョンアプリの実行ファイル66aと、新バージョンアプリの起動時の初期値を示すアプリ情報ファイル66bと、新バージョンアプリのアイコンファイル66cとを含んでいる。すなわち、圧縮新バージョンアプリファイル65は、新バージョンアプリをMFP上で動作させるために必要なファイルを含んでいる。
The compressed new version application file 65 includes an application file 66 including an execution file of the new version application. The application file 66 includes an
図5は、バージョン対応情報64の一例を示す図である。
FIG. 5 is a diagram illustrating an example of the
図5に示すように、バージョン対応情報64は、JavaVMのバージョンに最適なJavaアプリのバージョンを示している。言い換えると、バージョン対応情報64において、JavaVMの各バージョンに対応するJavaアプリのバージョンが、JavaVMの各バージョンに最適なJavaアプリのバージョンと見なされる。図5において、バージョン7のJavaVMに最適なJavaアプリのバージョンは、バージョン1である。バージョン8のJavaVMに最適なJavaアプリのバージョンは、バージョン2である。バージョン9のJavaVMに最適なJavaアプリのバージョンは、バージョン3である。
As illustrated in FIG. 5, the
図6は、MFP20のブロック図である。
FIG. 6 is a block diagram of the
図6に示すように、MFP20は、種々の操作が入力されるボタンなどの入力デバイスである操作部21と、種々の情報を表示するLCDなどの表示デバイスである表示部22と、原稿から画像を読み取る読取デバイスであるスキャナー23と、用紙などの記録媒体に画像を印刷する印刷デバイスであるプリンター24と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部25と、ネットワーク11(図1参照。)経由で、または、ネットワーク11を経由せずに有線または無線で直接に外部の装置と通信を行う通信デバイスである通信部26と、各種の情報を記憶する半導体メモリー、HDDなどの不揮発性の記憶デバイスである記憶部27と、MFP20全体を制御する制御部28とを備えている。
As shown in FIG. 6, the
記憶部27は、JavaVMを実現するためのJavaVM用プログラム27aを記憶している。記憶部27は、Javaアプリの実行ファイル27bを多数記憶可能である。記憶部27は、インストールパッケージファイルを使用してMFP20自身に実行ファイル27bをインストールするためのインストールプログラム27cを記憶している。JavaVM用プログラム27a、実行ファイル27bおよびインストールプログラム27cは、MFP20の製造段階でMFP20にインストールされていても良いし、SDカード、USBメモリーなどの外部の記憶媒体からMFP20に追加でインストールされても良いし、ネットワーク11上からMFP20に追加でインストールされても良い。
The storage unit 27 stores a
制御部28は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。CPUは、ROMまたは記憶部27に記憶されているプログラムを実行する。 The control unit 28 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) storing a program and various data, and a RAM (Random Access Memory) used as a work area of the CPU. Yes. The CPU executes a program stored in the ROM or the storage unit 27.
制御部28は、記憶部27に記憶されているJavaVM用プログラム27aを実行することによって、JavaVM28aとして機能する。JavaVM28aのバージョンは、バージョン7である。
The control unit 28 functions as the Java VM 28 a by executing the
制御部28は、記憶部27に記憶されている実行ファイル27bを実行することによって、Javaアプリ28bとして機能する。
The control unit 28 functions as the
制御部28は、記憶部27に記憶されているインストールプログラム27cを実行することによって、インストールパッケージファイルに含まれるJavaアプリの実行ファイルをMFP20自身にインストールするインストール手段28cとして機能する。
The control unit 28 functions as an
図7は、MFP30のブロック図である。
FIG. 7 is a block diagram of the
図7に示すように、MFP30は、MFP20(図6参照。)と同様に、操作部31、表示部32、スキャナー33、プリンター34、ファックス通信部35、通信部36、記憶部37および制御部38を備えている。
As shown in FIG. 7, the
記憶部37は、JavaVMを実現するためのJavaVM用プログラム37aを記憶している。記憶部37は、Javaアプリの実行ファイル37bを多数記憶可能である。記憶部37は、インストールパッケージファイルを使用してMFP30自身に実行ファイル37bをインストールするためのインストールプログラム37cを記憶している。JavaVM用プログラム37a、実行ファイル37bおよびインストールプログラム37cは、MFP30の製造段階でMFP30にインストールされていても良いし、SDカード、USBメモリーなどの外部の記憶媒体からMFP30に追加でインストールされても良いし、ネットワーク11上からMFP30に追加でインストールされても良い。
The storage unit 37 stores a
制御部38は、記憶部37に記憶されているJavaVM用プログラム37aを実行することによって、JavaVM38aとして機能する。JavaVM38aのバージョンは、バージョン8以降である。すなわち、MFP30は、MFP20よりJavaVMのバージョンが新しい。MFP30は、MFP20より新しいバージョンのJavaVMを備えることによって、MFP20よりセキュリティー性能が向上しているとともに、MFP20より新しいIT(Information Technology)トレンドに適合している。
The control unit 38 functions as the
制御部38は、記憶部37に記憶されている実行ファイル37bを実行することによって、Javaアプリ38bとして機能する。
The control unit 38 functions as the
制御部38は、記憶部37に記憶されているインストールプログラム37cを実行することによって、JavaVM38aのバージョンに最適なバージョンのJavaアプリの圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルがインストールパッケージファイルに含まれるか否かをインストールパッケージファイル内のバージョン対応情報に基づいて判断する最適バージョン判断機能としての最適バージョン判断手段38c、および、インストールパッケージファイルに含まれるJavaアプリの実行ファイルをMFP30自身にインストールするインストール手段38dとして機能する。
The control unit 38 executes the
次に、MFP20の動作について説明する。
Next, the operation of the
サービスパーソンなど、MFP20の利用者は、コンピューター40の図示していないツールを使用することによって、コンピューター40からMFP20にインストールパッケージファイルを送信し、コンピューター40からMFP20に送信したインストールパッケージファイルによるJavaアプリの実行ファイルのインストールをMFP20に指示することができる。
A user of the
図8は、Javaアプリの実行ファイルをインストールする場合のMFP20の動作のフローチャートである。
FIG. 8 is a flowchart of the operation of the
図8に示すように、インストール手段28cは、インストールパッケージファイルに含まれる圧縮アプリファイルを解凍する(S101)。したがって、インストールパッケージファイル50の場合、アプリファイル53が生成される。また、インストールパッケージファイル60の場合、アプリファイル63、バージョン対応情報64および圧縮新バージョンアプリファイル65が生成される。
As shown in FIG. 8, the
インストール手段28cは、S101の処理の後、S101の処理によって生成されたアプリファイル内の実行ファイルをMFP20自身に実行ファイル27bとしてインストールし(S102)、図8に示す動作を終了する。
After the process of S101, the
以上においては、コンピューター40からMFP20に送信されたインストールパッケージファイルによるJavaアプリの実行ファイルのインストールについて説明している。しかしながら、MFP20は、記憶媒体70に記憶されているインストールパッケージファイルによるJavaアプリの実行ファイルのインストールをMFP20の利用者がMFP20の操作部21を介してMFP20に指示した場合も同様に動作する。
In the above, installation of the execution file of the Java application by the installation package file transmitted from the
次に、MFP30の動作について説明する。
Next, the operation of the
サービスパーソンなど、MFP30の利用者は、コンピューター40の図示していないツールを使用することによって、コンピューター40からMFP30にインストールパッケージファイルを送信し、コンピューター40からMFP30に送信したインストールパッケージファイルによるJavaアプリの実行ファイルのインストールをMFP30に指示することができる。
A user of the
図9は、Javaアプリの実行ファイルをインストールする場合のMFP30の動作のフローチャートである。
FIG. 9 is a flowchart of the operation of the
図9に示すように、インストール手段38dは、インストールパッケージファイルに含まれる圧縮アプリファイルを解凍する(S131)。したがって、インストールパッケージファイル50の場合、アプリファイル53が生成される。また、インストールパッケージファイル60の場合、アプリファイル63、バージョン対応情報64および圧縮新バージョンアプリファイル65が生成される。
As shown in FIG. 9, the
最適バージョン判断手段38cは、S131の処理の後、S131の処理によってバージョン対応情報が生成されたか否かを判断する(S132)。
The optimum
インストール手段38dは、バージョン対応情報が生成されなかったとS132において判断されると、S131の処理によって生成されたアプリファイル内の実行ファイルをMFP30自身に実行ファイル37bとしてインストールし(S133)、図9に示す動作を終了する。
If it is determined in S132 that the version correspondence information has not been generated, the
最適バージョン判断手段38cは、バージョン対応情報が生成されたとS132において判断されると、S131の処理によって生成された圧縮新バージョンアプリファイルに、MFP30に対する最適圧縮新バージョンアプリファイルが存在するか否かを、S131の処理によって生成されたバージョン対応情報に基づいて判断する(S134)。
When it is determined in S132 that the version correspondence information has been generated, the optimal
インストール手段38dは、最適圧縮新バージョンアプリファイルが存在するとS134において判断されると、S131の処理によって生成されたデータのうち最適圧縮新バージョンアプリファイル以外のデータを削除する(S135)。すなわち、インストール手段38dは、S131の処理によって生成されたアプリファイルおよびバージョン対応情報を削除するとともに、S131の処理によって生成された圧縮新バージョンアプリファイルのうち最適圧縮新バージョンアプリファイル以外の圧縮新バージョンアプリファイルを削除する。
If it is determined in S134 that the optimum compressed new version application file exists, the
インストール手段38dは、S135の処理の後、残った圧縮新バージョンアプリファイルを解凍する(S136)。したがって、インストールパッケージファイル60が使用された場合、最適圧縮新バージョンアプリファイルに含まれていたアプリファイル66が生成される。
After the process of S135, the
インストール手段38dは、S136の処理の後、S136の処理によって生成されたアプリファイル内の実行ファイルをMFP30自身に実行ファイル37bとしてインストールし(S137)、図9に示す動作を終了する。
After the process of S136, the
インストール手段38dは、最適圧縮新バージョンアプリファイルが存在しないとS134において判断されると、S131の処理によって生成されたデータのうち、最新のバージョンのJavaアプリの圧縮新バージョンアプリファイル(以下「最新圧縮新バージョンアプリファイル」と言う。)以外のデータを削除する(S138)。すなわち、インストール手段38dは、S131の処理によって生成されたアプリファイルおよびバージョン対応情報を削除するとともに、S131の処理によって生成された圧縮新バージョンアプリファイルのうち最新圧縮新バージョンアプリファイル以外の圧縮新バージョンアプリファイルを削除する。
If it is determined in S134 that the optimum compressed new version application file does not exist, the installing
インストール手段38dは、S138の処理の後、残った圧縮新バージョンアプリファイルを解凍する(S139)。したがって、インストールパッケージファイル60が使用された場合、最新圧縮新バージョンアプリファイルに含まれていたアプリファイル66が生成される。
After the process of S138, the
インストール手段38dは、S139の処理の後、S139の処理によって生成されたアプリファイル内の実行ファイルをMFP30自身に実行ファイル37bとしてインストールし(S140)、図9に示す動作を終了する。
After the process of S139, the
以上においては、コンピューター40からMFP30に送信されたインストールパッケージファイルによるJavaアプリの実行ファイルのインストールについて説明している。しかしながら、MFP30は、記憶媒体70に記憶されているインストールパッケージファイルによるJavaアプリの実行ファイルのインストールをMFP30の利用者がMFP30の操作部31を介してMFP30に指示した場合も同様に動作する。
In the above, installation of the execution file of the Java application by the installation package file transmitted from the
以上に説明したように、インストールパッケージファイル60は、MFPが最適バージョン判断機能を備えている場合にMFPに対する最適圧縮新バージョンアプリファイルを含むとき(S134でYES)、最適圧縮新バージョンアプリファイルをMFPが解凍して(S136)取得したJavaアプリの実行ファイル66aをMFP自身にインストールする(S137)だけでなく、MFPが最適バージョン判断機能を備えていない場合に、アプリファイル63に含まれるJavaアプリの実行ファイル63aをMFPがMFP自身にインストールする(S102)ので、MFPが最適バージョン判断機能を備えていなくても、MFPがMFP自身にJavaアプリの実行ファイルをインストールすることができる。したがって、インストールパッケージファイル60は、Javaアプリの実行ファイルをインストール可能なMFPを増やすことができる。
As described above, the installation package file 60 includes the optimum compressed new version application file for the MFP when the MFP has the optimum version determination function (YES in S134). Is extracted (S136), and the acquired Java application
また、インストールパッケージファイル60は、MFPが最適バージョン判断機能を備えている場合にMFPに対する最適圧縮新バージョンアプリファイルを含まないとき(S134でNO)、インストールパッケージファイル60に含まれる圧縮新バージョンアプリファイル65のうち最新圧縮新バージョンアプリファイルをMFPが解凍して(S139)取得したJavaアプリの実行ファイル66aをMFP自身にインストールする(S140)ので、MFPに対する最適圧縮新バージョンアプリファイルを含まなくても、MFPがMFP自身にJavaアプリの実行ファイルをインストールすることができる。したがって、インストールパッケージファイル60は、Javaアプリの実行ファイルをインストール可能なMFPを増やすことができる。
Further, when the MFP has an optimum version determination function, the installation package file 60 does not include the optimum compressed new version application file for the MFP (NO in S134), and the compressed new version application file included in the installation package file 60 65, the latest compressed new version application file is decompressed by the MFP (S139), and the acquired Java
なお、Javaアプリは、あるバージョンのJavaVMに最適に作成された場合、そのバージョンより前のバージョンのJavaVM上で適切に動作しないときがある。したがって、Javaアプリのバージョン毎にインストールパッケージファイル50のようなインストールパッケージファイルが作成される場合、インストールパッケージファイルによってMFPにJavaアプリの実行ファイルをインストールする利用者は、MFPのJavaVMのバージョンと、インストールパッケージファイルのJavaアプリのバージョンとに基づいて、使用するインストールパッケージファイルを選択しなければならない。しかしながら、インストールパッケージファイル60は、適切なバージョンの選択を利用者に実行させないので、インストールするJavaアプリの実行ファイルのバージョンの間違いの発生を抑えることができるとともに、利用者の負担を低減することができる。
Note that when a Java application is optimally created for a certain version of JavaVM, it may not operate properly on a version of JavaVM prior to that version. Therefore, when an installation package file such as the
本発明のアプリケーションは、本実施の形態においてJavaアプリであるが、Javaアプリ以外のアプリケーションであっても良い。 The application of the present invention is a Java application in the present embodiment, but may be an application other than the Java application.
本発明の電子機器は、本実施の形態においてMFPであるが、プリンター専用機、コピー専用機など、MFP以外の画像形成装置であっても良いし、PCなど、画像形成装置以外の電子機器であっても良い。 The electronic apparatus according to the present invention is an MFP in the present embodiment, but may be an image forming apparatus other than the MFP, such as a printer dedicated machine or a copy dedicated machine, or an electronic apparatus other than the image forming apparatus such as a PC. There may be.
20 MFP(電子機器)
27b 実行ファイル
28b Javaアプリ(アプリケーション)
30 MFP(電子機器)
37b 実行ファイル
37c インストールプログラム
38a JavaVM(プラットフォーム)
38b Javaアプリ(アプリケーション)
38c 最適バージョン判断手段(最適バージョン判断機能)
38d インストール手段
60 インストールパッケージファイル
63 アプリファイル
63a 実行ファイル
64 バージョン対応情報
65 圧縮新バージョンアプリファイル
66a 実行ファイル
20 MFP (electronic equipment)
27b
30 MFP (electronic equipment)
38b Java application (application)
38c Optimal version determination means (optimum version determination function)
38d Installation means 60 Installation package file 63
Claims (4)
特定のバージョンの前記アプリケーションとしての特定バージョンアプリの実行ファイルを含むデータのファイルとしての特定バージョンアプリファイルと、
前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、
前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報と
を含み、
前記電子機器は、前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断機能を備える場合に、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断機能によって判断したとき、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールし、
前記電子機器は、前記最適バージョン判断機能を備えない場合に、前記特定バージョンアプリファイルに含まれる前記アプリケーションの実行ファイルを前記電子機器にインストールすることを特徴とするインストールパッケージファイル。 An installation package file used to install the application executable file on the electronic device,
A specific version application file as a file of data including an executable file of a specific version application as the specific version of the application;
A compressed new version application file as a compressed data file including an executable file of the new version application as the application of a version newer than the specific version;
Version correspondence information indicating the version of the application that is optimal for the version of the platform for the application, and
The electronic device corresponds to the version whether or not the installation package file includes an optimal compressed new version application file as the compressed new version application file of the application having a version optimal for the platform version of the electronic device. In the case of providing an optimum version judging function for judging based on information, when the optimum version judging function judges that the optimum compressed new version application file is included in the installation package file, the optimum compressed new version application file is decompressed. Install the executable file of the application acquired in the electronic device,
When the electronic device does not have the optimum version determination function, an installation package file that installs an execution file of the application included in the specific version application file in the electronic device.
特定のバージョンのアプリケーションとしての特定バージョンアプリの実行ファイルを含むデータのファイルとしての特定バージョンアプリファイルと、
前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、
前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報と
を含むインストールパッケージファイルを使用して前記電子機器自身に前記アプリケーションの実行ファイルをインストールし、
前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断機能を備え、
前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断機能によって判断した場合に、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールすることを特徴とする電子機器。 Electronic equipment,
A specific version application file as a file of data including an executable file of a specific version application as a specific version application;
A compressed new version application file as a compressed data file including an executable file of the new version application as the application of a version newer than the specific version;
Installing an executable file of the application on the electronic device itself using an installation package file including version correspondence information indicating a version of the application optimal for a version of the platform for the application;
Based on the version correspondence information, it is determined whether or not an optimal compressed new version application file as the compressed new version application file of the application having a version optimal for the platform version of the electronic device is included in the installation package file. With the best version judgment function
When the optimal version determination function determines that the optimal compressed new version application file is included in the installation package file, the execution file of the application obtained by decompressing the optimal compressed new version application file is stored in the electronic device. Electronic equipment characterized by installation.
前記特定のバージョンより新しいバージョンの前記アプリケーションとしての新バージョンアプリの実行ファイルを含み圧縮されているデータのファイルとしての圧縮新バージョンアプリファイルと、
前記アプリケーション用のプラットフォームのバージョンに最適な前記アプリケーションのバージョンを示すバージョン対応情報と
を含むインストールパッケージファイルを使用して電子機器自身に前記アプリケーションの実行ファイルをインストールする前記電子機器によって実行され、
前記電子機器の前記プラットフォームのバージョンに最適なバージョンの前記アプリケーションの前記圧縮新バージョンアプリファイルとしての最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれるか否かを前記バージョン対応情報に基づいて判断する最適バージョン判断手段、および、
前記アプリケーションの実行ファイルを前記電子機器にインストールするインストール手段
として前記電子機器を機能させ、
前記インストール手段は、前記最適圧縮新バージョンアプリファイルが前記インストールパッケージファイルに含まれると前記最適バージョン判断手段によって判断された場合に、前記最適圧縮新バージョンアプリファイルを解凍して取得した前記アプリケーションの実行ファイルを前記電子機器にインストールすることを特徴とするインストールプログラム。 A specific version application file as a file of data including an executable file of a specific version application as a specific version application;
A compressed new version application file as a compressed data file including an executable file of the new version application as the application of a version newer than the specific version;
Executed by the electronic device that installs an executable file of the application on the electronic device itself using an installation package file including version correspondence information indicating the version of the application optimal for the version of the platform for the application,
Based on the version correspondence information, it is determined whether or not an optimal compressed new version application file as the compressed new version application file of the application having a version optimal for the platform version of the electronic device is included in the installation package file. Means for determining the optimum version, and
Causing the electronic device to function as installation means for installing the application executable file into the electronic device;
The installation means executes the application obtained by decompressing the optimum compressed new version application file when the optimum version judging means determines that the optimum compressed new version application file is included in the installation package file. An installation program for installing a file in the electronic device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016107390A JP6478066B2 (en) | 2016-05-30 | 2016-05-30 | Installation package file, electronic device and installation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016107390A JP6478066B2 (en) | 2016-05-30 | 2016-05-30 | Installation package file, electronic device and installation program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017215658A JP2017215658A (en) | 2017-12-07 |
| JP6478066B2 true JP6478066B2 (en) | 2019-03-06 |
Family
ID=60576966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016107390A Expired - Fee Related JP6478066B2 (en) | 2016-05-30 | 2016-05-30 | Installation package file, electronic device and installation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6478066B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113901010A (en) * | 2021-10-29 | 2022-01-07 | 广州品唯软件有限公司 | Android application package compression method and device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07219747A (en) * | 1994-02-01 | 1995-08-18 | Fuji Xerox Co Ltd | System for installing software |
| JP4067365B2 (en) * | 2002-09-03 | 2008-03-26 | シャープ株式会社 | Digital multifunction device |
| JP4168338B2 (en) * | 2003-09-18 | 2008-10-22 | ブラザー工業株式会社 | Installation program, computer-readable recording medium, and installation method |
-
2016
- 2016-05-30 JP JP2016107390A patent/JP6478066B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017215658A (en) | 2017-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4861883B2 (en) | Image forming apparatus and application execution method | |
| JP5677047B2 (en) | Printing system, information processing apparatus, printing method, and program | |
| EP2575343B1 (en) | Image reading apparatus and image reading system | |
| CN105530396B (en) | Image forming apparatus, image formation system and image forming method | |
| JP4209790B2 (en) | Information processing apparatus, image forming apparatus, error processing method when starting program, and recording medium | |
| JP5821318B2 (en) | Image processing apparatus, macro name determination method, and macro name determination program | |
| JP2009070248A (en) | Image processing apparatus and image processing method | |
| JP6478066B2 (en) | Installation package file, electronic device and installation program | |
| JP5244743B2 (en) | Image forming apparatus and installation method | |
| JP4861765B2 (en) | Apparatus, information processing method, information processing program, and recording medium | |
| US10116640B2 (en) | Image processing system, image processing device, and authentication method | |
| JP4209794B2 (en) | Image forming apparatus and program start method | |
| JP5955296B2 (en) | One-time password display device, one-time password display program, and one-time password display system | |
| JP6015173B2 (en) | PRINT SERVER, PRINT SYSTEM, PRINT PROCESSING METHOD, AND PROGRAM | |
| JP5333035B2 (en) | REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP6204281B2 (en) | Image forming apparatus, image forming method, and image forming program | |
| US20160292438A1 (en) | Information processing apparatus, control method for information processing apparatus, and storage medium | |
| JP5201246B2 (en) | Apparatus, information processing method, information processing program, and recording medium | |
| JP6429034B2 (en) | Image forming system | |
| JP4185443B2 (en) | Image forming system, information terminal device included therein, and control method of image forming system | |
| JP7106838B2 (en) | IMAGE FORMING DEVICE, DEVICE SETTING METHOD AND DEVICE SETTING PROGRAM | |
| US12223215B2 (en) | Image forming apparatus, information processing apparatus, method of controlling image forming apparatus, and method of controlling information processing apparatus for processing a PDF portfolio | |
| JP2009223763A (en) | Image forming apparatus | |
| JP5825302B2 (en) | REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP5806970B2 (en) | Image forming apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180326 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181227 |
|
| 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: 20190109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190122 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6478066 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |