JP2867922B2 - Polling method - Google Patents

Polling method

Info

Publication number
JP2867922B2
JP2867922B2 JP7174568A JP17456895A JP2867922B2 JP 2867922 B2 JP2867922 B2 JP 2867922B2 JP 7174568 A JP7174568 A JP 7174568A JP 17456895 A JP17456895 A JP 17456895A JP 2867922 B2 JP2867922 B2 JP 2867922B2
Authority
JP
Japan
Prior art keywords
polling
slave station
counter
station
slave
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.)
Expired - Fee Related
Application number
JP7174568A
Other languages
Japanese (ja)
Other versions
JPH0927989A (en
Inventor
靖 樋口
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7174568A priority Critical patent/JP2867922B2/en
Publication of JPH0927989A publication Critical patent/JPH0927989A/en
Application granted granted Critical
Publication of JP2867922B2 publication Critical patent/JP2867922B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、通信装置の監視制御方
式の一つであるポーリング方式に関し、特に衛星地球局
の監視制御装置に該当する親局がローカル装置である子
局に対してポーリングを行う場合のポーリング方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a polling system which is one of monitoring and controlling systems for communication devices, and more particularly, a master station corresponding to a monitoring and controlling device of a satellite earth station polls a slave station which is a local device. The polling method when performing

【0002】[0002]

【従来の技術】従来、この種のポーリング方式は、親局
と子局とのポーリングにおいて子局に対するポーリング
方式、リトライ回数等の変更により、子局の監視情報の
取得を効率化し、情報取得までの時間の短縮を目的とし
て用いられている。例えば特開平3−24838号公報
には、予めデータ収集開始指令を全子局に対して行い、
その開始指令により子局はデータを予め作成しておき、
その応答情報を次回ポーリング時に編集することなく、
親局に返送するという方法により時間短縮を目的とした
方式が記載されている。また、特開平3−13755号
公報には、状態変化がある子局に対してポーリングを行
い、その状態変化の情報を得るという方式が記載されて
いる。さらに、特開平1−228238号公報には、あ
る子局に対し制御命令をした際に、その命令に対する応
答を次回の親局からのポーリングを待つことなく直ちに
親局に返すことにより制御に対する応答の時間短縮を目
的とした方式が記載されている。
2. Description of the Related Art Conventionally, this type of polling method makes the acquisition of monitoring information of a slave station more efficient by changing the polling method for the slave station and the number of retries in polling between the master station and the slave station. It is used for the purpose of shortening the time. For example, in Japanese Patent Application Laid-Open No. 3-24838, a data collection start command is issued to all slave stations in advance,
The slave station prepares data in advance by the start command,
Without editing the response information at the next polling,
It describes a method for shortening the time by returning it to the master station. Japanese Patent Application Laid-Open No. Hei 3-13755 discloses a method in which polling is performed on a slave station having a state change to obtain information on the state change. Japanese Patent Application Laid-Open No. 1-228238 discloses that when a control command is issued to a certain slave station, a response to the command is immediately returned to the master station without waiting for the next polling from the master station. A method aimed at shortening the time is described.

【0003】[0003]

【発明が解決しようとする課題】しかし、これら従来の
ポーリング方式は、子局の状態変化を親局に通知する場
合の時間短縮を主な目的としており、複数の子局に状態
変化があった場合には、複数の子局に対して優先順位を
つけられていない為、子局情報の取得までの時間短縮が
はかれない場合がある。また、特開平3−13755号
公報の発明において、状態変化がある子局に対して優先
して状態変化の情報を得る方式では、全子局に状態変化
がある場合、全子局に対し均等にポーリングしているの
と変わらない。また、特開平1−228238号公報の
発明において、制御に対する応答(状態変化)のみを即
時に親局に対し通知する方式では、親局から制御に関係
のない子局の状態変化に対しては、時間短縮または優先
順位を変更するということを行うことができない。ま
た、親局とある子局との伝送路上の不具合を判断してい
ないため、伝送路上に不具合がある場合には、その子局
に対しては通常のポーリングを行うため、必ずリトライ
をしなければならず、他の子局の状態変化を親局に通知
するまでにリトライ回数分時間が必要となる。
However, these conventional polling methods have a main purpose of shortening the time when notifying the status change of the slave station to the master station, and there has been a status change in a plurality of slave stations. In such a case, since the priorities are not assigned to the plurality of slave stations, the time required to acquire the slave station information may not be reduced. Also, in the invention of JP-A-3-13755, in the method of obtaining status change information preferentially to a slave station having a status change, if all the slave stations have a status change, the status is equally applied to all the slave stations. It's no different from polling for. In the method disclosed in Japanese Patent Application Laid-Open No. 1-228238, only a response (state change) to control is immediately notified to the master station. To reduce time or change priorities. In addition, since a failure on the transmission path between the master station and a certain slave station has not been determined, if there is a failure on the transmission path, the slave station must be retried in order to perform normal polling. Rather, it takes time for the number of retries to notify the master station of a status change of another slave station.

【0004】[0004]

【課題を解決するための手段】 上述した問題点を解決
するため、本発明のポーリング方式では、親局装置と複
数の子局装置間で被監視制御情報の伝送を行うポーリン
グ方式において、親局装置と複数の子局装置間で被監視
制御情報の伝送を行うポーリング方式において、親局装
置は、前記子局のそれぞれに対し、ポーリングを行う
回数を定めたポーリング基準値と、前記子局のポーリ
ングの優先順位を定めた優先度数と、前記子局に対して
行ったポーリングに対してリトライとなった場合のリト
ライ数をカウントするリトライカウンタを予め設定し、
メモリに記憶する手段と、前記子局からの応答がなけれ
ば前記リトライカウンタを1増大し、応答がある場合に
は前記リトライカウンタから1引いて前記リトライカウ
ンタの値を計算するリトライカウンタ計算手段と、前記
ポーリングの基準値から前記優先度数と前記リトライカ
ウントの和を減算してポーリングカウンタの値を算出す
ポーリングカウンタ算出手段と、前記リトライカウン
タ計算手段と前記ポーリングカウンタ算出手段を繰り返
し行い前記ポーリングカウンタの値が0となっていない
最大の子局を検出して前記子局に対してポーリングを行
うポーリング手順変更手段とを有することを特徴とす
る。
In order to solve the above-mentioned problems, a polling method according to the present invention employs a polling method for transmitting monitored control information between a master station device and a plurality of slave station devices. in the polling method between a device and a plurality of slave stations performs transmission of the supervisory control information, the master station apparatus, for each slave station, polling top
A polling reference value that determines a large number of times, a priority number that determines the priority of polling of the slave station, and a retry counter that counts the number of retries when retrying polling performed on the slave station Is set in advance,
Means to store in memory and no response from the slave station
For example, the retry counter is incremented by 1 and if there is a response,
Subtracts 1 from the retry counter and
A retry counter calculation means for calculating the value of the pointer, and polling counter calculating means for calculating the value of the polling counter by subtracting the sum of the retry count and the priority numbers from a reference value of the polling, the retry count
Data calculation means and the polling counter calculation means are repeated.
And the polling counter value is not 0
Detects the largest slave station and polls the slave station .
Polling procedure changing means.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0006】図1は本発明の監視制御システムのマルチ
ポイント構成を示した図であるが、親局1に対し子局2
−1〜2−nを伝送路3でマルチポイントに接続し、親
局1は子局2−1〜2−nに対し呼び出し方式のポーリ
ングを行う。
FIG. 1 is a diagram showing a multipoint configuration of a monitoring and control system according to the present invention.
-1 to 2-n are connected to the multipoint via the transmission line 3, and the master station 1 polls the slave stations 2-1 to 2-n in a calling system.

【0007】次に、図2,3,4を用いて親局1と子局
2−1〜2−nのポーリング処理について説明する。
Next, the polling process of the master station 1 and the slave stations 2-1 to 2-n will be described with reference to FIGS.

【0008】はじめに図2のブロック図について説明す
る。親局1のポーリング処理部9ではオペレータによっ
て予めメモリー10内に定められたポーリング基準値5
及び優先度数6を参照する。
First, the block diagram of FIG. 2 will be described. In the polling processing section 9 of the master station 1, a polling reference value 5 previously determined in the memory 10 by the operator.
And the priority number 6.

【0009】ここでポーリング基準値とは、各子局に対
して最大何回までポーリングを行うかを表わす数値をい
う。この回数は、子局の数やポーリング時間に応じて決
められる値であり、予め一定の値に設定される。
[0009] Here, the polling reference value is a numerical value indicating the maximum number of times of polling for each slave station. This number is a value determined according to the number of slave stations and the polling time, and is set to a fixed value in advance.

【0010】また、ポーリング優先度とは、子局の監視
制御項目の内容に応じて選ばれる値である。すなわち、
監視制御項目の内容が重要であったり、短時間に内容が
変化して行くものは、より厳密に監視制御する必要があ
るため優先度は高いとする。一方、監視制御項目の内容
があまり重要なものでなかったり、短時間には内容が変
化しないものは、優先度が低いこととなる。
[0010] The polling priority is a value selected according to the content of the monitoring control item of the slave station. That is,
If the content of the monitoring control item is important or changes in a short period of time, it is necessary to monitor and control more strictly, so that the priority is high. On the other hand, if the content of the monitoring control item is not very important or does not change in a short time, the priority is low.

【0011】この値は、各局の監視制御の内容に応じ変
わるため、各局ごとにある値に予め決められるが、親局
から子局に対して送信要求信号を出して応答が得られる
確率、すなわち、応答の収集率に応じて変わることとな
る。すなわち、応答の収集率が高い子局に対しては、ポ
ーリング優先度を高くし、応答の収集率が低い子局に対
しては、ポーリング優先度を低くするよう設定される。
Since this value changes according to the content of the monitoring control of each station, it is predetermined to a certain value for each station. However, the probability that a response is obtained by issuing a transmission request signal from the master station to the slave station, that is, , Depending on the response collection rate. That is, the polling priority is set to be higher for a slave station having a higher response collection rate, and the polling priority is set to be lower for a slave station having a lower response collection rate.

【0012】なお、子局の構成は、詳細は記載しない
が、親局からのポーリング信号を受けて応答する機能を
有している。
Although the configuration of the slave station is not described in detail, it has a function of receiving a polling signal from the master station and responding.

【0013】子局ポーリングカウンタ8の算出方法は、
ポーリング基準値5をm、特定の子局2の優先度数6を
aとしてポーリング処理を開始し、当該子局2からの応
答を待ち、応答が無い場合はリトライカウンタ7を1増
やし、子局ポーリングカウンタ8をそのリトライカウン
タ7を増やした分、減算する(m−a−1)。この処理
を子局ポーリングカウンタ8が0となるまで繰り返す。
The calculation method of the slave station polling counter 8 is as follows.
The polling process is started by setting the polling reference value 5 to m and the priority number 6 of the specific slave station 2 to a, and waits for a response from the slave station 2. If there is no response, the retry counter 7 is incremented by 1, and the slave station polls. The counter 8 is decremented by the increment of the retry counter 7 (ma-1). This process is repeated until the slave station polling counter 8 becomes zero.

【0014】次に、図3のポーリング処理のフローにつ
いて説明する。
Next, the flow of the polling process of FIG. 3 will be described.

【0015】はじめ子局ポーリングカウンタ8をその時
点での最大数であるポーリング基準値5を設定し(S
2)、またリトライカウンタ7を0にセットする(S
3)。
First, a polling reference value 5 which is the maximum number at that time is set in the slave station polling counter 8 (S
2) Also, the retry counter 7 is set to 0 (S
3).

【0016】ポーリング処理を開始し(S4)、子局ポ
ーリングカウンタ8が最大である子局2のアドレスを検
索し、当該子局2に対しポーリングを行う(S6)。
The polling process is started (S4), the address of the slave station 2 having the maximum slave station polling counter 8 is searched, and the slave station 2 is polled (S6).

【0017】当該子局2からの応答が無い場合(S7)
は、リトライカウンタ7を+1し(S12)、リトライ
カウンタ7の最大値である3と比較する(S13)。リ
トライカウンタ7が最大値3を越えていない場合は、再
度当該子局2に対しポーリングを行う。
When there is no response from the slave station 2 (S7)
Increments the retry counter 7 by 1 (S12) and compares it with 3 which is the maximum value of the retry counter 7 (S13). If the retry counter 7 does not exceed the maximum value 3, polling of the slave station 2 is performed again.

【0018】当該子局2からの応答が有る場合は、子局
ポーリングカウンタ数から1を引く(S15)。
If there is a response from the slave station 2, 1 is subtracted from the slave station polling counter number (S15).

【0019】リトライカウンタ7が最大値3を越えた場
合と正常に当該子局2からの応答があった場合は、ポー
リングの対象となった子局2の子局ポーリングカウンタ
8からリトライカウンタ7数を減算する(S8)。次に
ポーリング対象となった子局2の子局ポーリングカウン
タ8から優先度数6を減算する(S9)。
When the retry counter 7 exceeds the maximum value 3 and when there is a normal response from the slave station 2, the retry counter 7 is counted from the slave station polling counter 8 of the slave station 2 to be polled. Is subtracted (S8). Next, the priority number 6 is subtracted from the slave station polling counter 8 of the slave station 2 to be polled (S9).

【0020】子局ポーリングカウンタ8が0より小さく
なった場合は子局ポーリングカウンタ8を0にリセット
する。子局ポーリングカウンタ8が0より大きい場合
は、全子局2の子局ポーリングカウンタ8が0となるま
で以上のポーリング処理を行う(S10)。
When the slave station polling counter 8 becomes smaller than zero, the slave station polling counter 8 is reset to zero. If the slave station polling counter 8 is larger than 0, the above polling process is performed until the slave station polling counters 8 of all the slave stations 2 become 0 (S10).

【0021】全子局2の子局ポーリングカウンタ8が0
となった場合(S11)は、すべての子局2の子局ポー
リングカウンタ8を最大値であるポーリング基準値5を
セットする(S2)。以上のポーリング処理を繰り返し
行う。
The slave station polling counter 8 of all slave stations 2 is set to 0.
When (S11), the polling reference value 5 which is the maximum value is set in the slave station polling counters 8 of all the slave stations 2 (S2). The above polling process is repeated.

【0022】図4は、以上説明したポーリング処理のプ
ログラムを記憶した親局のポーリング優先度数表を示し
た図である。各子局2−1〜2−n毎にアドレス1〜n
を持ち、それぞれ子局ポーリングカウンタにm−a−
x,m−b−y,…m−c−z,m−c−xが設定され
ることを示している。
FIG. 4 is a diagram showing a polling priority number table of the master station storing the above-described polling processing program. Address 1 to n for each slave station 2-1 to 2-n
, And ma-a-
x, mby,... mcz, mcx are set.

【0023】[0023]

【発明の効果】以上説明したように、本発明は、複数の
子局と親局をマルチポイントで接続した場合に、子局ポ
ーリングカウンタをポーリング基準値から子局の優先度
数とリトライカウンタを減算して決定することにより、
親局から子局に対するポーリング手順を変更可能とし、
複数存在する子局に対し優先順位を設定することができ
る。
As described above, according to the present invention, when a plurality of slave stations and a master station are connected at multipoint, the slave station polling counter subtracts the priority number of the slave station and the retry counter from the polling reference value. By deciding,
The polling procedure from the master station to the slave station can be changed,
Priority can be set for a plurality of slave stations.

【0024】また、伝送路上の不具合により発生するリ
トライ回数を子局ポーリングカウンタの算出に加えたた
め、特定の子局に対するリトライにより発生する時間遅
延を減少させることができるため、リトライの発生して
いない正常子局に対して優先して監視情報を取得するこ
とができる。
Also, since the number of retries generated due to a fault on the transmission line is added to the calculation of the slave station polling counter, the time delay caused by retries to a specific slave station can be reduced, and no retry occurs. The monitoring information can be acquired with priority over the normal slave station.

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

【図1】本発明の実施例を適用するマルチポイント構成
を示すブロック図である。
FIG. 1 is a block diagram showing a multipoint configuration to which an embodiment of the present invention is applied.

【図2】本発明の親局のブロック図である。FIG. 2 is a block diagram of a master station according to the present invention.

【図3】本発明のポーリング処理のフロー図である。FIG. 3 is a flowchart of a polling process of the present invention.

【図4】子局ポーリングカウンタ、優先度数、ポーリン
グ基準値、リトライカウンタそれぞれの関係を表した図
である。
FIG. 4 is a diagram illustrating a relationship among a slave station polling counter, a priority number, a polling reference value, and a retry counter.

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

1 親局 2 子局 3 伝送路 4 アドレス 5 ポーリング基準値 6 優先度数 7 リトライカウンタ 8 子局ポーリングカウンタ 9 ポーリング処理部 1 master station 2 slave station 3 transmission line 4 address 5 polling reference value 6 priority number 7 retry counter 8 slave station polling counter 9 polling processing unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 親局装置と複数の子局装置間で被監視制
御情報の伝送を行うポーリング方式において、 親局装置は、前記子局のそれぞれに対し、ポーリングを
行う最大回数を定めたポーリング基準値と、前記子局の
ポーリングの優先順位を定めた優先度数と、前記子局に
対して行ったポーリングに対してリトライとなった場合
のリトライ数をカウントするリトライカウンタを予め設
定し、メモリに記憶する手段と、前記子局からの応答がなければ前記リトライカウンタを
1増大し、応答がある場合には前記リトライカウンタか
ら1引いて前記リトライカウンタの値を計算するリトラ
イカウンタ計算手段と、 前記ポーリングの基準値から前記優先度数と前記リトラ
イカウントの和を減算してポーリングカウンタの値を算
出するポーリングカウンタ算出手段と、前記リトライカウンタ計算手段と前記ポーリングカウン
タ算出手段を繰り返し行い前記ポーリングカウンタの値
が0となっていない最大の子局を検出して前記 子局に対
してポーリングを行うポーリング手順変更手段とを有す
ることを特徴とするポーリング方式。
In a polling method for transmitting monitored control information between a master station and a plurality of slave stations, the master station determines a maximum number of polling times for each of the slave stations. A reference value, a priority number that determines the priority of polling of the slave station, and a retry counter that counts the number of retries when retrying the polling performed on the slave station are set in advance. And the retry counter if there is no response from the slave station.
Increment by 1
Subtracting 1 from the retry counter to calculate the value of the retry counter
And Ikaunta calculating means, and the polling counter calculating means for calculating the value of the polling counter by subtracting the sum of the priority numbers and the retry <br/> Lee counted from a reference value of the poll, the polling and the retry counter calculating means Coun
The polling counter value by repeating the data calculation means.
Detects the largest slave station that does not become 0 and responds to the slave station .
A polling procedure changing means for performing polling by means of a polling method.
JP7174568A 1995-07-11 1995-07-11 Polling method Expired - Fee Related JP2867922B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7174568A JP2867922B2 (en) 1995-07-11 1995-07-11 Polling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7174568A JP2867922B2 (en) 1995-07-11 1995-07-11 Polling method

Publications (2)

Publication Number Publication Date
JPH0927989A JPH0927989A (en) 1997-01-28
JP2867922B2 true JP2867922B2 (en) 1999-03-10

Family

ID=15980842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7174568A Expired - Fee Related JP2867922B2 (en) 1995-07-11 1995-07-11 Polling method

Country Status (1)

Country Link
JP (1) JP2867922B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3450248B2 (en) 2000-01-19 2003-09-22 エヌイーシー東芝スペースシステム株式会社 Data bus control method for artificial satellite and its system
US6498110B2 (en) 2001-03-05 2002-12-24 Micron Technology, Inc. Ruthenium silicide wet etch
JP4812583B2 (en) * 2006-09-29 2011-11-09 三洋電機株式会社 Integrated control device and integrated control system

Also Published As

Publication number Publication date
JPH0927989A (en) 1997-01-28

Similar Documents

Publication Publication Date Title
JP3392320B2 (en) Bus recovery apparatus and method for multi-master bus system
US4639889A (en) System for controlling communication between a main control assembly and programmable terminal units
EP0932090B1 (en) Plant supervisory system
JP2867922B2 (en) Polling method
JPH04337896A (en) Method for collecting data by radio
JP2993083B2 (en) Polling monitoring control method
JP2937852B2 (en) Base station monitoring and control device
JPH07162426A (en) Polling equipment for remote controller
JP2945830B2 (en) Communication method of building management device
JPH04260242A (en) Monitor information collecting system
JPS6179341A (en) Terminal controlling system
JPH10150493A (en) Network monitoring system
JP2822942B2 (en) Token failure detection method
JP2725385B2 (en) Data transfer method of information processing system
JPH0370297A (en) Remote supervisory controller
JP2570159B2 (en) Polling method
JPH03288242A (en) Load controlling method for computer system
JPH0660017A (en) Collision circuit
JPS6360429B2 (en)
JPH05304536A (en) Congestion discrimination system in asynchronous transfer mode
JP2676609B2 (en) Data transmission method
JPH10126860A (en) Method for collecting data for remote monitoring device
JPH0684083A (en) Information transmitting system for building management system
JPH04364628A (en) State information collection system
JPS62154830A (en) Communication line scheduling system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981124

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

Free format text: PAYMENT UNTIL: 20071225

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081225

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091225

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees