JPH06276203A - Polling type data collection system - Google Patents

Polling type data collection system

Info

Publication number
JPH06276203A
JPH06276203A JP5346045A JP34604593A JPH06276203A JP H06276203 A JPH06276203 A JP H06276203A JP 5346045 A JP5346045 A JP 5346045A JP 34604593 A JP34604593 A JP 34604593A JP H06276203 A JPH06276203 A JP H06276203A
Authority
JP
Japan
Prior art keywords
data
monitored
group
station
stations
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.)
Granted
Application number
JP5346045A
Other languages
Japanese (ja)
Other versions
JP2713133B2 (en
Inventor
Manabu Watanabe
学 渡辺
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 JP5346045A priority Critical patent/JP2713133B2/en
Publication of JPH06276203A publication Critical patent/JPH06276203A/en
Application granted granted Critical
Publication of JP2713133B2 publication Critical patent/JP2713133B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Alarm Systems (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To provide a polling type data collection system which can collect the data on plural monitored stations with high efficiency at a monitor station, can shorten the data collecting time, and also can simplify the data collecting way. CONSTITUTION:The identifiers of the monitored stations which are capable of data communication are defined as a 1st group, and the identifiers of the monitored stations which are incapable of data communication are defined as a 2nd group. These two groups are stored in the 1st and 2nd storage tables 4 and 5 respectively. A data request order deciding means 7 decides the order or all monitored stations of the 1st group that should transmit the data requests through a data request means 8 and one of monitored stations of the 2nd group based on those stored identifiers. Then a reception deciding means 9 decides whether the data are normally received or not by a monitor station from the monitored stations that had the data requests. A rewriter means 6 rewrites the identifiers stored in both tables 4 and 5 based on the deciding result of the means 9.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、監視局と複数の被監視
局がバス状ネットワークで接続され、監視局から被監視
局へポーリングして被監視局からのデータをバス状ネッ
トワークを介して監視局で収集するポーリング式データ
収集方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring station and a plurality of monitored stations connected by a bus-like network, polling the monitoring station to the monitored station and transmitting data from the monitored station via the bus-like network. The present invention relates to a polling-type data collection method that is collected by a monitoring station.

【0002】[0002]

【従来の技術】従来の一般的なポーリング式データ収集
方式では、監視局で監視すべき全ての被監視局に対し
て、その状態に関係なく同一のポーリングを行っていた
ため、次のような問題があった。
2. Description of the Related Art In the conventional general polling-type data collection method, the same polling is carried out for all monitored stations to be monitored by the monitoring station, regardless of the status thereof. was there.

【0003】システムとして予め設定した最大数の被監
視局に対するデータ収集の所要時間は、正常な(データ
通信可能な)被監視局にかかるデータ収集時間と、異常
又は該当無しの(データ通信不能な)被監視局にかかる
データ収集時間との合計で決まる。監視局からのポーリ
ングに対し、被監視局から正常な応答が無かった場合、
監視局は一般にポーリング信号を複数回繰り返し送出す
る。従って、通信不能な被監視局の数が増えると、デー
タ収集に要する時間が非常に長くなる。
The time required for data collection for the maximum number of monitored stations preset by the system is the data collection time required for normal (data communication possible) monitored stations and the abnormal or non-applicable (data communication impossible) ) Determined by the total of the data collection time required for the monitored station. If there is no normal response from the monitored station to the polling from the monitoring station,
The monitoring station generally repeatedly sends the polling signal a plurality of times. Therefore, as the number of monitored stations that cannot communicate increases, the time required to collect data becomes extremely long.

【0004】このような問題を解決するため、従来から
種々の方式が提案されている。例えば、特開昭64−3
4036号公報には、被監視局がデータ通信可能である
かデータ通信不能であるかを検出し、データ通信不能で
ある場合には、監視局から通常のポーリング信号と異な
るポーリング情報を送出し、データ通信不能な被監視局
に対して、ポーリング信号を受信可能な状態であるか否
かの応答信号を返送させ、その応答内容に応じてデータ
収集のためのポーリング動作を行うことで、監視局での
データ収集に要する時間の短縮化を図った監視制御方式
が開示されている。
In order to solve such a problem, various methods have been conventionally proposed. For example, JP-A-64-3
No. 4036 discloses that a monitored station detects whether data communication is possible or not, and when data communication is impossible, the monitoring station sends polling information different from a normal polling signal, By sending a response signal indicating whether or not the polling signal can be received to the monitored station that cannot communicate data, and performing a polling operation for data collection according to the response content, the monitoring station Discloses a supervisory control method that shortens the time required to collect data.

【0005】また、特開平3−108838号公報に
は、送信要求のある全ての子局(被監視局)に対して一
括してポーリングを行うことで、データ収集効率の向上
を図ったポーリングセレクティングシステムが開示され
ている。すなわち、このシステムでは、親局(監視局)
から、ループ状に接続された全ての子局に対して一斉に
ポーリングを行うための一斉ポーリングフレームを送出
する。この時点で送信要求が存在する子局は、一斉ポー
リングフレーム中の自局のタイムスロット位置に自局ノ
ードのアドレスを挿入する。一方、この時点で送信要求
が存在しない子局は一斉ポーリングフレームを単に中継
する。このようにして一斉ポーリングフレームが全ての
子局を巡って再び親局へ戻ると、親局は、送信要求が存
在する子局のノードアドレスを収集し、その全ての子局
に対して送信要求順位の情報を含むポーリング信号を新
たに送出する。このポーリング信号を子局が受信する
と、その受信した子局は、ポーリング信号に含まれる送
信要求順位の情報を記憶し、ネットワーク中のキャリア
検出信号がオフになり次第、送信要求順位に従って親局
へ順次データを送信する。
Further, Japanese Patent Laid-Open No. 3-108838 discloses a polling selection in which data collection efficiency is improved by collectively polling all slave stations (monitored stations) that have a transmission request. An operating system is disclosed. That is, in this system, the parent station (monitoring station)
Sends a polling frame for polling all the slave stations connected in a loop at once. At this point, the slave station that has a transmission request inserts the address of its own node at the time slot position of its own station in the simultaneous polling frame. On the other hand, the slave station which has no transmission request at this point simply relays the simultaneous polling frame. In this way, when the simultaneous polling frame goes around all the slave stations and returns to the master station, the master station collects the node addresses of the slave stations for which there is a transmission request, and sends the transmission request to all the slave stations. A polling signal including ranking information is newly transmitted. When the slave station receives this polling signal, the received slave station stores the information of the transmission request order included in the polling signal, and as soon as the carrier detection signal in the network is turned off, it sends to the master station according to the transmission request order. Send data sequentially.

【0006】更に、特開平2−65337号公報には、
通信要求を持たない従局(被監視局)にはポーリングを
行わないことで、通信時間の短縮化を図ったチャンネル
アクセス方式が開示されている。すなわち、この方式で
は、主局(監視局)に、書換え可能なポーリングテーブ
ルと、従局番号割当手段を備える一方、各従局(被監視
局)に従局番号要求手段を備える。従局において通信要
求が発生すると、従局番号要求手段により主局に対して
従局番号の割当てを要求し、その要求に応じて主局の従
局番号割当手段で従局番号を割当てるとともに、その従
局番号をポーリングテーブルに書き込む。そして、この
書き込まれた従局番号に該当する従局に対してのみポー
リングを行う。
Further, in Japanese Patent Laid-Open No. 2-65337,
A channel access method has been disclosed in which communication time is shortened by not polling a slave station (monitored station) that does not have a communication request. That is, in this system, the master station (monitoring station) is provided with a rewritable polling table and slave station number assigning means, while each slave station (monitored station) is provided with slave station number requesting means. When a communication request is generated in a slave station, the slave station number requesting means requests the master station to allocate a slave station number, and the slave station number allocating means of the master station allocates the slave station number in response to the request, and polls the slave station number. Write on the table. Then, only the slave stations corresponding to the written slave station number are polled.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、特開昭
64−34036号公報に開示された監視制御方式で
は、ポーリング周期毎に、通信不能な被監視局の全てに
対して、ポーリング信号を受信可能な状態である否かの
応答信号を返送させる必要があるので、通信不能な被監
視局の数が増加すると、データ収集に要する時間が長く
なるという欠点がある。
However, in the supervisory control method disclosed in Japanese Patent Laid-Open No. 64-34036, it is possible to receive polling signals for all monitored stations that cannot communicate with each polling cycle. Since it is necessary to send back a response signal indicating whether or not it is in such a state, there is a disadvantage that the time required for data collection becomes longer as the number of monitored stations that cannot communicate increases.

【0008】また、特開平3−108838号公報に開
示されたポーリングセレクティングシステムでは、全て
の被監視局に対して一斉ポーリングフレームを送り、送
信要求のある被監視局のアドレスを収集した後、データ
収集のためのポーリングを行うため、アドレスを収集す
るための時間を余計に要する欠点がある。
In the polling / selecting system disclosed in Japanese Patent Laid-Open No. 3-108838, a polling frame is sent to all monitored stations, and after collecting the addresses of the monitored stations that are requested to transmit, Since polling is performed for data collection, there is a drawback that it takes extra time to collect addresses.

【0009】更に、特開平2−65337号公報に開示
されたチャンネルアクセス方式では、従局(被監視局)
が主局に対して従局番号の割当てを要求し、その要求に
応じて主局が従局番号を割当てるという処理が必要にな
り、処理が複雑化する欠点がある。
Further, in the channel access system disclosed in Japanese Patent Laid-Open No. 2-65337, a slave station (monitored station)
Requires the master station to allocate the slave station number, and the master station needs to allocate the slave station number in response to the request, which is a drawback that the process becomes complicated.

【0010】本発明の目的は、上記のような従来の欠点
に鑑み、複数の被監視局のデータを監視局において効率
良く収集できるとともに、その収集に要する時間を短縮
化でき、かつ処理も簡単なポーリング式データ収集方式
を提供することにある。
In view of the above-mentioned conventional drawbacks, an object of the present invention is that the data of a plurality of monitored stations can be efficiently collected at the monitoring station, the time required for the collection can be shortened, and the processing is simple. To provide a simple polling data collection method.

【0011】[0011]

【課題を解決するための手段】このような目的を達成す
るため、本発明は、監視局と複数の被監視局がバス状ネ
ットワークで接続され、監視局から被監視局へポーリン
グして被監視局からのデータをバス状ネットワークを介
して監視局で収集するポーリング式データ収集方式にお
いて、監視局に次のような手段を備えたことを特徴とす
る。 データ通信可能な被監視局の識別子を第1グループ
として記憶するための書換え可能な第1の記憶テーブ
ル。 データ通信不能な被監視局の識別子を第2グループ
として記憶するための書換え可能な第2の記憶テーブ
ル。 これら第1及び第2の記憶テーブルに記憶された識
別子を参照して、第1グループに属する全ての被監視局
と、第2グループの被監視局の中から順次選択した1つ
の被監視局とに対してデータ要求を送出するデータ要求
手段。 そのデータ要求を送出した被監視局からデータが正
常に受信できたか否かを判断する受信判断手段。 その判断結果に基づいて第1及び第2の記憶テーブ
ル内の識別子を書き換える書換手段。
In order to achieve such an object, according to the present invention, a monitoring station and a plurality of monitored stations are connected by a bus-shaped network, and the monitored station polls the monitored station for monitoring. A polling-type data collection system in which data from stations is collected by a monitoring station via a bus network is characterized in that the monitoring station is provided with the following means. A rewritable first storage table for storing an identifier of a monitored station capable of data communication as a first group. A rewritable second storage table for storing, as a second group, the identifiers of monitored stations that cannot perform data communication. With reference to the identifiers stored in the first and second storage tables, all monitored stations belonging to the first group and one monitored station sequentially selected from the monitored stations of the second group Data request means for sending a data request to the. Reception determination means for determining whether or not data has been normally received from the monitored station that has transmitted the data request. Rewriting means for rewriting the identifiers in the first and second storage tables based on the determination result.

【0012】更に、前記第1及び第2の記憶テーブルに
記憶されている識別子に基づいて、前記データ要求手段
でデータ要求を送出すべき前記複数の被監視局の順位を
決定するデータ要求順位決定手段も備えると良い。
Further, based on the identifiers stored in the first and second storage tables, the data request order determination for determining the order of the plurality of monitored stations to which the data request should be sent by the data request means. It is good to have means.

【0013】[0013]

【作用】本発明によると、複数の被監視局のうち、デー
タ通信を正常に行える通信可能な被監視局は第1グルー
プ、バス状ネットワークに接続されていない等の理由で
データ通信ができない通信不能な被監視局は第2グルー
プに分類される。監視局は、1回のポーリングシーケン
スにおいて、まず第1グループに属する全ての被監視局
に対してデータ要求を順次行ってデータを収集した後、
続いて第2グループに属する被監視局の中の第1順位の
1つの被監視局に対してデータ要求を行う。この1つの
被監視局からデータを正常に受信できれば、この被監視
局を第1グループに移動してこれからのデータを収集す
る。しかし、正常に受信できなければ、第2グループに
残したままとする。そして、次のポーリングシーケンス
において、再び第1グループの全ての被監視局に対して
データ要求を順次行った後、第2グループの中の次順位
の1つの被監視局に対してデータ要求を行う。つまり、
通信不能な第2グループの被監視局に対しては、1回の
ポーリングシーケンスにつき1つの被監視局についてだ
けデータ要求して正常にデータ通信できる否かを判断
し、またそのデータ要求する被監視局をポーリングシー
ケンス毎に順次移行させる。一方、第1グループの被監
視局に対してデータ要求をしたが、その中のある被監視
局からデータを正常に受信できなかったときは、当該被
監視局を第2グループに移動してから、第1グループの
中の次順位の被監視局に対してデータ要求をする。
According to the present invention, among the plurality of monitored stations, the monitored station capable of performing normal data communication cannot perform data communication because it is not connected to the first group or the bus network. Unmonitored stations are classified into the second group. In one polling sequence, the monitoring station first sequentially makes a data request to all the monitored stations belonging to the first group, collects the data, and then
Then, a data request is made to one monitored station of the first rank among the monitored stations belonging to the second group. If the data can be normally received from the one monitored station, the monitored station is moved to the first group to collect the data from now on. However, if it cannot be received normally, it is left in the second group. Then, in the next polling sequence, the data request is sequentially made again to all the monitored stations of the first group, and then the data request is made to one monitored station of the next order in the second group. . That is,
For the monitored station of the second group that cannot communicate, data is requested only for one monitored station per polling sequence to determine whether data communication can be normally performed, and the monitored station that requests the data Stations are moved sequentially for each polling sequence. On the other hand, when a data request is made to a monitored station of the first group but data cannot be normally received from a monitored station among them, the monitored station is moved to the second group and then , Request data to the next monitored station in the first group.

【0014】従って、1回のポーリングシーケンス当た
りの所要時間は、通信可能な第1グループの全ての被監
視局に対してデータ要求する時間及びそのデータ収集に
要する時間に、通信不能な第2グループの中の1つの被
監視局に対するデータ要求時間を加えた時間で済み、通
信不能な第2グループの中の他の被監視局に対してまで
もデータ要求を行ってしまうような無駄を省くことがで
きる。また、第2グループの被監視局に対しては、1回
のポーリングシーケンスにつき1つの被監視局に対して
のみデータ要求するが、そのデータ要求する被監視局を
順次移行させるので、第2グループの被監視局も正常に
データ通信できるようになれば、その被監視局に対する
ポーリングの順番が回ってきたときに、これからのデー
タを収集できる。
Therefore, the time required for one polling sequence is the time required to request data from all monitored stations in the first group that can communicate and the time required to collect the data, to the second group that cannot communicate. The time required to add the data request time to one monitored station in the above is eliminated, and the waste of requesting data to other monitored stations in the second group that cannot communicate is eliminated. You can Further, the monitored stations of the second group request data only for one monitored station per polling sequence, but since the monitored stations requesting the data are sequentially transferred, the second group If the monitored station can also normally perform data communication, it is possible to collect future data when the turn of polling for the monitored station comes.

【0015】[0015]

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

【0016】図2は、本発明によるデータ収集方式が適
用される通信系を示す。この通信系では、バス状ネット
ワーク1上に、1つの監視局(ノード0)2とN個の被
監視局(ノード1からノードN)3とが接続され、これ
ら監視局2とN個の被監視局3にはそれぞれ個別のアド
レス(識別子)が割当てられている。
FIG. 2 shows a communication system to which the data collection method according to the present invention is applied. In this communication system, one monitoring station (node 0) 2 and N monitored stations (node 1 to node N) 3 are connected on the bus-shaped network 1, and these monitoring stations 2 and N monitored stations are connected. Individual addresses (identifiers) are assigned to the monitoring stations 3.

【0017】図1に示すように、監視局2には、第1及
び第2の記憶テーブル4及び5と、書換手段6とデータ
要求順位決定手段7とデータ要求手段8と受信判断手段
9とが備えられている。
As shown in FIG. 1, the monitoring station 2 includes first and second storage tables 4 and 5, a rewriting unit 6, a data request order determining unit 7, a data requesting unit 8 and a reception determining unit 9. Is provided.

【0018】第1の記憶テーブル4は、データ通信可能
な被監視局3の識別子を第1グループAとして記憶する
ためのものであり、第2の記憶テーブル5は、データ通
信不能な被監視局の識別子を第2グループBとして記憶
するためのものである。これら記憶テーブル4・5は、
図3に示すように識別子をそれぞれノード順に記憶す
る。
The first storage table 4 is for storing the identifier of the monitored station 3 capable of data communication as the first group A, and the second storage table 5 is the monitored station incapable of data communication. Is stored as the second group B. These storage tables 4 and 5 are
As shown in FIG. 3, the identifiers are stored in node order.

【0019】データ要求順位決定手段7は、第1の記憶
テーブル4に記憶された識別子に基づいて、第1グルー
プAの全ての被監視局3に対するデータ要求順位を決定
するとともに、第2の記憶テーブル5に記憶された識別
子に基づいて、第2グループBの被監視局3の中から順
次1つずつ選択してデータ要求を行うデータ要求順位を
決定する。この場合、第2グループの中の選択した1つ
の被監視局3に対するデータ要求は、第1グループの中
の最終順位の被監視局の後になるように決められる。デ
ータ要求手段8は、データ要求順位決定手段7で決定さ
れたデータ要求順位に従った順序で被監視局3に対しデ
ータ要求を送出する。
The data request order determination means 7 determines the data request order for all the monitored stations 3 of the first group A based on the identifiers stored in the first storage table 4, and also the second storage. Based on the identifiers stored in the table 5, one by one is sequentially selected from the monitored stations 3 of the second group B to determine the data request order for requesting data. In this case, the data request for one selected monitored station 3 in the second group is determined to be after the final ranked monitored station in the first group. The data requesting means 8 sends data requests to the monitored station 3 in the order according to the data requesting order determined by the data requesting order determining means 7.

【0020】受信判定手段9は、データ要求を送出した
被監視局3からのデータが、監視局2に正常に受信でき
たか否かを判断する。書換手段6は、受信判定手段9の
判断結果に基づいて第1及び第2の記憶テーブル4・5
内の識別子を書き換える。
The reception judging means 9 judges whether or not the data from the monitored station 3 which sent the data request could be normally received by the monitoring station 2. The rewriting means 6 is based on the judgment result of the reception judging means 9 and the first and second storage tables 4.5.
Rewrite the identifier in.

【0021】次に、監視局2によって行われるデータ収
集動作について図6及び図7を参照して説明する。図6
において、まず監視局2は、そのデータ要求順位決定手
段7により第2グループBの中の最初のノードを処理中
ノードbとした後(ステップS1)、第1グループAの
全ての被監視局に対してデータ要求してそれからのデー
タを収集する(ステップS2)。
Next, the data collection operation performed by the monitoring station 2 will be described with reference to FIGS. 6 and 7. Figure 6
In the first step, the monitoring station 2 sets the first node in the second group B as the processing node b by the data request rank determining means 7 (step S1), and then sets all monitored stations in the first group A to the monitored stations. A data request is made to the data and data from the data is collected (step S2).

【0022】このステップS2でのデータ収集処理を図
7にサブルーチンにして示す。同図において、監視局2
は、データ要求順位決定手段7により第1グループAの
中の第1順位のノードを処理中ノードaとした後(ステ
ップS11)、この処理中ノードaに対してデータ要求
手段8によってデータ要求する(ステップS12)。そ
して、この処理中ノードaからデータを正常に受信でき
たか否かを受信判断手段9で判断し(ステップS1
3)、正常に受信できた場合はステップS15に進み、
処理中ノードaは第1グループAの中の最後のノードで
あるか否かをデータ要求順位決定手段7によって判断す
る。最後のノードでなければ次のステップS16に進
み、第1グループAの次順位のノードをデータ要求順位
決定手段7により処理中データaとしてから、ステップ
S12に戻り、同じ動作を繰り返す。
The data collection process in step S2 is shown as a subroutine in FIG. In the figure, the monitoring station 2
Sets the node of the first rank in the first group A as the processing node a by the data request rank determining means 7 (step S11), and then requests the data from the processing node a by the data requesting means 8. (Step S12). Then, the reception judging means 9 judges whether or not the data has been normally received from the node a being processed (step S1).
3) If the reception is successful, proceed to step S15,
The processing request node determining unit 7 determines whether the processing node a is the last node in the first group A. If it is not the last node, the process proceeds to the next step S16, and the node having the next rank of the first group A is set as the data a being processed by the data request rank determining means 7, and then the process returns to step S12 to repeat the same operation.

【0023】一方、図7のステップ13において正常に
受信できなくてタイムアウトとなった場合には、ステッ
プS14に進み、処理中ノードaを第1グループAから
削除して第2グループBに追加する。すなわち、書換手
段6によって第1の記憶テーブル4と第2の記憶テーブ
ル5との間の識別子の書換えを行う。図4及び図5はそ
の書換え動作の模式図で、処理中ノードaの識別子が例
えばnのとき、図4は、この識別子nが削除されてその
記憶該当部分が空きになることを示し、また図5は、空
きになっていた記憶該当部分に識別子nが記憶されるこ
とを示す。
On the other hand, when the reception is not normally performed and the time-out occurs in step 13 of FIG. 7, the process proceeds to step S14, and the processing node a is deleted from the first group A and added to the second group B. . That is, the rewriting means 6 rewrites the identifier between the first storage table 4 and the second storage table 5. FIGS. 4 and 5 are schematic diagrams of the rewriting operation. When the identifier of the node a being processed is n, for example, FIG. 4 shows that this identifier n is deleted and the corresponding portion of its storage becomes empty. FIG. 5 shows that the identifier n is stored in the storage corresponding portion which has become empty.

【0024】第1グループAの最終順位の被監視局3か
らのデータ収集が終了すると、次にグループBの被監視
局3に対する処理を行う。すなわち、図6のステップS
2からステップS3に移行し、データ要求手段8により
処理中データbに対してデータ要求する。そして、この
処理中ノードbからデータを正常に受信できたか否かを
受信判断手段9で判断し(ステップS13)、正常に受
信できなくてタイムアウトになった場合はステップS6
に進み、処理中ノードbは第2グループBの中の最後の
ノードであるか否かをデータ要求順位決定手段7におい
て判断する。最後のノードでなければ次のステップS7
に進み、第2グループBの次順位のノードをデータ要求
順位決定手段7により処理中データbとしてから、ステ
ップS2に戻り、図7に示す処理を再び行う。
When the data collection from the last monitored station 3 of the first group A is completed, the monitored station 3 of the group B is processed next. That is, step S in FIG.
The process moves from step 2 to step S3, and the data requesting means 8 requests the data b being processed. Then, the reception judging means 9 judges whether or not the data can be normally received from the node b being processed (step S13), and if the data cannot be normally received and a time-out occurs, a step S6 is performed.
Then, the data request rank determining means 7 determines whether the node under processing b is the last node in the second group B. If it is not the last node, next step S7
Then, the node of the second rank of the second group B is set as the data b under processing by the data request rank determination means 7, and then the process returns to step S2 to perform the processing shown in FIG. 7 again.

【0025】一方、図6のステップ4において正常に受
信できた場合には、ステップS5に進み、書換手段6に
よって第2の記憶テーブル5と第1の記憶テーブル4と
の間の識別子の書換えを行い、処理中ノードbを第2グ
ループBから削除して第1グループAに追加する。
On the other hand, when the data is normally received in step 4 of FIG. 6, the process proceeds to step S5, and the rewriting means 6 rewrites the identifier between the second storage table 5 and the first storage table 4. Then, the node under processing b is deleted from the second group B and added to the first group A.

【0026】図8に、図6及び図7に示した処理の具体
例をタイミングチャートにして示す。この場合、1つの
監視局2により6つの被監視局3が監視され、これら6
つのノード(被監視局)に識別子(アドレス)として1
〜6の数値がそれぞれ割当てられているものとして、図
8について解説する。
FIG. 8 is a timing chart showing a specific example of the processing shown in FIGS. 6 and 7. In this case, one monitoring station 2 monitors six monitored stations 3 and
1 as an identifier (address) for one node (monitored station)
8 will be described assuming that the numerical values of 6 to 6 are respectively assigned.

【0027】最初に、第1グループAにはノード1・2
の2つが属し、第2グループBにはノード3・4・5・
6の4つが属しているとすると、第1回目のポーリング
シーケンスSp1では、第1グループAのノード1に対
するデータ要求及びそれからのデータ収集、ノード2に
対するデータ要求及びそれからのデータ収集を順次正常
に行った後、第2グループBの最初のノード3に対して
データ要求したところ、このノード3から正常にデータ
を受信できなくてタイムアウトになったことを示す。
First, the first group A has nodes 1 and 2
2 belong to the second group B, and nodes 3, 4, 5, ...
In the first polling sequence Sp1, the data request to the node 1 of the first group A and the data collection from it, and the data request to the node 2 and the data collection from it are sequentially performed normally. After that, when a data request is made to the first node 3 in the second group B, it indicates that the data could not be properly received from this node 3 and the time-out occurred.

【0028】第2回目のポーリングシーケンスSp2で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集、ノード2に対するデータ要求及
びそれからのデータ収集を順次正常に行った後、第2グ
ループBの次のノード4に対してデータ要求したとこ
ろ、このノード4から正常にデータ収集できたので、こ
のノード4を第2グループBから第1グループAへ移動
したことを示す。
In the second polling sequence Sp2, the data request to the node 1 of the first group A and the data collection from the node 1 and the data request to the node 2 and the data collection from the node 2 are normally performed, and then the second group B is collected. When a data request is made to the node 4 next to the node 4, the data can be normally collected from the node 4, so that the node 4 is moved from the second group B to the first group A.

【0029】第3回目のポーリングシーケンスSp3で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集、ノード2に対するデータ要求及
びそれからのデータ収集、上記のように第1グループA
に移動されたノード4に対するデータ要求及びそれから
のデータ収集を順次正常に行った後、第2グループBの
ノード5に対してデータ要求したところ、このノード5
から正常にデータを受信できなくてタイムアウトになっ
たことを示す。
In the third polling sequence Sp3, the data request to the node 1 of the first group A and the data collection from it, the data request to the node 2 and the data collection from it, the first group A as described above.
After the data request to the node 4 moved to the node 4 and the data collection from the node 4 are normally performed, the data is requested to the node 5 of the second group B.
Indicates that data could not be received normally from and timed out.

【0030】第4回目のポーリングシーケンスSp4で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集、ノード2に対するデータ要求及
びそれからのデータ収集、ノード4に対するデータ要求
及びそれからのデータ収集を順次正常に行った後、第2
グループBの最後のノード6に対してデータ要求したと
ころ、このノード6から正常にデータを受信できなくて
タイムアウトになったことを示す。
In the fourth polling sequence Sp4, a data request to the node 1 of the first group A and data collection therefrom, a data request to the node 2 and data collection therefrom, a data request to the node 4 and data collection therefrom. After performing normally in order, the second
When a data request is made to the last node 6 in the group B, it indicates that the data cannot be normally received from this node 6 and the time-out has occurred.

【0031】第5回目のポーリングシーケンスSp5で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集、ノード2に対するデータ要求及
びそれからのデータ収集、ノード4に対するデータ要求
及びそれからのデータ収集を順次正常に行った後、第2
グループBの最初のノード3に対して再びデータ要求し
たところ、このノード3から正常にデータを受信できな
くてタイムアウトになったことを示す。
In the fifth polling sequence Sp5, a data request to the node 1 of the first group A and data collection therefrom, a data request to the node 2 and data collection therefrom, a data request to the node 4 and data collection therefrom. After performing normally in order, the second
When requesting data again to the first node 3 in group B, it indicates that data could not be normally received from this node 3 and time out occurred.

【0032】第6回目のポーリングシーケンスSp6で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集は正常にできたが、ノード2から
正常にデータを受信できなくてタイムアウトになったの
で、このノード2を第1グループAから第2グループB
へ移動してから、次いでノード4に対するデータ要求及
びそれからのデータ収集を正常に行い、この後、第2グ
ループBのノード5に対してデータ要求したところ、こ
のノード5から正常にデータを受信できなくてタイムア
ウトになったことを示す。
In the sixth polling sequence Sp6, the data request to the node 1 of the first group A and the data collection from it could be normally performed, but the data could not be normally received from the node 2 and the timeout occurred. , This node 2 from the first group A to the second group B
After that, when the data request to the node 4 and the data collection from the node 4 are normally performed, and then the data request is made to the node 5 of the second group B, the data can be normally received from the node 5. Indicates that there was no timeout.

【0033】第7回目のポーリングシーケンスSp7で
は、第1グループAのノード1に対するデータ要求及び
それからのデータ収集、ノード4に対するデータ要求及
びそれからのデータ収集を順次正常に行った後、第2グ
ループBの最後のノード6に対してデータ要求したとこ
ろ、このノード6から正常にデータを受信できなくてタ
イムアウトになったことを示す。
In the seventh polling sequence Sp7, the data request to the node 1 of the first group A and the data collection from the node 1 and the data request to the node 4 and the data collection from the node 4 are sequentially performed normally, and then the second group B is collected. When a data request is made to the last node 6, the data cannot be normally received from this node 6 and the time-out is indicated.

