JP2012063960A - Application development equipment and information processing equipment - Google Patents

Application development equipment and information processing equipment Download PDF

Info

Publication number
JP2012063960A
JP2012063960A JP2010207363A JP2010207363A JP2012063960A JP 2012063960 A JP2012063960 A JP 2012063960A JP 2010207363 A JP2010207363 A JP 2010207363A JP 2010207363 A JP2010207363 A JP 2010207363A JP 2012063960 A JP2012063960 A JP 2012063960A
Authority
JP
Japan
Prior art keywords
application program
application
inspection
interface
time
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
JP2010207363A
Other languages
Japanese (ja)
Other versions
JP5516262B2 (en
Inventor
Sachiko Takeuchi
幸子 竹内
Satoru Sugishita
悟 杉下
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 JP2010207363A priority Critical patent/JP5516262B2/en
Publication of JP2012063960A publication Critical patent/JP2012063960A/en
Application granted granted Critical
Publication of JP5516262B2 publication Critical patent/JP5516262B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to add an application program that does not affect system performance such as memory and processing speed.SOLUTION: Application development equipment comprises: means to perform an inspection for performance of an application program; a means to generate an interface available list and an inspection result with a signature which is used for checking validity when the application program is installed and is unique to the application program related to an application ID specifying the application program if the inspection is successful; and means to output the application program, the inspection result and the interface available list.

Description

本発明は、情報処理装置に追加されるアプリケーションプログラムの品質を保証する技術に関する。   The present invention relates to a technique for guaranteeing the quality of an application program added to an information processing apparatus.

画像形成装置等の情報処理装置においては、装置の導入後にアプリケーションプログラムを動的に追加することで、装置購入者に最適な機能を提供するようにしているものがある。   Some information processing apparatuses such as image forming apparatuses provide an optimum function to the apparatus purchaser by dynamically adding an application program after the apparatus is installed.

この種の情報処理装置においては、追加されるアプリケーションプログラムの品質を保証する手段が必要となる。特に、メモリ、処理速度等のシステム要素は、アプリケーションプログラム単体の機能ロジックの品質保証以外に、システム全体で達成する必要があるが、従来、有効な保証方法が存在しなかった。   In this type of information processing apparatus, means for assuring the quality of the added application program is required. In particular, system elements such as memory and processing speed need to be achieved by the entire system in addition to quality assurance of the function logic of a single application program, but there has been no effective guarantee method.

特許文献1には、アプリケーションプログラムのインストールにおける正当性確認の方法について開示されているが、アプリケーションプログラムの性能に関する検査については触れられていない。   Patent Document 1 discloses a method for confirming validity in installation of an application program, but does not touch on an inspection related to the performance of the application program.

上述したように、システム全体で達成する必要のあるメモリ、処理速度等については有効な保証方法が存在せず、アプリケーションプログラムを追加した場合に所望の性能が発揮できない等の不都合があった。   As described above, there is no effective guarantee method for the memory, processing speed, and the like that need to be achieved in the entire system, and there is a disadvantage that desired performance cannot be exhibited when an application program is added.

なお、メモリを拡張したり、高速なCPU(Central Processing Unit)を持ったPC(Personal Computer)を購入したりすることで対応できるPCアプリの世界では、このような問題は重要ではないが、メモリ、処理速度に制約がある組み込み機器では特に問題となる。   In the world of PC applications that can be handled by expanding the memory or purchasing a PC (Personal Computer) with a high-speed CPU (Central Processing Unit), such a problem is not important. This is particularly a problem with embedded devices with limited processing speed.

本発明は上記の従来の問題点に鑑み提案されたものであり、その目的とするところは、メモリ、処理速度等のシステム性能に影響を与えないアプリケーションプログラムの追加を可能とすることにある。   The present invention has been proposed in view of the above-described conventional problems, and an object of the present invention is to make it possible to add an application program that does not affect system performance such as memory and processing speed.

上記の課題を解決するため、本発明にあっては、請求項1に記載されるように、アプリケーションプログラムの性能に関する検査を実行する手段と、前記検査に合格した場合に、前記アプリケーションプログラムを特定するアプリケーションIDに関連付けた前記アプリケーションプログラムに固有の署名であって前記アプリケーションプログラムのインストール時に正当性の確認に用いられる署名を付した検査結果およびインタフェース利用可能リストを生成する手段と、前記アプリケーションプログラム、検査結果およびインタフェース利用可能リストを出力する手段とを備えるアプリケーション開発装置を要旨としている。   In order to solve the above-mentioned problem, in the present invention, as described in claim 1, the means for executing the inspection relating to the performance of the application program, and the application program is specified when the inspection is passed Means for generating a test result and an interface available list that are signatures unique to the application program associated with the application ID to be used and are used for confirmation of validity when the application program is installed; and the application program, The gist of the present invention is an application development apparatus comprising means for outputting a test result and an interface availability list.

また、請求項2に記載されるように、請求項1に記載のアプリケーション開発装置において、前記検査は、前記アプリケーションプログラムのインタフェース実行中のメモリ使用量が予めシステムが既定するメモリ消費量以下に収まっていること、および、インタフェース実行後のメモリ消費量が増加していないことを確認するようにすることができる。   Further, as described in claim 2, in the application development apparatus according to claim 1, in the inspection, the memory usage during execution of the interface of the application program is less than or equal to a memory consumption predetermined by the system. And that the memory consumption after executing the interface has not increased.

また、請求項3に記載されるように、請求項1または2のいずれか一項に記載のアプリケーション開発装置において、前記検査は、前記アプリケーションプログラムの処理時間および省エネ状態の遷移処理に要する時間が既定値以下に収まっていることを確認するようにすることができる。   In addition, as described in claim 3, in the application development apparatus according to claim 1 or 2, the inspection includes a processing time of the application program and a time required for transition processing of the energy saving state. You can make sure that it is below the default value.

また、請求項4に記載されるように、アプリケーションプログラムと、当該アプリケーションプログラムを特定するアプリケーションIDに関連付けた前記アプリケーションプログラムに固有の署名を付した前記アプリケーションプログラムの性能に関する検査結果およびインタフェース利用可能リストとに基づき、前記署名の正当性が確認されることを条件としてインストールを行う手段と、前記インタフェース利用可能リストに基づき、前記アプリケーションプログラムに対してインタフェースの利用を許可する手段とを備える情報処理装置として構成することができる。   In addition, as described in claim 4, an inspection result and an interface availability list relating to the performance of the application program and a signature unique to the application program associated with the application ID that identifies the application program An information processing apparatus comprising: means for performing installation on the condition that the validity of the signature is confirmed on the basis of the interface; and means for permitting the application program to use the interface based on the interface availability list. Can be configured.

本発明のアプリケーション開発装置および情報処理装置にあっては、アプリケーションプログラムの検査を行い、検査に合格しシステム性能に影響ないことが証明されたアプリケーションプログラムのみを情報処理装置内で動作させる仕組みを持たせることで、メモリ、処理速度等のシステム性能に影響を与えないアプリケーションプログラムの追加を行うことができる。   The application development apparatus and the information processing apparatus of the present invention have a mechanism for inspecting an application program and operating only the application program that has passed the inspection and proved not to affect the system performance in the information processing apparatus. This makes it possible to add application programs that do not affect system performance such as memory and processing speed.

本発明の一実施形態にかかるシステムの構成例を示す図である。It is a figure which shows the structural example of the system concerning one Embodiment of this invention. 処理時間検査テーブルの例を示す図である。It is a figure which shows the example of a processing time test | inspection table. メモリ検査テーブルの例を示す図である。It is a figure which shows the example of a memory test | inspection table. アプリケーションプログラムパッケージの構造例を示す図である。It is a figure which shows the structural example of an application program package. 処理時間の検査の処理例を示すシーケンス図である。It is a sequence diagram which shows the processing example of the test | inspection of processing time. 使用メモリの検査の処理例を示すシーケンス図である。It is a sequence diagram which shows the processing example of a test | inspection of a use memory. アプリケーションプログラムのインストールの処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for installing an application program. アプリケーションプログラムからのI/F呼び出しの処理例を示すシーケンス図である。It is a sequence diagram showing an example of processing of an I / F call from an application program.

以下、本発明の好適な実施形態につき説明する。   Hereinafter, preferred embodiments of the present invention will be described.

<構成>
図1は本発明の一実施形態にかかるシステムの構成例を示す図である。
<Configuration>
FIG. 1 is a diagram showing a configuration example of a system according to an embodiment of the present invention.

図1において、アプリケーション開発装置1から出力されたアプリケーションプログラム等は、アプリケーションダウンロード用サーバ2に蓄積され、もしくは、ディスク、メモリデバイス等のメディア3に記録され、情報処理装置4においてインストールされるようになっている。   In FIG. 1, an application program or the like output from the application development apparatus 1 is stored in the application download server 2 or recorded on a medium 3 such as a disk or a memory device and installed in the information processing apparatus 4. It has become.

アプリケーション開発装置1は、主としてソフトウェア(コンピュータプログラム)により構成される機能部として、アプリケーション開発処理部11とアプリケーション検査処理部14とプログラム等出力部18とを備えている。   The application development apparatus 1 includes an application development processing unit 11, an application inspection processing unit 14, and a program output unit 18 as functional units mainly composed of software (computer program).

アプリケーション開発処理部11は、開発者により操作され、アプリケーションプログラム12を生成する。なお、アプリケーション開発処理部11はアプリケーション開発装置1とは別体の装置に配置してもよい。   The application development processing unit 11 is operated by a developer and generates an application program 12. Note that the application development processing unit 11 may be arranged in a device separate from the application development device 1.

アプリケーション検査処理部14は、アプリケーションプログラム12と、情報処理装置4のプラットフォーム提供者により指定されるアプリケーションID13とを入力し、アプリケーションプログラム12の実行時におけるメモリ、処理速度等について検査を行い、アプリケーションプログラム15と処理時間検査結果16とI/F利用可能リスト17とを出力する。処理時間検査結果16は、所定の処理時間に対する検査項目に合格したことを示すデータ(ファイル)であり、後述する署名を含んでいる。I/F利用可能リスト17は、アプリケーションIDで特定されるアプリケーションプログラムが利用可能なインタフェースのリストであり、後述する署名を含んでいる。   The application inspection processing unit 14 inputs the application program 12 and the application ID 13 specified by the platform provider of the information processing apparatus 4, inspects the memory, processing speed, and the like when the application program 12 is executed. 15, processing time inspection result 16, and I / F available list 17 are output. The processing time inspection result 16 is data (file) indicating that the inspection item for a predetermined processing time is passed, and includes a signature described later. The I / F available list 17 is a list of interfaces that can be used by the application program specified by the application ID, and includes a signature described later.

プログラム等出力部18は、アプリケーションプログラム15と処理時間検査結果16とI/F利用可能リスト17とをパッケージとして出力する。   The program output unit 18 outputs the application program 15, the processing time inspection result 16, and the I / F available list 17 as a package.

一方、情報処理装置4は、主としてソフトウェアにより構成される機能部として、プラットフォーム部41を備えている。   On the other hand, the information processing apparatus 4 includes a platform unit 41 as a functional unit mainly configured by software.

プラットフォーム部41は、情報処理装置4における基本的機能を提供する複数のインタフェース(I/F)をアプリケーションプログラム42に提供する。また、プラットフォーム部41は、基本的機能の一つとして、アプリケーションダウンロード用サーバ2もしくはメディア3からアプリケーションプログラム等のインストールを行い、情報処理装置4内の記憶領域上にアプリケーションプログラム42とI/F利用可能リスト43とを配置する。アプリケーションプログラムパッケージに含まれる処理時間検査結果とI/F利用可能リストに付された署名は情報処理装置4にインストールしても構わないし、インストールしなくてもよい。署名の正当性チェックをインストール時だけではなく、アプリケーションプログラム42の起動時にも実行するようにしておけば、さらに安全な装置を実現することができる。   The platform unit 41 provides a plurality of interfaces (I / F) that provide basic functions in the information processing apparatus 4 to the application program 42. Further, as one of basic functions, the platform unit 41 installs an application program or the like from the application download server 2 or the medium 3, and uses the application program 42 and I / F on the storage area in the information processing apparatus 4. A possible list 43 is arranged. The processing time check result included in the application program package and the signature attached to the I / F availability list may or may not be installed in the information processing apparatus 4. If the signature validity check is executed not only at the time of installation but also when the application program 42 is activated, a more secure device can be realized.

図2はアプリケーション開発装置1のアプリケーション検査処理部14において使用される処理時間検査テーブルの例を示す図である。この処理時間検査テーブルは、アプリケーション開発装置1内の記憶領域上に配置される。   FIG. 2 is a diagram illustrating an example of a processing time inspection table used in the application inspection processing unit 14 of the application development apparatus 1. This processing time inspection table is arranged on a storage area in the application development apparatus 1.

処理時間検査テーブルは、「起動(電源オン)」「起動(省エネ復帰)」「省エネ(低電力)」「省エネ(電源オフ)」等の処理内容毎に、許容される時間が設定されている。「起動(電源オン)」とは、電源オンによりアプリケーションプログラムが動作可能となるまでの処理(プラットフォームからアプリケーションプログラムにプログラム起動を行ってからアプリケーションプログラムが起動完了応答を返すまでの処理)である。「起動(省エネ復帰)」とは、省エネモード(スリープモード)から復帰してアプリケーションプログラムが動作可能となるまでの処理(プラットフォームからアプリケーションプログラムに省エネ復帰の省エネ状態遷移要求が発生してからアプリケーションプログラムが省エネ状態遷移完了応答を返すまでの処理)である。「省エネ(低電力)」とは、省エネモードのうち低電力モードに移行できるようになるまでの処理(プラットフォームからアプリケーションプログラムに低電力モードへの省エネ状態遷移要求が発生してからアプリケーションプログラムが省エネ状態遷移完了応答を返すまでの処理)である。「省エネ(電源オフ)」とは、省エネモードのうち電源オフモードに移行できるようになるまでの処理(プラットフォームからアプリケーションプログラムに電源オフモードへの省エネ状態遷移要求が発生してからアプリケーションプログラムが省エネ状態遷移完了応答を返すまでの処理)である。   In the processing time inspection table, an allowable time is set for each processing content such as “startup (power on)”, “startup (energy saving return)”, “energy saving (low power)”, “energy saving (power off)”, etc. . “Startup (power-on)” is a process until the application program becomes operable when the power is turned on (a process until the application program returns a start completion response after the program is started from the platform to the application program). “Startup (energy-saving recovery)” refers to the process from when the application program can operate after returning from the energy-saving mode (sleep mode) (the application program after the energy-saving state transition request for energy-saving recovery occurs from the platform to the application program) Is a process until an energy saving state transition completion response is returned. "Energy saving (low power)" means processing until the transition to the low power mode can be made in the energy saving mode (the application program saves energy after a request for energy saving state transition to the low power mode is issued from the platform to the application program) Processing until a state transition completion response is returned). “Energy saving (power off)” means processing until the system can enter the power off mode in the energy saving mode (the application program saves energy after a request for energy saving state transition to the power off mode occurs from the platform to the application program) Processing until a state transition completion response is returned).

図3はアプリケーション開発装置1のアプリケーション検査処理部14において使用されるメモリ検査テーブルの例を示す図である。このメモリ検査テーブルは、アプリケーション開発装置1内の記憶領域上に配置される。   FIG. 3 is a diagram illustrating an example of a memory inspection table used in the application inspection processing unit 14 of the application development apparatus 1. This memory inspection table is arranged on a storage area in the application development apparatus 1.

メモリ検査テーブルは、プラットフォームのインタフェース毎に、呼び出し後計測時間と呼び出し応答後計測時間とメモリ消費量とが設定されている。呼び出し後計測時間と呼び出し応答後計測時間とメモリ消費量は、呼び出すインタフェースによって異なる。呼び出し後計測時間とは、インタフェースの呼び出し後に計測を開始するまでの待機時間である。呼び出し応答後計測時間とは、インタフェースからの呼び出し応答後に計測を開始するまでの待機時間である。メモリ消費量とは、計測時点で許容されるメモリの消費量である。   In the memory check table, a measurement time after calling, a measurement time after calling response, and a memory consumption amount are set for each interface of the platform. The measurement time after call, the measurement time after call response, and the memory consumption vary depending on the interface to be called. The measurement time after the call is a waiting time until the measurement is started after the interface is called. The measurement time after the call response is a waiting time until the measurement is started after the call response from the interface. The memory consumption is a memory consumption allowed at the time of measurement.

