JPH06274453A - Protocol processing system for client server type system - Google Patents

Protocol processing system for client server type system

Info

Publication number
JPH06274453A
JPH06274453A JP5057545A JP5754593A JPH06274453A JP H06274453 A JPH06274453 A JP H06274453A JP 5057545 A JP5057545 A JP 5057545A JP 5754593 A JP5754593 A JP 5754593A JP H06274453 A JPH06274453 A JP H06274453A
Authority
JP
Japan
Prior art keywords
protocol
procedure
data
protocol data
area
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
JP5057545A
Other languages
Japanese (ja)
Other versions
JP2863054B2 (en
Inventor
Hiroshi Kawate
寛 川手
Kinji Katou
謹詞 加藤
Hirohiko Kurokawa
裕彦 黒川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP5057545A priority Critical patent/JP2863054B2/en
Publication of JPH06274453A publication Critical patent/JPH06274453A/en
Application granted granted Critical
Publication of JP2863054B2 publication Critical patent/JP2863054B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate the change of a procedure description due to the change of a protocol during execution of procedure and to simplify the procedure description. CONSTITUTION:The substance of protocol data is stored in a protocol data area 22. A protocol defining part 11 prepares protocol definition information, on the presence or absence of the update of the protocol, and an address or attribute in the protocol data area 22, and registers it in a definition information area 21, and updates the protocol definition information when the protocol data are changed. An analyzing part 16 analyzes a procedure activating instruction, executes an execution procedure 25 when the protocol to be used is not updated, and instructs an execution form preparing part 12 so that a procedure source 24 can be converted into the execution procedure 25, and executes the execution procedure when the protocol to be used is updated. A setting parts 13 and 14 operate the setting of the data in a working area 26, and the input and output of the data to the protocol data area 22, at the time of transmitting and receiving a telegraphic message.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、クライアント・サーバ
型のシステムにおけるプロトコル処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a protocol processing system in a client / server type system.

【0002】[0002]

【従来の技術】従来、LAN/WANで分散するノード
間やノード内に手続きを配置し、手続き間で対話しなが
ら業務を実行するようなクライアントーサーバ型のシス
テムに於いては、図13に示すように、手続き中で他の
手続きの呼出し時のパラメータの引継ぎにおけるよう
に、アーギュメントを陽に記述し、引き継ぐアーギュメ
ント等の変更に併せて、手続きの修正も行っていた。図
13において、例えばアーギュメントにP4を追加しょ
うとすると、以下の修正が必要になる。
2. Description of the Related Art Conventionally, FIG. 13 shows a client-server type system in which procedures are arranged between nodes distributed in a LAN / WAN or in nodes, and tasks are executed while interacting with each other. As shown in the procedure, as in the case of inheriting parameters when calling another procedure in the procedure, the argument is explicitly described, and the procedure is also modified in accordance with the change of the argument to be inherited. In FIG. 13, for example, if P4 is to be added to the argument, the following modification is necessary.

【0003】 手続き1、2の各作業域でP4の宣言の追加 手続き1中では、手続き部に於いて、P4へのデータ
設定の追加と、手続き2の起動命令のアーギュメントに
P4の追加 手続き2中では、手続き部のアーギュメントにP4の
追加
Addition of declaration of P4 in each work area of procedures 1 and 2 In procedure 1, in procedure section, addition of data setting to P4 and addition of P4 to argument of start instruction of procedure 2 Procedure 2 Among them, P4 was added to the procedure division argument.

【0004】[0004]

【発明が解決しようとする課題】本発明は、上記のよう
な従来技術の問題を解決し、手続き間で対話しながら業
務を実行するようなクライアント−サーバ型のシステム
に於いて、手続き間のプロトコルの変更による手続きの
修正の回避や、手続きの記述の簡単化に有効な、プロト
コル処理方式を提供することにある。
SUMMARY OF THE INVENTION The present invention solves the problems of the prior art as described above, and in a client-server type system that executes a task while interacting with each other in a procedure, It is to provide a protocol processing method that is effective in avoiding modification of procedures due to protocol changes and simplifying the description of procedures.

【0005】[0005]

【課題を解決するための手段】本発明は、クライアント
・サーバ型システムにおいて、手続きの呼び出し時の呼
び出す手続き名とパラメータ名とを一括してプロトコル
とし、パラメータのそれぞれをプロトコルデータとし、
当該プロトコルと当該プロトコルデータとを一緒に一つ
の電文でやりとりするプロトコル処理方式であって、プ
ロトコルデータの実体を格納する領域をプロトコルデー
タ域として各ノード内に確保して、手続きソース中の手
続き呼び出し文を、前記プロトコルの名称を指定する手
続き起動命令に置換しておくとともに、当該システムの
初期設定時に、当該プロトコルの更新の有無、当該プロ
トコルデータ域へのアドレスや属性等をプロトコル定義
情報として作成し、前記プロトコルデータの追加や修正
があった場合に当該プロトコル定義情報を更新するプロ
トコル定義部と、手続きのソースを入力して解析し、前
記手続き起動命令を抽出し、当該命令のプロトコル名を
認識し、前記プロトコル定義情報中の当該プロトコル定
義箇所を参照して、当該プロトコルデータを格納する作
業域を確保し、当該ソースに付加する実行形式作成部
と、電文の送信時は、当該電文中に含めるプロトコルに
対応する前記作業域からプロトコルデータの内容を前記
プロトコル定義情報中で定義されたプロトコルデータ域
へコピーし、電文の受信時は、当該電文中のプロトコル
に対応する前記プロトコルデータ域中のプロトコルデー
タを前記作業域へ設定する作業域データ設定部と、電文
の送信時は、前記プロトコル定義情報中で定義された前
記プロトコルデータ域のプロトコルデータを取り出し当
該電文中に設定し、電文の受信時は、電文中のプロトコ
ルデータを前記プロトコル定義情報中で定義されたプロ
トコルデータ域へ設定するプロトコルデータ設定部と、
サーバとクライアント全てで共有するために前記プロト
コル定義情報を送信または受信したり、電文を送信また
は受信する通信部と、前記通信部で受信した電文中のプ
ロトコルデータを抽出し前記プロトコルデータ設定部へ
渡しプロトコルデータ域に設定するよう指示し、当該電
文中のプロトコルに対応する作業域へ当該プロトコルデ
ータ域のデータを設定するよう作業データ設定部に指示
し、当該プロトコルを利用する手続きが登録済で当該手
続きに対する前記実行形式作成部の処理が完了したプロ
トコルを実行するようにする解析部と、を有することを
特徴とするものである。
According to the present invention, in a client / server system, a procedure name and a parameter name to be called when a procedure is called are collectively used as a protocol, and each parameter is used as protocol data.
It is a protocol processing method that exchanges the protocol and the protocol data together in one telegram, and secures the area for storing the substance of the protocol data in each node as the protocol data area and calls the procedure in the procedure source. Replace the statement with the procedure start command that specifies the name of the protocol, and create the protocol definition information such as whether the protocol is updated or not, and the address and attribute to the protocol data area when initializing the system. However, when the protocol data is added or modified, the protocol definition section that updates the protocol definition information and the source of the procedure are input and analyzed, and the procedure activation command is extracted, and the protocol name of the command is extracted. Recognize and refer to the relevant protocol definition in the protocol definition information An execution format creation unit that secures a work area for storing the protocol data and adds it to the source, and when transmitting a message, the contents of the protocol data from the work area corresponding to the protocol included in the message are defined as the protocol definition. Copy to the protocol data area defined in the information, and when receiving a message, a work area data setting unit that sets the protocol data in the protocol data area corresponding to the protocol in the message to the work area, and a message. When the message is transmitted, the protocol data in the protocol data area defined in the protocol definition information is extracted and set in the message, and when the message is received, the protocol data in the message is defined in the protocol definition information. And a protocol data setting section for setting to the protocol data area,
A communication unit that transmits or receives the protocol definition information or transmits or receives a telegram for sharing by the server and all clients, and protocol data in the telegram received by the communication unit and extracts the protocol data to the protocol data setting unit. The work data setting unit is instructed to set the data in the protocol data area to the work area corresponding to the protocol in the message, and the procedure for using the protocol is already registered. And an analysis unit for executing a protocol for which the processing of the execution format creation unit for the procedure is completed.

【0006】[0006]

【作用】上記構成により、手続き間のプロトコルの修正
が必要な場合、手続きの修正をすること無く、プロトコ
ル定義情報の修正を行う事により、対処を局所化するこ
とができる。また、手続きの記述も、図14に示すよう
に簡略化できる。
With the above configuration, when the protocol between procedures needs to be modified, the procedure can be localized by modifying the protocol definition information without modifying the procedure. Also, the description of the procedure can be simplified as shown in FIG.

【0007】[0007]

【実施例】以下、本発明の一実施例について図面により
詳述する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

【0008】図1は本発明の一実施例のシステム構成を
示す図で、この構成はクライアント・サーバノードで共
通である。図において、21はプロトコル定義情報が格
納されるプロトコル定義情報域、22はプロトコルデー
タの実体が格納されるプロトコルデータ域である。ま
た、23はプロトコルデータの利用状況等を管理するプ
ロトコル管理情報が格納されるプロトコル管理情報域で
ある。24は手続きソース、25は実行手続き、26は
実行手続き内の作業域である。ここで、手続きソース2
4の手続き呼出し文は、後述するようにプロトコルデー
タの名称を指定できる手続き起動命令に置換しておく。
FIG. 1 is a diagram showing a system configuration of an embodiment of the present invention, and this configuration is common to client and server nodes. In the figure, 21 is a protocol definition information area in which protocol definition information is stored, and 22 is a protocol data area in which the substance of protocol data is stored. Reference numeral 23 is a protocol management information area in which protocol management information for managing the usage status of protocol data is stored. Reference numeral 24 is a procedure source, 25 is an execution procedure, and 26 is a work area in the execution procedure. Where procedure source 2
The procedure call statement of No. 4 is replaced with a procedure start instruction capable of designating the name of protocol data as described later.

【0009】プロトコル定義部11は、当該システムの
初期設定時にプロトコル定義情報域21のプロトコル定
義情報を初期作成し、プロトコルデータ域22のプロト
コルデータ域22のプロトコルデータの更新があると、
当該プロトコル定義情報を更新し、さらに、当該プロト
コルデータの利用状態等をプロトコル管理情報域23の
当該管理情報に登録するものである。図2乃至図4にそ
れぞれ、プロトコル定義情報域21、プロトコルデータ
22、プロトコルデータ管理情報域23の構成例を示
す。また、図5は後述のコメント情報の構成例であり、
これはプロトコル定義情報の一部として用意される。
The protocol definition section 11 initially creates the protocol definition information in the protocol definition information area 21 at the time of initial setting of the system, and updates the protocol data in the protocol data area 22 in the protocol data area 22.
The protocol definition information is updated, and the usage state of the protocol data is registered in the management information in the protocol management information area 23. 2 to 4 show configuration examples of the protocol definition information area 21, the protocol data 22, and the protocol data management information area 23, respectively. In addition, FIG. 5 is a configuration example of comment information described later,
This is prepared as part of the protocol definition information.

【0010】実行形式作成部12は、解析部16の指示
により、手続きソース24を入力して、手続き起動命令
を抽出し、当該命令中のプロトコル名を認識し、プロト
コル定義情報域21の当該プロトコル定義情報を参照し
つつ、実行手続き25中に当該プロトコルデータを格納
する作業域26を確保して当該ソースに付加し、さらに
プロトコル定義情報域23の当該管理情報にプロトコル
データ利用を登録するものである。これをソース手続き
の実行手続き化と称す。図6に手続き起動命令の構成例
を、図7に手続き中の作業域の構成例を示す。
The execution format creating section 12 inputs the procedure source 24 according to the instruction of the analyzing section 16, extracts a procedure starting instruction, recognizes a protocol name in the instruction, and recognizes the protocol in the protocol definition information area 21. While referring to the definition information, a work area 26 for storing the protocol data is secured in the execution procedure 25, added to the source, and the protocol data use is registered in the management information in the protocol definition information area 23. is there. This is called the execution procedure of the source procedure. FIG. 6 shows a configuration example of the procedure start instruction, and FIG. 7 shows a configuration example of the work area during the procedure.

【0011】作業域データ設定部13は、プロトコル定
義情報域21のプロトコル定義情報を参照しつつ、実行
手続き25の作業域26中のデータをプロトコルデータ
22に設定し、また、逆にプロトコルデータ域22のデ
ータを実行手続き25の作業域26へ設定するものであ
る。プロトコルデータ設定部14は、同様にプロトコル
定義情報21のプロトコル定義情報を参照しつつ、プロ
トコルデータ域22のデータを取得して送信電文に設定
し、また、逆に通信部15で受信したプロトコルデータ
をプロトコルデータ域22に設定するものである。
The work area data setting unit 13 sets the data in the work area 26 of the execution procedure 25 in the protocol data 22 while referring to the protocol definition information in the protocol definition information area 21, and vice versa. The data 22 is set in the work area 26 of the execution procedure 25. Similarly, referring to the protocol definition information of the protocol definition information 21, the protocol data setting unit 14 acquires the data of the protocol data area 22 and sets it in the transmission message, and conversely, the protocol data received by the communication unit 15. Is set in the protocol data area 22.

【0012】通信部15は、解析部16の制御下で、電
文をクライアント・サーバ間で送受信するとともに、サ
ービス開始時等に、すべてのクライアント・サーバ間で
共有するためにプロトコル定義情報を送受信するもので
ある。図8乃至図10に、通信部15から送信される手
続き起動命令、手続き応答命令、手続き終了命令の構成
例を示す。
Under the control of the analysis unit 16, the communication unit 15 transmits / receives a telegram between the client and the server, and also transmits / receives protocol definition information for sharing between all the clients / servers at the time of starting the service. It is a thing. 8 to 10 show configuration examples of the procedure start command, the procedure response command, and the procedure end command transmitted from the communication unit 15.

【0013】解析部16は各部の動作を制御するととも
に、手続き起動命令を解析し、プロトコル管理情報域2
3の管理情報を参照して、利用するプロトコルデータが
更新されていなければ、実行手続き25をそのまま実行
し、更新されていれば、実行形式作成部12に指示し、
手続きソース24の実行手続き25への変換後、実行手
続き25を実行するものである。
The analysis unit 16 controls the operation of each unit, analyzes the procedure start instruction, and analyzes the protocol management information area 2
If the protocol data to be used is not updated by referring to the management information of No. 3, the execution procedure 25 is executed as it is, and if it is updated, the execution format creation unit 12 is instructed,
After converting the procedure source 24 into the execution procedure 25, the execution procedure 25 is executed.

【0014】次に、図11のクライアント・サーバ構成
を例にして、図1の動作概要を説明する。なお、図11
の中の数字は、以下の各処理の数字に対応する。
Next, the operation outline of FIG. 1 will be described by taking the client / server configuration of FIG. 11 as an example. Note that FIG.
The numbers in parentheses correspond to the numbers in the following processes.

【0015】(1)プロトコル定義部11で、図2に示
すプロトコル名と、プロトコルデータ各々の名前と属性
と、コメントNOで対応付けられるコメントのリストな
どを、起動時と応答時対応に、プロトコル定義情報とし
てプロトコル定義情報域21に定義するとともに、図3
に示すプロトコルデータ域22を作成する。このプロト
コル定義部11でプロトコル定義中は、図3に示すプロ
トコル管理情報域23の対応するプロトコル名の管理情
報のプロトコル利用状態を「定義中」にする。また、プ
ロトコルの更新があった場合は、プロトコル定義情報の
更新の有無を「有」にする。プロトコル定義が完了する
と、プロトコル管理情報のプロトコル利用状態を「未利
用」にし、プロトコル定義情報を、プロトコルデータ設
定部14、通信部15を介してサーバ側へ送信する。
(1) In the protocol definition unit 11, the protocol name shown in FIG. 2, the name and attribute of each protocol data, a list of comments associated with comment NO, and the like are provided in correspondence with the start-up time and the response time. It is defined in the protocol definition information area 21 as definition information and
The protocol data area 22 shown in is created. During the protocol definition in the protocol definition section 11, the protocol usage state of the management information of the corresponding protocol name in the protocol management information area 23 shown in FIG. 3 is set to “defining”. When the protocol is updated, the presence / absence of updating the protocol definition information is set to “present”. When the protocol definition is completed, the protocol use state of the protocol management information is set to “unused”, and the protocol definition information is transmitted to the server side via the protocol data setting unit 14 and the communication unit 15.

【0016】(2)解析部16は、実行形式作成部12
に指示し、手続きソース24に、プロトコル定義情報1
7を参照しながら、プロトコル名のプロトコルデータリ
ストに対応する図7に示すような作業域26を作成し
て、実行手続き26に変換する。これを実行手続き化と
呼ぶ。
(2) The analysis unit 16 includes the execution format creation unit 12
The protocol definition information 1 to the procedure source 24
7, the work area 26 as shown in FIG. 7 corresponding to the protocol data list of the protocol name is created and converted into the execution procedure 26. This is called execution procedure conversion.

【0017】このとき、プロトコル管理情報に、図4に
示すように、利用対象のプロトコルに手続き名を登録
し、手続き毎の実行手続き化フラグを「ON」にし、利
用手続き数をカウントアップする。
At this time, as shown in FIG. 4, the procedure name is registered in the protocol to be used in the protocol management information, the execution procedure flag for each procedure is set to "ON", and the number of procedures to be used is counted up.

【0018】(3)解析部16は、図6に示すような手
続き起動命令を解析し、そのプロトコル名より、プロト
コルデータリストに対応する作業域26から、プロトコ
ルデータ域22へのコピーを、作業域データ設定部13
に指示する。プロトコルデータ域22へのコピーが終わ
ると、解析部16は、通信部15に、図8に示すよう
に、図6の手続き起動命令に、プロトコル名から対応す
るプロトコルデータ域のデータを付加して、電文を送信
する。
(3) The analysis unit 16 analyzes the procedure start instruction as shown in FIG. 6, and based on the protocol name, copies the work area 26 corresponding to the protocol data list to the protocol data area 22. Area data setting unit 13
Instruct. When copying to the protocol data area 22 is completed, the analysis unit 16 adds to the communication unit 15 the data of the corresponding protocol data area from the protocol name to the procedure activation command of FIG. 6 as shown in FIG. , Send the message.

【0019】(4)図8の電文を受信するサーバ側で
は、通信部15で受信した電文中から、解析部16は、
プロトコルデータを抽出し、プロトコルデータ設定部1
4に、プロトコルデータ域22への設定を指示する。プ
ロトコルデータ設定部14は、プロトコル定義情報域2
1を参照しながら、プロトコルデータ域22へデータを
設定する。
(4) On the server side that receives the message shown in FIG. 8, the analyzing unit 16 selects from the message received by the communication unit 15.
Protocol data is extracted, and the protocol data setting unit 1
4 is instructed to set the protocol data area 22. The protocol data setting unit 14 uses the protocol definition information area 2
While referring to 1, data is set in the protocol data area 22.

【0020】(5)解析部16はさらに、受信した手続
き名より、実行手続き25を決定し、その作業域26
へ、プロトコルデータ域22のデータを設定するように
作業域データ設定部13に指示する。作業域データ設定
部13は、プロトコル定義情報域21を参照しながら、
プロトコルデータ域22のデータを作業域26へ設定す
る。その後、解析部16は、実行手続き25を実行す
る。
(5) The analysis unit 16 further determines the execution procedure 25 from the received procedure name, and its work area 26
To the work area data setting unit 13 to set the data in the protocol data area 22. The work area data setting unit 13 refers to the protocol definition information area 21,
The data in the protocol data area 22 is set in the work area 26. After that, the analysis unit 16 executes the execution procedure 25.

【0021】(6)プロトコル定義部11で、プロトコ
ル定義情報域21のプロトコル定義情報の修正を行った
場合、プロトコル定義情報中の更新の有無を「有」にす
る。それと同時に、プロトコルデータ域22の再確保を
する。
(6) When the protocol definition information in the protocol definition information area 21 is modified by the protocol definition unit 11, the presence / absence of update in the protocol definition information is set to "present". At the same time, the protocol data area 22 is secured again.

【0022】(7)解析部16は、手続き実行時に、当
該プロトコル定義情報中の更新の有無を参照し、「有」
の場合、実行形式作成部12に、手続きソース24の実
行手続き25への変換を指示し、手続きがプロトコル管
理情報(図4)の対象プロトコルの利用手続きとして
「未登録」であれば、この手続き名を登録し、手続き毎
の実行手続き化フラグを「ON」にし、利用手続き数を
カウントアップし、修正手続き数をカウントアップす
る。手続きが登録されており、実行手続き化フラグが
「ON」であれば、何もせず手続きを実行する。手続き
が登録されており、実行手続き化フラグが「OFF」で
あれば、実行手続き化を行い、実行手続き化フラグを
「ON」にし、修正手続き数をカウントアップする。修
正手続き数と利用手続き数が等しくなれば、プロトコル
定義情報の更新の有無を「無」にする。変換の完了後、
解析部16は、(3)〜(5)の処理を行い、実行手続
き25を実行する。
(7) The analysis unit 16 refers to the presence / absence of update in the protocol definition information at the time of procedure execution, and determines "Yes".
In this case, the execution format creating unit 12 is instructed to convert the procedure source 24 into the execution procedure 25, and if the procedure is “unregistered” as the procedure for using the target protocol of the protocol management information (FIG. 4), this procedure The name is registered, the execution procedure flag for each procedure is set to "ON", the number of used procedures is counted up, and the number of corrected procedures is counted up. If the procedure is registered and the execution procedure flag is "ON", the procedure is executed without doing anything. If the procedure is registered and the execution procedure flag is “OFF”, the execution procedure is performed, the execution procedure flag is set to “ON”, and the number of correction procedures is counted up. If the number of correction procedures is equal to the number of usage procedures, the presence / absence of updating the protocol definition information is set to “none”. After the conversion is complete,
The analysis unit 16 performs the processes (3) to (5) and executes the execution procedure 25.

【0023】(8)なお、図6に示すような、手続き名
とプロトコル名を指定した、手続き起動命令は、手続き
ソース24中に記述されるか、図8、図9に示すよう
に、プロトコルデータを追加して通信部15から入力ま
たは出力される。
(8) Incidentally, a procedure start instruction designating a procedure name and a protocol name as shown in FIG. 6 is described in the procedure source 24, or as shown in FIG. 8 and FIG. Data is added and input or output from the communication unit 15.

【0024】このように、プロトコル定義情報に更新が
あっても、手続きソース中の手続き起動命令は変更する
必要がなくなる。以下に、各処理を順次説明する。
As described above, even if the protocol definition information is updated, it is not necessary to change the procedure start instruction in the procedure source. The respective processes will be sequentially described below.

【0025】〈プロトコル定義:初期作成時〉手続きで
利用するプロトコル定義情報の初期作成(新規のプロト
コル名の登録時)は、以下の手順で行う。 (1)プロトコル定義情報にプロトコル名を入力する。 (2)プロトコル定義情報のプロトコル番号はプロトコ
ル名を新規に定義する毎に払い出す。 (3)プロトコル番号の設定、プロトコル利用状態を
「定義中」、利用手続き数と修正手続き数を0とし、図
4に示すようなプロトコル管理情報を作成する。 (4)プロトコル定義情報に起動/応答の種別を入力す
る。 起動:手続き起動時のプロトコル 応答:起動された手続きの応答時のプロトコル (5)プロトコル定義情報にプロトコルデータの名前と
属性を入力する。 (6)プロトコルデータの名前と属性を入力時、図5の
コメント一覧を表示し、対応するコメントNOを入力す
る。必要なコメントが無い場合、新たに、コメントNO
を払い出し、コメント内容を追加する。 (7)入力したプロトコルデータの名前と属性の組の数
から、プロトコルデータの数を取得する。 (8)プロトコルデータの属性より、サイズを取得し、
プロトコルデータ域22に確保する(図3参照)。 (9)プロトコルデータ域22の確保アドレスを、プロ
トコル定義情報のプロトコルデータ域アドレスに設定す
る。 (10)修正の有無は、初期作成時、「無」とする。 (11)プロトコル管理情報のプロトコル利用状態を「未
使用」にする。 (12)定義終了時、通信部からはサーバ側にプロトコル
定義情報を送信する。
<Protocol Definition: Initial Creation> Initial creation of protocol definition information used in the procedure (during registration of a new protocol name) is performed in the following procedure. (1) Enter the protocol name in the protocol definition information. (2) The protocol number of the protocol definition information is assigned each time a protocol name is newly defined. (3) The protocol management information as shown in FIG. 4 is created by setting the protocol number, setting the protocol usage state to “under definition”, and setting the number of usage procedures and the number of modification procedures to 0. (4) Enter the type of activation / response in the protocol definition information. Invocation: Protocol at the time of starting the procedure Response: Protocol at the time of response to the started procedure (5) Enter the name and attribute of the protocol data in the protocol definition information. (6) When the name and attribute of the protocol data are input, the comment list of FIG. 5 is displayed, and the corresponding comment NO is input. If there are no necessary comments, add a new comment No.
And add the comment content. (7) The number of protocol data is acquired from the number of pairs of the input protocol data name and attribute. (8) Get the size from the attribute of the protocol data,
Reserved in the protocol data area 22 (see FIG. 3). (9) The reserved address of the protocol data area 22 is set to the protocol data area address of the protocol definition information. (10) The presence or absence of modification is "none" at the time of initial creation. (11) Set the protocol usage status of the protocol management information to "unused". (12) When the definition is completed, the communication unit sends the protocol definition information to the server side.

【0026】〈プロトコル定義:追加・削除時〉手続き
で利用する既存のプロトコルの定義情報にプロトコルデ
ータの追加時は、以下の手順で行う。 (1)プロトコル定義部11にプロトコル名を入力す
る。 (2)対応するプロトコル番号のプロトコル定義情報の
複製を作成する。 (3)複製のプロトコル定義情報に対応するプロトコル
管理情報のプロトコル利用状態を「定義中」にする。 (4)プロトコル定義部11に起動/応答の種別を入力
する。 起動:手続き起動時のプロトコル 応答:起動された手続きの応答時のプロトコル (5)プロトコル定義部11に追加・削除するプロトコ
ルデータの名前と属性を入力する。 (6)プロトコルデータの名前と属性を入力時、図5の
コメント一覧を表示し、対応するコメントNOを入力す
る。必要なコメントが無い場合、新たに、コメントNO
を払い出し、コメント内容を追加する。 (7)追加・削除したプロトコルデータの名前と属性の
組の数から、プロトコルデータの数を更新(元のプロト
コルデータ数に追加)する。 (8)プロトコルデータの属性より、サイズを取得し、
プロトコルデータ域を再確保する(図3参照)。 (9)プロトコルデータ域の確保アドレスをプロトコル
データ域アドレスに設定する。 (10)修正の有無を、「有」とする。 (11)プロトコル管理情報の修正手続き数をクリアし、
各手続きの実行手続き化フラグを「OFF」にする。 (12)定義終了時、原本に対応するプロトコル管理情報
のプロトコル利用状態が「未使用」になれば、原本と複
製を交替し、通信部15よりサーバ側に原本のプロトコ
ル定義情報を送信する。 (13)サーバ側では、原本のプロトコル管理情報のプロ
トコル利用状態が「未使用」であれば、「定義中」に
し、クライアント側から、送信されてきたプロトコル定
義情報で、図3に対応するプロトコル定義情報を更新
し、対応するプロトコル管理情報の修正手続き数を0に
する。 (14)サーバ側の、プロトコル管理情報のプロトコル利
用状態を「未使用」にする。 (15)クライアント側のプロトコル管理情報のプロトコ
ル利用状態を「未使用」にする。
<Protocol definition: Addition / deletion> When adding protocol data to the definition information of the existing protocol used in the procedure, the following procedure is performed. (1) Enter the protocol name in the protocol definition section 11. (2) A copy of the protocol definition information of the corresponding protocol number is created. (3) The protocol usage state of the protocol management information corresponding to the duplicated protocol definition information is set to "defining". (4) Input the type of activation / response to the protocol definition section 11. Start: Protocol when starting procedure Response: Protocol when starting procedure (5) Enter the name and attribute of the protocol data to be added / deleted in the protocol definition section 11. (6) When the name and attribute of the protocol data are input, the comment list of FIG. 5 is displayed, and the corresponding comment NO is input. If there are no necessary comments, add a new comment No.
And add the comment content. (7) The number of protocol data is updated (added to the original number of protocol data) from the number of pairs of added and deleted protocol data names and attributes. (8) Get the size from the attribute of the protocol data,
Reallocate the protocol data area (see Figure 3). (9) The reserved address of the protocol data area is set to the protocol data area address. (10) The presence / absence of the correction is set to “Yes”. (11) Clear the number of protocol management information correction procedures,
The execution procedure flag of each procedure is set to "OFF". (12) At the end of the definition, if the protocol usage state of the protocol management information corresponding to the original is "unused", the original and the copy are switched, and the protocol definition information of the original is transmitted from the communication unit 15 to the server side. (13) On the server side, if the protocol usage state of the original protocol management information is “unused”, it is set to “defining”, and the protocol definition information transmitted from the client side corresponds to the protocol corresponding to FIG. The definition information is updated and the number of correction procedures of the corresponding protocol management information is set to zero. (14) Set the protocol usage status of the protocol management information on the server side to "unused". (15) Set the protocol usage state of the protocol management information on the client side to "unused".

【0027】〈プロトコル定義:修正時〉手続きで利用
する既存のプロトコルの定義中の既存のプロトコルデー
タを修正時は、以下の手順で行う。 (1)プロトコル定義部11に、該当プロトコル定義情
報のプロトコル名を入力する。 (2)対応するプロトコル番号のプロトコル定義情報の
複製を作成する。以下、複製上で処理を行う。 (3)複製のプロトコル管理情報のプロトコル利用状態
を「定義中」にする。 (4)プロトコル定義部11に起動/応答の種別を入力
する。 起動:手続き起動時のプロトコル 応答:起動された手続きの応答時のプロトコル (5)プロトコル定義部11に修正するプロトコルデー
タの名前と属性を入力する。 (6)プロトコルデータの名前と属性を入力時、図5の
コメント一覧を表示し、対応するコメントNOを入力す
る。必要なコメントが無い場合、新たに、コメントNO
を払い出し、コメント内容を追加する。 (7)プロトコルデータの属性より、サイズを取得し、
プロトコルデータ域を再確保する(図3参照)。 (8)プロトコルデータ域の確保アドレスをプロトコル
データ域アドレスに設定する。 (9)修正の有無を、「有」とする。 (10)該当プロトコル管理情報の修正手続き数をクリア
し、各手続きの実行手続き化フラグを「OFF」にす
る。 (11)定義終了時、原本に対するプロトコル管理情報の
プロトコル利用状態が「未使用」になれば、原本と複製
を交替し、通信部15よりサーバ側に原本のプロトコル
定義情報を送信する。 (12)サーバ側の、原本のプロトコル管理情報のプロト
コル利用状態が「未使用」であれば、「定義中」にし、
クライアント側から、送信されてきたプロトコル定義情
報で、対応するプロトコル定義情報を更新し、プロトコ
ル管理情報の対応する修正手続き数を0にする。 (13)サーバ側の、プロトコル管理情報のプロトコル利
用状態を「未使用」にする。 (14)クライアント側の、プロトコル管理情報のプロト
コル利用状態を「未使用」にする。
<Protocol Definition: At Modification> When modifying existing protocol data in the definition of an existing protocol used in the procedure, the procedure is as follows. (1) Enter the protocol name of the relevant protocol definition information in the protocol definition section 11. (2) A copy of the protocol definition information of the corresponding protocol number is created. Hereinafter, processing is performed on the copy. (3) The protocol usage state of the duplicated protocol management information is set to "defining". (4) Input the type of activation / response to the protocol definition section 11. Invocation: Protocol at the time of starting the procedure Response: Protocol at the time of responding to the started procedure (5) Enter the name and attribute of the protocol data to be modified in the protocol definition section 11. (6) When the name and attribute of the protocol data are input, the comment list of FIG. 5 is displayed, and the corresponding comment NO is input. If there are no necessary comments, add a new comment No.
And add the comment content. (7) Obtain the size from the attribute of the protocol data,
Reallocate the protocol data area (see Figure 3). (8) The reserved address of the protocol data area is set to the protocol data area address. (9) The presence / absence of correction is set to “present”. (10) The number of correction procedures in the corresponding protocol management information is cleared, and the execution procedure flag of each procedure is set to “OFF”. (11) At the end of definition, if the protocol usage state of the protocol management information for the original is "unused", the original and the copy are exchanged, and the protocol definition information of the original is transmitted from the communication unit 15 to the server side. (12) If the protocol usage status of the original protocol management information on the server side is "unused", set it to "defining",
The corresponding protocol definition information is updated by the protocol definition information transmitted from the client side, and the number of corresponding correction procedures in the protocol management information is set to zero. (13) Set the protocol usage status of the protocol management information on the server side to "unused". (14) Set the protocol usage status of the protocol management information on the client side to "unused".

【0028】〈ソース手続きの実行手続化〉手続きソー
スを実行手続き化する場合、以下の手順で行う。 (1)解析部16は、実行形式作成部12により、手続
きソース24を読み込む。 (2)解析部16は、実行形式作成部12により、手続
き起動命令(図6参照)を抽出する。 (3)解析部16は、実行形式作成部12により、手続
き起動命令からプロトコル名を抽出する。 (4)プロトコル名に対応するプロトコル管理情報(図
4)に示すプロトコル利用状態が、「定義中」もしくは
「登録中」であれば、異常終了する。「定義中」以外で
あれば、「利用中」もしくは「未使用中」を退避して、
「登録中」にし、手続き名と実行手続き化フラグを「O
N」にして登録する。 (5)該当プロトコル定義情報中のプロトコル名に対応
する起動/応答の各種別の、各プロトコルデータの名前
と属性情報より、実行手続き25中に作業域25(図7
参照)を展開する。 (6)プロトコル定義情報の更新の有無が「有」の場合
は、該当プロトコル管理情報の修正手続き数を、手続き
名が未登録の場合は、利用手続き数もカウントアップ
後、プロトコル利用状態を元の「利用中」もしくは「未
使用)に復旧する。プロトコル定義情報の更新の有無が
「無」の場合では、手続き名が未登録の場合は、プロト
コル管理情報の利用手続き数をカウントアップ後、プロ
トコル利用状態を元の「利用中」もしくは「未使用)に
復旧する。 次に、図12にシェル、クライアント、サーバの構成を
示し、これを参照して以下の動作を説明する。
<Procedure Execution Procedure of Source Procedure> When the procedure source is converted into an execution procedure, the procedure is as follows. (1) The analysis unit 16 reads the procedure source 24 by the execution format creation unit 12. (2) The analysis unit 16 causes the execution format creation unit 12 to extract a procedure activation command (see FIG. 6). (3) The analysis unit 16 causes the execution format creation unit 12 to extract the protocol name from the procedure start instruction. (4) If the protocol use state shown in the protocol management information (FIG. 4) corresponding to the protocol name is “defining” or “registering”, the process ends abnormally. If it is other than "Defining", save "In use" or "Unused",
Set to "Registering" and set the procedure name and execution procedure flag to "O".
Register as "N". (5) Based on the name and attribute information of each protocol data for each type of start / response corresponding to the protocol name in the relevant protocol definition information, the work area 25 (FIG.
Expand). (6) If the presence / absence of updating the protocol definition information is “Yes”, the number of correction procedures of the corresponding protocol management information is incremented. If the protocol definition information is not updated or the procedure name is not registered, the number of procedures for using the protocol management information is counted up, The protocol usage state is restored to the original “in use” or “unused.” Next, the configurations of the shell, client, and server are shown in Fig. 12, and the following operation will be described with reference to this.

【0029】〈シェルから実行手続きの起動〉シェルか
ら実行手続きを起動する場合、以下の手順で行う。 (1)シェルから実行手続き起動命令(図6参照)を入
力する。 (2)クライアント側で、解析部16は、通信部15か
ら実行手続き起動命令を取得する。 (3)解析部16は、実行手続き起動命令を解析し、手
続き名を取得し、起動する。図12の(イ)が、(1)
〜(3)に対応する。 (4)解析部16は、実行手続き起動命令を解析し、プ
ロトコル名を取得し、該当プロトコル管理情報(図4参
照)のプロトコル利用状態が「定義中」もしくは「登録
中」でなければ、「利用中」にして以下の処理を行う。
「定義中」もしくは「登録中」であれば異常終了する。 (5)解析部16は、取得したプロトコル名で、プロト
コル情報(図2参照)の有無を参照し、「無」であれ
ば、次の(6)以降の処理を行う。「有」であれば、ソ
ース手策きの実行手続き化後、(6)以降の処理を行
う。 (6)シェルからの実行手続き起動の場合、解析部16
は、通信部15からシェルに、プロトコル名に対応する
プロトコル定義情報のプロトコルデータの名前と属性と
コメントを送信し、シェルにCR画面へ表示させデータ
の入力を促進する。 (7)シェルからデータが入力されると、解析部16
は、プロトコルデータ設定部14に、プロトコル定義情
報中のプロトコルデータ域アドレスのポイントするプロ
トコルデータ域(図3参照)へ該データを設定する事を
指示する。図12の(ロ)が、(6)と(7)に対応す
る。 (8)プロトコルデータ域へのデータ設定完了後、解析
部16は、作業域データ設定部13に指示して、プロト
コルデータ域のデータを、プロトコル名とプロトコルデ
ータの名前と属性から、対応する手続き中の作業域(図
7参照)に設定する。図12の(ハ)が、これに対応す
る。 (9)プロトコルデータのシェルからの入力が完了する
と、解析部16は、実行手続きを実行する。図12の
(ニ)が、これに対応する。
<Starting Execution Procedure from Shell> When starting an execution procedure from the shell, the procedure is as follows. (1) Input an execution procedure start instruction (see FIG. 6) from the shell. (2) On the client side, the analysis unit 16 acquires the execution procedure start instruction from the communication unit 15. (3) The analysis unit 16 analyzes the execution procedure start instruction, acquires the procedure name, and starts the procedure name. 12 (a) shows (1)
Corresponds to (3). (4) The analysis unit 16 analyzes the execution procedure start instruction, acquires the protocol name, and if the protocol usage state of the relevant protocol management information (see FIG. 4) is not “defining” or “registering”, Set to "in use" and perform the following processing.
If "defining" or "registering", the process ends abnormally. (5) The analysis unit 16 refers to the presence / absence of protocol information (see FIG. 2) with the acquired protocol name, and if “none”, performs the processing of the following (6). If “Yes”, after the execution procedure of the source measure is implemented, the processes of (6) and thereafter are performed. (6) When the execution procedure is started from the shell, the analysis unit 16
The communication unit 15 sends the name, attribute and comment of the protocol data of the protocol definition information corresponding to the protocol name to the shell and causes the shell to display it on the CR screen to facilitate data input. (7) When data is input from the shell, the analysis unit 16
Instructs the protocol data setting unit 14 to set the data in the protocol data area (see FIG. 3) pointed to by the protocol data area address in the protocol definition information. 12B corresponds to (6) and (7). (8) After completing the data setting in the protocol data area, the analysis unit 16 instructs the work area data setting unit 13 to set the data in the protocol data area from the protocol name, the name and attribute of the protocol data, and the corresponding procedure. Set to the inside work area (see Fig. 7). FIG. 12C corresponds to this. (9) When the input of the protocol data from the shell is completed, the analysis unit 16 executes the execution procedure. FIG. 12D corresponds to this.

【0030】〈クライアント側手続きからサーバ側手続
きの起動〉 。
<Launch of procedure from client side to server side>

【0031】〈クライアント側〉クライアント側手続き
からサーバ側手続きを起動する場合、以下の手順で行
う。 (1)解析部16は、実行手続き中から実行手続き起動
命令(図6参照)を取得する図12の(ホ)′がこれに
対応する。 (2)解析部16は、実行手続き起動命令を解析し、プ
ロトコル名を取得し、該当プロトコル管理情報のプロト
コル利用状態が「定義中」もしくは「登録中」で無けれ
ば「利用中」にして、以下の処理を行う。「定義中」も
しくは「登録中」であれば、異常終了する。 (3)解析部16は、取得したプロトコル名でプロトコ
ル定義情報の更新の有無を参照し、「無」であれば、以
下の処理を行う。「有」であれば、ソース手続きの実行
手続き化後、以下の処理を行う。 (4)解析部16は、作業域データ設定部13に指示し
て、プロトコル定義情報中のプロトコルデータの名前と
プロトコルデータ域へのアドレスと、作業域26のプロ
トコルデータの名前に対応する作業域を対応させ、作業
域26から、プロトコルデータ域22へデータをコピー
する。図12の(ホ)が、これに対応する。 (5)解析部16は、プロトコルデータ設定部14に指
示して、実行手続き起動命令(図6参照)にプロトコル
データ域22のデータを付加(図8参照)して、通信部
15からサーバへ送信を指示する。図12の(ヘ)が、
これに対応する。
<Client Side> When the server side procedure is activated from the client side procedure, the procedure is as follows. (1) The analysis unit 16 acquires the execution procedure start instruction (see FIG. 6) from the execution procedure, and (e) ′ in FIG. 12 corresponds to this. (2) The analysis unit 16 analyzes the execution procedure start instruction, acquires the protocol name, and sets “in use” if the protocol use state of the relevant protocol management information is not “defining” or “registering”, The following processing is performed. If "defining" or "registering", the process ends abnormally. (3) The analysis unit 16 refers to the presence / absence of updating of the protocol definition information by the acquired protocol name, and if “no”, performs the following processing. If “Yes”, the following processing is performed after the source procedure is converted into an execution procedure. (4) The analysis unit 16 instructs the work area data setting unit 13 to specify the name of the protocol data in the protocol definition information, the address to the protocol data area, and the work area corresponding to the name of the protocol data in the work area 26. And the data is copied from the work area 26 to the protocol data area 22. (E) of FIG. 12 corresponds to this. (5) The analysis unit 16 instructs the protocol data setting unit 14 to add the data of the protocol data area 22 (see FIG. 8) to the execution procedure start instruction (see FIG. 6), and the communication unit 15 to the server. Instruct to send. 12 (f)
Corresponding to this.

【0032】〈サーバ側〉 (1)通信部15が受信した電文(図8参照)を、解析
部(13)は、解析し、プロトコル名を取得し、該当プ
ロトコル管理情報のプロトコル利用状態が「定義中」も
しくは「登録中」で無ければ、「利用中」にして、以下
の処理を行う。
<Server Side> (1) The analysis unit (13) analyzes the electronic message (see FIG. 8) received by the communication unit 15, acquires the protocol name, and the protocol usage state of the relevant protocol management information is " If it is not “defining” or “registering”, it is set to “in use” and the following processing is performed.

【0033】「定義中」もしくは登録中」であれば、異
常終了する。 (2)解析部16は、取得したプロトコル名でプロトコ
ル定義情報の更新の有無を参照し、「無」であれば、以
下の処理を行う。「有」であれば、ソース手続きの実行
手続き化後、以下の処理を行う。 (3)解析部16は、プロトコルデータ設定部16に指
示して、プロトコル定義情報中のプロトコルデータの名
前と属性及びプロトコルデータ域22へのアドレスと、
実行手続き起動命令中のプロトコルデータ(図8参照)
を対応させ、プロトコルデータ域22へデータをコピー
する。図12の(ト)が、これに対応する。 (4)解析部16は、作業域データ設定部13に指示し
て、プロトコル定義情報中のプロトコルデータの名前と
プロトコルデータ域22へのアドレスと、作業域26の
プロトコルデータの名前に対応する作業域(図7参照)
を対応させ、プロトコルデータ域22から作業域26へ
データをコピーする。図12の(チ)が、これに対応す
る。 (5)解析部16は、作業域26へのデータの設定完了
後、実行手続き25を実行する。図12の(リ)が、こ
れに対応する。 (6)実行手続き終了命令(図10参照)を解析部16
が受けたとき、解析部16は、プロトコル定義情報中
の、現在実行中の手続きのプロトコル名の応答時のプロ
トコルデータの名前と、属性と、プロトコルデータ域の
アドレスを参照して、実行手続きの作業域26から、プ
ロトコルデータ域21へデータをコピーするように、作
業域データ設定部13に指示する。図12の(ヌ)、
(ル)が、これに対応する。 (7)解析部16は、実行手続き応答命令(図9参照)
を生成し、プロトコルデータ域22のデータを付加す
る。図12の(ヲ)が、これに対応する。 (8)解析部16は、該当プロトコル管理情報のプロト
コル利用状態を「未利用」にする。 (9)解析部16は、通信部15にクライアント側への
送信を指示する。
If "defining" or "registering", the process ends abnormally. (2) The analysis unit 16 refers to the presence / absence of update of the protocol definition information by the acquired protocol name, and if “none”, performs the following processing. If “Yes”, the following processing is performed after the source procedure is converted into an execution procedure. (3) The analysis unit 16 instructs the protocol data setting unit 16 to specify the name and attribute of the protocol data in the protocol definition information and the address to the protocol data area 22,
Protocol data in the execution procedure start instruction (see Figure 8)
And data is copied to the protocol data area 22. FIG. 12 (g) corresponds to this. (4) The analysis unit 16 instructs the work area data setting unit 13 to perform the work corresponding to the name of the protocol data in the protocol definition information, the address to the protocol data area 22, and the name of the protocol data in the work area 26. Area (see Figure 7)
And data is copied from the protocol data area 22 to the work area 26. (H) of FIG. 12 corresponds to this. (5) The analysis unit 16 executes the execution procedure 25 after the setting of the data in the work area 26 is completed. (I) of FIG. 12 corresponds to this. (6) The execution procedure end instruction (see FIG. 10) is analyzed by the analysis unit 16
When received, the analysis unit 16 refers to the name of the protocol data at the time of the response of the protocol name of the procedure currently being executed in the protocol definition information, the attribute, and the address of the protocol data area to refer to the execution procedure. The work area data setting unit 13 is instructed to copy the data from the work area 26 to the protocol data area 21. 12 (nu),
(Le) corresponds to this. (7) The analysis unit 16 causes the execution procedure response instruction (see FIG. 9).
Is generated and the data in the protocol data area 22 is added. (W) in FIG. 12 corresponds to this. (8) The analysis unit 16 sets the protocol usage state of the relevant protocol management information to “unused”. (9) The analysis unit 16 instructs the communication unit 15 to perform transmission to the client side.

【0034】〈サーバ側手続きからクライアント側手続
きへの応答〉サーバ側手続きからクライアント側手続き
への応答を返却する場合、以下の手順で行う。 (1)クライアント側では、通信部15が受信した電文
(図9参照)を、解析部16は解析し、プロトコル名を
取得し、該当プロトコル管理情報のプロトコル利用状態
が「定義中」もしくは「登録中」で無ければ「利用中」
にして、以下の処理を行う。「定義中」もしくは「登録
中」であれば、異常終了する。 (2)解析部16は、プロトコルデータ設定部(16に
指示して、該当プロトコル定義情報中のプロトコルデー
タの名前と属性及びプロトコルデータ域22へのアドレ
スと、実行手続き応答命令中のプロトコルデータ(図9
参照)を対応させ、プロトコルデータ域22へデータを
コピーする。図12の(ワ)が、これに対応する。 (3)解析部16は、作業域データ設定部13に指示し
て、該当プロトコル定義情報中のプロトコルデータの名
前とプロトコルデータ域22へのアドレスと、作業域2
6のプロトコルデータの名前に対応する作業域(図7参
照)を対応させ、プロトコルデータ域22から作業域2
6へデータをコピーする。図12の(カ)が、これに対
応する。 (4)解析部16は、作業域26へのデータの設定完了
後、実行手続き25を実行する。図12の(ヨ)が、こ
れに対応する。 (5)実行手続きの起動に対するシェルへの応答を実行
する。
<Response from Server-side Procedure to Client-side Procedure> When a response from the server-side procedure to the client-side procedure is returned, the following procedure is performed. (1) On the client side, the analysis unit 16 analyzes the message (see FIG. 9) received by the communication unit 15 to acquire the protocol name, and the protocol usage status of the relevant protocol management information is “defining” or “registered”. If not "Medium", then "In Use"
Then, the following processing is performed. If "defining" or "registering", the process ends abnormally. (2) The analysis unit 16 instructs the protocol data setting unit (16 to instruct the name and attribute of the protocol data in the relevant protocol definition information and the address to the protocol data area 22 and the protocol data in the execution procedure response command ( Figure 9
(See reference), and the data is copied to the protocol data area 22. (W) in FIG. 12 corresponds to this. (3) The analysis unit 16 instructs the work area data setting unit 13 to specify the name of the protocol data in the relevant protocol definition information, the address to the protocol data area 22, and the work area 2
The work area (see FIG. 7) corresponding to the name of the protocol data 6 is made to correspond to the work area 2 from the protocol data area 22.
Copy the data to 6. FIG. 12F corresponds to this. (4) The analysis unit 16 executes the execution procedure 25 after the setting of the data in the work area 26 is completed. (Y) of FIG. 12 corresponds to this. (5) Execute the response to the shell in response to the activation of the execution procedure.

【0035】〈実行手続きの起動に対するシェルへの応
答〉シェルから実行手続きを起動する場合、クライアン
ト側から以下の手順で応答が行われる。 (1)実行手続き終了命令(図10参照)を解析部16
が受けたとき、解析部16は、プロトコル管理情報中
の、現在実行中の手続きの、プロトコル名の応答時のプ
ロトコルデータの名前と属性と、プロトコル域のアドレ
スを参照して、実行手続きの作業域26(図7参照)か
ら、プロトコルデータ域22(図3参照)へデータをコ
ピーするように、作業域データ設定部13に指示する。
図12の(タ)、(レ)が、これに対応する。 (2)解析部16は、プロトコルデータ域中のデータ
を、プロトコルデータ設定部14を通して参照し、応答
時のプロトコル定義情報のプロトコルデータの名前と属
性とコメント(図2参照、図5参照)に対応させて、通
信部15からシェルに返却し、CRT画面上に表示す
る。図12の(ソ)が、これに対応する。 (3)全てのプロトコルデータの表示を完了して、手続
きの実行を終了する。(4)解析部16は、該当プロト
コル管理情報のプロトコル利用状態を「未利用」にす
る。
<Response to Shell for Starting Execution Procedure> When the execution procedure is started from the shell, a response is made from the client side in the following procedure. (1) The execution procedure end instruction (see FIG. 10) is analyzed by the analysis unit 16
When received, the analysis unit 16 refers to the name and attribute of the protocol data at the time of replying the protocol name of the procedure currently being executed in the protocol management information, and the address of the protocol area, and executes the work of the execution procedure. The work area data setting unit 13 is instructed to copy the data from the area 26 (see FIG. 7) to the protocol data area 22 (see FIG. 3).
12A and 12B correspond to this. (2) The analysis unit 16 refers to the data in the protocol data area through the protocol data setting unit 14, and adds the name, attribute and comment of the protocol data of the protocol definition information at the time of response (see FIG. 2 and FIG. 5). Correspondingly, it returns to the shell from the communication unit 15 and displays it on the CRT screen. (S) of FIG. 12 corresponds to this. (3) The display of all protocol data is completed and the procedure is completed. (4) The analysis unit 16 sets the protocol usage state of the relevant protocol management information to “unused”.

【0036】[0036]

【発明の効果】以上説明したように、本発明のプロトコ
ル処理方式によれば、LAN/WANで分散するノード
に手続きを配置し、リモート手続きを起動して業務を構
築するようなクライアントサーバ型のシステムにおい
て、手続き間のプロトコル修正による手続きの修正を抑
止し、安定したシステム運用を可能し、また、手続きの
記述の簡略化も可能となる。
As described above, according to the protocol processing method of the present invention, the procedure is arranged in the nodes distributed by LAN / WAN and the remote procedure is activated to construct the business by the client-server type. In the system, the modification of the procedure due to the modification of the protocol between the procedures can be suppressed, stable system operation can be performed, and the description of the procedure can be simplified.

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

【図1】本発明の一実施例のシステム構成図である。FIG. 1 is a system configuration diagram of an embodiment of the present invention.

【図2】プロトコル定義情報域の構成例を示す図であ
る。
FIG. 2 is a diagram showing a configuration example of a protocol definition information area.

【図3】プロトコルデータ域の構成例を示す図である。FIG. 3 is a diagram showing a configuration example of a protocol data area.

【図4】プロトコル管理情報域の構成例を示す図であ
る。
FIG. 4 is a diagram showing a configuration example of a protocol management information area.

【図5】プロトコル定義情報の一部としてのコメント情
報の構成例を示す図である。
FIG. 5 is a diagram showing a configuration example of comment information as a part of protocol definition information.

【図6】手続き起動命令の構成例を示す図である。FIG. 6 is a diagram showing a configuration example of a procedure start instruction.

【図7】実行手続き中の作業域の構成例を示す図であ
る。
FIG. 7 is a diagram showing a configuration example of a work area during an execution procedure.

【図8】ノードから送信される手続き起動命令の構成図
を示す図である。
FIG. 8 is a diagram showing a configuration diagram of a procedure activation command transmitted from a node.

【図9】ノードから送信される手続き応答命令の構成例
を示す図である。
FIG. 9 is a diagram showing a configuration example of a procedure response command transmitted from a node.

【図10】手続き終了命令の構成例を示す図である。FIG. 10 is a diagram showing a configuration example of a procedure end instruction.

【図11】図1の動作概要をクライアント・サーバ構成
を例に説明すした図である。
FIG. 11 is a diagram for explaining the operation outline of FIG. 1 by taking a client / server configuration as an example.

【図12】図1の詳細動作をシェル・クライアント。サ
ーバ構成を例に説明した図である。
FIG. 12 shows the detailed operation of FIG. 1 as a shell client. FIG. 3 is a diagram illustrating a server configuration as an example.

【図13】従来の手続き間の処理イメージを示す図であ
る。
FIG. 13 is a diagram showing a conventional processing image between procedures.

【図14】本発明による改良後の手続き間のプロトコル
記述の例を示す図である。
FIG. 14 is a diagram showing an example of a protocol description between procedures after improvement according to the present invention.

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

11 プロトコル定義部 12 実行形式作成部 13 作業域データ設定部 14 プロトコルデータ設定部 15 通信部 16 解析部 21 プロトコル定義情報域 22 プロトコルデータ域 23 プロトコル管理情報域 24 手続きソース 25 実行手続き 26 作業域 11 Protocol Definition Section 12 Execution Format Creation Section 13 Work Area Data Setting Section 14 Protocol Data Setting Section 15 Communication Section 16 Analysis Section 21 Protocol Definition Information Area 22 Protocol Data Area 23 Protocol Management Information Area 24 Procedure Source 25 Execution Procedure 26 Work Area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク内で分散するノード内に手
続きを配置し、手続き間で対話しながらサービス業務を
実行するクライアント・サーバ型システムにおいて、 手続きの呼び出し時の呼び出す手続き名とパラメータ名
とを一括してプロトコルとし、パラメータのそれぞれを
プロトコルデータとし、当該プロトコルと当該プロトコ
ルデータとを一緒に一つの電文でやりとりする方式であ
って、 プロトコルデータの実体を格納する領域をプロトコルデ
ータ域として各ノード内に確保して、手続きソース中の
手続き呼び出し文を、前記プロトコルの名称を指定する
手続き起動命令に置換しておくとともに、 当該システムの初期設定時に、当該プロトコルの更新の
有無、当該プロトコルデータ域へのアドレスや属性等を
プロトコル定義情報として作成し、前記プロトコルデー
タの追加や修正があった場合に当該プロトコル定義情報
を更新するプロトコル定義部と、 手続きのソースを入力して解析し、前記手続き起動命令
を抽出し、当該命令のプロトコル名を認識し、前記プロ
トコル定義情報中の当該プロトコル定義箇所を参照し
て、当該プロトコルデータを格納する作業域を確保し、
当該ソースに付加する実行形式作成部と、 電文の送信時は、当該電文中に含めるプロトコルに対応
する前記作業域からプロトコルデータの内容を前記プロ
トコル定義情報中で定義されたプロトコルデータ域へコ
ピーし、電文の受信時は、当該電文中のプロトコルに対
応する前記プロトコルデータ域中のプロトコルデータを
前記作業域へ設定する作業域データ設定部と、 電文の送信時は、前記プロトコル定義情報中で定義され
た前記プロトコルデータ域のプロトコルデータを取り出
し当該電文中に設定し、電文の受信時は、電文中のプロ
トコルデータを前記プロトコル定義情報中で定義された
プロトコルデータ域へ設定するプロトコルデータ設定部
と、 サーバとクライアント全てで共有するために前記プロト
コル定義情報を送信または受信したり、電文を送信また
は受信する通信部と、 前記通信部で受信した電文中のプロトコルデータを抽出
し前記プロトコルデータ設定部へ渡しプロトコルデータ
域に設定するよう指示し、当該電文中のプロトコルに対
応する作業域へ当該プロトコルデータ域のデータを設定
するよう作業データ設定部に指示し、当該プロトコルを
利用する手続きが登録済で当該手続きに対する前記実行
形式作成部の処理が完了したプロトコルを実行するよう
にする解析部と、を有することを特徴とするプロトコル
処理方式。
1. In a client / server system in which a procedure is arranged in nodes distributed in a network and a service task is executed while interacting with the procedure, a procedure name and a parameter name to be called at the time of calling the procedure are collectively included. In this method, each parameter is used as protocol data, and the protocol and the protocol data are exchanged together in one telegram, and the area storing the substance of the protocol data is used as the protocol data area in each node. , And replace the procedure call statement in the procedure source with a procedure start instruction that specifies the name of the protocol, and at the time of initial setting of the system, whether the protocol is updated or not Address and attribute of the protocol as protocol definition information A protocol definition part that creates and updates the protocol definition information when the protocol data is added or modified, and the source of the procedure is input and analyzed, and the procedure activation command is extracted, and the protocol name of the command. Recognize that, referring to the protocol definition location in the protocol definition information, secure a work area to store the protocol data,
Execution format creation part added to the source and when sending a message, copy the contents of the protocol data from the work area corresponding to the protocol included in the message to the protocol data area defined in the protocol definition information. When receiving a message, a work area data setting unit that sets the protocol data in the protocol data area corresponding to the protocol in the message to the working area, and when transmitting a message, is defined in the protocol definition information. And a protocol data setting unit that sets the protocol data in the protocol data area to the protocol data area defined in the protocol definition information when the message is received. Send or receive the protocol definition information for sharing by all servers and clients The communication unit that sends or receives a message, and extracts the protocol data in the message received by the communication unit and passes it to the protocol data setting unit to instruct to set in the protocol data area, corresponding to the protocol in the message. Instruct the work data setting part to set the data of the protocol data area to the work area, and execute the protocol for which the procedure for using the protocol has been registered and the processing of the execution format creation part for the procedure has been completed. A protocol processing method, comprising:
JP5057545A 1993-03-17 1993-03-17 Protocol processing method in client-server type system Expired - Lifetime JP2863054B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5057545A JP2863054B2 (en) 1993-03-17 1993-03-17 Protocol processing method in client-server type system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5057545A JP2863054B2 (en) 1993-03-17 1993-03-17 Protocol processing method in client-server type system

Publications (2)

Publication Number Publication Date
JPH06274453A true JPH06274453A (en) 1994-09-30
JP2863054B2 JP2863054B2 (en) 1999-03-03

Family

ID=13058750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5057545A Expired - Lifetime JP2863054B2 (en) 1993-03-17 1993-03-17 Protocol processing method in client-server type system

Country Status (1)

Country Link
JP (1) JP2863054B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997039554A1 (en) * 1996-04-12 1997-10-23 Consultant Association Inc. Ltd. Communication device and communication method
JP2007036937A (en) * 2005-07-29 2007-02-08 Mitsubishi Electric Corp Device and program for supporting protocol conversion programming
DE19961483B4 (en) * 1998-12-21 2008-09-25 Denso Corp., Kariya Cleaning catalyst for the exhaust gas of an internal combustion engine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997039554A1 (en) * 1996-04-12 1997-10-23 Consultant Association Inc. Ltd. Communication device and communication method
DE19961483B4 (en) * 1998-12-21 2008-09-25 Denso Corp., Kariya Cleaning catalyst for the exhaust gas of an internal combustion engine
JP2007036937A (en) * 2005-07-29 2007-02-08 Mitsubishi Electric Corp Device and program for supporting protocol conversion programming

Also Published As

Publication number Publication date
JP2863054B2 (en) 1999-03-03

Similar Documents

Publication Publication Date Title
JP4532861B2 (en) Communication control system and method
JP2010256989A (en) Communication device and remote operation system
JPH07334572A (en) Information processing system
JP2003051056A (en) Automatic vending machine management system
WO2024002299A1 (en) Application management method, application subscription method, and related device
JP2008112311A (en) Method and system for business process execution, and program
JP2006065811A (en) Resource management method, device and program
US7512674B1 (en) Framework for enabling dynamic construction of a network element management mechanism
JP5140553B2 (en) Information processing apparatus and image forming system including the same
JPH06274453A (en) Protocol processing system for client server type system
CN108804711A (en) A kind of method, apparatus and computer readable storage medium of data processing
US6678742B1 (en) Object-oriented computer system and computer-readable storage medium which stores program
JPH11341065A (en) System and method for setting network communication equipment
JP2004213271A (en) Terminal device, electronic meeting system, and session management method and program
JP2000315192A (en) Client-server system, method for managing server application and recording medium
WO2020009014A1 (en) Management device and network management method
JPH1041940A (en) Communication controller and its method
JP5140552B2 (en) Information processing apparatus and image forming system including the same
JPH10149326A (en) Method for interaction with remote program user
JPH08272721A (en) Customized environment data transfer device
JP3210265B2 (en) E-mail terminal device, e-mail system and information processing system
JP2000092093A (en) Computer and data repeater
JP2000148458A (en) Program development assisting device and recording medium
JP2010108215A (en) Information processor and image forming system including it
JPH11288367A (en) Automatic program generation system and method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071211

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101211

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101211

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111211

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111211

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20131211

Year of fee payment: 15