【0034】[0034]

【発明の効果】以上の説明から明らかなように、本発明
によれば次のような効果がある。 複数の被監視局のうち、データ通信を正常に行える
通信可能な被監視局は第1グループ、バス状ネットワー
クに接続されていない等の理由でデータ通信ができない
通信不能な被監視局は第2グループに分類し、1回のポ
ーリングシーケンス毎に、第1グループに属する全ての
被監視局に対してデータ要求を順次行ってデータを収集
した後、続いて第2グループに属する被監視局の中の1
つの被監視局に対してデータ要求を行い、そして第2グ
ループの中のデータ要求する被監視局をポーリングシー
ケンス毎に順次移行させるので、データ収集の所要時間
を短縮できる。 第2グループの被監視局に対しては、1回のポーリ
ングシーケンスにつき1つの被監視局に対してのみデー
タ要求するが、そのデータ要求する被監視局を順次移行
させるので、第2グループの被監視局も正常にデータ通
信できるようになれば、その被監視局に対するポーリン
グの順番が回ってきたときに、これからのデータを収集
できる。 全体として処理が簡単であるとともに、複数の被監
視局のデータを監視局において効率良く収集できる。
As is apparent from the above description, the present invention has the following effects. Among the plurality of monitored stations, the communicable monitored station that can normally perform data communication is the first group, and the incommunicated monitored station that cannot communicate because of not being connected to the bus network is the second group. Data is collected by sequentially requesting data to all monitored stations belonging to the first group for each polling sequence, and then collecting data from the monitored stations belonging to the second group. Of 1
Since the data request is made to one monitored station and the monitored stations in the second group that request data are sequentially shifted for each polling sequence, the time required for data collection can be shortened. The monitored stations of the second group request data only for one monitored station per polling sequence. However, since the monitored stations requesting the data are sequentially moved, the monitored stations of the second group are requested. If the monitoring station can also perform normal data communication, it is possible to collect future data when the turn of polling for the monitored station comes. The processing is simple as a whole, and the data of a plurality of monitored stations can be efficiently collected in the monitoring station.

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

【図1】本発明のポーリング式データ収集方式における
監視局の要部の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a main part of a monitoring station in a polling type data collection system of the present invention.

【図2】本発明のデータ収集方式が適用される通信系の
ブロック図である。
FIG. 2 is a block diagram of a communication system to which the data collection method of the present invention is applied.

【図3】図1中の記憶テーブル内での識別子の記憶態様
を示す模式図である。
FIG. 3 is a schematic diagram showing a storage mode of identifiers in the storage table in FIG.

【図4】同記憶テーブルにおける識別子の削除の仕方を
示す模式図である。
FIG. 4 is a schematic diagram showing how to delete an identifier in the storage table.

【図5】同記憶テーブルにおける識別子の追加の仕方を
示す模式図である。
FIG. 5 is a schematic diagram showing how to add an identifier in the storage table.

【図6】監視局によるデータ収集動作の流れを示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a flow of data collection operation by the monitoring station.

【図7】図6中に示した第1グループデータ収集処理を
サブルーチンにして具体的に示すフローチャートであ
る。
FIG. 7 is a flowchart specifically illustrating a subroutine of the first group data collection process shown in FIG.

【図8】図6及び図7に示した処理の具体例を図解した
タイミングチャートである。
FIG. 8 is a timing chart illustrating a specific example of the processing shown in FIGS. 6 and 7.

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

1 バス状ネットワーク 2 監視局 3 被監視局 4 第1の記憶テーブル 5 第2の記憶テーブル 6 書換手段 7 データ要求順位決定手段 8 データ要求手段 9 受信判断手段 1 Bus-shaped Network 2 Monitoring Station 3 Monitored Station 4 First Storage Table 5 Second Storage Table 6 Rewriting Means 7 Data Request Order Determining Means 8 Data Requesting Means 9 Reception Determining Means

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04Q 9/00 311 J 7170−5K B 7170−5K Continuation of front page (51) Int.Cl. 5 Identification code Office reference number FI Technical display location H04Q 9/00 311 J 7170-5K B 7170-5K

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 監視局と複数の被監視局がバス状ネット
ワークで接続され、監視局から被監視局へポーリングし
て被監視局からのデータをバス状ネットワークを介して
監視局で収集するポーリング式データ収集方式におい
て、前記監視局に、 データ通信可能な被監視局の識別子を第1グループとし
て記憶するための書換え可能な第1の記憶テーブルと、 データ通信不能な被監視局の識別子を第2グループとし
て記憶するための書換え可能な第2の記憶テーブルと、 これら第1及び第2の記憶テーブルに記憶された識別子
を参照して、前記第1グループに属する全ての被監視局
と、前記第2グループの被監視局の中から順次選択した
1つの被監視局とに対してデータ要求を送出するデータ
要求手段と、 そのデータ要求を送出した被監視局からデータが正常に
受信できたか否かを判断する受信判断手段と、 その判断結果に基づいて第1及び第2の記憶テーブル内
の識別子を書き換える書換手段と、 を備えたことを特徴とするポーリング式データ収集方
式。
1. A polling for connecting a monitoring station and a plurality of monitored stations via a bus network, polling from the monitoring station to the monitored station, and collecting data from the monitored station at the monitoring station via the bus network. In the automatic data collection method, the monitoring station stores a rewritable first storage table for storing the identifiers of monitored stations capable of data communication as a first group, and the identifiers of monitored stations not capable of data communication as a first group. A rewritable second storage table for storing as two groups, and all monitored stations belonging to the first group with reference to the identifiers stored in the first and second storage tables, Data requesting means for sending a data request to one monitored station sequentially selected from the monitored stations of the second group, and the monitored station sending the data request Polling, which comprises: reception judgment means for judging whether or not the data has been normally received, and rewriting means for rewriting the identifiers in the first and second storage tables based on the judgment result. Formula data collection method.
【請求項2】 前記監視局に、前記第1及び第2の記憶
テーブルに記憶されている識別子に基づいて、前記デー
タ要求手段でデータ要求を送出すべき前記複数の被監視
局の順位を決定するデータ要求順位決定手段を備えたこ
とを特徴とする、請求項1記載のポーリング式データ収
集方式。
2. The monitoring station determines the order of the plurality of monitored stations to which the data request is to be sent by the data requesting means, based on the identifiers stored in the first and second storage tables. The polling-type data collection method according to claim 1, further comprising: a data request rank determining means for performing the above.
JP5346045A 1993-01-21 1993-12-24 Polling data collection method Expired - Lifetime JP2713133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5346045A JP2713133B2 (en) 1993-01-21 1993-12-24 Polling data collection method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP837193 1993-01-21
JP5-8371 1993-01-21
JP5346045A JP2713133B2 (en) 1993-01-21 1993-12-24 Polling data collection method

Publications (2)

Publication Number Publication Date
JPH06276203A true JPH06276203A (en) 1994-09-30
JP2713133B2 JP2713133B2 (en) 1998-02-16

Family

ID=26342882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5346045A Expired - Lifetime JP2713133B2 (en) 1993-01-21 1993-12-24 Polling data collection method

Country Status (1)

Country Link
JP (1) JP2713133B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09181752A (en) * 1995-12-22 1997-07-11 Nec Corp Polling method data collection system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04248726A (en) * 1991-02-05 1992-09-04 Nec Corp Polling system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04248726A (en) * 1991-02-05 1992-09-04 Nec Corp Polling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09181752A (en) * 1995-12-22 1997-07-11 Nec Corp Polling method data collection system

Also Published As

Publication number Publication date
JP2713133B2 (en) 1998-02-16

Similar Documents

Publication Publication Date Title
EP0777948B1 (en) Duplicate message detection method and apparatus
US5936960A (en) Apparatus for and method of communicating among devices interconnected on a bus
JPH0512161A (en) Method of detecting message identifier in data transmission network of elevator system
JPH08123763A (en) Memory assigning system for distributed processing system
US5304992A (en) Method of allocating identifiers and apparatus for the same
US6073197A (en) Apparatus for and method of communicating data among devices interconnected on a bus by using a signalling channel to set up communications
JPH10307779A (en) State information managing method and communication system
KR100257413B1 (en) Address management for remote terminals in digital loop transmission systems
US5586056A (en) Remote monitoring system using a polling level table and a monitored station number table
US6615285B1 (en) Method and apparatus for dynamically determining an address uniquely identifying a hardware component on a common bus
US4780871A (en) Data Transmission system
JP2713133B2 (en) Polling data collection method
JP2003008600A (en) Data collection system and method
US6104722A (en) Apparatus for and method of communicating among devices interconnected on a bus
JP2930771B2 (en) Wireless data collection method
JP2770809B2 (en) Polling data collection method
CN102065009A (en) Method for allocating distributed queue and distributed system
KR0156856B1 (en) Apparatus and method for multi-message retransmission deal device and method thereof
JP3020402B2 (en) Status information collection system and status management system
EP0609714A1 (en) Polling type data collection system
JPH11112531A (en) Token transfer method and communication system
JP3099582B2 (en) Information collection method for vending machines
US6111885A (en) Apparatus for and method of communicating data among devices interconnected on a bus
JP2945830B2 (en) Communication method of building management device
CN113946369A (en) Automatic adding method, device, system, equipment and storage medium of equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071031

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 16

EXPY Cancellation because of completion of term