JPH076140A - Server program address managing device - Google Patents

Server program address managing device

Info

Publication number
JPH076140A
JPH076140A JP5172419A JP17241993A JPH076140A JP H076140 A JPH076140 A JP H076140A JP 5172419 A JP5172419 A JP 5172419A JP 17241993 A JP17241993 A JP 17241993A JP H076140 A JPH076140 A JP H076140A
Authority
JP
Japan
Prior art keywords
program
server
computer
address management
address
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
JP5172419A
Other languages
Japanese (ja)
Inventor
Keisuke Tamiya
圭介 田宮
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 JP5172419A priority Critical patent/JPH076140A/en
Publication of JPH076140A publication Critical patent/JPH076140A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To obtain the logical address (port number) of a server program to be required for the remote call of the server program by the retrieving processing of a client computer without inquiring the logical address to a server computer in each remote call. CONSTITUTION:When the server program 152 is started by the server computer 112. its logical address is informed to the client computer 111 and managed by a program address managing table 121. In the case of remotely calling the program 152, a client program 151 requests a program address managing means 131 to retrieve the logical address of the program 152. The means 131 retrieves the table 121 and acquires and returns the logical address. The program 151 specifies the received logical address to execute the remote call of the program 152.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、サーバプログラムアド
レス管理装置に関し、より具体的には、クライアント計
算機とサーバ計算機とで構築された計算機システムにお
いて、クライアント計算機上で動作するクライアントプ
ログラムからサーバ計算機上で動作するサーバプログラ
ムを呼び出す際に必要となるサーバプログラムの論理ア
ドレスを管理する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server program address management device, and more specifically, in a computer system constructed by a client computer and a server computer, a client program operating on the client computer is operated on the server computer. The present invention relates to a device that manages a logical address of a server program that is required when calling a server program that operates in.

【0002】[0002]

【従来の技術】一般に、サーバ計算機とクライアント計
算機とで構成された計算機システムにおいては、クライ
アント計算機上で動作するクライアントプログラムから
サーバ計算機上で動作するサーバプログラムを、遠隔呼
び出しで呼び出す際には、サーバ計算機内で一意である
ようなサーバプログラムの計算機内アドレスである論理
アドレスを指定する必要がある。
2. Description of the Related Art Generally, in a computer system composed of a server computer and a client computer, when a client program operating on the client computer calls a server program operating on the server computer by remote call, It is necessary to specify a logical address that is an in-computer address of a server program that is unique within the computer.

【0003】このため、従来においては、サーバ計算機
上のテーブルでサーバプログラムの計算機内アドレスを
管理しておき、クライアント計算機から要求があれば、
該当するサーバプログラムの論理アドレスを返却するこ
とにより、クライアント計算機上のクライアントプログ
ラムがサーバプログラムの計算機内アドレスを獲得し得
るようにしていた。このような方法を具体的に利用して
いる例として、UNIX(登録商標)上の、プログラム
アドレス管理を行うプログラムであるポートマッパがあ
る。
Therefore, in the past, in-computer addresses of server programs are managed in a table on the server computer, and if a request is made from a client computer,
By returning the logical address of the corresponding server program, the client program on the client computer can acquire the in-computer address of the server program. An example of the specific use of such a method is a port mapper on UNIX (registered trademark), which is a program for managing program addresses.

【0004】ポートマッパは、サーバプログラムの計算
機内アドレス(ポート番号とも称す)をポートマップと
いうテーブルで管理している。ポートマップはサーバプ
ログラムが存在する計算機上に置かれ、クライアントプ
ログラムが遠隔呼び出しをする際には、先ずポートマッ
パを遠隔呼び出しで呼び出し、目的のサーバプログラム
のポート番号を獲得する。クライアントプログラムはポ
ート番号を獲得した後、ポート番号とサーバ計算機のネ
ットワークアドレス(インターネットアドレス)との2
つを使ってサーバプログラムの遠隔呼び出しを行ってい
る。
The port mapper manages in-computer addresses (also called port numbers) of server programs in a table called a port map. The port map is placed on the computer in which the server program exists. When the client program makes a remote call, the port mapper is first called by remote call to obtain the port number of the target server program. After the client program acquires the port number, the port number and the network address (Internet address) of the server computer will be 2
Is used to make a remote call to the server program.

【0005】[0005]

【発明が解決しようとする課題】上述したように、プロ
グラムアドレス管理テーブル(ポートマップ)が、サー
バ計算機上に置かれている方式では、クライアントプロ
グラムが、サーバプログラムに対し遠隔呼び出しをしよ
うとする度に、サーバプログラムアドレス(ポート番
号)をサーバ計算機に問い合わせる必要が生じる。従っ
て、複数のクライアントプログラムがネットワークを介
してサーバプログラムを遠隔呼び出しするような環境で
は、その遠隔呼び出しそれぞれに対し、サーバプログラ
ムのポート番号獲得という遠隔呼び出しが1回ずつ付加
されることになり、結果としてネットワークとサーバ計
算機に負荷がかかることになる。
As described above, in the system in which the program address management table (port map) is placed on the server computer, every time the client program tries to make a remote call to the server program. In addition, it becomes necessary to inquire the server computer of the server program address (port number). Therefore, in an environment where a plurality of client programs remotely call a server program via the network, a remote call for obtaining the port number of the server program is added once for each remote call. As a result, the network and server computers will be overloaded.

【0006】本発明はこのような事情に鑑みて提案され
たものであり、その目的は、ポート番号の獲得という付
加的な遠隔呼び出しを行うことなく、ポート番号を獲得
し得るようにすることにある。
The present invention has been proposed in view of the above circumstances, and an object thereof is to obtain a port number without performing an additional remote call for obtaining a port number. is there.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を達
成するために、ネットワークを介して他計算機にサーバ
プログラムの論理アドレスを指定してサーバプログラム
の実行を要求し、その実行結果を受信するクライアント
計算機と、他計算機からサーバプログラムの実行が要求
されることにより、要求されたサーバプログラムを実行
して結果を返却するサーバ計算機とで構成された計算機
システムにおいて、クライアント計算機に、サーバ計算
機で起動中のサーバプログラムの論理アドレスを、サー
バ計算機のネットワークアドレスと共に保存するクライ
アント側プログラムアドレス管理テーブルと、サーバ計
算機から通知されるサーバプログラムの論理アドレスを
前記クライアント側プログラムアドレス管理テーブルで
管理すると共に、クライアントプログラムからの要求に
従って前記クライアント側プログラムアドレス管理テー
ブルを検索してサーバプログラムの論理アドレスを返却
するクライアント側プログラムアドレス管理手段とを備
えるようにしている。
In order to achieve the above object, the present invention requests the execution of a server program by designating a logical address of the server program to another computer via a network and receives the execution result. In a computer system that consists of a client computer that executes the requested server program and returns the results when a server program is requested to be executed by another computer, the client computer A client-side program address management table that stores the logical address of the server program that is running, together with the network address of the server computer, and a logical address of the server program that is notified from the server computer are managed by the client-side program address management table, So that and a client-side program address managing means for returning the logical address of the server program by searching the client-side program address management table in accordance with a request from the compliant program.

【0008】ここで、サーバプログラムの論理アドレス
のクライアント側プログラムアドレス管理テーブルへの
登録は、サーバ計算機上でサーバプログラムが起動され
たタイミングでその論理アドレスをサーバ計算機がクラ
イアント計算機に送信して行う構成や、各サーバプログ
ラムの論理アドレス等を保持するサーバ計算機側のプロ
グラムアドレス管理テーブルの内容を、クライアント計
算機上におけるクライアント側プログラムアドレス管理
テーブルの検索失敗を契機に一括して送信する構成等が
採用される。
Here, the logical address of the server program is registered in the client-side program address management table by the server computer transmitting the logical address to the client computer at the timing when the server program is started on the server computer. In addition, a configuration is adopted in which the contents of the program address management table on the server computer side, which holds the logical addresses of each server program, etc., are collectively transmitted when the search of the client side program address management table on the client computer fails. It

【0009】[0009]

【作用】本発明のサーバプログラムアドレス管理装置に
おいては、クライアント計算機側に、サーバ計算機で起
動中のサーバプログラムの論理アドレスを、サーバ計算
機のネットワークアドレスと共に保存するクライアント
側プログラムアドレス管理テーブルがあり、クライアン
ト計算機のプログラムアドレス管理手段が、サーバ計算
機から通知されるサーバプログラムの論理アドレスを前
記クライアント側プログラムアドレス管理テーブルで管
理することにより、クライアントプログラムからサーバ
プログラムの論理アドレスの取得が要求された場合、前
記クライアント側プログラムアドレス管理テーブルを検
索してサーバプログラムの論理アドレスを返却する。
In the server program address management device of the present invention, the client computer side has a client side program address management table for storing the logical address of the server program running on the server computer together with the network address of the server computer. When the program address management means of the computer manages the logical address of the server program notified from the server computer in the client-side program address management table to request acquisition of the logical address of the server program from the client program, Search the client side program address management table and return the logical address of the server program.

【0010】[0010]

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

【0011】図1を参照すると、本発明の一実施例を適
用した計算機システムの一例は、プログラムアドレス管
理テーブル121,プログラムアドレス管理手段131
およびクライアントプログラム151を有するクライア
ント計算機111と、プログラムアドレス管理テーブル
122,プログラムアドレス管理手段132,プログラ
ムアドレス通知手段142,サーバプログラム152,
ファイルアクセス手段162および通知対象管理ファイ
ル172を有するサーバ計算機112とがネットワーク
で接続された構成を備えている。
Referring to FIG. 1, an example of a computer system to which an embodiment of the present invention is applied is a program address management table 121 and a program address management means 131.
And a client computer 111 having a client program 151, a program address management table 122, a program address management means 132, a program address notification means 142, a server program 152,
The file access unit 162 and the server computer 112 having the notification target management file 172 are connected via a network.

【0012】なお、図1にはそれぞれ1台のクライアン
ト計算機,サーバ計算機しか図示していないが、一般的
にはそれぞれ複数台設けられるものである。
Although only one client computer and one server computer are shown in FIG. 1, a plurality of client computers and server computers are generally provided.

【0013】クライアント計算機111上のプログラム
アドレス管理テーブル121は、サーバ計算機上のサー
バプログラムのアドレスをクライアント計算機111上
で管理するためのテーブルであり、図2に示すように複
数のエントリを有し、各エントリに、ネットワークで一
意であるサーバ計算機のネットワークアドレス501
と、計算機内で一意であるサーバプログラムのプログラ
ムアドレス502と、サーバプログラムのアドレスを検
索する際のキーになるサーバプログラムのプログラム番
号503,バージョン番号504および使用するトラン
スポートプロトコルの識別番号505とが登録される構
成を有している。なお、このプログラムアドレス管理テ
ーブル121は、高速にアクセスし得るようにするため
に、後述する実施例と同様にクライアント計算機111
のキャッシュメモリ上に配置するようにしても良い。
The program address management table 121 on the client computer 111 is a table for managing the address of the server program on the server computer on the client computer 111, and has a plurality of entries as shown in FIG. Each entry has a network address 501 of the server computer that is unique in the network.
And the program address 502 of the server program that is unique in the computer, the program number 503 of the server program, the version number 504, and the identification number 505 of the transport protocol to be used, which are keys when searching the address of the server program. It has a configuration to be registered. Note that this program address management table 121, in order to enable high-speed access, is similar to the embodiment described later in the client computer 111.
It may be arranged on the cache memory.

【0014】サーバ計算機112上のプログラムアドレ
ス管理テーブル122は、自計算機上のサーバプログラ
ムのアドレスを自計算機上で管理するためのテーブルで
あり、複数のエントリを有し、各エントリに、図2のプ
ログラムアドレス管理テーブル121と同種類のデータ
が登録されるようになっている。
The program address management table 122 on the server computer 112 is a table for managing the address of the server program on its own computer on its own computer, and has a plurality of entries, and each entry has the table of FIG. Data of the same type as the program address management table 121 is registered.

【0015】通知対象管理ファイル172は、プログラ
ムアドレス管理テーブル122の情報を共有したい計算
機のネットワークアドレスを登録するためのファイルで
あり、図3に示すように複数のエントリを有し、各エン
トリに、ネットワークで一意である各計算機のネットワ
ークアドレス601が登録される。この登録は、利用者
によって事前に行われる。
The notification object management file 172 is a file for registering the network address of the computer to share the information of the program address management table 122, and has a plurality of entries as shown in FIG. The network address 601 of each computer, which is unique in the network, is registered. This registration is performed by the user in advance.

【0016】図4は図1に示されるクライアント計算機
111およびサーバ計算機112の処理例を示すフロー
チャートであり、以下、各図を参照して本実施例の各部
の詳細な機能と全体の動作を説明する。
FIG. 4 is a flow chart showing an example of processing of the client computer 111 and the server computer 112 shown in FIG. 1. The detailed functions and the overall operation of each part of this embodiment will be described below with reference to the drawings. To do.

【0017】サーバ計算機112上に存在するサーバプ
ログラム152は、起動されると、プログラムアドレス
管理手段132に対して、計算機内で一意である自身の
プログラムアドレスの登録を要求する(図4の301,
302,303)。このとき、自プログラム152のプ
ログラム番号およびバージョン番号を通知する。
When started, the server program 152 existing on the server computer 112 requests the program address management means 132 to register its own program address that is unique within the computer (301, 301 in FIG. 4).
302, 303). At this time, the program number and version number of the own program 152 are notified.

【0018】要求を受けたプログラムアドレス管理手段
132は、サーバプログラム152から通知されたプロ
グラム番号とバージョン番号に加え、そのサーバプログ
ラム152のトランスポートプロトコルの識別番号,そ
のサーバプログラム152のプログラムアドレスおよび
自計算機112のネットワークアドレスをシステムから
取得し、プログラムアドレス管理テーブル122に、こ
れらのデータ、つまりサーバ計算機112のネットワー
クアドレス,サーバプログラム152のプログラムアド
レス,サーバプログラム152のプログラム番号,サー
バプログラム152のバージョン番号およびトランスポ
ートプロトコルの識別番号を含むエントリを登録し(3
04)、同時にその登録内容を渡してプログラムアドレ
ス通知手段142に対し他の計算機への登録を要求する
(305)。
Upon receiving the request, the program address management means 132 adds the transport protocol identification number of the server program 152, the program address of the server program 152, and the self-address in addition to the program number and version number notified from the server program 152. The network address of the computer 112 is acquired from the system, and these data are stored in the program address management table 122, that is, the network address of the server computer 112, the program address of the server program 152, the program number of the server program 152, and the version number of the server program 152. And an entry containing the identification number of the transport protocol (3
At the same time, the registration contents are passed to request the program address notifying means 142 to register in another computer (305).

【0019】要求を受け取ったプログラムアドレス通知
手段142は、ファイルアクセス手段162を使用し
て、通知対象管理ファイル172に存在する計算機のネ
ットワークアドレスの一覧を読み込み(306)、その
一覧中のネットワークアドレスが示す各計算機上に存在
するプログラムアドレス管理手段131に対して、プロ
グラムアドレス管理手段132から渡された登録内容を
ネットワークを通じて送信してプログラムアドレスの登
録を要求する(307)。
Upon receiving the request, the program address notifying means 142 uses the file access means 162 to read the list of network addresses of the computers existing in the notification object management file 172 (306), and the network address in the list is read. The registration contents passed from the program address management unit 132 are transmitted to the program address management unit 131 existing on each computer shown through the network to request the registration of the program address (307).

【0020】登録要求を受けたプログラムアドレス管理
手段131は、自計算機111上のプログラムアドレス
管理テーブル121に、通知された登録内容、つまり、
サーバ計算機112のネットワークアドレス,サーバプ
ログラム152のプログラムアドレス,サーバプログラ
ム152のプログラム番号,サーバプログラム152の
バージョン番号およびトランスポートプロトコルの識別
番号を含むエントリを登録する(308,309)。
Upon receiving the registration request, the program address management means 131 causes the program address management table 121 on its own computer 111 to notify the registered contents, that is,
An entry including the network address of the server computer 112, the program address of the server program 152, the program number of the server program 152, the version number of the server program 152, and the identification number of the transport protocol is registered (308, 309).

【0021】以上で、サーバプログラム152の起動と
関連するプログラムアドレスの登録が終了する(31
0)。
As described above, the registration of the program address related to the activation of the server program 152 is completed (31).
0).

【0022】以上と同様な動作が、サーバ計算機上でサ
ーバプログラムが起動される毎に行われることにより、
クライアント計算機111上のプログラムアドレス管理
テーブル121に、図2で示したように、ネットワーク
上の各サーバプログラムのプログラムアドレス等が登録
されることになる。
The same operation as described above is performed every time the server program is started on the server computer,
As shown in FIG. 2, the program address of each server program on the network is registered in the program address management table 121 on the client computer 111.

【0023】さて、その後、クライアント計算機111
上のクライアントプログラムが、サーバ計算機112上
のサーバプログラム152の遠隔呼び出しを行う為に、
サーバプログラム152のプログラムアドレスを取得す
る場合、プログラムアドレス管理手段131に対して、
サーバ計算機112のネットワークアドレス,サーバプ
ログラム152のプログラム番号,バージョン番号およ
びトランスポートプロトコルの識別番号を通知して、プ
ログラムアドレスの検索を要求する(311)。
Now, after that, the client computer 111
In order for the above client program to remotely call the server program 152 on the server computer 112,
When acquiring the program address of the server program 152, the program address management means 131
The network address of the server computer 112, the program number of the server program 152, the version number, and the identification number of the transport protocol are notified and a search for the program address is requested (311).

【0024】この要求を受けたプログラムアドレス管理
手段131は、図2に示したプログラムアドレス管理テ
ーブル121を、通知されたデータをキーにして検索
し、見つかったサーバプログラム152のプログラムア
ドレスをクライアントプログラム152に返却する(3
12)。
Upon receipt of this request, the program address management means 131 searches the program address management table 121 shown in FIG. 2 using the notified data as a key, and finds the program address of the found server program 152 as the client program 152. Return to (3
12).

【0025】クライアントプログラム151は、この返
却されたサーバプログラム152のプログラムアドレス
を指定してサーバプログラム152の遠隔呼び出しを行
う。
The client program 151 designates the program address of the returned server program 152 to call the server program 152 remotely.

【0026】なお、本実施例においては、サーバプログ
ラム152が消滅したとき、プログラムアドレス管理手
段132がプログラムアドレス管理テーブル122か
ら、サーバプログラム152に関連するデータを抹消す
ると共に、抹消要求をプログラムアドレス通知手段14
2を通じて通知対象管理ファイル172で管理されてい
るネットワークアドレスの各計算機に出し、抹消要求を
受けたクライアント計算機111のプログラムアドレス
管理手段131はプログラムアドレス管理テーブル12
1から該当するデータを抹消するようにしている。
In the present embodiment, when the server program 152 disappears, the program address management means 132 deletes the data related to the server program 152 from the program address management table 122 and notifies the program address of the deletion request. Means 14
2, the program address management means 131 of the client computer 111 which has issued a deletion request to each computer of the network address managed by the notification target management file 172 receives the program address management table 12
The corresponding data is deleted from 1.

【0027】また、サーバ計算機112上に自計算機上
のサーバプログラムを呼び出すクライアントプログラム
が存在する場合、そのクライアントプログラムはプログ
ラムアドレス管理テーブル122を検索することによ
り、呼び出すサーバプログラムのアドレスを取得する。
If a client program that calls the server program on the local computer exists on the server computer 112, the client program retrieves the program address management table 122 to obtain the address of the server program to be called.

【0028】図5を参照すると、本発明の別の実施例を
適用した計算機システムの一例は、キャッシュメモリ上
に存在するプログラムアドレス管理テーブル221,プ
ログラムアドレス管理手段231,テーブル獲得手段2
41およびクライアントプログラム251を有するクラ
イアント計算機211と、プログラムアドレス管理テー
ブル222,プログラムアドレス管理手段232および
サーバプログラム252を有するサーバ計算機212と
がネットワークで接続された構成を備えている。
Referring to FIG. 5, an example of a computer system to which another embodiment of the present invention is applied is a program address management table 221, a program address management means 231, a table acquisition means 2 existing in a cache memory.
41 and a client computer 211 having a client program 251 and a server computer 212 having a program address management table 222, a program address management means 232 and a server program 252 are connected by a network.

【0029】なお、図5にはそれぞれ1台のクライアン
ト計算機,サーバ計算機しか図示していないが、一般的
にはそれぞれ複数台設けられるものである。
Although only one client computer and one server computer are shown in FIG. 5, a plurality of client computers and server computers are generally provided.

【0030】クライアント計算機211上のプログラム
アドレス管理テーブル221は、サーバ計算機上のサー
バプログラムのアドレスをクライアント計算機211上
で管理するためのテーブルであり、図示しないキャッシ
ュメモリ上に置かれている。なお、このプログラムアド
レス管理テーブル211の内容は、図2に示した先の実
施例のものと同じであり、複数のエントリを有し、各エ
ントリに、ネットワークで一意であるサーバ計算機のネ
ットワークアドレス501と、計算機内で一意であるサ
ーバプログラムのプログラムアドレス502と、サーバ
プログラムのアドレスを検索する際のキーになるサーバ
プログラムのプログラム番号503,バージョン番号5
04および使用するトランスポートプロトコルの識別番
号505とが登録される構成を有している。
The program address management table 221 on the client computer 211 is a table for managing the address of the server program on the server computer on the client computer 211, and is placed in a cache memory (not shown). Note that the contents of the program address management table 211 are the same as those of the previous embodiment shown in FIG. 2, and have a plurality of entries, and each entry has a network address 501 of the server computer that is unique in the network. And the program address 502 of the server program that is unique in the computer, the program number 503 of the server program that serves as a key when searching the address of the server program, and the version number 5
04 and the identification number 505 of the transport protocol to be used are registered.

【0031】サーバ計算機212上のプログラムアドレ
ス管理テーブル222は、自計算機上のサーバプログラ
ムのアドレスを自計算機上で管理するためのテーブルで
あり、プログラムアドレス管理テーブル221と同様
に、複数のエントリを有し、各エントリに、図2のプロ
グラムアドレス管理テーブル121と同様なデータが登
録されるようになっている。
The program address management table 222 on the server computer 212 is a table for managing the address of the server program on its own computer on its own computer, and like the program address management table 221, it has a plurality of entries. Then, the same data as the program address management table 121 of FIG. 2 is registered in each entry.

【0032】図6は図5に示されるクライアント計算機
211およびサーバ計算機212の処理例を示すフロー
チャートであり、以下、各図を参照して本実施例の各部
の詳細な機能と全体の動作を説明する。
FIG. 6 is a flow chart showing an example of processing of the client computer 211 and the server computer 212 shown in FIG. 5, and the detailed functions and the whole operation of each part of this embodiment will be described below with reference to the drawings. To do.

【0033】サーバ計算機212上に存在するサーバプ
ログラム252は、起動されると、プログラムアドレス
管理手段232に対して、計算機内で一意である自身の
プログラムアドレスの登録を要求する(図6の401,
402,403)。このとき、自プログラム252のプ
ログラム番号およびバージョン番号を通知する。
When started, the server program 252 existing on the server computer 212 requests the program address management means 232 to register its own program address which is unique within the computer (401, 401 in FIG. 6).
402, 403). At this time, the program number and version number of the own program 252 are notified.

【0034】要求を受けたプログラムアドレス管理手段
232は、サーバプログラム252から通知されたプロ
グラム番号とバージョン番号に加え、そのサーバプログ
ラム252のトランスポートプロトコルの識別番号,そ
のサーバプログラム252のプログラムアドレスおよび
自計算機212のネットワークアドレスをシステムから
取得し、プログラムアドレス管理テーブル222に、こ
れらのデータ、つまりサーバ計算機212のネットワー
クアドレス,サーバプログラム252のプログラムアド
レス,サーバプログラム252のプログラム番号,サー
バプログラム252のバージョン番号およびトランスポ
ートプロトコルの識別番号を含むエントリを登録する
(404)。
Upon receiving the request, the program address management means 232, in addition to the program number and version number notified from the server program 252, the identification number of the transport protocol of the server program 252, the program address of the server program 252 and its own The network address of the computer 212 is acquired from the system, and these data are stored in the program address management table 222, that is, the network address of the server computer 212, the program address of the server program 252, the program number of the server program 252, and the version number of the server program 252. And an entry including the transport protocol identification number is registered (404).

【0035】以上で、サーバプログラム252の起動に
関連するプログラムアドレスの登録が終了する(40
5)。
As described above, the registration of the program address related to the activation of the server program 252 is completed (40
5).

【0036】以上と同様な動作が、サーバ計算機212
上でサーバプログラムが起動される毎に行われることに
より、サーバ計算機212上のプログラムアドレス管理
テーブル222には、自計算機上で起動中の各サーバプ
ログラムのプログラムアドレス等が登録されることにな
る。
The same operation as above is performed by the server computer 212.
The program address management table 222 on the server computer 212 registers the program address and the like of each server program running on its own computer by being executed each time the server program is started.

【0037】さて、その後、クライアント計算機211
上のクライアントプログラム251が、サーバ計算機2
12上のサーバプログラム252の遠隔呼び出しを行う
為に、サーバプログラム252のプログラムアドレスを
取得する場合、プログラムアドレス管理手段231に対
して、サーバ計算機212のネットワークアドレス,サ
ーバプログラム252のプログラム番号,バージョン番
号およびトランスポートプロトコルの識別番号を通知し
て、プログラムアドレスの検索を要求する(411)。
Now, after that, the client computer 211
The upper client program 251 is the server computer 2
When the program address of the server program 252 is acquired in order to remotely call the server program 252 on 12, the network address of the server computer 212, the program number of the server program 252, and the version number of the program address management unit 231 are acquired. Then, the identification number of the transport protocol is notified and a search for the program address is requested (411).

【0038】この要求を受けたプログラムアドレス管理
手段231は、キャッシュメモリ上にあるプログラムア
ドレス管理テーブル221を、通知されたデータをキー
にして検索し、存在すれば、サーバプログラム252の
プログラムアドレスをクライアントプログラム251に
返却する(412,415)。
Upon receiving this request, the program address management means 231 searches the program address management table 221 in the cache memory using the notified data as a key, and if it exists, the program address of the server program 252 is used by the client. It is returned to the program 251 (412, 415).

【0039】他方、存在しなかった場合、プログラムア
ドレス管理手段231は、テーブル獲得手段241に対
して、サーバ計算機212上のプログラムアドレス管理
テーブル222の一覧送信要求を出す。
On the other hand, if it does not exist, the program address management means 231 issues a list transmission request of the program address management table 222 on the server computer 212 to the table acquisition means 241.

【0040】この要求を受け取ったテーブル獲得手段2
41は、サーバ計算機212のプログラムアドレス管理
手段232にプログラムアドレス管理テーブル222の
一覧送信を要求し(413)、この要求に応えてプログ
ラムアドレス管理手段232がプログラムアドレス管理
テーブル222の全内容を返却してくると(406,4
07)、それをプログラムアドレス管理手段231に通
知する。
Table acquisition means 2 receiving this request
41 requests the program address management means 232 of the server computer 212 to transmit a list of the program address management table 222 (413), and in response to this request, the program address management means 232 returns the entire contents of the program address management table 222. When it comes (406, 4
07), and notifies it to the program address management means 231.

【0041】プログラムアドレス管理手段231は、テ
ーブル獲得手段241からプログラムアドレス管理テー
ブル222の一覧を受け取ると、これをプログラムアド
レス管理テーブル231に登録し、その一覧の中に先の
検索要求を満たすサーバプログラム252のプログラム
アドレスが存在するか否かを再度検索し、あればそのプ
ログラムアドレスをクライアントプログラム251に返
却する(414,415)。なお、この一覧中にも存在
しなかった場合には、テーブル中に存在しなかった旨を
クライアントプログラム251に通知する(416)。
When the program address management means 231 receives the list of the program address management table 222 from the table acquisition means 241, it registers this in the program address management table 231 and the server program that satisfies the previous search request in the list. Whether or not the program address of 252 exists is searched again, and if there is, the program address is returned to the client program 251 (414, 415). If it does not exist in this list, the client program 251 is notified that it does not exist in the table (416).

【0042】クライアントプログラム251は、取得し
たサーバプログラム252のプログラムアドレスを指定
してサーバプログラム252の遠隔呼び出しを行う。
The client program 251 designates the acquired program address of the server program 252 to call the server program 252 remotely.

【0043】なお、本実施例においては、サーバプログ
ラム252が消滅したとき、プログラムアドレス管理手
段232がプログラムアドレス管理テーブル222か
ら、サーバプログラム252に関連するデータを抹消す
るようにしている。他方、クライアントプログラム25
1で実行されたサーバプログラム252の遠隔呼び出し
がサーバプログラム252の消滅を理由に異常終了した
場合、プログラムアドレス管理手段231で検索失敗し
た場合と同様にしてテーブル獲得手段241がサーバ計
算機212のプログラムアドレス管理テーブル222の
一覧を取得し、プログラムアドレス管理手段231がプ
ログラムアドレス管理テーブル221の内容を書き換え
るようにしている。
In this embodiment, when the server program 252 disappears, the program address management means 232 erases the data related to the server program 252 from the program address management table 222. On the other hand, the client program 25
When the remote call of the server program 252 executed in step 1 is abnormally terminated due to the disappearance of the server program 252, the table acquisition means 241 causes the program address of the server computer 212 to operate in the same manner as when the search fails in the program address management means 231. The list of the management table 222 is acquired, and the program address management means 231 rewrites the contents of the program address management table 221.

【0044】また、サーバ計算機212上に自計算機上
のサーバプログラムを呼び出すクライアントプログラム
が存在する場合、そのクライアントプログラムはプログ
ラムアドレス管理テーブル222を検索することによ
り、呼び出すサーバプログラムのアドレスを取得する。
If a client program that calls the server program on the local computer exists on the server computer 212, the client program retrieves the program address management table 222 to obtain the address of the server program to be called.

【0045】[0045]

【発明の効果】以上説明したように本発明によれば、以
下のような効果を得ることができる。
As described above, according to the present invention, the following effects can be obtained.

【0046】サーバ計算機上で起動中のサーバプログラ
ムのプログラムアドレスを、クライアント計算機上のプ
ログラムアドレス管理テーブルで管理するようにしたの
で、クライアント計算機上で動作するクライアントプロ
グラムが他計算機上にあるサーバプログラムを遠隔呼び
出しする際、サーバ計算機上のプログラムアドレス管理
テーブルを検索する必要がなく、自計算機上のプログラ
ムアドレス管理テーブルを検索すれば済むので、サーバ
プログラムのプログラムアドレスの取得が高速化され、
ひいては遠隔呼び出し処理が高速化される。
Since the program address of the server program running on the server computer is managed by the program address management table on the client computer, the client program operating on the client computer can execute the server program on another computer. When making a remote call, it is not necessary to search the program address management table on the server computer, but only the program address management table on the local computer. Therefore, the acquisition of the program address of the server program is speeded up.
As a result, the remote call processing is speeded up.

【0047】検索をクライアント計算機上で行うことに
よって、処理が集中し易いネットワークとサーバ計算機
の負荷を、クライアント計算機が一部肩代わりすること
ができ、多数の計算機がネットワークを通じてつながっ
ている計算機システムにおいては、全体の処理の高速化
が可能になる。
By performing the search on the client computer, the load of the network and the server computer where the processing is likely to be concentrated can be partially taken over by the client computer, and in a computer system in which many computers are connected via the network. , The whole process can be speeded up.

【0048】テーブル獲得手段によってサーバ計算機の
プログラムアドレス管理テーブルの一覧を一括して獲得
する構成では、個々のサーバプログラムの起動毎にその
プログラムアドレスを獲得する場合に比べ、システム全
体としての効率が良くなり、システム全体の処理が高速
化される。
In the configuration in which the list of program address management tables of the server computer is collectively obtained by the table obtaining means, the efficiency of the entire system is higher than that in the case where the program address is obtained each time each server program is started. Therefore, the processing of the entire system is speeded up.

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

【図1】本発明の一実施例を適用した計算機システムの
要部構成図である。
FIG. 1 is a configuration diagram of essential parts of a computer system to which an embodiment of the present invention is applied.

【図2】プログラムアドレス管理テーブルの内容例を示
す図である。
FIG. 2 is a diagram showing an example of contents of a program address management table.

【図3】通知対象管理ファイルの内容例を示す図であ
る。
FIG. 3 is a diagram showing an example of contents of a notification target management file.

【図4】図1の実施例におけるクライアント計算機およ
びサーバ計算機の処理例を示すフローチャートである。
FIG. 4 is a flowchart showing a processing example of a client computer and a server computer in the embodiment of FIG.

【図5】本発明の別の実施例を適用した計算機システム
の要部構成図である。
FIG. 5 is a main part configuration diagram of a computer system to which another embodiment of the present invention is applied.

【図6】図5の実施例におけるクライアント計算機およ
びサーバ計算機の処理例を示すフローチャートである。
FIG. 6 is a flowchart showing a processing example of a client computer and a server computer in the embodiment of FIG.

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

111,211…クライアント計算機 112,212…サーバ計算機 121,122,221,222…プログラムアドレス
管理テーブル 131,132,231,232…プログラムアドレス
管理手段 142…プログラムアドレス通知手段 151,251…クライアントプログラム 152,252…サーバプログラム 162…ファイルアクセス手段 172…通知対象管理ファイル
111, 211 ... Client computer 112, 212 ... Server computer 121, 122, 221, 222 ... Program address management table 131, 132, 231, 232 ... Program address management means 142 ... Program address notification means 151, 251 ... Client program 152, 252 ... Server program 162 ... File access means 172 ... Notification target management file

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを介して他計算機にサーバ
プログラムの論理アドレスを指定してサーバプログラム
の実行を要求し、その実行結果を受信するクライアント
計算機と、他計算機からサーバプログラムの実行が要求
されることにより、要求されたサーバプログラムを実行
して結果を返却するサーバ計算機とで構成された計算機
システムにおいて、 クライアント計算機に、 サーバ計算機で起動中のサーバプログラムの論理アドレ
スを、サーバ計算機のネットワークアドレスと共に保存
するクライアント側プログラムアドレス管理テーブル
と、 サーバ計算機から通知されるサーバプログラムの論理ア
ドレスを前記クライアント側プログラムアドレス管理テ
ーブルで管理すると共に、クライアントプログラムから
の要求に従って前記クライアント側プログラムアドレス
管理テーブルを検索してサーバプログラムの論理アドレ
スを返却するクライアント側プログラムアドレス管理手
段とを備えることを特徴とするサーバプログラムアドレ
ス管理装置。
1. A client computer that requests execution of a server program by designating a logical address of the server program to another computer via a network, and a execution of the server program is requested from another computer. By doing so, in a computer system consisting of a server computer that executes the requested server program and returns the results, the client computer is given the logical address of the server program running on the server computer along with the network address of the server computer. The client side program address management table to be stored and the logical address of the server program notified from the server computer are managed in the client side program address management table, and the client side program address management table is used in accordance with the request from the client program. A server program address management device comprising: a client program address management unit that searches the ant program address management table and returns the logical address of the server program.
【請求項2】 サーバ計算機に、 自計算機において起動されたサーバプログラムの論理ア
ドレスをクライアント計算機に通知するプログラムアド
レス通知手段を備える請求項1記載のサーバプログラム
アドレス管理装置。
2. The server program address management device according to claim 1, wherein the server computer is provided with a program address notifying means for notifying the client computer of the logical address of the server program started in the own computer.
【請求項3】 サーバ計算機に、 自計算機で起動中のサーバプログラムの論理アドレスの
通知対象となるクライアント計算機のネットワークアド
レスを保持する通知対象管理ファイルを備え、 前記プログラムアドレス通知手段は、サーバプログラム
の論理アドレスを、前記通知対象管理ファイルに保持さ
れたネットワークアドレスのクライアント計算機に通知
する構成を有する請求項2記載のサーバプログラムアド
レス管理装置。
3. A server computer is provided with a notification target management file that holds a network address of a client computer that is a target of notification of a logical address of a server program running on its own computer, and the program address notifying means is a server program 3. The server program address management device according to claim 2, wherein the server program address management device is configured to notify the client computer of the network address held in the notification target management file of the logical address.
【請求項4】 サーバ計算機に、 自計算機で起動中のサーバプログラムの論理アドレス
を、自計算機のネットワークアドレスと共に保存するサ
ーバ側プログラムアドレス管理テーブルと、 自計算機におけるサーバプログラムの起動時にその論理
アドレスを前記サーバ側プログラムアドレス管理テーブ
ルで管理すると共に、その論理アドレスを前記プログラ
ムアドレス通知手段によってクライアント計算機に通知
するサーバ側プログラムアドレス管理手段とを備えるこ
とを特徴とする請求項3記載のサーバプログラムアドレ
ス管理装置。
4. A server-side program address management table for storing, in the server computer, the logical address of the server program running on the computer together with the network address of the computer, and the logical address when the server program is started on the computer. 4. The server program address management means according to claim 3, further comprising server side program address management means for managing the server side program address management table and notifying the client computer of the logical address by the program address notifying means. apparatus.
【請求項5】 前記クライアント側プログラムアドレス
管理テーブルをクライアント計算機のキャッシュメモリ
上に配置したことを特徴とする請求項4記載のサーバプ
ログラムアドレス管理装置。
5. The server program address management device according to claim 4, wherein the client side program address management table is arranged in a cache memory of a client computer.
【請求項6】 サーバ計算機に、 自計算機で起動中のサーバプログラムの論理アドレス
を、自計算機のネットワークアドレスと共に保存するサ
ーバ側プログラムアドレス管理テーブルと、 クライアント計算機から一覧要求を受けることにより、
前記サーバ側プログラムアドレス管理テーブルの一覧を
返却するサーバ側プログラムアドレス管理手段とを備
え、 クライアント計算機に、 サーバ計算機に対して、サーバ側プログラムアドレス管
理テーブルの一覧を要求するテーブル獲得手段を備え、 前記クライアント側プログラムアドレス管理手段は、検
索の結果該当するサーバプログラムの論理アドレスが存
在しなかったときに、前記テーブル獲得手段によってサ
ーバ側プログラムアドレス管理テーブルの一覧を取得し
て前記クライアント側プログラムアドレス管理テーブル
に登録し、再度検索を行う構成を有することを特徴とす
る請求項1記載のサーバプログラムアドレス管理装置。
6. A server computer program address management table for storing, in a server computer, a logical address of a server program running on the computer together with the network address of the computer, and a list request from the client computer,
A server side program address management means for returning a list of the server side program address management table, and a table acquisition means for requesting a list of the server side program address management table to the client computer, The client side program address management means acquires a list of the server side program address management table by the table acquisition means when the logical address of the corresponding server program does not exist as a result of the search, and acquires the client side program address management table. 2. The server program address management device according to claim 1, wherein the server program address management device has a configuration in which the server program address management device performs registration again and searches again.
【請求項7】 前記クライアント側プログラムアドレス
管理テーブルをクライアント計算機のキャッシュメモリ
上に配置したことを特徴とする請求項6記載のサーバプ
ログラムアドレス管理装置。
7. The server program address management device according to claim 6, wherein the client side program address management table is arranged in a cache memory of a client computer.
JP5172419A 1993-06-18 1993-06-18 Server program address managing device Pending JPH076140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5172419A JPH076140A (en) 1993-06-18 1993-06-18 Server program address managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5172419A JPH076140A (en) 1993-06-18 1993-06-18 Server program address managing device

Publications (1)

Publication Number Publication Date
JPH076140A true JPH076140A (en) 1995-01-10

Family

ID=15941618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5172419A Pending JPH076140A (en) 1993-06-18 1993-06-18 Server program address managing device

Country Status (1)

Country Link
JP (1) JPH076140A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1173390A (en) * 1997-08-06 1999-03-16 Samsung Electron Co Ltd Web server for many users and user inter-terminal communication method using it
JP2001216282A (en) * 2000-02-04 2001-08-10 Nec Corp Server, client, client-server system, load distribution method, and recording medium
JP2005056121A (en) * 2003-08-04 2005-03-03 Sony Corp Information processor and method, information processing system, recording medium and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0321135A (en) * 1989-06-19 1991-01-29 Hitachi Ltd Data distribution system
JPH04177441A (en) * 1990-11-08 1992-06-24 Nec Corp System program loading system
JPH04323742A (en) * 1991-04-23 1992-11-12 Nec Corp Distributed data base system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0321135A (en) * 1989-06-19 1991-01-29 Hitachi Ltd Data distribution system
JPH04177441A (en) * 1990-11-08 1992-06-24 Nec Corp System program loading system
JPH04323742A (en) * 1991-04-23 1992-11-12 Nec Corp Distributed data base system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1173390A (en) * 1997-08-06 1999-03-16 Samsung Electron Co Ltd Web server for many users and user inter-terminal communication method using it
US6487582B2 (en) 1997-08-06 2002-11-26 Samsung Electronics Co., Ltd. Multi-user interactive web server and communication method between users using the same
JP2001216282A (en) * 2000-02-04 2001-08-10 Nec Corp Server, client, client-server system, load distribution method, and recording medium
JP2005056121A (en) * 2003-08-04 2005-03-03 Sony Corp Information processor and method, information processing system, recording medium and program

Similar Documents

Publication Publication Date Title
US20060123121A1 (en) System and method for service session management
JPH117405A (en) File shared system
JP2003296274A (en) Data acquisition system
JP2002099454A (en) File control system and method
US5995972A (en) System and method for retrieving data
JP2008146380A (en) Cache server, control method for it, program, and information storage medium
JP2004086299A (en) Data operation perpetuating method in transaction processing system, and data operation program to remote database
KR100691686B1 (en) Apparatus and method for collecting information from information providing server
JP3290801B2 (en) Resource location detection method
JP4019817B2 (en) Distributed object control method and its implementation system
JPH11355759A (en) Remote monitoring system
JPH11272683A (en) Retrieval processor and storage medium
JPH076140A (en) Server program address managing device
JP2002358229A (en) Cache device and computer program
KR100658299B1 (en) Method for monitoring telecommunication network performance based on web corresponding to change database structure
JPH04177441A (en) System program loading system
KR100249799B1 (en) A system and method for session retrieval and information sharing using mask in session cache and global cache server
JP2011134005A (en) Configuration information management device, system, method and program for managing distributed information
JPH0668010A (en) Distributed cache management system
JPH11232285A (en) Device and method for retrieving data
JP2002169805A (en) Client-server type document retrieving device
JP3405243B2 (en) Workflow change system and workflow change method
JP2001216186A (en) Server client system and its program storage medium
JP3657822B2 (en) Spatial data search system, spatial data search method and data management method, and computer-readable recording medium
KR0156830B1 (en) Information managing/retrieving device