図4はアプリケーションダウンロード用サーバ2もしくはメディア3により配布されるアプリケーションプログラムパッケージの構造例を示す図である。アプリケーションプログラムパッケージは、アプリケーションプログラム本体とアプリケーションIDと起動時間検査結果とI/F利用可能リストとを含んでいる。アプリケーションIDは任意長の文字列を想定している。起動時間検査結果とI/F利用可能リストは、周知の暗号化技術を用いた署名を含んでいる。署名はアプリケーションIDを元にして生成されており、インストール対象のアプリケーションプログラムに固有のものである。なお、起動時間検査結果とI/F利用可能リストの両方に署名を含んだ例を示しているが、一方にのみ署名を付すものとしてもよい。   FIG. 4 is a diagram showing an example of the structure of an application program package distributed by the application download server 2 or the medium 3. The application program package includes an application program main body, an application ID, a startup time inspection result, and an I / F available list. The application ID is assumed to be a character string of arbitrary length. The startup time check result and the I / F availability list include a signature using a known encryption technique. The signature is generated based on the application ID and is unique to the application program to be installed. In addition, although the example in which the signature is included in both the startup time inspection result and the I / F available list is shown, the signature may be attached to only one of them.

<動作>
図5はアプリケーション開発装置1のアプリケーション検査処理部14における処理時間の検査の処理例を示すシーケンス図である。
<Operation>
FIG. 5 is a sequence diagram illustrating a processing example of processing time inspection in the application inspection processing unit 14 of the application development apparatus 1.

図5において、アプリケーション検査処理部14は、アプリケーションプログラム12に対してプログラム起動を行い(ステップS101)、起動時の時刻を記録する。   In FIG. 5, the application inspection processing unit 14 activates the application program 12 (step S101), and records the activation time.

アプリケーションプログラム12は、起動が完了すると、アプリケーション検査処理部14に対して起動完了応答を返す(ステップS102)。   When the activation is completed, the application program 12 returns an activation completion response to the application inspection processing unit 14 (step S102).

アプリケーション検査処理部14は、起動時の時刻と応答時の時刻の差からプログラム起動から起動完了応答までの時間を算出し、処理時間検査テーブル(図2)の「起動(電源オン)」に対応する許容時間(図2の例では「10秒」)に収まっていることを確認する(ステップS103)。収まっている場合には当該項目の検査は合格となり、収まっていない場合には当該項目の検査は不合格となる。   The application inspection processing unit 14 calculates the time from the program activation to the activation completion response from the difference between the activation time and the response time, and corresponds to “activation (power on)” in the processing time inspection table (FIG. 2). It is confirmed that it is within the allowable time (“10 seconds” in the example of FIG. 2) (step S103). If it is within the range, the inspection for the item is acceptable, and if it is not within the range, the inspection for the item is unacceptable.

次いで、アプリケーション検査処理部14はアプリケーションプログラム12に対して低電力モードへの省エネ状態遷移要求を行い(ステップS104)、要求時の時刻を記録する。   Next, the application inspection processing unit 14 makes an energy saving state transition request to the low power mode to the application program 12 (step S104), and records the time at the time of the request.

アプリケーションプログラム12は、遷移が完了すると、アプリケーション検査処理部14に対して省エネ状態遷移完了応答を返す(ステップS105)。   When the transition is completed, the application program 12 returns an energy saving state transition completion response to the application inspection processing unit 14 (step S105).

アプリケーション検査処理部14は、要求時の時刻と応答時の時刻の差から省エネ状態遷移要求から省エネ状態遷移完了応答までの時間を算出し、処理時間検査テーブル(図2)の「省エネ(低電力)」に対応する許容時間(図2の例では「3秒」)に収まっていることを確認する(ステップS106)。収まっている場合には当該項目の検査は合格となり、収まっていない場合には当該項目の検査は不合格となる。   The application inspection processing unit 14 calculates the time from the energy saving state transition request to the energy saving state transition completion response from the difference between the request time and the response time, and displays “energy saving (low power) in the processing time inspection table (FIG. 2). ) ”Is confirmed to be within an allowable time (“ 3 seconds ”in the example of FIG. 2) (step S106). If it is within the range, the inspection for the item is acceptable, and if it is not within the range, the inspection for the item is unacceptable.

次いで、アプリケーション検査処理部14は、アプリケーションプログラム12に対して省エネ復帰の省エネ状態遷移要求を行い(ステップS107)、要求時の時刻を記録する。   Next, the application inspection processing unit 14 makes an energy saving state transition request for energy saving return to the application program 12 (step S107), and records the time at the time of the request.

アプリケーションプログラム12はアプリケーション検査処理部14に対して省エネ状態遷移完了応答を返す(ステップS108)。   The application program 12 returns an energy saving state transition completion response to the application inspection processing unit 14 (step S108).

アプリケーション検査処理部14は、要求時の時刻と応答時の時刻の差から省エネ状態遷移要求から省エネ状態遷移完了応答までの時間を算出し、処理時間検査テーブル(図2)の「起動(省エネ復帰)」に対応する許容時間(図2の例では「3秒」)に収まっていることを確認する(ステップS109)。収まっている場合には当該項目の検査は合格となり、収まっていない場合には当該項目の検査は不合格となる。   The application inspection processing unit 14 calculates the time from the energy saving state transition request to the energy saving state transition completion response from the difference between the time at the request and the time at the response, and “start (energy saving return) of the processing time inspection table (FIG. 2). ) ”Is confirmed to be within the allowable time (“ 3 seconds ”in the example of FIG. 2) (step S109). If it is within the range, the inspection for the item is acceptable, and if it is not within the range, the inspection for the item is unacceptable.

次いで、アプリケーション検査処理部14は、アプリケーションプログラム12に対して電源オフモードへの省エネ状態遷移要求を行い(ステップS110)、要求時の時刻を記録する。   Next, the application inspection processing unit 14 requests the application program 12 to make an energy saving state transition to the power-off mode (step S110), and records the time at the time of the request.

アプリケーションプログラム12はアプリケーション検査処理部14に対して省エネ状態遷移完了応答を返す(ステップS111)。   The application program 12 returns an energy saving state transition completion response to the application inspection processing unit 14 (step S111).

アプリケーション検査処理部14は、要求時の時刻と応答時の時刻の差から省エネ状態遷移要求から省エネ状態遷移完了応答までの時間を算出し、処理時間検査テーブル(図2)の「省エネ(電源オフ)」に対応する許容時間(図2の例では「10秒」)に収まっていることを確認する(ステップS112)。収まっている場合には当該項目の検査は合格となり、収まっていない場合には当該項目の検査は不合格となる。   The application inspection processing unit 14 calculates the time from the energy saving state transition request to the energy saving state transition completion response from the difference between the request time and the response time, and displays “energy saving (power off) in the processing time inspection table (FIG. 2). ) ”Is confirmed to be within an allowable time (“ 10 seconds ”in the example of FIG. 2) (step S112). If it is within the range, the inspection for the item is acceptable, and if it is not within the range, the inspection for the item is unacceptable.

次いで、アプリケーション検査処理部14は、利用者から所定のユーザインタフェースによりアプリケーションID13を取得し(ステップS113)、検査項目が全て確認できたら、アプリケーションID13を元に署名を生成し、当該署名を付した処理時間検査結果16を生成する(ステップS114)。   Next, the application inspection processing unit 14 obtains the application ID 13 from the user through a predetermined user interface (step S113). When all the inspection items are confirmed, a signature is generated based on the application ID 13, and the signature is attached. A processing time inspection result 16 is generated (step S114).

上記の例では起動時間と省エネ遷移時間の両方を検査するものとしたが、起動時間か省エネ遷移時間の一方のみでもよい。また、起動時間や省エネ遷移時間をさらに細分化し、電源オンや省エネからの復帰、省エネのレベルに応じた遷移時間を規定してもよい。より細く規定しておくほど安全な装置を実現することができる。   In the above example, both the startup time and the energy saving transition time are inspected, but only one of the startup time or the energy saving transition time may be used. Further, the startup time and the energy saving transition time may be further subdivided, and the transition time corresponding to the power-on, the return from the energy saving, and the energy saving level may be defined. A more secure device can be realized as it is defined more finely.

図6はアプリケーション開発装置1のアプリケーション検査処理部14における使用メモリの検査の処理例を示すシーケンス図である。   FIG. 6 is a sequence diagram illustrating an example of processing for inspecting used memory in the application inspection processing unit 14 of the application development apparatus 1.

図6において、利用者(開発者)はアプリケーション検査処理部14を起動する(ステップS201)。   In FIG. 6, the user (developer) activates the application inspection processing unit 14 (step S201).

アプリケーション検査処理部14の起動後に利用者がアプリケーションプログラム12に所定の操作(例えば、画像形成装置の場合における「コピー実行」等)を行うと(ステップS202)、アプリケーションプログラム12は内部処理を行い(ステップS203)、アプリケーション検査処理部14に対してインタフェース呼び出しを行う(ステップS204)。   When the user performs a predetermined operation (for example, “execute copy” in the case of an image forming apparatus) on the application program 12 after the application inspection processing unit 14 is activated (step S202), the application program 12 performs internal processing ( In step S203), an interface call is made to the application inspection processing unit 14 (step S204).

アプリケーション検査処理部14は、メモリ検査テーブル(図3)を参照し、該当するインタフェースに対応付けられた「呼び出し後計測時間」の経過を待って、アプリケーションプログラム12のメモリ消費量を測定する(ステップS205)。この測定で得られるのは、インタフェース実行中のメモリ消費量(動的なメモリ消費量)である。例えば、コピーを実行している最中のアプリケーションプログラムのUI(User Interface)表示処理等でメモリが大量に使われていないかどうかを検査することができる。   The application inspection processing unit 14 refers to the memory inspection table (FIG. 3), and waits for the “measurement time after calling” associated with the corresponding interface to measure the memory consumption of the application program 12 (Step S1). S205). This measurement gives the memory consumption during the execution of the interface (dynamic memory consumption). For example, it is possible to check whether a large amount of memory is used in a UI (User Interface) display process of an application program that is being copied.

その後、アプリケーション検査処理部14は、アプリケーションプログラム12に対してインタフェース呼び出し応答を行う(ステップS206)。   Thereafter, the application inspection processing unit 14 makes an interface call response to the application program 12 (step S206).

次いで、アプリケーション検査処理部14は、メモリ検査テーブル(図3)を参照し、該当するインタフェースに対応付けられた「呼び出し応答後計測時間」の経過を待って、アプリケーションプログラム12のメモリ消費量を測定する(ステップS207)。この測定で得られるのは、インタフェース実行後のメモリ消費量(静的なメモリ消費量)である。例えば、コピーを終了して元の状態に戻った後、アプリケーションプログラムがメモリを解放せずに確保したままになっていないかどうかを検査することができる。   Next, the application inspection processing unit 14 refers to the memory inspection table (FIG. 3) and waits for the “measurement time after call response” associated with the corresponding interface to measure the memory consumption of the application program 12. (Step S207). What is obtained by this measurement is the memory consumption after execution of the interface (static memory consumption). For example, after copying is completed and the original state is restored, it is possible to check whether or not the application program remains secured without releasing the memory.

次いで、アプリケーション検査処理部14は、アプリケーションID13を取得し(ステップS208)、インタフェース呼び出し後のメモリ消費量がメモリ検査テーブル(図3)の該当するインタフェースに対応付けられた「メモリ消費量」以下であれば、呼び出されたインタフェースを署名付きのI/F利用可能リスト17に追加する(ステップS209)。   Next, the application inspection processing unit 14 acquires the application ID 13 (step S208), and the memory consumption after the interface call is equal to or less than the “memory consumption” associated with the corresponding interface in the memory inspection table (FIG. 3). If there is, the called interface is added to the signed I / F available list 17 (step S209).

上記の例では動的なメモリ消費量と静的なメモリ消費量の両者について検査しているが、一方のみの検査としてもよい。   In the above example, both the dynamic memory consumption and the static memory consumption are inspected, but only one of them may be inspected.

図7は情報処理装置4におけるアプリケーションプログラムのインストールの処理例を示すシーケンス図である。   FIG. 7 is a sequence diagram illustrating an example of processing for installing an application program in the information processing apparatus 4.

図7において、情報処理装置4の管理者もしくはメーカの営業マンは、プラットフォーム部41に対してアプリケーションプログラムのインストールを要求する(ステップS301)。   In FIG. 7, the manager of the information processing apparatus 4 or the salesman of the manufacturer requests the platform unit 41 to install an application program (step S301).

プラットフォーム部41は、アプリケーションダウンロード用サーバ2もしくはメディア3から取得したアプリケーションプログラムパッケージからアプリケーションIDを取得し(ステップS302)、処理時間検査結果とI/F利用可能リストに付された署名の正当性を確認する(ステップS303、S304)。   The platform unit 41 acquires the application ID from the application program package acquired from the application download server 2 or the media 3 (step S302), and verifies the validity of the signature attached to the processing time inspection result and the I / F availability list. Confirmation (steps S303 and S304).

次いで、プラットフォーム部41は、署名の正当性が確認できたら、I/F利用可能リスト43を情報処理装置4内の記憶領域に登録し、アプリケーションプログラム42をインストールする(ステップS305)。   Next, when the validity of the signature can be confirmed, the platform unit 41 registers the I / F availability list 43 in the storage area in the information processing apparatus 4 and installs the application program 42 (step S305).

図8は情報処理装置4におけるアプリケーションプログラム42からのI/F呼び出しの処理例を示すシーケンス図である。   FIG. 8 is a sequence diagram illustrating an example of processing for calling an I / F from the application program 42 in the information processing apparatus 4.

図8において、アプリケーションプログラム42は、処理の過程においてプラットフォーム部41に対してインタフェース呼び出しを行う(ステップS401)。   In FIG. 8, the application program 42 makes an interface call to the platform unit 41 in the course of processing (step S401).

プラットフォーム部41は、I/F利用可能リスト43(図1)を参照し(ステップS402)、呼び出されたインタフェースがI/F利用可能リスト43に登録されているか否か確認し、登録されている場合にのみインタフェースの実行を行う(ステップS403)。インタフェース呼び出しを受け付けない場合、アプリケーションプログラムにエラーを応答することが望ましい。   The platform unit 41 refers to the I / F availability list 43 (FIG. 1) (step S402), checks whether or not the called interface is registered in the I / F availability list 43, and is registered. Only in this case, the interface is executed (step S403). If the interface call is not accepted, it is desirable to return an error to the application program.

<総括>
以上説明した実施形態によれば、次のような利点がある。
(1)アプリケーションプログラムの追加インストールによる、システムダウンをはじめとする異常動作を抑制することができる。
(2)アプリケーションプログラムの追加インストールによる、メモリ不足によるシステムダウンをはじめとする異常動作を抑制することができる。
(3)署名によってインストール時の正当性だけではなく、実行時の正当性も確認することで、テストされていないアプリケーションプログラムの利用を禁止することができ、より確実な品質保証が可能となる。
(4)アプリケーションプログラムの追加インストールによる、システム性能の低下を抑制することができる。
<Summary>
The embodiment described above has the following advantages.
(1) It is possible to suppress abnormal operations such as system down due to additional installation of application programs.
(2) It is possible to suppress abnormal operations such as system down due to insufficient memory due to additional installation of application programs.
(3) By confirming not only the correctness at the time of installation but also the correctness at the time of execution by the signature, the use of an untested application program can be prohibited, and a more reliable quality assurance can be achieved.
(4) A decrease in system performance due to additional installation of application programs can be suppressed.

以上、本発明の好適な実施の形態により本発明を説明した。ここでは特定の具体例を示して本発明を説明したが、特許請求の範囲に定義された本発明の広範な趣旨および範囲から逸脱することなく、これら具体例に様々な修正および変更を加えることができることは明らかである。すなわち、具体例の詳細および添付の図面により本発明が限定されるものと解釈してはならない。   The present invention has been described above by the preferred embodiments of the present invention. While the invention has been described with reference to specific embodiments, various modifications and changes may be made to the embodiments without departing from the broad spirit and scope of the invention as defined in the claims. Obviously you can. In other words, the present invention should not be construed as being limited by the details of the specific examples and the accompanying drawings.

1 アプリケーション開発装置
11 アプリケーション開発処理部
12 アプリケーションプログラム
13 アプリケーションID
14 アプリケーション検査処理部
15 アプリケーションプログラム
16 処理時間検査結果
17 I/F利用可能リスト
18 プログラム等出力部
2 アプリケーションダウンロード用サーバ
3 メディア
4 情報処理装置
41 プラットフォーム部
42 アプリケーションプログラム
43 I/F利用可能リスト
1 Application Development Device 11 Application Development Processing Unit 12 Application Program 13 Application ID
DESCRIPTION OF SYMBOLS 14 Application inspection process part 15 Application program 16 Processing time test result 17 I / F availability list 18 Program output part 2 Application download server 3 Media 4 Information processing apparatus 41 Platform part 42 Application program 43 I / F availability list

特開2005−301968号公報JP-A-2005-301968

Claims (4)

アプリケーションプログラムの性能に関する検査を実行する手段と、
前記検査に合格した場合に、前記アプリケーションプログラムを特定するアプリケーションIDに関連付けた前記アプリケーションプログラムに固有の署名であって前記アプリケーションプログラムのインストール時に正当性の確認に用いられる署名を付した検査結果およびインタフェース利用可能リストを生成する手段と、
前記アプリケーションプログラム、検査結果およびインタフェース利用可能リストを出力する手段と
を備えたことを特徴とするアプリケーション開発装置。
Means for performing an inspection on the performance of the application program;
Inspection result and interface with a signature unique to the application program associated with an application ID that identifies the application program and used for confirmation of validity when the application program is installed when the inspection is passed Means for generating an available list;
An application development apparatus comprising: means for outputting the application program, a test result, and an interface availability list.
請求項1に記載のアプリケーション開発装置において、
前記検査は、前記アプリケーションプログラムのインタフェース実行中のメモリ使用量が予めシステムが既定するメモリ消費量以下に収まっていること、および、インタフェース実行後のメモリ消費量が増加していないことを確認する
ことを特徴とするアプリケーション開発装置。
The application development apparatus according to claim 1,
The check confirms that the memory usage during the execution of the interface of the application program is within the memory consumption set in advance by the system and that the memory consumption after the execution of the interface has not increased. Application development device characterized by
請求項1または2のいずれか一項に記載のアプリケーション開発装置において、
前記検査は、前記アプリケーションプログラムの処理時間および省エネ状態の遷移処理に要する時間が既定値以下に収まっていることを確認する
ことを特徴とするアプリケーション開発装置。
In the application development device according to claim 1 or 2,
An application development apparatus characterized in that the inspection confirms that a processing time of the application program and a time required for transition processing of an energy saving state are within a predetermined value or less.
アプリケーションプログラムと、当該アプリケーションプログラムを特定するアプリケーションIDに関連付けた前記アプリケーションプログラムに固有の署名を付した前記アプリケーションプログラムの性能に関する検査結果およびインタフェース利用可能リストとに基づき、前記署名の正当性が確認されることを条件としてインストールを行う手段と、
前記インタフェース利用可能リストに基づき、前記アプリケーションプログラムに対してインタフェースの利用を許可する手段と
を備えたことを特徴とする情報処理装置。
The validity of the signature is confirmed on the basis of the application program, the inspection result on the performance of the application program with the signature unique to the application program associated with the application ID identifying the application program, and the interface availability list. Means to install on condition that
An information processing apparatus comprising: means for permitting the application program to use an interface based on the interface availability list.
JP2010207363A 2010-09-15 2010-09-15 Application development apparatus and information processing apparatus Expired - Fee Related JP5516262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010207363A JP5516262B2 (en) 2010-09-15 2010-09-15 Application development apparatus and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010207363A JP5516262B2 (en) 2010-09-15 2010-09-15 Application development apparatus and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2012063960A true JP2012063960A (en) 2012-03-29
JP5516262B2 JP5516262B2 (en) 2014-06-11

Family

ID=46059612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010207363A Expired - Fee Related JP5516262B2 (en) 2010-09-15 2010-09-15 Application development apparatus and information processing apparatus

Country Status (1)

Country Link
JP (1) JP5516262B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685138A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for authenticating application software of Android platform on mobile internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685138A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for authenticating application software of Android platform on mobile internet
CN103685138B (en) * 2012-08-30 2016-12-21 卓望数码技术(深圳)有限公司 The authentication method of the Android platform application software that mobile interchange is online and system

Also Published As

Publication number Publication date
JP5516262B2 (en) 2014-06-11

Similar Documents

Publication Publication Date Title
TWI524205B (en) Method of provisioning firmware in an operating system (os) absent services environment
JP2020166879A (en) Memory allocation techniques at partially-offloaded virtualization managers
US9519495B2 (en) Timed API rules for runtime verification
JP5259714B2 (en) Execution order determination apparatus, execution order determination program, execution order determination circuit, and information processing apparatus
CN107357732B (en) User terminal and software development kit access state detection device and method
US8843922B2 (en) Cloning virtual machines based on identical hardware configuration
US9483636B2 (en) Runtime application integrity protection
JP2010061230A (en) Information processor and information processing method
JP2011123842A (en) Image forming apparatus, function addition method, and program
JP2014170515A (en) Device, information storage program, and information storage method
CN114222975A (en) Data preservation using memory aperture flush sequence
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
JP2018151806A (en) Information processing apparatus, method for controlling information processing apparatus, and program
JP5948855B2 (en) Apparatus, program management method, program management program, and recording medium
US20070214345A1 (en) System and method for porting an operating system
JP5516262B2 (en) Application development apparatus and information processing apparatus
WO2014067368A1 (en) Method, apparatus and device for obtaining resource preview image
JP2011013775A (en) Information-processing device, method for controlling information-processing device, and program
JP6179200B2 (en) Information processing apparatus, device, information processing system, information processing method, and information processing program
US20160044201A1 (en) Image forming apparatus and resource management method
JP2015032103A (en) Image forming apparatus, control method of image forming apparatus, and program
JP7023807B2 (en) Management system, information processing device, setting management method, and program
JP6351609B2 (en) Distributed test system architecture
CN110825417A (en) Application program updating method and system
JP2015079484A (en) Information processing unit, information processing system, information processing method and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140317

LAPS Cancellation because of no payment of annual fees