JPH10150458A - Terminal station monitor system by polling - Google Patents

Terminal station monitor system by polling

Info

Publication number
JPH10150458A
JPH10150458A JP8307583A JP30758396A JPH10150458A JP H10150458 A JPH10150458 A JP H10150458A JP 8307583 A JP8307583 A JP 8307583A JP 30758396 A JP30758396 A JP 30758396A JP H10150458 A JPH10150458 A JP H10150458A
Authority
JP
Japan
Prior art keywords
station
polling
abnormal
terminal
terminal station
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
JP8307583A
Other languages
Japanese (ja)
Inventor
Yasunori Nishibe
保則 西部
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP8307583A priority Critical patent/JPH10150458A/en
Publication of JPH10150458A publication Critical patent/JPH10150458A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the monitor system of this kind in which the number of times of confirmation of an abnormal station is changed dynamically in response to a state in a loop and polling is progressed without receiving a temporal failure of a transmission line. SOLUTION: The number of times of re-transmission of a polling request frame to one terminal station is selected to be once to twice and when no reply is received, the station is stored as an abnormal candidate station, polling is transferred to a succeeding terminal station and when the polling with respect to all terminal stations is circulated and a turn of the abnormal candidate station comes round, polling is sent again only once and when no reply comes, the similar processing is conducted in a succeeding polling cycle, and when the terminal station is regarded to be a faulty station when no reply comes for prescribed number N and the faulty station is excluded from the polling cycle.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、監視局からのポー
リングによる複数端末局の監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of monitoring a plurality of terminal stations by polling from a monitoring station.

【0002】[0002]

【従来の技術】各種制御装置の状態変化の監視方法とし
て、各種制御端末(端末局)をループ状に接続し、ルー
プ内に1台ないし2台の監視局を設置し、この監視局よ
り各端末局へ順次ポーリングフレームを送出し、端末局
からの正常なポーリング応答フレームの返送によって、
端末局の状態を収集し、監視する方法がある。
2. Description of the Related Art As a method of monitoring a change in the state of various control devices, various control terminals (terminal stations) are connected in a loop, and one or two monitoring stations are installed in the loop. A polling frame is sequentially transmitted to the terminal station, and by returning a normal polling response frame from the terminal station,
There is a method of collecting and monitoring the status of the terminal station.

【0003】図2はこのポーリングによる複数端末局の
監視方式の概念図で、1は監視局、2は端末局で端末局
2−1,端末局2−2…端末局2−nの複数局からな
り、これら各端末局2−1〜2−nおよび監視局1とは
ループ状に接続されている。そして、監視局1は、1端
末局に対し、ポーリング要求フレームを送信し、規定時
間内に期待するポーリング応答フレームが返送されてく
れば、その端末局は正常に動作していると判断し、次の
端末局のポーリングへうつる。
FIG. 2 is a conceptual diagram of a method of monitoring a plurality of terminal stations by polling. Reference numeral 1 denotes a monitoring station, 2 denotes a terminal station, and a plurality of terminal stations 2-1 to 2-2... The terminal stations 2-1 to 2-n and the monitoring station 1 are connected in a loop. Then, the monitoring station 1 transmits a polling request frame to one terminal station, and if an expected polling response frame is returned within a specified time, determines that the terminal station is operating normally, Go to the next terminal station polling.

【0004】規定時間内にポーリング応答フレームが返
送されてこない場合には、端末局自身か、もしくは端末
局と監視局の間の伝送路に何らかの障害があったものと
して、規定回数ポーリング要求フレームの再送を試み、
遂に応答が得られなかった場合には、その端末局を異常
局として判断しポーリングのサイクルから除外する。
If the polling response frame is not returned within the specified time, it is determined that the terminal station itself or the transmission path between the terminal station and the monitoring station has some trouble, and the polling request frame of the specified number of times is returned. Attempt resend,
If no response is finally obtained, the terminal station is determined as an abnormal station and is excluded from the polling cycle.

【0005】[0005]

【発明が解決しようとする課題】上記のポーリングによ
る監視方式のおいて、実際には端末局自身には異常がな
く、正常なポーリング応答フレームを返送しているか、
もしくは返送できる状態にあるにもかかわらず、ノイズ
や瞬間的な断線等の伝送路の一時的な障害によってポー
リングフレームがどちからの局に到達できない場合があ
る。
In the above-mentioned monitoring system based on polling, whether the terminal station itself has no abnormality and returns a normal polling response frame,
Or, in spite of being able to return, the polling frame may not be able to reach either station due to a temporary failure of the transmission path such as noise or momentary disconnection.

【0006】この場合、監視局は、この一瞬の障害を端
末局の異常と誤認してしまうのを防ぐため、その端末局
に対し、連続して規定回数までポーリング要求フレーム
の再送を試み、それでもなお応答が得られない場合のみ
端末局を異常とする。
In this case, in order to prevent the instantaneous failure from being mistaken as an abnormality of the terminal station, the monitoring station attempts to retransmit the polling request frame continuously to the terminal station up to a specified number of times. Only when no response can be obtained, the terminal station becomes abnormal.

【0007】しかし、このときの再送の規定回数が少な
いと、伝送路の一時的な障害を回避できなくなる可能性
が高くなる。逆に、多くすると、他の正常な端末局に対
するポーリングが遅れ、ポーリングパフォーマンスが低
下し、状態検出のリアルタイム性が犠牲となる。また、
ループ内にそのような異常局が増えるほどその影響は増
大する、という問題がある。
[0007] However, if the specified number of retransmissions at this time is small, there is a high possibility that a temporary failure in the transmission path cannot be avoided. Conversely, if the number is large, polling of other normal terminal stations is delayed, polling performance is reduced, and real-time state detection is sacrificed. Also,
There is a problem that the influence increases as the number of such abnormal stations increases in the loop.

【0008】以上の点に鑑み、本発明は、異常局確認の
回数をループ内の状態に応じて動的に変化させ、伝送路
の一時的な障害を受けることなく、ポーリングを進行さ
せることができる此の種の監視方式を提供することを目
的とする。
In view of the above, the present invention is capable of dynamically changing the number of times of confirming an abnormal station in accordance with the state in a loop, and allowing polling to proceed without a temporary failure in a transmission line. It is an object of the present invention to provide such a monitoring method that can be performed.

【0009】[0009]

【課題を解決するための手段】本発明において上記の課
題を解決し、伝送路の一時的な障害を回避し、且つポー
リングパフォーマンスの低下を最小限に押える手段は、 (1)1端末局に対するポーリング要求フレームの再送
は1〜2回とし、それでも期待する応答が得られない場
合は、次の端末局に対するポーリングへうつる。これに
よりまず、ポーリングパフォーマンスの低下を防ぐ。こ
のとき、先の端末局は異常とせず、異常候補局として認
識(記憶)しておく。
Means for solving the above-mentioned problems in the present invention, means for avoiding a temporary failure of a transmission line and for minimizing a decrease in polling performance are as follows: The retransmission of the polling request frame is performed once or twice. If the expected response is not obtained, the polling request frame is sent to the next terminal station. This first prevents the polling performance from deteriorating. At this time, the previous terminal station is not regarded as abnormal, but is recognized (stored) as an abnormal candidate station.

【0010】(2)全端末局に対するポーリングが一巡
(1ポーリングサイクル)し、先の異常候補局の順番と
なったとき、改めて1度だけ異常候補局に対する再送を
行う。これでもなお期待する応答が得られなかった場合
は、さらに次のポーリングサイクルで同様の処理を行
う。(以下、この異常候補局に対する一連の動作を異常
局確認と呼ぶ) (3)異常局確認をN回行っても、結局期待する応答が
端末局から得られなかった場合に、はじめてその端末局
を異常とみなす。このとき、異常局確認回数Nを以下の
式に従って動的に算出することによって、伝送路の一時
的な障害による誤認を防ぎつつ、端末局異常検出の遅延
を最小限に抑制する。
(2) When the polling for all the terminal stations has completed one cycle (one polling cycle) and the order of the abnormal candidate stations is first, the retransmission to the abnormal candidate station is performed once again. If the expected response is still not obtained, the same processing is performed in the next polling cycle. (Hereinafter, a series of operations for this abnormal candidate station will be referred to as abnormal station confirmation.) Is regarded as abnormal. At this time, by dynamically calculating the number N of abnormal station confirmations according to the following equation, it is possible to prevent a false recognition due to a temporary failure in the transmission path and to minimize the delay of the terminal station abnormality detection.

【0011】N=Te/Ts Te:伝送路の一時的な障害が回復するのに十分な時間
(経験値) Ts:1ポーリングサイクルにかかる時間 Ts=Sn×Tp Sn:現在のループ内の正常局数(動的に変化) Tp:1端末局にかかるポーリング時間(測定値) (4)異常局とみなされた端末局は、ポーリングのサイ
クルから除外し、異常局に対しても引き続きポーリング
を行うことはしない。これにより、異常局の存在が正常
局に対するポーリングパフォーマンスの低下を招くこと
を防ぐ。
N = Te / Ts Te: Time sufficient for recovery from a temporary failure in the transmission path (experience value) Ts: Time required for a polling cycle Ts = Sn × Tp Sn: Normal in the current loop Number of stations (changes dynamically) Tp: Polling time required for terminal station (measured value) (4) Terminal stations regarded as abnormal stations are excluded from the polling cycle, and polling continues for abnormal stations. I will not do it. This prevents the presence of the abnormal station from lowering the polling performance for the normal station.

【0012】(5)異常局に対しては、1ポーリングサ
イクルにつき1異常局のみ、1回だけポーリングを行
い、異常局の状態の復帰を監視する。これにより、1度
異常局とみなされた端末局でも状態が回復すれば、正常
局のポーリングサイクルに復帰できる。
(5) For an abnormal station, polling is performed only once for each abnormal station per polling cycle, and the restoration of the state of the abnormal station is monitored. Thus, if the status of the terminal station once regarded as an abnormal station recovers, the terminal station can return to the normal station polling cycle.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
によって説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は本発明の一実施の形態におけるフロ
ーチャートで、監視局はステップS1で1端末局に対し
ポーリング要求フレームを送出する。次に、ステップS
2で、端末局に対するポーリング要求フレームの再送が
あったか否かを判定し、応答があったときはステップS
3で次の端末局にポーリングを移す。もし1〜2回以上
のフレーム再送でも応答がないときは、ステップS4で
その端末局を異常候補局として記憶し、次の端末局にポ
ーリングを移す。
FIG. 1 is a flowchart according to an embodiment of the present invention. In step S1, the monitoring station sends a polling request frame to one terminal station. Next, step S
In step 2, it is determined whether or not the polling request frame has been retransmitted to the terminal station.
At 3, the polling is transferred to the next terminal station. If there is no response even after one or more frame retransmissions, the terminal station is stored as an abnormal candidate station in step S4, and polling is transferred to the next terminal station.

【0015】次に、このポーリングを受けた次の端末局
は異常候補端末局か否かを判定し、異常候補端末局であ
る場合は1度だけ再送を行う。異常候補端末局でないと
きは、ステップS1に戻り繰り返す(S5,S6)。
Next, the terminal station that has received the polling determines whether or not the terminal station is an abnormal candidate terminal station. If the terminal station is an abnormal candidate terminal station, it retransmits only once. If not, return to step S1 and repeat (S5, S6).

【0016】ステップS6で異常候補局に対するポーリ
ングの再送を行ったとき、期待する応答が得られたか否
かをステップS7で判定し、応答が無かったときは、ス
テップS8で、応答なし(異常局確認)が所定のN回数
か否かを判定しN回行っても期待する応答が得られなか
った場合に、その端末局を異常とみなし、ポーリングの
サイクルから除外する(ステップS9)。
When retransmission of polling to the abnormal candidate station is performed in step S6, it is determined in step S7 whether an expected response is obtained. If no response is received, no response is returned in step S8 (abnormal station). It is determined whether the number of times (confirmation) is a predetermined number of times N. If an expected response is not obtained even after performing the number N times, the terminal station is regarded as abnormal and is excluded from the polling cycle (step S9).

【0017】ステップS6で再送したとき、ステップS
7で応答があったときは、ステップS10でその異常候
補局を次のサイクルより正常局に復活させ、ステップS
11で次の端末局にポーリングを移す。また、ステップ
S8で応答なしがN回以内のときもステップS11で次
の端末局にポーリングが移される。
When resending in step S6, step S6
If a response is received in step 7, the abnormal candidate station is restored to the normal station in the next cycle in step S10, and
At 11, the polling is transferred to the next terminal station. Also, if there is no response within N times in step S8, the polling is moved to the next terminal station in step S11.

【0018】[0018]

【発明の効果】本発明は上記のように、1端末局に対す
るポーリング要求フレームの再送は1〜2回とし、それ
でも期待する応答が得られない場合は、異常候補局とし
て記憶し、ポーリングは次の端末局に移し、全端末局に
対するポーリングが一巡し、異常候補局の順番となった
とき、この異常候補に改めて1度だけポーリングを再送
して異常局確認を行い、これでも期待する応答が得られ
なかったときは、更に、次のポーリングサイクルで同様
の処理を行い、この異常確認を所定の(算出した)N回
行っても、それでも期待する応答が端末局から得られな
かった場合に、はじめてその端末局を異常とみなしてポ
ーリングのサイクルから除外するようにしたので、 (1)伝送路の一時的な障害の影響を受けることなくポ
ーリングサイクルを進行させることができる。
As described above, according to the present invention, retransmission of a polling request frame to one terminal station is performed once or twice, and if an expected response is not obtained even after that, the polling request frame is stored as an abnormal candidate station, and polling is performed next. When the polling for all the terminal stations has been completed and the order of the abnormal candidate station has been reached, the polling is re-transmitted once again to the abnormal candidate to confirm the abnormal station, and the expected response is still obtained. If the response is not obtained, the same processing is further performed in the next polling cycle. Even if this abnormality check is performed a predetermined (calculated) N times, the expected response is still not obtained from the terminal station. Since the terminal station is regarded as abnormal for the first time and excluded from the polling cycle, (1) the polling cycle proceeds without being affected by a temporary failure of the transmission line. Can be run.

【0019】(2)異常局の増加によるポーリングパフ
ォーマンスの低下を防ぐことができる。
(2) It is possible to prevent a decrease in polling performance due to an increase in abnormal stations.

【0020】という効果を奏する。The above effect is obtained.

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

【図1】本発明の実施の形態のフローチャート。FIG. 1 is a flowchart of an embodiment of the present invention.

【図2】ポーリングによる局監視方式の概念図。FIG. 2 is a conceptual diagram of a station monitoring method using polling.

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

1…監視局 2…端末局 1: Monitoring station 2: Terminal station

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の端末局をループ状に接続し、該ル
ープ内に1台ないし2台の監視局を設置し、この監視局
から各端末局へ順次ポーリングを行って端末局からの応
答フレームによって端末局の状態を収集し監視するポー
リングによる端末局監視方式において、 監視局から1端末局にポーリング要求フレームを送出
し、期待する応答がないときはこのポーリング要求フレ
ームを1ないし2回再送し、更に、応答が得られない場
合は、当該端末局を異常候補局として記憶してポーリン
グは次の端末局に移し、全端末局に対するポーリングが
一巡し、前記異常候補局の順番となったとき、改めて1
度だけポーリングを異常候補局に再送して異常局確認を
行い、更に期待する応答が得られないときは、次のポー
リングのサイクルで同様の処理を行い、この異常局確認
を所定のN回数行っても期待する応答が得られなかった
場合には、当該端末局を異常とみなしてポーリングのサ
イクルから除外するようにしたことを特徴とするポーリ
ングによる端末局監視方式。
1. A plurality of terminal stations are connected in a loop, one or two monitoring stations are installed in the loop, polling is sequentially performed from the monitoring stations to each terminal station, and a response from the terminal station is performed. In a terminal station monitoring method based on polling, which collects and monitors the state of terminal stations by frames, a polling request frame is sent from a monitoring station to one terminal station, and if there is no expected response, the polling request frame is retransmitted once or twice. Further, if no response is obtained, the terminal station is stored as an abnormal candidate station, polling is moved to the next terminal station, polling for all terminal stations is completed, and the order of the abnormal candidate stations is reached. Sometimes, once again
The polling is retransmitted to the abnormal candidate station only once, and the abnormal station is confirmed. If the expected response is not obtained, the same processing is performed in the next polling cycle, and the abnormal station is confirmed N times. If the expected response is not obtained, the terminal station is regarded as abnormal and is excluded from the polling cycle.
【請求項2】 異常局とみなして除外した端末局に対し
ては、1ポーリングサイクルにつき1異常局のみ、1回
だけポーリングを行って、該異常局の状態を監視し、状
態が回復したとき、正常局のポーリングサイクルに復帰
させるようにしたことを特徴とする請求項1記載のポー
リングによる端末局監視方式。
2. A terminal station excluded as an abnormal station is polled only once per abnormal station per polling cycle, and the state of the abnormal station is monitored. 2. The terminal station monitoring system by polling according to claim 1, wherein the terminal station is returned to a polling cycle of a normal station.
【請求項3】 異常局確認を行う回数Nは次の式により
動的に算出することを特徴とする請求項1又は2記載の
ポーリングによる端末局監視方式。 N=Te/Ts Ts=Sn×Tp 但し、Teは伝送路の1時的な障害が回復するのに十分
な時間(経験値) Tsは、1ポーリングサイクルにかかる時間。 Snは、現在のループ内の正常局数(動的に変化) Tpは、1端末局にかかるポーリング時間(測定値)
3. The terminal station monitoring method by polling according to claim 1, wherein the number of times N at which an abnormal station is confirmed is dynamically calculated by the following equation. N = Te / Ts Ts = Sn × Tp Here, Te is a time (experience value) sufficient to recover from a temporary failure of the transmission line, and Ts is a time required for one polling cycle. Sn is the number of normal stations in the current loop (dynamically changed) Tp is the polling time (measured value) required for one terminal station
JP8307583A 1996-11-19 1996-11-19 Terminal station monitor system by polling Pending JPH10150458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8307583A JPH10150458A (en) 1996-11-19 1996-11-19 Terminal station monitor system by polling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8307583A JPH10150458A (en) 1996-11-19 1996-11-19 Terminal station monitor system by polling

Publications (1)

Publication Number Publication Date
JPH10150458A true JPH10150458A (en) 1998-06-02

Family

ID=17970818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8307583A Pending JPH10150458A (en) 1996-11-19 1996-11-19 Terminal station monitor system by polling

Country Status (1)

Country Link
JP (1) JPH10150458A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015033600A (en) * 2014-09-29 2015-02-19 株式会社ソフイア Game machine
JP2020107936A (en) * 2018-12-26 2020-07-09 Necプラットフォームズ株式会社 Communication system, management server, and program
US11184502B2 (en) 2018-09-13 2021-11-23 Olympus Corporation Communication system, reception terminal, communication method, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015033600A (en) * 2014-09-29 2015-02-19 株式会社ソフイア Game machine
US11184502B2 (en) 2018-09-13 2021-11-23 Olympus Corporation Communication system, reception terminal, communication method, and recording medium
JP2020107936A (en) * 2018-12-26 2020-07-09 Necプラットフォームズ株式会社 Communication system, management server, and program

Similar Documents

Publication Publication Date Title
US11765018B2 (en) Control plane device switching method and apparatus, and forwarding-control separation system
AU644800B2 (en) Data communication method and system
US8284669B2 (en) Data acknowledgement apparatus and method
US7149181B2 (en) Apparatus and method for re-transmitting erroneous packet data
JP3902465B2 (en) Mobile communication system
JPH11177536A (en) Error control system for radio data link layer
US7283493B2 (en) System and method for switching between frequency channels in wireless LAN
JPH073978B2 (en) Broadcast system
EP1925114A1 (en) Data unit transmission method
JPH10150458A (en) Terminal station monitor system by polling
JPH11252103A (en) Radio communication system
JP3371833B2 (en) Network system for fault monitoring and repair
JP4710719B2 (en) Retransmission device when communication is abnormal
JPH07221791A (en) Alternate system for frame relay junction route
JPH10190635A (en) Communication system that perform error resending, and its communication controller and error resending method
JP2696280B2 (en) Wireless data transmission method
JPH11252073A (en) Packet communication system
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
JPH08139659A (en) Simultaneous multi-address communication method with repetition
JPH11266276A (en) Command/data reproduction method
JP3656622B2 (en) Remote monitoring control system
JP5240285B2 (en) Retransmission device when communication is abnormal
JPH04273736A (en) Packet communication system and packet re-transmission equipment
JPH0622000A (en) Message communication system with function preventing the missing of message
CN115695258A (en) Communication state diagnosis and processing method based on RSSP-I railway signal