JPH0652083A - Client connecting device - Google Patents

Client connecting device

Info

Publication number
JPH0652083A
JPH0652083A JP4201446A JP20144692A JPH0652083A JP H0652083 A JPH0652083 A JP H0652083A JP 4201446 A JP4201446 A JP 4201446A JP 20144692 A JP20144692 A JP 20144692A JP H0652083 A JPH0652083 A JP H0652083A
Authority
JP
Japan
Prior art keywords
service
server
client
application
connection processing
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
JP4201446A
Other languages
Japanese (ja)
Inventor
Petsuchi Ibuan
ペッチ イヴァン
Noriyuki Enomoto
本 典 行 榎
Ryota Suehiro
亮 太 末▲廣▼
Nobuaki Tanaka
中 伸 明 田
Yoshihiko Suzuki
木 芳 彦 鈴
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4201446A priority Critical patent/JPH0652083A/en
Publication of JPH0652083A publication Critical patent/JPH0652083A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To easily set the connecting systems different for each service of a server application into the decentralized application programs of the clients which have accesses to plural servers applications that offer the different services. CONSTITUTION:A service class identifier is designated by a client application 11 among an automatic system connection processing part 13a, a user designated connection processing part 13b, and a user selected connection processing part 13c which are provided by a client connecting device 13. Thus an optimum connection processing can be selected for each service and therefore the connection processing can be easily put into a server application. Then a client connection processing control part 13d controls the connection processing for each service based on the service class identifier even with such a complicated client application program that has accesses to plural services. In such a constitution, the optimum connection processing can be selected for each service class.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークで接続さ
れたコンピュータのクライアント・サーバモデルの分散
処理システムにおいて、サービスを要求するクライアン
トシステムとサービスを提供するサーバシステムを連結
するためのクライアント連結装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client connection device for connecting a client system requesting a service and a server system providing a service in a client / server model distributed processing system of computers connected by a network. It is a thing.

【0002】[0002]

【従来の技術】近年、クライアント連結装置は、サーバ
連結装置およびネームサーバ管理装置とともにRPC
(Remote Procedure Call:遠隔手続き呼び出し)を利用
した分散処理システムを開発する場合、広く使用されて
いる。このようなクライアント連結装置の例として、一
般的な装置としては、“Building distributed systems
with remote procedure call ”by Steve Wilbur and
Ben Bacarisse in IEEE Software Engineering Journa
l,September 1987,pages 148-159.で述べられており、
また、代表的な例として“Implementing remote proced
ures calls, ”by Andrew D.Birrel and Bruce Nelson
in ACM Trans.on Computer Systems, Vol. 2,No. 1, Fe
b. 1984,pp. 35-39. の中で述べられているGrapevine
を用いたものが知られている。
2. Description of the Related Art In recent years, a client connection device has become an RPC together with a server connection device and a name server management device.
It is widely used when developing a distributed processing system using (Remote Procedure Call). As an example of such a client connection device, a general device is “Building distributed systems”.
with remote procedure call ”by Steve Wilbur and
Ben Bacarisse in IEEE Software Engineering Journa
l, September 1987, pages 148-159.
Also, as a typical example, “Implementing remote proced
ures calls, ”by Andrew D. Birrel and Bruce Nelson
in ACM Trans.on Computer Systems, Vol. 2, No. 1, Fe
b. Grapevine as described in 1984, pp. 35-39.
Those using are known.

【0003】以下に従来のクライアント連結装置につい
て、サーバ連結装置およびネームサーバ管理装置と関連
づけて説明する。
A conventional client connection device will be described below in association with a server connection device and a name server management device.

【0004】図8は従来のクライアント連結装置を用い
たRPCシステムの全体構成を示すものである。図8に
おいて、81はサービスを要求するクライアントアプリ
ケーションである。82はクライアントアプリケーショ
ン81へサービスを提供するサーバアプリケーションで
ある。83はクライアントアプリケーション81に対し
て連結機能を提供するクライアント連結装置である。8
4はサーバアプリケーション82に対して連結機能を提
供するサーバ連結装置である。85はサーバアプリケー
ション82のサービス情報やネットワークの位置情報を
管理するネームサーバ管理装置である。
FIG. 8 shows the overall configuration of an RPC system using a conventional client connection device. In FIG. 8, reference numeral 81 is a client application that requests a service. A server application 82 provides a service to the client application 81. Reference numeral 83 is a client connection device that provides a connection function to the client application 81. 8
Reference numeral 4 is a server connection device that provides a connection function to the server application 82. Reference numeral 85 denotes a name server management device that manages service information of the server application 82 and network position information.

【0005】以上のように構成されたクライアント連結
装置を用いたRPCシステムについて、以下その動作に
ついて説明する。まず、サーバアプリケーション82が
起動され、サービスの提供が可能となると、サーバアプ
リケーション82は、そのユーザ定義サービス情報をユ
ーザが定義したサービス識別子に基づいて登録すること
をサーバ連結装置84に対して要求する。要求を受けた
サーバ連結装置84は、ネットワーク上の位置情報など
のシステム実行時情報を付加し、サーバ情報としてネー
ムサーバ管理装置85へ登録する。この登録処理は、ネ
ットワーク上の様々なサービスを提供する全てのサーバ
アプリケーション82が起動されてサービス提供可能と
なった時に行なわれる。この時点で、ネームサーバ管理
装置85は、サービス提供可能な全てのサーバシステム
についての情報を所有することになる。一方、クライア
ントアプリケーション81は、要求するサービスを受け
たい時、クライアント連結装置83に対して、該当する
サービスを提供するサーバアプリケーション82のサー
バ情報をサービス識別子に基づいて要求する。この要求
を受けたクライアント連結装置83は、ネームサーバ管
理装置85へ該当するサービスを提供するサーバアプリ
ケーション82の情報をサービス識別子とともに要求す
る。この結果を受けたクライアント連結装置83は、全
てのサーバ情報をクライアントアプリケーション81へ
引き渡す。クライアントアプリケーション81は、この
サーバ情報群の内容から最適なサーバアプリケーション
を選択してクライアント連結装置83に対して連結する
ことを要求する。クライアント連結装置83は、選択さ
れたサーバアプリケーション82のサーバ情報に基づい
て、サーバ連結装置を介してそのサーバアプリケーショ
ン82と連結する。
The operation of the RPC system using the client connecting device configured as described above will be described below. First, when the server application 82 is activated and the service can be provided, the server application 82 requests the server connection device 84 to register the user-defined service information based on the service identifier defined by the user. . Upon receiving the request, the server connection device 84 adds system runtime information such as position information on the network and registers it in the name server management device 85 as server information. This registration process is performed when all the server applications 82 that provide various services on the network are activated and the services can be provided. At this point, the name server management device 85 has the information about all the server systems that can provide the service. On the other hand, when the client application 81 wants to receive the requested service, it requests the client connection device 83 for the server information of the server application 82 that provides the corresponding service based on the service identifier. Upon receiving this request, the client connection device 83 requests the name server management device 85 for the information of the server application 82 that provides the corresponding service together with the service identifier. Upon receiving this result, the client connection device 83 delivers all the server information to the client application 81. The client application 81 requests the client connection device 83 to select an optimum server application from the contents of this server information group and connect it. The client connection device 83 connects to the server application 82 via the server connection device based on the server information of the selected server application 82.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、望んでいるサービスを提供する全てのサ
ーバ情報をネームサーバ管理装置から得て、最適なサー
バを選択し連結するための処理を、分散アプリケーショ
ンプログラムの開発者であるユーザがサービスを利用す
る全てのクライアントアプリケーションプログラム中に
組み込まなければならず、特に、異なるサービスを提供
する複数のサーバにアクセスするようなクライアントの
分散アプリケーションプログラムを開発する場合、それ
ぞれのサービス毎に連結処理を組み込む必要があり、非
常に大きな負担となるという課題を有していた。
However, in the above-mentioned conventional configuration, the process for obtaining all the server information providing the desired service from the name server management device and selecting and connecting the optimum server is performed. A user who is a developer of a distributed application program must incorporate it into all client application programs that use services, and especially develops distributed application programs for clients that access multiple servers that provide different services. In this case, it is necessary to incorporate a linking process for each service, which poses a problem of a very large burden.

【0007】本発明は、上記従来技術の課題を解決する
ものであり、異なるサービスを提供する複数のサーバア
プリケーションにアクセスするクライアントの分散アプ
リケーションプログラムに対して、サーバアプリケーシ
ョンのサービス毎に異なる連結方式を組み込むことを可
能とし、1つのサーバアプリケーションへアクセスする
場合も含めて、クライアント・サーバモデルの分散アプ
リケーションプログラム開発において、開発者が連結処
理を容易に組み込むことができるクライアント連結装置
を提供することを目的とする。
The present invention is to solve the above-mentioned problems of the prior art, and for a distributed application program of a client that accesses a plurality of server applications providing different services, a different connection method is used for each service of the server application. An object of the present invention is to provide a client connection device which can be incorporated and allows a developer to easily incorporate a connection process in the development of a client / server model distributed application program including the case of accessing one server application. And

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、サービスを要求するクライアントアプリ
ケーションに対して、サービスを提供するサーバアプリ
ケーションのサービスインタフェース定義からシステム
が生成したサービスクラス識別子に基づいて該当するサ
ービスを提供可能なサーバアプリケーション群の中から
自動的にサーバアプリケーションを選択して連結するシ
ステム自動連結処理部と、サービスを要求するクライア
ントアプリケーションに対して、要求時に指定されたユ
ーザ定義サービス情報の条件とシステムが生成したサー
ビスクラス識別子に基づいて自動的にサーバアプリケー
ションを選択して連結するユーザ指定連結処理部と、サ
ービスを要求するクライアントアプリケーションに対し
て、システムが生成したサービスクラス識別子に基づい
て要求されたサービスを提供可能な全てのサーバアプリ
ケーション情報を提供し、クライアントアプリケーショ
ンが選択したサーバアプリケーションと連結するユーザ
選択連結処理部と、クライアントアプリケーションがシ
ステム自動連結処理部、ユーザ指定連結処理部およびユ
ーザ選択連結処理部の中から選択した連結処理方式をサ
ービスクラス識別子単位で管理するクライアント連結処
理管理部とを備えている。
In order to achieve the above object, the present invention provides a service class identifier generated by a system from a service interface definition of a server application that provides a service to a client application that requests the service. Based on the system application automatic connection processing unit that automatically selects and connects the server application from the group of server applications that can provide the corresponding service, and the user definition specified at the time of the request for the client application that requests the service. The system creates a service for the user-specified connection processing unit that automatically selects and connects the server application based on the service information condition and the service class identifier generated by the system, and the client application that requests the service. A user selection connection processing unit that provides all server application information that can provide the requested service based on the service class identifier, and the client application connects the server application with the server application selected by the client application; A client connection processing management unit that manages the connection processing method selected from the user-specified connection processing unit and the user-selected connection processing unit in units of service class identifiers.

【0009】[0009]

【作用】本発明は、上記構成によって、クライアント連
結装置が提供するシステム自動連結処理部、ユーザ指定
連結処理部、ユーザ選択連結処理部の中から、クライア
ントアプリケーションが、サービスクラス識別子を指定
してサービス毎に最適な連結処理を選択可能とすること
によって、簡単に連結処理を組み込むことができる。ま
た複数のサービスをアクセスするようなクライアントア
プリケーションプログラムでも、クライアント連結処理
管理部がサービスクラス識別子に基づいてサービス毎に
連結処理を管理することによって、サービスクラス毎に
最適な連結処理を選択して組み込むことができ、1つの
サーバアプリケーションへアクセスする場合も含めて、
様々なクライアント・サーバモデルの分散アプリケーシ
ョンプログラム開発において、開発者は柔軟かつ容易に
連結処理を組み込むことができる。
According to the present invention, according to the above configuration, the client application specifies the service class identifier from among the system automatic connection processing unit, the user-specified connection processing unit, and the user-selected connection processing unit provided by the client connection device to provide the service. By making it possible to select the optimum connection process for each, the connection process can be easily incorporated. Even in a client application program that accesses a plurality of services, the client concatenation process management unit manages the concatenation process for each service based on the service class identifier, and selects and incorporates the optimal concatenation process for each service class. And including access to a single server application,
In developing distributed application programs of various client / server models, developers can flexibly and easily incorporate the linking process.

【0010】[0010]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。図1は本発明の一実施例におけるク
ライアント連結装置を用いたRPCシステムの構成図で
ある。図1において、11はRPCサービスを要求する
クライアントアプリケーション、12はクライアントア
プリケーション11へRPCサービスを提供するサーバ
アプリケーション、13はクライアントアプリケーショ
ン11に対して連結機能を提供するクライアント連結装
置、13aはシステム自動連結処理を行なうシステム自
動連結処理部、13bはユーザ指定連結処理を行なうユ
ーザ指定連結処理部、13cはユーザ選択連結処理を行
なうユーザ選択連結処理部、13dは選択した連結処理
方式をサービスクラス識別子単位で管理するクライアン
ト連結処理管理部、14はサーバアプリケーション12
に対して連結機能やサーバシステム情報の登録および削
除機能を提供するサーバ連結装置、15はネットワーク
上のサービスを提供する全サーバアプリケーション12
のサーバ情報をサービスクラス識別子に基づいて管理す
るネームサーバ管理装置、16はサーバアプリケーショ
ンのサービスインタフェースを定義したサービスインタ
フェース定義、17はサービスインタフェース定義16
からサービスクラス識別子を生成するクラス生成部であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of an RPC system using a client connection device according to an embodiment of the present invention. In FIG. 1, 11 is a client application that requests an RPC service, 12 is a server application that provides an RPC service to the client application 11, 13 is a client connection device that provides a connection function to the client application 11, and 13a is a system automatic connection. A system automatic connection processing unit for performing processing, 13b for user specified connection processing unit for performing user specified connection processing, 13c for user selected connection processing unit for user selected connection processing, 13d for selected connection processing method in service class identifier units. A client connection processing management unit for management, 14 is a server application 12
A server connection device that provides a connection function and a function for registering and deleting server system information, and 15 is a total server application 12 that provides services on the network.
Server management device for managing the server information of the server based on the service class identifier, 16 is a service interface definition defining the service interface of the server application, and 17 is the service interface definition 16
Is a class generation unit that generates a service class identifier from.

【0011】以上のように構成されたクライアント連結
装置を用いたRPCシステムの動作について以下に説明
する。まず、サービスクラス識別子の生成について説明
する。サービスクラス識別子は、クライアント連結装置
13とサーバ連結装置14を生成する時に、クラス生成
部17がサービスインタフェース定義16を読み込んで
生成し組み込む。次に、サーバアプリケーション12の
サービス登録処理について図2のフローチャートを用い
て説明する。サーバアプリケーション12がクライアン
トアプリケーション11に対してサービス提供可能とな
った時、サーバアプリケーション12は、ユーザ定義サ
ービス情報を設定し(ステップ21)、サーバ連結装置
14に対してサービス開始要求を発行する(ステップ2
2)。サーバ連結装置14は、ユーザ定義サービス情報
へサービスクラス識別子とこのサーバのシステム実行時
情報を付加し(ステップ23)、ネームサーバ管理装置
15に対して、このサーバ情報を登録するように依頼す
る(ステップ24)。ネームサーバ管理装置15は、サ
ービスクラス識別子に基づいて、この情報を登録して格
納し(ステップ25)、その結果をサーバ連結装置14
へ返す。この時、ネームサーバ管理装置15内に同一サ
ービスクラス識別子がすでにサーバ情報として登録され
ているならば、すでに格納されている同一サービスクラ
ス識別子のサーバ情報の最後のエントリの次にこのサー
バ情報を格納する。もし、サービスクラス識別子がまだ
登録されていないならば、サービスクラス識別子の登録
とサーバ情報の格納を行なう。サーバ連結装置14は登
録処理の結果を判断し(ステップ26)、正しくサーバ
情報が格納された場合、クライアントアプリケーション
11からのサービス要求を待つ(ステップ27)。ま
た、正しく格納されていない場合、その理由をサーバア
プリケーション12へ通知する(ステップ28)。サー
バアプリケーション12がサービス提供を終了する場
合、サーバ連結装置14に対してサービス削除要求を発
行する。サーバ連結装置14は、サービスクラス識別子
とサーバシステム実行時情報に基づいて、ネームサーバ
管理装置15に対して、このサーバ情報を削除するよう
に依頼する。この処理結果を受け取ったサーバ連結装置
14は、その結果をサーバアプリケーション12へ通知
する。
The operation of the RPC system using the client connecting device configured as described above will be described below. First, the generation of the service class identifier will be described. The service class identifier is read and generated by the class generation unit 17 when the client connection device 13 and the server connection device 14 are generated, and is incorporated into the service interface definition 16. Next, the service registration process of the server application 12 will be described with reference to the flowchart of FIG. When the server application 12 can provide the service to the client application 11, the server application 12 sets the user-defined service information (step 21) and issues a service start request to the server concatenation device 14 (step). Two
2). The server connection device 14 adds the service class identifier and the system runtime information of this server to the user-defined service information (step 23), and requests the name server management device 15 to register this server information ( Step 24). The name server management device 15 registers and stores this information based on the service class identifier (step 25), and the result is stored in the server connection device 14.
Return to. At this time, if the same service class identifier has already been registered as server information in the name server management device 15, this server information is stored next to the last entry of the server information of the same service class identifier already stored. To do. If the service class identifier is not registered yet, the service class identifier is registered and the server information is stored. The server connection device 14 judges the result of the registration process (step 26), and when the server information is correctly stored, waits for a service request from the client application 11 (step 27). If it is not stored correctly, the reason is notified to the server application 12 (step 28). When the server application 12 finishes providing the service, it issues a service deletion request to the server connection device 14. The server connection device 14 requests the name server management device 15 to delete this server information based on the service class identifier and the server system runtime information. Upon receiving the processing result, the server connection device 14 notifies the server application 12 of the result.

【0012】次にクライアントアプリケーション11の
連結処理を説明する。クライアントアプリケーション1
1は、サーバアプリケーション12のサービスを要求す
る前にシステム自動連結処理、ユーザ指定連結処理、ユ
ーザ選択連結処理の中で、どの連結処理を行なうかサー
ビスクラス識別子単位にクライアント連結装置13に対
して指定する。これは、図3で示すようにサービスクラ
ス識別子毎の連結処理管理テーブルとしてクライアント
連結処理管理部13dが管理する。このテーブルは、1
つのエントリが、サービスクラス識別子エリア31、指
定された連結処理方式設定エリア32、サービスを提供
するサーバアプリケーションのサーバ情報設定エリア3
3から構成され、クライアントアプリケーション11が
要求するサービスクラスの数だけエントリがある。も
し、クライアントアプリケーションが連結処理を指定し
ない場合、ディフォルトの連結処理が仮定される。これ
は、システム自動連結処理、ユーザ指定連結処理、ユー
ザ選択連結処理のどれでもよいが、本実施例では、シス
テム自動連結処理とする。また、サーバ情報エリア33
は、連結するサーバアプリケーション12が決定した
時、設定される。
Next, the connection processing of the client application 11 will be described. Client application 1
1 indicates to the client connection device 13 which connection process is to be performed among the system automatic connection process, the user-specified connection process, and the user-selected connection process before requesting the service of the server application 12. To do. This is managed by the client connection processing management unit 13d as a connection processing management table for each service class identifier as shown in FIG. This table is 1
One entry is a service class identifier area 31, a specified concatenated processing method setting area 32, and a server information setting area 3 of a server application that provides a service.
3, and there are as many entries as the number of service classes requested by the client application 11. If the client application does not specify a concatenation process, the default concatenation process is assumed. This may be any one of the system automatic connection process, the user-specified connection process, and the user-selected connection process, but in the present embodiment, it is the system automatic connection process. In addition, the server information area 33
Is set when the server application 12 to be connected is determined.

【0013】まず初めにユーザ指定連結処理とユーザ選
択連結処理について説明する。これらの処理は、RPC
によるサーバアプリケーションのサービス要求をする前
に、クライアント連結装置に対してサーバ情報を得るた
めのセットアップ処理が必要となる。これらの処理につ
いて、ユーザ指定連結処理は図4のフローチャートを参
照し、ユーザ選択連結処理は図5のフローチャートを参
照しながら説明する。
First, the user-specified connection processing and the user-selected connection processing will be described. These processes are performed by RPC
Before making a service request of the server application by the above, a setup process for obtaining the server information is required for the client connecting device. These processes will be described with reference to the flowchart of FIG. 4 for the user-specified connection process and with reference to the flowchart of FIG. 5 for the user-selected connection process.

【0014】図4に示すユーザ指定連結処理では、クラ
イアントアプリケーション11が、クライアント連結装
置13に対して、該当するサービスのサービスクラス識
別子と、要求するユーザ定義サービス情報の条件とを指
定して、このサービスを提供可能なサーバアプリケーシ
ョン12に連結することを要求する(ステップ41)。
この要求を受け取ったクライアント連結装置13のユー
ザ指定連結処理部13bは、サービスクラス識別子とユ
ーザ定義サービス情報に基づいて、ネームサーバ管理装
置15に対して指定されたサービス条件を満足する1つ
のサーバ情報を要求する(ステップ42)。ネームサー
バ管理装置15は、指定されたサービス条件を満足する
サーバアプリケーションのサーバ情報をサービスクラス
識別子とユーザ定義情報に基づいて検索し(ステップ4
3)、その結果をクライアント連結装置13のユーザ指
定連結処理部13bへ転送する(ステップ44)。ユー
ザ指定連結処理部13bは、その結果を判断し(ステッ
プ45)、該当するサーバアプリケーションが存在する
場合、クライアント連結管理部13dにこのサーバ情報
の管理要求を行ない、クライアント連結管理部13d
は、該当するサービスクラス識別子の連結処理管理テー
ブルへサーバ情報を設定し(ステップ46)、クライア
ントアプリケーションへ返す。
In the user-specified connection process shown in FIG. 4, the client application 11 specifies the service class identifier of the corresponding service and the condition of the user-defined service information to be requested to the client connection device 13, and A request is made to connect to the server application 12 that can provide the service (step 41).
Upon receiving this request, the user-specified connection processing unit 13b of the client connection device 13 is a piece of server information that satisfies the service condition specified for the name server management device 15 based on the service class identifier and the user-defined service information. Is requested (step 42). The name server management device 15 searches the server information of the server application that satisfies the specified service condition based on the service class identifier and the user-defined information (step 4).
3) The result is transferred to the user-specified connection processing unit 13b of the client connection device 13 (step 44). The user-specified connection processing unit 13b judges the result (step 45), and if the corresponding server application exists, it requests the client connection management unit 13d to manage this server information, and the client connection management unit 13d.
Sets the server information in the concatenation processing management table of the corresponding service class identifier (step 46) and returns it to the client application.

【0015】図5に示すユーザ選択連結処理では、クラ
イアントアプリケーション11が、クライアント連結装
置13に対して、要求するサービスを提供する全てのサ
ーバアプリケーションのサーバ情報をサービスクラス識
別子に基づいて要求する(ステップ51)。この要求を
受け取ったクライアント連結装置13のユーザ選択連結
処理部13cは、サービスクラス識別子に基づいて、ネ
ームサーバ管理装置15に対して該当するサービスの全
てのサーバ情報を要求する(ステップ52)。ネームサ
ーバ管理装置15は、該当するサービスを提供する全て
のサーバアプリケーションのサーバ情報をサービスクラ
ス識別子に基づいて検索し(ステップ53)、検索した
全ての情報をクライアント連結装置13のユーザ選択連
結処理部13cへ転送する(ステップ54)。この情報
を受け取ったユーザ選択連結処理部13cは、その全て
の情報をクライアントアプリケーション11へ引き渡す
(ステップ55)。クライアントアプリケーション11
は、受け取った全てのサーバ情報を参照して、サービス
を要求するサーバアプリケーション12を選択し(ステ
ップ56)、クライアント連結処理管理部13dにこの
サーバ情報の管理要求をサービスクラス識別子とともに
行なう(ステップ57)。クライアント連結管理部13
dは、該当するサービスクラス識別子の連結処理管理テ
ーブルへサーバ情報を設定し(ステップ58)、クライ
アントアプリケーションへ返す。
In the user selection connection process shown in FIG. 5, the client application 11 requests the server information of all the server applications that provide the requested service to the client connection device 13 based on the service class identifier (step). 51). Upon receiving this request, the user selection connection processing unit 13c of the client connection device 13 requests all server information of the corresponding service from the name server management device 15 based on the service class identifier (step 52). The name server management device 15 searches the server information of all server applications that provide the corresponding service based on the service class identifier (step 53), and retrieves all the searched information in the user selection connection processing unit of the client connection device 13. 13c (step 54). Upon receiving this information, the user selection connection processing unit 13c delivers all the information to the client application 11 (step 55). Client application 11
Refers to all the received server information, selects the server application 12 requesting the service (step 56), and requests the client connection processing manager 13d to manage this server information together with the service class identifier (step 57). ). Client connection management unit 13
The d sets the server information in the concatenation processing management table of the corresponding service class identifier (step 58) and returns it to the client application.

【0016】次に、クライアントアプリケーション11
が、RPCを利用したサーバアプリケーションのサービ
スを要求する場合の処理について、図6のフローチャー
トを参照しながら説明する。まず、クライアントアプリ
ケーション11がサーバアプリケーションに対してRP
Cを利用したサービス要求を行なうと(ステップ6
1)、クライアント連結装置13は、クライアント連結
管理部13dにこのサービスのサービスクラス識別子の
サーバ情報があるか否かを問い合わせる(ステップ6
2)。サーバ情報があるならば、サーバアプリケーショ
ンとRPCを利用したサービスを開始する(ステップ6
6)。サーバ情報がないならば、連結処理がディフォル
トかまたはシステム自動連結処理かを判断する(ステッ
プ63)。この結果、他の連結処理の場合、クライアン
トアプリケーション11へエラーリターンする(ステッ
プ67)。そうでないならば、システム自動連結処理部
13aに対してシステム自動連結処理を実行して、サー
バ情報を得る(ステップ64)。もし、サーバ情報が得
られない場合、クライアントアプリケーション11へエ
ラーリターンする(ステップ67)。サーバ情報が得ら
れたならば、このサーバ情報からサーバアプリケーショ
ン12の位置情報を得て、該当するサービスを提供する
サーバアプリケーション12とのRPCを利用したサー
ビスを開始する(ステップ66)。
Next, the client application 11
A process for requesting a service of a server application using RPC will be described with reference to the flowchart of FIG. First, the client application 11 sends an RP to the server application.
When a service request is made using C (step 6)
1) The client connection device 13 inquires of the client connection management unit 13d whether or not there is server information of the service class identifier of this service (step 6).
2). If there is server information, a service using the server application and RPC is started (step 6).
6). If there is no server information, it is judged whether the connection processing is the default or the system automatic connection processing (step 63). As a result, in the case of another connection process, an error is returned to the client application 11 (step 67). If not, the system automatic connection processing is executed for the system automatic connection processing unit 13a to obtain server information (step 64). If the server information cannot be obtained, an error is returned to the client application 11 (step 67). When the server information is obtained, the position information of the server application 12 is obtained from this server information and the service using the RPC with the server application 12 that provides the corresponding service is started (step 66).

【0017】次に、ステップ64のシステム自動連結処
理の処理を図7のフローチャートを参照しながら説明す
る。要求を受け取ったシステム自動連結処理部13a
は、サービスクラス識別子に基づいて、ネームサーバ管
理装置15に対してサービス要求を満足する1つのサー
バアプリケーションのサーバ情報を要求する(ステップ
71)。ネームサーバ管理装置15は、要求するサービ
スを満足するサーバアプリケーションのサーバ情報をサ
ービスクラス識別子に基づいて検索し(ステップ7
2)、その結果をクライアント連結装置13のシステム
自動連結処理部13aへ転送する(ステップ73)。シ
ステム自動連結処理部13aは、この結果を判断し(ス
テップ74)、該当するサーバ情報が存在する場合、ク
ライアント連結処理管理部13dに要求し、該当するサ
ービスクラス識別子の連結処理管理テーブルへサーバ情
報を設定する(ステップ75)。
Next, the processing of the system automatic connection processing in step 64 will be described with reference to the flowchart of FIG. System automatic connection processing unit 13a that received the request
Requests the server information of one server application satisfying the service request from the name server management device 15 based on the service class identifier (step 71). The name server management device 15 searches the server information of the server application that satisfies the requested service based on the service class identifier (step 7).
2) The result is transferred to the system automatic connection processing unit 13a of the client connection device 13 (step 73). The system automatic concatenation processing unit 13a judges this result (step 74), and if the corresponding server information exists, requests it to the client concatenation processing management unit 13d and writes the server information to the concatenation processing management table of the corresponding service class identifier. Is set (step 75).

【0018】以上のように本実施例によれば、クライア
ント連結装置が提供するシステム自動連結処理、ユーザ
指定連結処理、ユーザ選択連結処理の中から、クライア
ントアプリケーションが、サービスクラス識別子を指定
してサービス毎に最適な連結処理を選択可能とすること
によって、簡単に連結処理を組み込むことができる。ま
た複数のサービスをアクセスするようなクライアントア
プリケーションプログラムでも、クライアント連結処理
管理部がサービスクラス識別子に基づいてサービス毎に
連結処理を管理することによって、サービスクラス毎に
最適な連結処理を選択し組み込むことができ、1つのサ
ーバアプリケーションへアクセスする場合も含めて、様
々なクライアント・サーバモデルの分散アプリケーショ
ンプログラム開発において、開発者は柔軟かつ容易に連
結処理を組み込むことができる。
As described above, according to this embodiment, the client application specifies the service class identifier from among the system automatic connection processing, the user-specified connection processing, and the user-selected connection processing provided by the client connection apparatus, and the service is provided. By making it possible to select the optimum connection process for each, the connection process can be easily incorporated. Even in a client application program that accesses multiple services, the client concatenation processing management unit manages the concatenation processing for each service based on the service class identifier to select and incorporate the optimum concatenation processing for each service class. Therefore, in developing distributed application programs of various client / server models, including the case of accessing one server application, the developer can flexibly and easily incorporate the linking process.

【0019】[0019]

【発明の効果】以上のように本発明は、クライアント連
結装置が提供するシステム自動連結処理、ユーザ指定連
結処理、ユーザ選択連結処理の中から、クライアントア
プリケーションが、サービスクラス識別子を指定してサ
ービス毎に最適な連結処理を選択可能とすることによっ
て、簡単に連結処理を組み込むことができ、複数のサー
ビスをアクセスするようなクライアントアプリケーショ
ンプログラムでも、クライアント連結処理管理部がサー
ビスクラス識別子に基づいてサービス毎に連結処理を管
理することによって、サービスクラス毎に最適な連結処
理を選択し組み込むことができ、1つのサーバアプリケ
ーションへアクセスする場合も含めて、様々なクライア
ント・サーバモデルの分散アプリケーションプログラム
開発において、開発者が柔軟かつ容易に連結処理を組み
込むことができる優れたクライアント連結装置を実現で
きるものである。
As described above, according to the present invention, the client application specifies the service class identifier from among the system automatic connection processing, the user-specified connection processing, and the user-selected connection processing provided by the client connection device, and the client application specifies each service. By making it possible to select the optimal concatenation process for each service, the concatenation process can be easily incorporated, and even in a client application program that accesses multiple services, the client concatenation process management unit uses the service class identifier for each service. By managing the connection processing in the, it is possible to select and incorporate the optimum connection processing for each service class, including the case of accessing one server application, in the development of distributed application programs of various client / server models. Open Who is one that can achieve a superior client connecting device may incorporate a flexible and easy consolidation.

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

【図1】本発明の一実施例におけるクライアント連結装
置を利用したRPCシステムの全体構成図
FIG. 1 is an overall configuration diagram of an RPC system using a client connection device according to an embodiment of the present invention.

【図2】本発明の一実施例におけるサーバ連結装置のサ
ーバシステムの登録処理を示すフローチャート
FIG. 2 is a flowchart showing a registration process of a server system of a server connection device according to an embodiment of the present invention.

【図3】本発明の一実施例におけるクライアント連結処
理管理部が管理するテーブルの構成図
FIG. 3 is a configuration diagram of a table managed by a client connection processing management unit according to an embodiment of the present invention.

【図4】本発明の一実施例におけるクライアント連結装
置のユーザ指定連結モード処理を示すフローチャート
FIG. 4 is a flowchart showing a user-specified connection mode process of a client connection device according to an embodiment of the present invention.

【図5】本発明の一実施例におけるクライアント連結装
置のユーザ選択連結モード処理を示すフローチャート
FIG. 5 is a flowchart showing a user selection connection mode process of the client connection device according to the embodiment of the present invention.

【図6】本発明の一実施例におけるクライアント連結装
置のサービス提供処理を示すフローチャート
FIG. 6 is a flowchart showing a service providing process of the client connection device according to an embodiment of the present invention.

【図7】本発明の一実施例におけるクライアント連結装
置のシステム自動連結モード処理を示すフローチャート
FIG. 7 is a flowchart showing system automatic connection mode processing of the client connection device according to an embodiment of the present invention.

【図8】従来のクライアント連結装置を利用したRPC
システムの全体構成図
FIG. 8: RPC using a conventional client connection device
Overall system configuration diagram

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

11 クライアントアプリケーション 12 サーバアプリケーション 13 クライアント連結装置 13a システム自動連結処理部 13b ユーザ指定連結処理部 13c ユーザ選択連結処理部 13d クライアント連結処理管理部 14 サーバ連結装置 15 ネームサーバ管理装置 31 サービスクラス識別子エリア 32 連結処理方式設定エリア 33 サーバ情報設定エリア 81 クライアントアプリケーション 82 サーバアプリケーション 83 クライアント連結装置 84 サーバ連結装置 85 ネームサーバ管理装置 11 client application 12 server application 13 client connection device 13a system automatic connection processing unit 13b user specified connection processing unit 13c user selection connection processing unit 13d client connection processing management unit 14 server connection device 15 name server management device 31 service class identifier area 32 connection Processing method setting area 33 Server information setting area 81 Client application 82 Server application 83 Client connection device 84 Server connection device 85 Name server management device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田 中 伸 明 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 鈴 木 芳 彦 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuaki Tanaka 1006 Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Yoshihiko Suzuki, 1006 Kadoma, Kadoma, Osaka Matsushita Electric Industrial Within the corporation

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 サービスを要求するクライアントアプリ
ケーションに対して、サービスを提供するサーバアプリ
ケーションのサービスインタフェース定義からシステム
が生成したサービスクラス識別子に基づいて、該当する
サービスを提供可能なサーバアプリケーション群の中か
ら自動的にサーバアプリケーションを選択して連結する
システム自動連結処理部と、サービスを要求するクライ
アントアプリケーションに対して、要求時に指定された
ユーザ定義サービス情報の条件とシステムが生成したサ
ービスクラス識別子に基づいて自動的にサーバアプリケ
ーションを選択して連結するユーザ指定連結処理部と、
サービスを要求するクライアントアプリケーションに対
して、システムが生成したサービスクラス識別子に基づ
いて要求されたサービスを提供可能な全てのサーバアプ
リケーション情報を提供し、クライアントアプリケーシ
ョンが選択したサーバアプリケーションと連結するユー
ザ選択連結処理部と、クライアントアプリケーションが
システム自動連結処理部、ユーザ指定連結処理部および
ユーザ選択連結処理部の中からサービスクラス識別子単
位に選択した連結処理方式を前記クライアントアプリケ
ーションが要求する全サービスについてサービスクラス
識別子単位で管理するクライアント連結処理管理部とを
備えたクライアント連結装置。
1. A server application group that can provide a corresponding service to a client application that requests the service, based on a service class identifier generated by the system from a service interface definition of the server application that provides the service. Based on the conditions of user-defined service information specified at the time of request and the service class identifier generated by the system for the system automatic connection processing unit that automatically selects and connects the server application and the client application that requests the service A user-specified connection processing unit that automatically selects and connects server applications,
A user-selected connection that provides a client application that requests a service with information about all server applications that can provide the requested service based on the service class identifier generated by the system, and connects with the server application selected by the client application. A service class identifier for all services for which the client application requests a connection processing method selected by the processing application and the client application from the system automatic connection processing portion, the user-specified connection processing portion, and the user-selected connection processing portion for each service class identifier. A client connection device including a client connection processing management unit that manages in units.
JP4201446A 1992-07-28 1992-07-28 Client connecting device Pending JPH0652083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4201446A JPH0652083A (en) 1992-07-28 1992-07-28 Client connecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4201446A JPH0652083A (en) 1992-07-28 1992-07-28 Client connecting device

Publications (1)

Publication Number Publication Date
JPH0652083A true JPH0652083A (en) 1994-02-25

Family

ID=16441228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4201446A Pending JPH0652083A (en) 1992-07-28 1992-07-28 Client connecting device

Country Status (1)

Country Link
JP (1) JPH0652083A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001001001A1 (en) 1999-06-28 2001-01-04 Aoyama Seisakusho Co., Ltd. Tapping screw

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001001001A1 (en) 1999-06-28 2001-01-04 Aoyama Seisakusho Co., Ltd. Tapping screw
US6672813B1 (en) 1999-06-28 2004-01-06 Aoyama Seisakusho Co., Ltd. Tapping screw

Similar Documents

Publication Publication Date Title
US5864669A (en) Method and system for accessing a particular instantiation of a server process
JP3489123B2 (en) Application binding method
JP5398155B2 (en) Method and system for account management
JP3622313B2 (en) Document management system
US9438660B2 (en) Method and system for distributing art
US7213069B2 (en) Category name service able to override the category name based on requestor privilege information
US20040260953A1 (en) Password synchronization in a sign-on management system
JP2003501726A (en) Server agent system
JP2003504721A (en) Reconfiguration manager that controls electronic device upgrades
CN110555015B (en) Database entity management method and device, electronic equipment and storage medium
JPH0675889A (en) Method and apparatus for executing server function in dispersed non-uniform environment
JP2002099454A (en) File control system and method
EP2304567A2 (en) Method and apparatus for providing a synchronous interface for an asynchronous service
US6598073B2 (en) Processing common work using flexible command strings
JPH1083306A (en) Method and device for providing client support without installation of server software
US8032504B2 (en) Mechanism for enabling new task types to be added to a system for managing distributed nodes
JPH11312154A (en) Cooperative work aiding system and recording medium thereof
JPH0652083A (en) Client connecting device
EP1171815A2 (en) Method and system for distributing art
JP3471203B2 (en) Network system
JP2004220318A (en) Information processor and program to be used for same
JP3304353B2 (en) Software resource distribution management system
JPH06332830A (en) Application management device and remote procedure calling system
JPH1055300A (en) File access method
JPH0512226A (en) Composite electronic computer system