JPS63193742A - Data communication control system - Google Patents

Data communication control system

Info

Publication number
JPS63193742A
JPS63193742A JP62025869A JP2586987A JPS63193742A JP S63193742 A JPS63193742 A JP S63193742A JP 62025869 A JP62025869 A JP 62025869A JP 2586987 A JP2586987 A JP 2586987A JP S63193742 A JPS63193742 A JP S63193742A
Authority
JP
Japan
Prior art keywords
frame
node
station
timer
data
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
JP62025869A
Other languages
Japanese (ja)
Inventor
Yasuo Iijima
康雄 飯島
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62025869A priority Critical patent/JPS63193742A/en
Publication of JPS63193742A publication Critical patent/JPS63193742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To the setting of a various kinds of protocols and the monitoring of an opposite state in a high-order layer and to reduce load on the processing of the protocol by the high-order layer, by providing a monitoring timer, and enabling the transition of an opposite station to an innactive state to be detected. CONSTITUTION:A side receiving a frame just before between the physical layers of stations which perform communication with each other operates a frame transmission monitoring timer from its own station, and when no data frame transmission request is issued from its own station within a prescribed time, transmits a response frame, meanwhile, the station which transmits the frame just before, after transmitting the frame, operates a frame reception monitoring timer, and when no frame is received from the opposite station within the prescribed time, assumes that the opposite station is set at the inactive state, and informs it to the high-order layer. In such a way, it is possible to detect whether an opposite node is set at an active state or the inactive state in com municating at a physical layer level.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ローカルエリアネットワーク等におけるデ
ータ通信制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data communication control system in a local area network or the like.

〔従来の技術〕[Conventional technology]

一般に、通信ネットワークは相手のノードとプロトコル
に従ってデータ転送を行う。プロトコルは階層構成とな
っており、例えば通信機能を司どる物理レイヤやデータ
リンクレイヤ及びトランスポートレイヤと、上位の通信
処理機能を司どるレイヤ、更に上位の情報処理機能を司
どるレイヤ等からなっている。
Generally, a communication network performs data transfer with other nodes according to a protocol. Protocols have a hierarchical structure; for example, they consist of a physical layer, data link layer, and transport layer that control communication functions, a layer that controls higher-level communication processing functions, and a layer that controls higher-level information processing functions. ing.

第2図は従来の階層構造における物理レイヤの動作フロ
ーチャートであり、ステップ1は上位レイヤからのデー
タ送信要求受付のチェック、ステップ2はデータフレー
ム送信処理、ステップ3はデータフレーム受信のチェッ
ク、ステップ4は上位レイヤに対しデータフレーム受信
通知処理を示す。
FIG. 2 is an operation flowchart of the physical layer in a conventional hierarchical structure, in which step 1 is a check for acceptance of a data transmission request from an upper layer, step 2 is data frame transmission processing, step 3 is a check for data frame reception, and step 4 indicates data frame reception notification processing to the upper layer.

次に動作について説明する。従来の物理レイヤでは、ス
テップ1で処理開始後物理レイヤのユーザレイヤである
上位レイヤからデータフレーム送信要求があるか、また
は、ステップ3で通信媒体より有効なフレームを受信す
るかをチェックし、ステップ1で送信要求があれば、ス
テップ2では媒体に対しフレーム送信処理を実行し、ス
テップ3でフレームを受信すれば、ステップ4では上位
レイヤにその旨を通知していた。
Next, the operation will be explained. In the conventional physical layer, after starting processing in step 1, it is checked whether there is a data frame transmission request from an upper layer that is a user layer of the physical layer, or if a valid frame is received from the communication medium in step 3, If there is a transmission request in step 1, frame transmission processing is executed to the medium in step 2, and if a frame is received in step 3, the upper layer is notified of this in step 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の物理レイヤでの通信制御方式は、以上のような方
式のため、相手局ノードが活性状態であるのか非活性状
態であるのか、物理レイヤでは判断できないため、上位
レイヤにおいて、種々のプロトコルを設定し相手局の状
態を監視しなければならなかった。従って、上位レイヤ
のプロトコル処理に負担がかかる他、障害発生時、物理
レイヤレベルに異常が発生したのか、上位レイヤのプロ
トコル上で異常が発生したのか、判断出来ないなどの問
題があった。
Conventional communication control methods at the physical layer are based on the methods described above, and because the physical layer cannot determine whether the partner node is active or inactive, various protocols are implemented in the upper layer. I had to set it up and monitor the status of the other station. Therefore, in addition to placing a burden on upper layer protocol processing, there are also problems such as when a failure occurs, it is not possible to determine whether an abnormality has occurred at the physical layer level or in the upper layer protocol.

この発明は、上記のような問題点を解消するためになさ
れたもので、通信中の相手局ノードが活性状態にあるか
、非活性状態にあるかを物理レイヤレベルにて検出可能
なデータ通信方式を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and it is a data communication system in which it is possible to detect at the physical layer level whether the partner node during communication is in an active state or an inactive state. The purpose is to obtain a method.

〔問題点を解決するための手段〕[Means for solving problems]

この発明においては、相手局ノードにデータフレームを
送信する段階(ステップ12)と、相手局ノードからの
データフレーム受信を監視するタイマT1をスタートす
る段階(ステップ21)と、所定時間内に相手局ノード
からの受信がなくタイマTIが時間切れとなる段階(ス
テップ22)と、これにより相手局ノードの非活性状態
を検知する段階(ステップ27)゛とを備えるとともに
、相手局ノードからデータフレームを受信する段階(ス
テップ13)と、自局ノードからのデータフレーム送信
を監視するタイマT2をスタートする段階(ステップ4
1)と、所定時間内に自局ノードからの送信がなくタイ
マT2が時間切れとなる段階(ステップ42)と、これ
により相手局ノードに自局ノードが活性状態にあること
を示す応答フレームを送信する段階(ステップ46)と
を備えた。
In this invention, the steps of transmitting a data frame to the partner node (step 12), starting the timer T1 for monitoring reception of data frames from the partner node (step 21), and It includes a step in which the timer TI expires due to no reception from the node (step 22), and a step in which the inactive state of the partner node is detected (step 27), and a data frame is not received from the partner node. a receiving stage (step 13), and a stage of starting timer T2 for monitoring data frame transmission from the local node (step 4).
1), a step in which the timer T2 expires because there is no transmission from the local node within a predetermined period of time (step 42), and a response frame indicating that the local node is in an active state is sent to the other node. and a step of transmitting (step 46).

〔作用〕[Effect]

この発明に係る通信制御方式では、データを通信しあう
局の物理レイヤ間で直前に、フレームを受信(ステップ
13)した側は、自局からのフレーム送信監視タイマを
動作させ(ステップ41)、一定時間内に自局からデー
タフレーム送信要求がない場合(ステップ42)は、応
答フレームを送信しくステップ46)、一方、直前にフ
レームを送信した局は、フレーム送信後、(ステップ1
2)フレーム受信監視タイマを動作させ(ステップ21
)、一定時間内に相手局から何もフレームを受信しない
場合(ステップ22)、相手局は非活性状態にあると見
做し、上位レイヤに通知する(ステップ27)。
In the communication control system according to the present invention, immediately before the physical layer of stations communicating data, the side that has received a frame (step 13) operates a frame transmission monitoring timer from its own station (step 41); If there is no data frame transmission request from the own station within a certain period of time (step 42), a response frame is transmitted (step 46).On the other hand, the station that has just transmitted the frame does not receive a data frame transmission request (step 1) after transmitting the frame.
2) Activate the frame reception monitoring timer (step 21)
), if no frame is received from the other station within a certain period of time (step 22), the other station is assumed to be in an inactive state and the upper layer is notified (step 27).

〔実施例〕〔Example〕

以下この発明の一実施例を第1図(イ)、(ロ)のフロ
ーチャートに従って説明する。、この動作はデータ通信
装置のノード、即ち計算機制御の下に行われるもので、
第1図(イ)は自局ノードが相手局に対して送信処理を
行った後のフローチャート、第1図(ロ)は相手局ノー
ドから受信した後のフローチャートを示している。自局
ノードの動作のフローチャートであるが、相手局ノード
も自局ノードとなって同様の処理を行い、互いに相手局
ノードの状態を検知するように動作する。
An embodiment of the present invention will be described below with reference to the flowcharts in FIGS. 1(a) and 1(b). , this operation is performed under the control of the node of the data communication device, that is, the computer,
FIG. 1(a) shows a flowchart after the own node performs transmission processing to the partner node, and FIG. 1(b) shows a flowchart after receiving from the partner node. Although this is a flowchart of the operation of the own node, the other node also becomes the own node and performs similar processing, and operates so as to mutually detect the state of the other node.

図中、ステップ21のフレーム受信監視タイマT1のス
タートとは、相手局ノードからのデータフレームや応答
フレームを待機する所定時間の計時を開始することであ
る。又ステップ41のフレーム送信監視タイマT2のス
タートとは、自局ノードからのフレーム送信を待機し、
所定時間後に相手局ノードに対し、自局の活性状態を伝
える応答フレーム送信時間の計時をスタートすることで
ある。
In the figure, the start of the frame reception monitoring timer T1 in step 21 means to start counting a predetermined period of time for waiting for a data frame or a response frame from the partner node. Also, starting the frame transmission monitoring timer T2 in step 41 means waiting for frame transmission from the local node,
After a predetermined period of time, it starts measuring the time for transmitting a response frame that informs the other node of its own active state.

次に、本発明によ4通信制開方式における物理レイヤの
動作について第1図のフローチャートに従って説明する
。物理レイヤは処理開始後、ステップ11では上位レイ
ヤからデータ送信要求があるかまたは、ステップ13で
は通信媒体より有効なフレームを受信するかチェックす
る。ステップ11の上位レイヤよりデータフレーム送信
要求が有った場合、ステップ12でデータフレームを送
出後、ステップ21のフレーム受信監視タイマ(以下、
T1と略す)をスタートする。この後ステップ22では
T1タイマのチェック、ステップ23では相手局からの
データフレーム受信、ステチェックする。ステップ22
のT1タイムアウトになった時は、ステップ27に進み
上位レイヤに相手局が非活性状態であることを通知する
。これはフレーム送信後フレーム受信監視タイマT1を
動作させ、一定時間内に相手局ノードから何もフレーム
を受信しない場合は相手局ノードは非活性状態にあると
見做している。ステップ23のデータフレームを受信し
た場合は、ステップ14に進み上位レイヤにデータフレ
ーム受信通知を行い、ステップ41のフレーム送信監視
タイマ(以下、T2と略す)をスタートし、自局からの
送信要求のチェックに入る。これは受信監視タイマT1
時間内に相手ノードから送信があったので相手局ノード
が活性状態にあることを示している。ステップ24の応
答フレームを受信した場合は、ステップ41に進みT2
タイマをスタートし、自局ノードからの送信要求チェッ
クに入る。これで相手局ノードが活性状態にあることが
検知されたので、相手局ノードへ送信してもいいので、
上位レイヤからの送信の指示を待つことになる。ステッ
プ25の上位レイ午から新たな送信要求があったなら、
ステップ26?−TIタイマをストップし再びデータフ
レーム送信処理から実行する。これは受信監視タイマT
1待機中に自局ノードからデータフレームの要求がある
ので、−まずこの要求を果たすため、ステップ12に戻
りデータフレーム送信処理を行う。ステップ25の送信
要求がなければ、ステップ22に戻’7T1タイマのチ
ェックを行う。
Next, the operation of the physical layer in the 4-communication control system according to the present invention will be explained according to the flowchart of FIG. After the physical layer starts processing, it checks in step 11 whether there is a data transmission request from an upper layer or whether a valid frame is received from the communication medium in step 13. If there is a data frame transmission request from the upper layer in step 11, the data frame is sent out in step 12, and then the frame reception monitoring timer (hereinafter referred to as
(abbreviated as T1). Thereafter, in step 22, the T1 timer is checked, and in step 23, the data frame received from the partner station is checked. Step 22
When the T1 timeout has elapsed, the process proceeds to step 27 and notifies the upper layer that the partner station is inactive. This operates the frame reception monitoring timer T1 after transmitting a frame, and if no frame is received from the partner node within a certain period of time, the partner node is considered to be in an inactive state. If the data frame in step 23 is received, the process proceeds to step 14 and notifies the upper layer that the data frame has been received, starts the frame transmission monitoring timer (hereinafter abbreviated as T2) in step 41, and receives the transmission request from the local station. Enter the check. This is the reception monitoring timer T1
This indicates that the partner node is in an active state because there was a transmission from the partner node within the time. If the response frame in step 24 is received, proceed to step 41 and T2
Start the timer and start checking the transmission request from the local node. Now that it has been detected that the partner node is active, you can send data to the partner node.
It will wait for transmission instructions from the upper layer. If there is a new transmission request from the higher rank Ray in step 25,
Step 26? -Stop the TI timer and start the data frame transmission process again. This is the reception monitoring timer T
1. During standby, there is a request for a data frame from the local node, so in order to first fulfill this request, the process returns to step 12 and performs data frame transmission processing. If there is no transmission request in step 25, the process returns to step 22 and checks the '7T1 timer.

一方、ステップ13で有効なデータフレームを受信した
時は、ステップ14上位レイヤにデータフレーム受信通
知を行い、ステップ41ではT2タイマをスタートし、
この後ステップ42のT2タイマのチェック、ステップ
43の上位からのデう。
On the other hand, when a valid data frame is received in step 13, a data frame reception notification is sent to the upper layer in step 14, and a T2 timer is started in step 41.
After this, the T2 timer is checked in step 42, and the data is read from the upper level in step 43.

まず、ステップ42の自局ノードからのデータフレーム
送信監視待機時間が経過してT2タイムアウトになった
時は、ステップ46に進み、任意の物理レイヤレベルの
応答フレームを送出し、ステップ21に戻り、フレーム
受信監視タイマTIを再スタートし、前述したフレーム
送信後の処理に移る。これは自局ノードから特別なデー
タフレーム送信要求はないが、自局ノードが活性状態で
あることを相手局ノードに知らせている。データフレー
ム送信監視待機中に、T2タイムアウト以前にステップ
43のチェックで上位レイヤからのデータフレーム送信
要求があった場合、ステップ47のデータフレームを送
信処理し、ステップ21に戻りフレーム受信監視タイマ
を再スタートし、前述したフレーム送信後の処理に移る
First, when the waiting time for monitoring data frame transmission from the own node in step 42 has elapsed and T2 timeout has occurred, the process proceeds to step 46, where a response frame of an arbitrary physical layer level is sent, and the process returns to step 21. The frame reception monitoring timer TI is restarted, and the process proceeds to the above-mentioned post-frame transmission process. Although there is no special data frame transmission request from the local node, the remote node is informed that the local node is active. While waiting for data frame transmission monitoring, if there is a data frame transmission request from the upper layer in the check in step 43 before the T2 timeout, the data frame is transmitted in step 47, and the process returns to step 21 to restart the frame reception monitoring timer. The process starts and moves to the processing after frame transmission described above.

新たにデータフレームを受信した時は、ステップ457
T2タイマをストップし、ステップ14に戻り、上位レ
イヤにデータフレーム受信通知を行い、再びステップ4
1からの処理を実行する。これはT2タイマ監視中に相
手局ノードからデータフレームを受信したので、−まず
この受信を処理するためT2タイマをストップ(ステッ
プ45)している。ここで相手局ノードからデータフレ
ームの受信がなければ、ステップ42に戻り引き続きT
2タイムアウトのチェックを行う。
When a new data frame is received, step 457
Stop the T2 timer, return to step 14, notify the upper layer of data frame reception, and return to step 4.
Execute processing from step 1. This is because a data frame was received from the partner node while the T2 timer was being monitored, so the T2 timer is first stopped (step 45) in order to process this reception. If no data frame is received from the partner node here, the process returns to step 42 and continues with T.
2 Check for timeout.

このようにして、相手局ノードの非活性状態を検知する
ことができる。自局ノードの障害発生については、自局
の上位レイヤで自己判断できるので問題はない。ひるか
えって自局ノードがステップ42のT2タイムアウトに
なっても、ステップ46の応答フレーム送信を実行しな
い場合は、故〔発明の効果〕 以上説明してきたように、この発明によれば、相手局ノ
ードにデータフレームを送信する段階(ステップ12)
と、相手局ノードからのデータフレーム受信を監視する
タイマTIをスタートする段階(ステップ21)と、所
定時間内に相手局ノードからの受信がなくタイマT1が
時間切れとなる段階(ステップ22)と、これにより相
手局ノードの非活性状態を検知する段階(ステップ27
)とを備えるとともに、相手局ノードからデータフレー
ムを受信する段階(ステップ13)と、自局ノードから
のデータフレーム送信を監視するタイマT2をスタート
する段階(ステップ41)と、所定時間内に自局ノード
からの送信がなくタイマT2が時間切れとなる段階(ス
テップ42)と、これにより相、半周ノードに自局ノー
ドが活性状態にあることを示す応答フレームを送信する
段階(ステップ46)とを備えて、フレーム受信後なく
なり一方の局でフレーム受信監視タイムアウトとなり、
相手局の非活性状態への移行が検出できるようにしたの
で、上位レイヤにおいて種々のプロトコルを設定して相
手の状態を監視する必要がなくなり上位レイヤのプロト
コル処理の負担が軽くなり、安価でかつ障害に対して信
頼性の有る通信制御方式が得られる効果がある。
In this way, the inactive state of the partner node can be detected. Regarding the occurrence of a failure in the own node, there is no problem because the upper layer of the own node can self-determine the occurrence of a failure. On the other hand, even if the own node reaches the T2 timeout in step 42, if the response frame transmission in step 46 is not executed, then [Effects of the Invention] As described above, according to the present invention, the other node (Step 12)
, a step of starting a timer TI that monitors the reception of data frames from the partner node (step 21), and a step in which the timer T1 expires when there is no reception from the partner node within a predetermined time (step 22). , thereby detecting the inactive state of the partner node (step 27).
), a step of receiving a data frame from the partner node (step 13), a step of starting timer T2 for monitoring data frame transmission from the own node (step 41), and a step of starting timer T2 within a predetermined time. A step in which timer T2 expires due to no transmission from the station node (step 42), and a step in which a response frame indicating that the local node is in an active state is transmitted to the phase and half-cycle nodes (step 46). After receiving the frame, one station will receive a frame reception monitoring timeout.
Since the transition to the inactive state of the partner station can be detected, there is no need to configure various protocols in the upper layer to monitor the state of the partner, and the burden on protocol processing in the upper layer is lightened, making it inexpensive and easy to use. This has the effect of providing a reliable communication control system against failures.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(イ)、(ロ)は本発明の通信制御方式の動作フ
ローチャートを示し、図中(イ)は送信後のフローチャ
ート、(ロ)は受信後のフローチャート、第2図は従来
の通信制御のフローチャートである。 代理人  大  岩  増  tS<ほか2名)稀 1
 ワ (イ) 項51F!](ロン
Figures 1 (A) and (B) show operation flowcharts of the communication control method of the present invention, in which (A) is a flowchart after transmission, (B) is a flowchart after reception, and Figure 2 is a flowchart for conventional communication. It is a flowchart of control. Agent Masu Oiwa tS<and 2 others) Rare 1
(I) Item 51F! ](Ron

Claims (1)

【特許請求の範囲】[Claims] 計算機からなるノード間のデータ通信制御方式において
、相手局ノードにデータフレームを送信する段階と、相
手局ノードからのデータフレーム受信を監視するタイマ
をスタートする段階と、所定時間内に相手局ノードから
の受信がなく前記タイマが時間切れとなる段階と、これ
により相手局ノードの非活性状態を検知する段階とを備
えるとともに、相手局ノードからデータフレームを受信
する段階と、自局ノードからのデータフレーム送信を監
視するタイマをスタートする段階と、所定時間内に自局
ノードからの送信がなく前記タイマが時間切れとなる段
階と、これにより相手局ノードに自局ノードが活性状態
にあることを示す応答フレームを送信する段階とを備え
たデータ通信制御方式。
In a data communication control method between nodes consisting of a computer, there are two steps: transmitting a data frame to the other node, starting a timer to monitor the reception of data frames from the other node, and transmitting data from the other node within a predetermined time. The method includes the step of causing the timer to expire due to no reception of the data frame, and the step of detecting the inactive state of the partner node as a result of this, and the step of receiving a data frame from the partner node, and the step of receiving the data frame from the own node. A step of starting a timer for monitoring frame transmission, a step of the timer expiring when there is no transmission from the local node within a predetermined period of time, and thereby informing the other node that the local node is in an active state. and transmitting a response frame indicating the data communication control method.
JP62025869A 1987-02-06 1987-02-06 Data communication control system Pending JPS63193742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62025869A JPS63193742A (en) 1987-02-06 1987-02-06 Data communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62025869A JPS63193742A (en) 1987-02-06 1987-02-06 Data communication control system

Publications (1)

Publication Number Publication Date
JPS63193742A true JPS63193742A (en) 1988-08-11

Family

ID=12177797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62025869A Pending JPS63193742A (en) 1987-02-06 1987-02-06 Data communication control system

Country Status (1)

Country Link
JP (1) JPS63193742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038608A (en) * 1996-11-25 2000-03-14 Nec Corporation Virtual LAN system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038608A (en) * 1996-11-25 2000-03-14 Nec Corporation Virtual LAN system

Similar Documents

Publication Publication Date Title
JPH0576654B2 (en)
JP2730493B2 (en) Controlled station monitoring method
JPS63193742A (en) Data communication control system
JP3185212B2 (en) Online information processing system
JPS62159245A (en) Health checking system for computer system
JPH11127477A (en) Personal communication system
JP2508272B2 (en) Message response monitoring device
JPH053498A (en) Inactivity monitor method
JPH03292554A (en) Communication processor
JP2000295312A (en) Device and method for automatically monitoring and controlling terminal response
JPH0685905A (en) Processor supervisory system for signal processing function
KR940007156B1 (en) Processor synchronization method for communication network
JPH06152679A (en) Communication system utilizing packet network
JPH04112314A (en) Monitoring system for cut-off of terminal power supply
JPH1023098A (en) Communication controller
JPH11168475A (en) Inter-network connector and control information reporting method
JP2853643B2 (en) Response monitoring device in communication system
JPH04262428A (en) Hot standby system
JP2003050753A (en) OPERATION SYSTEM FOR AUTOMATIC RECOVERY Web SERVER
JP2713271B2 (en) Transport communication control method
JPH0556049A (en) Communication controller
JPS63314046A (en) Operation monitor device for destination processor
JPS6383857A (en) Controlling system for processor congestion of multi-processor system
JPH10133964A (en) Data transmission system
JPS62159242A (en) Automatic system switching system