JPH11296390A - System for switching plural communication means by remote program - Google Patents

System for switching plural communication means by remote program

Info

Publication number
JPH11296390A
JPH11296390A JP10094250A JP9425098A JPH11296390A JP H11296390 A JPH11296390 A JP H11296390A JP 10094250 A JP10094250 A JP 10094250A JP 9425098 A JP9425098 A JP 9425098A JP H11296390 A JPH11296390 A JP H11296390A
Authority
JP
Japan
Prior art keywords
remote
communication
program
communication means
remote program
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
JP10094250A
Other languages
Japanese (ja)
Inventor
Tatsuto Miyazaki
宮▲崎▼龍人
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10094250A priority Critical patent/JPH11296390A/en
Publication of JPH11296390A publication Critical patent/JPH11296390A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the number of remote programs and communication processing conversion programs, and to prevent a communicating means from being designated by the remote program without starting a gateway program or remote program for each of different kinds of communicating means at the time of processing communication data from a remote procedure calling to the remote program in a system constituted of the remote procedure and the remote program having the different kinds of communicating means. SOLUTION: In this switching system, generalized communication data 600 to which a communicating means identifier is applied by a client stub from a remote procedure calling 100 having the different kinds of communicating means are transmitted to a remote program 500. The communicating means is identified from a communicating means judging sub-program 511 in a server stub 510 and the communication data 600, and an optimal communication progressing sub-program 512 is selected. Thus, the communication data can be processed by the same kind of remote program requested from the plural communicating means, the number of gateway programs or remote programs can be reduced, and the communicating means can be prevented from being designated by the remote program by the server stub.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の通信手段を
有する遠隔手続き呼び出しで構成されるシステムで、複
数の通信手段で一つの遠隔プログラムを呼び出す時クラ
イアントとサーバスタブで通信種別を判断し、遠隔プロ
グラムで通信手段を指定することなく複数通信手段を受
信し要求サブプログラムを呼び出すRPCに係わるもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system comprising a remote procedure call having a plurality of communication means. When a plurality of communication means calls one remote program, a client and a server stub determine a communication type. The present invention relates to an RPC for receiving a plurality of communication means without specifying a communication means in a remote program and calling a request subprogram.

【0002】[0002]

【従来の技術】従来の技術では複数の通信手段を有する
プログラムで構成されるシステムで、複数の通信手段を
遠隔プログラムで受信する際、複数の通信処理変換プロ
グラムと遠隔プログラムを準備することによってシステ
ムの構築が可能であった。
2. Description of the Related Art In the prior art, a system constituted by a program having a plurality of communication means. When a plurality of communication means are received by a remote program, a plurality of communication processing conversion programs and a remote program are prepared. Was possible.

【0003】このような既存の技術としては、M.T.
ローズ著"THE OPEN B00K"におけるアプリ
ケーションゲートウェイ方式が知られている。
[0003] Such existing technologies include M.I. T.
The application gateway method in "THE OPEN B00K" by Rose is known.

【0004】又、遠隔プログラムの通信インタフェース
を遠隔手続き呼び出しから呼び出す方法として、遠隔プ
ログラム側で通信手段を指定して複数の通信手段を識別
する、W.Rosenberry著で"Underst
anding DCE"におけるDCE RPCのlD
Lがある。
As a method of calling a communication interface of a remote program from a remote procedure call, a communication method is specified on the remote program side to identify a plurality of communication means. "Underst" by Rosenberg
ID of DCE RPC in "anding DCE"
There is L.

【0005】[0005]

【発明が解決しようとする課題】上記アプリケーション
ゲートウェイ方式という従来技術では、異なる通信手段
で同一の処理を行う遠隔手続き呼び出しを行う場合、異
なる通信手段ごとにゲートウェイプログラムを作成し、
それに対応する遠隔プログラムが必要であり、異なる業
務を処理する遠隔プログラムが多くなった場合に、前記
ゲートウェイプログラムと遠隔プログラムが異なる通信
手段ごとに必要となり、計算機のメモリ不足が発生する
問題が発生していた。又ゲートウェイプロセスが必要と
なるため、性能が悪くなる可能性があった。DCEのR
PCでは通信手段を、遠隔プログラムで指定する必要が
あり、通信手段が利用者に見える形となり、遠隔プログ
ラムまたは遠隔手続き呼び出しから完全に通信手段を隠
蔽できなかった。
In the prior art of the application gateway method, when a remote procedure call for performing the same processing by different communication means is performed, a gateway program is created for each different communication means,
If a remote program corresponding to this is required and the number of remote programs for processing different tasks increases, the gateway program and the remote program are required for each different communication means, causing a problem that the memory of the computer runs short. I was Further, since a gateway process is required, the performance may be deteriorated. DCE R
In the PC, the communication means must be specified by the remote program, and the communication means becomes visible to the user, and the communication means cannot be completely hidden from the remote program or the remote procedure call.

【0006】本発明の目的は、異なる通信手段があった
場合、それを記述するファイルから異なる通信手段を有
するクライアントスタブと、通信手段判断サブプログラ
ムとそれぞれの通信処理を行うサーバスタブを生成し、
通信手段をユーザからプログラム上で指定することのな
いスタブを生成し遠隔プログラムに連結する事により、
プロセス数の増加を低減し性能の劣化防ぎ、複数の通信
手段を遠隔プログラムから指定しない方法を提供する事
である。
An object of the present invention is to generate a client stub having different communication means, a server stub for performing communication processing with a communication means determination subprogram, and a communication means determining subprogram, when different communication means are present,
By generating a stub that does not specify the communication means from the user on the program and connecting it to the remote program,
An object of the present invention is to provide a method in which an increase in the number of processes is reduced to prevent performance degradation, and a plurality of communication means are not specified from a remote program.

【0007】[0007]

【課題を解決するための手段】複数の異なる通信処理を
記述した定義ファイルから、それぞれの要求側通信処理
で通信手段識別子を付与した汎化した通信データに変換
する手段を持つクライアントスタブと、汎化された通信
データと付与された通信処理識別子から通信手段を判断
する通信手段判断サブプログラムとそれぞれの通信処理
サブプログラムを手段として含むサーバスタブを生成
し、それぞれ遠隔手続き呼び出しプログラムと遠隔プロ
グラムに結合することにより、プロセス数の増加の低減
を可能とし、遠隔プログラムにおいて通信手段を指定す
ることなく遠隔プログラムを生成する。
A client stub having means for converting a definition file describing a plurality of different communication processes into generalized communication data to which a communication means identifier is assigned in each requesting communication process; A communication means determination subprogram for determining communication means from the structured communication data and the assigned communication processing identifier, and a server stub including the respective communication processing subprograms as means, are combined with the remote procedure call program and the remote program, respectively. By doing so, the increase in the number of processes can be reduced, and a remote program can be generated without specifying a communication means in the remote program.

【0008】[0008]

【発明の実施の形態】以下、本発明の一実施例について
図面で説明する。図1は、本発明のシステム構成例であ
る。遠隔手続き呼び出し、100、200はそれぞれ異
なる通信手段111、211をクライアントスタブ10
1、202の中に持ち、同一の処理を行う遠隔プログラ
ム500を呼び出す。通信手段を記述した定義ファイル
300から、クライアントスタブ110とサーバスタブ
510を生成するプログラム400は、通信手段判断サ
ブプログラム511と各通信処理サブプログラム51
2、513からなる遠隔要求処理サブプログラムをサー
バスタブ510として生成し、要求処理サブプログラム
520と結合した遠隔プログラム500を構成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a system configuration example of the present invention. The remote procedure call 100, 200 uses different communication means 111, 211 respectively for the client stub 10
1, 202, and calls a remote program 500 that performs the same processing. The program 400 for generating the client stub 110 and the server stub 510 from the definition file 300 describing the communication means includes a communication means determination subprogram 511 and each communication processing subprogram 51
A remote request processing subprogram consisting of 2, 513 is generated as a server stub 510, and a remote program 500 combined with the request processing subprogram 520 is configured.

【0009】遠隔手続き呼び出し100が、送信する通
信データはそれぞれ600、700である。遠隔手続き
呼び出し100が、クライアントスタブ110を経由し
て、遠隔プログラム500に通信データ600を送信す
るとき、汎化された通信データ600に通信種別識別子
601を付与し、遠隔プログラム500は当該データを
受信する。一方遠隔プログラム500はサーバスタブ5
10内の通信手段判断サブプログラム511で通信デー
タ600と通信手段識別子601から、通信手段を識別
し、適切な通信処理サブプログラム512を経て要求処
理サブプログラム520を呼ぴ出す。
The communication data transmitted by the remote procedure call 100 is 600 and 700, respectively. When the remote procedure call 100 transmits the communication data 600 to the remote program 500 via the client stub 110, the generalized communication data 600 is given a communication type identifier 601 and the remote program 500 receives the data. I do. On the other hand, the remote program 500 is a server stub 5
The communication means is identified from the communication data 600 and the communication means identifier 601 by the communication means determination subprogram 511 in 10 and the request processing subprogram 520 is called via the appropriate communication processing subprogram 512.

【0010】本実施例によれば、遠隔プログラムやゲー
トウェイプログラムを異なる通信手段ごとに作成する必
要がなくなり、プロセス数を低減することができ、遠隔
プログラムにおいて通信手段を指定することなく遠隔プ
ログラムを生成できる。
According to this embodiment, it is not necessary to create a remote program or a gateway program for each different communication means, the number of processes can be reduced, and a remote program can be generated without specifying a communication means in the remote program. it can.

【0011】[0011]

【発明の効果】以上説明したように、本発明によれば、
異なる通信手段で構成されるシステムでゲートウェイプ
ログラムや、遠隔プログラムの数を低減し、計算機のメ
モリ不足を避けることができ、遠隔プログラムで通信手
段指定することなく遠隔プログラムを作成できる。
As described above, according to the present invention,
In a system configured with different communication means, the number of gateway programs and remote programs can be reduced, a computer memory shortage can be avoided, and a remote program can be created without specifying a communication means in the remote program.

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

【図1】本発明による複数通信手段の切り替え方式で構
成例を示す図である。
FIG. 1 is a diagram showing a configuration example in a switching method of a plurality of communication means according to the present invention.

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

100 遠隔手続き呼ぴ出し 110 クライアントスタブA 111 通信手段Aサブプログラム 200 遠隔手続き呼び出し 210 クライアントスタブB 211 通信手段Bサブプログラム 300 通信手段を定義するファイル 400 クライアントサーバスタブ生成プログラム 500 遠隔プログラム 510 遠隔要求処理サブプログラム 511 通信手段判断サブプログラム 512 通信処理サブプログラムA 513 通信処理サブプログラムB 520 要求処理 600 通信手段Aによる通信データA 601 通信手段識別子A 700 通信手段Bによる通信データB 701 通信手段識別子B Reference Signs List 100 remote procedure call 110 client stub A 111 communication means A subprogram 200 remote procedure call 210 client stub B 211 communication means B subprogram 300 file defining communication means 400 client server stub generation program 500 remote program 510 remote request processing Subprogram 511 Communication means determination subprogram 512 Communication processing subprogram A 513 Communication processing subprogram B 520 Request processing 600 Communication data A by communication means A 601 Communication means identifier A 700 Communication data B by communication means B 701 Communication means identifier B

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の異なる通信手段を持つ遠隔手続き呼
ぴ出し(RPC)とそれぞれの遠隔手続き呼び出しから
異なる通信手段で呼ぴ出され要求処理が動作する遠隔プ
ログラムとから構成されるシステムにおいて、しれぞれ
通信手段を記述した定義ファイルからそれぞれの遠隔手
続き呼び出しで異なる通信手段を行うを汎用化する通信
処理であるクライアントスタブと、汎用化された通信処
理を異なる通信処理と判断する手段と、それぞれの通信
を処理する手段である通信処理サブプログラムを含む遠
隔要求処理サブプログラムであるサーバスタプを生成す
る手段を有し、ある通信手段を用いた遠隔手続き呼び出
しは、遠隔手続き呼び出しのクライアントスアタブで、
当該通信手段に従い通信手段識別子を含めた汎化された
通信データを生成して遠隔プログラムに送信し、遠隔プ
ログラムは、遠隔プログラムで通信手段を記述すること
なく、前記のサーバスタブの中の異なる通信手段を判断
する手段と通信データから適切な通信処理を選択して要
求処理を動作する、一つの遠隔プログラムで複数の通信
手段をサーバスタブの中で切り替えて受信できることを
特徴とする遠隔プログラムでの複数通信手段の切替方
式。
1. A system comprising a remote procedure call (RPC) having a plurality of different communication means and a remote program which is called by different communication means from each remote procedure call and operates a request process. A client stub that is a communication process that generalizes performing different communication means for each remote procedure call from a definition file describing a communication means, and a unit that determines the generalized communication process as a different communication process, It has means for generating a server staple which is a remote request processing subprogram including a communication processing subprogram which is a means for processing each communication, and a remote procedure call using a certain communication means is performed by a remote procedure call client stub. ,
According to the communication means, generalized communication data including a communication means identifier is generated and transmitted to the remote program, and the remote program does not need to describe the communication means in the remote program, and the different communication in the server stub is performed. A remote program for selecting an appropriate communication process from the communication data and performing a request process by judging the means, wherein a plurality of communication devices can be switched and received in a server stub by one remote program; Switching method of multiple communication means.
JP10094250A 1998-04-07 1998-04-07 System for switching plural communication means by remote program Pending JPH11296390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10094250A JPH11296390A (en) 1998-04-07 1998-04-07 System for switching plural communication means by remote program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10094250A JPH11296390A (en) 1998-04-07 1998-04-07 System for switching plural communication means by remote program

Publications (1)

Publication Number Publication Date
JPH11296390A true JPH11296390A (en) 1999-10-29

Family

ID=14105063

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10094250A Pending JPH11296390A (en) 1998-04-07 1998-04-07 System for switching plural communication means by remote program

Country Status (1)

Country Link
JP (1) JPH11296390A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275079B2 (en) 2000-08-08 2007-09-25 International Business Machines Corporation Common application metamodel including C/C++ metamodel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275079B2 (en) 2000-08-08 2007-09-25 International Business Machines Corporation Common application metamodel including C/C++ metamodel

Similar Documents

Publication Publication Date Title
JP3853592B2 (en) Distributed web application server
JP3853593B2 (en) Method and apparatus for implementing an extensible authentication mechanism in a web application server
CA2308772C (en) Method and system for facilitating distributed software development in a distribution unaware manner
JP4507620B2 (en) System for routing a service request to a service instance of a service providing infrastructure that provides resources for hosting the execution of a distributed service, and method and computer program thereof
JP4729172B2 (en) Method and apparatus for performing transactions in a stateless web environment that supports a declarative paradigm
EP0956687B1 (en) Web request broker controlling multiple processes
EP1202174A2 (en) Stub search loading system and method, server apparatus, client apparatus, and computer-readable recording medium
US7418708B2 (en) JMS integration into an application server
WO2003032185A1 (en) System for application server messaging with multiple dispatch pools
JP2004530194A (en) Method and bridge for combining servers and clients of different object types
JPH1083308A (en) Subsystem, method, and recording medium for stab retrieval and loading
CN110825455A (en) Application program running method, device and system
JP2002196931A (en) Providing mechanism for service gateway
US20040010775A1 (en) Method, system and program product for reconfiguration of pooled objects
JPH11296390A (en) System for switching plural communication means by remote program
CN112333270B (en) Method and system for dynamic routing of micro-services
JPH08212180A (en) Inter-process communication processor
KR100350315B1 (en) Apparatus And Method For Remote Input/Output Control In Real-time System
JPH06243077A (en) Distributed transaction processing system
KR100388065B1 (en) Method and apparatus for providing shared library on distributed system using UNIX
JP2004362430A (en) Application preparation device
JP2000339280A (en) Protocol correction method between distributed objects
KR970078205A (en) Client-server distributed transaction communication control method
KR0143742B1 (en) A method of communicating data for multiprocessor system
JPH0342765A (en) Decentralized processor