JPH03250941A - Polling non-reply monitor system - Google Patents

Polling non-reply monitor system

Info

Publication number
JPH03250941A
JPH03250941A JP4989490A JP4989490A JPH03250941A JP H03250941 A JPH03250941 A JP H03250941A JP 4989490 A JP4989490 A JP 4989490A JP 4989490 A JP4989490 A JP 4989490A JP H03250941 A JPH03250941 A JP H03250941A
Authority
JP
Japan
Prior art keywords
eot
polling
reception flag
processing unit
central processing
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
JP4989490A
Other languages
Japanese (ja)
Inventor
Yuji Miyazaki
裕司 宮崎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4989490A priority Critical patent/JPH03250941A/en
Publication of JPH03250941A publication Critical patent/JPH03250941A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To allow a control station to detect a consecutive no reply of a subsequent station without giving a load to a central processing unit in an idle state without transmission/reception data by reading an EOT reception flag so as to discriminate the state of the EOT reception flag when interrupt of no reply detection is received by the central processing unit. CONSTITUTION:A communication controller 3 applies polling transmission to a subsequent station 2 by using a polling list 30 being an opposite list to which polling is sent, sets the reception of an EOT to an EOT reception flag 32 upon the receipt of the EOT and sends polling again according to a polling list 30. When no reply is detected to the polling, the communication controller 3 generates an interrupt to a central processing unit 4. The central processing unit 4 receiving the interrupt uses an EOT reception flag access means 41 to read the EOT reception flag 32 and recognizes whether or not the EOT is received by checking the state of the EOT reception flag 32.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信ネットワーク分野においてポーリング制
御方式の制御局に関し、特に送受信を行うデータが存在
しないアイドル状態において従属局がポーリングに対し
て無応答となった場合に中央処理装置の負荷を増大させ
ることなく中央処理装置が従属局の連続した無応答の監
視をするための制御局の無応答監視制御に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a control station using a polling control method in the communication network field, and in particular, in an idle state where there is no data to be transmitted or received, a dependent station does not respond to polling. The present invention relates to non-response monitoring control of a control station for allowing a central processing unit to monitor continuous non-responses of dependent stations without increasing the load on the central processing unit when such a situation occurs.

〔従来の技術〕[Conventional technology]

従来、この種の制御局の無応答監視制御は従属局のポー
リングに対する無応答を検出したとき、通信制御装置か
ら中央処理装置に割り込みを発生させ、中央処理装置が
回線に対するポーリングに対する応答制御を直接行う、
このとき、ポーリングに対する無応答を検出してからポ
ーリングに対する無応答リトライアウトの発生、あるい
はポーリング無応答の解除を検出するまで毎回ポーリン
グに対する全ての応答を割り込みを通信制御装置より中
央処理装置に発生させて、中央処理装置が監視を行って
連続したポーリングの無応答の検出を行っていた。
Conventionally, in this type of control station no-response monitoring control, when detecting no response to polling from a dependent station, the communication control device generates an interrupt to the central processing unit, and the central processing unit directly controls the response to polling for the line. conduct,
At this time, the communication control unit generates an interrupt to the central processing unit for all responses to polling every time from detecting no response to polling until a no-response retryout to polling occurs or cancellation of no response to polling is detected. The central processing unit monitors and detects no response to continuous polling.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の制御局の無応答監視制御はポーリングに
対して無応答を検出すると通信制御装置が中央処理装置
に割り込みが発生し、中央処理装置が直接ポーリングに
対する応答監視を行うため、−回線のなかで一つの従属
局でも無応答が発生すると中央処理装置によるポーリン
グ応答監視制御が行われ、他の従属局に対してのポーリ
ング制御も中央処理装置が行うため、送受信のデータが
存在しないアイドル状態においてはポーリングに対する
EOTの受信間隔が短いために、ポーリング制御のため
の中央処理装置の負荷が大きくなるという欠点があり、
−回線に接続されている従属局の数が多くなればなるほ
ど、一つの従属局の無応答により受ける影響は著しいも
のとなる。
In the conventional control station no-response monitoring control described above, when a no-response to polling is detected, the communication control device generates an interrupt to the central processing unit, and the central processing unit directly monitors the response to polling. If a non-response occurs in one dependent station, the central processing unit performs polling response monitoring control, and the central processing unit also performs polling control for other dependent stations, resulting in an idle state in which there is no transmitted or received data. Since the EOT reception interval for polling is short, there is a drawback that the load on the central processing unit for polling control becomes large.
- The greater the number of dependent stations connected to the line, the more significant the effect of non-response from one dependent station.

また、中央処理装置の負荷を軽減するために通信制御装
置で再度ポーリング制御を行った場合には次の無応答の
割り込みが連続した無応答の割り込みか否かを中央処理
装置には判断ができないという欠点があった。
Additionally, if the communication control unit performs polling control again to reduce the load on the central processing unit, the central processing unit cannot determine whether the next unresponsed interrupt is a series of unresponsed interrupts. There was a drawback.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のポーリング無応答監視方式は、通信制御装置と
中央処理装置を含んで構成されるポーリング制御方式の
制御局において、中央処理装置からのポーリング指示に
よりポーリングリストに従ってポーリングを送信し、デ
ータあるいはデータの送信がないことを表す制御符号(
以下、EOTとする)の受信および無応答の検出を行う
機能を持ち、データ受信あるいは無応答の検出をすると
中央処理装置に割り込みを発生させ、EOT受信時に再
度ポーリングを送信する通信制御装置にEOT受信時に
EOTを受信したことを示すEOT受信フラグと、EO
T受信フラグを設定するEOT受信フラグ設定手段を持
たせ、中央処理装置にはEOT受信フラグの入出力を行
うためEOT受信フラグアクセス手段とポーリング指示
を行うポーリング指示手段を持たせ、中央処理装置から
のポーリング指示によって通信制御装置がポーリングを
送信したとき、ポーリングに対して無応答となった場合
に発生した無応答が前回に発生した無応答と連続して発
生したか否かを中央処理装置が通信制御装置内に持つE
OT受信フラグをEOT受信フラグアクセス手段を用い
て、EOT受信フラグを入力することによりEOT受信
フラグの状態を参照することによって知る手段を有して
いる。
In the polling non-response monitoring method of the present invention, in a polling control method control station including a communication control device and a central processing unit, polling is transmitted according to a polling list based on a polling instruction from the central processing unit, and data or A control code indicating that there is no transmission of (
It has the function of receiving EOT (hereinafter referred to as EOT) and detecting no response, and when receiving data or detecting no response, it generates an interrupt to the central processing unit, and sends an EOT to the communication control device that sends polling again when EOT is received. An EOT reception flag indicating that an EOT has been received at the time of reception, and an EO
The central processing unit is provided with an EOT reception flag setting means for setting the T reception flag, and the central processing unit is provided with an EOT reception flag access means for inputting and outputting the EOT reception flag, and a polling instruction means for issuing polling instructions. When the communication control device transmits polling in response to a polling instruction, the central processing unit determines whether or not the non-response that occurred when there was no response to the poll occurred consecutively to the previous non-response. E in the communication control device
It has means for knowing the OT reception flag by inputting the EOT reception flag using an EOT reception flag access means and referring to the state of the EOT reception flag.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図において、制御局1と従属局2は1本以上の通信
回線によって接続されており、制御局1は通信制御装置
3と中央処理装置4を含んで構成され、通信制御装置3
はポーリングを送信する相手を示されたポーリングリス
ト30.EOTを受信したか否かを示すEOT受信フラ
グ32.およびEOT受信フラグ32にEOTを受信し
たことを設定するEOT受信フラグ設定31を有し、中
央処理装置4は通信制御装置3に対してポーリング指示
を行うためのポーリング指示手段40と通信制御装置3
内にあるEOT受信フラグ32の入出力を行うためのE
OT受信フラグアクセス手段41を有している。中央処
理装置4はEOTフラグアクセス手段41によって通信
制御装置3内にあるポーリングに対してEOTを受信し
たかを示すEOT受信フラグ32に初期状態を書き込み
、ポーリング指示手段40を用いて通信制御装置3にポ
ーリング指示を行う。通信制御装置3はポーリングを送
信する相手のリストであるポーリングリスト30によっ
て従属局2に対してポーリング送信を行う。ポーリング
に対してEOTを受信したとき、通信制御装置3はEO
T受信フラグ設定手段31を用いてEOT受信フラグ3
2にEOTを受信したことを設定しポーリングリスト3
0に従い再度ポーリングを送信する。ポーリングに対し
て無応答を検出したとき、通信制御装置3は中央処理装
置3は中央処理装置4に対して割り込みを発生させる。
In FIG. 1, a control station 1 and a dependent station 2 are connected by one or more communication lines, and the control station 1 includes a communication control device 3 and a central processing unit 4.
is a polling list 30. which indicates the parties to which polls are sent. EOT reception flag 32 indicating whether or not EOT has been received. and an EOT reception flag setting 31 for setting the EOT reception flag 32 to indicate that the EOT has been received, and the central processing unit 4 includes a polling instruction means 40 for instructing the communication control device 3 to poll, and a polling instruction means 40 for instructing the communication control device 3 to poll.
E for inputting and outputting the EOT reception flag 32 in
It has an OT reception flag access means 41. The central processing unit 4 uses the EOT flag access means 41 to write an initial state to the EOT reception flag 32 indicating whether an EOT has been received in response to polling in the communication control device 3, and uses the polling instruction means 40 to write the initial state to the EOT reception flag 32 indicating whether an EOT has been received in response to polling in the communication control device 3. A polling instruction is given to The communication control device 3 performs polling transmission to the dependent station 2 using a polling list 30 that is a list of parties to which polling is to be sent. When receiving EOT in response to polling, communication control device 3
The EOT reception flag 3 is set using the T reception flag setting means 31.
2 to indicate that an EOT has been received and polling list 3
0 and sends polling again. When detecting no response to polling, the communication control device 3 causes the central processing unit 3 to generate an interrupt to the central processing unit 4.

割り込みを受は取った中央処理装置4はEOT受信フラ
グアクセス手段41を用いてEOT受信フラグ32を読
込みEOT受信フラグ32の状態をチエツクすることに
よってEOTを受信したか否かを知ることができる。
The central processing unit 4 that has received the interrupt reads the EOT reception flag 32 using the EOT reception flag access means 41, and by checking the state of the EOT reception flag 32, can know whether or not the EOT has been received.

第2図はEOT受信フラグ32を示す。第2図において
、従属局からのポーリングに対してEOTを受信したと
きのEOT受信フラグ32の状態をON状態(1)とし
、EOTを受信していない場合のEOT受信フラグ32
の状態をOFF状態(0)としたときの連続した無応答
の検出例を第3図を用いて説明する。
FIG. 2 shows the EOT reception flag 32. In FIG. 2, the state of the EOT reception flag 32 when an EOT is received in response to polling from a dependent station is set to the ON state (1), and the EOT reception flag 32 when no EOT is received.
An example of continuous non-response detection when the state is set to the OFF state (0) will be described with reference to FIG.

従属局2に対してポーリングを送信するとき、中央処理
装置4はEOT受信フラグ32を○FF状態320にし
てポーリング指示を通信制御装置3に対して呂す。通信
制御装置3はポーリング500の従属局2に送信を行う
。従属局2からポーリング500に対する応答としてE
OT600を受信したとき、通信制御装置3はEOT受
信フラグ32をON状態321にしてポーリング510
を送信する。T1の時点400に送信したポーリング5
10に対する応答が無応答監視時間tが経過したT2の
時点410までに返送されてこない場合に通信制御装置
3は中央処理装置4に対して割り込みを発生させる。中
央処理装置4は無応答の割り込みを受は付けた場合、E
OT受信フラグ32の状態を読込む。EOTフラグ32
はON状a321であるので、中央処理装置4は無応答
以前にEOT600を通信制御装置3が受信しているこ
とが判るので連続した無応答でないと判断する。中央処
理装置4はEOT受信フラグ32を再度OFF状!B5
22にしてポーリング指示を通信制御装置3に出す、通
信制御装置3はポーリング520を従属局2に対して送
信する。ポーリング520を送信したT3の時点420
から無応答監視時間tを経過したT4の時点430まで
にポーリング520に対する応答を受信しなかったとき
、通信制御装置3はポーリング510に対しての応答を
受信しなかったときと同様に中央処理装置4に対して割
り込みを発生させる。中央処理装置4がEOT受信フラ
グ32を読込んだとき、EOT受信フラグ32はOFF
状態322のままであるので、中央処理装置4は無応答
以前も無応答であると判るので連続した無応答であると
判断することができる。
When transmitting polling to the dependent station 2, the central processing unit 4 sets the EOT reception flag 32 to the FF state 320 and issues a polling instruction to the communication control unit 3. The communication control device 3 transmits polling 500 to the dependent station 2. E as a response to polling 500 from dependent station 2
When receiving OT600, communication control device 3 turns EOT reception flag 32 into ON state 321 and performs polling 510.
Send. Poll 5 sent at time 400 of T1
If the response to 10 is not returned by time 410 of T2 when the non-response monitoring time t has elapsed, the communication control device 3 generates an interrupt to the central processing device 4. When the central processing unit 4 accepts an unresponsive interrupt,
Read the state of the OT reception flag 32. EOT flag 32
is in the ON state a321, so the central processing unit 4 knows that the communication control unit 3 has received the EOT 600 before no response, so it determines that there is no continuous no response. The central processing unit 4 turns the EOT reception flag 32 off again! B5
22, a polling instruction is issued to the communication control device 3, and the communication control device 3 transmits polling 520 to the dependent station 2. Time 420 in T3 when polling 520 was sent
When the response to the polling 520 is not received by time 430 at T4 when the non-response monitoring time t has elapsed since then, the communication control device 3 returns to the central processing unit in the same way as when it did not receive the response to the polling 510. Generates an interrupt for 4. When the central processing unit 4 reads the EOT reception flag 32, the EOT reception flag 32 is OFF.
Since the state 322 remains, the central processing unit 4 can determine that there is a continuous non-response because it knows that there was no response before the non-response.

第4図は通信制御装置内でポーリングに対する起動イベ
ントが発生したときの処理の流れの例である、第4図に
おいて通信制御装置は起動イベントがEOT受信か否か
の判断を行い(処理50)、EOT受信であった場合は
EOT受信フラグにEOT受信の設定(処理51)を行
って、ポーリング送信を再度行う。EOT受信できなか
った場合は中央処理装置に割り込みを発生させる(処理
53)。
FIG. 4 is an example of the flow of processing when an activation event for polling occurs in the communication control device. In FIG. 4, the communication control device determines whether the activation event is EOT reception (process 50). If it is EOT reception, the EOT reception flag is set to EOT reception (process 51), and polling transmission is performed again. If the EOT cannot be received, an interrupt is generated in the central processing unit (processing 53).

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は通信制御装置内にポーリ
ングに対してEOTを受信したことの情報を持つEOT
受信フラグを持たせ、中央処理装置が無応答検出の割り
込みを受けた場合にEOT受信フラグを読込みEOT受
信フラグの状態を判別することにより、送受信データの
ないアイドル状態において中央処理装置に負荷をかける
ことなく制御局が従属局の連続した無応答を検出できる
効果がある。
As explained above, the present invention provides an EOT that has information indicating that an EOT has been received in response to polling in a communication control device.
By providing a reception flag and reading the EOT reception flag and determining the state of the EOT reception flag when the central processing unit receives an interrupt due to no response detection, the load is placed on the central processing unit in an idle state where there is no data to be sent or received. This has the effect that the control station can detect consecutive non-responses from dependent stations without any problems.

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

第1図は本発明の一実施例を示す構成図、第2図はEO
T受信フラグを示す図、第3区は中央処理装置が従属局
の連続した無応答を検出する例を示すフローチャート図
、第4図は通信制御装置内でポーリングに対する起動イ
ベントが発生した場合の処理の流れを示す図である。 1・・・制御局、2・・・従属局、3・・・通信制御装
置、4・・・中央処理装置、30・・・ポーリングリス
ト、31・・・EOT受信プラグ設定手段、32・・・
EOT受信フラグ、40・・・ポーリング指示手段、4
1・・・EOT受信フラグアクセス手段、50・・・判
断条件、51・・・EOT受信フラグ設定処理、52・
・・ポーリング送信処理、53・・・割り込み発生処理
、320・・・EOT受信フラグOFF状態、321・
・・EOT受信受信フラグ状N状態22・・・EOT受
信フラグOFF状態、400・・・無応答監視開始時点
T1.410・・・無応答監視終了時点T2.420・
・・無応答監視開始時点T3.430・・・無応答管理
終了時点T4.500・・・ポーリング、510・・・
ポーリング、520・・・ポーリング、600・・・E
OT。
Figure 1 is a configuration diagram showing an embodiment of the present invention, Figure 2 is an EO
The figure showing the T reception flag, the third section is a flowchart showing an example in which the central processing unit detects consecutive non-responses from dependent stations, and the fourth figure shows the processing when a trigger event for polling occurs in the communication control device. FIG. DESCRIPTION OF SYMBOLS 1... Control station, 2... Dependent station, 3... Communication control device, 4... Central processing unit, 30... Polling list, 31... EOT reception plug setting means, 32...・
EOT reception flag, 40...Polling instruction means, 4
1... EOT reception flag access means, 50... Judgment condition, 51... EOT reception flag setting process, 52.
... Polling transmission processing, 53 ... Interrupt generation processing, 320 ... EOT reception flag OFF state, 321.
... EOT reception reception flag state N state 22 ... EOT reception flag OFF state, 400 ... No-response monitoring start time T1.410 ... No-response monitoring end time T2.420.
...Start time of non-response monitoring T3.430... End time of non-response management T4.500...Polling, 510...
Polling, 520...Polling, 600...E
O.T.

Claims (1)

【特許請求の範囲】[Claims] 通信制御装置と中央処理装置を含んで構成されるポーリ
ング制御方式の制御局において、中央処理装置からのポ
ーリング指示によりポーリングリストに従ってポーリン
グを送信し、データあるいはデータの送信がないことを
表す制御符号(以下、EOTとする)の受信および無応
答の検出を行う機能を持ち、データ受信あるいは無応答
の検出をすると中央処理装置に割り込みを発生させ、E
OT受信時に再度ポーリングを送信する通信制御装置に
EOT受信時にEOTを受信したことを示すEOT受信
フラグと、EOT受信フラグを設定するEOT受信フラ
グ設定手段を持たせ、中央処理装置にはEOT受信フラ
グの入出力を行うためEOT受信フラグアクセス手段と
ポーリング指示を行うポーリング指示手段を持たせ、中
央処理装置からのポーリング指示によって通信制御装置
がポーリングを送信したとき、ポーリングに対して無応
答となった場合に発生した無応答が前回に発生した無応
答と連続して発生したか否かを中央処理装置が通信制御
装置内に持つEOT受信フラグをEOT受信フラグアク
セス手段を用いて、EOT受信フラグを入力することに
よりEOT受信フラグの状態を参照することによって知
ることを特徴とするポーリング無応答監視方式。
In a control station using a polling control method that includes a communication control device and a central processing unit, polling is transmitted according to a polling list in response to a polling instruction from the central processing unit, and a control code (representing data or no data being transmitted) is sent. It has the function of receiving EOT (hereinafter referred to as EOT) and detecting no response, and when it receives data or detects no response, it generates an interrupt to the central processing unit.
The communication control device that sends polling again when receiving OT is provided with an EOT reception flag that indicates that EOT has been received when EOT is received, and an EOT reception flag setting means for setting the EOT reception flag, and the central processing unit is provided with an EOT reception flag that indicates that EOT has been received. EOT reception flag access means and polling instruction means for issuing polling instructions are provided for inputting and outputting data, and when the communication control device sends polling in response to a polling instruction from the central processing unit, there is no response to the polling. The central processing unit uses the EOT reception flag access means to check whether the non-response that occurred is consecutive to the previous non-response or not. A polling non-response monitoring method characterized in that the state of an EOT reception flag is known by inputting it by referring to it.
JP4989490A 1990-02-28 1990-02-28 Polling non-reply monitor system Pending JPH03250941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4989490A JPH03250941A (en) 1990-02-28 1990-02-28 Polling non-reply monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4989490A JPH03250941A (en) 1990-02-28 1990-02-28 Polling non-reply monitor system

Publications (1)

Publication Number Publication Date
JPH03250941A true JPH03250941A (en) 1991-11-08

Family

ID=12843735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4989490A Pending JPH03250941A (en) 1990-02-28 1990-02-28 Polling non-reply monitor system

Country Status (1)

Country Link
JP (1) JPH03250941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06508230A (en) * 1992-04-01 1994-09-14 ノキア テレコミュニカシオンス オサケ ユキチュア Change distribution method for fault tolerance in distributed database systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06508230A (en) * 1992-04-01 1994-09-14 ノキア テレコミュニカシオンス オサケ ユキチュア Change distribution method for fault tolerance in distributed database systems

Similar Documents

Publication Publication Date Title
US6122256A (en) Fail-safe communications network for use in system power control
JPH03250941A (en) Polling non-reply monitor system
JPS61117949A (en) Start-stop line control device
JP3903298B2 (en) Fire alarm system
JP2605582Y2 (en) Emergency call system
JP2618890B2 (en) Abnormal transmission detection method
KR940000704B1 (en) Subscripter emergency distinguishing method for remote information system
JP3116476B2 (en) Redundant switching method
JPH01209835A (en) Multi-address response control system
JPH04260255A (en) Data transmitter
JPS6038951A (en) Communication processing device
JP3463146B2 (en) Communication control method and device
JPS61245740A (en) Time division multiplex transmission system
JPS62154830A (en) Communication line scheduling system
JPH02217039A (en) Poling/selecting control procedure system
JPS63207297A (en) Centralized monitor equipment
JPS62126735A (en) Emergency communication system
JPS6292544A (en) Data transmission equipment
JPS62175836A (en) Health check system in data processing system
JPH0738603B2 (en) Communication monitoring device
JPS60177748A (en) Circuit controlling system
JPH06224919A (en) Lan system
JPH05257913A (en) Health check system
JPH04332230A (en) Communication control system
JPH04239339A (en) Request answer monitoring system