JPH0764896A - Network system service information processing method - Google Patents
Network system service information processing methodInfo
- Publication number
- JPH0764896A JPH0764896A JP5216472A JP21647293A JPH0764896A JP H0764896 A JPH0764896 A JP H0764896A JP 5216472 A JP5216472 A JP 5216472A JP 21647293 A JP21647293 A JP 21647293A JP H0764896 A JPH0764896 A JP H0764896A
- Authority
- JP
- Japan
- Prior art keywords
- server
- service information
- terminal device
- client
- network
- 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.)
- Granted
Links
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、ネットワーク上に接続
された複数のコンピュータ装置が通信して所望のサービ
スを提供するネットワークシステムのサービス情報処理
方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a service information processing method for a network system in which a plurality of computer devices connected on a network communicate with each other to provide a desired service.
【0002】[0002]
【従来の技術】従来、ネットワークを提供するプログラ
ム(サーバーと呼ぶ)は特定なマシンで起動してからサ
ービスを要求するプログラム(クライアントと呼ぶ)が
アクセス可能になり、ネットワーク通信によって情報交
換を行う。以下、図7を参照しながら従来のサービス提
供処理動作について説明する。2. Description of the Related Art Conventionally, a program (called a server) that provides a network becomes accessible to a program (called a client) that requests a service after being started on a specific machine, and information is exchanged by network communication. The conventional service providing processing operation will be described below with reference to FIG.
【0003】図7は従来のネットワークシステムのサー
ビス情報処理方法を適用するシステム構成を説明するブ
ロック図である。FIG. 7 is a block diagram illustrating a system configuration to which a service information processing method of a conventional network system is applied.
【0004】この図に示す様に、マルチユーザによるデ
ータベースアクセス等ネットワークサービスを共同で使
う際、同時に矛盾の変更等を防ぐためにデータ管理を集
中し特定な計算装置で行う。ネットワークサービスを提
供する計算装置701と同サービスを使う計算装置70
2と計算装置703はネットワーク手段704によって
接続される。As shown in this figure, when network services such as database access by multiple users are jointly used, at the same time, data management is centralized and performed by a specific computing device in order to prevent inconsistency changes. A computing device 701 that provides a network service and a computing device 70 that uses the same service
2 and the computing device 703 are connected by the network means 704.
【0005】サービス提供は、最初にネットワークサー
ビスを提供する計算装置701を起動し、必要な準備が
終わったらサービス提供が始まる。それから、サービス
を使う計算装置702または計算装置703は必要な時
にサービス要求をネットワーク手段704を介して送
る。ネットワークサービスを提供する計算装置701は
受けた要求に順番を付けるため、同時変更等の非同期関
係な問題は発生しない。To provide a service, first, a computing device 701 that provides a network service is activated, and when the necessary preparation is completed, the service provision starts. The computing device 702 or computing device 703 that uses the service then sends a service request through the network means 704 when needed. Since the computing device 701 that provides the network service places an order on the received requests, asynchronous problems such as simultaneous changes do not occur.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、従来の
ネットワークシステム環境の下では、サービスの数が増
えた場合、そのサービス毎に専用のサーバーが必要とな
り、システム構築のためのコストが高くなるとともに、
使用頻度が低いサーバー(未使用状態となる)と使用頻
度の高いサーバー(オーバーロード状態となる)とが併
置されて、システム効率が低下する。However, under the conventional network system environment, when the number of services increases, a dedicated server is required for each service, and the cost for system construction increases, and
The system efficiency decreases due to the coexistence of the server that is used infrequently (in the unused state) and the server that is used frequently (in the overloaded state).
【0007】また、システム環境を変更する場合、専用
のサーバーもシステム環境への対応が必要となり、シス
テム変更作業が非常に複雑なものとなってしまう。Further, when the system environment is changed, a dedicated server also needs to be adapted to the system environment, and the system changing work becomes very complicated.
【0008】さらに、サービス情報の種別に応じては、
ほとんど使用されいないサーバーがシステム上に存在す
る場合、該サービスを必要としない場合でも、該サーバ
ーを起動させないと、他のサーバー使用が不能となる場
合がある。Furthermore, depending on the type of service information,
If a server that is rarely used exists on the system, even if it does not require the service, other servers may not be used unless the server is started.
【0009】また、仮に、サーバー処理を終了する場
合、後続してサーバー要求が発生していた場合には、端
末装置は、サーバー処理を終了して端末装置としての処
理に復帰できないという問題点があった。Further, if the server process is terminated and a subsequent server request is issued, the terminal device cannot complete the server process and return to the process as the terminal device. there were.
【0010】本発明は、上記の問題点を解消するために
なされたもので、クライアント側となる端末からの要求
毎にネットワーク上に接続された端末をサーバーとして
仮登録し、該サーバー処理終了後、端末装置に復帰させ
ることにより、システム上に必要な専用サーバーとして
の機能を端末装置に適時代行させることができるネット
ワークシステムのサービス情報処理方法を提供すること
を特徴とする。The present invention has been made in order to solve the above-mentioned problems, and a terminal connected to a network is provisionally registered as a server for each request from a terminal on the client side, and after the server processing is completed. A service information processing method for a network system is provided, which enables the terminal device to perform a function as a dedicated server required for the system in an appropriate period by returning to the terminal device.
【0011】[0011]
【課題を解決するための手段】本発明に係る第1のネッ
トワークシステムのサービス情報処理方法は、いずれか
の端末装置からのサービス情報提供要求に応じてサーバ
ープログラムを起動させ、該サーバープログラムが起動
された端末装置を識別してネットワーク制御手段にサー
バーとして仮登録し、該仮登録されたサーバーに資源へ
のアクセス権を許可し、前記サービス情報提供要求を発
行した端末装置に記憶されたクライアントプログラムを
起動して前記資源からのサービス情報取得を開始し、サ
ービス情報取得後、前記サーバープログラムにサーバー
終了を通知し、該サーバー終了に応じて前記ネットワー
ク制御手段に仮登録されたサーバーのサーバープログラ
ムを終了して、該サーバーを端末装置に自動復帰させ
る。A first network system service information processing method according to the present invention activates a server program in response to a service information provision request from any terminal device, and the server program is activated. Client program stored in the terminal device that has issued the service information provision request by identifying the registered terminal device and temporarily registering it as a server in the network control means, permitting the temporarily registered server to access the resource. To start service information acquisition from the resource, notify the server program of server termination after acquiring the service information, and activate the server program of the server temporarily registered in the network control means in response to the server termination. Upon completion, the server is automatically returned to the terminal device.
【0012】本発明に係る第2のネットワークシステム
のサービス情報処理方法は、いずれかの端末装置が起動
したクライアントプログラムに応じて発行されたサービ
ス情報提供要求を解析して、サーバープログラムを起動
させる端末装置を選択してサーバーとして仮登録し、サ
ービス情報提供要求を発行した端末装置にサーバー開始
を通知し、該通知の取得後、クライアント側の端末から
通知されるサーバー終了に応じてサーバープログラムを
終了してサーバーを端末装置に自動復帰させる。A second network system service information processing method according to the present invention is a terminal for activating a server program by analyzing a service information provision request issued according to a client program activated by any of the terminal devices. Select a device and temporarily register it as a server, notify the terminal device that issued the service information provision request that the server has started, and after acquiring the notification, terminate the server program according to the server termination notified from the client side terminal. Then, the server automatically returns to the terminal device.
【0013】本発明に係る第3のネットワークシステム
のサービス情報処理方法は、いずれかの端末装置が起動
したクライアントプログラムに応じて発行されたサービ
ス情報提供要求を解析して、サーバープログラムを起動
させる端末装置を選択してサーバーとして仮登録し、サ
ービス情報提供要求を発行した端末装置にサーバー開始
を通知し、該通知の取得後、クライアント側の端末から
通知されるサーバー終了に応じて後続するサーバー待ち
となるクライアント情報を確認し、該確認結果に基づい
て次のサーバー候補となる端末装置を選択して新規仮登
録し、該新規仮登録された端末装置にサーバー終了する
端末装置からクライアント情報を受け継ぎして、サーバ
ー開始をサーバー待ちとなるクライアントに通知して、
サーバー先を連続して切り換える。A third network system service information processing method according to the present invention is a terminal for activating a server program by analyzing a service information provision request issued in accordance with a client program activated by any terminal device. Select a device and provisionally register it as a server, notify the terminal device that issued the service information provision request that the server has started, and after obtaining the notification, wait for the subsequent server according to the server end notified from the client side terminal The client information is confirmed, the terminal device that is the next server candidate is selected based on the confirmation result, new temporary registration is performed, and the client information is inherited from the terminal device that terminates the server to the newly temporarily registered terminal device. And notify the client waiting for the server to start,
Switch the server destination continuously.
【0014】[0014]
【作用】第1の本発明においては、サービス情報提供要
求を発行した端末装置に記憶されたクライアントプログ
ラムを起動して前記資源からのサービス情報取得を開始
し、サービス情報取得後、前記サーバープログラムにサ
ーバー終了を通知し、該サーバー終了に応じて前記ネッ
トワーク制御手段に仮登録されたサーバーのサーバープ
ログラムを終了して、該サーバーを端末装置に自動復帰
させるので、ネットワーク上の資源へのアクセスが発生
する場合に限り、サーバー機能を起動させるので、ネッ
トワーク上の端末装置が随時サーバーとして機能させる
ことが可能となる。In the first aspect of the present invention, the client program stored in the terminal device that has issued the service information providing request is activated to start obtaining service information from the resource, and after the service information is obtained, the server program is executed. Since the server end is notified, and the server program of the server temporarily registered in the network control means is terminated in response to the server end and the server is automatically returned to the terminal device, access to resources on the network occurs. Only in such a case, the server function is activated, so that the terminal device on the network can function as a server at any time.
【0015】第2の発明においては、サービス情報提供
要求を発行した端末装置にサーバー開始を通知し、該通
知の取得後、クライアント側の端末から通知されるサー
バー終了に応じてサーバープログラムを終了してサーバ
ーを端末装置に自動復帰させるので、専用サーバーをシ
ステムに常駐させなくても、端末装置としての機能処理
とネットワーク上でサーバーと機能とを随時切り換えて
サービス情報を処理することが可能となる。In the second invention, the terminal device which has issued the service information providing request is notified of the server start, and after acquiring the notification, the server program is terminated in response to the server termination notified from the client side terminal. Since the server automatically returns to the terminal device, it is possible to process the service information by switching the function processing as the terminal device and the server and the function on the network at any time, without making the dedicated server resident in the system. .
【0016】第3の発明においては、サービス情報提供
要求を発行した端末装置にサーバー開始を通知し、該通
知の取得後、クライアント側の端末から通知されるサー
バー終了に応じて後続するサーバー待ちとなるクライア
ント情報を確認し、該確認結果に基づいて次のサーバー
候補となる端末装置を選択して新規仮登録し、該新規仮
登録された端末装置にサーバー終了する端末装置からク
ライアント情報を受け継ぎして、サーバー開始をサーバ
ー待ちとなるクライアントに通知して、サーバー先を連
続して切り換えるので、サーバー終了時点で、後続する
クライアントからのサーバー要求が発生しても、後続す
るサーバーに支障なくサーバー要求を処理させることが
可能となる。According to the third aspect of the present invention, the server device is notified of the start of the server to the terminal device which has issued the service information providing request, and after the notification is obtained, the server waits for the subsequent server in response to the server end notified from the client side terminal. The client information is confirmed, the terminal device that is the next server candidate is selected based on the confirmation result, new temporary registration is performed, and the client information is inherited from the terminal device that terminates the server to the newly temporarily registered terminal device. The server start is notified to the client waiting for the server, and the server destination is continuously switched, so even if a server request from a subsequent client occurs at the server end, the server request will not be interrupted to the subsequent server. Can be processed.
【0017】[0017]
〔第1実施例〕図1は本発明の第1実施例を示すネット
ワークシステムのサービス情報処理方法を適用するシス
テム例を説明するブロック図である。[First Embodiment] FIG. 1 is a block diagram illustrating a system example to which a service information processing method of a network system according to a first embodiment of the present invention is applied.
【0018】図において、101はデータベースとして
機能する記憶装置である。In the figure, reference numeral 101 is a storage device functioning as a database.
【0019】ユーザ端末102又はユーザ端末103か
ら読み書き要求を調停し、記憶装置101の読み書き権
利を与えて同時に両方に読み書き権利を与えないように
該権利の設定を排他的に管理する機能を備えている。A function of arbitrating a read / write request from the user terminal 102 or the user terminal 103 and giving a read / write right to the storage device 101 and exclusively managing the setting of the right so as not to give a read / write right to both at the same time is provided. There is.
【0020】102,103は例えばワークステーショ
ンで構成されるユーザ端末(端末)である。104はネ
ットワーク手段で、上記101〜103が該ネットワー
ク手段104を介して相互に通信処理することが可能に
構成されている。なお、ネットワーク手段104には、
ネットワーク上での通信を制御するプロトコルを記憶す
るプログラム格納部,サーバー権を管理する種々のテー
ブルを備え、図示しないネットワーク制御部によりアク
セス権の切り換えが制御されている。Reference numerals 102 and 103 denote user terminals (terminals) formed of workstations, for example. Reference numeral 104 denotes a network means, which is configured so that the above 101 to 103 can communicate with each other via the network means 104. The network means 104 includes
A program storage unit for storing a protocol for controlling communication on the network and various tables for managing server rights are provided, and access right switching is controlled by a network control unit (not shown).
【0021】以下、図2,図3に示すフローチャートを
参照しながら本発明に係る第1のネットワークシステム
のサービス情報処理方法におけるクライアント側とサー
バー側の動作について説明する。The operations on the client side and the server side in the service information processing method of the first network system according to the present invention will be described below with reference to the flowcharts shown in FIGS.
【0022】図2は本発明に係るネットワークシステム
のサービス情報処理方法における第1のクライアント処
理手順の一例を示すフローチャートである。なお、
(1)〜(9)は各ステップを示し、サービスを要求す
るプログラム(クライアント)側の処理に対応する。FIG. 2 is a flow chart showing an example of a first client processing procedure in the service information processing method of the network system according to the present invention. In addition,
(1) to (9) indicate the respective steps, which correspond to the processing on the program (client) side that requests the service.
【0023】先ず、記憶装置101を読み書きする前に
権利が必要なので、権利を得る処理を実行する(1)。
次いで、ネットワークサービスを提供するサーバー(サ
ービスを提供するプログラム)が既にあるかどうかを判
定する(2)。第1回目の場合は、サーバーは起動され
ていないので、ステップ(3)に進み、同端末上でサー
バーを新規に起動する。そして、サーバーの存在をネッ
トワーク手段104に登録して(4)、ステップ(2)
に戻る。First, since a right is required before reading / writing the storage device 101, processing for obtaining the right is executed (1).
Then, it is determined whether or not there is already a server (a program that provides a service) that provides a network service (2). In the case of the first time, since the server has not been started, the procedure proceeds to step (3), and the server is newly started on the same terminal. Then, the existence of the server is registered in the network means 104 (4), and step (2)
Return to.
【0024】これ以降、ステップ(2)の判定は、サー
バー有りと判定され、ネットワーク手段104を介して
サーバーに権利を要求する(5)。そして、権利が許可
されているかどうかを判定し(6)、許可されていなか
った場合は、ステップ(2)に戻り再度サーバーに権利
を要求する。After that, the determination in step (2) determines that the server exists, and requests the right from the server via the network means 104 (5). Then, it is judged whether or not the right is permitted (6). If the right is not permitted, the process returns to the step (2) to request the right again from the server.
【0025】一方、ステップ(6)の判定で、権利が許
可されていた場合には、ネットワーク手段104を介し
て記憶装置101の読み書きを行い(7)、サーバーに
権利を戻す旨を通知し(8)、処理を終了する(9)。On the other hand, if it is determined in step (6) that the right is permitted, the storage device 101 is read and written via the network means 104 (7) and the server is notified of the return of the right ( 8), the process is ended (9).
【0026】図3は本発明に係るネットワークシステム
のサービス情報処理方法における第1のサーバー処理手
順の一例を示すフローチャートである。なお、(1)〜
(7)は各ステップを示し、サービスを提供するプログ
ラム(サーバー側)の処理に対応する。FIG. 3 is a flow chart showing an example of a first server processing procedure in the service information processing method for the network system according to the present invention. In addition, (1) ~
(7) shows each step and corresponds to the processing of the program (server side) that provides the service.
【0027】先ず、サーバーが起動されると(1)、初
期時点では、クライアントに権利をあたえていないため
権利状態を「なし」に設定する(2)。次いで、クライ
アントからの通信応答を待機する(3)。上述した図2
に示したステップ(5)のクライアントから権利要求が
あった場合は、権利設定状態が「なし」状態かどうかを
判定し(4)、YESならば権利を許可し(6)、権利
状態をクライアント名とともに設定し(7)、ステップ
(3)に戻る。First, when the server is started (1), the right state is set to "none" because the client is not given the right at the initial point (2). Next, it waits for a communication response from the client (3). FIG. 2 described above
If there is a right request from the client in step (5) shown in (4), it is judged whether the right setting state is “none” (4), and if YES, the right is permitted (6) and the right state is set to the client. Set with name (7) and return to step (3).
【0028】一方、ステップ(4)の判定でNOの場合
は、権利を拒否し(5)、ステップ(3)に戻る。な
お、ステップ(3)の待ち状態で、上述したクライアン
トの権利を戻す通知があった場合(図2に示したステッ
プ(8)において)、ステップ(2)に戻る。On the other hand, if the judgment in step (4) is NO, the right is rejected (5) and the process returns to step (3). In the waiting state of step (3), if there is a notification to restore the client right described above (in step (8) shown in FIG. 2), the process returns to step (2).
【0029】このように第1実施例に示す第1の本発明
によれば、サービス情報提供要求を発行した端末装置に
記憶されたクライアントプログラムを起動して前記資源
からのサービス情報取得を開始し、サービス情報取得
後、前記サーバープログラムにサーバー終了を通知し、
該サーバー終了に応じて前記ネットワーク制御手段に仮
登録されたサーバーのサーバープログラムを終了して、
該サーバーを端末装置に自動復帰させるので、ネットワ
ーク上の資源へのアクセスが発生する場合に限り、サー
バー機能を起動させるので、ネットワーク上の端末装置
が随時サーバーとして機能させることが可能となる。As described above, according to the first aspect of the present invention shown in the first embodiment, the client program stored in the terminal device that has issued the service information providing request is activated to start obtaining service information from the resource. , After the service information is obtained, notify the server program of the server termination,
When the server is terminated, the server program of the server temporarily registered in the network control means is terminated,
Since the server automatically returns to the terminal device, the server function is activated only when the resource on the network is accessed, so that the terminal device on the network can function as a server at any time.
【0030】これにより、何れの端末102又は端末1
03はサーバーを要求しなかった場合は、サーバー機能
は起動されず、無駄に動かす必要はない。As a result, which terminal 102 or terminal 1
If 03 does not request the server, the server function is not activated and there is no need to move it in vain.
【0031】なお、端末102がサーバー機能を起動し
た後、同端末を終了させる場合は、その後端末103の
要求があったらその時点で端末103で新たに起動され
連続的にネットワークサービス提供を行う。 〔第2実施例〕図4は本発明の第2実施例を示すネット
ワークシステムのサービス情報処理方法を適用するシス
テム例を説明するブロック図である。When the terminal 102 activates the server function and then terminates the server function, if there is a request from the terminal 103 thereafter, the terminal 103 is newly activated at that point and continuously provides the network service. [Second Embodiment] FIG. 4 is a block diagram illustrating a system example to which a service information processing method of a network system according to a second embodiment of the present invention is applied.
【0032】図において、401はネットワーク手段
で、プログラムによりデータ処理を行う機能を備えた計
算装置402〜404を通信可能に接続する。なお、本
実施例におけるネットワークサービスは、入力を受けて
計算を行ってから計算結果を送り返す。このネットワー
クサービスを提供するサーバーは何れの計算装置40
2,403,404上で実行可能に構成されている。以
下、図5,図6に示すフローチャートを参照しながら本
発明に係る第2のネットワークシステムのサービス情報
処理方法におけるクライアント側とサーバー側の動作に
ついて説明する。In the figure, reference numeral 401 is a network means for communicatively connecting computing devices 402 to 404 having a function of performing data processing by a program. The network service in this embodiment receives an input, performs a calculation, and then returns the calculation result. The server that provides this network service is any computing device 40.
2, 403 and 404 are configured to be executable. The operations on the client side and the server side in the service information processing method of the second network system according to the present invention will be described below with reference to the flowcharts shown in FIGS.
【0033】図5は本発明に係るネットワークシステム
のサービス情報処理方法における第2のクライアント処
理手順の一例を示すフローチャートである。なお、
(1)〜(12)は各ステップを示し、サービスを要求
するプログラム(クライアント)側の処理に対応する。FIG. 5 is a flow chart showing an example of a second client processing procedure in the service information processing method of the network system according to the present invention. In addition,
(1) to (12) indicate the respective steps, which correspond to the processing on the program (client) side that requests the service.
【0034】先ず、何れの計算装置402〜404上で
実行したネットワークサービスを使用する処理が開始さ
れると(1)、サーバーは既に起動しているかどうかを
判定し(2)、NOならばステップ(3)に進み、ネッ
トワーク手段401の問い合わせによって計算装置40
2〜404のなかのサーバー起動に適するものを取り調
べる。次いで、ネットワーク手段401を介して、取り
調べた結果、適する計算装置上のサーバーを起動し、ネ
ットワーク手段401に登録し(4)、起動させた後、
ステップ(2)に戻る。First, when the processing for using the network service executed on any of the computing devices 402 to 404 is started (1), it is determined whether the server is already running (2). Proceeding to (3), by the inquiry of the network means 401, the computing device 40
Check the one suitable for starting the server among 2 to 404. Then, as a result of the interrogation via the network means 401, a server on a suitable computing device is started, registered in the network means 401 (4), and after starting,
Return to step (2).
【0035】一方、ステップ(2)において、サーバー
が既にあった場合は、サーバーにサービスの要求を送信
する(5)。このサービスの要求によって、サーバー側
では現在使用中のクライアントを知ることが可能とな
る。次いで、サービスの要求が許可されたかどうかを判
定し(6)、許可されないと判定された場合には、ステ
ップ(2)に戻り、許可されたと判定された場合には、
データ入力があるかどうかを判定し(7)、NOならば
サーバーにサービスの終了通知を送信して(11)、処
理を終了する(12)。On the other hand, if the server already exists in step (2), a service request is sent to the server (5). This service request allows the server side to know which client is currently in use. Then, it is determined whether the service request is permitted (6). If it is determined that the service is not permitted, the process returns to step (2). If it is determined that the service is permitted,
It is determined whether or not there is data input (7). If NO, a service end notification is sent to the server (11), and the process ends (12).
【0036】一方、ステップ(7)の判定でデータ入力
ありと判定された場合には、入力されたデータを選択さ
れて起動中のサーバーに送り(8)、サーバーから返信
を受け(9)、受信したデータを出力して(10)、ス
テップ(7)に戻る。On the other hand, if it is determined in step (7) that there is data input, the input data is selected and sent to the server being started (8), and a reply is received from the server (9), The received data is output (10) and the process returns to step (7).
【0037】図6は本発明に係るネットワークシステム
のサービス情報処理方法における第2のサーバー処理手
順の一例を示すフローチャートである。なお、(1)〜
(9)は各ステップを示し、サービスを提供するプログ
ラム(サーバー側)の処理に対応する。FIG. 6 is a flow chart showing an example of the second server processing procedure in the service information processing method of the network system according to the present invention. In addition, (1) ~
(9) shows each step, which corresponds to the processing of the program (server side) that provides the service.
【0038】サーバーが起動されると(1)、クライア
ントリスト(サーバー起動された端末装置のRAMに記
憶される)を空に初期化する(2)。初期化が終えたら
通信待ち状態となり(3)、サービス要求を受けたら、
ステップ(4)に進み、送信した計算装置の特定番号
(例えば装置番号)をクライアントリストに追加し、ス
テップ(3)に戻り、通信待ち状態となる。When the server is started (1), the client list (stored in the RAM of the terminal device started by the server) is initialized to empty (2). When the initialization is completed, it enters the communication waiting state (3), and when the service request is received,
Proceeding to step (4), the transmitted specific number of the computing device (for example, device number) is added to the client list, and the process returns to step (3) to enter the communication waiting state.
【0039】通信待ち状態においては、既にサービスを
要求したクライアント計算装置からデータを受信したら
ステップ(5)で計算を行う。なお、本実施例では、計
算内容に特に関係ないので、詳細な計算処理については
説明を省略する。In the communication waiting state, when data is received from the client computing device which has already requested the service, calculation is performed in step (5). It should be noted that, in the present embodiment, since there is no particular relation to the calculation content, detailed description of the calculation processing will be omitted.
【0040】次いで、計算の結果を送信した計算装置に
返事を送り(6)、ステップ(3)に戻り通信待ち状態
に戻る。Then, a reply is sent to the computing device that sent the calculation result (6), and the process returns to step (3) to return to the communication waiting state.
【0041】一方、ステップ(3)の通信待ち状態にお
いて、既にサービスを要求したクライアント計算装置か
らサービス終了を受信したら、送信した計算装置のサー
ビス要求をクライアントリストから削除する(7)。次
いで、削除済みのクライアントリストを調べ、空状態か
どうかを判定し(8)、NOならば他のサービスを要求
しているクライアントがあるのでそのデータを受信する
ため、ステップ(3)に戻り、通信状態に戻る。On the other hand, in the communication waiting state of step (3), when the end of service is received from the client computing device which has already requested the service, the service request of the transmitted computing device is deleted from the client list (7). Then, the list of deleted clients is checked to determine whether it is empty (8). If NO, there is a client requesting another service, and the data is received. Therefore, the process returns to step (3). Return to communication status.
【0042】一方、ステップ(8)でクライアントリス
トが空であると判定した場合は、サービスを要求してい
るクライアントはないと判定し、サーバーを終了する
(9)。On the other hand, if it is determined in step (8) that the client list is empty, it is determined that there is no client requesting the service, and the server is terminated (9).
【0043】このように第2実施例に示す第2の発明に
よれば、サービス情報提供要求を発行した端末装置にサ
ーバー開始を通知し、該通知の取得後、クライアント側
の端末から通知されるサーバー終了に応じてサーバープ
ログラムを終了してサーバーを端末装置に自動復帰させ
るので、専用サーバーをシステムに常駐させなくても、
端末装置としての機能処理とネットワーク上でサーバー
と機能とを随時切り換えてサービス情報を処理すること
が可能となる。 〔第3実施例〕上記第2実施例では、サービスを要求し
ているクライアントが全部サービスを終了した場合は、
そのサーバーは不要となり処理を終了する場合について
説明したが、サーバーを終了させる直前に他のクライア
ントがサービスを要求する事態も発生し得るので、起動
中のサーバーを他の計算装置に移管して、継続してサー
ビスを提供できるように構成してもよい。以下、その場
合について詳述する。As described above, according to the second invention shown in the second embodiment, the terminal device that has issued the service information providing request is notified of the server start, and after the notification is obtained, the terminal on the client side is notified. When the server is terminated, the server program is terminated and the server is automatically returned to the terminal device, so even if you do not make the dedicated server resident in the system,
It becomes possible to process the service information by switching the function processing as the terminal device and the server and the function on the network at any time. [Third Embodiment] In the second embodiment, when all the clients requesting the service have finished the service,
Although the case where the server is no longer needed and the processing is terminated has been described, it is possible that another client requests the service immediately before the server is terminated, so the server being activated is transferred to another computing device, The service may be continuously provided. The case will be described in detail below.
【0044】第2実施例で説明した、図5に示したステ
ップ(4)でサーバーを起動した後、その起動させたク
ライアントのサービス終了とともにサーバーも終了させ
るため、図5に示したステップ(11)でサービス終了
の代りにサーバー終了命令を送出する。After the server is started in the step (4) shown in FIG. 5 described in the second embodiment, the server is also ended when the service of the started client is ended. Therefore, the step (11) shown in FIG. ), The server end command is sent instead of the service end.
【0045】このサーバー終了命令をサーバーが受けた
ら、ステップ(7)によってサービス終了と同様にクラ
イアントリストを更新し、空となった場合は第2実施例
と同じ処理によって終了する。When the server receives this server end command, the client list is updated in the same way as the service end in step (7), and when it becomes empty, the same process as in the second embodiment ends.
【0046】しかし、クライアントリストは空ではな
い。つまり、サービスを要求しているクライアントが残
っている場合は、次のような処理を行う。すなわち、図
5に示したステップ(3)と同様に新たにサーバーを起
動するための適切な計算装置をネットワーク手段に選択
させる。そして、選択された別の計算装置には、サーバ
ーの開始とともに、現在実行中のサーバーのクライアン
トリストを送信する。However, the client list is not empty. In other words, if there are any clients requesting the service, the following processing is performed. That is, as in step (3) shown in FIG. 5, the network means is caused to select an appropriate computing device for newly starting the server. Then, when the server is started, the client list of the currently executing server is transmitted to another selected computing device.
【0047】従って、代りに動作するサーバーは同じク
ライアントリストで始まるようにする。次いで、クライ
アントリストを渡してから終了と同時に新たなサーバー
を登録する。新規サーバーの初期化と再登録の間は、新
たなサービス要求があったら終了となるサーバーは断
る。その場合は、断られたクライアントは、図5に示し
たステップ(6)によって、再び要求し、新規サーバー
に切り換えられたらサービスの要求が許可される。Therefore, the acting server should start with the same client list. Then, after passing the client list, a new server is registered upon completion. During initialization and re-registration of a new server, the server that terminates will be refused if there is a new service request. In that case, the refused client makes a request again by step (6) shown in FIG. 5, and the request for the service is permitted when switched to the new server.
【0048】この様に第3実施例に示す第3の発明によ
れば、サービス情報提供要求を発行した端末装置にサー
バー開始を通知し、該通知の取得後、クライアント側の
端末から通知されるサーバー終了に応じて後続するサー
バー待ちとなるクライアント情報を確認し、該確認結果
に基づいて次のサーバー候補となる端末装置を選択して
新規仮登録し、該新規仮登録された端末装置にサーバー
終了する端末装置からクライアント情報を受け継ぎし
て、サーバー開始をサーバー待ちとなるクライアントに
通知して、サーバー先を連続して切り換えるので、サー
バー終了時点で、後続するクライアントからのサーバー
要求が発生しても、後続するサーバーに支障なくサーバ
ー要求を処理させることが可能となる。As described above, according to the third invention of the third embodiment, the terminal device that has issued the service information providing request is notified of the server start, and after the notification is obtained, the terminal on the client side is notified. When the server is terminated, the subsequent client information waiting for the server is confirmed, based on the confirmation result, the terminal device which is the next server candidate is selected and newly provisionally registered, and the newly provisionally registered terminal device is used as the server. The client information is inherited from the terminal device to be terminated, the server start is notified to the client waiting for the server, and the server destination is continuously switched.Therefore, when the server ends, a server request from a subsequent client occurs. Also, the subsequent server can process the server request without any trouble.
【0049】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器から成る装置に適
用しても良い。また、本発明はシステムあるいは装置に
プログラムを供給することによって達成させる場合にも
適用できることは言うまでもない。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.
【0050】[0050]
【発明の効果】以上説明したように、本発明に係る第1
の本発明によれば、サービス情報提供要求を発行した端
末装置に記憶されたクライアントプログラムを起動して
前記資源からのサービス情報取得を開始し、サービス情
報取得後、前記サーバープログラムにサーバー終了を通
知し、該サーバー終了に応じて前記ネットワーク制御手
段に仮登録されたサーバーのサーバープログラムを終了
して、該サーバーを端末装置に自動復帰させるので、ネ
ットワーク上の資源へのアクセスが発生する場合に限
り、サーバー機能を起動させるので、ネットワーク上の
端末装置が随時サーバーとして機能させることができ
る。As described above, the first aspect of the present invention
According to the present invention, the client program stored in the terminal device that has issued the service information providing request is activated to start obtaining service information from the resource, and after the service information is obtained, the server program is notified of server termination. Then, the server program of the server temporarily registered in the network control means is terminated according to the termination of the server, and the server is automatically returned to the terminal device. Therefore, only when access to resources on the network occurs. Since the server function is activated, the terminal device on the network can function as a server at any time.
【0051】第2の発明によれば、サービス情報提供要
求を発行した端末装置にサーバー開始を通知し、該通知
の取得後、クライアント側の端末から通知されるサーバ
ー終了に応じてサーバープログラムを終了してサーバー
を端末装置に自動復帰させるので、専用サーバーをシス
テムに常駐させなくても、端末装置としての機能処理と
ネットワーク上でサーバーと機能とを随時切り換えてサ
ービス情報を処理することができる。According to the second invention, the terminal device which has issued the service information providing request is notified of the server start, and after the notification is obtained, the server program is ended in response to the server end notified from the client side terminal. Since the server automatically returns to the terminal device, the service information can be processed by switching the function processing as the terminal device and the server and the function on the network at any time without making the dedicated server resident in the system.
【0052】第3の発明によれば、サービス情報提供要
求を発行した端末装置にサーバー開始を通知し、該通知
の取得後、クライアント側の端末から通知されるサーバ
ー終了に応じて後続するサーバー待ちとなるクライアン
ト情報を確認し、該確認結果に基づいて次のサーバー候
補となる端末装置を選択して新規仮登録し、該新規仮登
録された端末装置にサーバー終了する端末装置からクラ
イアント情報を受け継ぎして、サーバー開始をサーバー
待ちとなるクライアントに通知して、サーバー先を連続
して切り換えるので、サーバー終了時点で、後続するク
ライアントからのサーバー要求が発生しても、後続する
サーバーに支障なくサーバー要求を処理させることがで
きる。According to the third invention, the terminal device which has issued the service information providing request is notified of the server start, and after the notification is acquired, the server waits for the subsequent server according to the server end notified from the client side terminal. The client information is confirmed, the terminal device that is the next server candidate is selected based on the confirmation result, new temporary registration is performed, and the client information is inherited from the terminal device that terminates the server to the newly temporarily registered terminal device. Then, the server start is notified to the client waiting for the server, and the server destination is continuously switched. Therefore, even if a server request from a subsequent client occurs at the server end, the subsequent server will not interfere with the server. The request can be processed.
【0053】従って、システム上の端末装置をある時は
サーバーとして、ある時はクライアントとして随時切り
換えながらサービス情報を処理でき、端末装置を必要な
時だけシステム上で仮想されたサーバーとして機能さ
せ、サーバー終了毎に端末装置へ自動復帰させながら、
効率よくネットワーク処理を実行できるシステムを安価
に構築できるという効果を奏する。Therefore, the service information can be processed by switching the terminal device on the system as a server at one time and as a client at another time, and the terminal device can function as a virtual server on the system only when necessary. While automatically returning to the terminal device at each end,
It is possible to construct a system that can efficiently execute network processing at low cost.
【図1】本発明の第1実施例を示すネットワークシステ
ムのサービス情報処理方法を適用するシステム例を説明
するブロック図である。FIG. 1 is a block diagram illustrating a system example to which a service information processing method for a network system according to a first embodiment of the present invention is applied.
【図2】本発明に係るネットワークシステムのサービス
情報処理方法における第1のクライアント処理手順の一
例を示すフローチャートである。FIG. 2 is a flowchart showing an example of a first client processing procedure in the service information processing method of the network system according to the present invention.
【図3】本発明に係るネットワークシステムのサービス
情報処理方法における第1のサーバー処理手順の一例を
示すフローチャートである。FIG. 3 is a flowchart showing an example of a first server processing procedure in the service information processing method for the network system according to the present invention.
【図4】本発明の第2実施例を示すネットワークシステ
ムのサービス情報処理方法を適用するシステム例を説明
するブロック図である。FIG. 4 is a block diagram illustrating a system example to which a service information processing method for a network system according to a second embodiment of the present invention is applied.
【図5】本発明に係るネットワークシステムのサービス
情報処理方法における第2のクライアント処理手順の一
例を示すフローチャートである。FIG. 5 is a flowchart showing an example of a second client processing procedure in the service information processing method of the network system according to the present invention.
【図6】本発明に係るネットワークシステムのサービス
情報処理方法における第2のサーバー処理手順の一例を
示すフローチャートである。FIG. 6 is a flowchart showing an example of a second server processing procedure in the service information processing method of the network system according to the present invention.
【図7】従来のネットワークシステムのサービス情報処
理方法を適用するシステム構成を説明するブロック図で
ある。FIG. 7 is a block diagram illustrating a system configuration to which a service information processing method of a conventional network system is applied.
101 記憶装置 102 端末 103 端末 104 ネットワーク手段 101 storage device 102 terminal 103 terminal 104 network means
Claims (3)
源から提供されるサービス情報を処理する複数の端末装
置が接続されたネットワークシステムのサービス情報処
理方法において、いずれかの端末装置からのサービス情
報提供要求に応じてサーバープログラムを起動させ、該
サーバープログラムが起動された端末装置を識別して前
記ネットワーク制御手段にサーバーとして仮登録し、該
仮登録されたサーバーに前記資源へのアクセス権を許可
し、前記サービス情報提供要求を発行した端末装置に記
憶されたクライアントプログラムを起動して前記資源か
らのサービス情報取得を開始し、サービス情報取得後、
前記サーバープログラムにサーバー終了を通知し、該サ
ーバー終了に応じて前記ネットワーク制御手段に仮登録
されたサーバーのサーバープログラムを終了して、該サ
ーバーを端末装置に自動復帰させることを特徴とするネ
ットワークシステムのサービス情報処理方法。1. A service information processing method for a network system to which a plurality of terminal devices for processing service information provided from resources connected to a network control means are connected, the service information being provided from one of the terminal devices. A server program is activated in response to a request, the terminal device on which the server program is activated is identified, and the network control means is provisionally registered as a server, and the provisionally registered server is granted an access right to the resource. , Activating a client program stored in the terminal device that issued the service information providing request to start obtaining service information from the resource, and after obtaining the service information,
A network system characterized by notifying the server program of server termination, terminating the server program of the server temporarily registered in the network control means in response to the server termination, and automatically returning the server to the terminal device. Service information processing method.
数の端末装置が所定のネットワークを介して通信してサ
ービス情報を処理するネットワークシステムのサービス
情報処理方法において、いずれかの端末装置が起動した
クライアントプログラムに応じて発行されたサービス情
報提供要求を解析して、サーバープログラムを起動させ
る端末装置を選択してサーバーとして仮登録し、サービ
ス情報提供要求を発行した端末装置にサーバー開始を通
知し、該通知の取得後、クライアント側の端末から通知
されるサーバー終了に応じてサーバープログラムを終了
してサーバーを端末装置に自動復帰させることを特徴と
するネットワークシステムのサービス情報処理方法。2. A service information processing method of a network system in which a plurality of terminal devices connected to a network control means communicate with each other via a predetermined network to process service information, and a client activated by any one of the terminal devices. The service information provision request issued according to the program is analyzed, the terminal device that activates the server program is selected and provisionally registered as a server, the terminal device that issued the service information provision request is notified of the server start, and A service information processing method for a network system, characterized in that after the notification is obtained, the server program is terminated and the server is automatically returned to the terminal device according to the termination of the server notified from the client side terminal.
数の端末装置が所定のネットワークを介して通信してサ
ービス情報を処理するネットワークシステムのサービス
情報処理方法において、いずれかの端末装置が起動した
クライアントプログラムに応じて発行されたサービス情
報提供要求を解析して、サーバープログラムを起動させ
る端末装置を選択してサーバーとして仮登録し、サービ
ス情報提供要求を発行した端末装置にサーバー開始を通
知し、該通知の取得後、クライアント側の端末から通知
されるサーバー終了に応じて後続するサーバー待ちとな
るクライアント情報を確認し、該確認結果に基づいて次
のサーバー候補となる端末装置を選択して新規仮登録
し、該新規仮登録された端末装置にサーバー終了する端
末装置からクライアント情報を受け継ぎして、サーバー
開始をサーバー待ちとなるクライアントに通知して、サ
ーバー先を連続して切り換えることを特徴とするネット
ワークシステムのサービス情報処理方法。3. A service information processing method of a network system, wherein a plurality of terminal devices connected to a network control means communicate with each other via a predetermined network to process service information, and a client activated by any one of the terminal devices. The service information provision request issued according to the program is analyzed, the terminal device that activates the server program is selected and provisionally registered as a server, the terminal device that issued the service information provision request is notified of the server start, and After the notification is obtained, the client information waiting for the subsequent server is confirmed according to the server termination notified from the client side terminal, and based on the confirmation result, the terminal device which is the next server candidate is selected and a new temporary is selected. From the terminal device that registers and terminates the server to the newly provisionally registered terminal device, A service information processing method for a network system, which inherits the server information, notifies the client of server start to the server waiting, and continuously switches the server destination.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21647293A JP3548200B2 (en) | 1993-08-31 | 1993-08-31 | Terminal device and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21647293A JP3548200B2 (en) | 1993-08-31 | 1993-08-31 | Terminal device and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0764896A true JPH0764896A (en) | 1995-03-10 |
| JP3548200B2 JP3548200B2 (en) | 2004-07-28 |
Family
ID=16688988
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21647293A Expired - Fee Related JP3548200B2 (en) | 1993-08-31 | 1993-08-31 | Terminal device and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3548200B2 (en) |
-
1993
- 1993-08-31 JP JP21647293A patent/JP3548200B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP3548200B2 (en) | 2004-07-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5530905A (en) | Temporary state preservation for a distributed file service which purges virtual circuit control information after expiration of time limit of inactivity | |
| US7065526B2 (en) | Scalable database management system | |
| EP1027796B1 (en) | Distributed web application server | |
| US6466965B1 (en) | Centralized affinity maintenance in a workload managed client/server data processing system | |
| US7269630B2 (en) | Automatically switching shared remote devices in a dense server environment thereby allowing the remote devices to function as a local device | |
| JPH0827726B2 (en) | Common agent computer management system and method | |
| JPH0414375B2 (en) | ||
| EP3629160A1 (en) | Method and device for managing vnf instantiation | |
| JPH07105027A (en) | Computer system and method for performing multiple tasks | |
| JP2000020443A (en) | Software agent system | |
| JP3548200B2 (en) | Terminal device and information processing method | |
| US6002864A (en) | Host addresses a client device using permanent name provided by the client device without requiring a transfer of an APPC verb | |
| KR101001035B1 (en) | Dynamic Allocation Method of Virtual IP for Preventing Collision Errors When Multiple Users Run the Same Application on the Same IP Connection in Server-Based Computing System in Terminal Environment and Terminal Server Device therefor | |
| JP2520419B2 (en) | Resource access method | |
| KR0146433B1 (en) | Message distributing method among multiprocess | |
| JPH1040118A (en) | Client / server system and client terminal device | |
| JP3403024B2 (en) | Distributed service system | |
| JPS6265137A (en) | Control system for priority of user task | |
| JPH06339169A (en) | Virtual protocol control system | |
| CN111475204A (en) | Host interactive operation method, system and intermediate conversion device | |
| JPH01177658A (en) | Session control system for on-line subsystem | |
| JPH03134756A (en) | Storage area managing system for composite computer system | |
| JPS6278669A (en) | System for managing and controlling shared resources between plural computers | |
| JPH03154940A (en) | Multi-file processor | |
| JPH036540B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20031216 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040129 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20040203 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040309 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040310 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040406 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040416 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090423 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090423 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100423 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110423 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |