JP2017084054A - Electronic device, installation control program, and package file generation method - Google Patents

Electronic device, installation control program, and package file generation method Download PDF

Info

Publication number
JP2017084054A
JP2017084054A JP2015210803A JP2015210803A JP2017084054A JP 2017084054 A JP2017084054 A JP 2017084054A JP 2015210803 A JP2015210803 A JP 2015210803A JP 2015210803 A JP2015210803 A JP 2015210803A JP 2017084054 A JP2017084054 A JP 2017084054A
Authority
JP
Japan
Prior art keywords
application
version
electronic device
platform
applications
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
JP2015210803A
Other languages
Japanese (ja)
Inventor
真也 神田
Masaya Kanda
真也 神田
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015210803A priority Critical patent/JP2017084054A/en
Publication of JP2017084054A publication Critical patent/JP2017084054A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device which facilitates application installation operation, an installation control program, and a package file generation method.SOLUTION: An MFP includes a Java VM which runs an application, and installation control means of installing an application. In installing a package file including application programs as executable files of a plurality of applications and corresponding version information indicating versions of Java VMs corresponding to each of the applications, the installation control means determines an application program to be used for installing the application, out of the application programs of the applications, on the basis of the corresponding version information and the versions of Java VMs in the MFP (S112).SELECTED DRAWING: Figure 5

Description

本発明は、アプリケーションがインストールされる電子機器、インストール制御プログラムおよびパッケージファイル生成方法に関する。   The present invention relates to an electronic device in which an application is installed, an installation control program, and a package file generation method.

従来、アプリケーションを動作させるプラットフォームを備える電子機器が知られている(例えば、特許文献1、2参照。)。ここで、アプリケーションの提供者は、プラットフォームのバージョンが互いに異なる複数の電子機器に向けてアプリケーションを開発する場合に、新しいバージョンのプラットフォームで新たに追加されたAPI(Application Programming Interface)を使用するアプリケーションが古いバージョンのプラットフォームで動作しないとき、新しいバージョンのプラットフォームで新たに追加されたAPIを使用するアプリケーション、すなわち、新しいバージョンのプラットフォーム用のアプリケーションと、新しいバージョンのプラットフォームで新たに追加されたAPIを使用しないアプリケーション、すなわち、古いバージョンのプラットフォーム用のアプリケーションとを開発する必要がある。   2. Description of the Related Art Conventionally, an electronic device including a platform for operating an application is known (for example, see Patent Documents 1 and 2). Here, when an application provider develops an application for a plurality of electronic devices having different platform versions, an application using an API (Application Programming Interface) newly added in a new version of the platform is used. When the application does not work on the old version of the platform, the application using the newly added API on the new version of the platform, that is, the application for the new version of the platform and the newly added API on the new version of the platform is not used. Applications need to be developed, i.e. applications for older versions of platforms.

特開2003−330732号公報JP 2003-330732 A 特開2008−295027号公報JP 2008-295027 A

しかしながら、従来の電子機器においては、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションが存在する場合にアプリケーションがインストールされるとき、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションの中から、電子機器のプラットフォームに適したアプリケーションを、アプリケーションの提供者および電子機器の利用者の何れかが選ぶ必要があるという問題がある。すなわち、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションの中から、電子機器のプラットフォームに適したアプリケーションを、アプリケーションの提供者が選ぶ場合には、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションの中から、電子機器のプラットフォームに適したアプリケーションを、アプリケーションの提供者が選んで電子機器の利用者に提供した後、アプリケーションの提供者から提供されたアプリケーションを電子機器の利用者が電子機器にインストールする。また、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションの中から、電子機器のプラットフォームに適したアプリケーションを、電子機器の利用者が選ぶ場合には、対応可能なプラットフォームのバージョンが互いに異なる複数のアプリケーションをアプリケーションの提供者が電子機器の利用者に提供した後、アプリケーションの提供者から提供された複数のアプリケーションの中から、電子機器のプラットフォームに適したアプリケーションを、電子機器の利用者が選んで電子機器にインストールする。   However, in a conventional electronic device, when an application is installed when there are a plurality of applications having different platform versions that are compatible with each other, an electronic device is selected from a plurality of applications with different versions of the platform that can be supported. There is a problem that it is necessary for an application provider or an electronic device user to select an application suitable for the platform of the device. In other words, when an application provider selects an application suitable for an electronic device platform from among a plurality of applications having different compatible platform versions, a plurality of applications having different compatible platform versions are selected. After the application provider selects an application suitable for the platform of the electronic device and provides it to the electronic device user, the application provided by the application provider is transferred to the electronic device by the electronic device user. install. In addition, when an electronic device user selects an application suitable for an electronic device platform from among multiple applications with different compatible platform versions, multiple compatible platform versions differ from each other. After the application provider provides the electronic device user with the application, the electronic device user selects an application suitable for the electronic device platform from the multiple applications provided by the application provider. Install on electronic devices.

そこで、本発明は、アプリケーションのインストールの作業を容易化することができる電子機器、インストール制御プログラムおよびパッケージファイル生成方法を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an electronic device, an installation control program, and a package file generation method capable of facilitating application installation work.

本発明の電子機器は、アプリケーションを動作させるプラットフォームと、前記アプリケーションをインストールするインストール制御手段とを備える電子機器であって、前記インストール制御手段は、複数の前記アプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能な前記プラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、前記対応バージョン情報と、前記電子機器の前記プラットフォームのバージョンとに基づいて、前記複数のアプリケーションの前記実行ファイルのうち、前記アプリケーションのインストールに使用される前記実行ファイルを決定することを特徴とする。   The electronic device of the present invention is an electronic device including a platform for operating an application and an installation control unit for installing the application, wherein the installation control unit includes a plurality of execution files of the application and the plurality of applications. When a package file including corresponding version information indicating the version of the platform that can be supported is installed, the plurality of versions are based on the corresponding version information and the version of the platform of the electronic device. The execution file used for installation of the application is determined from the execution files of the application.

この構成により、本発明の電子機器は、複数のアプリケーションの実行ファイルと、複数のアプリケーションのそれぞれが対応可能なプラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、対応バージョン情報と、電子機器のプラットフォームのバージョンとに基づいて、複数のアプリケーションの実行ファイルのうち、アプリケーションのインストールに使用される実行ファイルを電子機器自身が決定するので、複数のアプリケーションの中から電子機器のプラットフォームに適したアプリケーションをアプリケーションの提供者および電子機器の利用者の何れも選ぶ必要がなく、アプリケーションのインストールの作業を容易化することができる。   With this configuration, the electronic device of the present invention can cope with a case where a package file including an execution file of a plurality of applications and corresponding version information indicating a version of a platform that can be supported by each of the plurality of applications is installed. Based on the version information and the platform version of the electronic device, the electronic device itself determines the executable file used to install the application among the executable files of the multiple applications. It is not necessary for the application provider and the electronic device user to select an application suitable for the platform, and the installation of the application can be facilitated.

本発明のインストール制御プログラムは、アプリケーションを動作させるプラットフォームを備える電子機器を、前記アプリケーションをインストールするインストール制御手段として機能させるインストール制御プログラムであって、前記インストール制御手段は、複数の前記アプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能な前記プラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、前記対応バージョン情報と、前記電子機器の前記プラットフォームのバージョンとに基づいて、前記複数のアプリケーションの前記実行ファイルのうち、前記アプリケーションのインストールに使用される前記実行ファイルを決定することを特徴とする。   The installation control program of the present invention is an installation control program that causes an electronic device including a platform that operates an application to function as an installation control unit that installs the application, and the installation control unit includes a plurality of execution files of the application. And the corresponding version information and the version of the platform of the electronic device when the package file including the corresponding version information indicating the version of the platform that can be supported by each of the plurality of applications is installed. Based on the execution files of the plurality of applications, the execution file used to install the application is determined. To.

この構成により、本発明のインストール制御プログラムを実行する電子機器は、複数のアプリケーションの実行ファイルと、複数のアプリケーションのそれぞれが対応可能なプラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、対応バージョン情報と、電子機器のプラットフォームのバージョンとに基づいて、複数のアプリケーションの実行ファイルのうち、アプリケーションのインストールに使用される実行ファイルを電子機器自身が決定するので、複数のアプリケーションの中から電子機器のプラットフォームに適したアプリケーションをアプリケーションの提供者および電子機器の利用者の何れも選ぶ必要がなく、アプリケーションのインストールの作業を容易化することができる。   With this configuration, an electronic device that executes the installation control program of the present invention installs a package file that includes an executable file of a plurality of applications and corresponding version information indicating the version of the platform that each of the plurality of applications can support. In this case, the electronic device itself determines the executable file used for installing the application among the executable files of the plurality of applications based on the corresponding version information and the version of the platform of the electronic device. It is not necessary for the application provider and the electronic device user to select an application suitable for the electronic device platform from among the applications, thereby facilitating application installation work. It is possible.

本発明のパッケージファイル生成方法は、複数のアプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能なプラットフォームのバージョンを示す対応バージョン情報とを含めてインストール用のパッケージファイルを生成することを特徴とする。   The package file generation method of the present invention generates an installation package file including an execution file of a plurality of applications and corresponding version information indicating a version of a platform that can be supported by each of the plurality of applications. And

この構成により、本発明のパッケージファイル生成方法によって生成されたパッケージファイルがインストールされる電子機器は、対応バージョン情報と、電子機器のプラットフォームのバージョンとに基づいて、複数のアプリケーションの実行ファイルのうち、アプリケーションのインストールに使用される実行ファイルを電子機器自身が決定するので、複数のアプリケーションの中から電子機器のプラットフォームに適したアプリケーションをアプリケーションの提供者および電子機器の利用者の何れも選ぶ必要がなく、アプリケーションのインストールの作業を容易化することができる。   With this configuration, the electronic device on which the package file generated by the package file generation method of the present invention is installed is based on the corresponding version information and the version of the platform of the electronic device. Since the electronic device itself determines the executable file used to install the application, it is not necessary for either the application provider or the electronic device user to select an application suitable for the electronic device platform from among multiple applications. The application installation work can be facilitated.

本発明の電子機器、インストール制御プログラムおよびパッケージファイル生成方法は、アプリケーションのインストールの作業を容易化することができる。   The electronic device, the installation control program, and the package file generation method of the present invention can facilitate application installation work.

本発明の一実施の形態に係るMFPのブロック図である。1 is a block diagram of an MFP according to an embodiment of the present invention. 図1に示すMFPのソフトウェアのアーキテクチャーを示す図である。FIG. 2 is a diagram illustrating a software architecture of the MFP illustrated in FIG. 1. 図1に示すMFPにインストールされるパッケージファイルのブロック図である。FIG. 2 is a block diagram of a package file installed in the MFP shown in FIG. 1. 図3に示すパッケージファイルの生成方法のフローチャートである。4 is a flowchart of a package file generation method shown in FIG. 3. パッケージファイルがインストールされる場合の図1に示すMFPの動作のフローチャートである。2 is a flowchart of the operation of the MFP shown in FIG. 1 when a package file is installed. パッケージファイルがインストールされた場合の図1に示すMFPのブロック図である。FIG. 2 is a block diagram of the MFP shown in FIG. 1 when a package file is installed. アプリケーション(for Version A)がインストールされた場合の図1に示すMFPのソフトウェアのアーキテクチャーを示す図である。FIG. 2 is a diagram showing an architecture of software of the MFP shown in FIG. 1 when an application (for Version A) is installed. アプリケーション(for Version B)がインストールされた場合の図1に示すMFPのソフトウェアのアーキテクチャーを示す図である。FIG. 2 is a diagram illustrating an architecture of software of the MFP illustrated in FIG. 1 when an application (for Version B) is installed.

以下、本発明の一実施の形態について、図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

まず、本実施の形態に係る電子機器としてのMFP(Multifunction Peripheral)の構成について説明する。   First, the configuration of an MFP (Multifunction Peripheral) as an electronic apparatus according to the present embodiment will be described.

図1は、本実施の形態に係るMFP10のブロック図である。   FIG. 1 is a block diagram of MFP 10 according to the present embodiment.

図1に示すように、MFP10は、種々の操作が入力されるボタンなどの入力デバイスである操作部11と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、用紙などの記録媒体に印刷を実行する印刷デバイスであるプリンター13と、原稿から画像を読み取る読取デバイスであるスキャナー14と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部15と、LAN(Local Area Network)、インターネットなどのネットワーク経由で外部の装置と通信を行うネットワーク通信デバイスであるネットワーク通信部16と、各種の情報を記憶する半導体メモリー、HDD(Hard Disk Drive)などの不揮発性の記憶デバイスである記憶部17と、MFP10全体を制御する制御部18とを備えている。   As illustrated in FIG. 1, the MFP 10 includes an operation unit 11 that is an input device such as buttons for inputting various operations, and a display unit 12 that is a display device such as an LCD (Liquid Crystal Display) that displays various information. And a printer 13 that is a printing device that executes printing on a recording medium such as paper, a scanner 14 that is a reading device that reads an image from a document, an external facsimile apparatus (not shown), and a communication line such as a public telephone line Various types of information are received, such as a fax communication unit 15 that is a fax device that performs fax communication with a network communication unit 16 that is a network communication device that communicates with an external device via a network such as a LAN (Local Area Network) or the Internet. Memory semiconductor memory Lee, an HDD (Hard Disk Drive) non-volatile storage device is a storage unit 17 such as, and a control unit 18 which controls the entire MFP 10.

記憶部17は、Java(登録商標)のアプリケーションの実行ファイルとしてのアプリケーション用プログラム17aを複数記憶することが可能である。また、記憶部17は、Javaのアプリケーションを動作させるOSGi(Open Service Gateway initiative)フレームワークを実現するためのOSGiフレームワーク用プログラム17bと、OSGiフレームワークを介してJavaのアプリケーションを動作させるプラットフォームとしてのJava VM(Virtual Machine)を実現するためのJava VM用Java VM用プログラム17cと、Java VMを動作させるOS(Operating System)を実現するためのOS用プログラム17dとを記憶している。   The storage unit 17 can store a plurality of application programs 17a as execution files of Java (registered trademark) applications. In addition, the storage unit 17 is an OSGi framework program 17b for realizing an OSGi (Open Service Gateway Initiative) framework for running Java applications, and a platform for running Java applications via the OSGi framework. A Java VM program 17c for realizing a Java VM (Virtual Machine) and an OS program 17d for realizing an OS (Operating System) for operating the Java VM are stored.

記憶部17は、アプリケーションをインストールするためのインストール制御プログラム17eを記憶している。インストール制御プログラム17eは、MFP10の製造段階でMFP10にインストールされていても良いし、SDカード、USB(Universal Serial Bus)メモリーなどの外部記憶媒体からMFP10に追加でインストールされても良いし、ネットワーク上からMFP10に追加でインストールされても良い。   The storage unit 17 stores an installation control program 17e for installing an application. The installation control program 17e may be installed in the MFP 10 at the manufacturing stage of the MFP 10, or may be additionally installed in the MFP 10 from an external storage medium such as an SD card or a USB (Universal Serial Bus) memory, or on the network. To the MFP 10 may be additionally installed.

制御部18は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。CPUは、ROMまたは記憶部17に記憶されているプログラムを実行する。   The control unit 18 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) storing programs 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 17.

図2は、MFP10のソフトウェアのアーキテクチャーを示す図である。   FIG. 2 is a diagram illustrating the software architecture of the MFP 10.

図2に示すように、MFP10のソフトウェアのアーキテクチャーは、アプリケーション用プログラム17a、OSGiフレームワーク用プログラム17b、Java VM用プログラム17c、OS用プログラム17dが制御部18によって実行されることによってそれぞれ実現されるアプリケーション18a、OSGiフレームワーク18b、Java VM18c、OS18dによって構成されている。   As shown in FIG. 2, the software architecture of the MFP 10 is realized by the control unit 18 executing the application program 17a, the OSGi framework program 17b, the Java VM program 17c, and the OS program 17d. Application 18a, OSGi framework 18b, Java VM 18c, and OS 18d.

図1に示すように、制御部18は、記憶部17に記憶されているインストール制御プログラム17eを実行することによって、アプリケーション18aをインストールするインストール制御手段18eとして機能する。   As illustrated in FIG. 1, the control unit 18 functions as an installation control unit 18 e that installs the application 18 a by executing the installation control program 17 e stored in the storage unit 17.

次に、MFP10へのアプリケーション18aのインストールについて説明する。   Next, installation of the application 18a in the MFP 10 will be described.

まず、MFP10にインストールされるパッケージファイルの生成方法について説明する。   First, a method for generating a package file to be installed in the MFP 10 will be described.

図3は、MFP10にインストールされるパッケージファイル20のブロック図である。図4は、パッケージファイル20の生成方法のフローチャートである。   FIG. 3 is a block diagram of the package file 20 installed in the MFP 10. FIG. 4 is a flowchart of a method for generating the package file 20.

図3および図4に示すように、アプリケーションの開発者は、特定のバージョン(以下「バージョンA」と言う。)のJava VM18c(以下「Java VM(Version A)」と言う。)で動作可能なアプリケーション18a(以下「アプリケーション(for Version A)」と言う。)の実行ファイルとしてのアプリケーション(for Version A)用プログラム21をコンピューター(図示せず。)を使用して生成する(S101)。ここで、アプリケーション(for Version A)用プログラム21には、アプリケーション(for Version A)が対応可能なJava VM(Version A)のバージョン、すなわち、バージョンAを示す対応バージョン情報21aが含まれている。   As shown in FIGS. 3 and 4, an application developer can operate with a specific version (hereinafter referred to as “version A”) of Java VM 18c (hereinafter referred to as “Java VM (Version A)”). An application (for Version A) program 21 as an execution file of the application 18a (hereinafter referred to as “application (for Version A)”) is generated using a computer (not shown) (S101). Here, the application (for Version A) program 21 includes a version of a Java VM (Version A) that can be supported by the application (for Version A), that is, corresponding version information 21a indicating version A.

アプリケーションの開発者は、S101の処理の後、バージョンAより後の特定のバージョン(以下「バージョンB」と言う。)のJava VM18c(以下「Java VM(Version B)」と言う。)で動作可能なアプリケーション18a(以下「アプリケーション(for Version B)」と言う。)の実行ファイルとしてのアプリケーション(for Version B)用プログラム22をコンピューター(図示せず。)を使用して生成する(S102)。ここで、アプリケーション(for Version B)用プログラム22には、アプリケーション(for Version B)が対応可能なJava VM(Version B)のバージョン、すなわち、バージョンBを示す対応バージョン情報22aが含まれている。   The application developer can operate with a Java VM 18c (hereinafter referred to as “Java VM (Version B)”) of a specific version (hereinafter referred to as “version B”) after version A after the processing of S101. A program 22 for an application (for Version B) as an executable file of a simple application 18a (hereinafter referred to as “application (for Version B)”) is generated using a computer (not shown) (S102). Here, the application (for Version B) program 22 includes a version of Java VM (Version B) that can be supported by the application (for Version B), that is, corresponding version information 22a indicating the version B.

アプリケーションの開発者は、S102の処理の後、S101において生成したアプリケーション(for Version A)用プログラム21と、S102において生成したアプリケーション(for Version B)用プログラム22とを含むパッケージファイル20をコンピューター(図示せず。)を使用して生成して(S103)、図4に示す処理を終了する。   After the processing of S102, the application developer creates a package file 20 including the application (for Version A) program 21 generated in S101 and the application (for Version B) program 22 generated in S102 on a computer (FIG. (S103), and the process shown in FIG. 4 is terminated.

なお、S101の処理と、S102の処理とは、同時に実行されても良いし、順番を逆にして実行されても良い。また、図4に示す処理の少なくとも一部は、インストール用のパッケージファイル20を生成するための専用のソフトウェアを使用して実行されても良い。   Note that the processing of S101 and the processing of S102 may be executed simultaneously or in reverse order. Also, at least a part of the processing shown in FIG. 4 may be executed using dedicated software for generating the installation package file 20.

次に、パッケージファイル20がインストールされる場合のMFP10の動作について説明する。   Next, the operation of the MFP 10 when the package file 20 is installed will be described.

図5は、パッケージファイル20がインストールされる場合のMFP10の動作のフローチャートである。   FIG. 5 is a flowchart of the operation of the MFP 10 when the package file 20 is installed.

MFP10の利用者がMFP10にパッケージファイル20をインストールすると、制御部18は、図5に示す動作を実行する。   When the user of the MFP 10 installs the package file 20 in the MFP 10, the control unit 18 executes the operation shown in FIG.

図5に示すように、インストール制御手段18eは、パッケージファイル20内のアプリケーション(for Version A)用プログラム21およびアプリケーション(for Version B)用プログラム22を図6に示すように記憶部17に記憶する(S111)。   As shown in FIG. 5, the installation control means 18e stores the application (for Version A) program 21 and the application (for Version B) program 22 in the package file 20 in the storage unit 17 as shown in FIG. (S111).

次いで、インストール制御手段18eは、S111において記憶部17に記憶されたアプリケーション(for Version A)用プログラム21の対応バージョン情報21aに示されている「バージョンA」と、S111において記憶部17に記憶されたアプリケーション(for Version B)用プログラム22の対応バージョン情報22aに示されている「バージョンB」と、MFP10のJava VM18cのバージョンとに基づいて、アプリケーション(for Version A)用プログラム21およびアプリケーション(for Version B)用プログラム22のうち、アプリケーションのインストールに使用されるアプリケーション用プログラムを決定する(S112)。例えば、MFP10のJava VM18cのバージョンがバージョンAである場合、インストール制御手段18eは、アプリケーションのインストールに使用されるアプリケーション用プログラムとして、アプリケーション(for Version A)用プログラム21を決定する。また、MFP10のJava VM18cのバージョンがバージョンBである場合、インストール制御手段18eは、アプリケーションのインストールに使用されるアプリケーション用プログラムとして、アプリケーション(for Version B)用プログラム22を決定する。   Next, the installation control means 18e stores “version A” shown in the corresponding version information 21a of the application (for Version A) program 21 stored in the storage unit 17 in S111 and the storage unit 17 in S111. Based on the “version B” indicated in the corresponding version information 22a of the application 22 program (for Version B) and the version of the Java VM 18c of the MFP 10, the application program 21 for the application (for Version A) and the application program (for) Of the version B) program 22, the application program used for installing the application is determined (S112). For example, when the version of the Java VM 18c of the MFP 10 is version A, the installation control unit 18e determines an application (for Version A) program 21 as an application program used for installing the application. When the version of the Java VM 18c of the MFP 10 is version B, the installation control unit 18e determines an application (for Version B) program 22 as an application program used for installing the application.

次いで、インストール制御手段18eは、S112において決定したアプリケーション用プログラムを使用してアプリケーションをインストールして(S113)、図5に示す動作を終了する。例えば、MFP10のJava VM18cのバージョンがバージョンAである場合、すなわち、Java VM18cがJava VM(Version A)である場合、インストール制御手段18eは、アプリケーション(for Version A)用プログラム21を使用して、図7に示すように、アプリケーション18aとしてアプリケーション(for Version A)をインストールする。また、MFP10のJava VM18cのバージョンがバージョンBである場合、すなわち、Java VM18cがJava VM(Version B)である場合、インストール制御手段18eは、アプリケーション(for Version B)用プログラム22を使用して、図8に示すように、アプリケーション18aとしてアプリケーション(for Version B)をインストールする。   Next, the installation control means 18e installs the application using the application program determined in S112 (S113), and ends the operation shown in FIG. For example, when the version of the Java VM 18c of the MFP 10 is version A, that is, when the Java VM 18c is a Java VM (Version A), the installation control unit 18e uses the application (for Version A) program 21, As shown in FIG. 7, an application (for Version A) is installed as the application 18a. When the version of the Java VM 18c of the MFP 10 is version B, that is, when the Java VM 18c is a Java VM (Version B), the installation control unit 18e uses the application (for Version B) program 22, As shown in FIG. 8, an application (for Version B) is installed as the application 18a.

以上に説明したように、MFP10は、複数のアプリケーションの実行ファイル、すなわち、アプリケーション(for Version A)用プログラム21およびアプリケーション(for Version B)用プログラム22と、複数のアプリケーションのそれぞれが対応可能なJava VM18cのバージョンを示す対応バージョン情報21a、22aとが含まれるパッケージファイル20がインストールされる場合に、対応バージョン情報21a、22aと、MFP10のJava VM18cのバージョンとに基づいて、アプリケーション(for Version A)用プログラム21およびアプリケーション(for Version B)用プログラム22のうち、アプリケーションのインストールに使用されるアプリケーション用実行ファイルをMFP10自身が決定する(S112)ので、複数のアプリケーションの中からMFP10のJava VM18cに適したアプリケーションをアプリケーションの提供者およびMFP10の利用者の何れも選ぶ必要がなく、アプリケーションのインストールの作業を容易化することができる。   As described above, the MFP 10 is a Java that can correspond to an execution file of a plurality of applications, that is, a program 21 for application (for Version A) and a program 22 for application (for Version B), respectively. When the package file 20 including the corresponding version information 21a and 22a indicating the version of the VM 18c is installed, the application (for Version A) is based on the corresponding version information 21a and 22a and the version of the Java VM 18c of the MFP 10. Of the application program 21 and the application (for Version B) program 22, the application used for installing the application Since the MFP 10 itself determines the application execution file (S112), it is not necessary for the application provider and the user of the MFP 10 to select an application suitable for the Java VM 18c of the MFP 10 from among a plurality of applications. Can be facilitated.

なお、MFP10は、インストールされたパッケージファイル20内の複数のアプリケーション用プログラムにそれぞれ対応する複数のアプリケーションがJava VM18cで動作可能である場合、これらのアプリケーションのうち、最新のバージョンのJava VMに対応可能であるアプリケーションをインストールしても良い。   In addition, when a plurality of applications corresponding to a plurality of application programs in the installed package file 20 can operate with the Java VM 18c, the MFP 10 can support the latest version of the Java VM among these applications. You may install an application.

対応バージョン情報は、本実施の形態においてアプリケーション用プログラムに含まれているが、アプリケーション用プログラムとは別にパッケージファイルに含まれていても良い。   The corresponding version information is included in the application program in the present embodiment, but may be included in the package file separately from the application program.

本実施の形態においては、複数のアプリケーションの実行ファイルとして2つのアプリケーション用プログラムがパッケージファイルに含まれている場合について説明している。しかしながら、複数のアプリケーションの実行ファイルとして3つ以上のアプリケーション用プログラムがパッケージファイルに含まれている場合についても同様である。   In the present embodiment, a case has been described in which two application programs are included in a package file as execution files of a plurality of applications. However, the same applies to a case where three or more application programs are included in the package file as execution files of a plurality of applications.

本発明の電子機器は、本実施の形態においてMFPであるが、プリンター専用機、スキャナー専用機、コピー専用機、ファクシミリ専用機など、MFP以外の画像形成装置であっても良いし、PC(Personal Computer)など、画像形成装置以外の電子機器であっても良い。   The electronic apparatus of the present invention is an MFP in this embodiment, but may be an image forming apparatus other than an MFP such as a printer dedicated machine, a scanner dedicated machine, a copy dedicated machine, a facsimile dedicated machine, or a PC (Personal). Electronic devices other than the image forming apparatus such as a computer may be used.

10 MFP(電子機器)
17a アプリケーション用プログラム(アプリケーションの実行ファイル)
17e インストール制御プログラム
18a アプリケーション
18c Java VM(プラットフォーム)
18e インストール制御手段
20 パッケージファイル
21 アプリケーション(for Version A)用プログラム(アプリケーション(for Version A)の実行ファイル)
21a 対応バージョン情報
22 アプリケーション(for Version B)用プログラム(アプリケーション(for Version B)の実行ファイル)
22a 対応バージョン情報
10 MFP (electronic equipment)
17a Application program (executable file for application)
17e Installation control program 18a Application 18c Java VM (platform)
18e Installation control means 20 Package file 21 Application (for Version A) program (execution file of application (for Version A))
21a Corresponding version information 22 Application (for Version B) program (executable file of application (for Version B))
22a Supported version information

Claims (3)

アプリケーションを動作させるプラットフォームと、
前記アプリケーションをインストールするインストール制御手段とを備える電子機器であって、
前記インストール制御手段は、複数の前記アプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能な前記プラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、前記対応バージョン情報と、前記電子機器の前記プラットフォームのバージョンとに基づいて、前記複数のアプリケーションの前記実行ファイルのうち、前記アプリケーションのインストールに使用される前記実行ファイルを決定することを特徴とする電子機器。
A platform to run the application,
An electronic device comprising installation control means for installing the application,
The installation control means, when a package file including a plurality of executable files of the application and corresponding version information indicating the version of the platform that can be supported by each of the plurality of applications is installed, An electronic device that determines the execution file to be used for installing the application among the execution files of the plurality of applications based on information and a version of the platform of the electronic device.
アプリケーションを動作させるプラットフォームを備える電子機器を、前記アプリケーションをインストールするインストール制御手段として機能させるインストール制御プログラムであって、
前記インストール制御手段は、複数の前記アプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能な前記プラットフォームのバージョンを示す対応バージョン情報とが含まれるパッケージファイルがインストールされる場合に、前記対応バージョン情報と、前記電子機器の前記プラットフォームのバージョンとに基づいて、前記複数のアプリケーションの前記実行ファイルのうち、前記アプリケーションのインストールに使用される前記実行ファイルを決定することを特徴とするインストール制御プログラム。
An installation control program for causing an electronic device including a platform for operating an application to function as an installation control unit for installing the application,
The installation control means, when a package file including a plurality of executable files of the application and corresponding version information indicating the version of the platform that can be supported by each of the plurality of applications is installed, An installation control program that determines an execution file to be used for installation of the application among the execution files of the plurality of applications based on information and a version of the platform of the electronic device.
複数のアプリケーションの実行ファイルと、前記複数のアプリケーションのそれぞれが対応可能なプラットフォームのバージョンを示す対応バージョン情報とを含めてインストール用のパッケージファイルを生成することを特徴とするパッケージファイル生成方法。   A package file generation method comprising: generating an installation package file including an execution file of a plurality of applications and corresponding version information indicating a version of a platform that can be supported by each of the plurality of applications.
JP2015210803A 2015-10-27 2015-10-27 Electronic device, installation control program, and package file generation method Pending JP2017084054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015210803A JP2017084054A (en) 2015-10-27 2015-10-27 Electronic device, installation control program, and package file generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015210803A JP2017084054A (en) 2015-10-27 2015-10-27 Electronic device, installation control program, and package file generation method

Publications (1)

Publication Number Publication Date
JP2017084054A true JP2017084054A (en) 2017-05-18

Family

ID=58712037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015210803A Pending JP2017084054A (en) 2015-10-27 2015-10-27 Electronic device, installation control program, and package file generation method

Country Status (1)

Country Link
JP (1) JP2017084054A (en)

Similar Documents

Publication Publication Date Title
US9507584B2 (en) Electronic device including a memory technology device
JP6787115B2 (en) Image forming device, function addition method, program,
JP6206586B2 (en) Image forming apparatus and image forming method
JP6260458B2 (en) Image forming apparatus, image forming method, and control program
US9454386B2 (en) Image forming apparatus and method that realize function by installed application
JP2014127126A (en) Program and output system
CN109660688B (en) Information processing apparatus and control method thereof
JP2011043932A (en) Information processing apparatus
JP6311885B2 (en) Program replacement system
JP2015046117A (en) Image processing device, image processing method and program
JP6303667B2 (en) Program, information processing apparatus and information processing system
JP6078515B2 (en) Electronic equipment and programs
JP5873825B2 (en) Electronic device and application storage program
JP2017117235A (en) Management program, management system, and information processing device
JP5333035B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM
US11397603B2 (en) Information processing apparatus, control method therefor, and program
JP2017084054A (en) Electronic device, installation control program, and package file generation method
JP6124836B2 (en) Electronic device and memory management method
JP2018139360A (en) Electronic apparatus
JP5825302B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM
JP2019046001A (en) Application porting support device, application porting support program, and application porting method
JP2019101529A (en) Image forming apparatus and device configuration management program
JP6084940B2 (en) Electronic device and management method of electronic device
JP2017108327A (en) Electronic apparatus
JP2021016183A (en) Information processing apparatus, data processing method, and program