JPH07168781A - Server/client system - Google Patents

Server/client system

Info

Publication number
JPH07168781A
JPH07168781A JP5312408A JP31240893A JPH07168781A JP H07168781 A JPH07168781 A JP H07168781A JP 5312408 A JP5312408 A JP 5312408A JP 31240893 A JP31240893 A JP 31240893A JP H07168781 A JPH07168781 A JP H07168781A
Authority
JP
Japan
Prior art keywords
server
server processing
allocation table
processing
processing means
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
Application number
JP5312408A
Other languages
Japanese (ja)
Other versions
JP3176199B2 (en
Inventor
Yukinobu Nishida
幸延 西田
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP31240893A priority Critical patent/JP3176199B2/en
Publication of JPH07168781A publication Critical patent/JPH07168781A/en
Application granted granted Critical
Publication of JP3176199B2 publication Critical patent/JP3176199B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To improve the utilization ratio of a server processing means and to save resources such as a memory device by providing a proxy means for a client and a server processing allocation table between a work station and the server processing means. CONSTITUTION:The proxy means 11 for a client decides communication control such as the transmission/reception of data to the work station, and a transfer destination server processing means 12 when a data processing request is transferred to the server processing means 12. The server processing means 12 performs data processing according to the contents of the data processing request from the proxy means 11, and returns a process result to the proxy means 11 of a transfer origin. A server processing allocation table operation right flag 14 performs exclusive control when plural proxy means 11 refer to and update a server processing allocation table 13. The proxy means 11 acquires the operation right of the server processing allocation table 13 by using the flag 14, and transfers the data processing request to the server processing means 12 set in a request waiting state.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のワークステーシ
ョンと1つのホストコンピュータからなるサーバ−クラ
イアントシステムに関する。
FIELD OF THE INVENTION The present invention relates to a server-client system comprising a plurality of workstations and a host computer.

【0002】[0002]

【従来の技術】一般に、サーバ−クライアントシステム
では、ワークステーションは利用者から処理内容を受け
付け、データ処理をホストコンピュータに要求する。デ
ータ処理を済ませたホストコンピュータは、要求元のワ
ークステーションに処理結果を返し、ワークステーショ
ンが利用者に結果を表示する。
2. Description of the Related Art Generally, in a server-client system, a workstation receives processing contents from a user and requests data processing from a host computer. The host computer which has completed the data processing returns the processing result to the requesting workstation, and the workstation displays the result to the user.

【0003】図2は、この種の従来のサーバ−クライア
ントシステムの要所の構成を示す。本図によると複数の
ワークステーションからのデータ処理要求を受け付け
る、ワークステーションと同じ数だけのサーバ処理手段
が存在し、ワークステーションとサーバ処理手段の間は
1対1で通信が行われ、他のサーバ処理手段とは通信が
できないようになっている。利用者からの処理要求を受
けたワークステーションは、ホストコンピュータ内のサ
ーバ処理手段へデータ処理要求を送る。データ処理要求
を受けたサーバ処理手段はデータ処理を行い、処理結果
をワークステーションに返却する。
FIG. 2 shows the essential structure of a conventional server-client system of this type. According to this figure, there are the same number of server processing means as the workstations, which receives data processing requests from a plurality of workstations, and one-to-one communication is performed between the workstations and the server processing means. It cannot communicate with the server processing means. Upon receiving the processing request from the user, the workstation sends a data processing request to the server processing means in the host computer. Upon receiving the data processing request, the server processing means processes the data and returns the processing result to the workstation.

【0004】[0004]

【発明が解決しようとする課題】一般に、サーバ−クラ
イアントシステムのワークステーション側は、人間がワ
ークステーションを操作しているので1トランザクショ
ン処理と1トランザクション処理の間に時間的なすきま
が発生する。その間、サーバ処理手段は要求待ちの状態
となる。ところが、上述した従来のサーバ−クライアン
トシステムでは、ワークステーションの数分のサーバ処
理手段が存在するので、処理要求頻度が低い場合にはサ
ーバ処理手段1つ当たりの使用率が低い。また、記憶装
置等の資源から見た場合、使用率の低いサーバ処理手段
が多くの資源を占有しているので、資源の使用効率が悪
い。また、サーバ処理手段の1つの異常状態になった場
合、そのサーバ処理手段に対応するワークステーション
は他のサーバ処理手段と通信ができないので、そのワー
クステーションは使用できないという問題がある。
Generally, on the workstation side of the server-client system, since a human is operating the workstation, there is a time gap between one transaction process and one transaction process. Meanwhile, the server processing means is in a state of waiting for a request. However, in the above-mentioned conventional server-client system, since there are as many server processing units as the number of workstations, the usage rate per server processing unit is low when the processing request frequency is low. Further, in terms of resources such as a storage device, since the server processing means having a low usage rate occupies a large amount of resources, the resource usage efficiency is poor. Further, when one of the server processing means is in an abnormal state, the workstation corresponding to the server processing means cannot communicate with the other server processing means, so that the workstation cannot be used.

【0005】[0005]

【課題を解決するための手段】本発明のサーバクライア
ントシステムは、ワークステーションと1対1対応で通
信を行うためのクライアント代行手段と、前記ワークス
テーションからの要求を処理するサーバ処理手段と、前
記サーバ処理手段の動作状態を記憶するサーバ処理割り
当てテーブルと、前記サーバ処理割り当てテーブルの排
他制御を行うサーバ処理割り当てテーブル操作権フラグ
とを有し、前記クライアント代行手段は、前記ワークス
テーションからの要求を前記サーバ処理手段に転送し、
また前記サーバ処理手段からの処理結果を前記ワークス
テーションに転送するときに、前記サーバ処理割り当て
テーブル操作権フラグおよび前記サーバ処理割り当てテ
ーブルを使用して、サーバ処理手段を獲得し、解放する
ことを特徴とする。
A server-client system of the present invention comprises a client acting means for communicating with a workstation in a one-to-one correspondence, a server processing means for processing a request from the workstation, and A server process allocation table that stores the operating state of the server process unit, and a server process allocation table operation right flag that performs exclusive control of the server process allocation table, and the client proxy unit receives a request from the workstation. Transfer to the server processing means,
When the processing result from the server processing means is transferred to the workstation, the server processing allocation table operation right flag and the server processing allocation table are used to acquire and release the server processing means. And

【0006】[0006]

【実施例】本発明の一実施例を示す図1を参照すると、
本実施例は、多数(2以上)のクラアント代行手段11
と、2つのサーバ処理手段12と、サーバ処理割り当て
テーブル13と、サーバ処理割り当てテーブル操作権フ
ラグ14で構成されており、ワークステーションとサー
バ処理手段12の間に、クライアント代行手段11とサ
ーバ処理割り当てテーブル13を設けていることを特徴
とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Referring to FIG. 1 showing an embodiment of the present invention,
In this embodiment, a large number (two or more) of client agents 11 are used.
It is composed of two server processing means 12, a server processing allocation table 13, and a server processing allocation table operation right flag 14. Between the workstation and the server processing means 12, the client acting means 11 and the server processing allocation are provided. A table 13 is provided.

【0007】クライアント代行手段11は、ワークステ
ーションに対するデータの送受信等の通信制御と、サー
バ処理手段12にデータ処理要求を転送する際の転送先
サーバ処理手段を決定する処理を持つ。クラアント代行
手段11の数はワークステーションの数分だけ存在する
が、1つ当たりの資源の占有度は小さい。
The client acting means 11 has communication control such as data transmission / reception to / from a workstation, and processing for determining a transfer destination server processing means for transferring a data processing request to the server processing means 12. There are as many client substitute agents 11 as there are workstations, but the occupancy of resources per one is small.

【0008】サーバ処理手段12は、クライアント代行
手段11から送られたデータ処理要求の内容に従ってデ
ータ処理を行い、処理結果を転送元のクライアント代行
手段11に返却する処理を持つ。サーバ処理手段12は
1つ当たりの資源の占有度は、クライアント代行手段1
1に比べて大きい。
The server processing means 12 has a process of performing data processing according to the content of the data processing request sent from the client acting means 11 and returning the processing result to the client acting means 11 of the transfer source. The occupancy of each resource in the server processing means 12 is determined by the client acting means 1
Greater than 1.

【0009】サーバ処理割り当てテーブル13は、配列
になっており、各配列要素が各サーバに1対1に対応し
ている。1つの配列要素にはサーバ処理手段12の動作
状態を記憶する領域がある。サーバ処理手段12の動作
状態は、現在、クライアント代行手段11からのデータ
処理を行っていることを示す「データ処理中」と、現
在、クライアント代行手段11からのデータ処理要求を
待っていることを示す「データ処理要求待ち」のいずれ
かである。
The server processing allocation table 13 is an array, and each array element has a one-to-one correspondence with each server. One array element has an area for storing the operation state of the server processing means 12. The operation state of the server processing means 12 is "data processing" indicating that data processing is currently being performed from the client acting means 11 and that the server processing means 12 is currently waiting for a data processing request from the client acting means 11. It is one of the “waiting for data processing request” shown.

【0010】サーバ処理割り当てテーブル操作権フラグ
14は、複数のクライアント代行手段11がサーバ処理
割り当てテーブル13を参照・更新する際の排他制御を
行うためのフラグである。フラグの内容は、現在、ザー
バ処理割り当てテーブル13を参照・更新を行っている
ことを示す「使用中」と、前述以外の「未使用」のいず
れかである。
The server process allocation table operation right flag 14 is a flag for performing exclusive control when the plurality of client proxy units 11 refer to and update the server process allocation table 13. The content of the flag is either "in use", which indicates that the server processing allocation table 13 is currently being referenced or updated, or "unused" other than the above.

【0011】サーバ処理割り当てテーブル13を参照・
更新するのは、クライアント代行手段11である。クラ
イアント代行手段11は、サーバ処理割り当てテーブル
操作権フラグ14を用いてサーバ処理割り当てテーブル
13の操作権を得る。操作権を得られなかった場合は、
操作権を得るまで待つ。操作権を得ずにサーバ処理割り
当てテーブル13の参照・更新を行うことはできない。
Refer to the server process allocation table 13
It is the client acting means 11 that updates. The client proxy unit 11 obtains the operation right of the server process allocation table 13 by using the server process allocation table operation right flag 14. If you do not get the operation right,
Wait until you get the operation right. The server process allocation table 13 cannot be referenced or updated without obtaining the operation right.

【0012】次に、本装置の動作を説明する。Next, the operation of this apparatus will be described.

【0013】ワークステーションからのデータ処理要求
を受けたクラアント代行手段11は、サーバ処理割り当
てテーブル13の操作権を得るために、サーバ処理割り
当てテーブル操作権フラグ14を「使用中」にする。操
作権を得た場合は、サーバ処理割り当てテーブル13を
参照し、現在、「データ処理要求待ち」状態であるサー
バ処理手段12を探す。
Upon receiving the data processing request from the workstation, the client proxy means 11 sets the server processing allocation table operating right flag 14 to "in use" in order to obtain the operating right of the server processing allocation table 13. When the operation right is obtained, the server processing allocation table 13 is referred to, and the server processing means 12 currently in the "data processing request waiting" state is searched for.

【0014】見つからない場合は、サーバ処理割り当て
テーブル13の操作権を放棄するために、サーバ処理割
り当てテーブル操作権フラグ14を「未使用」にして、
間隔を置いた後、もう一度サーバ処理割り当て操作権フ
ラグ14の操作権を得るところから繰り返す。
If not found, in order to abandon the operation right of the server processing allocation table 13, the server processing allocation table operation right flag 14 is set to "unused",
After the interval, the process is repeated from the point where the operation right of the server processing allocation operation right flag 14 is obtained again.

【0015】見つかった場合は、サーバ処理割り当てテ
ーブル13内の該当サーバ処理手段12の状態を「デー
タ処理中」に更新し、サーバ処理割り当てテーブル13
の操作権を放棄するために、サーバ処理割り当てテーブ
ル操作権フラグ14を「未使用」にする。そして、「デ
ータ処理中」に更新したサーバ処理手段12へデータ処
理要求を転送する。
If found, the status of the server processing means 12 in the server processing allocation table 13 is updated to "data processing in progress", and the server processing allocation table 13 is updated.
The server processing allocation table operation right flag 14 is set to "unused" in order to abandon the operation right. Then, the data processing request is transferred to the server processing means 12 updated to "during data processing".

【0016】データ処理要求を受けたサーバ処理手段1
2は、データ処理を行い、処理結果を転送元のクライア
ント代行手段11へ返却する。処理結果が返却されたク
ライアント代行手段11は、サーバ処理割り当てテーブ
ル13の操作権を得るために、サーバ処理割り当てテー
ブル操作権フラグ14を「使用中」にする。操作権を得
た場合は、サーバ処理割り当てテーブル13の参照し、
「データ処理中」にしたサーバ処理手段12の状態を
「データ処理要求待ち」に更新してサーバを解放する。
サーバ処理割り当てテーブル13の操作権を放棄するた
めに、サーバ処理割り当てテーブル操作権フラグ14を
「未使用」にする。そして、要求元のワークステーショ
ンへ処理結果を転送する。
Server processing means 1 that has received a data processing request
2 performs data processing and returns the processing result to the client proxy unit 11 of the transfer source. The client proxy unit 11 that has returned the processing result sets the server process allocation table operation right flag 14 to “in use” in order to obtain the operation right of the server process allocation table 13. When the operation right is obtained, the server process allocation table 13 is referred to,
The state of the server processing means 12 that has been set to "data processing" is updated to "waiting for data processing request" to release the server.
In order to abandon the operation right of the server process allocation table 13, the server process allocation table operation right flag 14 is set to "unused". Then, the processing result is transferred to the requesting workstation.

【0017】[0017]

【発明の効果】以上説明したように本発明によると、ワ
ークステーションとサーバ処理手段の数は必ず一致しな
ければならないという制限がないため、処理要求頻度に
大じてサーバ処理手段の数を可変することができる。従
って、サーバ処理手段の数を減らすことができ、1つ当
たりのサーバ処理手段の使用効率を上げることができ
る。また、従来技術と比べて記憶装置等の資源を節約す
ることができる。
As described above, according to the present invention, since there is no limitation that the number of workstations and the number of server processing means must be the same, the number of server processing means can be varied depending on the processing request frequency. can do. Therefore, the number of server processing means can be reduced and the efficiency of use of each server processing means can be improved. In addition, resources such as a storage device can be saved as compared with the related art.

【0018】また、ワークステーションから見た場合、
データ処理を行うことができるサーバ処理手段は複数存
在することになるので、サーバ処理手段の1つの異常状
態になった場合でも、サーバ処理手段の数が0にならな
い限り全てのワークステーションが使用できる。
When viewed from the workstation,
Since there are a plurality of server processing means capable of performing data processing, even if one of the server processing means is in an abnormal state, all workstations can be used unless the number of server processing means becomes zero. .

【0019】さらに、ファイル転送等の大量のデータ転
送を行う場合、受信が完了するまでクライアント代行手
段がデータを保持し、受信が終わってからサーバ処理手
順に要求を出し、送信の場合はサーバ処理手段からファ
イルでデータを受け取ってすぐにサーバ処理手段を解放
し、データをワークステーションに返却するという方法
をとることにより、ワークステーションとクライアント
代行手段の間の通信回線速度が遅い場合でも、サーバ処
理手段は他のデータ処理を行うことができる。
Further, in the case of transferring a large amount of data such as a file transfer, the client acting means holds the data until the reception is completed, issues a request to the server processing procedure after the reception is completed, and in the case of transmission, the server processing is carried out. Even if the communication line speed between the workstation and the client acting means is slow, the server processing is released as soon as the data is received as a file from the means and the server processing means is released and the data is returned to the workstation. The means can perform other data processing.

【0020】[0020]

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来例のブロック図である。FIG. 2 is a block diagram of a conventional example.

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

11 クライアント代行手段 12 サーバ処理手段 13 サーバ処理割り当てテーブル 14 サーバ処理割り当てテーブル操作権フラグ。 11 client proxy means 12 server processing means 13 server processing allocation table 14 server processing allocation table operation right flag.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ワークステーションと1対1対応で通信
を行うためのクライアント代行手段と、前記ワークステ
ーションからの要求を処理するサーバ処理手段と、前記
サーバ処理手段の動作状態を記憶するサーバ処理割り当
てテーブルと、前記サーバ処理割り当てテーブルの排他
制御を行うサーバ処理割り当てテーブル操作権フラグと
を有し、前記クライアント代行手段は、前記ワークステ
ーションからの要求を前記サーバ処理手段に転送し、ま
た前記サーバ処理手段からの処理結果を前記ワークステ
ーションに転送するときに、前記サーバ処理割り当てテ
ーブル操作権フラグおよび前記サーバ処理割り当てテー
ブルを使用して、サーバ処理手段を獲得し、解放するこ
とを特徴とするサーバ−クライアントシステム。
1. A client acting means for communicating with a workstation in a one-to-one correspondence, a server processing means for processing a request from the workstation, and a server processing allocation for storing an operation state of the server processing means. A table and a server process allocation table operation right flag for performing exclusive control of the server process allocation table, the client proxy unit transfers a request from the workstation to the server process unit, and the server process A server characterized by acquiring and releasing a server processing means by using the server processing allocation table operation right flag and the server processing allocation table when transferring the processing result from the means to the workstation. Client system.
【請求項2】 前記サーバ処理手段の個数は前記クライ
アント代行手段の個数以下であることを特徴とする請求
項1記載のサーバ−クライアントシステム。
2. The server-client system according to claim 1, wherein the number of the server processing means is less than or equal to the number of the client acting means.
JP31240893A 1993-12-14 1993-12-14 Server client system Expired - Lifetime JP3176199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31240893A JP3176199B2 (en) 1993-12-14 1993-12-14 Server client system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31240893A JP3176199B2 (en) 1993-12-14 1993-12-14 Server client system

Publications (2)

Publication Number Publication Date
JPH07168781A true JPH07168781A (en) 1995-07-04
JP3176199B2 JP3176199B2 (en) 2001-06-11

Family

ID=18028878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31240893A Expired - Lifetime JP3176199B2 (en) 1993-12-14 1993-12-14 Server client system

Country Status (1)

Country Link
JP (1) JP3176199B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6018462A (en) * 1997-06-30 2000-01-25 Nec Corporation Multi-tip module
US7562157B2 (en) 1996-04-10 2009-07-14 Inpro Licensing Sarl Simplified-file hyper text protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7562157B2 (en) 1996-04-10 2009-07-14 Inpro Licensing Sarl Simplified-file hyper text protocol
US6018462A (en) * 1997-06-30 2000-01-25 Nec Corporation Multi-tip module

Also Published As

Publication number Publication date
JP3176199B2 (en) 2001-06-11

Similar Documents

Publication Publication Date Title
US5991797A (en) Method for directing I/O transactions between an I/O device and a memory
KR20020090520A (en) Parallel logging method of transaction processing system
JPH0287259A (en) Dispersion type digital data processing system
JP2008033952A (en) Most eligible server in common work queue environment
JP2004529443A (en) Reduced call time and message traffic during data and lock transfers in multi-node systems
CN110535811B (en) Remote memory management method and system, server, client and storage medium
CN113515320A (en) Hardware acceleration processing method and device and server
JPH07168781A (en) Server/client system
KR20020031224A (en) Method Of Dispersion Service Of Contents And The System
JPH09224066A (en) Communication protocol parallel processor
JPH0444291B2 (en)
JPH10240697A (en) Load distribution method based on session use rate
JPH0342765A (en) Decentralized processor
JPH04274524A (en) System for controlling inter-process communication
JPH03245632A (en) Lan data link establishing system
JPH06161951A (en) Bus control system
JPS62212762A (en) Processing system for function decentralized information
JPH0378065A (en) Reception control system for peripheral device
JPH0381852A (en) Connection control system
JPH06337832A (en) Inter-object communication system in multi-user virtual space system
JPH0561806A (en) Information processor
JPH01177658A (en) Session control system for on-line subsystem
JPH01297929A (en) Dynamic network address assignment system
JPH04353959A (en) Data reception system for distributed type file transfer program
JPS6086643A (en) Local area network system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010306

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080406

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140406

Year of fee payment: 13

EXPY Cancellation because of completion of term