JP2968720B2 - Client / server system - Google Patents

Client / server system

Info

Publication number
JP2968720B2
JP2968720B2 JP8126857A JP12685796A JP2968720B2 JP 2968720 B2 JP2968720 B2 JP 2968720B2 JP 8126857 A JP8126857 A JP 8126857A JP 12685796 A JP12685796 A JP 12685796A JP 2968720 B2 JP2968720 B2 JP 2968720B2
Authority
JP
Japan
Prior art keywords
communication procedure
server
server program
communication
unit
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 - Fee Related
Application number
JP8126857A
Other languages
Japanese (ja)
Other versions
JPH09312673A (en
Inventor
光隆 舛田
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.)
CHUGOKU NIPPON DENKI SOFUTOEA KK
Original Assignee
CHUGOKU NIPPON DENKI SOFUTOEA KK
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 CHUGOKU NIPPON DENKI SOFUTOEA KK filed Critical CHUGOKU NIPPON DENKI SOFUTOEA KK
Priority to JP8126857A priority Critical patent/JP2968720B2/en
Publication of JPH09312673A publication Critical patent/JPH09312673A/en
Application granted granted Critical
Publication of JP2968720B2 publication Critical patent/JP2968720B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Multi Processors (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、クライアント・サ
ーバシステムに関し、サーバとクライアントとの間でお
こなわれるデータ通信を制御する通信手順が複数種類存
在するクライアント・サーバシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client-server system, and more particularly, to a client-server system having a plurality of types of communication procedures for controlling data communication performed between a server and a client.

【0002】[0002]

【従来の技術】従来、この種のLAN複数手順同時動作
処理方式として、「特開平3−267836号公報」に
示される、一枚のLAN制御アダプタで複数の手順を共
存させね手順ごとに複数のLAN制御アダプタを設けず
にLANを構成する方式がある。この技術を図12を用
いて説明する。
2. Description of the Related Art Conventionally, as this kind of LAN multi-procedure simultaneous operation processing system, a plurality of procedures are not allowed to coexist with one LAN control adapter as shown in Japanese Patent Laid-Open Publication No. 3-267736. There is a method of configuring a LAN without providing a LAN control adapter. This technique will be described with reference to FIG.

【0003】図12を参照すると、LAN制御アダプタ
20は、複数の通信手順を有する手順部205a,20
5b〜205n、本体処理部30と手順部205a,2
05b〜205nを接続する本体インタフェース20
4、本体処理部30からの送信要求または通信回線から
の受信に対応した手順を識別するLAN共通部203、
通信時の割込み処理を行う割込み処理部202と通信制
御インターフェース201とを備える。
Referring to FIG. 12, a LAN control adapter 20 has procedure units 205a, 20a having a plurality of communication procedures.
5b to 205n, main body processing unit 30 and procedure units 205a, 2
Main body interface 20 for connecting 05b to 205n
4. a LAN common unit 203 for identifying a procedure corresponding to a transmission request from the main processing unit 30 or reception from a communication line;
An interrupt processing unit 202 for performing interrupt processing during communication and a communication control interface 201 are provided.

【0004】たとえば、端末システム10a,10b〜
10nの何れかから手順部205bに対応した通信手順
でデータを受信した場合、割込み処理部202が通信制
御インタフェース201から受信し、その受信データを
解析することによって何れの手順を適用したデータかを
識別する。手順部205bの手順が適用されていると判
断すると、割り込み処理部202は手順部205bへ受
信データを渡す。
[0004] For example, terminal systems 10a, 10b-
When data is received from any one of the communication units 10n in the communication procedure corresponding to the procedure unit 205b, the interrupt processing unit 202 receives the data from the communication control interface 201 and analyzes the received data to determine which procedure is applied. Identify. When determining that the procedure of the procedure unit 205b is applied, the interrupt processing unit 202 passes the received data to the procedure unit 205b.

【0005】そして、手順部205bは本体処理部30
へ通知できる状態か否かの判断処理を行い、通知可能状
態ならばLAN共通処理部203に受信データを渡す。
LAN共通処理部203は、本体インタフェース204
でデータを受信したことを本体インタフェース204へ
通知する。そして、本体インタフェース204は、本体
処理部30へ通知するための処理を行う。
[0005] Then, the procedure unit 205b is the main processing unit 30
The received data is passed to the LAN common processing unit 203 if the notification is possible.
The LAN common processing unit 203 includes a main body interface 204
The main body interface 204 is notified that data has been received. Then, the main body interface 204 performs processing for notifying the main body processing unit 30.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の技術の
第1の問題点は、複数の通信手順を統合しプログラムに
対して通信手順の違いを意識させないようにしているの
で、1つの通信手順のみに対応し、通信手順を意識して
作られたサーバプログラムより通信速度が遅くなること
である。
A first problem of the above-mentioned prior art is that a plurality of communication procedures are integrated so that a program is not made aware of a difference between the communication procedures. This means that the communication speed is slower than that of a server program created in consideration of the communication procedure.

【0007】その理由は、プログラムに対して共通のイ
ンタフェースを提供するために、通信手順ごとの制御方
式の違いをなくすための処理時間が通信時間に含まれる
ためである。
The reason is that, in order to provide a common interface to programs, a processing time for eliminating a difference in a control method for each communication procedure is included in the communication time.

【0008】第2の問題点は、通信速度を上げようとす
る場合、第1の問題点のためにそれぞれの通信手順に対
応したサーバプログラムを作成しなければならず、開発
および保守の工数が増大すると共に、さらに各々のサー
バプログラムを登録するための外部記憶領域をより多く
必要とする点である。
A second problem is that when the communication speed is to be increased, a server program corresponding to each communication procedure must be created because of the first problem, and the number of steps of development and maintenance is reduced. The point is that as the number increases, more external storage areas are required for registering each server program.

【0009】その理由は、各通信手順の制御方式や、プ
ログラムに対して提供されるインタフェースは通信手順
ごとに異なり、通信速度を優先させるためには各通信手
順の持つ機能を最大限利用するようサーバプログラムを
作成するためである。また、サーバプログラムを通信手
順ごとに用意するのは、サーバプログラムが通信手順に
より起動されたとき、何れの通信手順を利用すれば良い
か一意に決まるからである。
The reason is that the control method of each communication procedure and the interface provided to the program are different for each communication procedure, and in order to give priority to the communication speed, the functions of each communication procedure should be used to the utmost. This is for creating a server program. The reason why the server program is prepared for each communication procedure is that when the server program is started by the communication procedure, it is uniquely determined which communication procedure to use.

【0010】本発明の目的は、複数の通信手順に対して
各々のサーバプログラムを用意しなくても、サーバプロ
グラムが何れの通信手順により起動されたかを知ること
ができるようにし、ソフトウェアの生産性を向上させ、
かつ、ソフトウェアが格納される外部記憶装置の領域を
削減することである。
An object of the present invention is to make it possible to know by which communication procedure a server program was started without preparing each server program for a plurality of communication procedures, and to improve software productivity. Improve
Another object is to reduce the area of an external storage device in which software is stored.

【0011】[0011]

【課題を解決するための手段】[Means for Solving the Problems]

【0012】[0012]

【0013】本発明の第1のクライアント・サーバシス
テムは、 (a)データ処理を行うために必要な資源を提供するサ
ーバと、 (b)前記サーバに対してデータ処理要求を行う複数の
クライアントと、 (c)前記サーバの資源を使用してデータ処理を行うサ
ーバプログラムと、 (d)前記複数のクライアントからデータ処理要求が発
生し通信手順が前記サーバプログラムを起動する場合、
前記サーバプログラムに対して何れの通信手順により起
動したかを通信手順情報として通知する処理を行う通信
手順識別情報通知処理部と、 (e)前記サーバプログラムが前記通信情報より何れの
通信手順により起動されたかを識別するための通信手順
識別部と、 (f)前記サーバプログラムが複数の通信手順に対応し
た処理を行うための通信手順接続部と、 (g)前記サーバプログラムが通信手順に依存すること
なく前記複数のクライアントからのデータ処理要求を処
理するための共通処理部と、を備える。
A first client / server system of the present invention
The system shall: (a) provide services that provide the resources necessary to perform data processing;
And (b) a plurality of data processing requests to the server.
A client for performing data processing using the resources of the server;
A data processing request from the plurality of clients.
When the communication procedure starts the server program,
The server program is started by any communication procedure.
Communication that performs the process of notifying whether or not it has been moved as communication procedure information
A procedure identification information notification processing unit, and (e) any one of the server programs
Communication procedure to identify whether it was started by the communication procedure
An identification section, (f) the server program corresponding to a plurality of communication procedure
Processing and communication procedure connection unit for performing a, (g) that the server program is dependent on the communication procedure
Without processing data processing requests from the plurality of clients.
And a common processing unit.

【0014】本発明の第2のクライアント・サーバシス
テムは、通信手順が前記サーバプログラムを起動する場
合に、通信手順から前記サーバプログラムに渡される前
記通信手順情報が格納されるファイル形式の情報格納部
を前記サーバに備える。
A second client / server system of the present invention
System when the communication procedure activates the server program.
Before being passed from the communication procedure to the server program
Information storage section in file format in which communication procedure information is stored
Is provided in the server.

【0015】本発明の第3のクライアント・サーバシス
テムは、通信手順が前記サーバプログラムを起動する場
合に、通信手順から前記サーバプログラムに渡される前
記通信手順情報が格納されるファーストイン・ファース
トアウト方式の情報格納部を前記サーバに備える。
A third client / server system of the present invention
System when the communication procedure activates the server program.
Before being passed from the communication procedure to the server program
First-in-firth where communication procedure information is stored
The server is provided with an information storage unit of a handout type.

【0016】[0016]

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

【0017】図1は、本発明の第1の実施の形態の構成
を示すクライアント・サーバシステムのブロック図であ
る。
FIG. 1 is a block diagram of a client-server system showing the configuration of the first embodiment of the present invention.

【0018】図1を参照すると、異なる通信手順により
接続されたクライアント7−1,7−2〜7−nに対し
てデータ処理に必要な資源を提供するサーバ1は、サー
バプログラム2と、それぞれ異なる通信手順部6−1,
6−2〜6−nとを備える。
Referring to FIG. 1, a server 1 for providing resources required for data processing to clients 7-1, 7-2 to 7-n connected by different communication procedures includes a server program 2 and a server program 2, respectively. Different communication procedure units 6-1
6-2 to 6-n.

【0019】サーバプログラム2は、何れの通信手順に
より起動されたのかを識別する通信手順識別部3と、複
数の通信手順部6−1,6−2〜6−nに対応した処理
を行う通信手順接続部4−1,4−2〜4−nと、通信
手順に依存することなくクライアントからのデータ処理
要求を処理するための共通処理部5とを備える。
The server program 2 communicates with a communication procedure identifying section 3 for identifying which communication procedure was started, and a communication for performing processing corresponding to the plurality of communication procedure sections 6-1 and 6-1 to 6-n. It comprises a procedure connection unit 4-1, 4-2 to 4-n, and a common processing unit 5 for processing a data processing request from a client without depending on a communication procedure.

【0020】通信手順部6−1,6−2〜6−nは、サ
ーバプログラム2とクライアント7−1,7−2〜7−
nとの間でおこなわれるデータ通信を制御し、クライア
ント7−1,7−2〜7−nからデータ処理要求が発生
したときサーバプログラム2を起動すると共に、起動パ
ラメータとして情報8を渡すための通信手順識別情報通
知処理部9を備える。
The communication procedure units 6-1 and 6-1 to 6-n include the server program 2 and the clients 7-1 and 7-2 to 7-n.
n for controlling the data communication performed between the server 7 and the client 7-1, 7-2 to 7-n to start the server program 2 when a data processing request is issued, and to pass information 8 as a start parameter. The communication procedure identification information notification processing unit 9 is provided.

【0021】図2は、通信手順部6−1,6−2〜6−
nの通信手順識別情報通知処理部9から、サーバプログ
ラム2に対して渡される情報8の内容を示す図である。
情報には通信手順部6−1,6−2〜6−nの何れが起
動したのかを示す通信手順識別子が格納される。
FIG. 2 shows a communication procedure section 6-1, 6-1 to 6-6.
FIG. 9 is a diagram showing the contents of information 8 passed to the server program 2 from an n-th communication procedure identification information notification processing unit 9.
The information stores a communication procedure identifier indicating which of the communication procedure units 6-1 and 6-1 to 6-n has been activated.

【0022】次に図1の本発明の第1の実施の形態の動
作について図2〜図4を参照して説明する。図3は第1
の実施の形態の通信手順部6−1,6−2〜6−nの動
作を示すフローチャートである。図4は第1の実施の形
態のサーバプログラムの動作を示すフローチャートであ
る。
Next, the operation of the first embodiment of the present invention shown in FIG. 1 will be described with reference to FIGS. FIG. 3 shows the first
It is a flowchart which shows operation | movement of the communication procedure part 6-1 of the embodiment. FIG. 4 is a flowchart illustrating the operation of the server program according to the first embodiment.

【0023】クライアント7−1,7−2〜7−nから
サーバ1に対して初めて利用要求が発生したとき(図3
ステップA1)、通信手順部6−1,6−2〜6−nは
サーバプログラム2を起動すると共に、通信手順識別情
報通知処理部9を使用し起動パラメータとして情報8を
渡す(図3ステップA2)。そして、クライアント7−
1,7−2〜7−nとサーバプログラム2との間でおこ
なわれるデータ通信を制御する(図3ステップA3)。
When the client 7-1, 7-2 to 7-n issues a use request to the server 1 for the first time (FIG. 3)
Step A1), the communication procedure units 6-1 and 6-1 to 6-n activate the server program 2 and pass the information 8 as the activation parameter using the communication procedure identification information notification processing unit 9 (step A2 in FIG. 3). ). And the client 7-
Data communication performed between the server program 2 and the server program 2 is controlled (step A3 in FIG. 3).

【0024】次に、サーバプログラム2はまず通信手順
識別部3を実行する。通信手順識別部3では、通信手順
部6−1,6−2〜6−nより渡された情報8に格納さ
れた通信手順識別子の取得と記憶を行う(図4ステップ
B1)。これにより、サーバプログラム2はデータ通信
の開始に先立って(図4ステップB2)、利用すべき通
信手順を認識でき、適切な通信手順接続部4−1,4−
2〜4−nを選択する(図4ステップB3)。通信手順
接続部4−1,4−2〜4−nでは、各通信手順部6−
1,6−2〜6−nに対してデータ通信の開始を宣言す
る(図4ステップB4,B5およびB6)。サーバプロ
グラム2が実際にデータ処理のためのデータを受信する
とき(図4ステップB7)や、データ処理をおこなった
結果を送信するとき(図4ステップB10)、またはデ
ータ通信の終了を宣言するとき(図4ステップB11)
も、通信手順識別部3で記憶した通信手順識別子を確認
することで、適切な通信手順接続部4−1,4−2〜4
−nを選択することができる(図4ステップB3)。通
信手順接続部4−1,4−2〜4−nでは、各通信手順
部6−1,6−2〜6−nに対して、データ処理要求の
受信やデータ処理結果の送信、およびデータ通信の終了
を宣言する(図4ステップB4,B5およびB6)。ク
ライアントからのデータ処理要求を通信手順接続部4−
1,4−2〜4−nの何れかで受信した(図4ステップ
B8)後は、通信手順に依存しないデータ処理に必要な
データのみを元に、共通処理部5にてデータ処理を行う
(図4ステップB9)。
Next, the server program 2 first executes the communication procedure identifying unit 3. The communication procedure identification unit 3 acquires and stores the communication procedure identifier stored in the information 8 passed from the communication procedure units 6-1 and 6-1 to 6-n (step B1 in FIG. 4). As a result, the server program 2 can recognize the communication procedure to be used prior to the start of the data communication (step B2 in FIG. 4), and appropriate communication procedure connection sections 4-1 and 4-
2 to 4-n are selected (FIG. 4, step B3). In the communication procedure connection units 4-1 and 4-2 to 4-n, each communication procedure unit 6-
It declares the start of data communication to 1, 6-2 to 6-n (steps B4, B5 and B6 in FIG. 4). When the server program 2 actually receives data for data processing (step B7 in FIG. 4), transmits the result of data processing (step B10 in FIG. 4), or declares the end of data communication (Step B11 in FIG. 4)
Also, by confirming the communication procedure identifier stored in the communication procedure identification unit 3, the appropriate communication procedure connection units 4-1 and 4-2 to 4
−n can be selected (FIG. 4, step B3). The communication procedure connection units 4-1 and 4-2 to 4-n receive data processing requests, transmit data processing results, and transmit data processing requests to the respective communication procedure units 6-1 and 6-1 to 6-n. Declares the end of communication (steps B4, B5 and B6 in FIG. 4). The data processing request from the client is transmitted to the communication procedure connection unit 4-
After receiving the data in any one of 1, 4-2 to 4-n (step B8 in FIG. 4), the common processing unit 5 performs data processing based on only data necessary for data processing independent of the communication procedure. (Step B9 in FIG. 4).

【0025】次に、本発明の第1の実施の形態の効果に
ついて説明する。
Next, the effect of the first embodiment of the present invention will be described.

【0026】上述した第1の実施の形態は、通信手順が
サーバプログラムに対して利用すべき通信手順を通知す
ることで、サーバプログラムが何れの通信手順で利用を
開始すれば良いか判断できる。このため、クライアント
とサーバとの間でサポートする通信手順を増やす場合
に、1つのサーバプログラムに新規にサポートする通信
手順に対応する処理のみ加えれば良く、新しく別のサー
バプログラムを作成する必要がない。また、通信手順に
依存しないデータ処理の機能を増やす場合でも、1つの
サーバプログラムのデータ処理を行う部分のみ強化すれ
ば良く、通信手順別に用意されたサーバプログラムそれ
ぞれを強化する必要がない。
In the first embodiment, the communication procedure notifies the server program of the communication procedure to be used, so that it is possible to determine which communication procedure the server program should use. Therefore, when the number of communication procedures supported between the client and the server is increased, only processing corresponding to the newly supported communication procedure need be added to one server program, and it is not necessary to create another new server program. . In addition, even when the number of data processing functions independent of the communication procedure is increased, only the part that performs data processing of one server program needs to be strengthened, and it is not necessary to strengthen each server program prepared for each communication procedure.

【0027】サーバプログラムの異なる通信手順に対す
る通信手順接続部4−1,4−2〜4−nは、従来の通
信手順別に作られていたサーバプログラムの通信手順接
続部を利用すれば良い。このため、通信手順部6−1,
6−2〜6−nを統合して、プログラムに対して通信手
順の違いを意識させない処理を組み込むことにより起こ
る、通信速度の低下を避けることができる。
The communication procedure connection units 4-1 and 4-2 to 4-n for different communication procedures of the server program may use the communication procedure connection units of the server program which have been created for each conventional communication procedure. For this reason, the communication procedure unit 6-1,
It is possible to avoid a reduction in the communication speed caused by integrating the processes 6-1 to 6-n and incorporating a process that does not make the program aware of the difference in the communication procedure.

【0028】次に、本発明の第1の実施の形態の実施例
について、図1〜図5を参照して説明する。
Next, an example of the first embodiment of the present invention will be described with reference to FIGS.

【0029】図5は第1の実施の形態の通信手順識別子
の具体例を示す図である。
FIG. 5 is a diagram showing a specific example of the communication procedure identifier according to the first embodiment.

【0030】図1の通信手順部6−1,6−2〜6−n
は、サーバプログラム2を起動するとき通信手順識別情
報通知処理部9を使用し、起動パラメータとして情報8
を渡す。
The communication procedure units 6-1 and 6-1 to 6-n in FIG.
Uses the communication procedure identification information notification processing unit 9 when activating the server program 2, and uses information 8 as a startup parameter.
give.

【0031】情報8は図2に示す通信手順識別子であ
り、図5を参照すると、例えば、通信手順部6−1の通
信手順識別子はS6−1であり、通信手順部6−2の通
信手順識別子はS6−2であるように、サーバプログラ
ム2と通信手順部6−1,6−2〜6−nとの間で重複
しないように決めておく。
The information 8 is the communication procedure identifier shown in FIG. 2. Referring to FIG. 5, for example, the communication procedure identifier of the communication procedure section 6-1 is S6-1 and the communication procedure identifier of the communication procedure section 6-2. As in S6-2, the identifier is determined so as not to overlap between the server program 2 and the communication procedure units 6-1 and 6-2 to 6-n.

【0032】次に、通信手順部6−1を利用するクライ
アント7−1からデータ処理要求が開始された場合の動
作について説明する。
Next, an operation when a data processing request is started from the client 7-1 using the communication procedure unit 6-1 will be described.

【0033】クライアント7−1からサーバ1に対して
初めて利用要求が発生したとき(図3ステップA1)、
通信手順部6−1はサーバプログラムを起動するとき通
信手順識別情報処理部9を使用し、起動パラメータとし
て情報8を渡す(図3ステップA2)。情報8として渡
すべき通信手順識別子は、図5に示すようにS6−1で
ある。サーバプログラム2は処理を開始すると通信手順
識別部3を実行する。通信手順識別部3では、通信手順
部6−1より渡された情報8に格納された通信手順識別
子であるS6−1の取得と記憶を行う(図4ステップB
1)。これにより、サーバプログラム2はデータ通信の
開始に先立って利用すべき通信手順を認識でき(図4ス
テップB3)、適切な通信手順接続部4−1を選択し
(図4ステップB4)通信手順部6−1に対してデータ
通信の開始を宣言できる(図4ステップB2)。
When a use request is issued from the client 7-1 to the server 1 for the first time (step A1 in FIG. 3),
The communication procedure unit 6-1 uses the communication procedure identification information processing unit 9 when starting the server program, and passes information 8 as a start parameter (step A2 in FIG. 3). The communication procedure identifier to be passed as the information 8 is S6-1 as shown in FIG. When the server program 2 starts processing, it executes the communication procedure identification unit 3. The communication procedure identification unit 3 acquires and stores the communication procedure identifier S6-1 stored in the information 8 passed from the communication procedure unit 6-1 (step B in FIG. 4).
1). Thereby, the server program 2 can recognize the communication procedure to be used prior to the start of the data communication (Step B3 in FIG. 4), and select an appropriate communication procedure connection unit 4-1 (Step B4 in FIG. 4). The start of data communication can be declared to 6-1 (step B2 in FIG. 4).

【0034】次に、本発明の第2の実施の形態の構成に
ついて図面を参照して説明する。図6は本発明の第2の
実施の形態の構成を示すブロック図である。図6を参照
すると、本発明の第2の実施の形態は、図1に示した第
1の実施の形態におけるサーバ1の構成に加え、情報格
納部10を有する点で異なる。情報格納部10に、通信
手順部6−1,6−2〜6−nに対応した通信手順識別
子が格納される。
Next, the configuration of the second embodiment of the present invention will be described with reference to the drawings. FIG. 6 is a block diagram showing a configuration of the second exemplary embodiment of the present invention. Referring to FIG. 6, the second embodiment of the present invention is different in that an information storage unit 10 is provided in addition to the configuration of the server 1 in the first embodiment shown in FIG. In the information storage unit 10, communication procedure identifiers corresponding to the communication procedure units 6-1 and 6-1 to 6-n are stored.

【0035】次に、図6の本発明の第2の実施の形態の
動作を図7を参照して説明する。図7は第2の実施の形
態の通信手順部6−1,6−2〜6−nの動作を示すフ
ローチャートである。
Next, the operation of the second embodiment of the present invention shown in FIG. 6 will be described with reference to FIG. FIG. 7 is a flowchart showing the operation of the communication procedure units 6-1 and 6-1 to 6-n according to the second embodiment.

【0036】クライアント7−1,7−2〜7−nから
サーバ1に対して初めて利用要求が発生したとき(図7
ステップA1)、通信手順部6−1,6−2〜6−nは
通信手順識別情報通知処理部9を使用し、情報格納部1
0からサーバプログラムに渡すべき通信手順識別子を取
り出す(図7ステップA4)。そして、通信手順部6−
1,6−2〜6−nはサーバプログラム2を起動すると
共に、通信手順識別情報通知処理部9を使用し通信手順
識別子である情報8を渡す(図7ステップA5)。情報
8を通知されたサーバプログラム2の動作は、第1の実
施の形態の動作と同一のため、説明は省略する。
When the client 7-1, 7-2 to 7-n issues a use request to the server 1 for the first time (see FIG. 7).
Step A1), the communication procedure units 6-1 and 6-1 to 6-n use the communication procedure identification information notification processing unit 9 and
The communication procedure identifier to be passed to the server program is extracted from 0 (step A4 in FIG. 7). Then, the communication procedure section 6-
1, 6-1 to 6-n activate the server program 2 and pass information 8 as a communication procedure identifier using the communication procedure identification information notification processing unit 9 (step A5 in FIG. 7). The operation of the server program 2 notified of the information 8 is the same as the operation of the first embodiment, and the description is omitted.

【0037】次に、第2の実施の形態の実施例について
図6〜8を参照して説明する。
Next, an example of the second embodiment will be described with reference to FIGS.

【0038】図8は第2の実施の形態の情報格納部10
の具体例を示す図である。
FIG. 8 shows an information storage unit 10 according to the second embodiment.
It is a figure which shows the specific example of.

【0039】図8を参照すると、ファイルシステムであ
る情報格納部10には通信手順部6−1,6−2〜6−
nが参照すべきレコード1,2〜nが確保される。たと
えば、レコード1は通信手順部6−1が参照すべき領域
であり、通信手順識別子としてS6−1が格納される。
レコード2は通信手順部6−2が参照すべき領域であ
り、通信手順識別子としてS6−2が格納される。通信
手順識別子は重複しないように格納される。
Referring to FIG. 8, the information storage unit 10, which is a file system, has a communication procedure unit 6-1 and 6-2 to 6--6.
Records 1, 2 to n to be referred to by n are secured. For example, record 1 is an area to be referred to by the communication procedure unit 6-1 and stores S6-1 as a communication procedure identifier.
Record 2 is an area to be referred to by the communication procedure unit 6-2, and stores S6-2 as a communication procedure identifier. The communication procedure identifier is stored so as not to be duplicated.

【0040】次に、通信手順部6−1を利用するクライ
アント7−1からデータ処理要求が開始された場合の動
作について説明する。
Next, an operation when a data processing request is started from the client 7-1 using the communication procedure unit 6-1 will be described.

【0041】クライアント7−1からサーバ1に対して
初めて利用要求が発生したとき(図7ステップA1)、
通信手順部6−1は通信手順識別情報通知処理部9によ
り、情報格納部10のレコード1を参照し、通信手順識
別子S6−1を取り出す(図7ステップA4)。そし
て、通信手順部6−1は通信手順識別情報通知処理部9
を使用し、通信手順識別子であるS6−1をサーバプロ
グラム2の起動パラメータとして情報8を渡す(図7ス
テップA5)。
When a use request is issued from the client 7-1 to the server 1 for the first time (step A1 in FIG. 7),
The communication procedure unit 6-1 refers to the record 1 of the information storage unit 10 and extracts the communication procedure identifier S6-1 by the communication procedure identification information notification processing unit 9 (step A4 in FIG. 7). The communication procedure unit 6-1 is a communication procedure identification information notification processing unit 9
And the information 8 is passed as the communication procedure identifier S6-1 as an activation parameter of the server program 2 (step A5 in FIG. 7).

【0042】第2の実施の形態の効果は、第1の実施の
形態では通信手順識別子をサーバプログラム2と通信手
順部6−1,6−2〜6−nとの間で固定されるのに対
し、通信手順識別子をサーバプログラム2で使用したい
値に動的に変更できることである。このため、サーバプ
ログラム2の作成の自由度が増す。
The effect of the second embodiment is that, in the first embodiment, the communication procedure identifier is fixed between the server program 2 and the communication procedure units 6-1 and 6-2 to 6-n. In contrast, the communication procedure identifier can be dynamically changed to a value desired to be used in the server program 2. Therefore, the degree of freedom in creating the server program 2 is increased.

【0043】次に、本発明の第3の実施の形態の構成に
ついて図面を参照して説明する。図9は本発明の第3の
実施の形態の構成を示すブロック図である。
Next, the configuration of the third embodiment of the present invention will be described with reference to the drawings. FIG. 9 is a block diagram showing a configuration of the third exemplary embodiment of the present invention.

【0044】図9を参照すると、本発明の第3の実施の
形態は、図1に示した第1の実施の形態におけるサーバ
1の構成に加え、通知情報記憶部11を有する点で異な
る。
Referring to FIG. 9, the third embodiment of the present invention is different from the first embodiment shown in FIG. 1 in that a notification information storage unit 11 is provided in addition to the configuration of server 1.

【0045】通知情報記憶部11は、入力データを順次
蓄えることができ、最初に入力したデータを最初に出力
することのできるメモリ(すなわち、ファーストイン・
ファーストアウト方式のメモリ)である。通信手順部6
−1,6−2〜6−nが入力したデータは、情報8−
1,8−2〜8−nとして蓄えられ、通信手順部6−
1,6−2〜6−nより起動されたサーバプログラム2
により順次取り出される。
The notification information storage unit 11 is a memory capable of sequentially storing input data, and capable of outputting first input data first (ie, a first-in-first-out memory).
First-out type memory). Communication procedure part 6
-1, 6-2 to 6-n input the information 8-
1, 8-2 to 8-n, and stored in the communication procedure unit 6-
Server program 2 started from 1, 6-2-6-n
Are sequentially taken out.

【0046】次に、図9の本発明の第3の実施の形態の
動作を図10および図4を参照して説明する。図10は
第3の実施の形態の通信手順部6−1,6−2〜6−n
の動作を示すフローチャートである。
Next, the operation of the third embodiment of the present invention shown in FIG. 9 will be described with reference to FIGS. 10 and 4. FIG. 10 shows a communication procedure unit 6-1, 6-2 to 6-n according to the third embodiment.
6 is a flowchart showing the operation of the embodiment.

【0047】クライアント7−1,7−2〜7−nから
サーバ1に対して初めて利用要求が発生したとき(図1
0ステップA1)、通信手順部6−1,6−2〜6−n
は通信手順識別情報通知処理部9を使用し、通知情報記
憶部11に通信手順識別子である情報8−1,8−2〜
8−nを入力する(図10ステップA6)。そして、通
信手順部6−1,6−2〜6−nはサーバログラム2を
起動する(図10ステップA7)。起動されたサーバプ
ログラム2は通信手順識別部3を使用し、通知情報記憶
部11より情報8−1,8−2〜8−nのうち何れか1
つを取り出し、通信手順識別子の取得と記憶を行う(図
4ステップB1)。図4のステップB2〜B11で示さ
れる第3の実施の形態におけるサーバプログラム2の通
信手順接続部4−1,4−2〜4−nおよび共通処理部
5の動作は、第1の実施の形態の動作と同一である。
When the client 7-1, 7-2 to 7-n issues a use request to the server 1 for the first time (FIG. 1)
0 step A1), communication procedure unit 6-1, 6-1 to 6-n
Uses the communication procedure identification information notification processing unit 9 and stores information 8-1, 8-2 to 8-3 as communication procedure identifiers in the notification information storage unit 11.
8-n is input (step A6 in FIG. 10). Then, the communication procedure units 6-1 and 6-1 to 6-n activate the server program 2 (step A7 in FIG. 10). The started server program 2 uses the communication procedure identification unit 3 and stores any one of the information 8-1, 8-2 to 8-n from the notification information storage unit 11.
One is taken out and the communication procedure identifier is obtained and stored (step B1 in FIG. 4). The operations of the communication procedure connection units 4-1 and 4-2 to 4-n of the server program 2 and the common processing unit 5 in the third embodiment shown in steps B2 to B11 in FIG. The operation is the same as that of the embodiment.

【0048】次に、第3の実施の形態の実施例につい
て、図4,図9,図10,図11を参照して説明する。
Next, an example of the third embodiment will be described with reference to FIGS. 4, 9, 10, and 11.

【0049】図11は第3の実施の形態の通知情報記憶
部11の具体例を示す図である。
FIG. 11 is a diagram showing a specific example of the notification information storage unit 11 according to the third embodiment.

【0050】図11を参照すると、通知情報記憶部11
には通信手順部6−1が入力した情報である通信手順識
別子S6−1が格納されている。さらに、通信手順部6
−2が入力した通信手順識別子S6−2が格納されてい
る。通信手順識別子は通信手順部6−1,6−2〜6−
nで重複しない値が使用される。通信手順部6−1,6
−2〜6−nにより起動されたサーバプログラム2は、
通知情報記憶部11より何れか1つの通信手順識別子を
取得する。サーバプログラム2が通信手順部6−1によ
り入力された通信手順識別子S6−1を取得した場合
は、通信手順部6−1に対応したサーバプログラムとな
る。また、サーバプログラム2が通信手順部6−2によ
り入力された通信手順識別子S6−2を取得した場合
は、通信手順部6−2に対応したサーバプログラムとな
る。
Referring to FIG. 11, notification information storage unit 11
Stores a communication procedure identifier S6-1 which is information input by the communication procedure unit 6-1. Further, the communication procedure section 6
2 stores the communication procedure identifier S6-2 input. The communication procedure identifier is the communication procedure part 6-1, 6-1 to 6-
A unique value for n is used. Communication procedure units 6-1 and 6
The server program 2 started by -2- to 6-n is
One of the communication procedure identifiers is obtained from the notification information storage unit 11. When the server program 2 acquires the communication procedure identifier S6-1 input by the communication procedure unit 6-1, the server program 2 becomes a server program corresponding to the communication procedure unit 6-1. When the server program 2 acquires the communication procedure identifier S6-2 input by the communication procedure section 6-2, the server program 2 is a server program corresponding to the communication procedure section 6-2.

【0051】ここでは、通信手順部6−1を利用するク
ライアント7−1からデータ処理要求が開始された場合
の動作について説明する。
Here, an operation when a data processing request is started from the client 7-1 using the communication procedure unit 6-1 will be described.

【0052】クライアント7−1からサーバ1に対して
初めて利用要求が発生したとき(ステップA1)、通信
手順部6−1は通信手順識別情報通知処理部9を使用
し、通知情報記憶部11に通信手順識別子S6−1を、
これから起動するサーバプログラム2への情報として入
力する(図10ステップA6)。そして、通信手順部6
−1はサーバプログラム2を起動する(図10ステップ
A7)。起動されたサーバプログラム2は通信手順識別
部3を使用し、通知情報記憶部11より情報を取り出し
通信手順識別子S6−1の取得と記憶を行う(図4ステ
ップB1)。
When a use request is issued from the client 7-1 to the server 1 for the first time (step A1), the communication procedure unit 6-1 uses the communication procedure identification information notification processing unit 9 and stores it in the notification information storage unit 11. The communication procedure identifier S6-1 is
The information is input as information to the server program 2 to be started (step A6 in FIG. 10). Then, the communication procedure section 6
-1 activates the server program 2 (step A7 in FIG. 10). The started server program 2 uses the communication procedure identification unit 3 to extract information from the notification information storage unit 11 and acquire and store the communication procedure identifier S6-1 (FIG. 4, step B1).

【0053】第3の実施の形態は、入力データを順次蓄
えることができ、最初に入力したデータを最初に出力す
ることのできるメモリを介して、通信手順部からサーバ
プログラムへ情報を渡している。このため、第1の実施
の形態、および第2の実施の形態のように、通信手順部
がサーバプログラムを起動する際の起動パラメータとし
て情報を通知できない場合でも、通信手順部からサーバ
プログラムへ情報の通知が可能であるという効果が得ら
れる。
In the third embodiment, information is passed from the communication procedure section to the server program via a memory capable of sequentially storing input data and outputting the first input data first. . Therefore, even when the communication procedure unit cannot notify information as a start parameter when starting the server program as in the first embodiment and the second embodiment, the communication procedure unit transmits information to the server program. Can be notified.

【0054】[0054]

【発明の効果】本発明の第1の効果は、1つのサーバプ
ログラムで複数の通信手順に対応できることである。こ
れにより、サーバプログラムの開発および保守が容易に
なり、さらに、プログラムを登録しておく外部記憶領域
を節約できる。
A first effect of the present invention is that one server program can cope with a plurality of communication procedures. This facilitates development and maintenance of the server program, and further saves an external storage area for registering the program.

【0055】その理由は、通信手順がサーバプログラム
に対して利用すべき通信手順を通知することで、サーバ
プログラムが何れの通信手順で利用を開始すれば良いか
判断できることにある。サーバプログラムで新規にサポ
ートする通信手順が増えた場に、通信手順に対応する処
理のみ加えれば良く、新しく別のサーバプログラムを作
成し外部記憶領域に登録しておく必要がない。また、通
信手順に依存しないデータ処理の機能を増やす場合で
も、データ処理を行う共通処理部分のみ強化すれば良
く、通信手順別に用意されたサーバプログラムそれぞれ
を強化する必要がないからである。
The reason is that the communication procedure notifies the server program of the communication procedure to be used, so that the server program can determine which communication procedure should be used. When the number of communication procedures newly supported by the server program increases, only processing corresponding to the communication procedure may be added, and there is no need to newly create another server program and register it in the external storage area. Further, even when the number of functions of data processing that does not depend on the communication procedure is increased, only the common processing part for performing the data processing needs to be strengthened, and it is not necessary to strengthen each server program prepared for each communication procedure.

【0056】また、第2の効果は、通信手順別に作られ
ていたサーバプログラムを1つにする際、各サーバプロ
グラムより通信手順に対応する部分を利用することがで
きることである。これにより、通信速度の低下を招くこ
となく、既存資産を継承し容易に複数の通信手順に対応
したサーバプログラムを作成することが可能である。
A second effect is that when one server program is created for each communication procedure, a portion corresponding to the communication procedure can be used from each server program. As a result, it is possible to easily create a server program that inherits existing assets and supports a plurality of communication procedures without lowering the communication speed.

【0057】その理由は、異なる通信手順を統合した場
合の、プログラムに対して通信手順の違いを意識させな
いようにする為の処理時間が通信時間に含まれないこと
と、通信手順の違いを意識させないための共通のインタ
フェースを使用して、サーバプログラムの通信手順に対
応する部分を新規に作成する必要がないからである。
The reason is that, when different communication procedures are integrated, the processing time for keeping the program from being conscious of the difference in the communication procedure is not included in the communication time, and the difference in the communication procedure is conscious. This is because it is not necessary to newly create a part corresponding to the communication procedure of the server program by using a common interface for preventing such a situation.

【0058】[0058]

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

【図1】本発明の第1の実施の形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】図1の情報の内容を示す図面である。FIG. 2 is a diagram showing contents of information of FIG. 1;

【図3】図1の通信手順部の動作を示すフローチャート
である。
FIG. 3 is a flowchart illustrating an operation of a communication procedure unit in FIG. 1;

【図4】図1のサーバプログラムの動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing the operation of the server program of FIG. 1;

【図5】本発明の図2で示した通信手順識別子の具体例
を示す図面である。
FIG. 5 is a diagram showing a specific example of the communication procedure identifier shown in FIG. 2 of the present invention.

【図6】本発明の第2の実施の形態の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図7】図6の通信手順部の動作を示すフローチャート
である。
FIG. 7 is a flowchart showing an operation of a communication procedure unit in FIG. 6;

【図8】図6の情報格納部の具体例を示す図面である。FIG. 8 is a diagram showing a specific example of an information storage unit in FIG. 6;

【図9】本発明の第3の実施の形態の構成を示すブロッ
ク図である。
FIG. 9 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.

【図10】図9の通信手順部の動作を示すフローチャー
トである。
FIG. 10 is a flowchart showing an operation of a communication procedure unit in FIG. 9;

【図11】図9の通知情報記憶部の具体例を示す図面で
ある。
FIG. 11 is a diagram showing a specific example of a notification information storage unit in FIG. 9;

【図12】従来の技術の構成を示すブロック図である。FIG. 12 is a block diagram showing a configuration of a conventional technique.

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

1 サーバ 2 サーバプログラム 3 通信手順識別部 4−1,4−2〜4−n 通信手順接続部 5 共通処理部 6−1,6−2〜6−n 通信手順部 7−1,7−2〜7−n クライアント 8 情報 9 通信手順識別情報通知処理部 10a,10b〜10n 端末システム 20 LAN制御アダプタ 30 本体処理部 201 通信制御インタフェース 202 割込み処理部 203 LAN共通処理部 204 本体インタフェース 205a,205b〜205n 手順部 Reference Signs List 1 server 2 server program 3 communication procedure identification section 4-1, 4-2 to 4-n communication procedure connection section 5 common processing section 6-1, 6-1 to 6-n communication procedure section 7-1, 7-2 7-n client 8 information 9 communication procedure identification information notification processing unit 10a, 10b to 10n terminal system 20 LAN control adapter 30 main unit processing unit 201 communication control interface 202 interrupt processing unit 203 LAN common processing unit 204 main unit interface 205a, 205b 205n Procedure part

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】(a)データ処理を行うために必要な資源
を提供するサーバと、 (b)前記サーバに対してデータ処理要求を行う複数の
クライアントと、 (c)前記サーバの資源を使用してデータ処理を行うサ
ーバプログラムと、 (d)前記複数のクライアントからデータ処理要求が発
生し通信手順が前記サーバプログラムを起動する場合、
前記サーバプログラムに対して何れの通信手順により起
動したかを通信手順情報として通知する処理を行う通信
手順識別情報通知処理部と、 (e)前記サーバプログラムが前記通信情報より何れの
通信手順により起動されたかを識別するための通信手順
識別部と、 (f)前記サーバプログラムが複数の通信手順に対応し
た処理を行うための通信手順接続部と、 (g)前記サーバプログラムが通信手順に依存すること
なく前記複数のクライアントからのデータ処理要求を処
理するための共通処理部と、 を有することを特徴とするクライアント・サーバシステ
ム。
1. (a) Resources required for performing data processing
And (b) a plurality of servers that make data processing requests to the server.
A client for performing data processing using the resources of the server;
A data processing request from the plurality of clients.
When the communication procedure starts the server program,
The server program is started by any communication procedure.
Communication that performs the process of notifying whether or not it has been moved as communication procedure information
A procedure identification information notification processing unit, and (e) any one of the server programs
Communication procedure to identify whether it was started by the communication procedure
An identification section, (f) the server program corresponding to a plurality of communication procedure
Processing and communication procedure connection unit for performing a, (g) that the server program is dependent on the communication procedure
Without processing data processing requests from the plurality of clients.
And a common processing unit for managing
M
【請求項2】 前記サーバにあって、通信手順が前記サ
ーバプログラムを起動する場合に、通信手順から前記サ
ーバプログラムに渡される前記通信手順情報が格納され
るファイル形式の情報格納部を有することを特徴とする
請求項1記載のクライアント・サーバシステム。
2. The server according to claim 1, wherein said communication procedure is performed by said server.
When starting a server program, the server
The communication procedure information passed to the server program is stored.
File format information storage unit
The client / server system according to claim 1.
【請求項3】 前記サーバにあって、通信手順が前記サ
ーバプログラムを起動する場合に、通信手順から前記サ
ーバプログラムに渡される前記通信手順情報が格納され
るファーストイン・ファーストアウト方式の情報格納部
を有することを特徴とする請求項1記載のクライアント
・サーバシステム。
3. The server according to claim 2, wherein said communication procedure is performed by said server.
When starting a server program, the server
The communication procedure information passed to the server program is stored.
First-in / first-out information storage
2. The client according to claim 1, further comprising:
-Server system.
JP8126857A 1996-05-22 1996-05-22 Client / server system Expired - Fee Related JP2968720B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8126857A JP2968720B2 (en) 1996-05-22 1996-05-22 Client / server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8126857A JP2968720B2 (en) 1996-05-22 1996-05-22 Client / server system

Publications (2)

Publication Number Publication Date
JPH09312673A JPH09312673A (en) 1997-12-02
JP2968720B2 true JP2968720B2 (en) 1999-11-02

Family

ID=14945569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8126857A Expired - Fee Related JP2968720B2 (en) 1996-05-22 1996-05-22 Client / server system

Country Status (1)

Country Link
JP (1) JP2968720B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100366294B1 (en) * 1999-06-04 2002-12-31 한국전자통신연구원 Method for server object invocation within distributed object system by a client application

Also Published As

Publication number Publication date
JPH09312673A (en) 1997-12-02

Similar Documents

Publication Publication Date Title
JP3866768B2 (en) Method and apparatus for forming hypermedia interactive
US5960168A (en) Deferred printing
JP2000215128A (en) Automatic installation method and device for shared printer by means of network
JP3789062B2 (en) Information processing apparatus, data processing method, and storage medium storing computer-readable program
JP2968720B2 (en) Client / server system
JP2004523812A (en) Efficient timer management system
JP4197343B2 (en) COMMUNICATION COMMUNICATION SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING CONTROL COMMUNICATION PROGRAM
EP2355409A1 (en) Network management device
JPH11194909A (en) Network printer system
JPH08190474A (en) Computer system
JP3577234B2 (en) Process management equipment
JPH06214914A (en) Method for processing cooperative job among plural systems
JP3455603B2 (en) Communication system and event control method for asynchronous communication
JP2918358B2 (en) Re-entry method
JPH1185649A (en) Computer managing system on network
JP3470445B2 (en) Agency processing system
CN112130773A (en) Data access method, device and storage medium
JP2000163329A (en) Data transfer system
JPH0654019A (en) Method and device for selecting communication control procedure
JPH0772990A (en) Picture recording device
JPH09330113A (en) Machining control system
JP2000059361A (en) Communication network management system
JPH0573511A (en) End synchronism controller for batch job
JPH04329427A (en) Menu managing system
JP2000250800A (en) File transfer processing method for general system and open 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: 19990713

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: 20070820

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees