JP2003076563A5 - - Google Patents

Download PDF

Info

Publication number
JP2003076563A5
JP2003076563A5 JP2002174417A JP2002174417A JP2003076563A5 JP 2003076563 A5 JP2003076563 A5 JP 2003076563A5 JP 2002174417 A JP2002174417 A JP 2002174417A JP 2002174417 A JP2002174417 A JP 2002174417A JP 2003076563 A5 JP2003076563 A5 JP 2003076563A5
Authority
JP
Japan
Prior art keywords
server
remote
relay
class
client
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
JP2002174417A
Other languages
Japanese (ja)
Other versions
JP2003076563A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2002174417A priority Critical patent/JP2003076563A/en
Priority claimed from JP2002174417A external-priority patent/JP2003076563A/en
Priority to AU2002349514A priority patent/AU2002349514A1/en
Priority to PCT/JP2002/012338 priority patent/WO2003107205A1/en
Publication of JP2003076563A publication Critical patent/JP2003076563A/en
Publication of JP2003076563A5 publication Critical patent/JP2003076563A5/ja
Pending legal-status Critical Current

Links

Claims (14)

クライアント側分散オブジェクトミドルウェアとサーバ側分散オブジェクトミドルウェアの通信プロトコルが異なる場合に、前記クライアント側のオブジェクトから前記サーバ側にあるオブジェクトのメソッド呼び出しを前記夫々の分散オブジェクトミドルウェアを介して実現する方法であって、
クライアント側分散オブジェクトミドルウェアとサーバ側分散オブジェクトミドルウェアとの間に、クライアント側から要求された前記サーバ側オブジェクトのリモート参照の取得を中継するリモート参照取得中継オブジェクトと、前記サーバ側オブジェクトのクラス定義に基づき生成されるリモートメソッド呼び出し中継オブジェクトのクラスとを備え、前記方法は、
前記リモート参照取得中継オブジェクトが、クライアント側分散オブジェクトミドルウェアの通信プロトコルによりクライアントから前記サーバ側オブジェクトに関するリモート参照の取得要求を受け付けるステップと、当該受け付けた取得要求を前記サーバ側分散オブジェクトミドルウェアのプロトコルにより前記サーバに送信するステップと、
前記リモート参照取得中継オブジェクトが、前記サーバ側オブジェクトのリモート参照をサーバから受信するステップと、当該受信したリモート参照に基づいて、前記リモートメソッド呼び出し中継オブジェクトのクラスからそのサーバ側オブジェクトに対応したリモートメソッド呼び出し中継オブジェクトを起動するステップと、
前記リモート参照取得中継オブジェクトが、前記クライアントから要求された前記サーバ側オブジェクトのリモート参照取得要求への応答として、当該起動されたリモートメソッド呼び出し中継オブジェクトへのアクセス情報を前記クライアントに返却するステップと
を有することを特徴とする分散オブジェクトミドルウェア連携方法。
When the communication protocol of the client-side distributed object middleware and the server-side distributed object middleware are different, a method for realizing a method call of an object on the server side from the client-side object via the respective distributed object middleware ,
Based on the remote reference acquisition relay object that relays the acquisition of the remote reference of the server side object requested from the client side between the client side distributed object middleware and the server side distributed object middleware, and the class definition of the server side object A generated remote method call relay object class, the method comprising:
The remote reference acquisition relay object, the steps of the client by the communication protocol of client-side distributed object middleware accepting an acquisition request of remote references to the server-side object, by the said server-side distributed object middleware protocol acquisition request received Transmitting to the server ;
The remote reference acquisition relay object, receiving a remote reference of the server-side object from the server, based on the remote references the received remote method corresponding to the server-side object from the class of the remote method invocation relayed object Activating a call relay object;
The remote reference acquisition relay object returning access information to the activated remote method call relay object to the client as a response to the remote reference acquisition request of the server-side object requested from the client; A distributed object middleware cooperation method, comprising:
前記リモート参照取得中継オブジェクトがサーバから前記リモート参照を受信する際に、当該サーバ側オブジェクトに対応し、サーバ側分散オブジェクトミドルウェアの通信プロトコルに基づき動作する、スケルトンオブジェクトとスタブオブジェクトを夫々サーバと前記リモート参照取得中継オブジェクトを有する計算機において起動するステップと
前記リモート参照取得中継オブジェクトが前記リモートメソッド呼び出し中継オブジェクトへのアクセス情報をクライアントに返却する際に、当該リモートメソッド呼び出し中継オブジェクトに対応するスケルトンオブジェクトとスタブオブジェクトを夫々前記リモート参照取得中継オブジェクトを有する計算機と前記クライアントにおいて起動するステップと
を含む請求項1に記載の方法。
When the remote reference acquisition relay object receives the remote reference from the server, the skeleton object and the stub object corresponding to the server side object and operating based on the communication protocol of the server side distributed object middleware are respectively connected to the server and the remote Starting on a computer having a reference acquisition relay object ;
When the remote reference acquisition relay object returns access information to the remote method call relay object to the client, a skeleton object and a stub object corresponding to the remote method call relay object are respectively provided with the remote reference acquisition relay object. The method of claim 1, comprising: and starting at the client .
前記リモート参照取得中継オブジェクトが、サーバ側オブジェクトに関するリモート参照の取得要求をクライアントから受け付ける際には、当該リモート参照取得中継オブジェクトに関するリモート参照をクライアントと当該リモート参照取得中継オブジェクトを有する計算機との間で授受するためのステップを更に有する請求項1又は2に記載の方法。When the remote reference acquisition relay object accepts a remote reference acquisition request for a server-side object from a client, a remote reference for the remote reference acquisition relay object is transmitted between the client and the computer having the remote reference acquisition relay object. The method according to claim 1 or 2 , further comprising a step for giving and receiving . 前記リモートメソッド呼び出し中継オブジェクトのクラスを、対応するサーバオブジェクトのクラスから所定の生成ステップで生成する請求項1記載の方法。 The method according to claim 1, wherein the class of the remote method call relay object is generated from the class of the corresponding server object in a predetermined generation step . 前記クラス生成ステップは、異常動作の報告先を前記リモート参照取得を要求したクライアントに設定するステップを含む請求項4に記載の方法。The method according to claim 4, wherein the class generation step includes a step of setting a report destination of an abnormal operation to a client that has requested the remote reference acquisition. 前記生成ステップは、前記サーバオブジェクトのクラスから生成されたメソッドの引数とメソッドからの戻り値の型を、クライアントが使用可能な型に変換するステップを含む請求項4又は5に記載の方法。The method according to claim 4, wherein the generating step includes a step of converting a method argument generated from the server object class and a return value type from the method into a type usable by a client. 前記所定の生成ステップは、The predetermined generation step includes:
対象とするサーバオブジェクトのクラスファイルを読み込むステップと、  Reading the class file of the target server object;
該読み込んだクラスファイルから当該サーバオブジェクトのクラス名の定義情報を取得し、取得したクラス名定義情報と予め決められたクラス名付与規則とから決定されるクラス名を、前記サーバオブジェクトに対応するリモートメソッド呼び出し中継オブジェクトクラスのクラス名として、該リモートメソッド呼び出し中継オブジェクトのクラスファイルである中継クラスファイルに出力するステップと、  The class name definition information of the server object is acquired from the read class file, and the class name determined from the acquired class name definition information and a predetermined class name assignment rule is assigned to the remote corresponding to the server object. Outputting as a class name of the method call relay object class to a relay class file that is a class file of the remote method call relay object;
前記サーバオブジェクトへのリモート参照をリモート参照取得中継オブジェクトから受け取るためのメソッド定義と、該受け取ったリモート参照を保持するための変数の定義を前記中継クラスファイルに出力するステップと、  A method definition for receiving a remote reference to the server object from a remote reference acquisition relay object, and outputting a definition of a variable for holding the received remote reference to the relay class file;
前記読み込んだサーバオブジェクトのクラスファイルからサーバオブジェクトクラスとして定義されている全てのメソッドを抽出するステップと、  Extracting all methods defined as server object classes from the read server object class file;
該抽出したメソッド毎に、該サーバオブジェクトクラスのメソッドと同じメソッド宣言と、該メソッド宣言に対応する処理として、前記サーバオブジェクトにおけるメソッドを前記リモート参照を用いて呼び出すようにした処理プログラムと、を前記中継クラスファイルに出力するステップと  For each extracted method, a method declaration that is the same as the method of the server object class, and a processing program that calls a method in the server object using the remote reference as the processing corresponding to the method declaration, Steps to output to the relay class file
を有する請求項4に記載の方法。  5. The method of claim 4, comprising:
クライアント側分散オブジェクトミドルウェアとサーバ側分散オブジェクトミドルウェアの通信プロトコルが異なる場合に、コンピュータを前記クライアント側のオブジェクトから前記サーバ側にあるオブジェクトへのメソッド呼び出しを夫々のミドルウェアを介して実現するための連携手段として機能させるための分散オブジェクトミドルウェア連携処理プログラムであって、Cooperation means for realizing a method call from the client-side object to the server-side object via each middleware when the client-side distributed object middleware and the server-side distributed object middleware have different communication protocols Distributed object middleware cooperation processing program to function as
前記連携手段は、前記クライアント側から要求された前記サーバ側オブジェクトのリモート参照の取得を中継するリモート参照取得中継手段と、前記サーバ側オブジェクトのクラス定義に基づき生成されるリモートメソッド呼び出し中継手段とを備え、  The cooperation unit includes: a remote reference acquisition relay unit that relays acquisition of a remote reference of the server side object requested from the client side; and a remote method call relay unit that is generated based on a class definition of the server side object. Prepared,
前記リモート参照取得中継手段は、  The remote reference acquisition relay means includes
前記クライアント側分散オブジェクトミドルウェアの通信プロトコルによりクライアントから前記サーバ側オブジェクトに関するリモート参照の取得要求を受け付け、当該受け付けた取得要求をサーバ側分散オブジェクトミドルウェアのプロトコルによりサーバに送信する手段と、  Means for receiving an acquisition request for remote reference related to the server-side object from a client by a communication protocol of the client-side distributed object middleware, and transmitting the received acquisition request to a server by a protocol of the server-side distributed object middleware;
前記サーバ側オブジェクトのリモート参照をサーバから受信し、当該受信したリモート参照に基づき、前記リモートメソッド呼び出し中継手段を起動する手段と、  Means for receiving a remote reference of the server-side object from a server, and based on the received remote reference, activating the remote method call relay means;
前記クライアントから要求された前記サーバ側オブジェクトのリモート参照取得要求への応答として、当該起動されたリモートメソッド呼び出し中継手段へのアクセス情報を前記クライアントに返却する手段と  Means for returning access information to the activated remote method call relay means to the client as a response to the remote reference acquisition request of the server-side object requested from the client;
を有することを特徴とする分散オブジェクトミドルウェア連携処理プログラム。  A distributed object middleware cooperation processing program characterized by comprising:
前記連携手段は、The cooperation means is
前記リモート参照取得中継手段がサーバから前記リモート参照を受信する際に、当該サーバ側オブジェクトに対応し、サーバ側分散オブジェクトミドルウェアの通信プロトコルに基づき動作するスタブオブジェクトを起動する手段と、  Means for activating a stub object corresponding to the server-side object and operating based on a communication protocol of the server-side distributed object middleware when the remote reference acquisition relay means receives the remote reference from a server;
前記リモート参照取得中継オブジェクトが前記リモートメソッド呼び出し中継オブジェクトへのアクセス情報をクライアントに返却する際に、当該リモートメソッド呼び出し中継手段に対応するスケルトンオブジェクトを起動する手段と  Means for activating a skeleton object corresponding to the remote method call relay means when the remote reference acquisition relay object returns access information to the remote method call relay object to the client;
を含む請求項8に記載のプログラム。  The program according to claim 8, including:
前記連携手段は、The cooperation means is
前記リモート参照取得中継手段が、サーバ側オブジェクトに関するリモート参照の取得  The remote reference acquisition relay means acquires a remote reference related to a server-side object. 要求をクライアントから受け付ける際に、当該リモート参照取得中継手段に関するリモート参照をクライアントとの間で授受するための手段を更に有する請求項8又は9に記載のプログラム。The program according to claim 8 or 9, further comprising means for exchanging a remote reference related to the remote reference acquisition relay means with the client when receiving a request from the client.
前記リモートメソッド呼び出し中継手段の処理を規定した前記リモートメソッド呼び出し中継オブジェクトのクラスは、対応するサーバオブジェクトのクラスから生成される請求項8記載のプログラム。9. The program according to claim 8, wherein the class of the remote method call relay object that defines the processing of the remote method call relay means is generated from the class of the corresponding server object. 前記リモートメソッド呼び出し中継手段は、異常動作を前記リモート参照取得要求を発したクライアントに送信する請求項11に記載のプログラム。The program according to claim 11, wherein the remote method call relay unit transmits an abnormal operation to a client that has issued the remote reference acquisition request. 前記リモートメソッド呼び出し中継手段は、前記サーバ側オブジェクトに対して呼び出しを行うメソッドの引数とメソッドからの戻り値の型を、前記クライアントが使用可能な型に変換する請求項11又は12に記載のプログラム。The program according to claim 11 or 12, wherein the remote method call relay unit converts a type of an argument of a method for calling the server-side object and a type of a return value from the method into a type usable by the client. . 前記リモートメソッド呼び出し中継オブジェクトのクラスは、The class of the remote method call relay object is:
対象とするサーバオブジェクトのクラスファイルを読み込むステップと、  Reading the class file of the target server object;
該読み込んだクラスファイルから当該サーバオブジェクトのクラス名の定義情報を取得し、取得したクラス名定義情報と予め決められたクラス名付与規則とから決定されるクラス名を、前記サーバオブジェクトに対応するリモートメソッド呼び出し中継オブジェクトクラスのクラス名として、該リモートメソッド呼び出し中継オブジェクトのクラスファイルである中継クラスファイルに出力するステップと、  The class name definition information of the server object is acquired from the read class file, and the class name determined from the acquired class name definition information and a predetermined class name assignment rule is assigned to the remote corresponding to the server object. Outputting as a class name of the method call relay object class to a relay class file that is a class file of the remote method call relay object;
前記サーバオブジェクトへのリモート参照をリモート参照取得中継オブジェクトから受け取るためのメソッド定義と、該受け取ったリモート参照を保持するための変数の定義を前記中継クラスファイルに出力するステップと、  A method definition for receiving a remote reference to the server object from a remote reference acquisition relay object, and outputting a definition of a variable for holding the received remote reference to the relay class file;
前記読み込んだサーバオブジェクトのクラスファイルからサーバオブジェクトクラスとして定義されている全てのメソッドを抽出するステップと、  Extracting all methods defined as server object classes from the read server object class file;
該抽出したメソッド毎に、該サーバオブジェクトクラスのメソッドと同じメソッド宣言と、該メソッド宣言に対応する処理として、前記サーバオブジェクトにおけるメソッドを前記リモート参照を用いて呼び出すようにした処理プログラムと、を前記中継クラスファイルに出力するステップ  For each extracted method, a method declaration that is the same as the method of the server object class, and a processing program that calls a method in the server object using the remote reference as the processing corresponding to the method declaration, Steps for outputting to a relay class file
とにより生成される請求項11に記載のプログラム。  The program of Claim 11 produced | generated by these.
JP2002174417A 2001-06-15 2002-06-14 Distributed object middleware connection method and recording medium with program recorded thereon and program Pending JP2003076563A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2002174417A JP2003076563A (en) 2001-06-15 2002-06-14 Distributed object middleware connection method and recording medium with program recorded thereon and program
AU2002349514A AU2002349514A1 (en) 2002-06-14 2002-11-26 Distributed object middleware linkage method, recording medium containing program, and program
PCT/JP2002/012338 WO2003107205A1 (en) 2002-06-14 2002-11-26 Distributed object middleware linkage method, recording medium containing program, and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-182323 2001-06-15
JP2001182323 2001-06-15
JP2002174417A JP2003076563A (en) 2001-06-15 2002-06-14 Distributed object middleware connection method and recording medium with program recorded thereon and program

Publications (2)

Publication Number Publication Date
JP2003076563A JP2003076563A (en) 2003-03-14
JP2003076563A5 true JP2003076563A5 (en) 2005-10-20

Family

ID=26617040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002174417A Pending JP2003076563A (en) 2001-06-15 2002-06-14 Distributed object middleware connection method and recording medium with program recorded thereon and program

Country Status (1)

Country Link
JP (1) JP2003076563A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8413138B2 (en) * 2008-02-06 2013-04-02 Mformation Software Technologies, Inc. System and method to securely load a management client from a stub client to facilitate remote device management
JP5521616B2 (en) * 2010-02-17 2014-06-18 日本電気株式会社 Transfer program generation device, transfer program generation method and program
JP5569269B2 (en) 2010-09-06 2014-08-13 ソニー株式会社 Terminal device, information processing system, request destination selection method, and program
US9152523B2 (en) 2010-09-15 2015-10-06 Qualcomm Incorporated Batching and forking resource requests in a portable computing device
US8631414B2 (en) * 2010-09-15 2014-01-14 Qualcomm Incorporated Distributed resource management in a portable computing device

Similar Documents

Publication Publication Date Title
CN110022349B (en) Heterogeneous industrial network device configuration micro-service method based on edge calculation
US7818294B2 (en) Apparatus, system, and method for implementing an IMS SOAP gateway
JP2002539547A5 (en)
US20030009539A1 (en) Distributed object middleware connection method
RU2005114495A (en) WEB SERVICE FOR DETECTING REMOTE APPLICATIONS
WO2002008898A2 (en) Architecture for building web applications
JP2019144848A (en) API adapter, API adapter creation method, and program
Velez et al. IEEE 1451-1-6: Providing common network services over MQTT
US7822864B2 (en) Communication apparatus, program product for adding communication mechanism to communication apparatus for providing improved usability and communication efficiency, and recording medium storing program product
US20060015629A1 (en) System, method, and data structure for processing operating information using information processing devices communicating via a network
JP2003076563A5 (en)
JP2006171918A5 (en)
KR100947114B1 (en) Method for collecting quality data of web service using dummy message
CN106228667A (en) Hardware number calling system for state and place tax combined office
JP4923875B2 (en) Information instruction apparatus, information instruction processing system, information instruction processing management system, and information instruction program
EP2101474A1 (en) Service bindings for web services
CN102137079A (en) Method and device for developing service for RPC (Remote Procedure Call)
JP5042415B2 (en) Client server system
EP3425931A1 (en) Bluetooth low energy devices
JP2003076563A (en) Distributed object middleware connection method and recording medium with program recorded thereon and program
JP3592220B2 (en) Client-server communication system and communication protocol corresponding method used therefor
KR101547346B1 (en) Synchronous/asynchronous communication for business integration, interoperation of dynamic professional management system
KR20180077827A (en) Method for Transslation web server and database server
JP2008242854A (en) Operation screen display control program, operation screen display control apparatus, and operation screen display control system
Fantana et al. A pragmatic architecture for ad-hoc sensing and servicing of industrial machinery