[go: up one dir, main page]

JP2001154831A - System and method for controlling dynamic link library, and recording medium - Google Patents

System and method for controlling dynamic link library, and recording medium

Info

Publication number
JP2001154831A
JP2001154831A JP33403099A JP33403099A JP2001154831A JP 2001154831 A JP2001154831 A JP 2001154831A JP 33403099 A JP33403099 A JP 33403099A JP 33403099 A JP33403099 A JP 33403099A JP 2001154831 A JP2001154831 A JP 2001154831A
Authority
JP
Japan
Prior art keywords
dynamic link
application
link library
storage unit
library
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
JP33403099A
Other languages
Japanese (ja)
Other versions
JP3570940B2 (en
Inventor
Makoto Umeda
誠 楳田
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Hokkaido 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 NEC Software Hokkaido Ltd filed Critical NEC Software Hokkaido Ltd
Priority to JP33403099A priority Critical patent/JP3570940B2/en
Publication of JP2001154831A publication Critical patent/JP2001154831A/en
Application granted granted Critical
Publication of JP3570940B2 publication Critical patent/JP3570940B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To simultaneously execute dynamic link libraries identical in name but different in versions by being dynamically linked with different applications. SOLUTION: An application install means 21 stores an application in an application storing part 31, and registers application start information in an application start information storing part 33, and temporarily stores a dynamic library in a dynamic link library storing part 32. A dynamic link library registering means 22 actually stores the temporarily stored dynamic link library, and registers the correspondence information of the application and the dynamic link library in a dynamic link information storing part 34. When an application starting means 23 is started, and dynamic link is requested by the application which is being executed, a dynamic link library link means 24 links the dynamic link library by referring to the correspondence information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ダイナミックリン
クライブラリの制御方式に関し、特に異なるバージョン
のダイナミックリンクライブラリが混在する中から起動
されたアプリケーションに対応したダイナミックリンク
ライブラリをダイナミックリンクするダイナミックリン
クライブラリ制御方式,方法および記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic link library control method, and more particularly to a dynamic link library control method for dynamically linking a dynamic link library corresponding to an application started from a mixture of different versions of a dynamic link library. , Method and recording medium.

【0002】[0002]

【従来の技術】アプリケーションの開発に使用している
言語は、ランタイムライブラリがダイナミックリンクラ
イブラリとして提供されることが通常の形態である。
2. Description of the Related Art In a language used for application development, a runtime library is usually provided as a dynamic link library.

【0003】そこで、アプリケーションパッケージ内に
ランタイムライブラリ等のダイナミックリンクライブラ
リも同梱し、アプリケーションとダイナミックリンクラ
イブラリをインストールするためのアプリケーションイ
ンストール手段を提供している。
[0003] Therefore, a dynamic link library such as a runtime library is included in the application package to provide an application installation means for installing the application and the dynamic link library.

【0004】ところが、言語のランタイムライブラリは
障害修正や機能追加のために頻繁にバージョンアップが
施される。
However, the language runtime library is frequently upgraded to correct a failure or add a function.

【0005】そのため、アプリケーションの開発時期の
相違によりバージョンの異なるダイナミックリンクライ
ブラリを同梱することになり、複数のアプリケーション
をインストールする利用者は複数のダイナミックリンク
ライブラリから、一つのバージョンを選択する必要があ
った。
[0005] Therefore, a dynamic link library having a different version is bundled due to a difference in application development time, and a user who installs a plurality of applications needs to select one version from a plurality of dynamic link libraries. there were.

【0006】従来技術について、図8を用いて更に説明
する。
The prior art will be further described with reference to FIG.

【0007】図8は、従来例の構成を示すブロック図で
ある。
FIG. 8 is a block diagram showing a configuration of a conventional example.

【0008】図8を参照すると、従来例は入力装置1と
データ処理装置4と記憶装置5とから構成されていて、
データ処理装置4はアプリケーションインストール手段
41とアプリケーション起動手段42とダイナミックリ
ンクライブラリリンク手段43とを含み、記憶装置5は
アプリケーション記憶部51とダイナミックリンクライ
ブラリ記憶部52とアプリケーション起動情報記憶部5
3とを含む。
Referring to FIG. 8, the conventional example comprises an input device 1, a data processing device 4, and a storage device 5,
The data processing device 4 includes an application installing unit 41, an application starting unit 42, and a dynamic link library linking unit 43. The storage device 5 includes an application storing unit 51, a dynamic link library storing unit 52, and an application starting information storing unit 5.
3 is included.

【0009】アプリケーションインストール手段41
は、ダイナミックリンクライブラリ記憶部52にインス
トールされているダイナミックリンクライブラリのバー
ジョンと、これからインストールしようとするダイナミ
ックリンクライブラリのバージョンを比較し、異なるバ
ージョンをインストールしようとする場合はその旨を利
用者に通知し、既にインストールされているダイナミッ
クリンクライブラリを使いつづけるか、異なるバージョ
ンのダイナミックリンクライブラリを新たにインストー
ルするかを利用者に選択させる。
Application installation means 41
Compares the version of the dynamic link library installed in the dynamic link library storage unit 52 with the version of the dynamic link library to be installed, and notifies the user if a different version is to be installed. Then, the user is asked to continue using the already installed dynamic link library or to newly install a different version of the dynamic link library.

【0010】異なるバージョンのダイナミックリンクラ
イブラリを新たにインストールする方が選択されると、
ダイナミックリンクライブラリ記憶部52に異なるバー
ジョンのダイナミックリンクライブラリを格納する。
[0010] If it is selected to newly install a different version of the dynamic link library,
Different versions of the dynamic link library are stored in the dynamic link library storage unit 52.

【0011】アプリケーション起動手段42で起動され
たアプリケーションがダイナミックリンクを使用する
と、ダイナミックリンクライブラリリンク手段43がダ
イナミックリンクライブラリ記憶部52に格納されてい
る一意のダイナミックリンクライブラリをリンクする。
When an application started by the application starting means 42 uses a dynamic link, the dynamic link library linking means 43 links a unique dynamic link library stored in the dynamic link library storage section 52.

【0012】例えば、ダイナミックリンクライブラリを
ダイナミックリンクして実行する2つのアプリケーショ
ンがあり、アプリケーションAは古いバージョンのダイ
ナミックリンクライブラリとの組み合わせで正しく動作
し、アプリケーションBは新しいバージョンのダイナミ
ックリンクライブラリとの組み合わせで正しく動作する
ものとする。
For example, there are two applications that dynamically link and execute a dynamic link library, application A works correctly in combination with an old version of the dynamic link library, and application B works in combination with a new version of the dynamic link library. Should work correctly.

【0013】ダイナミックリンクライブラリ記憶部52
に古いバージョンのダイナミックリンクライブラリが格
納されている場合、アプリケーション起動手段42でア
プリケーションAを起動したとき、ダイナミックリンク
ライブラリリンク手段43が古いバージョンのダイナミ
ックリンクライブラリをダイナミックリンクして、アプ
リケーションAは正しく動作する。
The dynamic link library storage unit 52
When the application A is started by the application starting unit 42, the dynamic link library linking unit 43 dynamically links the old version of the dynamic link library, and the application A operates correctly. I do.

【0014】続いてアプリケーションBを起動したと
き、ダイナミックリンクライブラリ記憶部52には古い
バージョンのダイナミックリンクライブラリが格納され
ているので、古いバージョンのダイナミックリンクライ
ブラリがダイナミックリンクされ、アプリケーションB
は正しく動作しない。
Subsequently, when the application B is started, since the old version of the dynamic link library is stored in the dynamic link library storage unit 52, the old version of the dynamic link library is dynamically linked, and the application B
Does not work properly.

【0015】そのため、アプリケーションBを起動する
前に、アプリケーションインストール手段41で新しい
バージョンのダイナミックリンクライブラリをダイナミ
ックリンクライブラリ記憶部52に格納し直す。
Therefore, before the application B is started, the new version of the dynamic link library is stored in the dynamic link library storage unit 52 again by the application installing means 41.

【0016】そして、アプリケーションBを起動する
と、新しいバージョンのダイナミックリンクライブラリ
がダイナミックリンクされ、アプリケーションBは正し
く動作する。
When the application B is started, a new version of the dynamic link library is dynamically linked, and the application B operates correctly.

【0017】その後に、再度アプリケーションAを起動
する場合には、古いバージョンのダイナミックリンクラ
イブラリをダイナミックリンクライブラリ記憶部52に
格納し直す。
Thereafter, when the application A is started again, the old version of the dynamic link library is stored in the dynamic link library storage unit 52 again.

【0018】このように、アプリケーションが使用する
バージョンのダイナミックリンクライブラリを、その都
度ダイナミックリンクライブラリ記憶部52に格納し直
している。
As described above, the version of the dynamic link library used by the application is stored in the dynamic link library storage unit 52 each time.

【0019】あるいは、ダイナミックリンクライブラリ
のバージョン競合を回避するために、ダイナミックリン
クライブラリの格納場所を分ける方法もある(この構成
については図示せず)。
Alternatively, there is a method of separating the storage location of the dynamic link library in order to avoid the version conflict of the dynamic link library (this configuration is not shown).

【0020】この方法では、アプリケーションに関連す
るダイナミックリンクライブラリをアプリケーションと
同じ格納場所に格納している。
In this method, the dynamic link library related to the application is stored in the same storage location as the application.

【0021】[0021]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術には、次のような問題点があった。
However, the above-mentioned prior art has the following problems.

【0022】すなわち、ダイナミックリンクライブラリ
記憶部に択一的に1つのバージョンのダイナミックリン
クライブラリしか格納することができないために、その
都度アプリケーションが使用するバージョンのダイナミ
ックリンクライブラリをダイナミックリンクライブラリ
記憶部に格納し直さなければならず、運用が煩雑で誤操
作を招きやすいことである。もし、正しく格納し直さず
にアプリケーションを実行すると、アプリケーションが
誤動作して障害を引き起こすことになる。
That is, since only one version of the dynamic link library can be stored in the dynamic link library storage unit, the version of the dynamic link library used by the application is stored in the dynamic link library storage unit each time. The operation is complicated and erroneous operation is easily caused. If the application is executed without being stored correctly, the application will malfunction and cause a failure.

【0023】また、ダイナミックリンクライブラリの格
納場所を分けて格納する場合には、同一ダイナミックリ
ンクライブラリが1個だけ存在すればよいときでも、そ
れを使用するアプリケーションの個数分だけ存在するこ
とになり、ダイナミックリンクライブラリの格納スペー
スが増大してしまう。
In the case where the storage locations of the dynamic link libraries are stored separately, even if only one dynamic link library needs to exist, the same number of applications using the same dynamic link library exists. The storage space of the dynamic link library increases.

【0024】本発明の目的は、複数のアプリケーション
がそれぞれ異なるバージョンのダイナミックリンクライ
ブラリをダイナミックリンクする必要がある場合にも、
アプリケーションに正しいダイナミックリンクライブラ
リをダイナミックリンクするダイナミックリンクライブ
ラリ制御方式,方法および記録媒体を提供することにあ
る。
An object of the present invention is to solve the problem that a plurality of applications need to dynamically link different versions of a dynamic link library.
An object of the present invention is to provide a dynamic link library control method, method, and recording medium for dynamically linking a correct dynamic link library to an application.

【0025】[0025]

【課題を解決するための手段】本願第1の発明のダイナ
ミックリンクライブラリ制御方式は、アプリケーション
からダイナミックリンクを要求されるダイナミックリン
クライブラリを制御するダイナミックリンクライブラリ
制御方式であって、バージョンの異なる同一名の複数の
ダイナミックリンクライブラリを格納するダイナミック
リンクライブラリ記憶手段と、起動されたアプリケーシ
ョンに対応したバージョンのダイナミックリンクライブ
ラリを前記ダイナミックリンクライブラリ記憶手段から
選択してダイナミックリンクするダイナミックリンク手
段と、を備えることを特徴とする。
A dynamic link library control method according to the first invention of the present application is a dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application. Dynamic link library storing means for storing a plurality of dynamic link libraries, and dynamic link means for selecting and dynamically linking a version of the dynamic link library corresponding to the started application from the dynamic link library storing means. It is characterized by.

【0026】本願第2の発明のダイナミックリンクライ
ブラリ制御方式は、アプリケーションからダイナミック
リンクを要求されるダイナミックリンクライブラリを制
御するダイナミックリンクライブラリ制御方式であっ
て、アプリケーションを格納するアプリケーション記憶
部と、ダイナミックリンクライブラリを格納するダイナ
ミックリンクライブラリ記憶部と、アプリケーション起
動情報を登録するアプリケーション起動情報記憶部と、
アプリケーションとダイナミックリンクライブラリとの
対応情報を登録するダイナミックリンク情報記憶部と、
を有し、アプリケーションインストール手段とアプリケ
ーション起動手段に指示を与える入力手段と、前記入力
手段によって指定されたアプリケーションを前記アプリ
ケーション記憶部に格納し格納場所をアプリケーション
起動情報として前記アプリケーション起動情報記憶部に
登録しダイナミックリンクライブラリを前記ダイナミッ
クリンクライブラリ記憶部に仮格納するアプリケーショ
ンインストール手段と、前記仮格納されたダイナミック
リンクライブラリを前記ダイナミックリンクライブラリ
記憶部に本格納し前記アプリケーションインストール手
段によって格納されたアプリケーションと前記本格納さ
れたダイナミックリンクライブラリとの対応情報を前記
ダイナミックリンク情報記憶部に登録するダイナミック
リンクライブラリ登録手段と、前記入力手段によって指
定されたアプリケーションを前記アプリケーション起動
情報記憶部のアプリケーション起動情報を基に前記アプ
リケーション記憶部からロードして起動実行するアプリ
ケーション起動手段と、前記アプリケーション起動手段
によって起動されたアプリケーションがダイナミックリ
ンクを要求するときに呼び出し元アプリケーション名と
前記ダイナミックリンク情報記憶部の対応情報を基にダ
イナミックリンクライブラリをダイナミックリンクする
ダイナミックリンクライブラリリンク手段と、を備える
ことを特徴とする。
The dynamic link library control method according to the second aspect of the present invention is a dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application, wherein the application storage unit for storing the application, the dynamic link library, A dynamic link library storage unit that stores a library, an application startup information storage unit that registers application startup information,
A dynamic link information storage unit for registering correspondence information between the application and the dynamic link library;
Input means for giving instructions to the application installing means and the application starting means; and storing the application specified by the input means in the application storing section and registering the storage location as application starting information in the application starting information storing section. An application installation unit for temporarily storing a dynamic link library in the dynamic link library storage unit; and an application for temporarily storing the temporarily stored dynamic link library in the dynamic link library storage unit and stored by the application installation unit. A dynamic link library for registering information corresponding to the stored dynamic link library in the dynamic link information storage unit Recording means, application starting means for loading the application specified by the input means from the application storage section based on the application start information in the application start information storage section, and starting and executing the application. Dynamic link library linking means for dynamically linking a dynamic link library based on the caller application name and the corresponding information in the dynamic link information storage unit when the application requests a dynamic link.

【0027】本願第3の発明のダイナミックリンクライ
ブラリ制御方式は、第2の発明において前記ダイナミッ
クリンクライブラリ記憶部は、前記ダイナミックリンク
ライブラリが仮格納される仮格納領域と前記ダイナミッ
クリンクライブラリが本格納される本格納領域の2つに
分割管理されることを特徴とする。
In a dynamic link library control method according to a third aspect of the present invention, in the second aspect, the dynamic link library storage section temporarily stores a temporary storage area in which the dynamic link library is temporarily stored and the dynamic link library. The main storage area is divided and managed in two.

【0028】本願第4の発明のダイナミックリンクライ
ブラリ制御方式は、第3の発明において前記本格納領域
は、同一名のダイナミックリンクライブラリを格納し得
る構造を成すことを特徴とする。
A dynamic link library control method according to a fourth aspect of the present invention is characterized in that, in the third aspect, the main storage area has a structure capable of storing a dynamic link library having the same name.

【0029】本願第5の発明のダイナミックリンクライ
ブラリ制御方式は、第2の発明において前記ダイナミッ
クリンクライブラリ登録手段は、前記仮格納されたダイ
ナミックリンクライブラリと既に本格納されているダイ
ナミックリンクライブラリとを比較し、前記仮格納され
たダイナミックリンクライブラリと同一名かつ同一内容
のものが存在しないときに、前記仮格納されたダイナミ
ックリンクライブラリを本格納することを特徴とする。
In the dynamic link library control method according to a fifth aspect of the present invention, in the second aspect, the dynamic link library registration unit compares the temporarily stored dynamic link library with the dynamic link library already stored. When the dynamic link library having the same name and the same content as the temporarily stored dynamic link library does not exist, the temporarily stored dynamic link library is permanently stored.

【0030】本願第6の発明のダイナミックリンクライ
ブラリ制御方式は、第2の発明において前記対応情報
は、前記アプリケーション名と前記本格納されたダイナ
ミックリンクライブラリ名と前記本格納されたダイナミ
ックリンクライブラリ格納場所とから成ることを特徴と
する。
According to a sixth aspect of the present invention, in the dynamic link library control method according to the second aspect, the correspondence information includes the application name, the book-stored dynamic link library name, and the book-stored dynamic link library storage location. And characterized in that:

【0031】本願第7の発明のダイナミックリンクライ
ブラリ制御方法は、アプリケーションからダイナミック
リンクを要求されるダイナミックリンクライブラリを制
御するダイナミックリンクライブラリ制御方法であっ
て、アプリケーションをアプリケーション記憶部に格納
してアプリケーション名とアプリケーション格納場所を
アプリケーション起動情報としてアプリケーション起動
情報記憶部に登録し、ダイナミックリンクライブラリを
ダイナミックリンクライブラリ記憶部に仮格納し、前記
仮格納されたダイナミックリンクライブラリと既にダイ
ナミックリンクライブラリ記憶部に本格納されているダ
イナミックリンクライブラリとを比較し前記仮格納され
たダイナミックリンクライブラリと同一名かつ同一内容
のものが存在しないときに前記仮格納されたダイナミッ
クリンクライブラリをダイナミックリンクライブラリ記
憶部に本格納し、前記アプリケーション名と前記本格納
されたダイナミックリンクライブラリ名と本格納された
ダイナミックリンクライブラリ格納場所を対応情報とし
てダイナミックリンク情報記憶部に登録し、起動指定さ
れたアプリケーションを前記アプリケーション起動情報
を参照してアプリケーション記憶部からロードして起動
実行し、前記実行中のアプリケーションがダイナミック
リンクを要求したときに前記アプリケーション名をキー
として前記対応情報を参照し、前記対応情報に登録され
ているダイナミックリンクライブラリをダイナミックリ
ンクする、ことを特徴とする。
A dynamic link library control method according to a seventh aspect of the present invention is a dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application. And the application storage location are registered as application activation information in the application activation information storage unit, the dynamic link library is temporarily stored in the dynamic link library storage unit, and the dynamic link library and the temporarily stored dynamic link library are already stored in the dynamic link library storage unit. The dynamic link library is compared with the dynamic link library and the one having the same name and the same content as the temporarily stored dynamic link library does not exist. In this case, the temporarily stored dynamic link library is permanently stored in a dynamic link library storage unit, and the dynamic link is stored as correspondence information using the application name, the fully stored dynamic link library name, and the dynamically stored dynamic link library storage location. The application is registered in the information storage unit, the application specified to be started is loaded from the application storage unit with reference to the application start information, and is started and executed. When the running application requests a dynamic link, the application name is keyed. Reference is made to the correspondence information, and a dynamic link library registered in the correspondence information is dynamically linked.

【0032】本願第8の発明の記録媒体は、アプリケー
ションをアプリケーション記憶部に格納してアプリケー
ション名とアプリケーション格納場所をアプリケーショ
ン起動情報としてアプリケーション起動情報記憶部に登
録するアプリケーション格納処理と、ダイナミックリン
クライブラリをダイナミックリンクライブラリ記憶部に
仮格納するダイナミックリンクライブラリ仮格納処理
と、前記仮格納されたダイナミックリンクライブラリと
既にダイナミックリンクライブラリ記憶部に本格納され
ているダイナミックリンクライブラリとを比較し前記仮
格納されたダイナミックリンクライブラリと同一名かつ
同一内容のものが存在しないときに前記仮格納されたダ
イナミックリンクライブラリをダイナミックリンクライ
ブラリ記憶部に本格納するダイナミックリンクライブラ
リ本格納処理と、前記アプリケーション名と前記本格納
されたダイナミックリンクライブラリ名と本格納された
ダイナミックリンクライブラリ格納場所を対応情報とし
てダイナミックリンク情報記憶部に登録する対応情報登
録処理と、起動指定されたアプリケーションを前記アプ
リケーション起動情報を参照してアプリケーション記憶
部からロードして起動実行するアプリケーション起動処
理と、前記実行中のアプリケーションがダイナミックリ
ンクを要求したときに前記アプリケーション名をキーと
して前記対応情報を参照する対応情報参照処理と、前記
対応情報に登録されているダイナミックリンクライブラ
リをダイナミックリンクするダイナミックリンク処理
と、をコンピュータに実行させるためのプログラムを記
録したことを特徴とする。
The recording medium according to the eighth aspect of the present invention includes an application storage process for storing an application in an application storage unit and registering an application name and an application storage location in the application startup information storage unit as application startup information, and a dynamic link library. The dynamic link library temporary storage process temporarily stored in the dynamic link library storage unit, and the temporarily stored dynamic link library is compared with the dynamic link library already fully stored in the dynamic link library storage unit, and the temporary storage is performed. When there is no one having the same name and the same content as the dynamic link library, the temporarily stored dynamic link library is fully stored in the dynamic link library storage unit. A dynamic link library main storage process, and a corresponding information registration process of registering the application name, the main stored dynamic link library name, and the main stored dynamic link library storage location in the dynamic link information storage unit as corresponding information; An application start-up process of loading an application designated for start-up from an application storage unit with reference to the application start-up information and executing the start-up; and executing the application using the application name as a key when the running application requests a dynamic link. And a dynamic link process for dynamically linking a dynamic link library registered in the correspondence information. And characterized by recording a program.

【0033】[0033]

【発明の実施の形態】本発明の特徴は、ダイナミックリ
ンクライブラリ名が同じでも内容が異なるダイナミック
リンクライブラリ、即ちバージョンが異なるダイナミッ
クリンクライブラリを同一ダイナミックリンクライブラ
リ記憶部に保管し、起動されたアプリケーションに対応
したバージョンのダイナミックリンクライブラリを選択
してダイナミックリンクすることにある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A feature of the present invention is that a dynamic link library having the same dynamic link library name but different contents, that is, a dynamic link library having a different version is stored in the same dynamic link library storage unit, and the activated application is stored in the same application. The purpose is to select the corresponding version of the dynamic link library and dynamically link.

【0034】本発明の実施の形態について、図面を参照
して詳細に説明する。
Embodiments of the present invention will be described in detail with reference to the drawings.

【0035】図1は、本発明の実施の形態の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0036】図2は、ダイナミックリンクライブラリ記
憶部を説明する図である。
FIG. 2 is a diagram for explaining the dynamic link library storage unit.

【0037】図3は、アプリケーション起動情報の構造
を示す図である。
FIG. 3 is a diagram showing the structure of the application activation information.

【0038】図4は、対応情報の構造を示す図である。FIG. 4 is a diagram showing the structure of the correspondence information.

【0039】図1を参照すると、本発明のダイナミック
リンクライブラリ制御方式は、入力装置1と、データ処
理装置2と、記憶装置3と、から構成されている。
Referring to FIG. 1, the dynamic link library control system of the present invention comprises an input device 1, a data processing device 2, and a storage device 3.

【0040】入力装置1は、データ処理装置2に指示を
与える装置で、キーボードなどである。
The input device 1 is a device for giving an instruction to the data processing device 2, such as a keyboard.

【0041】データ処理装置2は、アプリケーションイ
ンストール手段21と、ダイナミックリンクライブラリ
登録手段22と、アプリケーション起動手段23と、ダ
イナミックリンクライブラリリンク手段24と、を備え
る。
The data processing device 2 includes an application installation unit 21, a dynamic link library registration unit 22, an application activation unit 23, and a dynamic link library link unit 24.

【0042】アプリケーションインストール手段21
は、入力装置1によって指定されたアプリケーションプ
ログラム(以降、単にアプリケーションという)を、イ
ンストール装置(図示せず)からアプリケーション記憶
部31に格納し、その格納場所をアプリケーション起動
情報としてアプリケーション起動情報記憶部33に登録
する。また、アプリケーションインストール手段21
は、ダイナミックリンクライブラリを、インストール装
置(図示せず)からダイナミックリンクライブラリ記憶
部32に格納(仮格納)する。
Application installation means 21
Stores an application program (hereinafter simply referred to as an application) specified by the input device 1 from an installation device (not shown) in the application storage unit 31 and uses the storage location as application startup information as the application startup information storage unit 33. Register with. Also, the application installation means 21
Stores (temporarily stores) the dynamic link library in the dynamic link library storage unit 32 from an installation device (not shown).

【0043】ダイナミックリンクライブラリ登録手段2
2は、アプリケーションインストール手段21終了時に
続けて呼び出される。ダイナミックリンクライブラリ登
録手段22は、同じダイナミックリンクライブラリ名で
内容が異なるダイナミックリンクライブラリをダイナミ
ックリンクライブラリ記憶部32内で共存させるため
に、ダイナミックリンクライブラリ記憶部32内で格納
場所を分けて格納し管理する。
Dynamic link library registration means 2
2 is called continuously upon termination of the application installation means 21. The dynamic link library registration unit 22 stores and manages the storage locations separately in the dynamic link library storage unit 32 so that the dynamic link libraries having the same dynamic link library name and different contents coexist in the dynamic link library storage unit 32. I do.

【0044】ダイナミックリンクライブラリ登録手段2
2は、アプリケーションインストール手段21によりダ
イナミックリンクライブラリ記憶部32に仮格納された
ダイナミックリンクライブラリの格納場所を変更して本
格納する。更に、アプリケーションインストール手段2
1により格納されたアプリケーション名と本格納したダ
イナミックリンクライブラリのダイナミックリンクライ
ブラリ情報(ダイナミックリンクライブラリ名およびダ
イナミックリンクライブラリ格納場所)との対応情報を
ダイナミックリンク情報記憶部34に登録する。
Dynamic link library registration means 2
2 changes the storage location of the dynamic link library temporarily stored in the dynamic link library storage unit 32 by the application installation means 21 and permanently stores the dynamic link library. Further, application installation means 2
The corresponding information between the application name stored in step 1 and the dynamic link library information (dynamic link library name and dynamic link library storage location) of the stored dynamic link library is registered in the dynamic link information storage unit 34.

【0045】アプリケーション起動手段23は、入力手
段1によって指定されたアプリケーションを、アプリケ
ーションインストール手段21がアプリケーション起動
情報記憶部33に登録したアプリケーション起動情報を
基にアプリケーション記憶部31からロードして起動実
行する。
The application starting means 23 loads and executes the application specified by the input means 1 from the application storing part 31 based on the application starting information registered in the application starting information storing part 33 by the application installing means 21. .

【0046】ダイナミックリンクライブラリリンク手段
24は、アプリケーション起動手段23によって起動さ
れたアプリケーションがダイナミックリンクを要求した
ときに、制御を渡される。
The dynamic link library link means 24 is given control when an application started by the application starting means 23 requests a dynamic link.

【0047】ダイナミックリンクライブラリリンク手段
24は、呼び出し元アプリケーション名とダイナミック
リンクライブラリ登録手段22がダイナミックリンク情
報記憶部34に登録した対応情報を基に、適切なダイナ
ミックリンクライブラリをダイナミックリンクライブラ
リ記憶部32からロードしてアプリケーションにダイナ
ミックリンクする。
The dynamic link library link unit 24 stores an appropriate dynamic link library in the dynamic link library storage unit 32 based on the caller application name and the correspondence information registered in the dynamic link information storage unit 34 by the dynamic link library registration unit 22. Load from and dynamically link to the application.

【0048】記憶装置3は、情報を記憶する装置であ
り、アプリケーション記憶部31と、ダイナミックリン
クライブラリ記憶部32と、アプリケーション起動情報
記憶部33と、ダイナミックリンク情報記憶部34と、
を備えている。
The storage device 3 is a device for storing information, and includes an application storage unit 31, a dynamic link library storage unit 32, an application activation information storage unit 33, a dynamic link information storage unit 34,
It has.

【0049】アプリケーション記憶部31は、アプリケ
ーションを格納する領域である。アプリケーションはア
プリケーションインストール手段21により格納され
る。
The application storage section 31 is an area for storing applications. The application is stored by the application installation unit 21.

【0050】ダイナミックリンクライブラリ記憶部32
は、ダイナミックリンクライブラリを格納する領域であ
る。同一名のダイナミックリンクライブラリが共存でき
るように、ダイナミックリンクライブラリ登録手段22
により格納管理される。
Dynamic link library storage unit 32
Is an area for storing a dynamic link library. Dynamic link library registration means 22 so that a dynamic link library having the same name can coexist.
Is stored and managed.

【0051】ダイナミックリンクライブラリ記憶部32
の構造を図2(a)に示す。図2(a)を参照すると、
ダイナミックリンクライブラリ記憶部32は、仮格納領
域と本格納領域に分けられる。ダイナミックリンクライ
ブラリ登録手段22はダイナミックリンクライブラリを
格納するときに、先ず仮格納領域に格納して同一名かつ
同一内容のものが本格納領域内に既にあるかないかを確
認し、同一名かつ同一内容のものが本格納領域内になけ
れば仮格納領域のダイナミックリンクライブラリを本格
納領域に移す。ダイナミックリンクライブラリ記憶部3
2の格納例を図2(b)に示す。図2(b)を参照する
と、ダイナミックリンクライブラリ記憶部32の本格納
領域には、ダイナミックリンクライブラリ名が”AA
A”,”BBB”,”CCC”の3つのダイナミックリ
ンクライブラリが格納されている。
Dynamic link library storage section 32
2A is shown in FIG. Referring to FIG. 2A,
The dynamic link library storage unit 32 is divided into a temporary storage area and a main storage area. When storing the dynamic link library, the dynamic link library registration means 22 first stores the dynamic link library in the temporary storage area and checks whether or not the one having the same name and the same content already exists in the main storage area. If not, the dynamic link library of the temporary storage area is moved to the main storage area. Dynamic link library storage unit 3
FIG. 2B shows an example of storing No. 2. Referring to FIG. 2B, in this storage area of the dynamic link library storage unit 32, the dynamic link library name is "AA".
Three dynamic link libraries A, BBB and CCC are stored.

【0052】アプリケーション起動情報記憶部33は、
各アプリケーションがアプリケーション記憶部31内の
どこの領域にインストールされているかのアプリケーシ
ョン起動情報を登録する領域である。アプリケーション
起動情報は、アプリケーション名とアプリケーション記
憶部31内のアプリケーション格納場所とから成り、ア
プリケーションインストール手段21により登録され
る。アプリケーション起動情報の構造を図3に示す。
The application start information storage unit 33
This is an area for registering application start information indicating in which area in the application storage unit 31 each application is installed. The application activation information includes an application name and an application storage location in the application storage unit 31, and is registered by the application installation unit 21. FIG. 3 shows the structure of the application activation information.

【0053】ダイナミックリンク情報記憶部34は、ア
プリケーションとダイナミックリンクライブラリの対応
情報を登録する領域である。対応情報は、アプリケーシ
ョン名とダイナミックリンクライブラリ名とダイナミッ
クリンクライブラリ記憶部32内のダイナミックリンク
ライブラリ格納場所とから成り、ダイナミックリンクラ
イブラリ登録手段22により登録される。対応情報の構
造を図4に示す。
The dynamic link information storage section 34 is an area for registering correspondence information between an application and a dynamic link library. The correspondence information includes an application name, a dynamic link library name, and a dynamic link library storage location in the dynamic link library storage unit 32, and is registered by the dynamic link library registration unit 22. FIG. 4 shows the structure of the correspondence information.

【0054】本発明の実施の形態の動作について、図
1,図5および図6を参照して詳細に説明する。
The operation of the embodiment of the present invention will be described in detail with reference to FIGS. 1, 5 and 6.

【0055】図5は、アプリケーションおよびダイナミ
ックリンクライブラリ格納動作のフローを示す図であ
る。
FIG. 5 is a diagram showing a flow of an application and dynamic link library storing operation.

【0056】図6は、ダイナミックリンク動作のフロー
を示す図である。
FIG. 6 is a diagram showing a flow of the dynamic link operation.

【0057】先ず、アプリケーションおよびダイナミッ
クリンクライブラリを格納する動作について説明する。
First, the operation of storing the application and the dynamic link library will be described.

【0058】図5を参照すると、アプリケーションイン
ストール手段21は、入力装置1によって起動され、ア
プリケーションをアプリケーション記憶部31に格納
し、その格納場所をアプリケーション起動情報記憶部3
3に登録する。また、ダイナミックリンクライブラリが
有れば、ダイナミックリンクライブラリをダイナミック
リンクライブラリ記憶部32に仮格納する(ステップA
1)。
Referring to FIG. 5, the application installation means 21 is activated by the input device 1 and stores an application in the application storage unit 31. The storage location is stored in the application startup information storage unit 3.
Register to 3. If there is a dynamic link library, the dynamic link library is temporarily stored in the dynamic link library storage unit 32 (step A).
1).

【0059】ダイナミックリンクライブラリ登録手段2
2は、アプリケーションインストール手段21終了時に
続けて呼び出され、アプリケーションインストール手段
21によってダイナミックリンクライブラリが仮格納さ
れたかどうかを確認する(ステップA2)。
Dynamic link library registration means 2
No. 2 is called successively when the application installing means 21 ends, and checks whether or not the dynamic link library is temporarily stored by the application installing means 21 (step A2).

【0060】ダイナミックリンクライブラリが仮格納さ
れたことを検出すると、同じダイナミックリンクライブ
ラリ名のダイナミックリンクライブラリが既に登録され
ているかどうかを確認する(ステップA3)。
When it is detected that the dynamic link library has been temporarily stored, it is checked whether a dynamic link library having the same dynamic link library name has already been registered (step A3).

【0061】同じダイナミックリンクライブラリ名のダ
イナミックリンクライブラリが既に登録されている場合
は、内容が一致しているかどうかを確認する(ステップ
A4)。
If a dynamic link library with the same dynamic link library name has already been registered, it is checked whether the contents match (step A4).

【0062】ダイナミックリンクライブラリ名も内容も
完全に一致した場合は、既に登録されているダイナミッ
クリンクライブラリの格納情報で対応情報を構成してダ
イナミックリンク情報記憶部34に登録する(ステップ
A5)。
When both the dynamic link library name and the contents are completely the same, the corresponding information is constituted by the stored information of the already registered dynamic link library and registered in the dynamic link information storage unit 34 (step A5).

【0063】ダイナミックリンクライブラリ名が新規の
場合、またはダイナミックリンクライブラリ名が同じで
も内容が異なる場合、ステップA1で仮格納したダイナ
ミックリンクライブラリを新規の場所に移動して本格納
し、新規情報で対応情報を構成してダイナミックリンク
情報記憶部34に登録する(ステップA6)。
When the dynamic link library name is new, or when the dynamic link library name is the same but the contents are different, the dynamic link library temporarily stored in step A1 is moved to a new location and stored permanently, and the new information is used. The information is configured and registered in the dynamic link information storage unit 34 (step A6).

【0064】続いて、ダイナミックリンクの動作につい
て説明する。
Next, the operation of the dynamic link will be described.

【0065】図6を参照すると、アプリケーション起動
手段23は、入力装置1によって指定されたアプリケー
ションをアプリケーション記憶部31からロードして起
動実行する。起動されたアプリケーションはダイナミッ
クリンクを要求して動作するものとする(ステップB
1)。
Referring to FIG. 6, the application starting means 23 loads the application specified by the input device 1 from the application storage unit 31 and executes the application. It is assumed that the started application operates by requesting a dynamic link (step B).
1).

【0066】実行中のアプリケーションがダイナミック
リンクを要求し、ダイナミックリンクライブラリリンク
手段24が起動される(ステップB2)。
The running application requests a dynamic link, and the dynamic link library linking means 24 is activated (step B2).

【0067】ダイナミックリンクライブラリリンク手段
24はダイナミックリンクライブラリ記憶部32に同一
名のダイナミックリンクライブラリが格納されていて
も、ダイナミックリンク情報記憶部34に登録されてい
る対応情報を基にアプリケーションと同時にインストー
ルされたダイナミックリンクライブラリをダイナミック
リンクする(ステップB3)。
The dynamic link library linking means 24 installs the dynamic link library with the application based on the correspondence information registered in the dynamic link information storage unit 34 even if the dynamic link library of the same name is stored in the dynamic link library storage unit 32. The linked dynamic link library is dynamically linked (step B3).

【0068】ダイナミックリンクライブラリをダイナミ
ックリンクした後に、アプリケーションの実行を継続す
る(ステップB4)。
After the dynamic link library is dynamically linked, the execution of the application is continued (step B4).

【0069】図7を用いて、更に詳細に動作を説明す
る。
The operation will be described in more detail with reference to FIG.

【0070】図7は、動作を説明する図である。FIG. 7 is a diagram for explaining the operation.

【0071】動作を説明する前提として、記憶装置3の
各部が図7(a)〜(d)に示すようになっているもの
とする。
As a premise for explaining the operation, it is assumed that each unit of the storage device 3 is as shown in FIGS. 7 (a) to 7 (d).

【0072】先ず、前提を説明する。First, the premise will be described.

【0073】図7を参照すると、(a)は、アプリケー
ション記憶部31にアプリケーション”APR”が格納
場所”r”から格納され、アプリケーション”APS”
が格納場所”s”から格納されていることを示してい
る。
Referring to FIG. 7, (a) shows that the application “APR” is stored in the application storage unit 31 from the storage location “r”, and the application “APS” is stored.
Is stored from the storage location “s”.

【0074】(b)は、ダイナミックリンクライブラリ
記憶部32にダイナミックリンクライブラリ”DLL
A”が格納場所”a”から格納され、ダイナミックリン
クライブラリ”DLLB”が格納場所”b”から格納さ
れていることを示している。
FIG. 11B shows the dynamic link library “DLL” stored in the dynamic link library storage unit 32.
A indicates that A is stored from the storage location “a”, and the dynamic link library “DLLB” is stored from the storage location “b”.

【0075】(c)は、アプリケーション起動情報記憶
部33に登録されているアプリケーション起動情報を示
している。
(C) shows the application start information registered in the application start information storage unit 33.

【0076】(d)は、ダイナミックリンク情報記憶部
34に登録されている対応情報を示している。
FIG. 9D shows correspondence information registered in the dynamic link information storage unit 34.

【0077】次に、新たなアプリケーションのインスト
ールについて説明する。
Next, installation of a new application will be described.

【0078】新たなアプリケーション”APT”をアプ
リケーションインストール手段21によりアプリケーシ
ョン記憶部31に格納する。図7(e)は、アプリケー
ション”APT”がアプリケーション記憶部31の格納
場所”t”から格納されたことを示している。また、図
7(g)は、アプリケーション起動情報記憶部33にア
プリケーション”APT”のアプリケーション起動情報
が追加されたことを示している。
The new application “APT” is stored in the application storage unit 31 by the application installation unit 21. FIG. 7E shows that the application “APT” has been stored from the storage location “t” of the application storage unit 31. FIG. 7G shows that the application activation information of the application “APT” has been added to the application activation information storage unit 33.

【0079】アプリケーション”APT”にはダイナミ
ックリンクライブラリ”DLLA”が同梱されているも
のとする。そこで、アプリケーションインストール手段
21はダイナミックリンクライブラリ”DLLA”をダ
イナミックリンクライブラリ記憶部32の仮格納領域に
格納する。
It is assumed that a dynamic link library “DLLA” is included in the application “APT”. Therefore, the application installing unit 21 stores the dynamic link library “DLLA” in the temporary storage area of the dynamic link library storage unit 32.

【0080】ダイナミックリンクライブラリ登録手段2
2は、仮格納領域に格納されたダイナミックリンクライ
ブラリ”DLLA”の内容が既に本格納領域に格納され
ている同一名のダイナミックリンクライブラリ(格納場
所”a”から格納されているダイナミックリンクライブ
ラリ”DLLA”)の内容と等しいか否かを確認する。
この場合、格納場所”a”に格納されているダイナミッ
クリンクライブラリ”DLLA”と内容が異なるものと
する。
Dynamic link library registration means 2
Reference numeral 2 denotes a dynamic link library of the same name in which the contents of the dynamic link library "DLLA" stored in the temporary storage area are already stored in the main storage area (the dynamic link library "DLLA" stored from the storage location "a"). Check if it is the same as ")).
In this case, it is assumed that the content is different from that of the dynamic link library “DLLA” stored in the storage location “a”.

【0081】ダイナミックリンクライブラリ登録手段2
2は、仮格納領域に格納されているダイナミックリンク
ライブラリ”DLLA”を本格納領域に移す。図7
(f)は、ダイナミックリンクライブラリ”DLLA”
がダイナミックリンクライブラリ記憶部32の格納場
所”c”から格納されたことを示している。また、図7
(h)は、ダイナミックリンク情報記憶部34にアプリ
ケーション”APT”とダイナミックリンクライブラ
リ”DLLA”の対応情報が追加されたことを示してい
る。
Dynamic link library registration means 2
2 moves the dynamic link library “DLLA” stored in the temporary storage area to the main storage area. FIG.
(F) shows the dynamic link library "DLLA"
Is stored from the storage location “c” in the dynamic link library storage unit 32. FIG.
(H) indicates that the corresponding information of the application “APT” and the dynamic link library “DLLA” has been added to the dynamic link information storage unit 34.

【0082】続いて、新たにインストールされたアプリ
ケーションの起動実行について説明する。
Next, the startup and execution of the newly installed application will be described.

【0083】アプリケーション起動手段23は、アプリ
ケーション”APT”のアプリケーション起動情報を参
照して、アプリケーション記憶部31の格納場所”t”
からアプリケーション”APT”をロードして起動実行
する。
The application activating unit 23 refers to the application activating information of the application “APT” and stores the storage location “t” in the application storage unit 31.
And loads and executes the application “APT”.

【0084】アプリケーション”APT”実行中に、ア
プリケーション”APT”がダイナミックリンクを要求
すると、ダイナミックリンクライブラリリンク手段24
が起動される。
When the application “APT” requests a dynamic link during the execution of the application “APT”, the dynamic link library linking means 24
Is started.

【0085】ダイナミックリンクライブラリリンク手段
24は、ダイナミックリンクを要求したアプリケーショ
ン名をキーとして、ダイナミックリンク情報記憶部34
の対応情報を参照し、ダイナミックリンクライブラリ記
憶部32の格納場所”c”から格納されているダイナミ
ックリンクライブラリ”DLLA”をロードしてダイナ
ミックリンクする。
The dynamic link library linking means 24 uses the name of the application requesting the dynamic link as a key, and
The dynamic link library "DLLA" stored from the storage location "c" of the dynamic link library storage unit 32 is loaded by referring to the corresponding information of the dynamic link library storage unit 32, and dynamically linked.

【0086】ダイナミックリンクした後、アプリケーシ
ョン”APT”の実行が継続される。
After the dynamic link, the execution of the application “APT” is continued.

【0087】このように、アプリケーション起動手段2
3によって起動されたアプリケーションがダイナミック
リンクを要求したとき、ダイナミックリンクライブラリ
リンク手段24がダイナミックリンク情報記憶部34に
登録されている対応情報を基に適切なダイナミックリン
クライブラリをリンクすることにより、ダイナミックリ
ンクライブラリ名が同一でも内容が異なるダイナミック
リンクライブラリを別々のアプリケーションにリンクさ
せ同時に実行することができる。
As described above, the application activating means 2
3, when the application started by the application 3 requests a dynamic link, the dynamic link library linking unit 24 links an appropriate dynamic link library based on the correspondence information registered in the dynamic link information storage unit 34, thereby providing a dynamic link. Dynamic link libraries with the same library name but different contents can be linked to different applications and run simultaneously.

【0088】このことにより、アプリケーションとダイ
ナミックリンクライブラリとの間の異バージョンによる
非互換によって発生するトラブルを事前に防止する効果
を生じる。
As a result, an effect of preventing in advance a trouble caused by incompatibility due to different versions between the application and the dynamic link library is produced.

【0089】また、ダイナミックリンクライブラリの格
納位置によってバージョンを区別するため、アプリケー
ションおよびダイナミックリンクライブラリには、何の
変更も加える必要がない利点が有る。
Further, since the version is distinguished according to the storage position of the dynamic link library, there is an advantage that no change is required for the application and the dynamic link library.

【0090】本発明による上述した実施の形態におい
て、ダイナミックリンクライブラリ制御方式の処理動作
を実行するためのプログラム等を、データとして磁気デ
ィスクや光ディスクなどの記録媒体(図示せず)に記録
するようにし、記録されたデータを読み出してダイナミ
ックリンクライブラリ制御方式を動作させるために用い
る。このように、本発明によるダイナミックリンクライ
ブラリ制御方式を動作させるデータを記録媒体に記録さ
せ、この記録媒体をインストールすることによりダイナ
ミックリンクライブラリ制御方式の機能が実現できるよ
うになる。
In the above-described embodiment of the present invention, a program or the like for executing the processing operation of the dynamic link library control method is recorded as data on a recording medium (not shown) such as a magnetic disk or an optical disk. Read the recorded data and use it to operate the dynamic link library control method. As described above, the data for operating the dynamic link library control method according to the present invention is recorded on a recording medium, and the function of the dynamic link library control method can be realized by installing the recording medium.

【0091】[0091]

【発明の効果】本発明の第1の効果は、ダイナミックリ
ンクライブラリ名が同一でも内容が異なるダイナミック
リンクライブラリを別々のアプリケーションにダイナミ
ックリンクさせ同時に実行することができることであ
る。
A first effect of the present invention is that dynamic link libraries having the same dynamic link library name but different contents can be dynamically linked to different applications and executed simultaneously.

【0092】その理由は、異なるバージョンのダイナミ
ックリンクライブラリを格納する手段を設け、ダイナミ
ックリンク時にアプリケーションと対応づける手段を設
けたからである。
The reason is that a means for storing different versions of the dynamic link library is provided, and a means for associating the application with the application at the time of the dynamic link is provided.

【0093】本発明の第2の効果は、アプリケーション
側(アプリケーション本体およびダイナミックリンクラ
イブラリ)の変更を要しないことである。この結果、既
出荷のアプリケーションに対しても、本発明を適用する
ことができる。
A second effect of the present invention is that no change is required on the application side (application main body and dynamic link library). As a result, the present invention can be applied to already shipped applications.

【0094】その理由は、アプリケーション側の変更を
要しないように、異なるバージョンのダイナミックリン
クライブラリを格納する手段を設け、ダイナミックリン
ク時にアプリケーションと対応づける手段を設けたから
である。
The reason is that a means for storing a different version of the dynamic link library is provided so as not to require a change on the application side, and a means for associating the application with the application at the time of the dynamic link is provided.

【0095】本発明の第3の効果は、ダイナミックリン
クライブラリの格納スペースが必要最小限ですむことで
ある。
A third effect of the present invention is that the storage space for the dynamic link library is minimized.

【0096】その理由は、異なるバージョンのダイナミ
ックリンクライブラリを同一のダイナミックリンクライ
ブラリ記憶部に格納して、アプリケーションから共通に
使用できる手段を設けたからである。
The reason is that different versions of the dynamic link library are stored in the same dynamic link library storage unit, and a means is provided which can be commonly used by applications.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】ダイナミックリンクライブラリ記憶部を説明す
る図
FIG. 2 illustrates a dynamic link library storage unit.

【図3】アプリケーション起動情報の構造を示す図FIG. 3 is a diagram showing a structure of application start information.

【図4】対応情報の構造を示す図FIG. 4 is a diagram showing a structure of correspondence information;

【図5】アプリケーションおよびダイナミックリンクラ
イブラリ格納動作のフローを示す図
FIG. 5 is a diagram showing a flow of an application and a dynamic link library storing operation.

【図6】ダイナミックリンク動作のフローを示す図FIG. 6 is a diagram showing a flow of a dynamic link operation.

【図7】動作を説明する図FIG. 7 is a diagram illustrating an operation.

【図8】従来例の構成を示すブロック図FIG. 8 is a block diagram showing a configuration of a conventional example.

【符号の説明】[Explanation of symbols]

1 入力装置 2 データ処理装置 3 記憶装置 4 データ処理装置 5 記憶装置 21 アプリケーションインストール手段 22 ダイナミックリンクライブラリ登録手段 23 アプリケーション起動手段 24 ダイナミックリンクライブラリリンク手段 31 アプリケーション記憶部 32 ダイナミックリンクライブラリ記憶部 33 アプリケーション起動情報記憶部 34 ダイナミックリンク情報記憶部 41 アプリケーションインストール手段 42 アプリケーション起動手段 43 ダイナミックリンクライブラリリンク手段 51 アプリケーション記憶部 52 ダイナミックリンクライブラリ記憶部 53 アプリケーション起動情報記憶部 REFERENCE SIGNS LIST 1 input device 2 data processing device 3 storage device 4 data processing device 5 storage device 21 application installation means 22 dynamic link library registration means 23 application startup means 24 dynamic link library link means 31 application storage unit 32 dynamic link library storage unit 33 application startup Information storage unit 34 Dynamic link information storage unit 41 Application installation unit 42 Application startup unit 43 Dynamic link library link unit 51 Application storage unit 52 Dynamic link library storage unit 53 Application startup information storage unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションからダイナミックリン
クを要求されるダイナミックリンクライブラリを制御す
るダイナミックリンクライブラリ制御方式であって、バ
ージョンの異なる同一名の複数のダイナミックリンクラ
イブラリを格納するダイナミックリンクライブラリ記憶
手段と、起動されたアプリケーションに対応したバージ
ョンのダイナミックリンクライブラリを前記ダイナミッ
クリンクライブラリ記憶手段から選択してダイナミック
リンクするダイナミックリンク手段と、を備えることを
特徴とするダイナミックリンクライブラリ制御方式。
1. A dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application, comprising: a dynamic link library storing means for storing a plurality of dynamic link libraries having the same name but different versions; Dynamic link means for selecting a dynamic link library of a version corresponding to the selected application from the dynamic link library storage means and dynamically linking the dynamic link library.
【請求項2】 アプリケーションからダイナミックリン
クを要求されるダイナミックリンクライブラリを制御す
るダイナミックリンクライブラリ制御方式であって、ア
プリケーションを格納するアプリケーション記憶部と、
ダイナミックリンクライブラリを格納するダイナミック
リンクライブラリ記憶部と、アプリケーション起動情報
を登録するアプリケーション起動情報記憶部と、アプリ
ケーションとダイナミックリンクライブラリとの対応情
報を登録するダイナミックリンク情報記憶部と、を有
し、アプリケーションインストール手段とアプリケーシ
ョン起動手段に指示を与える入力手段と、前記入力手段
によって指定されたアプリケーションを前記アプリケー
ション記憶部に格納し格納場所をアプリケーション起動
情報として前記アプリケーション起動情報記憶部に登録
しダイナミックリンクライブラリを前記ダイナミックリ
ンクライブラリ記憶部に仮格納するアプリケーションイ
ンストール手段と、前記仮格納されたダイナミックリン
クライブラリを前記ダイナミックリンクライブラリ記憶
部に本格納し前記アプリケーションインストール手段に
よって格納されたアプリケーションと前記本格納された
ダイナミックリンクライブラリとの対応情報を前記ダイ
ナミックリンク情報記憶部に登録するダイナミックリン
クライブラリ登録手段と、前記入力手段によって指定さ
れたアプリケーションを前記アプリケーション起動情報
記憶部のアプリケーション起動情報を基に前記アプリケ
ーション記憶部からロードして起動実行するアプリケー
ション起動手段と、前記アプリケーション起動手段によ
って起動されたアプリケーションがダイナミックリンク
を要求するときに呼び出し元アプリケーション名と前記
ダイナミックリンク情報記憶部の対応情報を基にダイナ
ミックリンクライブラリをダイナミックリンクするダイ
ナミックリンクライブラリリンク手段と、を備えること
を特徴とするダイナミックリンクライブラリ制御方式。
2. A dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application, comprising: an application storage unit for storing the application;
A dynamic link library storage unit for storing a dynamic link library, an application startup information storage unit for registering application startup information, and a dynamic link information storage unit for registering correspondence information between the application and the dynamic link library; An input unit for giving instructions to the installation unit and the application start unit; an application specified by the input unit is stored in the application storage unit; a storage location is registered as the application start information in the application start information storage unit; An application installation unit for temporarily storing the dynamic link library in the dynamic link library storage unit; A dynamic link library registration unit for registering, in the dynamic link information storage unit, correspondence information between an application stored in the dynamic link library storage unit and stored by the application installation unit and the dynamic link library stored in the book; Means for loading the application specified by the means from the application storage unit based on the application start information in the application start information storage unit, and executing the application; and the application started by the application start unit requests a dynamic link. Dynamic link library based on the caller application name and the corresponding information in the dynamic link information storage unit. Dynamic link library control method characterized by comprising a dynamic link library link means, the link to.
【請求項3】 前記ダイナミックリンクライブラリ記憶
部は、前記ダイナミックリンクライブラリが仮格納され
る仮格納領域と前記ダイナミックリンクライブラリが本
格納される本格納領域の2つに分割管理されることを特
徴とする請求項2記載のダイナミックリンクライブラリ
制御方式。
3. The dynamic link library storage unit is divided into two parts, a temporary storage area for temporarily storing the dynamic link library and a main storage area for temporarily storing the dynamic link library. 3. The dynamic link library control method according to claim 2, wherein
【請求項4】 前記本格納領域は、同一名のダイナミッ
クリンクライブラリを格納し得る構造を成すことを特徴
とする請求項3記載のダイナミックリンクライブラリ制
御方式。
4. The dynamic link library control method according to claim 3, wherein said main storage area has a structure capable of storing a dynamic link library having the same name.
【請求項5】 前記ダイナミックリンクライブラリ登録
手段は、前記仮格納されたダイナミックリンクライブラ
リと既に本格納されているダイナミックリンクライブラ
リとを比較し、前記仮格納されたダイナミックリンクラ
イブラリと同一名かつ同一内容のものが存在しないとき
に、前記仮格納されたダイナミックリンクライブラリを
本格納することを特徴とする請求項2記載のダイナミッ
クリンクライブラリ制御方式。
5. The dynamic link library registration means compares the temporarily stored dynamic link library with the already stored dynamic link library, and has the same name and the same contents as the temporarily stored dynamic link library. 3. The dynamic link library control method according to claim 2, wherein the temporary storage of the temporarily stored dynamic link library is performed when no such library exists.
【請求項6】 前記対応情報は、前記アプリケーション
名と前記本格納されたダイナミックリンクライブラリ名
と前記本格納されたダイナミックリンクライブラリ格納
場所とから成ることを特徴とする請求項2記載のダイナ
ミックリンクライブラリ制御方式。
6. The dynamic link library according to claim 2, wherein the correspondence information includes the application name, the name of the book-stored dynamic link library, and the location of the book-stored dynamic link library. control method.
【請求項7】 アプリケーションからダイナミックリン
クを要求されるダイナミックリンクライブラリを制御す
るダイナミックリンクライブラリ制御方法であって、ア
プリケーションをアプリケーション記憶部に格納してア
プリケーション名とアプリケーション格納場所をアプリ
ケーション起動情報としてアプリケーション起動情報記
憶部に登録し、ダイナミックリンクライブラリをダイナ
ミックリンクライブラリ記憶部に仮格納し、前記仮格納
されたダイナミックリンクライブラリと既にダイナミッ
クリンクライブラリ記憶部に本格納されているダイナミ
ックリンクライブラリとを比較し前記仮格納されたダイ
ナミックリンクライブラリと同一名かつ同一内容のもの
が存在しないときに前記仮格納されたダイナミックリン
クライブラリをダイナミックリンクライブラリ記憶部に
本格納し、前記アプリケーション名と前記本格納された
ダイナミックリンクライブラリ名と本格納されたダイナ
ミックリンクライブラリ格納場所を対応情報としてダイ
ナミックリンク情報記憶部に登録し、起動指定されたア
プリケーションを前記アプリケーション起動情報を参照
してアプリケーション記憶部からロードして起動実行
し、前記実行中のアプリケーションがダイナミックリン
クを要求したときに前記アプリケーション名をキーとし
て前記対応情報を参照し、前記対応情報に登録されてい
るダイナミックリンクライブラリをダイナミックリンク
する、ことを特徴とするダイナミックリンクライブラリ
制御方法。
7. A dynamic link library control method for controlling a dynamic link library requiring a dynamic link from an application, wherein the application is stored in an application storage unit, and an application name and an application storage location are used as application startup information as application startup information. The dynamic link library is temporarily stored in the dynamic link library storage unit, and the temporarily stored dynamic link library is compared with the dynamic link library already stored in the dynamic link library storage unit. When there is no one having the same name and the same content as the temporarily stored dynamic link library, the temporarily stored dynamic link library is deleted. The application name, the stored dynamic link library name, and the stored dynamic link library storage location are registered in the dynamic link information storage unit as the corresponding information, and the startup is designated. Loading the application from the application storage unit with reference to the application start information and executing the application, and when the running application requests a dynamic link, refers to the correspondence information using the application name as a key, and Dynamically linking a dynamic link library registered in the system.
【請求項8】 アプリケーションをアプリケーション記
憶部に格納してアプリケーション名とアプリケーション
格納場所をアプリケーション起動情報としてアプリケー
ション起動情報記憶部に登録するアプリケーション格納
処理と、ダイナミックリンクライブラリをダイナミック
リンクライブラリ記憶部に仮格納するダイナミックリン
クライブラリ仮格納処理と、前記仮格納されたダイナミ
ックリンクライブラリと既にダイナミックリンクライブ
ラリ記憶部に本格納されているダイナミックリンクライ
ブラリとを比較し前記仮格納されたダイナミックリンク
ライブラリと同一名かつ同一内容のものが存在しないと
きに前記仮格納されたダイナミックリンクライブラリを
ダイナミックリンクライブラリ記憶部に本格納するダイ
ナミックリンクライブラリ本格納処理と、前記アプリケ
ーション名と前記本格納されたダイナミックリンクライ
ブラリ名と本格納されたダイナミックリンクライブラリ
格納場所を対応情報としてダイナミックリンク情報記憶
部に登録する対応情報登録処理と、起動指定されたアプ
リケーションを前記アプリケーション起動情報を参照し
てアプリケーション記憶部からロードして起動実行する
アプリケーション起動処理と、前記実行中のアプリケー
ションがダイナミックリンクを要求したときに前記アプ
リケーション名をキーとして前記対応情報を参照する対
応情報参照処理と、前記対応情報に登録されているダイ
ナミックリンクライブラリをダイナミックリンクするダ
イナミックリンク処理と、をコンピュータに実行させる
ためのプログラムを記録したことを特徴とする記録媒
体。
8. An application storage process for storing an application in an application storage unit and registering the application name and the application storage location in the application startup information storage unit as application startup information, and temporarily storing a dynamic link library in the dynamic link library storage unit. Dynamic link library temporary storage processing, and comparing the temporarily stored dynamic link library with the dynamic link library already stored in the dynamic link library storage unit, and comparing the temporarily stored dynamic link library with the same name and the same name as the temporarily stored dynamic link library. A dynamic link library for temporarily storing the temporarily stored dynamic link library in a dynamic link library storage unit when there is no content. Library book storage processing, correspondence information registration processing for registering the application name, the book-stored dynamic link library name, and the book-stored dynamic link library storage location in the dynamic link information storage unit as correspondence information, Application startup processing for loading and executing the application that has been loaded from the application storage unit with reference to the application startup information, and referring to the corresponding information using the application name as a key when the running application requests a dynamic link. And a dynamic link process for dynamically linking a dynamic link library registered in the correspondence information. Recording medium according to.
JP33403099A 1999-11-25 1999-11-25 Dynamic link library control method, method and recording medium Expired - Fee Related JP3570940B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33403099A JP3570940B2 (en) 1999-11-25 1999-11-25 Dynamic link library control method, method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33403099A JP3570940B2 (en) 1999-11-25 1999-11-25 Dynamic link library control method, method and recording medium

Publications (2)

Publication Number Publication Date
JP2001154831A true JP2001154831A (en) 2001-06-08
JP3570940B2 JP3570940B2 (en) 2004-09-29

Family

ID=18272728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33403099A Expired - Fee Related JP3570940B2 (en) 1999-11-25 1999-11-25 Dynamic link library control method, method and recording medium

Country Status (1)

Country Link
JP (1) JP3570940B2 (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222524A (en) * 2004-02-05 2005-08-18 Microsoft Corp How to provide the requesting component with access to the appropriate version of the target component
US7421438B2 (en) * 2004-04-29 2008-09-02 Microsoft Corporation Metadata editing control
US7519951B2 (en) 2003-09-30 2009-04-14 International Business Machines Corporation Multi-attribute dynamic link library packaging
US7614016B2 (en) 2005-04-21 2009-11-03 Microsoft Corporation Multiple roots in navigation pane
US7627552B2 (en) 2003-03-27 2009-12-01 Microsoft Corporation System and method for filtering and organizing items based on common elements
US7650575B2 (en) 2003-03-27 2010-01-19 Microsoft Corporation Rich drag drop user interface
US7657846B2 (en) 2004-04-23 2010-02-02 Microsoft Corporation System and method for displaying stack icons
US7694236B2 (en) 2004-04-23 2010-04-06 Microsoft Corporation Stack icons representing multiple objects
US7712034B2 (en) 2003-03-24 2010-05-04 Microsoft Corporation System and method for shell browser
US7769794B2 (en) 2003-03-24 2010-08-03 Microsoft Corporation User interface for a file system shell
US7823077B2 (en) 2003-03-24 2010-10-26 Microsoft Corporation System and method for user modification of metadata in a shell browser
US7925682B2 (en) 2003-03-27 2011-04-12 Microsoft Corporation System and method utilizing virtual folders
US8024335B2 (en) 2004-05-03 2011-09-20 Microsoft Corporation System and method for dynamically generating a selectable search extension
US8195646B2 (en) 2005-04-22 2012-06-05 Microsoft Corporation Systems, methods, and user interfaces for storing, searching, navigating, and retrieving electronic information
US8209624B2 (en) 2003-04-17 2012-06-26 Microsoft Corporation Virtual address bar user interface control
JP2013186779A (en) * 2012-03-09 2013-09-19 Nec Corp Information processor and program execution method
US8707209B2 (en) 2004-04-29 2014-04-22 Microsoft Corporation Save preview representation of files being created
JP2016091460A (en) * 2014-11-10 2016-05-23 日本電気株式会社 Information processor and library loading method, and computer program
WO2017048756A1 (en) * 2015-09-14 2017-03-23 Mastercard International Incorporated Isolating applications with a segmented architecture
US10489044B2 (en) 2005-07-13 2019-11-26 Microsoft Technology Licensing, Llc Rich drag drop user interface
JP2020049699A (en) * 2018-09-25 2020-04-02 コニカミノルタ株式会社 Image processor, and method and program for processing library included in application
JP2020049700A (en) * 2018-09-25 2020-04-02 コニカミノルタ株式会社 Image processor, and method and program for processing library included in application

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769794B2 (en) 2003-03-24 2010-08-03 Microsoft Corporation User interface for a file system shell
US7823077B2 (en) 2003-03-24 2010-10-26 Microsoft Corporation System and method for user modification of metadata in a shell browser
US7712034B2 (en) 2003-03-24 2010-05-04 Microsoft Corporation System and method for shell browser
US9361313B2 (en) 2003-03-27 2016-06-07 Microsoft Technology Licensing, Llc System and method for filtering and organizing items based on common elements
US9361312B2 (en) 2003-03-27 2016-06-07 Microsoft Technology Licensing, Llc System and method for filtering and organizing items based on metadata
US8117226B2 (en) 2003-03-27 2012-02-14 Microsoft Corporation System and method for virtual folder sharing including utilization of static and dynamic lists
US7627552B2 (en) 2003-03-27 2009-12-01 Microsoft Corporation System and method for filtering and organizing items based on common elements
US7650575B2 (en) 2003-03-27 2010-01-19 Microsoft Corporation Rich drag drop user interface
US7925682B2 (en) 2003-03-27 2011-04-12 Microsoft Corporation System and method utilizing virtual folders
US8209624B2 (en) 2003-04-17 2012-06-26 Microsoft Corporation Virtual address bar user interface control
US7519951B2 (en) 2003-09-30 2009-04-14 International Business Machines Corporation Multi-attribute dynamic link library packaging
US8136092B2 (en) 2003-09-30 2012-03-13 International Business Machines Corporation Multi-attribute dynamic link library packaging
JP2005222524A (en) * 2004-02-05 2005-08-18 Microsoft Corp How to provide the requesting component with access to the appropriate version of the target component
US7657846B2 (en) 2004-04-23 2010-02-02 Microsoft Corporation System and method for displaying stack icons
US7694236B2 (en) 2004-04-23 2010-04-06 Microsoft Corporation Stack icons representing multiple objects
US7421438B2 (en) * 2004-04-29 2008-09-02 Microsoft Corporation Metadata editing control
US8661036B2 (en) 2004-04-29 2014-02-25 Microsoft Corporation Metadata editing control
US8707209B2 (en) 2004-04-29 2014-04-22 Microsoft Corporation Save preview representation of files being created
US8972342B2 (en) 2004-04-29 2015-03-03 Microsoft Corporation Metadata editing control
US8024335B2 (en) 2004-05-03 2011-09-20 Microsoft Corporation System and method for dynamically generating a selectable search extension
US7614016B2 (en) 2005-04-21 2009-11-03 Microsoft Corporation Multiple roots in navigation pane
US8195646B2 (en) 2005-04-22 2012-06-05 Microsoft Corporation Systems, methods, and user interfaces for storing, searching, navigating, and retrieving electronic information
US10489044B2 (en) 2005-07-13 2019-11-26 Microsoft Technology Licensing, Llc Rich drag drop user interface
JP2013186779A (en) * 2012-03-09 2013-09-19 Nec Corp Information processor and program execution method
JP2016091460A (en) * 2014-11-10 2016-05-23 日本電気株式会社 Information processor and library loading method, and computer program
WO2017048756A1 (en) * 2015-09-14 2017-03-23 Mastercard International Incorporated Isolating applications with a segmented architecture
US9798537B2 (en) 2015-09-14 2017-10-24 Mastercard International Incorporated Isolating applications with a segmented architecture
JP2018532186A (en) * 2015-09-14 2018-11-01 マスターカード インターナシヨナル インコーポレーテツド Application isolation with a split structure
JP2020049699A (en) * 2018-09-25 2020-04-02 コニカミノルタ株式会社 Image processor, and method and program for processing library included in application
JP2020049700A (en) * 2018-09-25 2020-04-02 コニカミノルタ株式会社 Image processor, and method and program for processing library included in application
JP7103112B2 (en) 2018-09-25 2022-07-20 コニカミノルタ株式会社 Image processing device, application inclusion library processing method and program
JP7103113B2 (en) 2018-09-25 2022-07-20 コニカミノルタ株式会社 Image processing device, application inclusion library processing method and program

Also Published As

Publication number Publication date
JP3570940B2 (en) 2004-09-29

Similar Documents

Publication Publication Date Title
JP3570940B2 (en) Dynamic link library control method, method and recording medium
US11681535B2 (en) Linking virtualized application namespaces at runtime
KR101099337B1 (en) Driver-specific context for kernel-mode shimming
US6397381B1 (en) System and method for repairing a damaged application program
US8074231B2 (en) Configuration of isolated extensions and device drivers
US6427227B1 (en) System, method, and computer-readable medium for repairing an application program that has been patched
US6353928B1 (en) First run installer
US7523472B2 (en) Method and systems for DLL/COM redirection
US6349408B1 (en) Techniques for implementing a framework for extensible applications
KR100330532B1 (en) Dynamic Boot File System Selection Methods and Devices
US20010039612A1 (en) Apparatus and method for fast booting
US8181166B2 (en) System and method for determining when an EJB compiler needs to be executed
US20040088531A1 (en) Methods and apparatus for configuring hardware resources in a pre-boot environment without requiring a system reset
CN115495158B (en) Dynamic construction method for system service in microkernel operating system
US8196128B2 (en) System and method for providing a filtering classloader in a computer environment
US20090144711A1 (en) System and method for common compiler services based on an open services gateway initiative architecture
US20030182460A1 (en) Managed code modules dynamically invoking unmanaged code modules at arbitrary locations
US20060161898A1 (en) Method and system for project library dependency management
CN114780173B (en) Method for loading plug-in application, computing device and storage medium
US7155701B1 (en) System for dynamically constructing an executable computer program
US6907604B1 (en) Instant integration model
WO2011157105A2 (en) Method and device for component expansion
US8312472B2 (en) Program startup apparatus and method
JP2005284925A (en) Computer system and program update method
JP2000148413A (en) Verification for configuration of storage device based on device identifier

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040510

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040622

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees