JP2001337935A - Application wrapping method in dispersed object environment, its communication management device, and recording medium - Google Patents

Application wrapping method in dispersed object environment, its communication management device, and recording medium

Info

Publication number
JP2001337935A
JP2001337935A JP2000153678A JP2000153678A JP2001337935A JP 2001337935 A JP2001337935 A JP 2001337935A JP 2000153678 A JP2000153678 A JP 2000153678A JP 2000153678 A JP2000153678 A JP 2000153678A JP 2001337935 A JP2001337935 A JP 2001337935A
Authority
JP
Japan
Prior art keywords
application
distributed object
object environment
wrapping
environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000153678A
Other languages
Japanese (ja)
Inventor
Takeshi Nishida
武史 西田
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2000153678A priority Critical patent/JP2001337935A/en
Publication of JP2001337935A publication Critical patent/JP2001337935A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To update wrapper program operation without any alteration of a wrapper program itself even when definition information necessary for wrapping is changed in wrapping over a dispersed object environment of application on a non-dispersed object environment. SOLUTION: When a general-purpose wrapper program 121 refers to a definition information storage part 141 storing definition information necessary for wrapping, operation of the general-purpose wrapper program 121 is decided. When information necessary for the wrapping such as server application 101 to be wrapped and an interface for a client application 111 is changed, the definition information in the definition information storage part 141 is changed without changing any general-purpose wrapper program 121 itself, so that operation of the general-purpose wrapper program 121 can be changed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、分散オブジェクト
環境におけるアプリケーションのラッピング方法ならび
にその通信管理装置および同方法がプログラムされ記録
された記録媒体に関し、特に、非分散オブジェクト環境
上に存在するアプリケーションと分散オブジェクト環境
上のアプリケーションとの間で、一方が他方に処理を要
求し、処理を要求されたアプリケーションが処理を要求
したアプリケーションに処理結果を返すことのできる、
分散オブジェクト環境におけるアプリケーションのラッ
ピング方法ならびにその通信管理装置および同方法がプ
ログラムされ記録された記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of wrapping an application in a distributed object environment, and a communication management apparatus and a recording medium in which the method is programmed and recorded. With the application in the object environment, one can request the other, and the requested application can return the processing result to the requested application.
The present invention relates to a method of wrapping an application in a distributed object environment, a communication management device thereof, and a recording medium on which the method is programmed and recorded.

【0002】[0002]

【従来の技術】OMG(Object Management Group)
が提唱しているCORBA(Common Object Request
Broker Architecture)に代表される分散オブジェク
ト環境において、例えば汎用コンピュータ上のトランザ
クションシステムのような既存の非分散オブジェクト環
境のアプリケーションを分散オブジジェクト環境上で利
用する方法として、非分散オブジェクト環境のアプリケ
ーションへの入出力を分散オブジェクト環境上のインタ
ーフェースに変換する方法がある。上記のようにして、
非分散オブジェクト環境上のアプリケーションを分散オ
ブジェクト環境上のオブジェクトにみせかけることをラ
ッピングといい、また、これを実現する機能部をラッパ
ーという。
2. Description of the Related Art OMG (Object Management Group)
CORBA (Common Object Request)
In a distributed object environment represented by the Broker Architecture, for example, a method of using an existing non-distributed object environment application, such as a transaction system on a general-purpose computer, in a distributed object environment can be applied to a non-distributed object environment application. There is a method of converting input / output into an interface on a distributed object environment. As above,
The appearance of an application in a non-distributed object environment as an object in a distributed object environment is called wrapping, and a functional unit for realizing this is called a wrapper.

【0003】ラッピングシステムの一例を図8に示す。
図に示すように、ラッピングシステムは、サーバコンピ
ュータ100と、クライアントコンピュータ110と、
通信管理装置120と、分散オブジェクトネットワーク
130と、記憶装置140と、オブジェクト管理サーバ
コンピュータ150とから構成されている。サーバコン
ピュータ100は、サーバアプリケーション101を備
えている。サーバアプリケーション101は、サーバコ
ンピュータ100の外部への入出力インターフェースを
持ち、外部からの要求に応じてある特定の処理を実行
し、その実行結果を返すプログラムである。クライアン
トコンピュータ110は、クライアントアプリケーショ
ン111を備えている。クライアントアプリケーション
111は、クライアントコンピュータ110の外部への
入出力インターフェースを持ち、サーバアプリケーショ
ン101に処理を要求し、その結果を反映するような、
ある特定の処理を行うプログラムである。
FIG. 8 shows an example of a wrapping system.
As shown, the wrapping system includes a server computer 100, a client computer 110,
It comprises a communication management device 120, a distributed object network 130, a storage device 140, and an object management server computer 150. The server computer 100 includes a server application 101. The server application 101 is a program having an input / output interface to the outside of the server computer 100, executing a specific process in response to a request from the outside, and returning an execution result. The client computer 110 has a client application 111. The client application 111 has an input / output interface to the outside of the client computer 110, requests the server application 101 for processing, and reflects the result.
This is a program that performs a specific process.

【0004】通信管理装置120は、ラッパープログラ
ム122を備えている。ラッパープログラム122は、
ラッパーソースコード生成手段123およびコンパイラ
125によって生成され、クライアントアプリケーショ
ン111のインターフェースとサーバアプリケーション
101のインターフェースとの間の変換と、通信管理を
行うプログラムである。記憶装置140は、定義情報格
納部141を備えている。定義情報格納部141は、サ
ーバアプリケーション101のインターフェース情報な
どといった、非分散オブジェクト環境上のアプリケーシ
ョンに対するラッピングに必要な定義情報を格納してい
る機能部である。
The communication management device 120 has a wrapper program 122. The wrapper program 122 is
This is a program generated by the wrapper source code generation unit 123 and the compiler 125, and performs conversion between the interface of the client application 111 and the interface of the server application 101 and communication management. The storage device 140 includes a definition information storage unit 141. The definition information storage unit 141 is a functional unit that stores definition information necessary for wrapping an application in a non-distributed object environment, such as interface information of the server application 101.

【0005】オブジェクト管理サーバコンピュータ15
0は、オブジェクト管理サービス151を備えている。
オブジェクト管理サービス151は、分散オブジェクト
環境上のオブジェクトを一意に識別するための情報を管
理するプログラムで、クライアントプログラムは、オブ
ジェクト管理サービス151に問い合わせることによっ
て、オブジェクトを一意に識別するための情報を取得す
ることができ、この情報をもちいることで、目的のオブ
ジェクトに処理を要求することができる。
[0005] Object management server computer 15
0 has an object management service 151.
The object management service 151 is a program for managing information for uniquely identifying an object in a distributed object environment. A client program obtains information for uniquely identifying an object by inquiring of the object management service 151. By using this information, it is possible to request processing of the target object.

【0006】このような構成を有する従来のラッピング
システムは次のように動作する。まず、ラッパーソース
コード生成手段123は、定義情報格納部141に格納
されている定義情報を参照して、ラッパーソースコード
124を生成する。そして、ラッパーソースコード12
4をコンパイラ125でコンパイル、リンクすること
で、ラッパープログラム122を生成する。
[0006] The conventional wrapping system having such a configuration operates as follows. First, the wrapper source code generation unit 123 generates the wrapper source code 124 with reference to the definition information stored in the definition information storage unit 141. And the wrapper source code 12
4 is compiled and linked by the compiler 125 to generate the wrapper program 122.

【0007】生成されたラッパープログラム122は、
サーバアプリケーション101用のオブジェクトをオブ
ジェクト管理サービス151に登録する。クライアント
アプリケーション111は、オブジェクト管理サービス
151上にあるオブジェクト情報を参照することで、ラ
ッパープログラム122と通信を行う。クライアントア
プリケーション111から入力データを受け取ったラッ
パープログラム122は、その入力データをサーバアプ
リケーション101の入力形式に変換して、サーバアプ
リケーション101に渡す。サーバアプリケーション1
01がラッパープログラム122に出力データを返す
と、ラッパープログラム122は、その出力データをク
ライアントアプリケーション111が要求している形式
に変換して返す。
[0007] The generated wrapper program 122 includes:
An object for the server application 101 is registered in the object management service 151. The client application 111 communicates with the wrapper program 122 by referring to the object information on the object management service 151. The wrapper program 122 that has received the input data from the client application 111 converts the input data into the input format of the server application 101 and passes it to the server application 101. Server application 1
When 01 returns the output data to the wrapper program 122, the wrapper program 122 converts the output data into a format required by the client application 111 and returns it.

【0008】以上の処理を行うことで、分散オブジェク
ト環境上にあるクライアントアプリケーション111か
ら非分散オブジェクト環境下のサーバアプリケーション
101を利用することが可能になる。
By performing the above processing, it becomes possible for the client application 111 on the distributed object environment to use the server application 101 on the non-distributed object environment.

【0009】[0009]

【発明が解決しようとする課題】上述した従来技術によ
れば、ラッピング対象となる非分散オブジェクト環境上
のアプリケーションのインターフェースや、非分散オブ
ジェクト環境上のアプリケーションとの処理の受け渡し
を行う分散オブジェクト環境上のアプリケーション、非
分散オブジェクト環境や分散オブジェクト環境上の通信
に関する定義など、ラッパーが必要とする定義情報が1
つでも変化するときに、ラッパープログラムそのものも
再度生成しなおさなければならない。すなわち、従来の
ラッピング方法によれば、ラッピングに必要な各定義情
報を基にして、それに対応したラッパープログラムのソ
ースコードを生成し、それをコンパイル、リンクすると
いう方式をとっていたため、ラッパーが必要とする定義
情報が1つでも変化するときに、ラッパープログラムそ
のものも再度生成し直す必要がある。したがって、プロ
グラマに対する負担が大きく、効率が悪かった。
According to the above-mentioned prior art, an interface of an application in a non-distributed object environment to be wrapped, and a distributed object environment for transferring processing to and from an application in the non-distributed object environment. The definition information required by the wrapper, such as the definition of applications in the non-distributed object environment and communication in the distributed object environment, is 1
Whenever it changes, the wrapper program itself must be regenerated. In other words, according to the conventional wrapping method, based on each definition information required for wrapping, a method of generating a corresponding wrapper program source code, compiling and linking the source code is adopted, so a wrapper is required. When even one piece of definition information changes, the wrapper program itself needs to be generated again. Therefore, the burden on the programmer was large and the efficiency was low.

【0010】本発明は上記事情に鑑みてなされたもので
あり、非分散オブジェクト環境上に存在するアプリケー
ションを前記分散オブジェクト環境上のオブジェクトと
してラッピングするために必要な情報を参照することに
よって前記非分散オブジェクト環境上に存在するアプリ
ケーションのラッピングの方法を決定し、その方法に従
って動作を決定することにより、ラッピングに必要な定
義情報に変更が生じても、ラッパープログラムのオブジ
ェクトコードを再度生成することなしに、ラッパープロ
グラムの動作を更新することができる、分散オブジェク
ト環境におけるアプリケーションのラッピング方法なら
びにその通信管理装置および同方法がプログラムされ記
録された記録媒体を提供することを目的とする。
The present invention has been made in view of the above circumstances, and refers to information necessary for wrapping an application existing on a non-distributed object environment as an object on the distributed object environment, thereby making the non-distributed object available. By determining the wrapping method of the application that exists on the object environment and determining the operation according to the method, even if the definition information required for wrapping changes, without regenerating the object code of the wrapper program It is an object of the present invention to provide a method of wrapping an application in a distributed object environment capable of updating the operation of a wrapper program, a communication management device therefor, and a recording medium on which the method is programmed and recorded.

【0011】[0011]

【課題を解決するための手段】上述した課題を解決する
ために請求項1に記載の発明は、非分散オブジェクト環
境上に存在する少なくとも1個のアプリケーションを分
散オブジェクト環境上のオブジェクトとして利用できる
ように、それぞれのアプリケーション間で処理の受け渡
しを行う分散オブジェクト環境におけるアプリケーショ
ンのラッピング方法であって、非分散オブジェクト環境
上に存在するアプリケーションを分散オブジェクト環境
上のオブジェクトとしてラッピングするために必要な情
報を参照することによって非分散オブジェクト環境上に
存在するアプリケーションのラッピングの方法を決定
し、その方法に従って動作を決定することとした。この
ことにより、ラッパープログラムがインターフェースの
定義情報を参照して動作するため、その定義情報を変更
するだけで、インターフェースの変更がラッパープログ
ラムに反映され、したがって、非分散もしくは分散オブ
ジェクト環境内のアプリケーションのインターフェース
に変更が生じた際に、ラッパープログラム自身には何も
手を加えることなしに、ラッパープログラムに対してイ
ンターフェースの変更を反映できる。
According to an aspect of the present invention, at least one application existing in a non-distributed object environment can be used as an object in a distributed object environment. A method of wrapping an application in a distributed object environment in which processing is passed between applications, and refers to information necessary for wrapping an application existing in a non-distributed object environment as an object in the distributed object environment. As a result, the method of wrapping the application existing on the non-distributed object environment is determined, and the operation is determined according to the method. As a result, since the wrapper program operates with reference to the definition information of the interface, the change of the interface is reflected in the wrapper program only by changing the definition information, and therefore, the application of the application in the non-distributed or distributed object environment is changed. When a change occurs in the interface, the interface change can be reflected in the wrapper program without changing the wrapper program itself.

【0012】請求項2に記載の発明は、請求項1に記載
の分散オブジェクト環境におけるアプリケーションのラ
ッピング方法において、ラッピングは、分散オブジェク
ト環境上の利用可能オブジェクトを管理しているオブジ
ェクト管理サービスに対して非分散オブジェクト環境上
に存在するアプリケーションの登録もしくは削除を行
い、分散オブジェクト環境上に存在するアプリケーショ
ンから送られてきた電文の形式を前記非分散オブジェク
ト環境上に存在するアプリケーションへ送る電文形式に
変換し、非分散オブジェクト環境上に存在するアプリケ
ーションから送られてきた電文の形式を前記分散オブジ
ェクト環境上に存在するアプリケーションへ送る電文形
式に変換することとした。このことにより、ラッパープ
ログラムが分散オブジェクト環境内および非分散オブジ
ェクト環境内の通信に関する定義情報を参照して動作す
るため、その定義情報を変更するだけで、通信定義の変
更がラッパープログラムに反映されことから、分散オブ
ジェクト環境内および非分散オブジェクト環境内の通信
に関する定義に変更が生じた際に、ラッパープログラム
自身には何も手を加えることなしに、ラッパープログラ
ムに対して通信定義の変更を反映できる。
According to a second aspect of the present invention, in the method for wrapping an application in a distributed object environment according to the first aspect, the wrapping is performed on an object management service which manages an available object on the distributed object environment. Registers or deletes an application that exists on the non-distributed object environment, and converts the format of a message sent from the application that exists on the distributed object environment into a message format that is sent to the application that exists on the non-distributed object environment. In addition, the format of a message sent from an application existing on the non-distributed object environment is converted into a message format sent to an application existing on the distributed object environment. As a result, since the wrapper program operates by referring to the definition information regarding the communication in the distributed object environment and the non-distributed object environment, the change in the communication definition is reflected in the wrapper program only by changing the definition information. As a result, when the definition of communication in the distributed object environment and the non-distributed object environment changes, the change of the communication definition can be reflected to the wrapper program without changing the wrapper program itself. .

【0013】請求項3に記載の発明は、請求項1または
請求項2に記載の分散オブジェクト環境におけるアプリ
ケーションのラッピング方法において、更に、ラッピン
グに必要な情報から分散オブジェクト環境上に存在する
アプリケーションの作成を支援するインターフェース定
義情報を作成することとした。このことにより、あらか
じめ格納されているインターフェース情報から、分散オ
ブジェクト環境上でのインターフェース定義である、例
えばIDLを自動的に作成することによって、非分散オ
ブジェクト環境上のアプリケーションを利用する分散オ
ブジェクト環境内のクライアントアプリケーションを作
成する手間を軽減することができることもできる。
According to a third aspect of the present invention, there is provided the method for wrapping an application in a distributed object environment according to the first or second aspect, further comprising creating an application existing on the distributed object environment from information necessary for wrapping. It was decided to create interface definition information to support. As a result, an interface definition in the distributed object environment, for example, an IDL is automatically created from the interface information stored in advance, thereby automatically creating an interface definition in the distributed object environment using the application in the non-distributed object environment. It is also possible to reduce the trouble of creating a client application.

【0014】請求項4に記載の発明は、非分散オブジェ
クト環境上に存在する少なくとも1個のアプリケーショ
ンを分散オブジェクト環境上のオブジェクトとして利用
できるように、それぞれのアプリケーション間で処理の
受け渡しを行う通信管理装置であって、非分散オブジェ
クト環境上に存在するアプリケーションを分散オブジェ
クト環境上に存在するオブジェクトとしてラッピングす
るために必要な情報を参照することによって非分散オブ
ジェクト環境上に存在するアプリケーションのラッピン
グ方法を決定し、その方法に従って動作を決定するラッ
ピング手段を備えることとした。上記構成により、ラッ
パープログラムがインターフェースの定義情報を参照し
て動作するため、その定義情報を変更するだけで、イン
ターフェースの変更がラッパープログラムに反映され、
したがって、非分散もしくは分散オブジェクト環境内の
アプリケーションのインターフェースに変更が生じた際
に、ラッパープログラム自身には何も手を加えることな
しに、ラッパープログラムに対してインターフェースの
変更を反映できる。このため、非分散もしくは分散オブ
ジェクト環境内のアプリケーションのインターフェース
に変更が生じた際にプログラマの負担を大幅に軽減した
つウ新管理装置を提供でき、効率のよいラッピングシス
テムを構築できる。
According to a fourth aspect of the present invention, there is provided a communication management system for transferring processing between applications so that at least one application existing in a non-distributed object environment can be used as an object in a distributed object environment. The apparatus determines a wrapping method of an application existing in a non-distributed object environment by referring to information necessary for wrapping an application existing in the non-distributed object environment as an object existing in the distributed object environment. Then, a wrapping means for determining an operation according to the method is provided. According to the above configuration, the wrapper program operates with reference to the definition information of the interface. Therefore, just by changing the definition information, the change of the interface is reflected in the wrapper program,
Therefore, when a change occurs in the interface of the application in the non-distributed or distributed object environment, the change in the interface can be reflected on the wrapper program without changing the wrapper program itself. Therefore, it is possible to provide a new management device that greatly reduces the load on the programmer when the interface of the application in the non-distributed or distributed object environment is changed, and it is possible to construct an efficient wrapping system.

【0015】請求項5に記載の発明は、請求項4に記載
の通信管理装置において、ラッピング手段は、分散オブ
ジェクト環境上に存在する利用可能オブジェクトを管理
しているオブジェクト管理サービスに対して前記非分散
オブジェクト環境上に存在するアプリケーションの登録
もしくは削除をする手段と、分散オブジェクト環境上に
存在するアプリケーションから送られてきた電文の形式
を前記非分散オブジェクト環境上に存在するアプリケー
ションへ送る電文形式に変換する手段と、非分散オブジ
ェクト環境上にあるアプリケーションから送られてきた
電文の形式を前記分散オブジェクト環境上に存在するア
プリケーションへ送る電文形式に変換する手段とを含む
こととした。上記構成により、ラッパープログラムが分
散オブジェクト環境内および非分散オブジェクト環境内
の通信に関する定義情報を参照して動作するため、その
定義情報を変更するだけで、通信定義の変更がラッパー
プログラムに反映されことから、分散オブジェクト環境
内および非分散オブジェクト環境内の通信に関する定義
に変更が生じた際に、ラッパープログラム自身には何も
手を加えることなしに、ラッパープログラムに対して通
信定義の変更を反映できる。このため、分散オブジェク
ト環境内および非分散オブジェクト環境内の通信に関す
る定義に変更が生じた際にプログラマの負担を大幅に軽
減した通信管理装置を提供でき、効率のよいラッピング
システムを構築できる。
According to a fifth aspect of the present invention, in the communication management apparatus according to the fourth aspect, the wrapping means is configured to perform the non-operation with respect to an object management service which manages an available object existing in a distributed object environment. Means for registering or deleting an application existing on the distributed object environment, and converting a format of a message sent from the application existing on the distributed object environment into a message format to be sent to the application existing on the non-distributed object environment And means for converting the format of a message sent from an application on the non-distributed object environment into a message format to be sent to an application on the distributed object environment. With the above configuration, since the wrapper program operates by referring to the definition information regarding the communication in the distributed object environment and the non-distributed object environment, the change in the communication definition is reflected in the wrapper program only by changing the definition information. As a result, when the definition of communication in the distributed object environment and the non-distributed object environment changes, the change of the communication definition can be reflected to the wrapper program without changing the wrapper program itself. . Therefore, it is possible to provide a communication management device that greatly reduces the load on the programmer when the definition of communication in the distributed object environment and the non-distributed object environment is changed, and it is possible to construct an efficient wrapping system.

【0016】請求項6に記載の発明は、請求項4または
請求項5に記載の通信管理装置において、ラッピング手
段は、ラッピングに必要な情報から分散オブジェクト環
境上に存在するアプリケーションの作成を支援するイン
ターフェース定義情報を作成する手段を更に含むことと
した。上記構成により、あらかじめ格納されているイン
ターフェース情報から、分散オブジェクト環境上でのイ
ンターフェース定義である、例えばIDLを自動的に作
成することによって、非分散オブジェクト環境上のアプ
リケーションを利用する分散オブジェクト環境内のクラ
イアントアプリケーションを作成する手間を軽減した通
信管理装置を提供でき、また、効率のよいラッピングシ
ステムを構築できる。
According to a sixth aspect of the present invention, in the communication management apparatus according to the fourth or fifth aspect, the wrapping means supports creation of an application existing on the distributed object environment from information necessary for wrapping. Means for creating interface definition information is further included. With the above configuration, an interface definition in a distributed object environment, for example, an IDL, is automatically created from interface information stored in advance, so that an interface definition in a distributed object environment using an application in a non-distributed object environment is created. It is possible to provide a communication management device that reduces the trouble of creating a client application, and to construct an efficient wrapping system.

【0017】請求項7に記載の発明は、非分散オブジェ
クト環境上に存在する少なくとも1個のアプリケーショ
ンを分散オブジェクト環境上のオブジェクトとして利用
できるように、それぞれのアプリケーション間で処理の
受け渡しを行う、分散オブジェクト環境におけるアプリ
ケーションのラッピング処理を行うプログラムであっ
て、非分散オブジェクト環境上に存在するアプリケーシ
ョンを前記分散オブジェクト環境上のオブジェクトとし
てラッピングするために必要な情報を参照するステップ
と、参照ステップによって前記非分散オブジェクト環境
上に存在するアプリケーションのラッピング方法を決定
し、それに従って動作を決定するステップとがプログラ
ムされ記録されることとした。上記したプログラムをコ
ンピュータが読み出し実行することにより、ラッパープ
ログラムがインターフェースの定義情報を参照して動作
するため、その定義情報を変更するだけで、インターフ
ェースの変更がラッパープログラムに反映され、したが
って、非分散もしくは分散オブジェクト環境内のアプリ
ケーションのインターフェースに変更が生じた際に、ラ
ッパープログラム自身には何も手を加えることなしに、
ラッパープログラムに対してインターフェースの変更を
反映できる。このため、分散オブジェクト環境内および
非分散オブジェクト環境内の通信に関する定義に変更が
生じた際にプログラマの負担を大幅に軽減することがで
きる。
[0017] According to a seventh aspect of the present invention, there is provided a distributed processing method for transferring processing between applications so that at least one application existing on a non-distributed object environment can be used as an object on the distributed object environment. A program for performing a wrapping process of an application in an object environment, wherein the program refers to information necessary for wrapping an application existing in a non-distributed object environment as an object in the distributed object environment; and Determining a method of wrapping the application residing on the distributed object environment and determining the operation accordingly, is programmed and recorded. When the computer reads and executes the above-described program, the wrapper program operates with reference to the definition information of the interface. Therefore, only by changing the definition information, the change of the interface is reflected in the wrapper program. Alternatively, when the interface of the application in the distributed object environment changes, without changing the wrapper program itself,
Interface changes can be reflected in the wrapper program. For this reason, the load on the programmer can be greatly reduced when the definition regarding communication in the distributed object environment and the non-distributed object environment is changed.

【0018】請求項8に記載の発明は、請求項7に記載
の記録媒体において、ラッピング方法を決定し、それに
従って動作を決定するステップは、分散オブジェクト環
境上の利用可能オブジェクトを管理しているオブジェク
ト管理サービスに対して非分散オブジェクト環境上にあ
るアプリケーションの登録もしくは削除を行うステップ
と、分散オブジェクト環境上のアプリケーションから送
られてきた電文の形式を非分散オブジェクト環境上にあ
るアプリケーションへ送る電文形式に変換するステップ
と、非分散オブジェクト環境上にあるアプリケーション
から送られてきた電文の形式を分散オブジェクト環境上
のアプリケーションへ送る電文形式に変換するステップ
とを含むこととした。上記プログラムをコンピュータが
読み出し実行することにより、ラッパープログラムが分
散オブジェクト環境内および非分散オブジェクト環境内
の通信に関する定義情報を参照して動作するため、その
定義情報を変更するだけで、通信定義の変更がラッパー
プログラムに反映されことから、分散オブジェクト環境
内および非分散オブジェクト環境内の通信に関する定義
に変更が生じた際に、ラッパープログラム自身には何も
手を加えることなしに、ラッパープログラムに対して通
信定義の変更を反映できる。このため、分散オブジェク
ト環境内および非分散オブジェクト環境内の通信に関す
る定義に変更が生じた際にプログラマの負担を大幅に軽
減することができる。
According to an eighth aspect of the present invention, in the recording medium according to the seventh aspect, the step of deciding a wrapping method and deciding an operation according to the wrapping method manages available objects in a distributed object environment. A step of registering or deleting an application on the non-distributed object environment with respect to the object management service, and a message format for transmitting a message format sent from the application on the distributed object environment to the application on the non-distributed object environment And a step of converting the format of a message sent from an application on the non-distributed object environment into a message format to be sent to an application on the distributed object environment. When the computer reads and executes the above program, the wrapper program operates by referring to the definition information regarding the communication in the distributed object environment and the non-distributed object environment. Therefore, the communication definition can be changed only by changing the definition information. Is reflected in the wrapper program, so that when the definition of communication in the distributed object environment and the non-distributed object environment changes, the wrapper program The change of communication definition can be reflected. For this reason, the load on the programmer can be greatly reduced when the definition regarding communication in the distributed object environment and the non-distributed object environment is changed.

【0019】請求項9に記載の発明は、請求項7または
請求項8に記載の記録媒体において、ラッピング方法を
決定し、それに従って動作を決定するステップは、更
に、ラッピングに必要な情報から分散オブジェクト環境
上のアプリケーションの作成を支援するためのインター
フェース定義情報を作成するステップ含むこととした。
上記プログラムをコンピュータが読み出し実行すること
により、あらかじめ格納されているインターフェース情
報から、分散オブジェクト環境上でのインターフェース
定義である、例えばIDLを自動的に作成することによ
って、非分散オブジェクト環境上のアプリケーションを
利用する分散オブジェクト環境内のクライアントアプリ
ケーションを作成する手間を軽減することができる。
According to a ninth aspect of the present invention, in the recording medium according to the seventh or eighth aspect, the step of determining a wrapping method and determining an operation according to the wrapping method further includes distributing information based on information necessary for wrapping. A step of creating interface definition information for supporting creation of an application on the object environment is included.
By reading and executing the above program by a computer, an interface definition in a distributed object environment, for example, an IDL is automatically created from interface information stored in advance, thereby enabling application in a non-distributed object environment to be executed. The burden of creating a client application in a distributed object environment to be used can be reduced.

【0020】[0020]

【発明の実施の形態】以下、図面を使用して本発明実施
形態について詳細に説明する。図1は本発明が採用され
るラッピングシステムの一実施形態を示すブロック図で
ある。図1において、ラッピングシステムは、プログラ
ム制御により動作するサーバコンピュータ100と、ク
ライアントコンピュータ110と、通信管理装置120
と、分散オブジェクトネットワーク130、記憶装置1
40、オブジェクト管理サーバコンピュータ150とか
ら構成されている。サーバコンピュータ100は、サー
バアプリケーション101を含み、クライアントコンピ
ュータ110は、クライアントアプリケーション111
を含む。また、通信管理装置120は、汎用ラッパープ
ログラム121を含み、記憶装置140は、定義情報格
納部141を含む。更に、オブジェクト管理サーバコン
ピュータ150は、オブジェクト管理サービス151を
含む。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a wrapping system to which the present invention is applied. In FIG. 1, a wrapping system includes a server computer 100, a client computer 110, and a communication management device 120 that operate under program control.
, Distributed object network 130, storage device 1
40, and an object management server computer 150. The server computer 100 includes a server application 101, and the client computer 110 includes a client application 111
including. The communication management device 120 includes a general-purpose wrapper program 121, and the storage device 140 includes a definition information storage unit 141. Further, the object management server computer 150 includes an object management service 151.

【0021】サーバアプリケーション101は、サーバ
コンピュータ100の外部との入力インターフェースも
しくは入力インターフェースと出力インターフェースの
両方を持ち、外部からの要求に応じてある特定の処理を
実行する。クライアントアプリケーション111は、ク
ライアントコンピュータ110上で動作し、サーバアプ
リケーション101に対して分散オブジェクトネットワ
ーク130および汎用ラッパープログラム121を介し
て処理を要求し、その実行結果を利用するような、ある
特定の処理を実行する。汎用ラッパープログラム121
は、定義情報格納部141に格納されている情報に従っ
て、オブジェクト管理サービス151に、サーバアプリ
ケーション用のオブジェクトを登録し、また、クライア
ントアプリケーション111からの入力情報をサーバア
プリケーション101の入力形式に変換して転送し、ま
た、サーバアプリケーション101からの出力情報をク
ライアントアプリケーション111に渡すべき出力形式
に変換して転送する。
The server application 101 has an input interface with the outside of the server computer 100 or both an input interface and an output interface, and executes a specific process in response to a request from the outside. The client application 111 runs on the client computer 110, requests processing from the server application 101 via the distributed object network 130 and the general-purpose wrapper program 121, and performs a specific processing such as utilizing the execution result. Execute. General-purpose wrapper program 121
Registers the object for the server application in the object management service 151 according to the information stored in the definition information storage unit 141, and converts the input information from the client application 111 into the input format of the server application 101. The client application 111 converts the output information from the server application 101 into an output format to be passed to the client application 111 and transfers the output information.

【0022】定義情報格納部141は、サーバアプリケ
ーション101の入出力とクライアントアプリケーショ
ン111の入出力との間のデータ変換を定義する情報、
汎用ラッパープログラム121と、サーバアプリケーシ
ョン101およびクライアントアプリケーション111
との間の通信に関する定義情報など、汎用ラッパープロ
グラム121がラッピングする際に必要とする、サーバ
アプリケーション101およびクライアントアプリケー
ション111に固有な各種情報を格納する。オブジェク
ト管理サービス151は、分散オブジェクト環境上で使
用できるオブジェクトの識別子や存在場所などの情報を
管理し、分散オブジェクト環境内の各アプリケーション
からの要求に応じて、分散オブジェクト環境で利用可能
なオブジェクトの登録、削除、検索を行うことができ
る。分散オブジェクト環境内のアプリケーションが、オ
ブジェクト管理サービス151にオブジェクトを登録す
ることによって、その登録されたオブジェクトは分散オ
ブジェクト環境内で利用可能な状態となり、また、分散
オブジェクト環境内のアプリケーションが、利用したい
オブジェクトの情報をオブジェクト管理サービス151
に問い合わせ、情報を取得することで、そのアプリケー
ションは利用したいオブジェクトを呼び出すことができ
る。
The definition information storage section 141 stores information defining data conversion between input / output of the server application 101 and input / output of the client application 111.
General-purpose wrapper program 121, server application 101 and client application 111
It stores various information unique to the server application 101 and the client application 111 required by the general-purpose wrapper program 121 for wrapping, such as definition information on communication with the client application 111. The object management service 151 manages information such as an identifier and a location of an object that can be used in the distributed object environment, and registers an object usable in the distributed object environment in response to a request from each application in the distributed object environment. , Delete, search. When the application in the distributed object environment registers the object in the object management service 151, the registered object becomes available in the distributed object environment, and the application in the distributed object environment wants to use the object. Information of the object management service 151
By querying and obtaining information, the application can call the object you want to use.

【0023】図2、図3は、図1に示す本発明の一実施
形態の動作を説明するために引用した図であり、それぞ
れ、制御手順をフローチャートで、動作概念をブロック
で示した図である。以下、図2、図3を参照しながら図
1に示す本発明一実施形態の動作について説明する。
FIGS. 2 and 3 are views cited for explaining the operation of the embodiment of the present invention shown in FIG. 1, and show a control procedure in a flowchart and an operation concept in a block, respectively. is there. Hereinafter, the operation of the embodiment of the present invention shown in FIG. 1 will be described with reference to FIGS.

【0024】まず、汎用ラッパープログラム121は、
オブジェクト管理サービス151に、サーバアプリケー
ション用のオブジェクトを登録しておく(図2のステッ
プA1)。クライアントアプリケーションは、処理を要
求するサーバアプリケーション101に対応するオブジ
ェクト情報を、オブジェクト管理サービス151に問い
合わせることによって、サーバアプリケーション用のオ
ブジェクトの情報を取得する(ステップA2)。クライ
アントアプリケーション111は、取得した情報を用い
て、サーバアプリケーション用のオブジェクトを呼び出
すことで、汎用ラッパープログラム121にサーバアプ
リケーション101へ渡すためのデータが送信される
(ステップA3)。
First, the general-purpose wrapper program 121
The object for the server application is registered in the object management service 151 (step A1 in FIG. 2). The client application acquires object information for the server application by inquiring the object management service 151 of object information corresponding to the server application 101 requesting the processing (step A2). The client application 111 calls an object for the server application using the acquired information, so that data to be passed to the server application 101 is transmitted to the general-purpose wrapper program 121 (step A3).

【0025】汎用ラッパープログラム121は、クライ
アントアプリケーション111からの入力データを受信
し(ステップA4)、定義情報格納部141上の情報に
基づいて、サーバアプリケーション101の入力形式に
データを変換する(ステップA5)。次に、汎用ラッパ
ープログラム121は、変換した入力データを、サーバ
アプリケーション101のインターフェースに則った形
式で送信し(ステップA6)、サーバアプリケーション
101はこれを受信する(ステップA7)。入力データ
を受け取ったサーバアプリケーション101は、その入
力データに基づいてプログラムを実行し(ステップA
8)、実行結果を含む出力データを送信する(ステップ
A9)。
The general-purpose wrapper program 121 receives input data from the client application 111 (step A4), and converts the data into the input format of the server application 101 based on the information in the definition information storage unit 141 (step A5). ). Next, the general-purpose wrapper program 121 transmits the converted input data in a format conforming to the interface of the server application 101 (step A6), and the server application 101 receives this (step A7). The server application 101 that has received the input data executes the program based on the input data (step A).
8) The output data including the execution result is transmitted (step A9).

【0026】汎用ラッパープログラム121は、サーバ
アプリケーション101の出力データを受信し(ステッ
プA10)、定義情報格納部141上の情報に基づい
て、クライアントアプリケーション111が要求する出
力データに変換する(ステップA11)。最後に、汎用
ラッパープログラム121は変換した出力データを送信
し(ステップA12)、クライアントアプリケーション
111はこれを受信する(ステップA13)ことで、ク
ライアントアプリケーション111からのサーバアプリ
ケーション101の実行は完了する。
The general-purpose wrapper program 121 receives the output data of the server application 101 (step A10) and converts it into output data required by the client application 111 based on the information in the definition information storage unit 141 (step A11). . Finally, the general-purpose wrapper program 121 transmits the converted output data (step A12), and the client application 111 receives it (step A13), whereby the execution of the server application 101 from the client application 111 is completed.

【0027】なお、上述した本発明実施形態において、
汎用ラッパープログラム121そのものの動作は従来の
ラッパープログラム(図8、122)と変わらないが、サ
ーバアプリケーション101の入出力とクライアントア
プリケーション111が必要とする入出力とのデータ変
換や、サーバアプリケーション101と通信するために
必要な情報、オブジェクト管理サービス151に登録す
る情報など、クライアントアプリケーション111とサ
ーバアプリケーション101との間のやりとりに必要な
情報に関して、汎用ラッパープログラム121自身が定
義情報格納部141に格納されている情報を参照するこ
とにしているため、サーバアプリケーション101やク
ライアントアプリケーション111の仕様に変更が生じ
たときに、定義情報格納部141に格納されている情報
を変更するだけで、汎用ラッパープログラム121の動
作を変更することができる。
In the embodiment of the present invention described above,
The operation of the general-purpose wrapper program 121 itself is the same as that of the conventional wrapper program (FIG. 8, 122), but data conversion between input / output of the server application 101 and input / output required by the client application 111 and communication with the server application 101 are performed. The general-purpose wrapper program 121 itself is stored in the definition information storage unit 141 with respect to information necessary for communication between the client application 111 and the server application 101, such as information necessary for performing the communication and information registered in the object management service 151. Since the information stored in the definition information storage unit 141 is changed only when the specification of the server application 101 or the client application 111 is changed, the information stored in the definition information storage unit 141 is changed. It is possible to change the behavior of generic wrapper program 121.

【0028】すなわち、汎用ラッパープログラム121
自身には全く手を加えることなく、サーバアプリケーシ
ョン101やクライアントアプリケーション111の変
更を汎用ラッパープログラム121に反映することがで
きる。また、上述した本発明実施形態では、さらに、サ
ーバコンピュータ100、クライアントコンピュータ1
10、通信管理装置120、オブジェクト管理サーバコ
ンピュータ150それぞれへの通信に関する定義情報が
変更された場合も、汎用ラッパープログラム121自身
には手を加えることなく通信可能にすることができる。
それは、定義情報格納部141に、分散オブジェクト環
境側および非分散オブジェクト環境側それぞれの通信に
関する定義情報も含まれており、汎用ラッパープログラ
ム121は、その情報を参照しながら通信手段を生成し
ているためである。
That is, the general-purpose wrapper program 121
The change of the server application 101 or the client application 111 can be reflected on the general-purpose wrapper program 121 without any modification to itself. In the above-described embodiment of the present invention, the server computer 100 and the client computer 1
10, the communication management apparatus 120 and the object management server computer 150 can be made communicable without changing the general wrapper program 121 itself even if the definition information relating to the communication is changed.
That is, the definition information storage unit 141 also includes definition information regarding communication on each of the distributed object environment side and the non-distributed object environment side, and the general-purpose wrapper program 121 generates communication means by referring to the information. That's why.

【0029】次に、具体例を用いて本発明実施形態の動
作を詳細に説明する。図3に示すように、例えば、分散
オブジェクト環境内の電文の形式が、電文11、12の
ように、上下方向とも、インターフェース名、オペレー
ション名、入出力の属性、型、値、属性、型、値、…と
いう形式になっており、サーバアプリケーション用の電
文が、上り電文は、電文21のように、関数名、入力
値、入力値、…という形式で、下り電文が、電文22の
ように、関数名、出力値、出力値、…という形式である
とする。このとき、汎用ラッパープログラム121
は、分散オブジェクト環境内上り電文11をサーバアプ
リケーション用上り電文21に、サーバアプリケーショ
ン用下り電文22を分散オブジェクト環境内下り電文1
2に変換する。電文11と電文12の間および電文21
と電文22の間の変換規則を定義するのが、インターフ
ェース定義情報31であり、定義情報格納部141に格
納されている。そして、このインターフェース定義情報
31が汎用ラッパープログラム121に反映される。
Next, the operation of the embodiment of the present invention will be described in detail using a specific example. As shown in FIG. 3, for example, the format of a message in the distributed object environment is interface name, operation name, input / output attribute, type, value, attribute, type, , The message for the server application is in the form of a function name, input value, input value, etc. as in the message 21, the up message is in the form of the message 22, and the down message is in the format of the message 22 as in the message 22. , Function name, output value, output value,... At this time, the general-purpose wrapper program 121
Is an uplink message 11 in the distributed object environment as the uplink message 21 for the server application, and a downlink message 22 for the server application as the downlink message 1 in the distributed object environment.
Convert to 2. Between message 11 and message 12 and message 21
The interface definition information 31 defines a conversion rule between the message 22 and the message 22, and is stored in the definition information storage unit 141. Then, the interface definition information 31 is reflected on the general-purpose wrapper program 121.

【0030】図3に示す例では、インターフェース定義
情報31は、クライアント側メソッド名、クライアント
側オペレーション名、クライアント側入力情報、クライ
アント側出力情報、サーバ側関数名、サーバ側入力情
報、サーバ側出力情報の順に記述しており、クライアン
ト側の情報とサーバ側の情報との間は“::”で区切っ
ており、クライアント情報、サーバ情報ともに、識別名
と、入力情報と出力情報との間は“:”で区切ってい
る。また、各情報に要素が複数ある場合は、その間
は“,”で区切っている。
In the example shown in FIG. 3, the interface definition information 31 includes client-side method names, client-side operation names, client-side input information, client-side output information, server-side function names, server-side input information, and server-side output information. Are described in the order of, and the information on the client side and the information on the server side are separated by “::”, and both the client information and the server information are distinguished from each other by the identifier, and between the input information and the output information by “::”. : ". When there are a plurality of elements in each piece of information, the information is separated by ",".

【0031】ここで、インターフェース定義情報31に
おける定義例について、図3のインターフェース定義情
報31の1行目を例に挙げて説明する。クライアントア
プリケーション111で呼ぶ分散オブジェクトのインタ
ーフェース名がIntf_Aであり、オペレーション名
がMtd_Aであった場合は、サーバアプリケーション
101内のTx_Aが呼び出されることを意味してお
り、また、クライアントからの2つの入力のデータ型が
ともにlong型であり、それをサーバアプリケーショ
ン101の引数にするときにはともにデータ型をINT
4型に変換すること、また、サーバ側の出力のデータ型
がINT4型であり、それをクライアントへの出力にす
る時には、データ型をlong型に変換することを意味
している。
Here, a definition example in the interface definition information 31 will be described by taking the first line of the interface definition information 31 in FIG. 3 as an example. If the interface name of the distributed object called by the client application 111 is Intf_A and the operation name is Mtd_A, it means that Tx_A in the server application 101 is called, and two inputs from the client are performed. Both data types are long types, and when using them as arguments of the server application 101, both data types are set to INT.
Conversion to type 4 means that the data type of the output on the server side is INT4 type, and when it is output to the client, the data type is converted to long type.

【0032】また、クライアントアプリケーション11
1と汎用ラッパープログラム121の間、および、汎用
ラッパープログラム121とサーバアプリケーション1
01の間で通信を行うために必要な定義情報は、通信定
義情報32として、定義情報格納部141に格納されて
いる。図3に示すでは、通信定義情報32の1行目でオ
ブジェクト管理サーバコンピュータのIPアドレスを、
2行目でサーバアプリケーション101が存在するサー
バコンピュータの識別名を定義している。インターフェ
ース定義情報31および通信定義情報32を汎用ラッパ
ープログラム121が参照することで、汎用ラッパープ
ログラム121はオブジェクト管理サービス151への
オブジェクトの登録および、クライアントとラッパーと
の間やラッパーとサーバとの間の通信と電文の変換を行
うことができる。
The client application 11
1 and the general-purpose wrapper program 121, and between the general-purpose wrapper program 121 and the server application 1
01 is stored in the definition information storage unit 141 as communication definition information 32. In FIG. 3, the first line of the communication definition information 32 indicates the IP address of the object management server computer.
The second line defines the identification name of the server computer where the server application 101 exists. By referring to the interface definition information 31 and the communication definition information 32 by the general-purpose wrapper program 121, the general-purpose wrapper program 121 registers the object in the object management service 151 and performs the communication between the client and the wrapper or between the client and the wrapper. Communication and telegram conversion can be performed.

【0033】図4は本発明が採用されるラッピングシス
テムの他の実施形態(第2の実施形態)を示すブロック
図である。図1に示す第1の実施形態との差異は、通信
管理装置170が、図1に示す通信管理装置120の構
成に加え、IDL(Interface Definition Languag
e)生成手段171を有することである。IDL生成手
段171は、定義情報格納部141に格納されているイ
ンターフェース定義情報を参照することで、分散オブジ
ェクト環境上のインターフェースを定義するための情報
であるIDLを生成する。なお、クライアントアプリケ
ーション111を作成する場合は、IDLを翻訳するこ
とで、クライアントアプリケーションのインターフェー
ス部分に相当するソースコードを生成することができ、
そのソースコードを基にして作成することができる。こ
こでは、分散オブジェクト環境上でのインターフェース
定義を自動的に作成することによって、クライアントア
プリケーション111を作成する手間を軽減することが
できる。
FIG. 4 is a block diagram showing another embodiment (second embodiment) of the wrapping system to which the present invention is applied. The difference from the first embodiment shown in FIG. 1 is that the communication management device 170 includes an IDL (Interface Definition Language) in addition to the configuration of the communication management device 120 shown in FIG.
e) having the generation means 171; The IDL generation unit 171 generates IDL, which is information for defining an interface in the distributed object environment, by referring to the interface definition information stored in the definition information storage unit 141. When the client application 111 is created, by translating the IDL, a source code corresponding to the interface portion of the client application can be generated.
It can be created based on the source code. Here, the trouble of creating the client application 111 can be reduced by automatically creating the interface definition in the distributed object environment.

【0034】なお、上述した図4に示す第2の実施形態
では、通信管理装置170上でIDL生成手段171が
動作する場合について説明したが、IDL生成手段17
1は、図1における定義情報格納部141内の情報を参
照することができる任意のコンピュータ上で動作させて
もよい。また、図1、図4に示すそれぞれ第1および第
2の実施の形態では、通信管理装置120上で汎用ラッ
パープログラム121が動作する場合について説明した
が、図5に示すように、汎用ラッパープログラム121
をサーバコンピュータ160上で動作させることもで
き、また、図6に示すようにクライアントコンピュータ
110上で動作させてもよい。
In the above-described second embodiment shown in FIG. 4, the case where the IDL generation unit 171 operates on the communication management device 170 has been described.
1 may be operated on any computer capable of referring to the information in the definition information storage unit 141 in FIG. Also, in the first and second embodiments shown in FIGS. 1 and 4, the case where the general-purpose wrapper program 121 operates on the communication management device 120 has been described. However, as shown in FIG. 121
May be operated on the server computer 160, or may be operated on the client computer 110 as shown in FIG.

【0035】更に、図1、図4に示す第1および第2の
実施の形態では、分散オブジェクト環境側に存在するク
ライアントアプリケーションが非分散オブジェクト環境
上に存在するサーバアプリケーションに対して処理を要
求する形態について説明したが、非分散オブジェクト環
境側に存在するアプリケーションが分散オブジェクト環
境側に存在するアプリケーションに対して処理を要求す
る場合や、また、分散オブジェクト環境上に存在するア
プリケーションと非分散オブジェクト環境上に存在する
アプリケーションが相互に処理を要求する場合も同様で
ある。また、第1および第2の実施の形態では、オブジ
ェクト管理サーバコンピュータ150上でオブジェクト
管理サービス151が動作する場合について説明した
が、オブジェクト管理サービス151は、図1における
クライアントコンピュータ110や通信管理装置120
や図5におけるサーバコンピュータ160を含めて分散
オブジェクト環境上に存在する任意のコンピュータ上で
動作させてもよい。
Further, in the first and second embodiments shown in FIGS. 1 and 4, a client application existing on the distributed object environment side requests processing from a server application existing on the non-distributed object environment. Although the form has been described, when an application existing in the non-distributed object environment requests processing from an application existing in the distributed object environment, or when an application existing in the distributed object environment and an application existing in the non-distributed object environment The same applies to the case where applications existing in each other request mutual processing. Further, in the first and second embodiments, the case where the object management service 151 operates on the object management server computer 150 has been described. However, the object management service 151 is not limited to the client computer 110 or the communication management device 120 shown in FIG.
Alternatively, it may be operated on any computer existing in the distributed object environment including the server computer 160 in FIG.

【0036】図7は、本発明が採用されるラッピングシ
ステムの更に他の実施形態(第3の実施形態)を示すブ
ロック図である。図7を参照すると、本発明における第
3の実施の形態は、汎用ラッパープログラムを記録した
記録媒体400を備える。この記録媒体400は磁気デ
ィスク、半導体メモリその他の記録媒体であってよい。
汎用ラッパープログラムは記録媒体400から通信管理
装置300に読み込まれ、通信管理装置300の動作を
制御する。通信管理装置300は、汎用ラッパープログ
ラムの制御により以下の処理、すなわち第1および第2
の実施形態における通信管理装置120および170に
よる処理と同一の処理、を実行する。
FIG. 7 is a block diagram showing still another embodiment (third embodiment) of a wrapping system to which the present invention is applied. Referring to FIG. 7, the third embodiment of the present invention includes a recording medium 400 on which a general-purpose wrapper program is recorded. The recording medium 400 may be a magnetic disk, a semiconductor memory, or another recording medium.
The general-purpose wrapper program is read from the recording medium 400 into the communication management device 300, and controls the operation of the communication management device 300. The communication management device 300 performs the following processes under the control of the general-purpose wrapper program, that is, the first and second processes.
The same processing as the processing by the communication management apparatuses 120 and 170 in the embodiment is executed.

【0037】まず、汎用ラッパープログラムは、オブジ
ェクト管理サービス151に、サーバアプリケーション
用のオブジェクトを登録しておく。クライアントアプリ
ケーションは、処理を要求するサーバアプリケーション
101に対応するオブジェクト情報を、オブジェクト管
理サービス151に問い合わせることによって、サーバ
アプリケーション用のオブジェクトの情報を取得する。
クライアントアプリケーション111は、取得した情報
を用いてサーバアプリケーション用のオブジェクトを呼
び出すことで、汎用ラッパープログラムにサーバアプリ
ケーション101へ渡すためのデータが送信される。次
に、汎用ラッパープログラムは、クライアントアプリケ
ーション111からの入力データを受信し、定義情報格
納部141上の情報に基づいて、サーバアプリケーショ
ン101の入力形式にデータを変換する。そして、汎用
ラッパープログラムは、変換した入力データを、サーバ
アプリケーション101のインターフェースに則った形
式で送信し、サーバアプリケーション101はこれを受
信する。
First, the general-purpose wrapper program registers an object for a server application in the object management service 151. The client application acquires object information for the server application by querying the object management service 151 for object information corresponding to the server application 101 requesting the processing.
The client application 111 calls an object for the server application using the acquired information, so that data to be passed to the server application 101 is transmitted to the general-purpose wrapper program. Next, the general-purpose wrapper program receives the input data from the client application 111 and converts the data into the input format of the server application 101 based on the information in the definition information storage unit 141. Then, the general-purpose wrapper program transmits the converted input data in a format conforming to the interface of the server application 101, and the server application 101 receives this.

【0038】入力データを受け取ったサーバアプリケー
ション101は、その入力データに基づいてプログラム
を実行し、実行結果を含む出力データを送信する。汎用
ラッパープログラムは、サーバアプリケーション101
の出力データを受信し、定義情報格納部141上の情報
に基づいて、クライアントアプリケーション111が要
求する出力データに変換する。最後に、汎用ラッパープ
ログラムは変換した出力データを送信し、クライアント
アプリケーション111はこれを受信することで、クラ
イアントアプリケーション111からのサーバアプリケ
ーション101の実行は完了する。また、記録媒体40
0に記憶されている汎用ラッパープログラムに、IDL
生成手段171が含まれている場合には、IDL生成手
段171は、定義情報格納部141に格納されているイ
ンターフェース定義情報を参照することで、分散オブジ
ェクト環境上のインターフェースを定義するための情報
であるIDLを生成する。なお、クライアントアプリケ
ーション111を作成する場合は、このIDLの翻訳手
段を用いることで、クライアントアプリケーションのイ
ンターフェース部分に相当するソースコードを生成する
ことで、そのソースコードを基にして作成することがで
きる。
The server application 101 that has received the input data executes the program based on the input data, and transmits output data including the execution result. The general-purpose wrapper program is a server application 101
Is converted into output data requested by the client application 111 based on the information in the definition information storage unit 141. Finally, the general-purpose wrapper program transmits the converted output data, and the client application 111 receives this, whereby the execution of the server application 101 from the client application 111 is completed. Also, the recording medium 40
0 in the general-purpose wrapper program stored in
When the generation unit 171 is included, the IDL generation unit 171 refers to the interface definition information stored in the definition information storage unit 141 to obtain information for defining an interface on the distributed object environment. Generate an IDL. When the client application 111 is created, a source code corresponding to the interface portion of the client application is generated by using the IDL translation means, and can be created based on the source code.

【0039】図1、図4および図7に示す、第1、第2
および第3の実施の形態では、処理の受け渡しを行うサ
ーバアプリケーションとクライアントアプリケーション
の対応が1対1の場合について説明したが、処理の受け
渡しを行うサーバアプリケーションとクライアントアプ
リケーションの対応が1対多、多対1、多対多でもよ
く、その数に制限はない。また、この場合、サーバアプ
リケーションが動作するサーバコンピュータの数および
クライアントアプリケーションが動作するクライアント
コンピュータの数も、それぞれ複数でもよく、その数に
制限はない。
First, second and third shown in FIG. 1, FIG. 4 and FIG.
In the third and third embodiments, the case has been described where the correspondence between the server application and the client application that pass the processing is one-to-one, but the correspondence between the server application and the client application that pass the processing is one-to-many and many. It may be one-to-one or many-to-many, and the number is not limited. In this case, the number of server computers on which the server application operates and the number of client computers on which the client application operates may be respectively plural, and the number is not limited.

【0040】[0040]

【発明の効果】以上説明のように本発明によれば、ラッ
パープログラムがインターフェースの定義情報を参照し
て動作するため、その定義情報を変更するだけで、イン
ターフェースの変更がラッパープログラムに反映され、
したがって、非分散オブジェクト環境内のアプリケーシ
ョンのインターフェースに変更が生じた際に、ラッパー
プログラム自身には何も手を加えることなしに、ラッパ
ープログラムに対してインターフェースの変更を反映で
きる。このため、非分散オブジェクト環境内のアプリケ
ーションのインターフェースに変更が生じた際にプログ
ラマの負担が大幅に軽減される。
As described above, according to the present invention, since the wrapper program operates with reference to the definition information of the interface, the change in the interface is reflected in the wrapper program only by changing the definition information.
Therefore, when a change occurs in the interface of the application in the non-distributed object environment, the interface change can be reflected on the wrapper program without changing the wrapper program itself. This greatly reduces the burden on the programmer when the interface of the application in the non-distributed object environment changes.

【0041】また、同理由で分散オブジェクト環境内の
アプリケーションのインターフェースに変更が生じた際
に、ラッパープログラム自身には何も手を加えることな
しに、ラッパープログラムに対してインターフェースの
変更を反映できる。このため、分散オブジェクト環境内
のアプリケーションのインターフェースに変更が生じた
際にプログラマの負担が大幅に軽減される。
For the same reason, when the interface of the application in the distributed object environment is changed, the change of the interface can be reflected on the wrapper program without changing the wrapper program itself. This greatly reduces the burden on the programmer when the interface of the application in the distributed object environment changes.

【0042】更に、ラッパープログラムが分散オブジェ
クト環境内および非分散オブジェクト環境内の通信に関
する定義情報を参照して動作するため、その定義情報を
変更するだけで、通信定義の変更がラッパープログラム
に反映されことから、分散オブジェクト環境内および非
分散オブジェクト環境内の通信に関する定義に変更が生
じた際に、ラッパープログラム自身には何も手を加える
ことなしに、ラッパープログラムに対して通信定義の変
更を反映できる。このため、分散オブジェクト環境内お
よび非分散オブジェクト環境内の通信に関する定義に変
更が生じた際にプログラマの負担が大幅に軽減される。
Further, since the wrapper program operates with reference to the definition information regarding the communication in the distributed object environment and the non-distributed object environment, the change in the communication definition is reflected in the wrapper program only by changing the definition information. Therefore, when the definition of communication in the distributed object environment and the non-distributed object environment is changed, the change of the communication definition is reflected to the wrapper program without changing the wrapper program itself. it can. This greatly reduces the burden on the programmer when a change is made to the definition of communication in the distributed object environment and in the non-distributed object environment.

【0043】また、定義情報格納部に格納されているイ
ンターフェース情報から、分散オブジェクト環境上での
インターフェース定義であるIDLを自動的に作成する
ことによって、非分散オブジェクト環境上のアプリケー
ションを利用する分散オブジェクト環境内のクライアン
トアプリケーションを作成する手間を軽減することがで
きることもできる。
Also, by automatically creating IDL, which is an interface definition in a distributed object environment, from the interface information stored in the definition information storage unit, a distributed object using an application in a non-distributed object environment can be created. It can also reduce the trouble of creating a client application in the environment.

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

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

【図2】 図1に示す実施形態の動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing the operation of the embodiment shown in FIG.

【図3】 図1に示す実施形態の動作の具体例を示す図
である。
FIG. 3 is a diagram showing a specific example of the operation of the embodiment shown in FIG. 1;

【図4】 本発明における第2の実施形態の構成を示す
プロック図である。
FIG. 4 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】 図1に示す第1の実施の形態において、汎用
ラッパープログラムがサーバコンピュータに含まれる場
合の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration in a case where a general-purpose wrapper program is included in a server computer in the first embodiment shown in FIG.

【図6】 図1に示す第1の実施形態において、汎用ラ
ッパープログラムがクライアントコンピュータに含まれ
る場合の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration in a case where a general-purpose wrapper program is included in a client computer in the first embodiment shown in FIG.

【図7】 本発明における第3の実施形態の構成を示す
ブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a third exemplary embodiment of the present invention.

【図8】 従来のラッピングシステムの構成例を示すブ
ロック図である。
FIG. 8 is a block diagram illustrating a configuration example of a conventional wrapping system.

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

11 分散オブジェクト環境内上り電文 12 分散オブジェクト環境内下り電文 21 サーバアプリケーション用上り電文 22 サーバアプリケーション用下り電文 31 インターフェース定義情報 32 通信定義情報 100、160 サーバコンピュータ 101 サーバアプリケーション 110、180 クライアントコンピュータ 111 クライアントアプリケーション 120、170、300 通信管理装置 121 汎用ラッパープログラム 122 ラッパープログラム 123 ラッパーソースコード生成手段 124 ラッパーソースコード 125 コンパイラ 130 分散オブジェクトネットワーク 140 記憶装置 141 定義情報格納部 150 オブジェクト管理サーバコンピュータ 151 オブジェクト管理サービス 171 IDL生成手段 400 記録媒体 DESCRIPTION OF SYMBOLS 11 Uplink message in distributed object environment 12 Downlink message in distributed object environment 21 Uplink message for server application 22 Downlink message for server application 31 Interface definition information 32 Communication definition information 100, 160 Server computer 101 Server application 110, 180 Client computer 111 Client application 120, 170, 300 Communication management device 121 General-purpose wrapper program 122 Wrapper program 123 Wrapper source code generation means 124 Wrapper source code 125 Compiler 130 Distributed object network 140 Storage device 141 Definition information storage unit 150 Object management server computer 151 Object management service 171 IDL Generation means 00 recording medium

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 非分散オブジェクト環境上に存在する少
なくとも1個のアプリケーションを分散オブジェクト環
境上のオブジェクトとして利用できるように、前記それ
ぞれのアプリケーション間で処理の受け渡しを行う分散
オブジェクト環境におけるアプリケーションのラッピン
グ方法であって、前記非分散オブジェクト環境上に存在
するアプリケーションを前記分散オブジェクト環境上の
オブジェクトとしてラッピングするために必要な情報を
参照することによって前記非分散オブジェクト環境上に
存在するアプリケーションのラッピングの方法を決定
し、その方法に従って動作を決定することを特徴とする
分散オブジェクト環境におけるアプリケーションのラッ
ピング方法。
1. A method of wrapping an application in a distributed object environment for passing processing between the applications so that at least one application existing in the non-distributed object environment can be used as an object in the distributed object environment. A method of wrapping an application existing on the non-distributed object environment by referring to information necessary for wrapping an application existing on the non-distributed object environment as an object on the distributed object environment. Wrapping an application in a distributed object environment, wherein the wrapping of the application is performed.
【請求項2】 前記ラッピングは、前記分散オブジェク
ト環境上の利用可能オブジェクトを管理しているオブジ
ェクト管理サービスに対して前記非分散オブジェクト環
境上に存在するアプリケーションの登録もしくは削除を
行い、前記分散オブジェクト環境上に存在するアプリケ
ーションから送られてきた電文の形式を前記非分散オブ
ジェクト環境上に存在するアプリケーションへ送る電文
形式に変換し、前記非分散オブジェクト環境上に存在す
るアプリケーションから送られてきた電文の形式を前記
分散オブジェクト環境上に存在するアプリケーションへ
送る電文形式に変換することを特徴とする請求項1に記
載の分散オブジェクト環境におけるアプリケーションの
ラッピング方法。
2. The distributed object environment according to claim 2, wherein said wrapping registers or deletes an application existing on said non-distributed object environment with respect to an object management service which manages an available object on said distributed object environment. The format of a message sent from an application existing on the non-distributed object environment is converted into a format of a message sent to an application existing on the non-distributed object environment. 2. The method of wrapping an application in a distributed object environment according to claim 1, wherein the application is converted into a message format to be sent to an application existing on the distributed object environment.
【請求項3】 更に、前記ラッピングに必要な情報から
前記分散オブジェクト環境上に存在するアプリケーショ
ンの作成を支援するインターフェース定義情報を作成す
ることを特徴とする請求項1または請求項2に記載の分
散オブジェクト環境におけるアプリケーションのラッピ
ング方法。
3. The distribution according to claim 1, wherein interface definition information for supporting creation of an application existing on the distributed object environment is created from information necessary for the wrapping. How to wrap the application in the object environment.
【請求項4】 非分散オブジェクト環境上に存在する少
なくとも1個のアプリケーションを分散オブジェクト環
境上のオブジェクトとして利用できるように、前記それ
ぞれのアプリケーション間で処理の受け渡しを行う通信
管理装置であって、前記非分散オブジェクト環境上に存
在するアプリケーションを分散オブジェクト環境上に存
在するオブジェクトとしてラッピングするために必要な
情報を参照することによって前記非分散オブジェクト環
境上に存在するアプリケーションのラッピング方法を決
定し、その方法に従って動作を決定するラッピング手段
を備えたことを特徴とする通信管理装置。
4. A communication management device for transferring a process between respective applications so that at least one application existing in a non-distributed object environment can be used as an object in the distributed object environment. A method for wrapping an application existing on the non-distributed object environment is determined by referring to information necessary for wrapping an application existing on the non-distributed object environment as an object existing on the distributed object environment. A communication management device comprising wrapping means for determining an operation according to the following.
【請求項5】 前記ラッピング手段は、前記分散オブジ
ェクト環境上に存在する利用可能オブジェクトを管理し
ているオブジェクト管理サービスに対して前記非分散オ
ブジェクト環境上に存在するアプリケーションの登録も
しくは削除をする手段と、前記分散オブジェクト環境上
に存在するアプリケーションから送られてきた電文の形
式を前記非分散オブジェクト環境上に存在するアプリケ
ーションへ送る電文形式に変換する手段と、前記非分散
オブジェクト環境上にあるアプリケーションから送られ
てきた電文の形式を前記分散オブジェクト環境上に存在
するアプリケーションへ送る電文形式に変換する手段と
を含むことを特徴とする請求項4に記載の通信管理装
置。
5. A means for registering or deleting an application existing on the non-distributed object environment with respect to an object management service managing an available object existing on the distributed object environment. Means for converting the format of a message sent from an application existing on the distributed object environment into a message format to be sent to an application existing on the non-distributed object environment; The communication management apparatus according to claim 4, further comprising means for converting a format of the received message into a message format to be sent to an application existing on the distributed object environment.
【請求項6】 前記ラッピング手段は、前記ラッピング
に必要な情報から分散オブジェクト環境上に存在するア
プリケーションの作成を支援するインターフェース定義
情報を作成する手段を更に含むことを特徴とする請求項
4または請求項5に記載の通信管理装置。
6. The wrapping unit according to claim 4, further comprising: a unit that creates interface definition information that supports creation of an application existing on a distributed object environment from information necessary for the wrapping. Item 6. The communication management device according to item 5.
【請求項7】 非分散オブジェクト環境上に存在する少
なくとも1個のアプリケーションを分散オブジェクト環
境上のオブジェクトとして利用できるように、前記それ
ぞれのアプリケーション間で処理の受け渡しを行う、分
散オブジェクト環境におけるアプリケーションのラッピ
ング処理を行うプログラムであって、前記非分散オブジ
ェクト環境上に存在するアプリケーションを前記分散オ
ブジェクト環境上のオブジェクトとしてラッピングする
ために必要な情報を参照するステップと、前記参照ステ
ップによって前記非分散オブジェクト環境上に存在する
アプリケーションのラッピング方法を決定し、それに従
って動作を決定するステップとがプログラムされ記録さ
れたコンピュータ読み取り可能な記録媒体。
7. A wrapping of an application in a distributed object environment in which processing is passed between the respective applications so that at least one application existing in the non-distributed object environment can be used as an object in the distributed object environment. A program for performing a process, wherein information for wrapping an application existing on the non-distributed object environment as an object on the distributed object environment is referred to. Determining a wrapping method of an application existing in the computer, and determining an operation according to the wrapping method.
【請求項8】 前記ラッピング方法を決定し、それに従
って動作を決定するステップは、前記分散オブジェクト
環境上の利用可能オブジェクトを管理しているオブジェ
クト管理サービスに対して前記非分散オブジェクト環境
上にあるアプリケーションの登録もしくは削除を行うス
テップと、前記分散オブジェクト環境上のアプリケーシ
ョンから送られてきた電文の形式を前記非分散オブジェ
クト環境上にあるアプリケーションへ送る電文形式に変
換するステップと、前記非分散オブジェクト環境上にあ
るアプリケーションから送られてきた電文の形式を前記
分散オブジェクト環境上のアプリケーションへ送る電文
形式に変換するステップとを含むことを特徴とするコン
ピュータ読み取り可能な請求項7に記載の記録媒体。
8. The method of determining the wrapping method and determining an operation according to the wrapping method comprises: providing an object management service managing an available object on the distributed object environment to an application on the non-distributed object environment. Registering or deleting, and converting the format of a message sent from an application on the distributed object environment into a message format sent to an application on the non-distributed object environment; Converting the format of a message sent from an application to a format of a message to be sent to an application in the distributed object environment.
【請求項9】 前記ラッピング方法を決定し、それに従
って動作を決定するステップは、更に、ラッピングに必
要な情報から分散オブジェクト環境上のアプリケーショ
ンの作成を支援するためのインターフェース定義情報を
作成するステップ含むことを特徴とするコンピュータ読
み取り可能な請求項7または請求項8に記載の記録媒
体。
9. The step of determining the wrapping method and determining an operation according to the method further includes a step of creating interface definition information for supporting creation of an application in a distributed object environment from information necessary for wrapping. 9. The recording medium according to claim 7, wherein the recording medium is readable by a computer.
JP2000153678A 2000-05-24 2000-05-24 Application wrapping method in dispersed object environment, its communication management device, and recording medium Pending JP2001337935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000153678A JP2001337935A (en) 2000-05-24 2000-05-24 Application wrapping method in dispersed object environment, its communication management device, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000153678A JP2001337935A (en) 2000-05-24 2000-05-24 Application wrapping method in dispersed object environment, its communication management device, and recording medium

Publications (1)

Publication Number Publication Date
JP2001337935A true JP2001337935A (en) 2001-12-07

Family

ID=18658889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000153678A Pending JP2001337935A (en) 2000-05-24 2000-05-24 Application wrapping method in dispersed object environment, its communication management device, and recording medium

Country Status (1)

Country Link
JP (1) JP2001337935A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003107205A1 (en) * 2002-06-14 2003-12-24 エヌ・ティ・ティ・ソフトウェア株式会社 Distributed object middleware linkage method, recording medium containing program, and program
JP2010204710A (en) * 2009-02-27 2010-09-16 Docomo Technology Inc Information processing apparatus and program execution method
WO2011158478A1 (en) * 2010-06-17 2011-12-22 日本電気株式会社 Data processing system and data processing method
US8140679B2 (en) 2001-02-12 2012-03-20 International Business Machines Corporation Method and system for automated session resource clean-up in a distributed client-server environment
US8774388B2 (en) 2006-09-28 2014-07-08 Oki Electric Industry Co., Ltd. Telephone terminal, telephone communication system, and telephone terminal configuration program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140679B2 (en) 2001-02-12 2012-03-20 International Business Machines Corporation Method and system for automated session resource clean-up in a distributed client-server environment
WO2003107205A1 (en) * 2002-06-14 2003-12-24 エヌ・ティ・ティ・ソフトウェア株式会社 Distributed object middleware linkage method, recording medium containing program, and program
US8774388B2 (en) 2006-09-28 2014-07-08 Oki Electric Industry Co., Ltd. Telephone terminal, telephone communication system, and telephone terminal configuration program
JP2010204710A (en) * 2009-02-27 2010-09-16 Docomo Technology Inc Information processing apparatus and program execution method
WO2011158478A1 (en) * 2010-06-17 2011-12-22 日本電気株式会社 Data processing system and data processing method
US9116855B2 (en) 2010-06-17 2015-08-25 Nec Corporation Data processing system and data processing method
JP5811088B2 (en) * 2010-06-17 2015-11-11 日本電気株式会社 Data processing system and data processing method

Similar Documents

Publication Publication Date Title
US6839897B2 (en) Stub search loading system and method, server apparatus, client apparatus, and computer-readable recording medium
JP3597356B2 (en) Communication cooperation information generation device, three-layer client / server system, and medium recording communication cooperation information generation program
US5327559A (en) Remote and batch processing in an object oriented programming system
JP4464525B2 (en) Centralized affinity maintenance apparatus and method in a client / server data processing system managed by workload
US7665096B2 (en) DDS-assisted CORBA discovery
US20060271911A1 (en) Generating executable objects implementing methods for an information model
CN110764752B (en) System and method for realizing graphic service arrangement of Restful service
CN108038796B (en) C + + based GIS service operation method and storage medium
CN101421726A (en) Occasionally-connected application server
JP2007310891A (en) Computer software development method and system
JPH0827775B2 (en) Method and system for calling processing procedure from remote node
Vinoski Putting the" Web" into Web services. Web services interaction models. 2
US20070233876A1 (en) Interprocess communication management using a socket layer
US7003773B2 (en) Dynamic interface aggregation on demand
US20050216917A1 (en) Method and system for data object transformation
CN109729121B (en) Cloud storage system and method for realizing custom data processing in cloud storage system
US8812556B2 (en) Storing modification data for recreating modifications
JP2001337935A (en) Application wrapping method in dispersed object environment, its communication management device, and recording medium
JP2000276450A (en) Agent system, information processing method, and recording medium recorded with information processing software
JP2007079773A (en) Software distribution server and method for distributing software
KR20040068101A (en) Method and apparatus for controlling a multi-node process
CN113626071A (en) Function registration method, system, electronic device and storage medium
van Gurp et al. Service grid variability realization
JP2008305205A (en) Flow processing-building device, flow processing-building method, and program
US20110125932A1 (en) Port setting method of application system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021112