JP3176199B2 - Server client system - Google Patents

Server client system

Info

Publication number
JP3176199B2
JP3176199B2 JP31240893A JP31240893A JP3176199B2 JP 3176199 B2 JP3176199 B2 JP 3176199B2 JP 31240893 A JP31240893 A JP 31240893A JP 31240893 A JP31240893 A JP 31240893A JP 3176199 B2 JP3176199 B2 JP 3176199B2
Authority
JP
Japan
Prior art keywords
server processing
server
workstation
data
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.)
Expired - Lifetime
Application number
JP31240893A
Other languages
Japanese (ja)
Other versions
JPH07168781A (en
Inventor
幸延 西田
Original Assignee
中国日本電気ソフトウェア株式会社
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 中国日本電気ソフトウェア株式会社 filed Critical 中国日本電気ソフトウェア株式会社
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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のワークステーシ
ョンと1つのホストコンピュータからなるサーバ−クラ
イアントシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server-client system comprising a plurality of workstations and one 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 that 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 a configuration of a main part of a conventional server-client system of this kind. According to this figure, there are as many server processing means as there are workstations that accept data processing requests from a plurality of workstations, and one-to-one communication is performed between the workstations and the server processing means. Communication with the server processing means cannot be performed. The workstation receiving the processing request from the user sends a data processing request to the server processing means in the host computer. Upon receiving the data processing request, the server processing means performs data processing and returns a processing result to the workstation.

【0004】[0004]

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

【0005】[0005]

【課題を解決するための手段】本発明のサーバクライア
ントシステムは、ワークステーション対応に設けられワ
ークステーションと1対1対応で通信を行うためのクラ
イアント代行手段と、前記ワークステーションからの要
求を処理するサーバ処理手段と、前記サーバ処理手段の
動作状態を記憶するサーバ処理割り当てテーブルと、前
記サーバ処理割り当てテーブルの排他制御を行うサーバ
処理割り当てテーブル操作権フラグとを有し、前記クラ
イアント代行手段は、前記ワークステーションからの要
求を前記サーバ処理手段に転送し、また前記サーバ処理
手段からの処理結果を前記ワークステーションに転送す
るときに、前記サーバ処理割り当てテーブル操作権フラ
グおよび前記サーバ処理割り当てテーブルを使用して
前記サーバ処理手段を獲得し、解放すると共に、前記ワ
ークステーションから前記サーバ処理手段へのデータ転
送を行う場合、データ受信が完了するまでデータを保持
し、受信が終わってから前記獲得したサーバ処理手段に
要求して、データを渡し、前記ワークステーションへデ
ータ送信の場合は前記サーバ処理手段からデータを受け
取って前記サーバ処理手段を解放することを特徴とす
る。
A server client system according to the present invention is provided for a workstation, and a client agent for communicating with a workstation in a one-to-one correspondence. A server processing means for processing a request from the server processing means, a server processing assignment table for storing an operation state of the server processing means, and a server processing assignment table operation right flag for performing exclusive control of the server processing assignment table. The client acting means transfers a request from the workstation to the server processing means, and transfers a processing result from the server processing means to the workstation, the server processing assignment table operation right flag and the server. Using the process assignment table ,
Acquiring the servers processing means, release to Rutotomoni, the word
Data transfer from the workstation to the server processing means.
When sending, hold data until data reception is completed
After the reception is completed, the acquired server processing means
Request, pass data and send data to the workstation
In the case of data transmission, data is received from the server processing means.
Taking wherein a release child said server processing means.

【0006】[0006]

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

【0007】クライアント代行手段11は、ワークステ
ーションに対するデータの送受信等の通信制御と、サー
バ処理手段12にデータ処理要求を転送する際の転送先
サーバ処理手段を決定する処理を持つ。クラアント代行
手段11の数はワークステーションの数分だけ存在する
が、1つ当たりの資源の占有度は小さい。
[0007] The client acting means 11 has a communication control for transmitting / receiving data to / from a workstation, and a process for determining a destination server processing means when transferring a data processing request to the server processing means 12. Although the number of client substitute means 11 is equal to the number of workstations, the occupancy of each resource 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 contents 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 server processing means 12 determines the occupancy of each resource by the client proxy means 1
Larger than one.

【0009】サーバ処理割り当てテーブル13は、配列
になっており、各配列要素が各サーバに1対1に対応し
ている。1つの配列要素にはサーバ処理手段12の動作
状態を記憶する領域がある。サーバ処理手段12の動作
状態は、現在、クライアント代行手段11からのデータ
処理を行っていることを示す「データ処理中」と、現
在、クライアント代行手段11からのデータ処理要求を
待っていることを示す「データ処理要求待ち」のいずれ
かである。
The server processing assignment 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 unit 12. The operation state of the server processing means 12 is that "data processing is in progress" indicating that data processing is currently being performed from the client proxy means 11 and that the server processing means 12 is currently waiting for a data processing request from the client proxy means 11. "Data processing request waiting".

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

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

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

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

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

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

【0016】データ処理要求を受けたサーバ処理手段1
2は、データ処理を行い、処理結果を転送元のクライア
ント代行手段11へ返却する。処理結果が返却されたク
ライアント代行手段11は、サーバ処理割り当てテーブ
ル13の操作権を得るために、サーバ処理割り当てテー
ブル操作権フラグ14を「使用中」にする。操作権を得
た場合は、サーバ処理割り当てテーブル13の参照し、
「データ処理中」にしたサーバ処理手段12の状態を
「データ処理要求待ち」に更新してサーバを解放する。
サーバ処理割り当てテーブル13の操作権を放棄するた
めに、サーバ処理割り当てテーブル操作権フラグ14を
「未使用」にする。そして、要求元のワークステーショ
ンへ処理結果を転送する。
Server processing means 1 receiving a data processing request
2 performs data processing and returns the processing result to the client acting means 11 of the transfer source. The client acting unit 11 to which the processing result is returned sets the server processing assignment table operation right flag 14 to “in use” in order to obtain the operation right of the server processing assignment table 13. When the operation right is obtained, the server processing allocation table 13 is referred to,
The state of the server processing means 12 which has been set to "data processing in progress" is updated to "data processing request waiting" and the server is released.
In order to abandon the operation right of the server process assignment table 13, the server process assignment 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, there is no restriction that the number of workstations and server processing means must always match, so that the number of server processing means can be varied according to the processing request frequency. can do. Therefore, the number of server processing units can be reduced, and the efficiency of using one server processing unit can be increased. Further, resources such as a storage device can be saved as compared with the related art.

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

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

【0020】[0020]

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one 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 acting means 12 Server processing means 13 Server processing assignment table 14 Server processing assignment table operation right flag.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 9/46 G06F 15/16 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 13/00 G06F 9/46 G06F 15/16

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークステーション対応に設けられワ
クステーションと1対1対応で通信を行うためのクライ
アント代行手段と、前記ワークステーションからの要求
を処理するサーバ処理手段と、前記サーバ処理手段の動
作状態を記憶するサーバ処理割り当てテーブルと、前記
サーバ処理割り当てテーブルの排他制御を行うサーバ処
理割り当てテーブル操作権フラグとを有し、前記クライ
アント代行手段は、前記ワークステーションからの要求
を前記サーバ処理手段に転送し、また前記サーバ処理手
段からの処理結果を前記ワークステーションに転送する
ときに、前記サーバ処理割り当てテーブル操作権フラグ
および前記サーバ処理割り当てテーブルを使用して、前
記サーバ処理手段を獲得し、解放すると共に、前記ワー
クステーションから前記サーバ処理手段へのデータ転送
を行う場合、データ受信が完了するまでデータを保持
し、受信が終わってから前記獲得したサーバ処理手段に
要求して、データを渡し、前記ワークステーションへデ
ータ送信の場合は前記サーバ処理手段からデータを受け
取って前記サーバ処理手段を解放することを特徴とする
サーバ−クライアントシステム。
And the client proxy means for communicating with the workstation corresponding to the provided word over <br/> workstation 1-one correspondence [1 claim], a server processing unit that processes the request from the workstation, the A server processing assignment table for storing an operation state of the server processing means; and a server processing assignment table operation right flag for performing exclusive control of the server processing assignment table. The client acting means receives a request from the workstation. wherein when transferred to a server processing means and for transferring the processing result from the server processing unit to the workstation, using the server process allocation table operating right flag and the server process allocation table, before
Won hexa over server processing unit, release to Rutotomoni, the word
From the client to the server processing means
, Hold data until data reception is completed
After the reception is completed, the acquired server processing means
Request, pass data and send data to the workstation
In the case of data transmission, data is received from the server processing means.
Taking the server and wherein a release child said server processing means - client system.
【請求項2】 前記サーバ処理手段の個数は前記クライ
アント代行手段の個数以下であることを特徴とする請求
項1記載のサーバ−クライアントシステム。
2. The server-client system according to claim 1, wherein the number of said server processing means is equal to or less than the number of said 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 JPH07168781A (en) 1995-07-04
JP3176199B2 true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6076109A (en) 1996-04-10 2000-06-13 Lextron, Systems, Inc. Simplified-file hyper text protocol
JP3063687B2 (en) * 1997-06-30 2000-07-12 日本電気株式会社 Multi-chip module

Also Published As

Publication number Publication date
JPH07168781A (en) 1995-07-04

Similar Documents

Publication Publication Date Title
US5991797A (en) Method for directing I/O transactions between an I/O device and a memory
EP0838056B1 (en) Method, apparatus and electronic storage medium for managing multiple server requests and collating responses
JP4144897B2 (en) Optimal server in common work queue environment
EP0074864A2 (en) System and method for name-lookup in a local area network data communication system
JP2000507428A (en) Client management flow control method and apparatus on finite memory computer system
CN110535811B (en) Remote memory management method and system, server, client and storage medium
CN112286688B (en) Memory management and use method, device, equipment and medium
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
WO2019184107A1 (en) System and method for establishing data transmission channel, network storage apparatus, server, and storage medium
US7343432B1 (en) Message based global distributed locks with automatic expiration for indicating that said locks is expired
JP3176199B2 (en) Server client system
EP0317468A3 (en) Bus flow control system
JPH02212955A (en) Protocol machine
JPH054040Y2 (en)
KR20010004954A (en) Method for interlocking channel using multi-server in push system
KR0119901B1 (en) Method for providing transport service in unix system
CN114116240A (en) Remote procedure calling method for directly pushing local parameters to remote end by client
TW385397B (en) Agent device for multiple CPUs
CN116775684A (en) Data processing method, system, device, electronic equipment and storage medium
JPS62134728A (en) Inter-program data transferring system
JPH0378065A (en) Reception control system for peripheral device
JP2000172598A (en) Charging management device
JPH0583297A (en) Packet transfer system
JPH03245632A (en) Lan data link establishing system
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