JPH0916495A - Communication control method - Google Patents

Communication control method

Info

Publication number
JPH0916495A
JPH0916495A JP7166137A JP16613795A JPH0916495A JP H0916495 A JPH0916495 A JP H0916495A JP 7166137 A JP7166137 A JP 7166137A JP 16613795 A JP16613795 A JP 16613795A JP H0916495 A JPH0916495 A JP H0916495A
Authority
JP
Japan
Prior art keywords
control
state
communication
definition table
data transfer
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.)
Pending
Application number
JP7166137A
Other languages
Japanese (ja)
Inventor
Kenichiro Yashima
健一郎 八島
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP7166137A priority Critical patent/JPH0916495A/en
Publication of JPH0916495A publication Critical patent/JPH0916495A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To dynamically set an optional communication protocol corresponding to the operating conditions of a system or the like and to efficiently transfer data by performing data transfer control for shifting from a present control state to the other control state based on a control operation definition table. CONSTITUTION: After a session establishing processing between both computers is completed, a specified control operation to be executed when a specified control event is generated under a certain control state and the other control state to shift to are dynamically set in the state transition definition table 10 of the respective computers for all the combinations of the shiftable control states and the generatable control events. Then, the respective computers obtains the control operation to be executed and the control state to shift to from the state transition definition table 10 corresponding to the present control state and the control event during generation. Then, based on the control operation definition table defined in common beforehand, the present control state is shifted to the other control state and data transfer is controlled.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は通信回線経由で複数のコ
ンピュータシステムが接続されたオンラインシステムに
おける通信制御方法に係り、特に、システムの状況など
に応じた最適な通信プロトコルを動的に設定してデータ
転送を行う通信制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control method in an online system in which a plurality of computer systems are connected via a communication line, and in particular, it dynamically sets an optimum communication protocol according to the system status. And a communication control method for transferring data.

【0002】[0002]

【従来の技術】一般的に、異なるコンピュータシステム
で動作している複数のプログラム間で通信回線を介して
データを送受信しようとする場合、転送すべきデータに
関する各種属性(転送データ量,データの種類および特
徴など)を考慮して最適と思われる特定の通信プロトコ
ルを事前に決定し、当該通信プロトコルにしたがって通
信制御を行うための処理手順を送信側および受信側のプ
ログラムにあらかじめ組み込んでおくことにより、通
信回線を介した相互接続→転送データの送受信→回
線接続の切断などの一連の通信処理の間、常に同一の通
信プロトコルにしたがって通信を行っている。
2. Description of the Related Art Generally, when data is transmitted / received between a plurality of programs operating in different computer systems via a communication line, various attributes (data transfer amount, data type) relating to data to be transferred. And a feature etc.), a specific communication protocol that seems to be optimal is determined in advance, and a processing procedure for performing communication control according to the communication protocol is incorporated in the programs on the transmission side and the reception side in advance. , The communication is always performed according to the same communication protocol during a series of communication processes such as mutual connection through a communication line → transmission / reception of transfer data → disconnection of the line connection.

【0003】しかしながら、転送すべきデータの属性が
必ずしも一定せず、頻繁に変化するような場合、最適な
通信プロトコルをひとつに規定すること自体が困難であ
ったり、あるいは、通信プロトコルをひとつに規定する
ことで通信制御に必要な資源や通信時間などにかなりの
無駄が生じてしまうことがある。そこで従来は、あらか
じめ複数種類の通信プロトコルを想定して各々の通信プ
ロトコルごとに必要な通信回線を準備した上で、転送す
べきデータの属性に応じて通信回線および通信プロトコ
ルを切り替えながらデータ転送を行う、という通信制御
方法で対処していた。この場合、ひとつの通信回線では
ひとつの通信プロトコルによるデータの送受信しか行う
ことができないので、転送すべきデータの属性数に応じ
た個数の通信回線の他、通信プロトコルごとに固有の通
信設備や通信管理用資源を設けることが必要となる。ま
た、すべての通信回線が同時に使用されるようなデータ
転送は起こり得ないので、通信管理用資源には必然的に
無駄が生じる。
However, when the attributes of the data to be transferred are not always constant and change frequently, it is difficult to define one optimal communication protocol, or one communication protocol is specified. By doing so, a considerable waste may occur in resources required for communication control, communication time, and the like. Therefore, conventionally, assuming multiple types of communication protocols in advance, prepare the necessary communication lines for each communication protocol, and then transfer the data while switching the communication lines and communication protocols according to the attributes of the data to be transferred. I was dealing with the communication control method of doing. In this case, since one communication line can only send and receive data according to one communication protocol, in addition to the number of communication lines according to the number of attributes of the data to be transferred, communication equipment and communication unique to each communication protocol It is necessary to provide management resources. Further, since data transfer in which all communication lines are used at the same time cannot occur, communication management resources are inevitably wasted.

【0004】近年では、上記従来技術をさらに改善した
ものとして、通信回線の両端に仮想的なアドレスを複数
組設定してひとつの通信回線を仮想的に多重化し、両端
の同一アドレス間でひとつの通信プロトコルによる通信
制御を行うことにより、実際に準備すべき物理的な通信
回線数を少なくする、という通信制御方法が知られてい
るが、この通信制御方法でも、仮想的な通信回線の各々
について通信管理用資源が必要となる点は従来と同様で
ある。
In recent years, as a further improvement of the above conventional technique, a plurality of sets of virtual addresses are set at both ends of a communication line, and one communication line is virtually multiplexed so that one address is provided between the same addresses at both ends. A communication control method is known in which the number of physical communication lines to be actually prepared is reduced by performing communication control using a communication protocol. The point that a communication management resource is required is the same as the conventional one.

【0005】そこで最近になって、特開昭61−133
454号公報あるいは特開平3−271954号公報な
どにより、通信回線経由で接続される両端のコンピュー
タシステムの各々にあらかじめ複数のインタフェースを
設けた上で、ひとつの通信回線を介して接続されたシス
テム間におけるデータ転送に際して適用すべき通信プロ
トコルを動的に選択した後、当該通信プロトコルに基づ
くデータ転送を行う、という通信制御方法が提案されて
いる。
Then, recently, Japanese Patent Laid-Open No. 61-133
According to Japanese Patent Laid-Open No. 454 or Japanese Patent Laid-Open No. 3-271954, a plurality of interfaces are provided in advance on each of the computer systems at both ends connected via a communication line, and then the systems connected via one communication line are connected. A communication control method has been proposed in which, after dynamically selecting a communication protocol to be applied at the time of data transfer, data transfer based on the communication protocol is performed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来技術のいずれを採用する場合であっても、通信回
線を介して接続される相手側システムとのデータ転送に
おける通信プロトコルを実現させるための具体的な処理
手順については、すべて事前に決めておくことが必要で
ある。例えば、あるデータの受信中に回線障害のセンス
コードを受信した場合、送信中の相手側システムに否定
応答を返送するのか、あるいは、継続して受信待ちとす
るのか、といった個別具体的な処理手順について双方の
システムであらかじめ一致させておかなければ、データ
転送そのものが成立しない。したがって上記従来技術で
は、データ転送に適用され得るあらゆる種類の通信プロ
トコルに応じた具体的な処理手順を、通信回線経由で通
信を行おうとするシステムの双方に通信の開始に先立っ
て準備しておくことが必要不可欠であり、このような処
理手順を実行するプログラム群によってコンピュータシ
ステム中の資源の多くが占有されてしまうという問題点
があった。また、一方のコンピュータシステムが特定の
通信プロトコルで通信しようとしても、相手側システム
に当該通信プロトコルを実現させるための処理手順が準
備されていなければ、データ転送そのものが成立しない
という問題点があった。
However, no matter which of the above-mentioned conventional techniques is adopted, a specific method for realizing a communication protocol for data transfer with a partner system connected via a communication line is required. It is necessary to decide in advance about all the processing procedures. For example, if a line fault sense code is received during the reception of certain data, whether to return a negative response to the other system that is transmitting or whether to continuously wait for reception. If both systems do not match in advance, the data transfer itself will not be established. Therefore, in the above-mentioned conventional technique, a specific processing procedure corresponding to all kinds of communication protocols applicable to data transfer is prepared for both systems which intend to communicate via a communication line prior to the start of communication. However, there is a problem that a large number of resources in a computer system are occupied by a group of programs that execute such a processing procedure. Further, even if one computer system tries to communicate with a specific communication protocol, the data transfer itself cannot be established unless the processing procedure for realizing the communication protocol is prepared in the other system. .

【0007】これに対して、目的とするデータ転送の開
始に先立って、特定の通信プロトコルにしたがった通信
制御を実現させる通信制御プログラムを相手側システム
に動的に転送して、この通信制御プログラムを相手側シ
ステムに利用させることにより、当該通信プロトコルに
よるデータ転送を可能とする通信制御方法も考えられる
が、この場合、相手側システムにおけるプログラムの実
行形式を当該通信制御プログラムの送信側システムであ
らかじめ把握しておくことが必要となるため、様々な種
類のハードウェアからなるコンピュータシステムが混在
した状態で接続されているネットワークでは、あまり実
用的でないという問題点があった。
On the other hand, prior to the start of the intended data transfer, a communication control program for realizing communication control according to a specific communication protocol is dynamically transferred to the partner system, and the communication control program is transferred. A communication control method that enables data transfer according to the communication protocol by allowing the other system to use the Since it is necessary to understand it, there is a problem that it is not very practical in a network in which computer systems composed of various kinds of hardware are connected in a mixed state.

【0008】したがって本発明の目的は、上記の問題点
を解決して、通信回線経由で接続されたコンピュータシ
ステム間におけるデータ転送に適用される通信プロトコ
ルをシステム双方で事前に決定しておく必要がなく、シ
ステムの運用状況などに応じた任意の通信プロトコルを
動的に設定して効率的なデータ転送を行うことができる
通信制御方法を提供することにある。
Therefore, it is an object of the present invention to solve the above problems and to determine in advance by both systems a communication protocol applied to data transfer between computer systems connected via a communication line. Another object of the present invention is to provide a communication control method capable of dynamically setting an arbitrary communication protocol according to the operation status of the system and performing efficient data transfer.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の通信制御方法は、通信回線を介して相互に
接続された複数のコンピュータ間で所定の通信プロトコ
ルにしたがってデータ転送制御を行うための通信制御方
法において、双方の前記コンピュータ間におけるセショ
ン確立処理の完了後、ある制御状態のもとで特定の制御
事象が発生した場合に実行すべき特定の制御動作および
当該制御動作後に遷移すべき他の制御状態を、遷移し得
る制御状態および発生し得る制御事象のあらゆる組合せ
について、各々の前記コンピュータの管理下にある状態
遷移定義テーブルに動的に設定した後、各々の前記コン
ピュータは、現在の制御状態と発生中の制御事象とに対
応して実行すべき制御動作および当該制御動作後に遷移
すべき他の制御状態を前記状態遷移定義テーブルから求
め、各々の制御動作を実現するための具体的な処理手順
があらかじめ共通に定義された制御動作定義テーブルに
基づいて当該制御動作を実行し、現在の制御状態から上
記他の制御状態へ遷移するデータ転送制御を行うように
したものである。
In order to achieve the above object, the communication control method of the present invention controls data transfer between a plurality of computers connected to each other via a communication line in accordance with a predetermined communication protocol. In the communication control method for performing, after the completion of the session establishment processing between both the computers, a specific control operation to be executed when a specific control event occurs under a certain control state and a transition after the control operation After dynamically setting other control states to be set in the state transition definition table under the control of each of the computers for every combination of control states that can transition and control events that can occur, , The control operation that should be executed in response to the current control state and the control event that is occurring, and other control status that should transition after the control operation From the state transition definition table, a specific processing procedure for realizing each control operation is executed based on a control operation definition table that is commonly defined in advance, The data transfer control for transitioning to another control state is performed.

【0010】[0010]

【作用】上記構成に基づく作用を説明する。The operation based on the above configuration will be described.

【0011】本発明の通信制御方法は、通信回線を介し
て相互に接続された複数のコンピュータ間で所定の通信
プロトコルにしたがってデータ転送制御を行うための通
信制御方法において、双方の前記コンピュータ間におけ
るセション確立処理の完了後、ある制御状態のもとで特
定の制御事象が発生した場合に実行すべき特定の制御動
作および当該制御動作後に遷移すべき他の制御状態を、
遷移し得る制御状態および発生し得る制御事象のあらゆ
る組合せについて、各々の前記コンピュータの管理下に
ある状態遷移定義テーブルに動的に設定した後、各々の
前記コンピュータは、現在の制御状態と発生中の制御事
象とに対応して実行すべき制御動作および当該制御動作
後に遷移すべき他の制御状態を前記状態遷移定義テーブ
ルから求め、各々の制御動作を実現するための具体的な
処理手順があらかじめ共通に定義された制御動作定義テ
ーブルに基づいて当該制御動作を実行し、現在の制御状
態から上記他の制御状態へ遷移するデータ転送制御を行
うようにしたことにより、データ転送に適用する通信プ
ロトコルを事前に決定して当該通信プロトコルに対応す
るプログラム群などを各々のコンピュータに準備してお
く必要がなくなり、システムの運用状況などに応じて通
信プロトコルを動的に設定することが可能となるので、
各々のコンピュータの資源を最大限に活用して効率的な
データ転送を行うことができる。
A communication control method of the present invention is a communication control method for performing data transfer control between a plurality of computers connected to each other via a communication line in accordance with a predetermined communication protocol. After the completion of the session establishment process, a specific control operation to be executed when a specific control event occurs under a certain control state and other control states to be transitioned after the control operation,
For each combination of control states that can transition and control events that can occur, after dynamically setting in the state transition definition table under the control of each said computer, each said computer The control operation to be executed corresponding to the control event and the other control state to be transitioned after the control operation are obtained from the state transition definition table, and a specific processing procedure for realizing each control operation is described in advance. A communication protocol applied to data transfer by executing the control operation based on the commonly defined control operation definition table and performing data transfer control for transitioning from the current control state to the other control state. There is no need to decide in advance and prepare a program group etc. corresponding to the communication protocol in each computer. Since it is possible to dynamically set the communication protocol depending on the operational status of the system,
Efficient data transfer can be performed by making maximum use of the resources of each computer.

【0012】[0012]

【実施例】以下、本発明の通信制御方法の一実施例を図
面を用いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the communication control method of the present invention will be described in detail below with reference to the drawings.

【0013】図1は、本発明の通信制御方法における状
態遷移定義テーブルの一構成例を示す図である。図1の
状態遷移定義テーブル10において、符号11で示した
横行は遷移し得る各種の「状態」(ST1〜ST3)を定義
しておく「状態欄」であり、符号12で示した縦列は発
生し得る各種の「事象」(EV1〜EV3)を定義しておく
「事象欄」である。また、「状態欄」11および「事象
欄」12以外の欄は実行すべき各種の「動作」( ACT1
〜 ACT7)および当該「動作」の実行後に遷移すべき
「状態」(ST1〜ST3)を定義しておく「遷移欄」であ
る。例えば、システムが「状態」ST3(符号15)に遷
移していたときに「事象」EV1(符号16)が発生する
と、システムは「動作」 ACT3(符号17)を実行した
後、「状態」ST2(符号18)に遷移する。なお、上記
において、「状態」,「事象」,「動作」はそれぞれ、
請求項中の“制御状態”,“制御事象”,“制御動作”
に相当する。
FIG. 1 is a diagram showing an example of the configuration of a state transition definition table in the communication control method of the present invention. In the state transition definition table 10 of FIG. 1, the row indicated by reference numeral 11 is a “state column” for defining various “states” (ST1 to ST3) that can transit, and the column indicated by reference numeral 12 indicates occurrence. This is an "event column" in which various possible "events" (EV1 to EV3) are defined. The columns other than the "state column" 11 and the "event column" 12 are various "actions" to be executed (ACT1
~ ACT7) and "state" (ST1 to ST3) to be transitioned after the execution of the "operation" is defined as "transition column". For example, if the "event" EV1 (reference numeral 16) occurs while the system is transitioning to the "state" ST3 (reference numeral 15), the system executes the "action" ACT3 (reference numeral 17) and then the "state" ST2. Transition to (reference numeral 18). In the above, "state", "event", and "action" are
“Control state”, “control event”, and “control action” in the claims
Is equivalent to

【0014】図2は、本発明の通信制御方法を実現する
通信処理システムの基本構成例を示す図である。同図
中、コンピュータ21上で実行されるプログラム22
は、入出力装置23を用いて通信回線24を介したデー
タ転送制御を行う機能を有する。同様に、コンピュータ
25上で実行されるプログラム26は、入出力装置27
を用いて通信回線24を介したデータ転送制御を行う機
能を有する。以下、プログラム22および26によって
行われる通信制御方法の詳細について説明する。
FIG. 2 is a diagram showing a basic configuration example of a communication processing system for realizing the communication control method of the present invention. In the figure, a program 22 executed on the computer 21
Has a function of performing data transfer control via the communication line 24 using the input / output device 23. Similarly, the program 26 executed on the computer 25 is the input / output device 27.
Has a function of controlling data transfer via the communication line 24. Hereinafter, details of the communication control method performed by the programs 22 and 26 will be described.

【0015】図3は、図1に示した状態遷移定義テーブ
ルを設定する処理に関する説明図であり、図3(a)は
図2中のプログラム22または26におけるデータ転送
制御に関わる通信制御処理31,状態遷移定義テーブル
設定処理32,データ転送処理33の内容を、図3
(b)および(c)は状態遷移定義テーブル設定処理3
2についての具体的な制御指示データを、それぞれ示
す。図3(a)において、通信制御処理31は、通信相
手とのセション確立やセション解放、通信制御に関わる
各種の制御データの送受信など、OSI( Open System
s Interconnection )のセションレイヤ以下の階層に規
定された基本的な通信処理を上位プログラムからの要求
に応じて制御する。状態遷移定義テーブル設定処理32
は、セション確立処理の完了後に通信相手のコンピュー
タなどから送信されてくる制御指示データに基づいて管
理下にある状態遷移定義テーブル10を設定することに
より、通信プロトコルを動的に決定する。データ転送処
理33は、後述する制御動作定義テーブルおよび上述し
た状態遷移定義テーブルに基づき、OSIのセションレ
イヤ以上の階層に規定された実体的なデータ転送処理を
制御する。
FIG. 3 is an explanatory diagram relating to the processing for setting the state transition definition table shown in FIG. 1, and FIG. 3A is a communication control processing 31 relating to data transfer control in the program 22 or 26 in FIG. , The state transition definition table setting process 32 and the data transfer process 33 are shown in FIG.
(B) and (c) are state transition definition table setting processing 3
Specific control instruction data for No. 2 are shown. In FIG. 3A, the communication control processing 31 is an OSI (Open System) for establishing and releasing a session with a communication partner, transmitting and receiving various control data relating to communication control, and the like.
s Interconnection) to control the basic communication processing defined in the layers below the session layer in response to a request from a higher-level program. State transition definition table setting process 32
Automatically determines the communication protocol by setting the state transition definition table 10 under the control based on the control instruction data transmitted from the computer of the communication partner after the session establishment process is completed. The data transfer process 33 controls a substantive data transfer process defined in a layer higher than the session layer of OSI based on a control operation definition table described later and the state transition definition table described above.

【0016】すなわち、通信相手のコンピュータから通
信回線を介して各「遷移欄」の具体的な内容が送信され
てくると、通信制御処理31は、当該「遷移欄」の内容
から図3(b)に示すような配列番号301,サブルー
チン番号302,遷移先状態番号303からなる制御指
示データを求めて、状態遷移定義テーブル設定処理32
へ渡す。状態遷移定義テーブル設定処理32は、渡され
た上記制御指示データのうちの配列番号301によって
当該「遷移欄」を特定した後、「動作」として上記サブ
ルーチン番号302を、「状態」として上記遷移先状態
番号303を、それぞれ当該「遷移欄」に格納してい
く。そして、「遷移欄」の内容とは異なる形式の図3
(c)に示すような状態遷移定義テーブル設定終了コー
ド39が送信されてくると、データ転送の通信プロトコ
ルを設定するための状態遷移定義テーブル設定処理32
を完了して、実体的なデータ転送を行うためのデータ転
送処理33へ制御を移行する。
That is, when the specific contents of each "transition column" are transmitted from the computer of the communication partner via the communication line, the communication control processing 31 determines from the contents of the "transition column" in FIG. ), The control instruction data including the array number 301, the subroutine number 302, and the transition destination state number 303 are obtained, and the state transition definition table setting process 32
Pass to The state transition definition table setting process 32 identifies the "transition column" by the array element number 301 of the passed control instruction data, and then the subroutine number 302 as "operation" and the transition destination as "state". The state number 303 is stored in each "transition column". Then, the format of FIG.
When the state transition definition table setting end code 39 as shown in (c) is transmitted, the state transition definition table setting process 32 for setting the communication protocol for data transfer.
Is completed and control is transferred to the data transfer processing 33 for performing substantive data transfer.

【0017】図4は、制御動作定義テーブルおよび状態
遷移定義テーブルに基づくデータ転送処理に関する説明
図である。図4(a)において、通信制御処理31は上
述したように上位プログラムからの要求に応じて基本的
な通信処理を制御する。事象判定処理331および状態
遷移定義テーブル参照処理332は、それぞれ図3に示
したデータ転送処理33の一部であり、その処理内容に
ついては後述する。図4(b)は、上述した制御指示デ
ータに基づいて状態遷移定義テーブル10中の「遷移
欄」に設定されるサブルーチン番号302および遷移先
状態番号303を示す。図4(c)は、上述した制御動
作定義テーブルの具体的な構成例を示し、状態遷移定義
テーブル10中の「遷移欄」に設定されたサブルーチン
番号302によって特定されるアドレステーブル34に
は、具体的な「動作」を実現するためにあらかじめ準備
されたサブルーチン341〜345の開始アドレスがそ
れぞれ格納されている。
FIG. 4 is an explanatory diagram of a data transfer process based on the control operation definition table and the state transition definition table. In FIG. 4A, the communication control process 31 controls the basic communication process in response to the request from the upper program as described above. The event determination processing 331 and the state transition definition table reference processing 332 are each part of the data transfer processing 33 shown in FIG. 3, and the processing contents will be described later. FIG. 4B shows the subroutine number 302 and the transition destination state number 303 set in the “transition column” in the state transition definition table 10 based on the control instruction data described above. FIG. 4C shows a specific configuration example of the control operation definition table described above. The address table 34 specified by the subroutine number 302 set in the “transition column” in the state transition definition table 10 includes The start addresses of the subroutines 341 to 345 prepared in advance for realizing a specific “operation” are stored.

【0018】ここで、状態番号で特定される「状態」と
しては、初期状態,送信データ発生待ち状態,送
信完了待ち状態,受信待ち状態などが考えられるの
で、通信を行うすべてのコンピュータで共通の状態番号
をあらかじめ定義しておく。また、「動作」を実現する
ための具体的なサブルーチンとしては、受信データを
受信キューにキューイングするサブルーチン,受信デ
ータを破棄するサブルーチン,送信キューの送信デー
タを送信するサブルーチン,送信データを送信キュー
から削除するサブルーチン,否定応答を送信キューに
キューイングするサブルーチン,肯定応答を送信キュ
ーにキューイングするサブルーチン,エラーメッセー
ジを送信キューにキューイングするサブルーチン,何
もしないで待つサブルーチンなどが考えられるので、通
信を行うすべてのコンピュータで、これらの機能対応に
共通のサブルーチン番号を用いて同一の処理手順を実現
するサブルーチンをあらかじめ設定しておく。
Here, since the "state" specified by the state number can be an initial state, a transmission data generation waiting state, a transmission completion waiting state, a reception waiting state, etc., it is common to all communicating computers. The state number is defined in advance. Further, as a concrete subroutine for realizing the "operation", a subroutine for queuing the received data in the reception queue, a subroutine for discarding the received data, a subroutine for transmitting the transmission data in the transmission queue, and a transmission queue for the transmission data There is a subroutine to delete from, a subroutine to queue a negative response to the transmission queue, a subroutine to queue an acknowledgment to the transmission queue, a subroutine to queue an error message to the transmission queue, a subroutine to wait without doing anything, etc. Subroutines that implement the same processing procedure are set in advance in all computers that perform communication using common subroutine numbers corresponding to these functions.

【0019】事象判定処理33は、通信制御処理31の
動作によって発生した「事象」をあらかじめ定められた
条件によって判別した後、当該「事象」が状態遷移定義
テーブル10に設定されている「事象」のいずれである
かを表す行番号を求め、これを事象番号テーブル331
aに設定する。ここで、「事象」としては、受信完
了,送信完了,肯定応答受信,否定応答受信,
回線障害,キュー障害などが考えられる。なお、各々
の「事象」を特定する行番号についても、通信を行うす
べてのコンピュータで共通のものを用いる。
The event determination processing 33 determines the "event" generated by the operation of the communication control processing 31 according to a predetermined condition, and then the "event" is set in the state transition definition table 10. Of the event number table 331.
Set to a. Here, as the “event”, reception completion, transmission completion, positive response reception, negative response reception,
Possible line failure, queue failure, etc. As for the line number for identifying each "event", the same line number is used for all computers that communicate.

【0020】事象判定処理33が行われた後に起動され
る状態遷移定義テーブル参照処理332は、状態番号テ
ーブル332aに設定されている現時点の状態番号と上
述した事象番号テーブル331aに設定されている発生
した事象番号に基づいて状態遷移定義テーブル10中の
配列を特定し、その内容すなわちサブルーチン番号30
2および遷移先状態番号303を求めた後、制御動作定
義テーブル34を参照してサブルーチン番号302に該
当するサブルーチンを呼び出すとともに、得られた遷移
先状態番号303の値を状態番号テーブル332aに設
定する。
The state transition definition table reference process 332, which is activated after the event determination process 33 is performed, is the current state number set in the state number table 332a and the occurrence set in the above-mentioned event number table 331a. The array in the state transition definition table 10 is specified based on the generated event number, and its contents, that is, the subroutine number 30
2 and the transition destination state number 303 are referred to, the subroutine corresponding to the subroutine number 302 is called by referring to the control operation definition table 34, and the obtained value of the transition destination state number 303 is set in the state number table 332a. .

【0021】[0021]

【発明の効果】以上詳しく説明したように、本発明の通
信制御方法によれば、通信回線を介して相互に接続され
た複数のコンピュータ間で所定の通信プロトコルにした
がってデータ転送制御を行うための通信制御方法におい
て、双方の前記コンピュータ間におけるセション確立処
理の完了後、ある制御状態のもとで特定の制御事象が発
生した場合に実行すべき特定の制御動作および当該制御
動作後に遷移すべき他の制御状態を、遷移し得る制御状
態および発生し得る制御事象のあらゆる組合せについ
て、各々の前記コンピュータの管理下にある状態遷移定
義テーブルに動的に設定した後、各々の前記コンピュー
タは、現在の制御状態と発生中の制御事象とに対応して
実行すべき制御動作および当該制御動作後に遷移すべき
他の制御状態を前記状態遷移定義テーブルから求め、各
々の制御動作を実現するための具体的な処理手順があら
かじめ共通に定義された制御動作定義テーブルに基づい
て当該制御動作を実行し、現在の制御状態から上記他の
制御状態へ遷移するデータ転送制御を行うようにしたこ
とにより、データ転送に適用する通信プロトコルを事前
に決定して当該通信プロトコルに対応するプログラム群
などを各々のコンピュータに準備しておく必要がなくな
り、システムの運用状況などに応じて通信プロトコルを
動的に設定することが可能となるので、各々のコンピュ
ータの資源を最大限に活用して効率的なデータ転送を行
うことができるという効果が得られる。
As described in detail above, according to the communication control method of the present invention, data transfer control is performed between a plurality of computers connected to each other via a communication line in accordance with a predetermined communication protocol. In the communication control method, after the completion of the session establishment processing between both the computers, a specific control operation to be executed when a specific control event occurs under a certain control state, and transition after the control operation For each combination of control states that can be transited and control events that can occur, the control state of is dynamically set in the state transition definition table under the control of each computer, and then each computer The control operation to be executed corresponding to the control state and the control event being generated and other control states to be transitioned after the control operation are described above. From the state transition definition table, a specific processing procedure for realizing each control operation is executed based on a control operation definition table that is commonly defined in advance. By performing the data transfer control to transit to the control state, it is not necessary to decide the communication protocol to be applied to the data transfer in advance and prepare the program group corresponding to the communication protocol in each computer. Since it is possible to dynamically set the communication protocol according to the operating status of the system, etc., it is possible to make the most of the resources of each computer and achieve the effect of efficient data transfer. To be

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

【図1】本発明の通信制御方法における状態遷移定義テ
ーブルの一構成例を示す図である。
FIG. 1 is a diagram showing a configuration example of a state transition definition table in a communication control method of the present invention.

【図2】本発明の通信制御方法を実現する通信処理シス
テムの基本構成例を示す図である。
FIG. 2 is a diagram showing a basic configuration example of a communication processing system that realizes the communication control method of the present invention.

【図3】図1に示した状態遷移定義テーブルを設定する
処理に関する説明図である。
FIG. 3 is an explanatory diagram related to a process of setting a state transition definition table shown in FIG.

【図4】制御動作定義テーブルおよび状態遷移定義テー
ブルに基づくデータ転送処理に関する説明図である。
FIG. 4 is an explanatory diagram related to data transfer processing based on a control operation definition table and a state transition definition table.

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

31 通信制御処理 32 状態遷移定義テーブル設定処理 33 データ転送処理 331 事象判定処理 331a 事象番号テーブル 332 状態遷移定義テーブル参照処理 332a 状態番号テーブル 31 communication control processing 32 state transition definition table setting processing 33 data transfer processing 331 event determination processing 331a event number table 332 state transition definition table reference processing 332a state number table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して相互に接続された複数
のコンピュータ間で所定の通信プロトコルにしたがって
データ転送制御を行うための通信制御方法において、 双方の前記コンピュータ間におけるセション確立処理の
完了後、ある制御状態のもとで特定の制御事象が発生し
た場合に実行すべき特定の制御動作および当該制御動作
後に遷移すべき他の制御状態を、遷移し得る制御状態お
よび発生し得る制御事象のあらゆる組合せについて、各
々の前記コンピュータの管理下にある状態遷移定義テー
ブルに動的に設定した後、 各々の前記コンピュータは、現在の制御状態と発生中の
制御事象とに対応して実行すべき制御動作および当該制
御動作後に遷移すべき他の制御状態を前記状態遷移定義
テーブルから求め、各々の制御動作を実現するための具
体的な処理手順があらかじめ共通に定義された制御動作
定義テーブルに基づいて当該制御動作を実行し、現在の
制御状態から上記他の制御状態へ遷移するデータ転送制
御を行うことを特徴とする通信制御方法。
1. A communication control method for performing data transfer control between a plurality of computers connected to each other via a communication line in accordance with a predetermined communication protocol, after completion of a session establishment process between both the computers. , A specific control action to be executed when a specific control event occurs under a certain control state, and another control state to be transitioned after the control action, of a control state that can transit and a control event that can occur. For every combination, after dynamically setting in the state transition definition table under the control of each said computer, each said computer should perform the control corresponding to the current control state and the control event that is occurring. The operation and other control states to be transitioned after the control operation are obtained from the state transition definition table, and each control operation is realized. The specific processing procedure is to execute the control operation based on a control operation definition table defined in advance in common, and perform data transfer control for transitioning from the current control state to the other control state. Communication control method.
JP7166137A 1995-06-30 1995-06-30 Communication control method Pending JPH0916495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7166137A JPH0916495A (en) 1995-06-30 1995-06-30 Communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7166137A JPH0916495A (en) 1995-06-30 1995-06-30 Communication control method

Publications (1)

Publication Number Publication Date
JPH0916495A true JPH0916495A (en) 1997-01-17

Family

ID=15825731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7166137A Pending JPH0916495A (en) 1995-06-30 1995-06-30 Communication control method

Country Status (1)

Country Link
JP (1) JPH0916495A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002524917A (en) * 1998-09-01 2002-08-06 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Codec mode coding using known information
JP2013073629A (en) * 2011-09-26 2013-04-22 Samsung Electronics Co Ltd Method and device for reconfiguring protocol of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002524917A (en) * 1998-09-01 2002-08-06 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Codec mode coding using known information
JP2013073629A (en) * 2011-09-26 2013-04-22 Samsung Electronics Co Ltd Method and device for reconfiguring protocol of application program
US9756130B2 (en) 2011-09-26 2017-09-05 Samsung Electronics Co., Ltd. Method of and apparatus for reconfiguring protocol used by application program

Similar Documents

Publication Publication Date Title
EP0312739A2 (en) Apparatus and method for interconnecting an application of a transparent services access facility to a remote source
JPH02206264A (en) Protocol discretionary switching system
JPH0926891A (en) Method for maintenance of network connection between applications and data-processing system
JPH0414375B2 (en)
US6038664A (en) Method for selecting communication access method for local area networks
US5983272A (en) Option request protocol
JPH0916495A (en) Communication control method
US6002864A (en) Host addresses a client device using permanent name provided by the client device without requiring a transfer of an APPC verb
JP4151330B2 (en) I / O control method for network file system
JPH05210603A (en) Device and method of improving data transfer between application program and communication program in communication system
JP3494545B2 (en) Distributed computer system, computer and distributed processing method
KR100412237B1 (en) A user-level sockets layer and method for interfacing communication using the sockets layer
JP3422516B2 (en) Network system
US20030061257A1 (en) Multithreaded universal daemon for network data exchanges
KR20020033219A (en) Method for materializing connection-oriented socket interface
JPH04335735A (en) Plural communication line controller for communication controller
JP2820942B2 (en) Communication protocol processing method
JPH08335211A (en) Decentralized object environment execution system
JPH06309263A (en) Data transfer system
JPH06252977A (en) Terminal equipment
JP2654524B2 (en) LAN connection port switching method
KR910005777B1 (en) Method for exchanging document information between pcs using n-telephone lines
JPH09128103A (en) Power source disconnecting system for computer system
JPH04335455A (en) Communication system between computers of different code systems
JPH0887477A (en) Service requesting method