JP2010066903A - Information processor, program registration/start method and registration/start program - Google Patents

Information processor, program registration/start method and registration/start program Download PDF

Info

Publication number
JP2010066903A
JP2010066903A JP2008231281A JP2008231281A JP2010066903A JP 2010066903 A JP2010066903 A JP 2010066903A JP 2008231281 A JP2008231281 A JP 2008231281A JP 2008231281 A JP2008231281 A JP 2008231281A JP 2010066903 A JP2010066903 A JP 2010066903A
Authority
JP
Japan
Prior art keywords
program
layer
registration
activated
daemon
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.)
Granted
Application number
JP2008231281A
Other languages
Japanese (ja)
Other versions
JP5206257B2 (en
Inventor
Kenichi Aono
健一 青野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008231281A priority Critical patent/JP5206257B2/en
Publication of JP2010066903A publication Critical patent/JP2010066903A/en
Application granted granted Critical
Publication of JP5206257B2 publication Critical patent/JP5206257B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor, a program registration/start method and a registration/start program, allowing simultaneous materialization of both elimination of dependency relation between programs started in different layers and facilitation of registration of a program. <P>SOLUTION: The information processor has: a first mediation means to be started in a first layer on a framework; a second mediation means to be started in a second layer on the framework; a communication means for performing communication between the first mediation means and the second mediation means for receiving messages from first and second programs started in the first layer and the second layer; and a registration reception means for receiving registration of the second program into the second layer, and storing setting information necessary to start the second program in the second layer in a data management means. The first mediation means starts the second mediation means according to the setting information, the second mediation means starts the second program according to the setting information, and the second program operates according to the setting information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、情報処理装置、プログラム登録起動方法、登録起動プログラムに係り、特に一のプログラム言語をベースとした所定のフレームワークを適用した情報処理装置、プログラム登録起動方法、プログラム起動プログラムに関する。   The present invention relates to an information processing apparatus, a program registration activation method, and a registration activation program, and more particularly to an information processing apparatus, a program registration activation method, and a program activation program to which a predetermined framework based on one program language is applied.

近年、情報処理装置の一例としての画像形成装置には必要なモジュールをプラグインできるものが存在するようになった。プラグインとは、小さなプログラム(プラグイン)を用いて各種アプリケーション等に機能を追加するものである。なお、画像形成装置は例えばコピー,プリンタ,スキャナ,ファクシミリ,複合機等の総称である。   In recent years, some image forming apparatuses as an example of information processing apparatuses can plug in necessary modules. A plug-in is a function for adding functions to various applications using a small program (plug-in). Note that the image forming apparatus is a generic name for, for example, a copy, a printer, a scanner, a facsimile machine, and a multifunction machine.

図1は必要なモジュールをプラグインできる画像形成装置のソフトウェア構成を示した簡略図である。画像形成装置1はOSGi(Open Service Gateway initiative)フレームワーク11を適用している。   FIG. 1 is a simplified diagram showing a software configuration of an image forming apparatus in which necessary modules can be plugged in. The image forming apparatus 1 applies an OSGi (Open Service Gateway initiative) framework 11.

OSGiフレームワーク11は、OSGiアライアンスによる標準化技術であり、Java(登録商標)言語をベースとしたオープンなソフトウェア部品化技術である。OSGiフレームワーク11を適用している画像形成装置では、Java(登録商標)言語のソフトウェアがバンドル(Bundle)というソフトウェア部品の単位(バンドル単位)で実装される。   The OSGi framework 11 is a standardization technology based on the OSGi alliance, and is an open software componentization technology based on the Java (registered trademark) language. In an image forming apparatus to which the OSGi framework 11 is applied, Java (registered trademark) language software is installed in units of software components (bundles) called bundles.

図1の画像形成装置1は、機能をバンドルにより構成することができると共に、機能のアップデートやカスタマイズ、メンテナンスをバンドルのインストールにより実現することができる。   The image forming apparatus 1 in FIG. 1 can be configured with functions as bundles, and can also update, customize, and maintain functions by installing bundles.

図1の画像形成装置1は、Java(登録商標)言語のソフトウェアを実行する為のCVM(Compact Virtual Machine)10,バンドルの管理を行うOSGiフレームワーク11,バンドル12,Java(登録商標)言語のソフトウェアであるコンポーネント13,Native言語のソフトウェアであるデーモン(Daemon)14を有する。   The image forming apparatus 1 in FIG. 1 includes a CVM (Compact Virtual Machine) 10 for executing Java (registered trademark) software, an OSGi framework 11 for managing bundles, a bundle 12, and a Java (registered trademark) language. A component 13 which is software and a daemon 14 which is native language software are included.

図1の画像形成装置1のOSGiフレームワーク11上においてコンポーネント13はバンドル12を用いてJava(登録商標)層に対するコンポーネント13のプラグインを行う。なお、Native言語のソフトウェアであるデーモン14をNative層にインストールする場合、従来の画像形成装置1は、例えばバンドル12にデーモン14を含める形で行っていた。バンドル12にデーモン14を含める形でNative言語のソフトウェアであるデーモン14をNative層にインストールする形は、デーモン14の登録が容易であった。なお、OSGiフレームワーク11を適用した画像形成装置1は従来から知られている(例えば特許文献1参照)。
特開2007−110689号公報
In the OSGi framework 11 of the image forming apparatus 1 in FIG. 1, the component 13 uses the bundle 12 to plug in the component 13 to the Java (registered trademark) layer. Note that when the daemon 14 which is native language software is installed in the native layer, the conventional image forming apparatus 1 is performed in such a manner that the daemon 14 is included in the bundle 12, for example. It is easy to register the daemon 14 by installing the daemon 14 which is native language software in the native layer so that the daemon 14 is included in the bundle 12. Note that an image forming apparatus 1 to which the OSGi framework 11 is applied is conventionally known (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 2007-110589

しかし、図1の画像形成装置1では、Native層にインストールされたデーモン14がJava(登録商標)層のコンポーネント13とメッセージ送受信を行う場面で問題が生じる。   However, in the image forming apparatus 1 of FIG. 1, a problem occurs when the daemon 14 installed in the Native layer transmits and receives messages to and from the Java (registered trademark) layer component 13.

バンドル12にデーモン14を含める形でNative言語のソフトウェアであるデーモン14をNative層にインストールした場合、Java(登録商標)層とNative層との間のメソッド呼び出しは、主にJNI(Java Native Interface)で行われる。JNIは、Java(登録商標)言語で開発されたコンポーネント13と、Native言語で開発されたデーモン14との間でメソッド呼び出しを行う為のAPI(Application Program Interface)である。   When the daemon 14, which is native language software, is installed in the native layer in such a manner that the daemon 14 is included in the bundle 12, method calls between the Java (registered trademark) layer and the native layer are mainly JNI (Java Native Interface). Done in JNI is an API (Application Program Interface) for calling a method between a component 13 developed in Java (registered trademark) language and a daemon 14 developed in Native language.

JNIでメソッド呼び出しを行う場合は、相手のクラス名やメソッド名の指定が必要となるため、デーモン14は、その指定をハードコーディングする必要があり、呼び出し相手のコンポーネント13と依存関係ができてしまう。このため、図1の画像形成装置1ではNative言語で開発されたデーモン14にありがちなバージョンアップや脆弱性対応が難しくなるという問題があった。   When calling a method with JNI, it is necessary to specify the class name and method name of the other party. Therefore, the daemon 14 needs to hard-code the specification, and the dependency relationship with the component 13 of the calling party can be made. . For this reason, the image forming apparatus 1 of FIG. 1 has a problem in that it is difficult to cope with version upgrades and vulnerability countermeasures that are likely to be in the daemon 14 developed in the Native language.

つまり、従来の画像形成装置1は、Java(登録商標)言語で開発されたコンポーネント13と、Native言語で開発されたデーモン14との依存関係を無くすことと、Native層にデーモン14とを容易にインストールすることとの両立が難しかった。   In other words, the conventional image forming apparatus 1 eliminates the dependency relationship between the component 13 developed in the Java (registered trademark) language and the daemon 14 developed in the Native language, and makes the daemon 14 easily in the Native layer. It was difficult to balance installation.

本発明は、上記の点に鑑みなされたもので、異なる層で起動されるプログラム間の依存関係を無くすこと、プログラムの登録を容易化することを両立できる情報処理装置、プログラム登録起動方法、登録起動プログラムを提供することを目的とする。   The present invention has been made in view of the above points, and is an information processing apparatus, a program registration activation method, and a registration that can eliminate the dependency between programs activated in different layers and facilitate program registration. The purpose is to provide a startup program.

上記課題を解決する為、本発明は、一のプログラム言語をベースとした所定のフレームワークを適用している情報処理装置であって、前記一のプログラム言語で記述された第1プログラムが起動される前記フレームワーク上の第1層に起動される第1仲介手段と、他のプログラム言語で記述された第2プログラムが起動される前記フレームワーク上の第2層に起動される第2仲介手段と、前記第1層に起動された前記第1プログラムからのメッセージを受け付ける第1仲介手段と前記第2層に起動された前記第2プログラムからのメッセージを受け付ける第2仲介手段との間で通信を行う通信手段と、前記第2層への前記第2プログラムの登録を受け付け、前記第2プログラムを前記第2層に起動する為に必要な設定情報をデータ管理手段に保存する登録受付手段と、を有し、前記フレームワークの起動後、前記第1仲介手段は前記データ管理手段に保存されている前記設定情報に従って前記第2仲介手段を起動し、前記第2仲介手段は前記設定情報に従って前記第2プログラムを起動し、前記第2プログラムは前記設定情報に従って動作することを特徴とする。   In order to solve the above problem, the present invention is an information processing apparatus to which a predetermined framework based on one program language is applied, and the first program described in the one program language is activated. First mediating means activated in the first layer on the framework and second mediating means activated in the second layer on the framework where the second program written in another programming language is activated Between the first mediating means for accepting a message from the first program activated in the first layer and the second mediating means for accepting a message from the second program activated in the second layer. And a communication unit for receiving the registration of the second program in the second layer and setting information necessary for starting the second program in the second layer to the data management unit Existing registration acceptance means, and after starting the framework, the first mediation means activates the second mediation means according to the setting information stored in the data management means, and the second mediation means Starts the second program according to the setting information, and the second program operates according to the setting information.

なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、データ構造などに適用したものも本発明の態様として有効である。   In addition, what applied the component, expression, or arbitrary combination of the component of this invention to a method, an apparatus, a system, a computer program, a recording medium, a data structure, etc. is also effective as an aspect of this invention.

本発明によれば、異なる層で起動されるプログラム間の依存関係を無くすこと、プログラムの登録を容易化することを両立できる情報処理装置、プログラム登録起動方法、登録起動プログラムを提供可能である。   According to the present invention, it is possible to provide an information processing apparatus, a program registration activation method, and a registration activation program capable of eliminating the dependency relationship between programs activated in different layers and facilitating program registration.

次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明していく。   Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings.

図2は本実施例の画像形成装置のソフトウェア構成を示した簡略図である。図2の画像形成装置2は、CVM10と、OSGiフレームワーク11と、デーモン14と、httpサービスコンポーネント(http serviceCMP)21と、データ管理コンポーネント22と、各種アプリケーションなどの機能を持つOSGiフレームワーク11上にある印刷管理コンポーネント,FAXコンポーネント等のコンポーネント23と、仲介コンポーネント24と、仲介デーモン25とを有する。   FIG. 2 is a simplified diagram illustrating a software configuration of the image forming apparatus according to the present exemplary embodiment. The image forming apparatus 2 illustrated in FIG. 2 includes a CVM 10, an OSGi framework 11, a daemon 14, an http service component (http service CMP) 21, a data management component 22, and an OSGi framework 11 having functions such as various applications. A component 23 such as a print management component and a FAX component, a mediation component 24, and a mediation daemon 25.

なお、図2の画像形成装置2は図1の画像形成装置1と同一部分について同一符号を付して説明を適宜省略する。httpサービスコンポーネント21は、デーモン14を追加して登録する際の受付口の例である。データ管理コンポーネント22は各種設定情報等のデータを管理するものである。データ管理コンポーネント22は各種設定情報等のデータの保管を担うものである。コンポーネント23は、デーモン14が最終的にメッセージを送受信したい相手である。   In the image forming apparatus 2 in FIG. 2, the same parts as those in the image forming apparatus 1 in FIG. The http service component 21 is an example of a reception port when the daemon 14 is added and registered. The data management component 22 manages data such as various setting information. The data management component 22 is responsible for storing data such as various setting information. The component 23 is a partner with which the daemon 14 ultimately wants to send and receive messages.

また、仲介コンポーネント24は、Java(登録商標)層とNative層との間のメッセージの橋渡しをする上でJava(登録商標)層側のメッセージ受付を行うものである。仲介デーモン25はJava(登録商標)層とNative層との間のメッセージの橋渡しをする上で、Native層側のメッセージ受付を行うものである。   The mediation component 24 accepts a message on the Java (registered trademark) layer side to bridge a message between the Java (registered trademark) layer and the native layer. The intermediary daemon 25 accepts messages on the native layer side when bridging messages between the Java (registered trademark) layer and the native layer.

図2に示すように、画像形成装置2はJava(登録商標)層に仲介コンポーネント24が起動されると共に、Native層とに仲介デーモン25が起動される。この理由はJava(登録商標)層とNative層との間で通信する際に、相手とJNIの関数を固定する必要があるからである。JNIの関数を仲介コンポーネント24と仲介デーモン25とで固定することにより、Java(登録商標)層とNative層との間で通信するデーモン14等の利用者は、JNIを意識せずに通信が可能となる。   As shown in FIG. 2, in the image forming apparatus 2, the mediation component 24 is activated in the Java (registered trademark) layer, and the mediation daemon 25 is activated in the Native layer. This is because it is necessary to fix the JNI function with the partner when communicating between the Java (registered trademark) layer and the Native layer. By fixing the JNI function between the mediation component 24 and the mediation daemon 25, a user such as the daemon 14 that communicates between the Java (registered trademark) layer and the native layer can communicate without being aware of the JNI. It becomes.

図1に示した画像形成装置1では、コンポーネント13のプラグインの概念によって様々な機能の追加が可能である。しかし、多くの場合、Native層で起動されるNative言語のソフトウェアであるデーモン14は、Java(登録商標)によって提供されているI/Fを直接呼び出すことができないため、プラグインの概念で様々な機能の追加に対応できない。   In the image forming apparatus 1 shown in FIG. 1, various functions can be added according to the plug-in concept of the component 13. However, in many cases, the daemon 14, which is native language software activated in the native layer, cannot directly call the I / F provided by Java (registered trademark). Cannot support adding functions.

図2に示した本実施例の画像形成装置2は、Java(登録商標)層及びNative層に、それぞれJava(登録商標)層及びNative層の依存関係を代理で吸収する仲介コンポーネント24及び仲介デーモン25が起動されることで、Java(登録商標)層及びNative層の依存関係を無くし、Native言語のソフトウェアであるデーモン14を、OSGiフレームワーク11に対応する形で動的に追加する仕組みを提供する。   The image forming apparatus 2 according to the present exemplary embodiment illustrated in FIG. 2 includes a mediating component 24 and a mediating daemon that absorb the dependency of the Java (registered trademark) layer and the native layer on the Java (registered trademark) layer and the native layer, respectively. By starting 25, there is no dependency between the Java (registered trademark) layer and the native layer, and a mechanism for dynamically adding the daemon 14 that is native language software in a form corresponding to the OSGi framework 11 is provided. To do.

図3は本実施例の画像形成装置のソフトウェア構成におけるクラス図である。httpサービスコンポーネント21は登録データ31を取得する。登録データ31は、デーモン14のプログラムとXMLで記述された設定情報のセットである。httpサービスコンポーネント21は、登録データ31をデーモン14のプログラムとXMLで記述された設定情報とに分解し、デーモン14のプログラムをインストールする。httpサービスコンポーネント21は、XMLで記述された設定情報の内容を解析し、デーモン14のプロファイルと仲介デーモン25のプロファイルとを作成してデータ管理コンポーネント22に登録する。   FIG. 3 is a class diagram of the software configuration of the image forming apparatus according to the present exemplary embodiment. The http service component 21 acquires registration data 31. The registration data 31 is a set of setting information described in the program of the daemon 14 and XML. The http service component 21 decomposes the registration data 31 into the daemon 14 program and setting information described in XML, and installs the daemon 14 program. The http service component 21 analyzes the contents of the setting information described in XML, creates a profile of the daemon 14 and a profile of the mediation daemon 25, and registers them in the data management component 22.

また、仲介コンポーネント24は、データ管理コンポーネント22からデーモン14のプロファイルと仲介デーモン25のプロファイルとを取得して、仲介デーモン25用の設定ファイル32と、デーモン14用の設定ファイル33とを生成する。仲介デーモン25は仲介デーモン25用の設定ファイル32を参照し、デーモン14を起動する。デーモン14は、デーモン14用の設定ファイル33を参照し、デーモン14用の設定ファイル33に従って動作する。   Further, the mediation component 24 acquires the profile of the daemon 14 and the profile of the mediation daemon 25 from the data management component 22, and generates a configuration file 32 for the mediation daemon 25 and a configuration file 33 for the daemon 14. The mediation daemon 25 refers to the setting file 32 for the mediation daemon 25 and activates the daemon 14. The daemon 14 refers to the configuration file 33 for the daemon 14 and operates according to the configuration file 33 for the daemon 14.

起動されたあと、仲介コンポーネント24はJava(登録商標)層側からメッセージを受信し、Java(登録商標)層側へメッセージを送信する。また、仲介コンポーネント24はNative層側からメッセージを仲介デーモン25経由で受信し、Native層側へメッセージを仲介デーモン25経由で送信する。   After being activated, the mediation component 24 receives a message from the Java (registered trademark) layer side and transmits the message to the Java (registered trademark) layer side. The mediation component 24 receives a message from the native layer side via the mediation daemon 25, and transmits the message to the native layer side via the mediation daemon 25.

仲介デーモン25はNative層側のデーモン14からメッセージを受信し、Java(登録商標)層側へメッセージを仲介コンポーネント24経由で送信する。また、仲介デーモン25はJava(登録商標)層側からメッセージを仲介コンポーネント24経由で受信し、Native層側のデーモン14へメッセージを送信する。   The mediation daemon 25 receives a message from the daemon 14 on the native layer side, and transmits the message to the Java (registered trademark) layer side via the mediation component 24. The mediation daemon 25 receives a message from the Java (registered trademark) layer side via the mediation component 24 and transmits the message to the daemon 14 on the native layer side.

(デーモン14の登録時の処理)
図4はデーモンの登録時の処理を示した簡略図である。ユーザはデーモン14を登録する場合、登録データ31のインストールを行う。登録データ31はデーモン14のプログラム41とXMLで記述された設定情報42のセットである。なお、登録データ31の内容は一例である。例えば登録データ31は、デーモン14のプログラム41とXMLで記述された設定情報42以外にも予め定義されている情報が含まれていたり、暗号化や独自フォーマット化されていたりする場合も考えられる。
(Process when registering daemon 14)
FIG. 4 is a simplified diagram showing processing at the time of daemon registration. When the user registers the daemon 14, the registration data 31 is installed. The registration data 31 is a set of setting information 42 described in the program 41 of the daemon 14 and XML. The content of the registration data 31 is an example. For example, the registration data 31 may include information defined in advance other than the program 41 of the daemon 14 and the setting information 42 described in XML, or may be encrypted or uniquely formatted.

図5はXMLで記述された設定情報の一例を示す構成図である。図5の設定情報は仲介デーモン25のプロファイルを作成する為の情報部分51とデーモン14のプロファイルを作成する為の情報部分52とを有する構成である。情報部分51には、仲介デーモン25がデーモン14を起動する為の情報(例えばファイルパス,起動プログラム名,起動オプション等)が記述されている。情報部分52には、デーモン14が動作する為の情報(例えばデーモン14用の設定ファイル33のパス,ファイル名,設定内容等)が記述されている。   FIG. 5 is a configuration diagram showing an example of setting information described in XML. The setting information in FIG. 5 has a configuration including an information part 51 for creating a profile of the mediation daemon 25 and an information part 52 for creating a profile of the daemon 14. In the information part 51, information (for example, a file path, a start program name, a start option, etc.) for the mediation daemon 25 to start the daemon 14 is described. In the information portion 52, information for operating the daemon 14 (for example, the path, file name, setting contents, etc. of the setting file 33 for the daemon 14) is described.

登録データ31がインストールされると、デーモン14用の仲介コンポーネント24が生成される。httpサービスコンポーネント21は、登録データ31をデーモン14のプログラムとXMLで記述された設定情報とに分解する。httpサービスコンポーネント21は、デーモン14のプログラムを所定の場所に配置する。また、httpサービスコンポーネント21は、XMLで記述された設定情報の内容を解析し、デーモン14のプロファイルと仲介デーモン25のプロファイルとを作成してデータ管理コンポーネント22に登録する。httpサービスコンポーネント21は仲介デーモン25が次回起動以降に生成されるようにOSGiフレームワーク11へ登録を行う。   When the registration data 31 is installed, a mediation component 24 for the daemon 14 is generated. The http service component 21 decomposes the registration data 31 into a program of the daemon 14 and setting information described in XML. The http service component 21 places the program of the daemon 14 at a predetermined location. In addition, the http service component 21 analyzes the contents of the setting information described in XML, creates a profile of the daemon 14 and a profile of the mediation daemon 25, and registers them in the data management component 22. The http service component 21 registers with the OSGi framework 11 so that the mediation daemon 25 is generated after the next activation.

図6はデーモンの登録時の処理を示したシーケンス図である。デーモン14を登録する場合、ユーザはステップS1に進み、登録データ31のインストールを行う。登録データ31のインストールが行われると、httpサービスコンポーネント21はステップS2に進み、取得した登録データ31をパースし、デーモン14のプログラムとXMLで記述された設定情報とに分解する。   FIG. 6 is a sequence diagram showing processing at the time of daemon registration. When registering the daemon 14, the user proceeds to step S <b> 1 and installs the registration data 31. When the registration data 31 is installed, the http service component 21 proceeds to step S2, parses the acquired registration data 31, and decomposes it into a program of the daemon 14 and setting information described in XML.

ステップS3に進み、httpサービスコンポーネント21は、XMLで記述された設定情報の内容を解析し、デーモン14のプロファイルを作成してデータ管理コンポーネント22に登録する。また、ステップS4に進み、httpサービスコンポーネント21はXMLで記述された設定情報の内容を解析し、仲介デーモン25のプロファイルを作成してデータ管理コンポーネント22に登録する。   In step S 3, the http service component 21 analyzes the contents of the setting information described in XML, creates a profile of the daemon 14, and registers it in the data management component 22. In step S4, the http service component 21 analyzes the contents of the setting information described in XML, creates a profile of the mediation daemon 25, and registers it in the data management component 22.

ステップS5に進み、httpサービスコンポーネント21はデーモン14のプログラムを予め決定している所定の場所に配置する。ステップS6に進み、httpサービスコンポーネント21は仲介コンポーネント24を生成する。ステップS7に進み、httpサービスコンポーネント21は仲介デーモン25が次回起動以降に生成されるようにOSGiフレームワーク11へ登録を行う。
(仲介デーモン24の起動時の処理)
図7は仲介デーモンの起動時の処理を示した簡略図である。OSGiフレームワーク11の起動時、仲介コンポーネント24はデータ管理コンポーネント22からデーモン14のプロファイルと仲介デーモン25のプロファイルとを取得する。仲介コンポーネント24は取得した仲介デーモン25のプロファイルから仲介デーモン25用の設定ファイル32を生成する。また、仲介コンポーネント24は取得したデーモン14のプロファイルからデーモン14用の設定ファイル33を生成する。
In step S5, the http service component 21 arranges the program of the daemon 14 at a predetermined location. In step S6, the http service component 21 generates a mediation component 24. In step S7, the http service component 21 registers with the OSGi framework 11 so that the mediation daemon 25 is generated after the next activation.
(Processing when the mediation daemon 24 is started)
FIG. 7 is a simplified diagram showing processing at the start of the mediation daemon. When the OSGi framework 11 is activated, the mediation component 24 acquires the profile of the daemon 14 and the profile of the mediation daemon 25 from the data management component 22. The mediation component 24 generates a setting file 32 for the mediation daemon 25 from the acquired profile of the mediation daemon 25. Further, the mediating component 24 generates a configuration file 33 for the daemon 14 from the acquired profile of the daemon 14.

図5の設定情報の場合、仲介コンポーネント24は例えば図8に示すようなデーモン14用の設定ファイル33を生成する。図8はデーモン用の設定ファイルの一例を示す構成図である。仲介デーモン25用の設定ファイル32及びデーモン14用の設定ファイル33を生成したあと、仲介コンポーネント24は仲介デーモン25を起動する。   In the case of the setting information of FIG. 5, the mediation component 24 generates a setting file 33 for the daemon 14 as shown in FIG. FIG. 8 is a configuration diagram showing an example of a configuration file for daemons. After generating the configuration file 32 for the mediation daemon 25 and the configuration file 33 for the daemon 14, the mediation component 24 activates the mediation daemon 25.

図9は、仲介デーモンの起動時の処理を示したシーケンス図である。OSGiフレームワーク11の起動時、仲介コンポーネント24はステップS11に進み、データ管理コンポーネント22から仲介デーモン25のプロファイルを取得する。また、ステップS12に進み、仲介コンポーネント24は仲介デーモン25のプロファイルから仲介デーモン25用の設定ファイル32を生成する。   FIG. 9 is a sequence diagram illustrating a process when the mediation daemon is activated. When the OSGi framework 11 is activated, the mediation component 24 proceeds to step S11 and acquires the profile of the mediation daemon 25 from the data management component 22. In step S 12, the mediation component 24 generates a setting file 32 for the mediation daemon 25 from the profile of the mediation daemon 25.

ステップS13に進み、仲介コンポーネント24はデータ管理コンポーネント22からデーモン14のプロファイルを取得する。ステップS14に進み、仲介コンポーネント24はデーモン14のプロファイルからデーモン14用の設定ファイル33を生成する。ステップS15に進み、仲介コンポーネント24は仲介デーモン25を起動する。
(仲介デーモン24の起動後の初期処理)
図10は仲介デーモンの起動後の初期処理を示した簡略図である。仲介デーモン25は起動された直後に、自分が動作する設定を仲介デーモン25用の設定ファイル32から取得する。仲介デーモン25用の設定ファイル32には仲介デーモン25が起動するデーモン14に関する記載が含まれる。仲介デーモン25は仲介デーモン25用の設定ファイル32の記載に従ってデーモン14を起動する。
In step S 13, the mediation component 24 acquires the profile of the daemon 14 from the data management component 22. In step S 14, the mediation component 24 generates a configuration file 33 for the daemon 14 from the profile of the daemon 14. In step S15, the mediation component 24 activates the mediation daemon 25.
(Initial processing after start of mediation daemon 24)
FIG. 10 is a simplified diagram showing the initial processing after the activation of the mediation daemon. Immediately after being activated, the mediation daemon 25 acquires the settings for operating itself from the configuration file 32 for the mediation daemon 25. The setting file 32 for the mediation daemon 25 includes a description regarding the daemon 14 that the mediation daemon 25 starts. The mediation daemon 25 starts the daemon 14 according to the description of the setting file 32 for the mediation daemon 25.

デーモン14は、デーモン14用の設定ファイル33を参照し、デーモン14用の設定ファイル33に従って動作する。仲介デーモン25は、この後、メッセージ受付待ち状態となる。メッセージの詳細に関しては、後述する。   The daemon 14 refers to the configuration file 33 for the daemon 14 and operates according to the configuration file 33 for the daemon 14. Thereafter, the broker daemon 25 enters a message reception waiting state. Details of the message will be described later.

図11は、仲介デーモンの起動後の初期処理を示したシーケンス図である。仲介デーモン25は起動された直後、ステップS21に進み、自分が動作する設定を仲介デーモン25用の設定ファイル32から取得する。仲介デーモン25用の設定ファイル32には仲介デーモン25が起動するデーモン14に関する記載が含まれる。   FIG. 11 is a sequence diagram showing an initial process after the activation of the mediation daemon. Immediately after being activated, the mediation daemon 25 proceeds to step S21, and obtains the settings for operating itself from the configuration file 32 for the mediation daemon 25. The setting file 32 for the mediation daemon 25 includes a description regarding the daemon 14 that the mediation daemon 25 starts.

ステップS22に進み、仲介デーモン25は仲介デーモン25用の設定ファイル32の記載に従ってデーモン14を起動する。ステップS23に進み、デーモン14はデーモン14用の設定ファイル33を参照し、デーモン14用の設定ファイル33に従って動作する。仲介デーモン25は、この後、メッセージ受付待ち状態となる。
(仲介デーモン24の起動からデーモン14の起動までの全体処理)
図12は仲介デーモンの起動からデーモンの起動までの全体処理を示したシーケンス図である。ステップS11〜S23は図9及び図11のシーケンス図をまとめて表したものである。ここでは説明を省略する。
In step S22, the mediation daemon 25 activates the daemon 14 in accordance with the description in the configuration file 32 for the mediation daemon 25. In step S23, the daemon 14 refers to the setting file 33 for the daemon 14 and operates according to the setting file 33 for the daemon 14. Thereafter, the broker daemon 25 enters a message reception waiting state.
(Overall processing from the start of the mediation daemon 24 to the start of the daemon 14)
FIG. 12 is a sequence diagram showing the entire process from the start of the mediation daemon to the start of the daemon. Steps S11 to S23 collectively represent the sequence diagrams of FIGS. The description is omitted here.

ステップS23に続いてステップS24に進み、デーモン14は自分自身を仲介デーモン25に登録する。なお、デーモン14は終了時、ステップS25に進み、仲介デーモン25に登録の解除を依頼する。   Proceeding to step S24 following step S23, the daemon 14 registers itself in the mediation daemon 25. When the daemon 14 ends, the process proceeds to step S25, and requests the registration daemon 25 to cancel the registration.

図13はデーモンが自分自身を仲介デーモンに登録する処理を示す簡略図である。図13のデーモン14はステップS22において起動され、ステップS23においてデーモン14用の設定ファイル33を参照した後、仲介デーモン25に自分自身を登録する。   FIG. 13 is a simplified diagram illustrating a process in which the daemon registers itself with the intermediary daemon. The daemon 14 of FIG. 13 is started in step S22, and after referring to the setting file 33 for the daemon 14 in step S23, registers itself in the mediation daemon 25.

デーモン14と仲介デーモン25とのメッセージ手段に関しては特に限定しない。例えばデーモン14と仲介デーモン25とのメッセージ手段とは、Unix(登録商標) Domain Socketによる通信などのプロセス間通信処理が考えられる。この場合の通信先ソケットファイル名などはconfの仕組みを利用する。   The message means between the daemon 14 and the mediation daemon 25 is not particularly limited. For example, the message means between the daemon 14 and the mediation daemon 25 may be an inter-process communication process such as communication using Unix (registered trademark) Domain Socket. In this case, a conf mechanism is used for a communication destination socket file name and the like.

デーモン14の登録時、仲介デーモン25はデーモン識別IDを割り当てる。以後、そのデーモン識別IDを利用して、デーモン14はメッセージを交換する。仲介デーモン25はデーモン識別IDによりデーモン14を区別する。   When the daemon 14 is registered, the mediation daemon 25 assigns a daemon identification ID. Thereafter, the daemon 14 exchanges messages using the daemon identification ID. The mediation daemon 25 distinguishes the daemon 14 by the daemon identification ID.

図14は、デーモンが仲介デーモンから自分自身の登録を解除する処理を示す簡略図である。図14のデーモン14は終了時、ステップS25に進み、仲介デーモン25に自分自身の登録の削除を依頼する。デーモン14の登録の削除時、仲介デーモン25はデーモン識別IDの割り当てを解除し、その旨をデーモン14に通知する。
(デーモン14の起動後の通信処理)
図15は、デーモンの起動後の通信処理を示した簡略図である。図15の仲介デーモン25は、デーモン14に対してI/Fを提供し、メッセージを仲介する。仲介コンポーネント24は、仲介デーモン25からメッセージを受け付ける入り口となる。また、仲介コンポーネント24はメッセージに従い、他のJava(登録商標)層とメッセージを送受信する。なお、仲介デーモン25と仲介コンポーネント24との間では、JNIによるJava(登録商標)−Native変換が行われる。
FIG. 14 is a simplified diagram illustrating a process in which a daemon cancels its own registration from an intermediary daemon. When the daemon 14 of FIG. 14 ends, the process proceeds to step S25, and requests the broker daemon 25 to delete its own registration. When the registration of the daemon 14 is deleted, the mediation daemon 25 cancels the allocation of the daemon identification ID and notifies the daemon 14 to that effect.
(Communication processing after starting the daemon 14)
FIG. 15 is a simplified diagram showing communication processing after the daemon is started. The mediation daemon 25 in FIG. 15 provides an I / F to the daemon 14 and mediates messages. The mediation component 24 serves as an entrance for receiving a message from the mediation daemon 25. Further, the mediation component 24 transmits / receives a message to / from another Java (registered trademark) layer according to the message. Note that Java (registered trademark) -Native conversion by JNI is performed between the mediation daemon 25 and the mediation component 24.

図16はデーモンの起動後の通信処理を示したシーケンス図である。デーモン14からJava層へのメッセージはステップS31〜S33のように送信される。ネットワークからのデータ受信等をトリガとしてデーモン14はステップS31に進み、ネットワークから受信したメッセージ(データ)を仲介デーモン25へ送信する。   FIG. 16 is a sequence diagram showing communication processing after the daemon is started. A message from the daemon 14 to the Java layer is transmitted as in steps S31 to S33. With the reception of data from the network as a trigger, the daemon 14 proceeds to step S31 and transmits the message (data) received from the network to the mediation daemon 25.

ステップS32に進み、仲介デーモン25はJNI呼び出しで仲介コンポーネント24にメッセージを送信する。ステップS33に進み、仲介コンポーネント24は必要に応じてOSGiフレームワーク11上の所定のコンポーネント23にメッセージを送信する。   In step S32, the mediation daemon 25 transmits a message to the mediation component 24 by JNI call. In step S33, the mediation component 24 transmits a message to a predetermined component 23 on the OSGi framework 11 as necessary.

Java層からデーモン14/ネットワークへのメッセージはステップS34〜S36のように送信される。ステップS34に進み、仲介コンポーネント24はJava層にあるコンポーネント23からデーモン14宛のメッセージを受信する。   Messages from the Java layer to the daemon 14 / network are transmitted as in steps S34 to S36. In step S34, the mediation component 24 receives a message addressed to the daemon 14 from the component 23 in the Java layer.

ステップS35に進み、仲介コンポーネント24はJNI呼び出しで仲介デーモン25へメッセージを送信する。ステップS36に進み、仲介デーモン25はデーモン14に対してメッセージを送信する。なお、図16のシーケンス図に示したやりとりはデーモン14の登録依頼も含めて同様な動きとなる。
(サービス層を有する画像形成装置への応用)
本願発明は例えば図17に示すような構成の画像形成装置にも応用可能である。図17はサービス層を有する画像形成装置のソフトウェア構成を示した簡略図である。印刷アプリケーション100は図2のデーモン14に対応する。サービス層110は図2のJava層に対応する。OSGiフレームワーク11はJSDK Environment120に対応する。
In step S35, the mediation component 24 transmits a message to the mediation daemon 25 by a JNI call. In step S 36, the mediation daemon 25 transmits a message to the daemon 14. It should be noted that the exchange shown in the sequence diagram of FIG. 16 has the same movement including the registration request of the daemon 14.
(Application to image forming apparatus with service layer)
The present invention can also be applied to an image forming apparatus configured as shown in FIG. FIG. 17 is a simplified diagram showing a software configuration of an image forming apparatus having a service layer. The print application 100 corresponds to the daemon 14 in FIG. The service layer 110 corresponds to the Java layer in FIG. The OSGi framework 11 corresponds to JSDK Environment 120.

また、httpサービス111は、図2のhttpサービスコンポーネント21に対応する。データ管理サービス112は図2のデータ管理コンポーネント22に対応する。各種アプリケーションなどの機能を持つJSDK Environment120上にあるプリントサービス,FAXサービス等のモジュール113は、図2の印刷管理コンポーネント,FAXコンポーネント等のコンポーネント23に対応する。   The http service 111 corresponds to the http service component 21 in FIG. The data management service 112 corresponds to the data management component 22 of FIG. Modules 113 such as a print service and a FAX service on the JSDK Environment 120 having functions such as various applications correspond to the components 23 such as the print management component and the FAX component in FIG.

したがって、図17の画像形成装置は図2の仲介コンポーネント24及び仲介デーモン25に対応する構成を設けることで、本願発明と同様な効果を奏することができる。   Therefore, the image forming apparatus of FIG. 17 can achieve the same effect as the present invention by providing a configuration corresponding to the mediation component 24 and the mediation daemon 25 of FIG.

本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

必要なモジュールをプラグインできる画像形成装置のソフトウェア構成を示した簡略図である。FIG. 6 is a simplified diagram illustrating a software configuration of an image forming apparatus in which a necessary module can be plugged in. 本実施例の画像形成装置のソフトウェア構成を示した簡略図である。FIG. 2 is a simplified diagram illustrating a software configuration of the image forming apparatus according to the present exemplary embodiment. 本実施例の画像形成装置のソフトウェア構成におけるクラス図である。FIG. 3 is a class diagram in the software configuration of the image forming apparatus according to the present exemplary embodiment. デーモンの登録時の処理を示した簡略図である。It is the simple figure which showed the process at the time of registration of a daemon. XMLで記述された設定情報の一例を示す構成図である。It is a block diagram which shows an example of the setting information described by XML. デーモンの登録時の処理を示したシーケンス図である。It is the sequence diagram which showed the process at the time of registration of a daemon. 仲介デーモンの起動時の処理を示した簡略図である。It is the simple figure which showed the process at the time of starting of a mediation daemon. デーモン用の設定ファイルの一例を示す構成図である。It is a block diagram which shows an example of the setting file for daemons. 仲介デーモンの起動時の処理を示したシーケンス図である。It is the sequence diagram which showed the process at the time of starting of a mediation daemon. 仲介デーモンの起動後の初期処理を示した簡略図である。It is the simplified diagram which showed the initial process after starting of a mediation daemon. 仲介デーモンの起動後の初期処理を示したシーケンス図である。It is the sequence diagram which showed the initial process after starting of a mediation daemon. 仲介デーモンの起動からデーモンの起動までの全体処理を示したシーケンス図である。It is the sequence diagram which showed the whole process from starting of a mediation daemon to starting of a daemon. デーモンが自分自身を仲介デーモンに登録する処理を示す簡略図である。FIG. 11 is a simplified diagram illustrating a process for a daemon to register itself with an intermediary daemon. デーモンが仲介デーモンから自分自身の登録を解除する処理を示す簡略図である。FIG. 10 is a simplified diagram illustrating a process in which a daemon cancels its own registration from an intermediary daemon. デーモンの起動後の通信処理を示した簡略図である。It is the simplified diagram which showed the communication processing after starting of a daemon. デーモンの起動後の通信処理を示したシーケンス図である。It is the sequence diagram which showed the communication process after starting of a daemon. サービス層を有する画像形成装置のソフトウェア構成を示した簡略図である。2 is a simplified diagram illustrating a software configuration of an image forming apparatus having a service layer. FIG.

符号の説明Explanation of symbols

1,2 画像形成装置
10 CVM(Compact Virtual Machine)
11 OSGi(Open Service Gateway initiative)フレームワーク
12 バンドル
13,23 コンポーネント
14 デーモン(Daemon)
21 httpサービスコンポーネント(http serviceCMP)
22 データ管理コンポーネント
24 仲介コンポーネント
25 仲介デーモン
31 登録データ
32 仲介デーモン25用の設定ファイル
33 デーモン14用の設定ファイル
41 デーモン14のプログラム
42 XMLで記述された設定情報
1, 2 Image forming device 10 CVM (Compact Virtual Machine)
11 OSGi (Open Service Gateway initiative) Framework 12 Bundle 13, 23 Component 14 Daemon
21 http service component (http serviceCMP)
22 Data Management Component 24 Mediation Component 25 Mediation Daemon 31 Registration Data 32 Configuration File for Mediation Daemon 25 33 Configuration File for Daemon 14 41 Program for Daemon 14 42 Configuration Information Described in XML

Claims (17)

一のプログラム言語をベースとした所定のフレームワークを適用している情報処理装置であって、
前記一のプログラム言語で記述された第1プログラムが起動される前記フレームワーク上の第1層に起動される第1仲介手段と、
他のプログラム言語で記述された第2プログラムが起動される前記フレームワーク上の第2層に起動される第2仲介手段と、
前記第1層に起動された前記第1プログラムからのメッセージを受け付ける第1仲介手段と前記第2層に起動された前記第2プログラムからのメッセージを受け付ける第2仲介手段との間で通信を行う通信手段と、
前記第2層への前記第2プログラムの登録を受け付け、前記第2プログラムを前記第2層に起動する為に必要な設定情報をデータ管理手段に保存する登録受付手段と、を有し、
前記フレームワークの起動後、前記第1仲介手段は前記データ管理手段に保存されている前記設定情報に従って前記第2仲介手段を起動し、前記第2仲介手段は前記設定情報に従って前記第2プログラムを起動し、前記第2プログラムは前記設定情報に従って動作することを特徴とする情報処理装置。
An information processing apparatus to which a predetermined framework based on one programming language is applied,
First mediating means activated in a first layer on the framework in which the first program written in the one program language is activated;
Second mediating means activated in a second layer on the framework where a second program written in another programming language is activated;
Communication is performed between first mediating means for accepting a message from the first program activated in the first layer and second mediating means for accepting a message from the second program activated in the second layer. Communication means;
Registration acceptance means for accepting registration of the second program in the second layer and storing setting information necessary for starting the second program in the second layer in a data management means;
After the framework is activated, the first mediating means activates the second mediating means according to the setting information stored in the data management means, and the second mediating means executes the second program according to the setting information. An information processing apparatus that is activated and operates according to the setting information.
前記登録受付手段は、前記第2プログラムと前記設定情報とを含む登録データを取得する手段と、
前記登録データを前記第2プログラムと前記設定情報とに分解し、前記設定情報を前記データ管理手段に保存し、前記第2プログラムを前記フレームワーク上の第2層に配置する手段と
を有することを特徴とする請求項1記載の情報処理装置。
The registration accepting means obtains registration data including the second program and the setting information;
Means for decomposing the registration data into the second program and the setting information, storing the setting information in the data management means, and placing the second program in a second layer on the framework. The information processing apparatus according to claim 1.
前記第1仲介手段は、前記第1層に起動された前記第1プログラムからのメッセージを受信する手段と、
前記第1層に起動された前記第1プログラムにメッセージを送信する手段と、
前記第2層に起動された前記第2プログラムからのメッセージを、前記第2仲介手段を介して受信する手段と、
前記第2層に起動された前記第2プログラムへのメッセージを、前記第2仲介手段を介して送信する手段と、
を有することを特徴とする請求項1又は2記載の情報処理装置。
The first mediating means receives a message from the first program activated in the first layer; and
Means for sending a message to the first program activated in the first layer;
Means for receiving a message from the second program activated in the second layer via the second mediating means;
Means for transmitting a message to the second program activated in the second layer via the second mediating means;
The information processing apparatus according to claim 1, further comprising:
前記第1仲介手段は、前記第2仲介手段用の設定情報及び前記第2プログラム用の設定情報を前記データ管理手段から取得して前記第2仲介手段用の設定ファイル及び前記第2プログラム用の設定ファイルを生成する手段を更に有し、
前記第2仲介手段は、前記第2仲介手段用の設定ファイルを参照する手段と、
前記第2仲介手段用の設定ファイルに従って前記第2プログラムを起動する手段と、
を有することを特徴とする請求項3記載の情報処理装置。
The first mediating means obtains the setting information for the second mediating means and the setting information for the second program from the data management means to obtain the setting file for the second mediating means and the second program. A means for generating a configuration file;
The second mediating means includes means for referring to a setting file for the second mediating means;
Means for starting the second program according to the setting file for the second mediating means;
The information processing apparatus according to claim 3, further comprising:
前記第2仲介手段は、前記第2層に起動された前記第2プログラムからのメッセージを受信する手段と、
前記第2層に起動された前記第2プログラムにメッセージを送信する手段と、
前記第1層に起動された前記第1プログラムからのメッセージを、前記第1仲介手段を介して受信する手段と、
前記第1層に起動された前記第1プログラムへのメッセージを、前記第1仲介手段を介して送信する手段と、
を更に有することを特徴とする請求項4記載の情報処理装置。
The second mediating means comprises means for receiving a message from the second program activated in the second layer;
Means for sending a message to the second program activated in the second layer;
Means for receiving a message from the first program activated in the first layer via the first mediation means;
Means for transmitting a message to the first program activated in the first layer via the first mediating means;
The information processing apparatus according to claim 4, further comprising:
前記第2プログラムは、前記第2プログラム用の設定ファイルを参照する手段と、
前記第2プログラム用の設定ファイルに従って動作する手段と
を有することを特徴とする請求項4又は5記載の情報処理装置。
The second program refers to a setting file for the second program;
6. The information processing apparatus according to claim 4, further comprising means for operating according to the setting file for the second program.
前記第2プログラムは、起動されたあと、前記第2仲介手段に自分自身を登録し、
前記第2仲介手段は登録された前記第2プログラムに識別子を割り当て、前記識別子を用いて前記第2プログラムを区別することを特徴とする請求項1乃至6何れか一項記載の情報処理装置。
After the second program is activated, it registers itself in the second mediation means,
The information processing apparatus according to claim 1, wherein the second mediating unit assigns an identifier to the registered second program and distinguishes the second program using the identifier.
前記通信手段は、前記第1仲介手段と前記第2仲介手段との間でメッセージの送受信を可能とするAPI(Application Program Interface)であることを特徴とする請求項1乃至7何れか一項記載の情報処理装置。   8. The communication means is an application program interface (API) that enables message transmission / reception between the first mediation means and the second mediation means. Information processing device. 前記一のプログラム言語はJava(登録商標)言語であり、前記他のプログラム言語はオープンソースソフトウェア(OSS)であり、前記フレームワークはJava(登録商標)言語をベースとしたOSGiフレームワークであることを特徴とする請求項1乃至8何れか一項記載の情報処理装置。   The one program language is a Java (registered trademark) language, the other program language is an open source software (OSS), and the framework is an OSGi framework based on the Java (registered trademark) language. The information processing apparatus according to any one of claims 1 to 8. 前記通信手段は、JNI(Java Native Interface)であることを特徴とする請求項1乃至9何れか一項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the communication unit is JNI (Java Native Interface). 前記設定情報はマークアップ言語で記載されており、前記マークアップ言語の内容から前記第2仲介手段用の設定情報及び前記第2プログラム用の設定情報が解析されることを特徴とする請求項1乃至10何れか一項記載の情報処理装置。   2. The setting information is written in a markup language, and the setting information for the second mediating means and the setting information for the second program are analyzed from the contents of the markup language. The information processing apparatus as described in any one of thru | or 10. 一のプログラム言語をベースとした所定のフレームワークを適用している情報処理装置によって実行されるプログラム登録起動方法であって、
前記情報処理装置は、
前記一のプログラム言語で記述された第1プログラムが起動される前記フレームワーク上の第1層に起動される第1仲介手段と、
他のプログラム言語で記述された第2プログラムが起動される前記フレームワーク上の第2層に起動される第2仲介手段と、
前記第1層に起動された前記第1プログラムからのメッセージを受け付ける第1仲介手段と前記第2層に起動された前記第2プログラムからのメッセージを受け付ける第2仲介手段との間で通信を行う通信手段と、
前記第2層への前記第2プログラムの登録を受け付ける登録受付手段と、を有し、
前記登録受付手段が、前記第2層への前記第2プログラムの登録を受け付けるステップと、
前記登録受付手段が、前記第2プログラムを前記第2層に起動する為に必要な設定情報をデータ管理手段に保存するステップと、
前記フレームワークの起動後、前記第1仲介手段が前記データ管理手段に保存されている前記設定情報に従って前記第2仲介手段を起動するステップと、
前記第2仲介手段が前記設定情報に従って前記第2プログラムを起動するステップと、
前記第2プログラムが前記設定情報に従って動作するステップと
を有することを特徴とするプログラム登録起動方法。
A program registration start method executed by an information processing apparatus applying a predetermined framework based on one program language,
The information processing apparatus includes:
First mediating means activated in a first layer on the framework in which the first program written in the one program language is activated;
Second mediating means activated in a second layer on the framework where a second program written in another programming language is activated;
Communication is performed between first mediating means for accepting a message from the first program activated in the first layer and second mediating means for accepting a message from the second program activated in the second layer. Communication means;
Registration accepting means for accepting registration of the second program in the second layer,
The registration accepting unit accepting registration of the second program in the second layer;
The registration accepting means storing in the data management means setting information necessary for starting the second program in the second layer;
After the framework is activated, the first mediation means activates the second mediation means according to the setting information stored in the data management means;
The second mediating means starting the second program according to the setting information;
And a step of operating the second program according to the setting information.
前記登録受付手段は、前記第2プログラムと前記設定情報とを含む登録データを取得するステップと、
前記登録データを前記第2プログラムと前記設定情報とに分解し、前記設定情報を前記データ管理手段に保存し、前記第2プログラムを前記フレームワーク上の第2層に配置するステップと
を有することを特徴とする請求項12記載のプログラム登録起動方法。
The registration receiving means obtains registration data including the second program and the setting information;
Disassembling the registration data into the second program and the setting information, storing the setting information in the data management means, and placing the second program in a second layer on the framework. The program registration starting method according to claim 12.
前記通信手段は、前記第1仲介手段と前記第2仲介手段との間でメッセージの送受信を可能とするAPI(Application Program Interface)であることを特徴とする請求項12又は13記載のプログラム登録起動方法。   14. The program registration activation according to claim 12, wherein the communication means is an API (Application Program Interface) that enables message transmission / reception between the first mediation means and the second mediation means. Method. 前記一のプログラム言語はJava(登録商標)言語であり、前記他のプログラム言語はオープンソースソフトウェア(OSS)であり、前記フレームワークはJava(登録商標)言語をベースとしたOSGiフレームワークであることを特徴とする請求項12乃至14何れか一項記載のプログラム登録起動方法。   The one program language is a Java (registered trademark) language, the other program language is an open source software (OSS), and the framework is an OSGi framework based on the Java (registered trademark) language. 15. The program registration start method according to claim 12, wherein the program registration is started. 前記通信手段は、JNI(Java Native Interface)であることを特徴とする請求項12乃至15何れか一項記載のプログラム登録起動方法。   16. The program registration start method according to claim 12, wherein the communication unit is JNI (Java Native Interface). 請求項12乃至16何れか一項記載のプログラム登録起動方法をコンピュータに実行させるための登録起動プログラム。   A registration activation program for causing a computer to execute the program registration activation method according to any one of claims 12 to 16.
JP2008231281A 2008-09-09 2008-09-09 Information processing apparatus, program start method, start program Expired - Fee Related JP5206257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008231281A JP5206257B2 (en) 2008-09-09 2008-09-09 Information processing apparatus, program start method, start program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008231281A JP5206257B2 (en) 2008-09-09 2008-09-09 Information processing apparatus, program start method, start program

Publications (2)

Publication Number Publication Date
JP2010066903A true JP2010066903A (en) 2010-03-25
JP5206257B2 JP5206257B2 (en) 2013-06-12

Family

ID=42192453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008231281A Expired - Fee Related JP5206257B2 (en) 2008-09-09 2008-09-09 Information processing apparatus, program start method, start program

Country Status (1)

Country Link
JP (1) JP5206257B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013178606A (en) * 2012-02-28 2013-09-09 Sumitomo Heavy Ind Ltd Control apparatus for embedded system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318459A (en) * 2003-04-16 2004-11-11 Alpine Electronics Inc Life time management method for native application in virtual system and computer program
JP2008059482A (en) * 2006-09-01 2008-03-13 Canon Inc Information processor and processing method
WO2008032922A1 (en) * 2006-09-14 2008-03-20 Electronics And Telecommunications Research Institute Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318459A (en) * 2003-04-16 2004-11-11 Alpine Electronics Inc Life time management method for native application in virtual system and computer program
JP2008059482A (en) * 2006-09-01 2008-03-13 Canon Inc Information processor and processing method
WO2008032922A1 (en) * 2006-09-14 2008-03-20 Electronics And Telecommunications Research Institute Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013178606A (en) * 2012-02-28 2013-09-09 Sumitomo Heavy Ind Ltd Control apparatus for embedded system

Also Published As

Publication number Publication date
JP5206257B2 (en) 2013-06-12

Similar Documents

Publication Publication Date Title
US8522229B2 (en) Image forming apparatus, information processing method, and recording medium for directly update a module of the image forming apparatus without changing other modules
US9218224B2 (en) Electronic apparatus, information processing method, and recording medium storing information processing program
JP2014149594A (en) Information processing system and control method of the same, and program
JP2005204279A (en) Communication apparatus, communication control method, communication control program and recording medium
US20100220352A1 (en) Image forming apparatus, image forming system, and information processing method
US20090300478A1 (en) Image forming apparatus, information processing method and program
US20090257085A1 (en) Generation of a web page including menu items for web pages
JP7059696B2 (en) Equipment, information processing systems, information processing methods and programs
JP5419637B2 (en) Management device, method and program
JP2010211469A (en) Information processor, information processing method, and program
US20120113467A1 (en) Image processing apparatus, information processing system, information processing method and storage medium
JP5822581B2 (en) Image forming apparatus, method thereof, and program
JP2009205262A (en) Application program installation device, application program installation method, program, and recording medium
JP5206257B2 (en) Information processing apparatus, program start method, start program
CN109597659A (en) Image forming apparatus and its control method
JP2006338268A (en) Data processor, network interface substrate and application program registering method
JP6066751B2 (en) Information processing system, control method therefor, and program
JP5333035B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM
JP2009137165A (en) Image formation device, information processing method and program
JP6300896B2 (en) Image processing apparatus, control method therefor, and program
JP2009225140A (en) Transmitter, receiver, control method, program and storage medium
JP5825302B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM
JP5663983B2 (en) Image forming apparatus, connection control method, and program
KR20080113957A (en) Job control apparatus and multi-function product, and operating method thereof
JP6288206B2 (en) Program and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110701

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121016

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees