JP2007274155A - Unit and program for data collection - Google Patents
Unit and program for data collection Download PDFInfo
- Publication number
- JP2007274155A JP2007274155A JP2006095082A JP2006095082A JP2007274155A JP 2007274155 A JP2007274155 A JP 2007274155A JP 2006095082 A JP2006095082 A JP 2006095082A JP 2006095082 A JP2006095082 A JP 2006095082A JP 2007274155 A JP2007274155 A JP 2007274155A
- Authority
- JP
- Japan
- Prior art keywords
- station
- data
- collection
- slave
- slave station
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集装置およびデータ収集プログラムに関し、特に、ポーリング方式によって複数の子局から順番にデータを収集する際に、各子局から満遍なく公平にデータを収集することができるデータ収集装置およびデータ収集プログラムに関する。 The present invention relates to a data collection apparatus and a data collection program for collecting data by sequentially assigning a smaller number of lines from a plurality of slave stations to each slave station, and in particular, data in order from a plurality of slave stations by a polling method. The present invention relates to a data collection device and a data collection program that can collect data uniformly from each slave station when collecting data.
一般に、大規模な田畑などの農業用地には、灌漑のための用水路が網目状に張り巡らされることがある。このような用水路においては、要所にゲートやポンプなどの施設が敷設されており、水量が調節されて洪水や渇水の発生が防止される。ところで、用水路の規模は、農業用地が大規模になればなるほど大きくなり、敷設されるゲートやポンプの数も多くなる。このため、特に大規模農業用地では、ゲートやポンプの制御および水量の変化などの監視を効率的に行うことが望まれる。 In general, agricultural lands such as large-scale fields can have irrigation canals running in a mesh. In such irrigation canals, facilities such as gates and pumps are laid at important points, and the amount of water is adjusted to prevent the occurrence of floods and droughts. By the way, the scale of the irrigation channel becomes larger as the agricultural land becomes larger, and the number of gates and pumps to be laid increases. For this reason, it is desired to efficiently monitor gates and pumps and change in the amount of water, particularly in large-scale agricultural land.
そこで、例えば非特許文献1に記載されているように、中央の管理局と複数の子局とからなる用水路管理システムが導入されることがある。この用水路管理システムでは、管理局から各子局へゲートやポンプなどの制御指令が送られ、子局は、この制御指令に従って自局に属するゲートやポンプを動作させる。また、各子局では、自局の位置における水位や流量などのデータが収集され、このデータが管理局へ送られるようになっており、管理局において用水路全体の施設の制御やデータ収集を一元的に管理することができる。
Therefore, for example, as described in Non-Patent
このような用水路管理システムは、一般に導入コストが高くつくため、管理局と子局との間の通信方式として、例えば特許文献1に開示された2:Nポーリング方式などのポーリング方式が採用され、コストの削減が図られることがある。2:Nポーリング方式は、子局の数(N)が3以上であっても2回線のみを使用して管理局が各子局と順番に通信を行い、子局への制御指令送信や子局からのデータ受信を実行するものである。したがって、例えば1つの子局に対して制御指令送信が実行されている間は、この子局によって1つの回線が占有されるため、他の子局からのデータ受信は残りの1回線を用いて順次行われることになる。また、いずれの子局に対しても制御指令送信が実行されていない通常時は、子局全体が半数ずつの2グループに分けられ、それぞれのグループに割り当てられる回線によりデータ受信が順次行われる。
Since such an irrigation channel management system is generally expensive to introduce, a polling method such as the 2: N polling method disclosed in
しかしながら、2:Nポーリング方式によって子局からのデータ収集が行われる場合、子局が回線を使用する順番が固定されていると、特定の子局からのデータ収集が長時間実行されないことがあるという問題がある。すなわち、1回線の占有を伴う子局の制御が発生する状態と、2グループに分けられた子局がそれぞれ固定の順番で回線を使用する通常状態とが繰り返されると、制御が発生するタイミングによっては、長時間にわたって回線を使用することができない子局が生じてしまうことがある。 However, when data collection from a slave station is performed by the 2: N polling method, data collection from a specific slave station may not be executed for a long time if the order in which the slave stations use the line is fixed. There is a problem. In other words, if the state in which control of the slave station accompanying the occupation of one line occurs and the normal state in which the slave stations divided into two groups each use the line in a fixed order are repeated, depending on the timing at which the control occurs May cause a slave station that cannot use the line for a long time.
そして、長時間にわたって回線を使用することができない子局からは、当然データを収集することができず、特に用水路管理システムにおいては、水位の異常などの発見が遅れ、結果として洪水などの水害が発生する恐れがある。具体的には、例えば制御される子局の直近下流の子局が長時間にわたって回線を使用できない場合、制御によって直近下流の子局における水位や流量は大幅に変化すると考えられるものの、順番待ちによりこの子局からのデータ収集が遅延し、直近下流の子局における水位や流量の異常を発見できないことがある。 Of course, data cannot be collected from a slave station that cannot use the line for a long time. Especially in the irrigation channel management system, the discovery of water level abnormalities is delayed, resulting in flood damage such as flooding. May occur. Specifically, for example, if the slave station immediately downstream of the slave station to be controlled cannot use the line for a long time, the water level and flow rate in the slave station immediately downstream will be significantly changed by the control. Data collection from this slave station is delayed, and abnormalities in water level and flow rate at the slave station immediately downstream may not be found.
本発明はかかる点に鑑みてなされたものであり、ポーリング方式によって複数の子局から順番にデータを収集する際に、各子局から満遍なく公平にデータを収集することができるデータ収集装置およびデータ収集プログラムを提供することを目的とする。 The present invention has been made in view of the above points, and when collecting data sequentially from a plurality of slave stations by a polling method, a data collection device and data that can collect data evenly and uniformly from each slave station The purpose is to provide a collection program.
上記課題を解決するために、本発明は、複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集装置であって、子局ごとにデータが収集される収集時刻を記憶する記憶手段と、前記記憶手段に記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定手段と、前記決定手段によって決定された収集順序で子局からデータを収集する収集手段とを有することを特徴とする。 In order to solve the above-mentioned problem, the present invention is a data collection device that collects data by sequentially assigning a smaller number of lines from a plurality of slave stations to each slave station, and collects data for each slave station. A storage means for storing the collected collection time, a determination means for determining a collection order in which a line is allocated earlier to a slave station having a collection time stored in the storage means, and a child in the collection order determined by the determination means. And collecting means for collecting data from the station.
また、本発明は、上記発明において、前記決定手段は、複数の子局のうち集中監視が必要な影響監視局を指定する指定手段を含み、前記指定手段によって指定された影響監視局を優先して収集順序を決定することを特徴とする。 Further, the present invention is the above invention, wherein the determining means includes a specifying means for specifying an influence monitoring station that requires centralized monitoring among a plurality of slave stations, and the influence monitoring station specified by the specifying means is prioritized. And determining the collection order.
また、本発明は、上記発明において、前記決定手段は、前記指定手段によって指定された影響監視局に1回線を占有させて収集順序を決定することを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the determination means determines the collection order by causing the influence monitoring station designated by the designation means to occupy one line.
また、本発明は、上記発明において、前記決定手段は、前記指定手段によって指定された影響監視局に回線が割り当てられる頻度を影響監視局以外の子局に回線が割り当てられる頻度より高くすることを特徴とする。 Also, in the present invention according to the above-mentioned invention, the determining means may increase the frequency that the line is assigned to the influence monitoring station designated by the designation means higher than the frequency that the line is assigned to a slave station other than the influence monitoring station. Features.
また、本発明は、上記発明において、前記指定手段は、子局に係る変化とこの変化に応じて集中監視が必要となる子局との組み合わせを定義する定義テーブルと、子局ごとの状況または子局ごとの収集データから前記定義テーブルを参照して集中監視の要不要を判定する判定手段と、前記判定手段によって集中監視が必要と判定された子局を影響監視局として記憶する集中監視テーブルとを含むことを特徴とする。 Further, the present invention is the above invention, wherein the specifying means includes a definition table that defines a combination of a change related to a slave station and a slave station that requires centralized monitoring in accordance with the change, a situation for each slave station, or Determining means for determining whether central monitoring is necessary or not by referring to the definition table from the collected data for each slave station, and a centralized monitoring table for storing the slave station determined to require centralized monitoring by the determining means as an influence monitoring station It is characterized by including.
また、本発明は、上記発明において、前記定義テーブルは、子局に対する制御とこの制御によって影響を受ける子局との組み合わせを定義することを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the definition table defines a combination of a control for a slave station and a slave station affected by the control.
また、本発明は、上記発明において、前記定義テーブルは、子局における異常状態とこの異常状態によって影響を受ける子局との組み合わせを定義することを特徴とする。 Further, the present invention is characterized in that, in the above-mentioned invention, the definition table defines a combination of an abnormal state in a slave station and a slave station affected by the abnormal state.
また、本発明は、上記発明において、前記定義テーブルは、子局からの収集データの変化とこの収集データの変化によって影響を受ける子局との組み合わせを定義することを特徴とする。 Also, the present invention is characterized in that, in the above-mentioned invention, the definition table defines a combination of a change in collected data from a slave station and a slave station affected by the change in the collected data.
また、本発明は、複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集装置であって、複数の子局のうち集中監視が必要な影響監視局を指定する指定手段と、子局ごとにデータを収集する収集時刻を記憶する記憶手段と、前記指定手段によって指定された影響監視局からデータを収集する収集順序を決定後、影響監視局以外の子局であって前記記憶手段によって記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定する決定手段と、前記決定手段によって決定された収集順序で子局からデータを収集する収集手段とを有することを特徴とする。 Further, the present invention is a data collection device for collecting data by sequentially assigning a smaller number of lines from a plurality of slave stations to each slave station, and monitoring the influence that requires centralized monitoring among the plurality of slave stations Specifying means for designating stations, storage means for storing the collection time for collecting data for each slave station, and after determining the collection order for collecting data from the influence monitoring stations designated by the designation means, other than the influence monitoring stations Determining means for determining the collection order in which data is collected in order from the slave station having the oldest collection time stored in the storage means, and collecting data from the slave stations in the order of collection determined by the determining means And a collecting means.
また、本発明は、複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集プログラムであって、コンピュータに、子局ごとにデータが収集される収集時刻を記憶する記憶工程と、前記記憶工程にて記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定工程と、前記決定工程にて決定された収集順序で子局からデータを収集する収集工程とを実行させることを特徴とする。 Further, the present invention is a data collection program for collecting data by sequentially assigning a smaller number of lines from a plurality of slave stations to each slave station and collecting the data for each slave station in a computer A storage step for storing the time, a determination step for determining a collection order in which a line is assigned earlier to a slave station having an older collection time stored in the storage step, and a slave station in the collection order determined in the determination step And a collection step of collecting data from the data.
また、本発明は、複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集プログラムであって、コンピュータに、子局ごとにデータを収集する収集時刻を記憶する記憶工程と、複数の子局のうち集中監視が必要な影響監視局を指定する指定工程と、前記指定工程にて指定された影響監視局からデータを収集する収集順序を決定する第1決定工程と、影響監視局以外の子局であって前記記憶工程にて記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定する第2決定工程と、前記第1決定工程および前記第2決定工程にて決定された収集順序で子局からデータを収集する収集工程とを実行させることを特徴とする。 Further, the present invention is a data collection program for collecting data by sequentially assigning a smaller number of lines than the number of slave stations from a plurality of slave stations to each slave station, and collecting time for collecting data for each slave station in a computer A storage step for storing data, a designation step for designating an influence monitoring station that requires centralized monitoring among a plurality of slave stations, and a collection order for collecting data from the influence monitoring stations designated in the designation step A first determination step, a second determination step of determining a collection order in which data is collected in order from a child station other than the influence monitoring station and having a collection time stored in the storage step, and the first determination step; And a collection step of collecting data from the slave stations in the collection order determined in the second determination step.
本発明によれば、子局ごとにデータが収集される収集時刻を記憶し、記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定し、決定された収集順序で子局からデータを収集する。このため、前回のデータ収集時刻が古い子局ほど次のデータ収集が早く行われ、ポーリング方式によって複数の子局から順番にデータを収集する際に、各子局から満遍なく公平にデータを収集することができる。 According to the present invention, a collection time at which data is collected for each slave station is stored, a collection order in which a line is allocated earlier for a slave station having a stored collection time earlier, and the slave station is determined in the determined collection order. Collect data from For this reason, the slave station with the older previous data collection time collects the next data earlier, and when collecting data sequentially from a plurality of slave stations by the polling method, collects data uniformly from each slave station. be able to.
また、本発明によれば、複数の子局のうち集中監視が必要な影響監視局を指定し、指定された影響監視局を優先して収集順序を決定するため、データの大幅な変化などが予想される影響監視局を重点的にモニタリングすることができ、例えば用水路管理システムなどでは、洪水や渇水などの危険を早期に発見することができる。 In addition, according to the present invention, an influence monitoring station that requires centralized monitoring among a plurality of slave stations is designated, and the collection order is determined with priority on the designated influence monitoring station. Foreseeable impact monitoring stations can be intensively monitored. For example, in irrigation channel management systems, dangers such as floods and droughts can be detected early.
また、本発明によれば、指定された影響監視局に1回線を占有させて収集順序を決定するため、常に影響監視局を監視することができ、確実に影響監視局におけるデータの変化をモニタリングすることができる。 Further, according to the present invention, since the designated influence monitoring station occupies one line and determines the collection order, the influence monitoring station can always be monitored, and the data change in the influence monitoring station can be reliably monitored. can do.
また、本発明によれば、指定された影響監視局に回線が割り当てられる頻度を影響監視局以外の子局に回線が割り当てられる頻度より高くするため、影響監視局を重点的に監視しながら、他の子局のデータ収集も実行することができ、すべての子局からのデータ収集を満遍なく実行することができる。 In addition, according to the present invention, in order to make the frequency that the line is assigned to the designated influence monitoring station higher than the frequency that the line is assigned to the slave station other than the influence monitoring station, Data collection of other slave stations can also be performed, and data collection from all the slave stations can be performed uniformly.
また、本発明によれば、子局に係る変化とこの変化に応じて集中監視が必要となる子局との組み合わせを定義する定義テーブルを記憶し、子局ごとの状況または子局ごとの収集データから定義テーブルを参照して集中監視の要不要を判定し、集中監視が必要と判定された子局を影響監視局として記憶する。このため、実際に収集データなどが変化した子局のみではなく、変化の影響を受ける子局を影響監視局とすることができ、1つの子局における変化を影響を受ける他の子局にも反映して収集順序を決定することができる。 Further, according to the present invention, a definition table that defines a combination of a change related to a slave station and a slave station that requires centralized monitoring according to the change is stored, and a situation for each slave station or a collection for each slave station The definition table is referred to from the data to determine whether central monitoring is necessary or not, and the slave station determined to require central monitoring is stored as an impact monitoring station. For this reason, not only a slave station whose collected data has actually changed, but also a slave station that is affected by the change can be an impact monitoring station, and other slave stations that are affected by a change in one slave station can also be used. The collection order can be determined by reflection.
また、本発明によれば、定義テーブルが子局に対する制御とこの制御によって影響を受ける子局との組み合わせを定義するため、制御によって状況が変化する子局を集中監視することになり、例えば用水路管理システムにおいて、ゲートやポンプの動作によって影響を受ける位置の水位や流量を重点的にモニタリングすることができる。 Further, according to the present invention, since the definition table defines a combination of the control for the slave station and the slave station affected by the control, the slave station whose situation is changed by the control is centrally monitored. In the management system, the water level and the flow rate at the position affected by the operation of the gate and the pump can be intensively monitored.
また、本発明によれば、定義テーブルが子局における異常状態とこの異常状態によって影響を受ける子局との組み合わせを定義するため、故障などの異常によって状況が変化する子局を集中監視することになり、例えば用水路管理システムにおいて、ゲートやポンプの故障によって影響を受ける位置の水位や流量を重点的にモニタリングすることができる。 Further, according to the present invention, the definition table defines a combination of an abnormal state in the slave station and a slave station that is affected by the abnormal state, so that the slave station whose situation changes due to an abnormality such as a failure can be centrally monitored. Thus, for example, in the irrigation channel management system, the water level and the flow rate at the position affected by the failure of the gate and the pump can be intensively monitored.
また、本発明によれば、定義テーブルが子局からの収集データの変化とこの収集データの変化によって影響を受ける子局との組み合わせを定義するため、収集データの大幅な変化によって状況が変化する子局を集中監視することになり、例えば用水路管理システムにおいて、上流における大雨によって影響を受ける位置の水位や流量を重点的にモニタリングすることができる。 Further, according to the present invention, the definition table defines a combination of a change in the collected data from the slave station and a slave station that is affected by the change in the collected data, so that the situation changes due to a significant change in the collected data. The slave stations will be centrally monitored. For example, in the irrigation channel management system, the water level and the flow rate at the position affected by the heavy rain upstream can be intensively monitored.
また、本発明によれば、複数の子局のうち集中監視が必要な影響監視局を指定し、子局ごとにデータを収集する収集時刻を記憶し、指定された影響監視局からデータを収集する収集順序を決定後、影響監視局以外の子局であって記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定し、決定された収集順序で子局からデータを収集する。このため、前回のデータ収集時刻が古い子局が影響監視局の次に優先されてデータ収集が行われるため、必要な集中監視を実行すると同時にデータ収集順序の公平性を確保することができる。 Further, according to the present invention, an influence monitoring station that requires centralized monitoring among a plurality of slave stations is designated, a collection time for collecting data for each slave station is stored, and data is collected from the designated influence monitoring station After determining the collection order to be collected, determine the collection order to collect data in order from the slave stations other than the impact monitoring station whose stored collection time is the oldest, and collect data from the slave stations in the determined collection order To do. For this reason, since the slave station with the previous previous data collection time is prioritized next to the influence monitoring station, data collection is performed. Therefore, the fairness of the data collection order can be ensured simultaneously with the necessary centralized monitoring.
以下、本発明の一実施の形態について、図面を参照して詳細に説明する。なお、以下においては、ゲートやポンプを備えた用水路管理システムにおいて2:Nポーリング方式を採用した場合を例に挙げて説明するが、本発明は、用水路管理システム以外におけるデータ収集時や2:Nポーリング方式以外のポーリング方式採用時にも適用することができる。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the following, the case where the 2: N polling method is adopted in the irrigation channel management system provided with a gate and a pump will be described as an example. However, the present invention is not limited to data collection other than the irrigation channel management system. It can also be applied when a polling method other than the polling method is adopted.
図1は、本実施の形態に係る用水路管理システムの概略構成を示すブロック図である。同図に示すように、本実施の形態に係る用水路管理システムは、データ収集や制御指令のために2回線の通信回線を備えた管理局10と各々ゲートやポンプを備えた子局20−1〜20−Nとを有している。
FIG. 1 is a block diagram showing a schematic configuration of the irrigation channel management system according to the present embodiment. As shown in the figure, the irrigation channel management system according to the present embodiment includes a
管理局10は、2回線の通信回線を備えたデータ収集装置を有しており、子局20−1〜20−Nから順番に水位・流量などのデータを収集する。また、管理局10は、各子局20−1〜20−Nに属しているゲートやポンプの制御が必要な場合、制御が必要な子局にいずれかの回線を割り当て、制御指令を送信する。
The
管理局10は、制御が必要な子局がない場合は、各子局20−1〜20−Nからデータを収集するが、このとき、データ収集装置は、長時間データ収集が行われない子局が生じないように、前回の収集時刻が最も古い子局に優先して回線を割り当て、データ収集の順序が公平になるようにする。また、いずれかの子局に対して制御指令を送信した場合や、いずれかの子局におけるデータの変化が大きくなった場合などは、データ収集装置は、制御や自然条件などによって水位や流量などの当面の変化が大きくなると考えられる子局を影響監視局とし、影響監視局のデータ収集の頻度を高くして集中監視する。これらのデータ収集装置におけるデータ収集の順序決定については、後に詳述する。
The
子局20−1〜20−Nは、管理局10から通信回線が割り当てられたタイミングで、自局における水位・流量などのデータを管理局10へ送信する。このとき、子局20−1〜20−Nは、自局や自局に属するゲートまたはポンプに故障などの異常が発生している場合は、その旨の異常通知信号をデータとともに管理局10へ送信する。また、子局20−1〜20−Nは、管理局10からの制御指令が受信された場合、制御指令に従って自局に属するゲートやポンプを制御する。ゲートやポンプを制御中の子局は、2回線の通信回線のうち1回線を占有することになる。なお、図1においては、管理局10と実線で接続された子局20−1と子局20−3がそれぞれ1回線ずつを使用している状態を示す。
The slave stations 20-1 to 20 -N transmit data such as the water level and flow rate at the local station to the
図2は、本実施の形態に係る管理局10に備えられたデータ収集装置の要部構成を示すブロック図である。図2に示すデータ収集装置は、定義テーブル記憶部101、集中監視判定部102、制御指示部103、集中監視テーブル記憶部104、収集時刻記憶部105、収集順序決定部106、回線割当テーブル107、回線割当部108、および回線部109−1、109−2を有している。
FIG. 2 is a block diagram showing a main configuration of the data collection device provided in the
定義テーブル記憶部101は、子局20−1〜20−Nにおける状況の変化と、状況が変化した場合にデータ収集を優先して集中監視を実行するべき影響監視局とがあらかじめ定義された定義テーブルを記憶している。具体的には、定義テーブル記憶部101は、制御優先テーブル101a、状態変化優先テーブル101b、およびデータ変化優先テーブル101cの3種類の定義テーブルを有している。
The definition
制御優先テーブル101aは、例えば図3−1に示すように、各子局における制御の内容と、この子局の制御によって影響を受ける影響監視局とが対応付けて定義されており、制御が実行される場合には、この制御に対応して集中監視が必要となる影響監視局が把握可能になっている。すなわち、例えば図3−1において、子局1に属しているAゲートを制御する場合、B地点の水位が影響を受けるため、B地点にある子局3が影響監視局となる。そして、終了条件は水位変化が0.1未満となることであるため、子局3は水位変化が0.1未満となるまで集中監視されることになる。換言すれば、子局3に回線が割り当てられる頻度が高くなり、例えば1回線が子局3によって占有されたり、2回に1回の割合で子局3に回線が割り当てられたりすることになる。
In the control priority table 101a, for example, as shown in FIG. 3A, the contents of control in each slave station are defined in association with the influence monitoring stations affected by the control of this slave station, and the control is executed. In this case, it is possible to grasp the influence monitoring station that requires centralized monitoring corresponding to this control. That is, for example, in FIG. 3A, when controlling the A gate belonging to the
状態変化優先テーブル101bは、例えば図3−2に示すように、各子局における故障などの異常と、この子局の異常によって影響を受ける影響監視局とが対応付けて定義されており、子局における異常などの状態変化が発生した場合には、この子局の異常に対応して集中監視が必要となる影響監視局が把握可能になっている。すなわち、例えば図3−2において、子局1においてAという異常状態が肯定される(ONとなる)と、自局である子局1のみが影響監視局となる。そして、終了条件はAという異常状態が否定される(OFFとなる)ことであるため、子局1はAという異常状態が解消されるまで集中監視されることになる。
In the state change priority table 101b, for example, as shown in FIG. 3-2, an abnormality such as a failure in each child station and an influence monitoring station affected by the abnormality of the child station are defined in association with each other. When a state change such as an abnormality occurs in a station, it is possible to grasp an influence monitoring station that requires centralized monitoring in response to the abnormality of the slave station. That is, for example, in FIG. 3B, when the abnormal state A is affirmed (turned ON) in the
データ変化優先テーブル101cは、例えば図3−3に示すように、各子局における水位・流量などの収集データと、この子局の収集データの変化によって影響を受ける影響監視局とが対応付けて定義されており、子局の収集データが所定条件を満たしてデータ変化が発生した場合には、この子局の収集データに対応して集中監視が必要となる影響監視局が把握可能になっている。すなわち、例えば図3−3において、子局1における水位の前回値と今回値の変化が規定値0.10を超えると、自局である子局1と子局5が影響監視局となる。そして、終了条件は前回値と今回値の水位変化が規定値0.02未満となることであるため、子局1および子局5は水位変化が規定値0.02未満となるまで集中監視されることになる。データ変化優先テーブル101cにおける集中監視の開始条件および終了条件は、上述したものの他にも種々考えられ、例えば収集データと所定値との差分が所定のしきい値を超えるか否かで集中監視を開始するなどの条件としても良い。
In the data change priority table 101c, for example, as shown in FIG. 3C, the collected data such as the water level and the flow rate in each slave station is associated with the influence monitoring station affected by the change in the collected data of the slave station. If the data collected by the slave station meets the specified conditions and the data changes, it is possible to identify the impact monitoring station that requires centralized monitoring corresponding to the collected data of the slave station. Yes. That is, for example, in FIG. 3C, when the change in the previous value and the current value of the water level in the
なお、これらの定義テーブルにおいて定義される影響監視局は、それぞれ制御される子局自身や状態変化またはデータ変化が生じた子局自身を含んでも良く、また、1つの制御、状態変化、およびデータ変化に対して、複数の影響監視局が定義されていても良い。また、影響監視局は、制御、状態変化、およびデータ変化が発生する子局の上流に位置していても良く、下流に位置していても良い。 Note that the influence monitoring stations defined in these definition tables may include the slave station itself to be controlled and the slave station itself in which the state change or data change has occurred, or one control, state change, and data. A plurality of influence monitoring stations may be defined for the change. Further, the influence monitoring station may be located upstream or downstream of the slave station where control, state change, and data change occur.
集中監視判定部102は、子局20−1〜20−Nに対する制御指令の送信および子局20−1〜20−Nからの収集データの受信に際して、定義テーブル記憶部101に記憶された制御優先テーブル101a、状態変化優先テーブル101b、およびデータ変化優先テーブル101cを参照して集中監視が必要な影響監視局を選択し、集中監視テーブル記憶部104に記憶された集中監視予約テーブル104aまたは即時集中監視テーブル104bを更新する。
The centralized
具体的には、集中監視判定部102は、制御指示部103からいずれかの子局が制御されることと制御の内容を示す通知を受けると、この制御内容に応じた影響監視局を制御優先テーブル101aから選択し、影響監視局の集中監視を開始する時刻を集中監視予約テーブル104aに登録する。このとき、集中監視判定部102は、制御が実行される子局と影響監視局との距離を制御が実行される子局における流速で除算することにより、制御による影響が影響監視局へ到達する時間を算出し、集中監視を開始すべき時刻を集中監視予約テーブル104aに登録する。
Specifically, when receiving a notification indicating that any of the slave stations is controlled and the content of the control from the
また、集中監視判定部102は、回線部109−1、109−2から収集データまたは異常通知信号が出力されると、異常通知信号に応じた影響監視局を状態変化優先テーブル101bから選択するとともに、収集データに応じた影響監視局をデータ変化優先テーブル101cから選択し、選択された影響監視局を即座に集中監視を開始する影響監視局として即時集中監視テーブル104bに登録する。
When the collected data or the abnormality notification signal is output from the line units 109-1 and 109-2, the centralized
制御指示部103は、子局20−1〜20−Nに属するゲートやポンプを制御する際に、制御される子局に回線部109−1または回線部109−2の一方を占有させるよう収集順序決定部106へ指示する。そして、制御指示部103は、制御の内容を回線割当部108へ出力する。さらに、制御指示部103は、制御される子局と制御の内容を集中監視判定部102へ通知する。
When the
集中監視テーブル記憶部104は、集中監視が必要な影響監視局が登録された集中監視テーブルを記憶している。具体的には、集中監視テーブル記憶部104は、集中監視予約テーブル104aおよび即時集中監視テーブル104bを記憶している。
The centralized monitoring
集中監視予約テーブル104aは、ゲートやポンプの制御によって、将来集中監視が必要となる影響監視局を記憶している。すなわち、集中監視予約テーブル104aは、制御優先テーブル101aによって規定される影響監視局と、この影響監視局に制御の影響が到達する時刻とを組み合わせて記憶している。 The centralized monitoring reservation table 104a stores an influence monitoring station that needs centralized monitoring in the future by controlling gates and pumps. That is, the centralized monitoring reservation table 104a stores a combination of the influence monitoring station defined by the control priority table 101a and the time when the influence of control reaches the influence monitoring station.
即時集中監視テーブル104bは、子局の故障などの異常や自然条件の変化によって、即座に集中監視が必要となる影響監視局を記憶している。すなわち、即時集中監視テーブル104bは、状態変化優先テーブル101bおよびデータ変化優先テーブル101cによって規定される影響監視局を記憶している。 The immediate centralized monitoring table 104b stores an influence monitoring station that requires immediate centralized monitoring due to an abnormality such as a failure of a slave station or a change in natural conditions. That is, the immediate centralized monitoring table 104b stores an influence monitoring station defined by the state change priority table 101b and the data change priority table 101c.
収集時刻記憶部105は、回線部109−1、109−2によって子局20−1〜20−Nからデータが収集されると、その収集時刻を記憶する。このとき、収集時刻記憶部105は、回線部109−1、109−2のいずれによってデータが収集されたかを区別する必要はなく、各子局からデータが収集された時刻を単に時系列で記憶すれば良い。なお、制御中の子局については、回線部109−1、109−2のいずれかを占有しており、制御とともに随時データが収集されているものとする。したがって、収集時刻記憶部105は、制御中の子局からデータが収集された時刻も逐一記憶する。
The collection
収集順序決定部106は、集中監視テーブル記憶部104に記憶された集中監視予約テーブル104aおよび即時集中監視テーブル104bを参照して集中監視が必要な子局があるか否かを確認し、集中監視される子局および制御中の子局がなければ、収集時刻記憶部105を参照して、前回のデータ収集時刻が最も古い子局から順にデータ収集が行なわれるように収集順序を決定する。また、収集順序決定部106は、集中監視される子局または制御中の子局があれば、これらの子局を優先して収集順序を決定する。すなわち、例えば集中監視される子局や制御中の子局にそれぞれ1回線を占有させ、空き回線があれば、前回のデータ収集時刻が古い子局から順に空き回線を割り当てていく。なお、制御中の子局には1回線を占有させるが、集中監視される子局に関しては、完全に1回線を占有させるのではなく、データ収集の頻度を高くして、例えば2回に1回の割合で回線が割り当てられる収集順序を決定しても良い。収集順序決定部106によって決定された収集順序は、回線割当テーブル107へ出力される。
The collection
回線割当テーブル107は、回線部109−1、109−2にそれぞれ割り当てられる子局の順序を記憶している。すなわち、回線割当テーブル107は、例えば図4に示すように、回線部109−1に対応する回線#1と回線部109−2に対応する回線#2とを用いて通信する子局の順序を記憶している。この順序は、収集順序決定部106によって決定されており、原則として、前回のデータ収集時刻が古い順に回線#1または回線#2のいずれかが割り当てられている。ただし、図4に例示するように、例えば制御中である子局5は1番目と2番目の順番において回線#1を占有しており、集中監視が予約されている子局6と子局9は3〜6番目の順番において回線#2を優先的に使用している。
The line assignment table 107 stores the order of the slave stations assigned to the line units 109-1 and 109-2. That is, as shown in FIG. 4, for example, the line allocation table 107 indicates the order of the slave stations that communicate using the
回線割当部108は、回線割当テーブル107に従って、回線部109−1および回線部109−2の通信相手となる子局を指定し、子局からのデータ収集を実行させる。また、回線割当部108は、制御指示部103から制御の内容が通知されている場合は、制御される子局に割り当てられているいずれかの回線部に制御の内容を示す制御指令を転送し、子局へ送信させる。
The
回線部109−1、109−2は、それぞれ1回線ずつ有しており、回線割当部108からの指示に従って、回線が割り当てられた子局から収集データを送信させ、送信された収集データを受信する。また、回線部109−1、109−2は、回線割当部108から制御指令が転送された場合は、回線が割り当てられた子局へ制御指令を送信し、この子局から継続的に収集データを送信させる。そして、回線部109−1、109−2は、収集データが受信されると、その収集データを送信した子局を収集時刻記憶部105へ通知するとともに、収集データを集中監視判定部102へ出力する。
Each of the line units 109-1 and 109-2 has one line. In accordance with an instruction from the
次いで、上記のように構成されたデータ収集装置によるデータ収集順序決定動作について、図5に示すフロー図を参照しながら説明する。 Next, the data collection order determination operation by the data collection apparatus configured as described above will be described with reference to the flowchart shown in FIG.
上述したように、本実施の形態におけるデータの収集順序は、収集順序決定部106によって、原則として前回のデータ収集時刻が古い子局から順に決定される。しかし、本実施の形態においては、さらに子局の制御や子局の故障や自然条件により集中監視が必要な影響監視局が決定され、この影響監視局は、データの収集順序が優先される。
As described above, the data collection order in this embodiment is determined by the collection
そして、集中監視が必要な影響監視局の有無は、集中監視判定部102によって判断されている。すなわち、集中監視判定部102によって、制御指示部103から子局におけるゲートやポンプを制御するための制御指示が出されたか否かが判定され(ステップS101)、制御指示が出された場合は、集中監視判定部102によって定義テーブル記憶部101の制御優先テーブル101aが参照され、影響監視局が集中監視予約テーブル104aに登録される(ステップS102)。この集中監視テーブル(集中監視予約テーブル104a)更新については、後に詳述する。
The centralized
そして、集中監視テーブルの更新後や制御指示部103から制御指示が出されていない場合は、引き続き集中監視判定部102によって、回線部109−1、109−2にいずれかの子局からのデータが収集されたか否かが判定される(ステップS103)。データが収集された場合は、集中監視判定部102によって定義テーブル記憶部101の状態変化優先テーブル101bおよびデータ変化優先テーブル101cが参照され、影響監視局が即時集中監視テーブル104bに登録される(ステップS104)。この集中監視テーブル(即時集中監視テーブル104b)更新についても、後に詳述する。
Then, after updating the centralized monitoring table or when a control instruction is not issued from the
以上の処理により、集中監視テーブル記憶部104に記憶された集中監視テーブル(すなわち、集中監視予約テーブル104aおよび即時集中監視テーブル104b)の更新が完了し、収集順序決定部106によるデータの収集順序決定が開始されることになる。なお、集中監視判定部102による集中監視テーブルの更新は、随時行われており、制御指示部103から制御指示が出された場合や回線部109−1、109−2に収集データが受信された場合は、集中監視テーブルが更新される。
With the above processing, the update of the centralized monitoring table (that is, the centralized monitoring reservation table 104a and the immediate centralized monitoring table 104b) stored in the centralized monitoring
収集順序決定部106によるデータ収集順序の決定の際は、まず、制御指示部103からの制御指示の有無によって、制御中の子局があるか否かが判定され(ステップS105)、制御中の子局がある場合は、収集順序決定部106によって、制御中の子局が1回線を占有すると決定され、制御中の子局のデータ収集順序が決定される(ステップS106)。この時点では、子局に対する制御がいつまで継続するか不明なため、収集順序決定部106は、暫定的に制御中以外のすべての子局が空き回線を順番に使用するものとしておく。
When the data collection order is determined by the collection
また、制御中の子局の収集順序決定後や制御中の子局がない場合は、収集順序決定部106によって、集中監視テーブル記憶部104の即時集中監視テーブル104bが参照され、集中監視中の影響監視局があるか否かが判定される(ステップS107)。集中監視中の影響監視局があれば、収集順序決定部106によって、集中監視中の影響監視局から優先的にデータを収集すると決定され、例えば影響監視局が1回線を占有するとして、影響監視局のデータ収集順序が決定される(ステップS108)。この時点では、影響監視局に対する集中監視がいつまで継続するか不明なため、収集順序決定部106は、暫定的に集中監視時の頻度(例えば一方の回線のすべての順番や一方の回線の2回に1回の順番)で継続して影響監視局に回線が割り当てられるものとして影響監視局の順番を決定する。
Further, after determining the collection order of the slave stations being controlled or when there is no slave station being controlled, the collection
そして、集中監視中の子局の収集順序決定後や集中監視中の子局がない場合は、収集順序決定部106によって、集中監視テーブル記憶部104の集中監視予約テーブル104aが参照され、集中監視が予約されている影響監視局があるか否かが判定される(ステップS109)。集中監視が予約されている影響監視局があれば、収集順序決定部106によって、集中監視の開始が予約されている時刻以降は影響監視局から優先的にデータを収集すると決定され、例えば影響監視局が1回線を占有するとして、影響監視局のデータ収集順序が決定される(ステップS110)。このとき、回線部109−1、109−2が1回のデータ収集に要する時間は、ほぼ一定であるため、集中監視が開始される時刻から影響監視局のデータ収集を優先すべき順番が判明する。また、この時点では、影響監視局に対する集中監視がいつまで継続するか不明なため、収集順序決定部106は、影響監視局に対する集中監視時の頻度(例えば一方の回線のすべての順番や一方の回線の2回に1回の順番)で継続して影響監視局に回線が割り当てられるものとして影響監視局の順番を決定する。
Then, after determining the collection order of the slave stations under centralized monitoring or when there is no slave station under centralized monitoring, the centralized monitoring reservation table 104a in the centralized monitoring
以上の処理により、制御中の子局や影響監視局などデータ収集が優先的に行われる子局のデータ収集順序が決定されたことになるため、続いて収集順序決定部106によって、収集時刻記憶部105が参照され、前回のデータ収集時刻が古い子局から順に次のデータ収集が行われるように空いた順番が埋められていく(ステップS111)。なお、収集順序決定部106は、上述したように集中監視テーブルを参照して影響監視局のデータ収集順序を決定する際、同時期に複数の影響監視局の集中監視が実行される場合は、収集時刻記憶部105を参照し、前回のデータ収集時刻が古い影響監視局を優先するようにしても良い。
With the above processing, since the data collection order of the slave stations that are preferentially collected such as the slave station being controlled and the influence monitoring station is determined, the collection time storage is subsequently performed by the collection
そして、収集順序決定部106は、決定したデータ収集順序を回線割当テーブル107に登録し、回線割当テーブル107を更新する(ステップS112)。このように、原則としては、前回のデータ収集時刻から古い子局を優先して次のデータ収集が行われるように収集順序が決定されながらも、制御中の子局および子局の制御や子局の故障や自然条件などによって集中監視が必要な影響監視局については、さらに優先されるようにデータ収集の頻度が決定される。このため、各子局から満遍なく公平にデータを収集することができるとともに、水位や流量の変化が大きいと考えられる子局におけるデータを集中監視し、洪水や渇水などを未然に防ぐことができる。
Then, the collection
次に、子局の制御が実行される際の、集中監視テーブル(すなわち、集中監視予約テーブル104a)の更新動作について、図6に示すフロー図を参照しながら説明しておく。 Next, the update operation of the centralized monitoring table (that is, the centralized monitoring reservation table 104a) when the slave station is controlled will be described with reference to the flowchart shown in FIG.
ユーザによって、いずれかの子局に属するゲートやポンプの制御が必要と判断された場合、この制御を指示するコマンドは制御指示部103によって受け付けられ(ステップS201)、制御指示部103から制御が実行される旨が通知されることにより、収集順序決定部106によって、制御される子局への回線の割り当てが決定される。そして、回線割当部108によって、割り当てられた回線の回線部に制御指示部103から出力された制御の内容を示す制御指令が転送され、回線部から子局へ制御指令が送信されることにより、この子局に属するゲートやポンプが制御される(ステップS202)。
When it is determined by the user that control of a gate or pump belonging to any of the slave stations is necessary, a command instructing this control is accepted by the control instruction unit 103 (step S201), and control is executed from the
また、制御指示部103は、子局の制御を実行することを集中監視判定部102へ通知し、集中監視判定部102によって、制御優先テーブル101aが参照される。そして、制御指示部103から通知された制御対象の子局と制御の内容とに対応する影響監視局が選択される(ステップS203)。そして、集中監視判定部102によって、制御対象の子局から影響監視局までの距離が制御対象の子局において前回のデータ収集時に取得された流速で除算されることにより、制御による影響が影響監視局へ到達するまでの時間が算出される(ステップS204)。これは、具体的には、例えば制御対象の子局に属するゲートを開いた場合、ゲートの下流では水量が増加して水位が高くなるが、この水位変化が影響監視局へ到達する時間を算出することなどが考えられる。
Further, the
そして、集中監視判定部102によって、影響監視局への影響到達時刻から影響監視局の集中監視を開始することが決定され、集中監視予約テーブル104aに影響監視局と集中監視を開始する時刻(影響到達時刻)とが登録される(ステップS205)。これにより、いずれかの子局に対して制御を実行した場合、この制御による影響を受ける影響監視局を集中監視するための集中監視テーブル(集中監視予約テーブル104a)の更新は完了する。
Then, the centralized
次に、子局からのデータが収集される際の、集中監視テーブル(すなわち、即時集中監視テーブル104b)の更新動作について、図7に示すフロー図を参照しながら説明しておく。 Next, the update operation of the centralized monitoring table (that is, the immediate centralized monitoring table 104b) when data from the slave station is collected will be described with reference to the flowchart shown in FIG.
回線部109−1、109−2によって、回線割当部108からの指示により子局からのデータが収集されると(ステップS301)、その旨が収集時刻記憶部105へ通知され、収集時刻記憶部105によって、子局ごとのデータ収集時刻が記憶される(ステップS302)。また、収集されたデータは、集中監視判定部102へ出力され、集中監視中の子局がある場合は、集中監視の終了条件が成立するか否かが判定される(ステップS303)。
When data from the slave station is collected by the line units 109-1 and 109-2 in accordance with an instruction from the line allocation unit 108 (step S301), the fact is notified to the collection
すなわち、集中監視中の子局からのデータが収集された場合は、集中監視判定部102によって、今回の収集データと前回の収集データとの変化が制御優先テーブル101a、状態変化優先テーブル101b、およびデータ変化優先テーブル101cの各終了条件に適合するか否かが確認される。具体的には、例えば図3−1に示した制御優先テーブル101aが定義テーブル記憶部101に記憶されている場合、子局3が集中監視されていれば、子局3からの収集データにおいて、前回の水位と今回の水位の変化が0.1未満となったときに、子局3の集中監視の終了条件が成立したことになる。
That is, when data is collected from a slave station that is under centralized monitoring, the centralized
同様に、図3−2に示した状態変化優先テーブル101bにおいては、子局からの収集データに異常通知信号が含まれなくなったときなどに集中監視の終了条件が成立することになる。また、図3−3に示したデータ変化優先テーブル101cにおいては、水位、流量、または雨量の前回値と今回値の変化が終了条件を示す規定値未満となったときに集中監視の終了条件が成立することになる。なお、ここでは終了条件を前回値と今回値の変化としているが、他にもさまざまな終了条件が考えられる。 Similarly, in the state change priority table 101b shown in FIG. 3B, the condition for termination of centralized monitoring is established when the abnormality notification signal is no longer included in the collected data from the slave station. Further, in the data change priority table 101c shown in FIG. 3-3, when the change in the previous value and the current value of the water level, the flow rate, or the rainfall is less than the specified value indicating the end condition, the central monitoring end condition is set. It will be established. Here, the end condition is a change between the previous value and the current value, but various other end conditions can be considered.
また、終了条件として、単に前回値と今回値の変化のみに着目するのではなく、集中監視判定部102が前回のデータ収集時刻を収集時刻記憶部105から読み出すようにしておき、単位時間当たりの変化量に着目した終了条件を設定しておいても良い。このような条件設定は、データ変化優先テーブル101cの開始条件にも適用することができる。単位時間当たりの変化量に着目することにより、より正確にデータの変化を集中監視に反映することができる。
In addition, as an ending condition, the central
集中監視判定部102による終了条件の確認の結果、今回データ収集した子局の集中監視を終了すべきであれば、集中監視判定部102によって、この子局の登録が集中監視予約テーブル104aまたは即時集中監視テーブル104bから削除される(ステップS304)。これにより、以後の収集順序決定部106によるデータ収集順序決定時には、集中監視されていた子局が優先されなくなる。
As a result of confirming the termination condition by the centralized
そして、集中監視中の子局の登録削除後や集中監視の終了条件が成立していない場合は、収集データに異常通知信号が含まれているか否か確認されることにより、子局に状態変化があったか否かが判定される(ステップS305)。この結果、子局に故障などが発生して収集データに異常通知信号が含まれていれば、集中監視判定部102によって、状態変化優先テーブル101bが参照され、異常が発生した子局に対応する影響監視局が選択され、この影響監視局が即時集中監視テーブル104bに登録される(ステップS306)。なお、子局に状態変化があった場合は、状態変化があった子局自身も影響監視局とするのが望ましい。
Then, after the registration deletion of the slave station under centralized monitoring or when the condition for termination of centralized monitoring is not satisfied, the status change is made to the slave station by checking whether the collected data contains an abnormality notification signal. It is determined whether or not there has been (step S305). As a result, if a failure or the like occurs in the slave station and the abnormality notification signal is included in the collected data, the centralized
そして、状態変化による影響監視局の登録後や状態変化がない場合は、今回の収集データと前回の収集データとの変化がデータ変化優先テーブル101cの規定値以上となるデータ変化が発生しているか否かが判定される(ステップS307)。この結果、データ変化が発生していれば、集中監視判定部102によって、データ変化優先テーブル101cが参照され、データ変化が発生した子局に対応する影響監視局が選択され、この影響監視局が即時集中監視テーブル104bに登録される(ステップS308)。なお、データ変化があった場合は、データ変化が生じた子局自身も影響監視局とするのが望ましい。また、上述したように、単に前回の収集データと今回の収集データとの変化値が規定値以上となっているか判定するのではなく、変化値を前回のデータ収集時からの経過時間で除算し、単位時間当たりの変化量を基準としてデータ変化があったか否かを判定するようにしても良い。
If there is no state change after registration of the influence monitoring station due to the state change, whether there is a data change in which the change between the current collected data and the previous collected data is equal to or greater than the specified value of the data change priority table 101c. It is determined whether or not (step S307). As a result, if a data change has occurred, the centralized
これらのように、集中監視すべき影響監視局を集中監視予約テーブル104aおよび即時集中監視テーブル104bに登録することにより、データ収集を優先的に実行する子局を明確に区別することができ、データの変化が大きいと予想される子局を重点的にモニタリングすることができる。 As described above, by registering the influence monitoring stations to be centrally monitored in the centralized monitoring reservation table 104a and the immediate centralized monitoring table 104b, it is possible to clearly distinguish the slave stations that preferentially execute data collection. It is possible to focus on monitoring the slave stations that are expected to change significantly.
以上のように、本実施の形態によれば、原則として前回のデータ収集時刻が古い子局から順に回線を割り当ててデータ収集を実行する一方、子局の制御、子局の異常、および自然条件などにより集中監視が必要な影響監視局を決定しておき、制御中の子局および影響監視局に優先的に回線を割り当ててデータ収集を実行する。このため、ポーリング方式によって複数の子局から順番にデータを収集する際に、各子局から満遍なく公平にデータを収集することができる。また、子局の制御、子局の異常、および自然条件などによって、影響を受ける子局が集中監視されるため、洪水や渇水などの危険を早期に発見することができ、効率的に水害を防止することができる。 As described above, according to the present embodiment, in principle, data collection is performed by assigning lines in order from the slave station with the oldest data collection time, while the slave station control, slave station abnormality, and natural conditions are performed. The influence monitoring station that needs centralized monitoring is determined by the above, and data collection is performed by preferentially allocating a line to the slave station and the influence monitoring station being controlled. For this reason, when data is collected sequentially from a plurality of slave stations by the polling method, data can be collected uniformly and fairly from each slave station. In addition, the affected slave stations are centrally monitored by the slave station control, slave station abnormalities, and natural conditions, so it is possible to detect dangers such as floods and droughts at an early stage. Can be prevented.
(付記1)複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集装置であって、
子局ごとにデータが収集される収集時刻を記憶する記憶手段と、
前記記憶手段に記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定手段と、
前記決定手段によって決定された収集順序で子局からデータを収集する収集手段と
を有することを特徴とするデータ収集装置。
(Appendix 1) A data collection device that collects data by sequentially assigning a smaller number of lines from a plurality of slave stations to each slave station.
Storage means for storing a collection time at which data is collected for each slave station;
A determination unit that determines a collection order in which a line is assigned earlier to a slave station having an older collection time stored in the storage unit;
A data collecting apparatus comprising: collecting means for collecting data from the slave stations in the collection order determined by the determining means.
(付記2)前記決定手段は、
複数の子局のうち集中監視が必要な影響監視局を指定する指定手段を含み、
前記指定手段によって指定された影響監視局を優先して収集順序を決定することを特徴とする付記1記載のデータ収集装置。
(Supplementary note 2)
Including designation means for designating impact monitoring stations that require centralized monitoring among multiple slave stations,
The data collection apparatus according to
(付記3)前記決定手段は、
前記指定手段によって指定された影響監視局に1回線を占有させて収集順序を決定することを特徴とする付記2記載のデータ収集装置。
(Supplementary note 3)
The data collection apparatus according to
(付記4)前記決定手段は、
前記指定手段によって指定された影響監視局に回線が割り当てられる頻度を影響監視局以外の子局に回線が割り当てられる頻度より高くすることを特徴とする付記2記載のデータ収集装置。
(Supplementary note 4)
3. The data collection device according to
(付記5)前記指定手段は、
子局に係る変化とこの変化に応じて集中監視が必要となる子局との組み合わせを定義する定義テーブルと、
子局ごとの状況または子局ごとの収集データから前記定義テーブルを参照して集中監視の要不要を判定する判定手段と、
前記判定手段によって集中監視が必要と判定された子局を影響監視局として記憶する集中監視テーブルと
を含むことを特徴とする付記2記載のデータ収集装置。
(Supplementary note 5)
A definition table that defines a combination of a change related to a slave station and a slave station that requires centralized monitoring according to the change;
A determination means for determining whether or not centralized monitoring is necessary by referring to the definition table from the situation for each slave station or the collected data for each slave station;
The data collection apparatus according to
(付記6)前記定義テーブルは、
子局に対する制御とこの制御によって影響を受ける子局との組み合わせを定義することを特徴とする付記5記載のデータ収集装置。
(Appendix 6) The definition table is:
The data collection device according to
(付記7)前記定義テーブルは、
子局における異常状態とこの異常状態によって影響を受ける子局との組み合わせを定義することを特徴とする付記5記載のデータ収集装置。
(Appendix 7) The definition table is
The data collection device according to
(付記8)前記定義テーブルは、
子局からの収集データの変化とこの収集データの変化によって影響を受ける子局との組み合わせを定義することを特徴とする付記5記載のデータ収集装置。
(Appendix 8) The definition table is:
The data collection device according to
(付記9)複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集装置であって、
複数の子局のうち集中監視が必要な影響監視局を指定する指定手段と、
子局ごとにデータを収集する収集時刻を記憶する記憶手段と、
前記指定手段によって指定された影響監視局からデータを収集する収集順序を決定後、影響監視局以外の子局であって前記記憶手段によって記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定する決定手段と、
前記決定手段によって決定された収集順序で子局からデータを収集する収集手段と
を有することを特徴とするデータ収集装置。
(Supplementary note 9) A data collection device that collects data by sequentially assigning a smaller number of lines from a plurality of slave stations to the number of slave stations,
A designation means for designating an impact monitoring station that requires centralized monitoring among a plurality of slave stations,
Storage means for storing a collection time for collecting data for each slave station;
After determining the collection order for collecting data from the influence monitoring station designated by the designation means, the data is collected in order from the slave stations other than the influence monitoring station whose collection times are stored in the storage means in the oldest order. A determination means for determining a collection order;
A data collecting apparatus comprising: collecting means for collecting data from the slave stations in the collection order determined by the determining means.
(付記10)複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集プログラムであって、コンピュータに、
子局ごとにデータが収集される収集時刻を記憶する記憶工程と、
前記記憶工程にて記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定工程と、
前記決定工程にて決定された収集順序で子局からデータを収集する収集工程と
を実行させることを特徴とするデータ収集プログラム。
(Appendix 10) A data collection program for collecting data by sequentially allocating a smaller number of lines than the number of slave stations from a plurality of slave stations to each slave station,
A storage step for storing a collection time at which data is collected for each slave station;
A determination step of determining a collection order in which a line is assigned earlier as a slave station having an older collection time stored in the storage step;
And a collection step of collecting data from the slave stations in the collection order determined in the determination step.
(付記11)複数の子局から子局数より少数の回線を各子局に順に割り当ててデータを収集するデータ収集プログラムであって、コンピュータに、
子局ごとにデータを収集する収集時刻を記憶する記憶工程と、
複数の子局のうち集中監視が必要な影響監視局を指定する指定工程と、
前記指定工程にて指定された影響監視局からデータを収集する収集順序を決定する第1決定工程と、
影響監視局以外の子局であって前記記憶工程にて記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定する第2決定工程と、
前記第1決定工程および前記第2決定工程にて決定された収集順序で子局からデータを収集する収集工程と
を実行させることを特徴とするデータ収集プログラム。
(Appendix 11) A data collection program for collecting data by sequentially assigning a smaller number of lines than the number of slave stations to a plurality of slave stations from a plurality of slave stations,
A storage step for storing a collection time for collecting data for each slave station;
A designated process for designating an impact monitoring station that requires centralized monitoring among a plurality of slave stations;
A first determination step of determining a collection order for collecting data from the influence monitoring station designated in the designation step;
A second determination step of determining a collection order for collecting data in order from a slave station other than the influence monitoring station and having a collection time stored in the storage step in order from the oldest,
And a collection step of collecting data from a slave station in the collection order determined in the first determination step and the second determination step.
本発明は、ポーリング方式によって複数の子局から順番にデータを収集する際に、各子局から満遍なく公平にデータを収集する場合に適用することができる。 The present invention can be applied to the case where data is collected evenly and fairly from each slave station when data is sequentially collected from a plurality of slave stations by the polling method.
101 定義テーブル記憶部
101a 制御優先テーブル
101b 状態変化優先テーブル
101c データ変化優先テーブル
102 集中監視判定部
103 制御指示部
104 集中監視テーブル記憶部
104a 集中監視予約テーブル
104b 即時集中監視テーブル
105 収集時刻記憶部
106 収集順序決定部
107 回線割当テーブル
108 回線割当部
109−1、109−2 回線部
101 definition
Claims (5)
子局ごとにデータが収集される収集時刻を記憶する記憶手段と、
前記記憶手段に記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定手段と、
前記決定手段によって決定された収集順序で子局からデータを収集する収集手段と
を有することを特徴とするデータ収集装置。 A data collection device that collects data by sequentially assigning a smaller number of lines than the number of slave stations to each slave station from a plurality of slave stations,
Storage means for storing a collection time at which data is collected for each slave station;
A determination unit that determines a collection order in which a line is assigned earlier to a slave station having an older collection time stored in the storage unit;
A data collecting apparatus comprising: collecting means for collecting data from the slave stations in the collection order determined by the determining means.
複数の子局のうち集中監視が必要な影響監視局を指定する指定手段を含み、
前記指定手段によって指定された影響監視局を優先して収集順序を決定することを特徴とする請求項1記載のデータ収集装置。 The determining means includes
Including designation means for designating impact monitoring stations that require centralized monitoring among multiple slave stations,
2. The data collection apparatus according to claim 1, wherein the collection order is determined by giving priority to the influence monitoring station designated by the designation means.
子局に係る変化とこの変化に応じて集中監視が必要となる子局との組み合わせを定義する定義テーブルと、
子局ごとの状況または子局ごとの収集データから前記定義テーブルを参照して集中監視の要不要を判定する判定手段と、
前記判定手段によって集中監視が必要と判定された子局を影響監視局として記憶する集中監視テーブルと
を含むことを特徴とする請求項2記載のデータ収集装置。 The designation means is:
A definition table that defines a combination of a change related to a slave station and a slave station that requires centralized monitoring according to the change;
A determination means for determining whether or not centralized monitoring is necessary by referring to the definition table from the situation for each slave station or the collected data for each slave station;
The data collection device according to claim 2, further comprising: a centralized monitoring table that stores, as an influence monitoring station, a slave station that is determined to require centralized monitoring by the determination unit.
複数の子局のうち集中監視が必要な影響監視局を指定する指定手段と、
子局ごとにデータを収集する収集時刻を記憶する記憶手段と、
前記指定手段によって指定された影響監視局からデータを収集する収集順序を決定後、影響監視局以外の子局であって前記記憶手段によって記憶された収集時刻が古い子局から順にデータを収集する収集順序を決定する決定手段と、
前記決定手段によって決定された収集順序で子局からデータを収集する収集手段と
を有することを特徴とするデータ収集装置。 A data collection device that collects data by sequentially assigning a smaller number of lines than the number of slave stations to each slave station from a plurality of slave stations,
A designation means for designating an impact monitoring station that requires centralized monitoring among a plurality of slave stations,
Storage means for storing a collection time for collecting data for each slave station;
After determining the collection order for collecting data from the influence monitoring station designated by the designation means, the data is collected in order from the slave stations other than the influence monitoring station whose collection times are stored in the storage means in the oldest order. A determination means for determining a collection order;
A data collecting apparatus comprising: collecting means for collecting data from the slave stations in the collection order determined by the determining means.
子局ごとにデータが収集される収集時刻を記憶する記憶工程と、
前記記憶工程にて記憶された収集時刻が古い子局ほど早く回線が割り当てられる収集順序を決定する決定工程と、
前記決定工程にて決定された収集順序で子局からデータを収集する収集工程と
を実行させることを特徴とするデータ収集プログラム。 A data collection program that collects data by assigning a smaller number of lines than the number of slave stations to each slave station in order from a plurality of slave stations,
A storage step for storing a collection time at which data is collected for each slave station;
A determination step of determining a collection order in which a line is assigned earlier as a slave station having an older collection time stored in the storage step;
And a collection step of collecting data from the slave stations in the collection order determined in the determination step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006095082A JP2007274155A (en) | 2006-03-30 | 2006-03-30 | Unit and program for data collection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006095082A JP2007274155A (en) | 2006-03-30 | 2006-03-30 | Unit and program for data collection |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007274155A true JP2007274155A (en) | 2007-10-18 |
Family
ID=38676524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006095082A Pending JP2007274155A (en) | 2006-03-30 | 2006-03-30 | Unit and program for data collection |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007274155A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013074616A (en) * | 2011-09-29 | 2013-04-22 | Secom Co Ltd | Image monitoring device and program |
JP2013073602A (en) * | 2011-09-29 | 2013-04-22 | Secom Co Ltd | Image monitoring device and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001251323A (en) * | 2000-03-08 | 2001-09-14 | Matsushita Electric Ind Co Ltd | Network management unit |
-
2006
- 2006-03-30 JP JP2006095082A patent/JP2007274155A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001251323A (en) * | 2000-03-08 | 2001-09-14 | Matsushita Electric Ind Co Ltd | Network management unit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013074616A (en) * | 2011-09-29 | 2013-04-22 | Secom Co Ltd | Image monitoring device and program |
JP2013073602A (en) * | 2011-09-29 | 2013-04-22 | Secom Co Ltd | Image monitoring device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2081325B1 (en) | Supervisory control method and supervisory control device | |
CN103618621B (en) | A kind of software defined network SDN method of automatic configuration, equipment and system | |
US20150055453A1 (en) | Detour path calculation method in emergency | |
JPH06164523A (en) | Centralized monitoring system for transmission device | |
CN105391486B (en) | A kind of communication means and device of spaceborne data | |
US9678503B2 (en) | Fail-over system and method for a semiconductor equipment server | |
US9413552B2 (en) | Internet protocol addressing of devices employing the network ring topology | |
CA2703178A1 (en) | Networks having multiple paths between nodes and nodes for such a network | |
US8644135B2 (en) | Routing and topology management | |
CN105528261B (en) | The method and system of Debugging message are intelligently exported in a kind of embedded device | |
CN107995128B (en) | Data access method, device, host and storage medium of fully-mechanized mining centralized control system | |
CN110858986A (en) | Bandwidth adjusting method, device, communication equipment and computer readable storage medium | |
JP2007274155A (en) | Unit and program for data collection | |
CN114531373A (en) | Node state detection method, node state detection device, equipment and medium | |
CN105264799B (en) | Method, node and the control equipment of pretection switch | |
CN113261220A (en) | Failure handling for TSN communication links | |
CN101439223B (en) | Network type level fire-fighting controlled system | |
WO2016000571A1 (en) | Traffic flow switching method and device | |
US10075330B1 (en) | Systems and methods for statuses of communication links | |
JP4368478B2 (en) | Elevator local equipment network and transmission control method thereof | |
JPWO2016129074A1 (en) | Communication timing control method, communication service system, and wireless communication terminal | |
CN111601329A (en) | Method and device for processing port interrupt alarm | |
JP2012175589A (en) | Converter | |
JP5265453B2 (en) | Wireless LAN communication system | |
CN110963376B (en) | Automatic configuration method for device, device and elevator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20080818 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110302 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110315 |
|
A521 | Written amendment |
Effective date: 20110516 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110927 |