JPH08251208A - Polling system - Google Patents

Polling system

Info

Publication number
JPH08251208A
JPH08251208A JP7052120A JP5212095A JPH08251208A JP H08251208 A JPH08251208 A JP H08251208A JP 7052120 A JP7052120 A JP 7052120A JP 5212095 A JP5212095 A JP 5212095A JP H08251208 A JPH08251208 A JP H08251208A
Authority
JP
Japan
Prior art keywords
polling
station
signal
stations
priority
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.)
Withdrawn
Application number
JP7052120A
Other languages
Japanese (ja)
Inventor
Koichi Maruta
晃一 丸田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7052120A priority Critical patent/JPH08251208A/en
Publication of JPH08251208A publication Critical patent/JPH08251208A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To facilitate a move control of a polling station and to perform the operation proper for a communication line fault by stopping a polling operation when it is recognized that the priority of its own station is low while the its own station and the other station perform the polling operations. CONSTITUTION: A polling control part 10 is provided with a reception part 11, transmission part 12, processing part 13, setting part 14 and timer 15. The reception part 11 receives a signal sent from the transmission part 12 through a line and outputs it to the processing part 13. Then, the processing part 13 starts/stops the polling operation of its own present station, and the setting part 14 sets the priority order for applying the polling right. First of all, the signal outputted from the reception part 11 is received for fixed time while referring to the time measuring signal of the timer 15 and during this operation, the polling signal is recognized together with the peculiar number of that station. In this case, it is judged whether the other station performs polling or not and when polling is performed, it is judged while referring to its own priority order at the setting part 14 whether polling at the present station can be most preferentially performed or not. When its rank is low, the polling operation is stopped.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はポーリング方式に関す
る。このポーリング方式は、無線又は有線通信システム
における子局の遠方監視等に適用されるものであり、ポ
ーリング制御を行うように定められた親局から複数の子
局へ順次ポーリング信号を送信し、これに応じて返送さ
れてくる子局の監視情報等を得るものである。
FIELD OF THE INVENTION The present invention relates to a polling system. This polling method is applied to remote monitoring of a slave station in a wireless or wired communication system, and a polling signal is sequentially transmitted from a master station determined to perform polling control to a plurality of slave stations. It is to obtain the monitoring information of the slave station which is returned in response to the request.

【0002】[0002]

【従来の技術】図9に従来のポーリング方式を説明する
ための通信システム図を示す。この図において、1は親
局、21 ,22 ,…2n は複数の子局である。親局1が
ポーリング制御を行うためのポーリング局として定めら
れている。また各子局21 〜2n へのポーリング順序は
予め定められており、親局1はその順序に従ってポーリ
ングを行うようになっている。
2. Description of the Related Art FIG. 9 is a communication system diagram for explaining a conventional polling method. In this figure, 1 is a master station, 2 1 , 2 2 , ... 2 n are a plurality of slave stations. The master station 1 is defined as a polling station for performing polling control. The polling order for each of the slave stations 2 1 to 2 n is predetermined, and the master station 1 performs polling in accordance with the order.

【0003】親局1が各子局21 〜2n に定められた順
序にポーリング信号P1,P2,…,Pnを送信する。
各子局21 〜2n は、そのポーリング信号P1〜Pnに
よって監視情報等を含む応答信号A1,A2,…,An
を親局1へ送信する。
The master station 1 transmits polling signals P1, P2, ..., Pn in the order determined by the slave stations 2 1 to 2 n .
The slave stations 2 1 to 2 n respond to the polling signals P1 to Pn with response signals A1, A2, ..., An including monitoring information and the like.
Is transmitted to the master station 1.

【0004】親局1は、その送信されてきた応答信号A
1〜Anから各子局21 〜2n の状態を認識するように
なっている。
The master station 1 receives the transmitted response signal A
The states of the slave stations 2 1 to 2 n are recognized from 1 to An .

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した従
来のポーリング方式においては、ポーリング局である親
局1の設置数は1つに限定されており、このため親局1
に何らかの故障が発生した場合にポーリングが行えなく
なる問題があった。
By the way, in the above-mentioned conventional polling system, the number of the master stations 1 which are polling stations is limited to one.
There was a problem that polling could not be performed if some failure occurred in the.

【0006】しかるに、ポーリング局を移動する等の何
らかの手段によって親局を複数設置したとしても、制御
手順が複雑なので容易にポーリング局を移動できない問
題が生じる。
However, even if a plurality of parent stations are installed by some means such as moving the polling station, the control procedure is complicated and the polling station cannot be easily moved.

【0007】更に、ポーリング局が1局なので通信回線
に故障が生じた場合、故障発生地点よりも下位局にはポ
ーリングが行えなくなり、下位局全てが監視できなくな
る問題があった。
Further, since there is only one polling station, when a failure occurs in the communication line, there is a problem that the lower stations from the failure occurrence point cannot be polled and all the lower stations cannot be monitored.

【0008】本発明は、このような点に鑑みてなされた
ものであり、ポーリング局の移動制御を容易にすること
により通信回線故障時に適正なポーリングを行うことが
できるポーリング方式を提供することを目的としてい
る。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a polling method capable of performing proper polling when a communication line fails by facilitating movement control of a polling station. Has an aim.

【0009】[0009]

【課題を解決するための手段】図1に本発明の原理図を
示す。ポーリング方式は、親局から複数の子局に対して
順次ポーリングを行い、その応答信号を受信することに
よって複数の子局の監視制御を行うものである。
FIG. 1 shows the principle of the present invention. In the polling method, a master station sequentially polls a plurality of slave stations and receives a response signal to monitor and control the plurality of slave stations.

【0010】本発明のポーリング方式は、全二重回線で
接続された複数の親局と複数の子局とに図1に示す各手
段を具備することによって実現したものである。図中、
21はポーリング制御手段であり、自局から他局に対し
てポーリング信号を送信することによりポーリング動作
を行うものである。22は受信手段であり、他局から送
られてきたポーリング信号を受信するものである。
The polling system of the present invention is realized by equipping a plurality of master stations and a plurality of slave stations connected by a full-duplex line with each means shown in FIG. In the figure,
Reference numeral 21 denotes a polling control means, which performs a polling operation by transmitting a polling signal from its own station to another station. Reference numeral 22 is a receiving means, which receives a polling signal sent from another station.

【0011】23は他局ポーリング認識手段であり、受
信手段22でポーリング信号が受信された際に他局がポ
ーリング動作を行っていることを認識するものである。
24は自局ポーリング認識手段であり、ポーリング制御
手段21の作動時に自局がポーリング動作を行っている
ことを認識するものである。
Reference numeral 23 denotes another station polling recognition means, which recognizes that another station is performing a polling operation when the polling signal is received by the receiving means 22.
Reference numeral 24 is a local station polling recognition means, which recognizes that the local station is performing a polling operation when the polling control means 21 is activated.

【0012】25は設定手段であり、ポーリング権の優
先度情報が設定されるものである。26は優先度認識手
段であり、受信手段22で受信されたポーリング信号が
どの局からのものであるかを認識し、この認識された局
と自局の優先度の高/低を優先度情報を参照して認識す
るものである。
Reference numeral 25 is a setting means for setting priority information of polling rights. Reference numeral 26 is a priority recognizing means, which recognizes from which station the polling signal received by the receiving means 22 is, and the priority information indicating the high / low priority of the recognized station and its own station. Is recognized by referring to.

【0013】27はポーリング起動手段であり、他局及
び自局ポーリング認識手段23,24で他局及び自局の
双方共にポーリング動作を行っていないと認識された際
に、ポーリング制御手段21のポーリング動作を起動す
るものである。
Numeral 27 is a polling activation means, which polls the polling control means 21 when the other station and its own station polling recognition means 23 and 24 recognize that neither the other station nor its own station is performing the polling operation. It is the one that activates the operation.

【0014】28はポーリング停止手段であり、他局及
び自局ポーリング認識手段23,24で他局及び自局の
双方がポーリング動作を行っていると認識され、かつ優
先度認識手段26により自局の優先度が低いと認識され
た際に、ポーリング制御手段21のポーリング動作を停
止するものである。
Numeral 28 is a polling stopping means, which is recognized by the other station and its own station polling recognition means 23 and 24 that both the other station and its own station are performing the polling operation, and the priority recognition means 26 shows the own station. The polling operation of the polling control means 21 is stopped when it is recognized that the priority is low.

【0015】[0015]

【作用】上述した本発明によれば、受信手段22におい
て、他局からのポーリング信号が受信されない場合、他
局ポーリング認識手段23において他局がポーリング動
作を行っていないと認識され、この時、自局ポーリング
認識手段24において自局がポーリング動作を行ってい
ないと認識されると、ポーリング起動手段27がポーリ
ング制御手段21によるポーリング動作の起動を行い、
この結果、自局から他局へポーリング信号が送信され
る。即ち、自局がポーリング権を得る。
According to the present invention described above, when the receiving means 22 does not receive the polling signal from the other station, the other station polling recognizing means 23 recognizes that the other station is not performing the polling operation. When the own station polling recognition means 24 recognizes that the own station is not performing the polling operation, the polling activation means 27 activates the polling operation by the polling control means 21,
As a result, the polling signal is transmitted from the own station to other stations. That is, the own station gets the polling right.

【0016】一方、受信手段22において、ポーリング
信号が受信されると、他局ポーリング認識手段23にお
いて他局がポーリング動作を行っていると認識され、こ
の時、自局ポーリング認識手段24において自局がポー
リング動作を行っていると認識され、更に優先度認識手
段26において、自局のポーリング権が受信ポーリング
信号の送信先である他局よりも優先度が低いと認識され
ると、ポーリング停止手段28がポーリング制御手段2
1によるポーリング動作の停止を行う。即ち、自局がポ
ーリング権を失う。
On the other hand, when the receiving means 22 receives the polling signal, the other station polling recognition means 23 recognizes that the other station is performing a polling operation, and at this time, the own station polling recognition means 24 recognizes the own station. Is recognized as performing the polling operation, and when the priority recognizing means 26 further recognizes that the polling right of the own station has a lower priority than the other station to which the reception polling signal is transmitted, the polling stopping means. 28 is polling control means 2
The polling operation by 1 is stopped. That is, the local station loses the polling right.

【0017】従って、従来のようにポーリング局が1つ
に限定されず、回線故障等でポーリング信号を全ての管
理対象の局に送信できなくなった場合に、ポーリング権
を移動し、他局をポーリング局とすることが可能とな
る。
Therefore, the number of polling stations is not limited to one as in the conventional case, and when the polling signal cannot be transmitted to all the managed stations due to a line failure or the like, the polling right is moved to poll other stations. It becomes possible to be a station.

【0018】[0018]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。図2は本発明の一実施例によるポーリン
グ方式を説明すための通信システムの構成を示す図であ
る。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing a configuration of a communication system for explaining a polling method according to an embodiment of the present invention.

【0019】この図において、符号31 〜3m は複数の
親局、41 〜4n は複数の子局、Pはポーリング局であ
り、各々全二重回線で接続されている。ポーリング局P
は、親局又は子局がポーリング権を取得することによっ
てポーリング局として機能しているものである。
[0019] In this figure, reference numeral 3 1 to 3 m is more than one parent station, 4 1 to 4 n is a plurality of slave stations, P is the polling station is connected on each duplex line. Polling station P
Is that the master station or the slave station functions as a polling station by acquiring the polling right.

【0020】また、符号P′で示すポーリング局は、回
線故障によってポーリング局Pで親局31 〜3m 及び子
局41 〜4n の何れかにポーリングが行えなくなった場
合に、後述で説明する優先順位に従って他の親局又は子
局にポーリング権が与えられ、これによってポーリング
局として機能するものである。
The polling station denoted by P'will be described later when the polling station P cannot poll any of the master stations 3 1 to 3 m and the slave stations 4 1 to 4 n due to a line failure. According to the priority described, the polling right is given to the other master station or the slave station, whereby the polling station functions.

【0021】このようにポーリング局P′を示したが、
他の親局31 〜3m 及び子局41 〜4n も同様にポーリ
ング権が与えられた場合、ポーリング局として機能する
ようになっている。
Although the polling station P'is shown above,
The other master stations 3 1 to 3 m and the slave stations 4 1 to 4 n also function as polling stations when the polling right is similarly given.

【0022】親局31 〜3m 及び子局41 〜4n は、ポ
ーリング局Pからポーリング信号P1〜Pnを受信した
際に、上り回線及び下り回線の双方に応答信号A1〜A
m及びa1〜anを送出する。この送出された応答信号
A1〜Am及びa1〜anは、親局及び子局で中継され
てポーリング局P及び他の親局へ送信される。
Upon receiving the polling signals P1 to Pn from the polling station P, the master stations 3 1 to 3 m and the slave stations 4 1 to 4 n respond to the response signals A1 to A on both the up and down lines.
m and a1-an are sent out. The transmitted response signals A1 to Am and a1 to an are relayed by the master station and the slave stations and transmitted to the polling station P and other master stations.

【0023】親局31 〜3m は、応答信号A1〜Amの
中に、子局41 〜4n に対する制御情報を共に送出し、
また、他の親局及び子局の応答信号を受信することによ
ってシステム内の情報を収集できるようになっている。
The master stations 3 1 to 3 m send control information for the slave stations 4 1 to 4 n together in the response signals A 1 to Am,
Also, information in the system can be collected by receiving response signals from other master stations and slave stations.

【0024】子局41 〜4n は、応答信号a1〜anの
送出時に、自己の監視情報を送出し、また、ポーリング
信号だけでなく親局31 〜3m からの制御情報を受信
し、この受信情報に応じた動作を行うようになってい
る。
The slave stations 4 1 to 4 n send their own monitoring information when sending the response signals a 1 to an, and receive not only the polling signal but also the control information from the master stations 3 1 to 3 m. The operation according to the received information is performed.

【0025】即ち、親局31 〜3m は、ポーリング権の
有無に係わらず、子局41 〜4n の制御を行えるように
なっている。更に、前述したようにシステムにおける全
ての親局及び子局はポーリング局として機能できるよう
になっているが、これは図3に示すポーリング制御部1
0を具備することによって実現されている。
That is, the master stations 3 1 to 3 m can control the slave stations 4 1 to 4 n regardless of the presence or absence of the polling right. Further, as described above, all the master stations and slave stations in the system can function as polling stations. This is the polling control unit 1 shown in FIG.
It is realized by having 0.

【0026】ポーリング制御部10は、受信部11、送
信部12、処理部13、設定部14及びタイマ15を具
備して構成されている。受信部11は、回線を介して送
られてくる信号を受信し、処理部13へ出力するもので
ある。送信部12は、ポーリング信号を送出するもので
ある。処理部13は、自局のポーリング動作の起動/停
止の処理を行うものである。設定部14は、ポーリング
権を与える優先順位が設定されているものであり、タイ
マ15は、処理部13が後述する各種処理を行う際に計
時信号を出力するものである。
The polling control unit 10 comprises a receiving unit 11, a transmitting unit 12, a processing unit 13, a setting unit 14 and a timer 15. The receiving unit 11 receives a signal sent via the line and outputs it to the processing unit 13. The transmitter 12 sends a polling signal. The processing unit 13 performs processing for starting / stopping the polling operation of its own station. The setting unit 14 is set with a priority order for giving the polling right, and the timer 15 outputs a clock signal when the processing unit 13 performs various processes described later.

【0027】処理部13による自局のポーリング動作の
起動/停止処理を図4に示すフローチャートを参照して
説明する。先ず、ステップS1に示すように回線を一定
時間傍受する動作を行う。これは、受信部11から出力
される信号を、タイマ15の計時信号を参照しながら一
定時間受信し、この間に受信部11を介して送られてく
るポーリング信号をその局の固有番号と共に認識するも
のである。
The start / stop processing of the polling operation of the own station by the processing unit 13 will be described with reference to the flowchart shown in FIG. First, as shown in step S1, the operation of intercepting the line for a certain period of time is performed. This is to receive the signal output from the receiving unit 11 for a certain period of time while referring to the clock signal of the timer 15, and to recognize the polling signal sent through the receiving unit 11 during this time together with the unique number of the station. It is a thing.

【0028】次に、ステップS2に示すように、他局が
ポーリングを行っているかどうかを判断する。これは、
ステップS1で他局からのポーリング信号が認識された
場合にYes、認識されない場合にNoと判断するもの
である。
Next, as shown in step S2, it is determined whether another station is polling. this is,
When the polling signal from the other station is recognized in step S1, Yes is determined, and when it is not recognized, No is determined.

【0029】この判断結果がNo、即ち、他局がポーリ
ング動作を行っている場合、ステップS3に示すよう
に、自局でポーリング動作を行っているかどうかを判断
する。この判断結果がYesであればステップS1に戻
り、Noであれば他局も自局もポーリング動作を行って
いないので、ステップS4に示すように自局にポーリン
グ起動をかける。
If the result of this determination is No, that is, if another station is performing a polling operation, then as shown in step S3, it is determined whether or not the own station is performing a polling operation. If the determination result is Yes, the process returns to step S1. If the determination result is No, neither the other station nor the local station is performing the polling operation, so the local station is activated for polling as shown in step S4.

【0030】一方、ステップS2の判断結果がYesの
場合、即ち、他局からのポーリング信号が認識されなか
った場合は、ステップS5において、自局でポーリング
動作をおこなっているかどうかを判断し、この判断結果
がNoであればステップS1に戻り、Yesであればス
テップS6に示すように、自局のポーリングは最優先で
あるかどうかを判断する。
On the other hand, if the result of the determination in step S2 is Yes, that is, if the polling signal from the other station is not recognized, it is determined in step S5 whether or not the own station is performing the polling operation. If the determination result is No, the process returns to step S1, and if Yes, as shown in step S6, it is determined whether or not the polling of the own station has the highest priority.

【0031】この最優先であるかどうかの判断は、設定
部14に設定された優先順位を参照して行われ、この判
断結果がYesの場合はステップS1に戻り、Noの場
合はステップS7に示すようにポーリング動作の停止を
行ってステップS1に戻り、上述した処理を継続するよ
うになっている。
The determination as to whether or not this is the highest priority is made with reference to the priority order set in the setting unit 14. If the result of this determination is Yes, the process returns to step S1, and if No, to step S7. As shown, the polling operation is stopped and the process returns to step S1 to continue the above-described processing.

【0032】このようなポーリング方式において、回線
に故障が発生した場合のポーリングの起動/停止動作を
図5に示す通信システムを参照して説明する。図5に示
す符号A,E,Gは親局、B,C,D,Fは子局であ
り、各々全二重回線で接続されている。また、ポーリン
グ権を取得する優先順位は、G−F−E−D−C−B−
Aとなっている。
In such a polling system, the polling start / stop operation when a line failure occurs will be described with reference to the communication system shown in FIG. Reference numerals A, E, and G shown in FIG. 5 are master stations, and B, C, D, and F are slave stations, each connected by a full-duplex line. In addition, the priority order for acquiring the polling right is G-F-E-D-C-B-
A.

【0033】このような構成において、現在、親局Aで
ポーリングが行われているとする。この場合に、図6に
矢印Y1で示す子局Cから子局F方向へ信号を伝送する
片側の回線が故障したとする。
In such a configuration, it is assumed that the parent station A is currently performing polling. In this case, it is assumed that the line on one side for transmitting a signal from the slave station C to the slave station F indicated by an arrow Y1 in FIG. 6 fails.

【0034】この場合、親局Aからのポーリング信号
は、子局F及び親局Gに到達しなくなる。子局F及び親
局Gでは、一定時間経過してもポーリング信号が受信さ
れないので、優先度の高い、親局Gがポーリング起動を
行う。
In this case, the polling signal from the master station A does not reach the slave stations F and G. Since the slave station F and the master station G do not receive the polling signal even after a certain period of time, the master station G, which has a high priority, starts the polling.

【0035】この起動は、前述した図4のステップS
1,S2,S3,S4の処理で子局F及び親局Gがポー
リング起動を行った後、ステップS1,S2,S5,S
6の処理で各々の優先度を確認し、子局Fは優先度が低
いのでステップS7の処理でポーリング停止を行い、親
局Gは優先度が高いので、そのままポーリングを継続す
ることによるものである。
This activation is performed by step S in FIG.
After the slave station F and the master station G perform the polling start in the processing of S1, S2, S3, S4, steps S1, S2, S5, S
Each priority is confirmed in the process of 6, and the slave station F has a low priority, so the polling is stopped in the process of step S7, and the master station G has a high priority. is there.

【0036】親局Gがポーリングを行った直後は、子局
B,C,D及び親局Eにおいて親局Aとのポーリング信
号が衝突し、ポーリング信号が受信できないケースが生
じるが、親局AはGからのポーリング信号受信後に、親
局Gとの優先度の確認を前記したと同様に行い、ポーリ
ング動作を停止する。
Immediately after the master station G polls, the slave stations B, C, D and the master station E collide with the polling signal with the master station A, and the polling signal cannot be received. After receiving the polling signal from G, the confirmation of the priority with the master station G is performed in the same manner as described above, and the polling operation is stopped.

【0037】この状態ではポーリング局が親局Gのみな
ので、親局Gには子局B,C,Dの応答信号は送られて
こないので、親局Gは子局Fのみの監視を行い、他の子
局B,C,Dの監視は親局A及びEが行う。これは親局
がポーリング権の有無に係わらず、子局の応答信号を受
信できて監視が行えるようになっていることによる。
In this state, since the polling station is only the master station G, the response signals of the slave stations B, C and D are not sent to the master station G, so that the master station G monitors only the slave station F, The master stations A and E monitor the other slave stations B, C, and D. This is because the master station can receive the response signal of the slave station and monitor it regardless of the polling right.

【0038】また、回線故障の復旧時には親局Gがその
ままポーリング局となってポーリングを継続する。従来
ではそのような回線故障が生じた場合、ポーリング局の
Aが固定されているため、F,Gはポーリング信号を受
信できず、F,Gの監視が行えなくなっていたが、実施
例によるポーリング方式ではその欠点を解消することが
できる。
When the line failure is restored, the master station G remains the polling station and continues polling. Conventionally, when such a line failure occurs, since A of the polling station is fixed, F and G cannot receive the polling signal, and F and G cannot be monitored. The method can eliminate the drawback.

【0039】次に、親局Aでポーリングが行われている
場合に、図7に矢印Y2で示す子局Fから子局C方向へ
信号を伝送する片側の回線が故障した場合のポーリング
起動/停止動作を説明する。
Next, in the case where the master station A is performing polling, the polling is activated / started when one side of the line for transmitting a signal from the slave station F to the slave station C indicated by an arrow Y2 in FIG. 7 fails. The stop operation will be described.

【0040】この場合、親局Aからのポーリング信号
は、全ての子局B,C,D,Fに到達するので、Aがそ
のままポーリング局となる。これは、図4のステップS
1,S2,S3の処理による。
In this case, the polling signal from the master station A reaches all the slave stations B, C, D and F, so that A becomes the polling station as it is. This is step S in FIG.
1, S2, S3.

【0041】この状態では、子局Fの応答信号が親局
A,Eに到達しないので、親局A,Eでは子局Fの監視
を行うことができない。しかし、親局Gにおいては、全
ての子局B,C,D,Fの応答信号を受信できるので、
それらを監視することができる。また、回線故障の復旧
時には親局Aがそのままポーリングを継続する。
In this state, since the response signal of the slave station F does not reach the master stations A and E, the master stations A and E cannot monitor the slave station F. However, since the master station G can receive the response signals of all the slave stations B, C, D and F,
You can monitor them. Further, when the line failure is restored, the master station A continues polling as it is.

【0042】従来ではそのような回線故障が生じた場
合、ポーリング局のAで、F,Gの応答信号を受信する
ことができず、F,Gの監視が行えなくなっていたが、
実施例によるポーリング方式ではその欠点を解消するこ
とができる。
Conventionally, when such a line failure occurs, the polling station A cannot receive the response signals of F and G, and it is impossible to monitor F and G.
The polling method according to the embodiment can eliminate the drawback.

【0043】次に、親局Aでポーリングが行われている
場合に、図8に矢印Y3及び4で示す子局Cと子局F間
の双方向の回線が故障した場合のポーリング起動/停止
動作を説明する。
Next, when polling is being performed by the master station A, polling is started / stopped when the bidirectional line between the slave stations C and F indicated by arrows Y3 and 4 in FIG. 8 fails. The operation will be described.

【0044】この場合、親局Aからのポーリング信号
が、子局F及び親局Gに到達しなくなるので、優先度の
高い、親局Gがポーリング起動を行う。また、ポーリン
グ局となった親局Gのポーリング信号は親局Aに到達し
ないので親局Aはそのままポーリング局を継続する。
In this case, since the polling signal from the master station A does not reach the slave stations F and G, the master station G having a high priority starts polling. Further, since the polling signal of the master station G which has become the polling station does not reach the master station A, the master station A continues the polling station.

【0045】この場合、子局Fに対しては親局Gがポー
リングを行って監視を行い、子局B,C,Dに対しては
故障前と同様に親局Aがポーリングを行って、親局A,
Fで監視を行う。
In this case, the master station G polls and monitors the slave station F, and the master station A polls the slave stations B, C and D in the same manner as before the failure. Master station A,
Monitor at F.

【0046】従来ではそのような回線故障が生じた場
合、ポーリング局のAのポーリング信号がF,Gで受信
できず、F,Gの監視が行えなくなっていたが、実施例
によるポーリング方式ではその欠点を解消することがで
きる。
In the prior art, when such a line failure occurred, the polling signal of A from the polling station could not be received by F and G, and F and G could not be monitored. The drawbacks can be eliminated.

【0047】また、回線故障の復旧時には親局AとGと
が優先度を確認することによって親局Gがポーリング局
となる。
When the line failure is restored, the master stations A and G confirm the priority, and the master station G becomes the polling station.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
子局の監視を行う親局を複数設置し、各親局又は子局が
容易にポーリング局となることができるので、通信回線
故障時に適正なポーリング制御を行うことができる効果
がある。
As described above, according to the present invention,
Since a plurality of master stations that monitor slave stations can be installed and each master station or slave station can easily become a polling station, there is an effect that proper polling control can be performed when a communication line failure occurs.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の一実施例によるポーリング方式を説明
するための通信システムの構成図である。
FIG. 2 is a configuration diagram of a communication system for explaining a polling method according to an exemplary embodiment of the present invention.

【図3】本発明の一実施例によるポーリング方式を実現
するためのポーリング制御部のブロック構成図である。
FIG. 3 is a block configuration diagram of a polling control unit for realizing a polling method according to an exemplary embodiment of the present invention.

【図4】図3に示すポーリング制御部のポーリング起動
/停止動作の説明図である。
FIG. 4 is an explanatory diagram of a polling start / stop operation of the polling control unit shown in FIG.

【図5】本発明の一実施例のポーリング方式によるポー
リング動作を説明するための通信システムの構成図であ
る。
FIG. 5 is a configuration diagram of a communication system for explaining a polling operation by a polling method according to an exemplary embodiment of the present invention.

【図6】図5における全二重回線の片側断線を示す第1
の図である。
FIG. 6 is a first diagram showing a disconnection on one side of a full-duplex line in FIG.
FIG.

【図7】図5における全二重回線の片側断線を示す第2
の図である。
FIG. 7 is a second diagram showing one side disconnection of the full-duplex line in FIG.
FIG.

【図8】図5における全二重回線の全断線を示す図であ
る。
8 is a diagram showing all disconnections of the full-duplex line in FIG.

【図9】従来例によるポーリング方式を説明するための
通信システムの構成図である。
FIG. 9 is a configuration diagram of a communication system for explaining a polling method according to a conventional example.

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

21 ポーリング制御手段 22 受信手段 23 他局ポーリング認識手段 24 自局ポーリング認識手段 25 設定手段 26 優先度認識手段 27 ポーリング起動手段 28 ポーリング停止手段 21 polling control means 22 receiving means 23 other station polling recognition means 24 own station polling recognition means 25 setting means 26 priority recognition means 27 polling activation means 28 polling stop means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 親局から複数の子局に対して順次ポーリ
ングを行い、その応答信号を受信することによって該複
数の子局の監視制御を行うポーリング方式において、 全二重回線で接続された複数の親局と複数の子局とに、 自局から他局に対してポーリング信号を送信することに
よりポーリング動作を行うポーリング制御手段と、 他局から送られてきたポーリング信号を受信する受信手
段と、 該受信手段でポーリング信号が受信された際に他局がポ
ーリング動作を行っていることを認識する他局ポーリン
グ認識手段と、 該ポーリング制御手段の作動時に自局がポーリング動作
を行っていることを認識する自局ポーリング認識手段
と、 ポーリング権の優先度情報が設定される設定手段と、 該受信手段で受信されたポーリング信号がどの局からの
ものであるかを認識し、この認識された局と自局の優先
度の高/低を該優先度情報を参照して認識する優先度認
識手段と、 該他局及び自局ポーリング認識手段で他局及び自局の双
方共にポーリング動作を行っていないと認識された際
に、該ポーリング制御手段のポーリング動作を起動する
ポーリング起動手段と、 該他局及び自局ポーリング認識手段で他局及び自局の双
方がポーリング動作を行っていると認識され、かつ該優
先度認識手段により自局の優先度が低いと認識された際
に、該ポーリング制御手段のポーリング動作を停止する
ポーリング停止手段とを具備したことを特徴とするポー
リング方式。
1. A polling method in which a master station sequentially polls a plurality of slave stations and receives a response signal to monitor and control the plurality of slave stations. Polling control means for performing a polling operation by transmitting a polling signal from its own station to a plurality of master stations and a plurality of slave stations, and a receiving means for receiving a polling signal sent from another station. And another station polling recognition means for recognizing that another station is performing a polling operation when the polling signal is received by the receiving means, and its own station performing a polling operation when the polling control means operates. That the polling signal received by the receiving means is from which station the polling signal received by the receiving means is recognized. A priority recognition means for recognizing whether the priority is high or low for the recognized station and its own station by referring to the priority information, and another station and its own polling recognition means. When it is recognized that neither the other station nor the own station is performing the polling operation, the polling activation means for activating the polling operation of the polling control means and the other station and the own station polling recognition means And a polling stop means for stopping the polling operation of the polling control means when both the stations are recognized to perform the polling operation and the priority recognition means recognizes that the priority of the station is low. A polling method characterized by being equipped.
【請求項2】 前記他局ポーリング制御手段が他局がポ
ーリング動作を行っていないと認識し、且つ前記自局ポ
ーリング制御手段が自局がポーリング動作を行っている
と認識した際に、前記受信手段が他局からのポーリング
信号を受信する動作を継続するようにしたことを特徴と
する請求項1記載のポーリング方式。
2. The reception when the other station polling control unit recognizes that the other station is not performing a polling operation and the local station polling control unit recognizes that the own station is performing a polling operation. 2. The polling system according to claim 1, wherein the means continues the operation of receiving the polling signal from another station.
【請求項3】 前記他局ポーリング制御手段が他局がポ
ーリング動作を行って行っていると認識し、且つ前記自
局ポーリング制御手段が自局がポーリング動作を行って
いないと認識した際に、前記受信手段が他局からのポー
リング信号を受信する動作を継続するようにしたことを
特徴とする請求項1記載のポーリング方式。
3. When the other station polling control means recognizes that the other station is performing the polling operation and when the own station polling control means recognizes that the own station is not performing the polling operation, 2. The polling method according to claim 1, wherein the receiving means continues the operation of receiving a polling signal from another station.
【請求項4】 前記他局ポーリング制御手段が他局がポ
ーリング動作を行っていると認識すると共に、前記自局
ポーリング制御手段が自局がポーリング動作を行ってい
ると認識し、かつ前記優先度認識手段が自局の優先度が
高いと認識した際に、前記受信手段が他局からのポーリ
ング信号を受信する動作を継続するようにしたことを特
徴とする請求項1記載のポーリング方式。
4. The other station polling control unit recognizes that the other station is performing a polling operation, the own station polling control unit recognizes that the own station is performing a polling operation, and the priority is set. 2. The polling method according to claim 1, wherein when the recognizing means recognizes that the own station has a high priority, the receiving means continues the operation of receiving the polling signal from another station.
【請求項5】 前記複数の子局が、前記複数の親局から
の前記応答信号をポーリング権の有無に係わらず受信す
ることによって該複数の子局の制御を行うようにしたこ
とを特徴とする請求項1〜4の何れかに記載のポーリン
グ方式。
5. The plurality of slave stations are configured to control the plurality of slave stations by receiving the response signals from the plurality of master stations regardless of presence or absence of a polling right. The polling method according to any one of claims 1 to 4.
JP7052120A 1995-03-13 1995-03-13 Polling system Withdrawn JPH08251208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7052120A JPH08251208A (en) 1995-03-13 1995-03-13 Polling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7052120A JPH08251208A (en) 1995-03-13 1995-03-13 Polling system

Publications (1)

Publication Number Publication Date
JPH08251208A true JPH08251208A (en) 1996-09-27

Family

ID=12906026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7052120A Withdrawn JPH08251208A (en) 1995-03-13 1995-03-13 Polling system

Country Status (1)

Country Link
JP (1) JPH08251208A (en)

Similar Documents

Publication Publication Date Title
JPH08251208A (en) Polling system
JP2002199473A (en) Data collection system and data collection method
JP2937871B2 (en) Polling monitoring method
JPH10232704A (en) Duplex programmable controller
JP2503816B2 (en) Building remote monitoring system
JP2000040013A (en) Method for detecting line abnormality for duplex communication system
JPS61290836A (en) Data transmission control system
JP2771483B2 (en) Remote wireless monitoring control method
JPH07177201A (en) System and method for monitoring state
JPH01177296A (en) Remote supervisory and controlling system
JP2626022B2 (en) Line monitoring by polling
JP3884335B2 (en) Parent-child transmission method and storage medium used for parent-child transmission method
JPH0764472A (en) Remote i/o system of programmable controller
JP5321231B2 (en) Broadcast radio system and broadcast radio method
JPH0495199A (en) Remote monitoring device
JPS58104535A (en) Transmission system with priority
JPH01220094A (en) Home bus system
JPH0773390B2 (en) Remote monitoring controller
JPH06311165A (en) Transmission equipment
JPH0964878A (en) Communication equipment
JPS63257353A (en) Transmission start control method for local network
JPH066942A (en) Method and apparatus for inputting power system information
JPS63224500A (en) Remote monitoring system
JPH0583020B2 (en)
JPS6086947A (en) Polling method of remote monitor controller

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604