JP5140692B2 - Polling transmission system, polling transmission method, and polling transmission program - Google Patents

Polling transmission system, polling transmission method, and polling transmission program Download PDF

Info

Publication number
JP5140692B2
JP5140692B2 JP2010055252A JP2010055252A JP5140692B2 JP 5140692 B2 JP5140692 B2 JP 5140692B2 JP 2010055252 A JP2010055252 A JP 2010055252A JP 2010055252 A JP2010055252 A JP 2010055252A JP 5140692 B2 JP5140692 B2 JP 5140692B2
Authority
JP
Japan
Prior art keywords
data
polling
priority
station
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010055252A
Other languages
Japanese (ja)
Other versions
JP2011193064A (en
Inventor
修平 和知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Information and Control Solutions Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Information and Control Solutions Ltd filed Critical Hitachi Information and Control Solutions Ltd
Priority to JP2010055252A priority Critical patent/JP5140692B2/en
Publication of JP2011193064A publication Critical patent/JP2011193064A/en
Application granted granted Critical
Publication of JP5140692B2 publication Critical patent/JP5140692B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ポーリング伝送システム、ポーリング伝送方法、および、ポーリング伝送プログラムの技術に関する。   The present invention relates to a polling transmission system, a polling transmission method, and a polling transmission program.

一次局としての親局と、二次局としての複数の子局との間を通信回線で結合した伝送システムにおいて、ポーリング方式を使用したデータの送受信が採用されている。   In a transmission system in which a master station as a primary station and a plurality of slave stations as secondary stations are coupled by a communication line, data transmission / reception using a polling method is employed.

ポーリング方式とは、親局から複数の子局に対して、送信したいデータがあるか問い合わせる方式である。問い合わせは、ポーリング信号を一定間隔で親局から各子局に送信することによって行われる。子局において送信したいデータがある場合には親局から送信されたポーリング信号への応答という形でデータが親局に送信される。これにより、親局と複数の子局とを結ぶ通信回線が1本しかない場合であっても、データの送受信時に各子局間で競合が発生してしまうことがなくなる。   The polling method is a method in which a master station inquires a plurality of slave stations whether there is data to be transmitted. The inquiry is performed by transmitting a polling signal from the master station to each slave station at regular intervals. When there is data to be transmitted in the slave station, the data is transmitted to the master station in the form of a response to the polling signal transmitted from the master station. As a result, even when there is only one communication line connecting the master station and the plurality of slave stations, there is no conflict between the slave stations during data transmission / reception.

このような伝送システムにおいては、各子局からの送信データによって通信回線が過負荷とならないよう、決められた帯域でデータ伝送を行う必要がある。よって、1回の問い合わせ(ポーリング信号)に対する、子局からの送信できるデータ量(以下、1回分送信容量と称する)はあらかじめ決められており、同一子局から多量のデータを送信する場合は、データを1回分送信容量ごとに分割してから、親局に送信することになる。   In such a transmission system, it is necessary to perform data transmission in a predetermined band so that the communication line is not overloaded with transmission data from each slave station. Therefore, the amount of data that can be transmitted from the slave station in response to a single inquiry (polling signal) (hereinafter referred to as one-time transmission capacity) is determined in advance, and when transmitting a large amount of data from the same slave station, Data is divided into one transmission capacity for each transmission, and then transmitted to the master station.

このデータ分割送信処理のため、親局から順次一定周期で問い合わせ信号を受信するポーリング方式においては、短時間に多量のデータが発生した場合には、1回のポーリングではデータを送りきれずに子局に送信待ちデータが溜まってしまい、親局への送信に時間を要してしまうことになる。   Because of this data division transmission processing, in the polling method in which an inquiry signal is sequentially received from the master station at a constant cycle, if a large amount of data is generated in a short time, the data cannot be sent in one poll and the child is not transmitted. Data waiting for transmission accumulates in the station, and time is required for transmission to the master station.

例えば、電力系統における送電線地絡や、トランス故障の障害が発生したことにより、下流系統に属する機器やその他関連機器に障害が発生することが想定され、同一子局において多量のデータを発生させることとなる。また、この障害の波及は同一子局のみに限らず、近隣の系統に影響し、他子局においてもデータを発生させることが想定される。
これでは、障害が発生した子局及び障害の波及先である子局においても、親局へのデータの伝送に時間を要してしまうことになる。結果として、子局の障害情報の収集が遅れたことにより、プラント緊急停止の処理が遅れ、プラント機器の損傷などの二次的な障害が発生する恐れがある。
For example, it is assumed that there will be a failure in the equipment belonging to the downstream system and other related equipment due to the occurrence of a transmission line ground fault or transformer failure in the power system, and a large amount of data will be generated in the same slave station It will be. In addition, the spread of this failure is not limited to the same slave station, but affects neighboring systems, and it is assumed that data is also generated in other slave stations.
In this case, it takes time to transmit data to the master station even in the slave station where the fault has occurred and the slave station that is the destination of the fault. As a result, the collection of the failure information of the slave station is delayed, so that the process of emergency stop of the plant is delayed, and there is a possibility that a secondary failure such as damage to the plant equipment occurs.

このように、親局から複数の子局に対して送信したいデータがあるか問い合わせるポーリング方式においては、子局の送信待ちデータの収集にタイムクリティカル性が保証できない問題があり、その解消方法としてこれまでにも幾例かの技術が公開されている。
例えば、特許文献1には、子局としての主機装置の重要性、優先性、関連性に応じてポーリング順番またはポーリング周期を変更し、システムの必要情報を収集する技術が記載されている。
In this way, in the polling method that inquires whether there is data to be transmitted from the master station to multiple slave stations, there is a problem that the time criticality cannot be guaranteed in the collection of data waiting for transmission from the slave station. Several techniques have been published so far.
For example, Patent Document 1 describes a technique for collecting necessary information of a system by changing a polling order or a polling cycle according to the importance, priority, and relevance of a main unit as a slave station.

特開平10−94071号公報Japanese Patent Laid-Open No. 10-94071

特許文献1に記載の技術を用いてポーリング伝送を行った場合、同一子局から多量のデータを一度に送信することで、多量にデータが発生した子局の送信待ちデータを優先的に収集することができ、伝送システム全体の情報収集の効率を高めている。   When polling transmission is performed using the technology described in Patent Document 1, a large amount of data is transmitted from the same slave station at a time, so that transmission waiting data of the slave station where a large amount of data is generated is preferentially collected. This increases the efficiency of information collection for the entire transmission system.

一方、システムとして特に重要度の高いデータ(緊急性の高い障害のデータなど)が子局に溜まってしまったときには、その重要度の高いデータを他のデータよりも優先して送信する仕組みが求められている。   On the other hand, when highly important data (such as highly urgent failure data) accumulates in the slave station, a mechanism is required to transmit the highly important data with priority over other data. It has been.

しかし、特許文献1に記載の技術では、重要度の高いデータにポーリングの送信順序が廻ってくるまでには、最長で「データ分割数×ポーリング周期×子局数」の時間を待つ必要があり、重要度の高いデータであるにもかかわらず、送信待ちが発生していた。   However, in the technique described in Patent Document 1, it is necessary to wait for a time of “data division number × polling period × number of slave stations” at the longest before the polling transmission order comes to highly important data. Even though it is highly important data, there was a waiting for transmission.

そこで、本発明は、前記した問題を解決し、親局と複数の子局との間を通信回線で結合した伝送システムにおいて、データ量の大きい重要なデータを効率的に伝送することを、主な目的とする。   In view of this, the present invention solves the above-described problems and efficiently transmits important data having a large amount of data in a transmission system in which a master station and a plurality of slave stations are coupled by a communication line. With a purpose.

前記課題を解決するために、本発明は、一次局である親局と二次局である複数の子局とをポーリング方式にてデータ通信するポーリング伝送システムであって、
前記子局が、優先要求部と、要求回数算出部と、ポーリング処理部と、記憶手段とを有し、
前記記憶手段には、前記親局に送信する対象である入力データと、前記入力データのうちの優先データを特定するための優先データパラメータと、前記優先データおよびその関連データを送信するためのポーリング方式のデータ通信の回数を規定する優先要求データとがそれぞれ記憶され、
前記記憶手段の前記優先データパラメータには、その優先データパラメータで特定される前記優先データごとに、その優先データに関連する前記各子局の前記入力データを送信するための前記各子局のポーリング回数が対応づけられており、
前記優先要求部が、自局である前記子局に入力される前記入力データと前記優先データパラメータとを照合することにより、前記入力データに前記優先データが含まれていることを検知し、
前記要求回数算出部が、検知した前記優先データ自局の前記記憶手段内の前記入力データのデータ量と、前記優先データパラメータに対応づけられている前記各子局のポーリング回数とをもとに、検知した前記優先データに関する前記各子局のポーリング回数を前記優先要求データとして作成し、
前記ポーリング処理部が、前記優先要求データが存在するときには、前記親局から受信したポーリング方式におけるポーリング要求への応答として、前記優先要求データを含めたポーリング応答を返信し、
前記親局が、
前記優先要求データを含めたポーリング応答を受信するまでは、所定順序に従って1台ずつ子局を選択してポーリング要求を送信し、
前記優先要求データを含めたポーリング応答を受信したときに、前記所定順序に従ってポーリング要求を送信する処理よりも、前記優先要求データで指定された前記各子局のポーリング回数分のポーリング要求を送信する処理を優先させることを特徴とする。
その他の手段は、後記する。
In order to solve the above problems, the present invention is a polling transmission system for performing data communication by a polling method between a master station which is a primary station and a plurality of slave stations which are secondary stations,
The slave station includes a priority request unit, a request count calculation unit, a polling processing unit, and a storage unit.
The storage means includes input data to be transmitted to the master station, a priority data parameter for specifying priority data among the input data, and polling for transmitting the priority data and related data. Priority request data that prescribes the number of data communication methods is stored,
The priority data parameter of the storage means includes, for each priority data specified by the priority data parameter, polling of each slave station for transmitting the input data of each slave station related to the priority data Number of times,
The priority request unit detects that the priority data is included in the input data by comparing the input data and the priority data parameter input to the slave station that is the local station,
Based on the detected data amount of the input data in the storage means of the priority data own station and the number of polls of each slave station associated with the priority data parameter , Creating the priority request data as the number of polling of each slave station related to the detected priority data,
When the priority request data is present, the polling processor returns a polling response including the priority request data as a response to the polling request in the polling method received from the master station,
The master station
Until a polling response including the priority request data is received, a slave station is selected one by one according to a predetermined order, and a polling request is transmitted.
When a polling response including the priority request data is received, a polling request corresponding to the number of polling times of each slave station specified by the priority request data is transmitted rather than a process of transmitting a polling request according to the predetermined order. It is characterized by giving priority to processing.
Other means will be described later.

本発明によれば、親局と複数の子局との間を通信回線で結合した伝送システムにおいて、データ量の大きい重要なデータを効率的に伝送することができる。   According to the present invention, it is possible to efficiently transmit important data having a large data amount in a transmission system in which a master station and a plurality of slave stations are coupled by a communication line.

本発明の一実施形態に関する伝送システムの構成例およびその伝送システムで使用されるポーリング応答信号のフォーマット例を示す説明図である。It is explanatory drawing which shows the structural example of the transmission system regarding one Embodiment of this invention, and the example of a format of the polling response signal used with the transmission system. 本発明の一実施形態に関する子局の内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the subunit | mobile_unit regarding one Embodiment of this invention. 本発明の一実施形態に関する子局の内部データ構造例を示す説明図である。It is explanatory drawing which shows the example of an internal data structure of the slave station regarding one Embodiment of this invention. 本発明の一実施形態に関する監視制御対象機器に優先データが発生しないときの伝送システム全体の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the whole transmission system when priority data does not generate | occur | produce in the monitoring control object apparatus regarding one Embodiment of this invention. 本発明の一実施形態に関する監視制御対象機器に優先データが発生したときの伝送システム全体の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the whole transmission system when priority data generate | occur | produces in the monitoring control object apparatus regarding one Embodiment of this invention. 本発明の一実施形態に関するデータ入力部が実行する、入力データバッファの格納処理の例を示すフローチャートである。It is a flowchart which shows the example of the storage process of the input data buffer which the data input part regarding one Embodiment of this invention performs. 本発明の一実施形態に関する優先要求部が実行する、送信待ちデータバッファの格納処理の例を示すフローチャートである。It is a flowchart which shows the example of the storage process of the transmission waiting data buffer which the priority request | requirement part regarding one Embodiment of this invention performs. 本発明の一実施形態に関する子局の要求回数算出部が実行する、ポーリング回数算出処理の例を示すフローチャートである。It is a flowchart which shows the example of the polling frequency calculation process which the request frequency calculation part of the sub_station | mobile_unit regarding one Embodiment of this invention performs. 本発明の一実施形態に関するポーリング処理部が実行する、データの送受信処理の例を示すフローチャートである。It is a flowchart which shows the example of the transmission / reception process of the data which the polling process part regarding one Embodiment of this invention performs.

以下、本発明の一実施形態を、図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1(a)は、伝送システムの構成例を示す図である。この伝送システムは、一次局としての親局1と、二次局としての子局2(子局2a,子局2b,…子局2n:nは自然数)とで構成されており、共通な一本の通信回線3上に親局1と子局2が接続されている。子局2は、収容する各監視制御対象機器4の状態を監視しており、状態変化を入力データとして受け取っている。
これらの各装置(親局1、子局2、および、監視制御対象機器4)は、それぞれCPUとメモリとネットワークインタフェースとを備えるコンピュータとして構成され、CPUがプログラムをメモリに読み込んで実行することにより、各処理を実行する。
FIG. 1A is a diagram illustrating a configuration example of a transmission system. This transmission system is composed of a master station 1 as a primary station and a slave station 2 as a secondary station (slave station 2a, slave station 2b,..., Slave station 2n: n is a natural number). A master station 1 and a slave station 2 are connected on the communication line 3 of the book. The slave station 2 monitors the status of each monitoring control target device 4 accommodated therein, and receives the status change as input data.
Each of these devices (the master station 1, the slave station 2, and the monitoring control target device 4) is configured as a computer having a CPU, a memory, and a network interface, and the CPU reads the program into the memory and executes it. Each process is executed.

親局1は、子局2の監視を行う装置であり、送信データの有無を問い合わせる問い合わせ信号としてのポーリング要求信号を、一定の時間間隔で通信回線3を通して子局2に送信する。ポーリング要求信号の送信は、子局2のそれぞれに対して規定順序に従って順番に行われる。自局宛のポーリング要求信号を受信した子局2では、親局1に送信すべき送信待ちデータが存在する場合には、そのデータをポーリング応答信号に付加して親局1に送信する。
以下の説明では、ポーリング要求信号とポーリング応答信号との組を、1回のポーリング処理として説明する。なお、1つのポーリング応答信号では、送信可能なデータ量が1回分送信容量以下に制限される。
The master station 1 is a device that monitors the slave station 2 and transmits a polling request signal as an inquiry signal for inquiring whether there is transmission data to the slave station 2 through the communication line 3 at regular time intervals. The polling request signal is transmitted to each of the slave stations 2 in order according to a prescribed order. When there is transmission waiting data to be transmitted to the master station 1, the slave station 2 that has received the polling request signal addressed to its own station adds the data to the polling response signal and transmits it to the master station 1.
In the following description, a pair of a polling request signal and a polling response signal will be described as a single polling process. In one polling response signal, the amount of data that can be transmitted is limited to a single transmission capacity or less.

例として、親局1が子局2aを指定したポーリング要求信号を送信する場合を考える。まず、自局宛てのポーリング要求信号を受信した子局2aでは、親局1に送信すべき送信待ちデータがある場合には、送信待ちデータを付加したポーリング応答信号を、通信回線3を通して親局1に送信する。一方、他局宛てのポーリング要求信号を受信した子局2b〜子局2nは、そのポーリング要求信号を破棄する。   As an example, consider a case where the master station 1 transmits a polling request signal designating the slave station 2a. First, in the slave station 2a that has received the polling request signal addressed to its own station, when there is transmission waiting data to be transmitted to the master station 1, a polling response signal to which transmission waiting data is added is sent via the communication line 3 to the master station. 1 to send. On the other hand, the slave stations 2b to 2n that have received the polling request signal addressed to the other stations discard the polling request signal.

親局1は、ポーリング要求信号の指定先を、子局2a→子局2b→…→子局2nと順番に変更して、子局2aと同様にポーリング要求信号を送信することにより、各子局2からのデータの収集を行う。つまり親局1は、各子局2宛にポーリング要求信号を送信して各子局2から返信されたポーリング応答信号のデータを受信することにより、各子局2が送信待ちデータとして保持しているデータの収集を行う。   The master station 1 changes the designation destination of the polling request signal in order of the slave station 2a → the slave station 2b →... → the slave station 2n, and transmits the polling request signal in the same manner as the slave station 2a. Collect data from station 2. That is, the master station 1 transmits a polling request signal addressed to each slave station 2 and receives the polling response signal data returned from each slave station 2, so that each slave station 2 holds the data as transmission waiting data. Data collection.

なお、1つのポーリング応答信号で送信可能なデータ量は、1回分送信容量以下に制限される。よって、ポーリング応答信号として、1回分送信容量を超えるデータを送信したい子局2は、データ分割処理によって、1回分送信容量以下のデータブロックを複数個作成し、今回のポーリング応答信号にはそのデータブロックのうちの1つを格納する。
そして、子局2は、次のポーリング要求信号が到着したときに、次のデータブロックを送信する。なお、1回分送信容量は、あらかじめ子局2内の設定ファイルなどに記録されている。
Note that the amount of data that can be transmitted with one polling response signal is limited to a single transmission capacity or less. Therefore, the slave station 2 that wants to transmit data exceeding the one-time transmission capacity as a polling response signal creates a plurality of data blocks less than the one-time transmission capacity by data division processing, and this polling response signal includes that data. Store one of the blocks.
Then, the slave station 2 transmits the next data block when the next polling request signal arrives. The one-time transmission capacity is recorded in advance in a setting file in the slave station 2 or the like.

なお、本実施形態では、データ分割処理における「データ分割数」とは、データの分割処理を実行した回数ではなく、分割された結果生成されたデータブロックの個数であり、そのデータブロックを送信するためのポーリング回数と一致する。
例えば、(送信対象のデータ量)=26KBで、(1回分送信容量)=10KBの場合、このデータを10KBごとに2カ所で分割した結果、3つのデータブロック(10KB+10KB+6KB)が生成される。よって、この場合のデータ分割数とポーリング回数とは、ともに「3」である。
In the present embodiment, the “number of data divisions” in the data division processing is not the number of times data division processing has been performed, but the number of data blocks generated as a result of the division, and the data blocks are transmitted. To match the number of polls.
For example, when (transmission target data amount) = 26 KB and (single transmission capacity) = 10 KB, this data is divided at two locations every 10 KB, and as a result, three data blocks (10 KB + 10 KB + 6 KB) are generated. Therefore, the number of data divisions and the number of polling in this case are both “3”.

図1(b)は、ポーリング応答信号のフォーマット例として、優先要求データ52が付加されていないパケットを示す。ポーリング応答信号は、ヘッダ部51と子局データ53とで構成される。
ヘッダ部51には、送信元や、宛先の情報が含まれている。
子局データ53には、1回分送信容量以下のデータ量のデータが含まれている。
FIG. 1B shows a packet to which priority request data 52 is not added as a format example of the polling response signal. The polling response signal includes a header part 51 and slave station data 53.
The header part 51 includes information on a transmission source and a destination.
The slave station data 53 includes data having a data amount equal to or less than the transmission capacity for one time.

図1(c)は、ポーリング応答信号のフォーマット例として、図1(b)のポーリング応答信号に優先要求データ52が付加されているパケットを示す。ポーリング応答信号は、ヘッダ部51と優先要求データ52と子局データ53とで構成される。
優先要求データ52には、子局2ごとの親局1に対し要求するポーリングの回数が格納されている。ポーリングを要求しない子局2には、“0”がセットされる。
FIG. 1C shows a packet in which priority request data 52 is added to the polling response signal of FIG. 1B as a format example of the polling response signal. The polling response signal includes a header part 51, priority request data 52, and slave station data 53.
The priority request data 52 stores the number of polls requested to the master station 1 for each slave station 2. “0” is set in the slave station 2 that does not require polling.

図2は、子局2の内部構成例を示すブロック図である。図では子局2aを例に挙げているが、子局2b〜子局2nも全て同様の構成としてあるものとする。子局2aにはデータ入力部20と、入力データバッファ21と、優先要求部22と、送信待ちデータバッファ25と、優先要求データバッファ26と、ポーリング処理部27が含まれる。優先要求部22には優先データパラメータ格納部23と、要求回数算出部24と、が含まれる。   FIG. 2 is a block diagram illustrating an internal configuration example of the slave station 2. In the figure, the slave station 2a is taken as an example, but the slave stations 2b to 2n are all assumed to have the same configuration. The slave station 2a includes a data input unit 20, an input data buffer 21, a priority request unit 22, a transmission waiting data buffer 25, a priority request data buffer 26, and a polling processing unit 27. The priority request unit 22 includes a priority data parameter storage unit 23 and a request count calculation unit 24.

データ入力部20は、監視制御対象機器4aからの入力データを読み取り、自局へデータ入力をする。
入力データバッファ21には、データ入力部20から入力した入力データが格納される。
優先データパラメータ格納部23は、優先データとそれに関連して各子局2にて発生するであろうデータ量を親局1へ効率よくデータ送信出来るよう算出したポーリング回数が、あらかじめ登録されている。
The data input unit 20 reads input data from the monitoring control target device 4a and inputs data to the own station.
The input data buffer 21 stores input data input from the data input unit 20.
In the priority data parameter storage unit 23, the number of polls calculated so that the priority data and the data amount associated with each of the slave stations 2 can be efficiently transmitted to the master station 1 is registered in advance. .

優先要求部22は、入力データバッファ21に格納されているデータと優先データパラメータ格納部23を比較し、入力データバッファ21に優先度の高いデータ(以下、優先データと称する)が存在するか否かを判断する。また、要求回数算出部24において算出されたポーリング回数を含む優先要求データ52を、優先要求データバッファ26に格納する。
要求回数算出部24は、送信待ちデータバッファ25に格納されているデータ量と、優先データパラメータ格納部23とを参照し、親局1へ送信するポーリング回数を算出する。
The priority request unit 22 compares the data stored in the input data buffer 21 with the priority data parameter storage unit 23, and determines whether or not high-priority data (hereinafter referred to as priority data) exists in the input data buffer 21. Determine whether. Further, priority request data 52 including the number of polls calculated by the request frequency calculation unit 24 is stored in the priority request data buffer 26.
The request count calculation unit 24 refers to the data amount stored in the transmission waiting data buffer 25 and the priority data parameter storage unit 23 and calculates the number of polls to be transmitted to the master station 1.

送信待ちデータバッファ25は、親局1への送信を控えるデータが格納される。優先要求データバッファ26は、親局1への送信を控える優先要求データ52が格納される。ポーリング処理部27は、通信回線3に接続されており、親局1から送信されたポーリング要求信号を受信する。ここで、自局宛てのポーリング要求信号を受信した際には、送信待ちデータバッファ25を確認し、順番に読み出したデータをポーリング応答信号に付加する。また、優先要求データバッファ26を確認し、順番に読み出した優先要求データ52をポーリング応答信号に付加し、親局1に向けポーリング応答信号を送信する。   The transmission waiting data buffer 25 stores data for refraining from transmission to the master station 1. The priority request data buffer 26 stores priority request data 52 for refraining from transmission to the master station 1. The polling processing unit 27 is connected to the communication line 3 and receives a polling request signal transmitted from the master station 1. Here, when the polling request signal addressed to the own station is received, the transmission waiting data buffer 25 is confirmed, and the data read in order is added to the polling response signal. Further, the priority request data buffer 26 is confirmed, the priority request data 52 read in order is added to the polling response signal, and the polling response signal is transmitted to the master station 1.

図3は、子局2の内部データ構造例を示す説明図である。
図3(a)に示す入力データバッファ21には、データID61ごとに、データ入力部20から入力される監視制御対象機器4に関するデータ62が格納されている。データID61は、データ62を個別に識別可能とするための識別子である。データ62には、親局1に送信すべきデータそのものが格納される。
FIG. 3 is an explanatory diagram showing an example of the internal data structure of the slave station 2.
In the input data buffer 21 shown in FIG. 3A, data 62 related to the monitoring control target device 4 input from the data input unit 20 is stored for each data ID 61. The data ID 61 is an identifier for making the data 62 individually identifiable. The data 62 stores data to be transmitted to the master station 1.

図3(b)に示す優先データパラメータ格納部23には、優先データID71ごとに、各子局2の予測ポーリング回数72が格納されている。優先データID71は、データID61のうちの優先データを示すデータの識別子である。よって、データID61と優先データID71とで一致するレコードのデータ62は、優先データである。予測ポーリング回数72には、管理者などにより、あらかじめ優先データごとの予測値が入力されている。   In the priority data parameter storage unit 23 illustrated in FIG. 3B, the predicted polling count 72 of each slave station 2 is stored for each priority data ID 71. The priority data ID 71 is an identifier of data indicating priority data in the data ID 61. Therefore, the data 62 of the record that matches the data ID 61 and the priority data ID 71 is the priority data. A predicted value for each priority data is input to the predicted polling count 72 in advance by an administrator or the like.

図3(c)に示す2つのデータバッファ(送信待ちデータバッファ25、優先要求データバッファ26)には、図3(a)の入力データバッファ21のデータ、および、図3(b)の優先データパラメータ格納部23のデータをもとに、優先要求部22によってデータが設定される。
送信待ちデータバッファ25には、入力データバッファ21のデータ62が、入力データバッファ21にデータが入力された順に格納される。
優先要求データバッファ26には、予測ポーリング回数72のポーリング回数(後記する変数N)と、送信待ちデータバッファ25のデータ量を送信するためのポーリング回数(後記する変数M)とをもとにした各子局2のポーリングの要求回数が、優先要求データ52として格納される。なお、ポーリングを要求しない子局2の優先要求データ52には“0”がセットされる。
In the two data buffers (transmission waiting data buffer 25 and priority request data buffer 26) shown in FIG. 3C, the data in the input data buffer 21 in FIG. 3A and the priority data in FIG. Based on the data in the parameter storage unit 23, the priority request unit 22 sets the data.
The transmission waiting data buffer 25 stores the data 62 of the input data buffer 21 in the order in which the data is input to the input data buffer 21.
The priority request data buffer 26 is based on the polling number of the predicted polling number 72 (variable N described later) and the polling number for transmitting the data amount of the transmission waiting data buffer 25 (variable M described later). The number of polling requests for each slave station 2 is stored as priority request data 52. Note that “0” is set in the priority request data 52 of the slave station 2 that does not request polling.

図4は、監視制御対象機器4に優先データが発生しないときの伝送システム全体の動作を示すフローチャートである。
S101において、監視制御対象機器4は、障害などの異常イベントが発生していない通常動作時において、制御用データ(計測値など)が発生すると、そのデータを収容先である子局2aに通知する。
S102において、子局2aのデータ入力部20は、監視制御対象機器4からの入力データを、入力された順に入力データバッファ21に格納する。
S103において、子局2aの優先要求部22は、入力データバッファ21のデータID61が、優先データパラメータ格納部23の優先データID71と一致しないことをチェックした後、入力データバッファ21のデータ62を、送信待ちデータバッファ25に格納する。
S104において、親局1は、規定順序に従って、子局2aへとポーリング要求する。
S105において、子局2aのポーリング処理部27は、ポーリング要求への応答として、送信待ちデータバッファ25内のデータ62を図1(b)の子局データ53に格納し、ヘッダ部51を付したポーリング応答信号を作成し、ポーリング要求元である親局1へと応答する。
親局1と各子局2とは、規定順序に従って、ポーリング要求とポーリング応答との組の処理を行う。つまり、親局1は、子局2aの次の規定順序である子局2bとのポーリング要求(S106)/ポーリング応答(S107)を行った後、子局2bの次の規定順序である子局2nとのポーリング要求/ポーリング応答(S108)とを行う。
FIG. 4 is a flowchart showing the operation of the entire transmission system when priority data is not generated in the monitoring control target device 4.
In S101, when control data (measurement value or the like) is generated during normal operation in which an abnormal event such as a failure has not occurred, the monitoring control target device 4 notifies the slave station 2a that is the accommodation destination of the data. .
In S102, the data input unit 20 of the slave station 2a stores the input data from the monitoring control target device 4 in the input data buffer 21 in the input order.
In S103, the priority request unit 22 of the slave station 2a checks that the data ID 61 of the input data buffer 21 does not match the priority data ID 71 of the priority data parameter storage unit 23, and then sets the data 62 of the input data buffer 21 to The data is stored in the transmission wait data buffer 25.
In S104, the master station 1 makes a polling request to the slave station 2a in accordance with a prescribed order.
In S105, the polling processing unit 27 of the slave station 2a stores the data 62 in the transmission waiting data buffer 25 in the slave station data 53 of FIG. A polling response signal is created and a response is sent to the master station 1 that is the polling request source.
The master station 1 and each slave station 2 perform processing of a set of a polling request and a polling response according to a prescribed order. That is, after the master station 1 makes a polling request (S106) / polling response (S107) with the slave station 2b which is the next prescribed order of the slave station 2a, the slave station which is the next prescribed order of the slave station 2b 2n polling request / polling response (S108).

図5は、監視制御対象機器4に優先データが発生したときの伝送システム全体の動作を示すフローチャートである。
S200において、監視制御対象機器4は、障害などの異常イベントの発生を検知する。
S201において、監視制御対象機器4は、S200の異常イベントに関する優先データ(図3(a)のデータID61=「5」のデータなど)として、データ量が大きいデータを取得(計測)し、そのデータを収容先である子局2aに通知する。
S202において、子局2aのデータ入力部20は、監視制御対象機器4からの入力データを、入力された順に入力データバッファ21に格納する。
S203において、子局2aの優先要求部22は、入力データバッファ21のデータID61が、優先データパラメータ格納部23の優先データID71と一致することをチェックした後、入力データバッファ21のデータ62を、送信待ちデータバッファ25に格納するとともに、優先要求データ52を作成して優先要求データバッファ26に格納する。
S204において、親局1は、規定順序に従って、子局2aへとポーリング要求する。
S205において、子局2aのポーリング処理部27は、ポーリング要求への応答として、送信待ちデータバッファ25内のデータ62を図1(c)の子局データ53に格納し、ヘッダ部51と、S203の優先要求データ52とを付したポーリング応答信号を作成し、ポーリング要求元である親局1へと応答する。
FIG. 5 is a flowchart illustrating the operation of the entire transmission system when priority data is generated in the monitoring control target device 4.
In S200, the monitoring control target device 4 detects the occurrence of an abnormal event such as a failure.
In S201, the monitored control target device 4 acquires (measures) data having a large data amount as priority data (such as data ID 61 = “5” in FIG. 3A) regarding the abnormal event in S200, and the data Is notified to the slave station 2a which is the accommodation destination.
In S202, the data input unit 20 of the slave station 2a stores the input data from the monitoring control target device 4 in the input data buffer 21 in the input order.
In S203, the priority request unit 22 of the slave station 2a checks that the data ID 61 of the input data buffer 21 matches the priority data ID 71 of the priority data parameter storage unit 23, and then sets the data 62 of the input data buffer 21 to The priority request data 52 is created and stored in the priority request data buffer 26 while being stored in the transmission waiting data buffer 25.
In S204, the master station 1 makes a polling request to the slave station 2a in accordance with the prescribed order.
In S205, the polling processing unit 27 of the slave station 2a stores the data 62 in the transmission-waiting data buffer 25 in the slave station data 53 of FIG. 1C as a response to the polling request, and the header unit 51 and S203. The polling response signal attached with the priority request data 52 is generated and responded to the master station 1 which is the polling request source.

そして、親局1は、S205のポーリング応答信号に優先要求データ52が付されている場合には、規定順序に従った各子局2とのポーリング処理を一時中断し、受信した優先要求データ52に記載されている順序および回数に従って、各子局2とのポーリング処理を優先的に(割り込み処理として)行う。
例えば、図1(c)のポーリング応答信号の優先要求データ52には「子局2aに5回、子局2nに3回」の優先データ用のポーリングが要求されているので、子局2aに5回ポーリングし(S211,優先送信)、子局2nに3回ポーリングする(S212,優先送信)。なお、優先要求データ52には優先データの送信順序を規定しなくてもいいときには、子局2ごとのポーリング回数を行う順序は、どのような順序としてもよい。
When the priority request data 52 is added to the polling response signal in S205, the master station 1 temporarily suspends the polling process with each slave station 2 according to the specified order, and receives the received priority request data 52. The polling process with each slave station 2 is performed preferentially (as an interrupt process) in accordance with the order and number of times described in.
For example, the priority request data 52 of the polling response signal in FIG. 1C requires polling for priority data “5 times for the slave station 2a and 3 times for the slave station 2n”. Polling five times (S211, priority transmission) and polling the slave station 2n three times (S212, priority transmission). Note that when the priority request data 52 does not need to define the transmission order of the priority data, the order in which the number of polls for each slave station 2 is performed may be any order.

さらに、親局1は、受信した優先要求データ52に関するポーリングの割り込み処理を終えた後は、一時中断していた通常の規定順序に従った各子局2とのポーリング処理を再開する。例えば、親局1は、子局2aの次の規定順序である子局2bとのポーリング要求(S206)/ポーリング応答(S207)を行う。
これにより、優先データの送信(S211,S212)は、通常の規定順序のポーリング処理(S206,S207)を待つことなく、優先的に割り込み処理として実現できる。
Further, after completing the polling interrupt process for the received priority request data 52, the master station 1 resumes the polling process with each slave station 2 according to the normal prescribed order that has been temporarily suspended. For example, the master station 1 makes a polling request (S206) / polling response (S207) with the slave station 2b which is the next specified order of the slave station 2a.
Thereby, transmission of priority data (S211, S212) can be realized as interrupt processing preferentially without waiting for polling processing (S206, S207) in a normal prescribed order.

図6は、データ入力部20が実行する、入力データバッファ21の格納処理(S102,S202)の例を示すフローチャートである。
データ入力部20は、監視制御対象機器4aからのデータ入力を受ける(S11)。入力データに変化があるか否かが判断され(S12)、変換がないときにはS11に戻る。入力データに変化があれば、その変化したデータを入力データバッファ21に格納する(S13)。
FIG. 6 is a flowchart showing an example of storage processing (S102, S202) of the input data buffer 21 executed by the data input unit 20.
The data input unit 20 receives data input from the monitoring control target device 4a (S11). It is determined whether there is a change in the input data (S12), and if there is no conversion, the process returns to S11. If there is a change in the input data, the changed data is stored in the input data buffer 21 (S13).

図7は、優先要求部22が実行する、送信待ちデータバッファ25の格納処理(S103,S203)の例を示すフローチャートである。
まず、入力データバッファ21に格納されているデータのデータID61と、優先データパラメータ格納部23の優先データID71を比較し(S21)、入力データバッファ21に優先データが存在するか否かを判断する(S22)。優先データが存在しないと判断された場合には、入力データバッファ21のデータは送信待ちデータバッファ25に格納される(S27)。
FIG. 7 is a flowchart showing an example of storage processing (S103, S203) of the transmission waiting data buffer 25 executed by the priority request unit 22.
First, the data ID 61 of the data stored in the input data buffer 21 is compared with the priority data ID 71 of the priority data parameter storage unit 23 (S21), and it is determined whether or not priority data exists in the input data buffer 21. (S22). If it is determined that priority data does not exist, the data in the input data buffer 21 is stored in the transmission wait data buffer 25 (S27).

一方、S22で優先データが存在すると判断された場合には、各子局2を1つずつ選択してからポーリング回数算出処理(詳細は図8で後記する)を呼び出す(S23)処理を、全子局に対して処理済みになるまで(S24,Yes)繰り返す。
そして、S23のポーリング回数算出結果から、優先要求データ52を作成し(S25)、その優先要求データ52を優先要求データバッファ26に格納する(S26)。そして、処理をS27へと進める。
On the other hand, if it is determined in S22 that priority data exists, each slave station 2 is selected one by one and then a polling count calculation process (details will be described later in FIG. 8) is called (S23) The process is repeated until the slave station has been processed (S24, Yes).
Then, priority request data 52 is created from the polling count calculation result of S23 (S25), and the priority request data 52 is stored in the priority request data buffer 26 (S26). Then, the process proceeds to S27.

図8は、子局2aの要求回数算出部24が実行する、ポーリング回数算出処理(S23)の例を示すフローチャートである。この図8の処理は、計算対象の子局2が1つ指定されてから呼び出される。以下の説明では、指定された子局2を、指定子局2と呼ぶ。   FIG. 8 is a flowchart illustrating an example of the polling count calculation process (S23) executed by the request count calculation unit 24 of the slave station 2a. The processing in FIG. 8 is called after one slave station 2 to be calculated is designated. In the following description, the designated slave station 2 is referred to as designated slave station 2.

要求回数算出部24は、指定子局2が自局であるか否かを判断する(S31)。自局である場合には、送信待ちデータバッファ25を参照し(S32)、送信待ちの子局データ53が存在するか否かを判断する(S33)。
S33で子局データ53が存在する場合には、その送信待ちのデータ量を確認し、データ分割数を算出する(S34)。算出したデータ分割数を示す変数“M”にて、“M←データ分割数”とする(S35)。なお、本実施形態においては、記号「A←B」は、変数Aに値Bを代入する処理を示す。
一方、S33で送信待ちデータが存在しない場合、または、S31で指定子局2が自局ではない場合には、データ分割数“M←0”とする(S36)。
The request count calculation unit 24 determines whether or not the designated slave station 2 is its own station (S31). If it is the local station, the transmission wait data buffer 25 is referred to (S32), and it is determined whether or not there is slave data 53 waiting for transmission (S33).
If the slave station data 53 exists in S33, the amount of data waiting for transmission is confirmed, and the number of data divisions is calculated (S34). In the variable “M” indicating the calculated data division number, “M ← data division number” is set (S35). In the present embodiment, the symbol “A ← B” indicates a process of substituting the value B into the variable A.
On the other hand, if there is no data waiting for transmission in S33, or if the designated slave station 2 is not its own station in S31, the data division number “M ← 0” is set (S36).

次に、優先データパラメータ格納部23の予測ポーリング回数72から、指定子局2に該当するポーリング回数を取得する(S37)。そして、S37で取得したポーリング回数を示す変数“N”にて、“N←該当パラメータのポーリング回数”とする(S38)。
さらに、優先要求データ52の指定子局2に該当するポーリング回数の算出結果として、“ポーリング回数←M+N”の値とする(S39)。
Next, the polling count corresponding to the designated slave station 2 is acquired from the predicted polling count 72 of the priority data parameter storage unit 23 (S37). Then, the variable “N” indicating the number of polling acquired in S37 is set to “N ← polling number of the corresponding parameter” (S38).
Further, as a calculation result of the number of polling corresponding to the designated slave station 2 of the priority request data 52, the value of “polling number ← M + N” is set (S39).

例えば、図3(a)のデータID61=「5」の優先データが存在すると判定されると(図7のS22,Yes)、指定子局2としての子局2aの優先要求データ52は、送信待ちデータバッファ25のデータ分割量(M=3)と(図8のS35)、優先データパラメータ格納部23の予測ポーリング回数72の子局2aの回数「2」と(図8のS38)の和である「5」を、優先要求データ52の子局2aの格納位置に格納する(図8のS39)。   For example, if it is determined that the priority data with the data ID 61 = “5” in FIG. 3A exists (S22, Yes in FIG. 7), the priority request data 52 of the slave station 2a as the designated slave station 2 is transmitted. The sum of the data division amount (M = 3) of the waiting data buffer 25 and (S35 of FIG. 8), the number of times 2 of the slave station 2a of the predicted polling count 72 of the priority data parameter storage unit 23, and S38 of FIG. Is stored in the storage position of the slave station 2a of the priority request data 52 (S39 in FIG. 8).

図9は、ポーリング処理部27が実行する、データの送受信処理の例を示すフローチャートである。
まず、親局1からのポーリング要求信号を受信する(S41)。このポーリング要求信号は、親局1からS104やS204で送信されるものである。
優先要求データバッファ26内に優先要求データ52が存在するか否かを判断し(S42)、データが存在する場合には、その優先要求データ52を順に読み出して、図1(c)のようなポーリング応答信号に付加する(S43)。一方、S42で優先要求データ52が存在しない場合には、図1(b)のような優先要求データ52を付加しないポーリング応答信号となる。
次に、送信待ちデータバッファ25内に子局データ53が存在するか否かを判断する(S44)。子局データ53が存在する場合には、その子局データ53を順にポーリング応答信号に付加する(S45)。
FIG. 9 is a flowchart illustrating an example of data transmission / reception processing executed by the polling processing unit 27.
First, a polling request signal from the master station 1 is received (S41). This polling request signal is transmitted from the master station 1 in S104 and S204.
It is determined whether or not the priority request data 52 exists in the priority request data buffer 26 (S42). If data exists, the priority request data 52 is read in order, as shown in FIG. It is added to the polling response signal (S43). On the other hand, if the priority request data 52 does not exist in S42, the polling response signal does not add the priority request data 52 as shown in FIG.
Next, it is determined whether or not the slave station data 53 exists in the transmission waiting data buffer 25 (S44). If the slave station data 53 exists, the slave station data 53 is sequentially added to the polling response signal (S45).

ここで、同一のポーリング応答信号に付加される優先要求データ52と、子局データ53との組み合わせには特に関係性は無く、読み出された順に付加される。そして、S42〜S45の各処理により構築したポーリング応答信号にヘッダ部51を付加してから、親局1に向け送信する(S46)。このS46の処理は、このポーリング要求信号は、S105やS205で送信されるものである。   Here, the combination of the priority request data 52 added to the same polling response signal and the slave station data 53 has no particular relationship and is added in the order of reading. And after adding the header part 51 to the polling response signal constructed | assembled by each process of S42-S45, it transmits toward the main | base station 1 (S46). In the process of S46, this polling request signal is transmitted in S105 and S205.

以上説明した本実施形態によると、子局2は、優先データパラメータ格納部23に設定されている優先データの入力を検知した際に、親局1に向け優先要求データ52を付加した応答信号を送信する。
優先要求データ52とは、通常のポーリング順に割り込んで、数回の連続したポーリングを送信することを親局1に対し要求するためのデータ構造である。
親局1は、優先要求データ52を応答信号から検知すると、優先データが発生していないときの通常のポーリング処理を行う前に、通常のポーリング順に割り込んで、優先要求データ52で示された回数および順序に従って、集中的に該当子局のポーリング送信を行う。
これにより、優先データは、通常のポーリング順序を待つことなく直ちに送信されるため、緊急度合いの高い優先データを、迅速に伝達することが可能となる。
よって、優先データの送信に要する時間を「データ分割数×ポーリング周期」の時間として短縮化できるので、伝送システム全体の優先データのスループットを高めることができるとともに、バッファからのデータ漏れを抑制できる。
According to the embodiment described above, when the slave station 2 detects the input of the priority data set in the priority data parameter storage unit 23, the slave station 2 sends a response signal with the priority request data 52 added to the master station 1. Send.
The priority request data 52 is a data structure for requesting the master station 1 to interrupt the normal polling order and transmit several consecutive polls.
When the master station 1 detects the priority request data 52 from the response signal, the master station 1 interrupts in the normal polling order and performs the number of times indicated by the priority request data 52 before performing normal polling processing when priority data is not generated. Then, according to the order, the corresponding slave stations are polled and transmitted.
As a result, the priority data is immediately transmitted without waiting for the normal polling order, so that priority data with a high degree of urgency can be quickly transmitted.
Therefore, since the time required for transmitting the priority data can be shortened as “data division number × polling period”, it is possible to increase the priority data throughput of the entire transmission system and to suppress data leakage from the buffer.

また、優先要求データ52は、自局である子局2のポーリング回数だけでなく、他局である子局2のポーリング回数も含めることとしてもよい。他局のポーリング回数は、例えば、優先データパラメータ格納部23に格納されている所定値が代入される。この所定値は、優先データのIDごとにその優先データに関連して他局で発生するデータ容量の予測値をもとに、そのデータ容量を親局1へ効率よく送信できるように算出したポーリング回数(データ分割数)である。
例えば、自局で発生した優先データが電力系統における送電線地絡データや、トランス故障の障害データであるときには、その関連データとして、親局1の運転員が次の制御指令を行う際の成立条件として必要な他局のデータが挙げられる。
これにより、自局で発生した優先データに関連して発生する他局のデータも、通常のポーリング順序を待つことなく直ちに送信することができる。
Further, the priority request data 52 may include not only the number of polls of the slave station 2 that is the own station but also the number of polls of the slave station 2 that is the other station. For example, a predetermined value stored in the priority data parameter storage unit 23 is substituted for the number of times the other station is polled. This predetermined value is calculated for each priority data ID so that the data capacity can be efficiently transmitted to the master station 1 based on the predicted value of the data capacity generated in the other station in relation to the priority data. This is the number of times (data division number).
For example, when the priority data generated in the own station is the transmission line ground fault data in the power system or the fault data of the transformer failure, it is established as the related data when the operator of the master station 1 issues the next control command. The other station data required as a condition is listed.
Thereby, the data of other stations generated in relation to the priority data generated by the own station can be transmitted immediately without waiting for the normal polling order.

1 親局
2 子局
3 通信回線
4 監視制御対象機器
20 データ入力部
21 入力データバッファ
22 優先要求部
23 優先データパラメータ格納部
24 要求回数算出部
25 送信待ちデータバッファ
26 優先要求データバッファ
27 ポーリング処理部
51 ヘッダ部
52 優先要求データ
53 子局データ
61 データID
62 データ
71 優先データID
72 予測ポーリング回数
DESCRIPTION OF SYMBOLS 1 Master station 2 Slave station 3 Communication line 4 Monitoring control object apparatus 20 Data input part 21 Input data buffer 22 Priority request part 23 Priority data parameter storage part 24 Request frequency calculation part 25 Transmission waiting data buffer 26 Priority request data buffer 27 Polling process Part 51 Header part 52 Priority request data 53 Slave station data 61 Data ID
62 Data 71 Priority data ID
72 Number of predicted polls

Claims (7)

一次局である親局と二次局である複数の子局とをポーリング方式にてデータ通信するポーリング伝送システムであって、
前記子局は、優先要求部と、要求回数算出部と、ポーリング処理部と、記憶手段とを有し、
前記記憶手段には、前記親局に送信する対象である入力データと、前記入力データのうちの優先データを特定するための優先データパラメータと、前記優先データおよびその関連データを送信するためのポーリング方式のデータ通信の回数を規定する優先要求データとがそれぞれ記憶され、
前記記憶手段の前記優先データパラメータには、その優先データパラメータで特定される前記優先データごとに、その優先データに関連する前記各子局の前記入力データを送信するための前記各子局のポーリング回数が対応づけられており、
前記優先要求部は、自局である前記子局に入力される前記入力データと前記優先データパラメータとを照合することにより、前記入力データに前記優先データが含まれていることを検知し、
前記要求回数算出部は、検知した前記優先データ自局の前記記憶手段内の前記入力データのデータ量と、前記優先データパラメータに対応づけられている前記各子局のポーリング回数とをもとに、検知した前記優先データに関する前記各子局のポーリング回数を前記優先要求データとして作成し、
前記ポーリング処理部は、前記優先要求データが存在するときには、前記親局から受信したポーリング方式におけるポーリング要求への応答として、前記優先要求データを含めたポーリング応答を返信し、
前記親局は、
前記優先要求データを含めたポーリング応答を受信するまでは、所定順序に従って1台ずつ子局を選択してポーリング要求を送信し、
前記優先要求データを含めたポーリング応答を受信したときに、前記所定順序に従ってポーリング要求を送信する処理よりも、前記優先要求データで指定された前記各子局のポーリング回数分のポーリング要求を送信する処理を優先させることを特徴とする
ポーリング伝送システム。
A polling transmission system that performs data communication between a master station that is a primary station and a plurality of slave stations that are secondary stations by a polling method,
The slave station includes a priority request unit, a request count calculation unit, a polling processing unit, and a storage unit.
The storage means includes input data to be transmitted to the master station, a priority data parameter for specifying priority data among the input data, and polling for transmitting the priority data and related data. Priority request data that prescribes the number of data communication methods is stored,
The priority data parameter of the storage means includes, for each priority data specified by the priority data parameter, polling of each slave station for transmitting the input data of each slave station related to the priority data Number of times,
The priority requesting unit detects that the priority data is included in the input data by comparing the input data input to the slave station that is the local station and the priority data parameter,
The request count calculation unit is based on the detected amount of input data in the storage means of the priority data own station and the polling count of each slave station associated with the priority data parameter. , Creating the priority request data as the number of polling of each slave station related to the detected priority data,
When the priority request data exists, the polling processing unit returns a polling response including the priority request data as a response to the polling request in the polling method received from the master station,
The master station is
Until a polling response including the priority request data is received, a slave station is selected one by one according to a predetermined order, and a polling request is transmitted.
When a polling response including the priority request data is received, a polling request corresponding to the number of polling times of each slave station specified by the priority request data is transmitted rather than a process of transmitting a polling request according to the predetermined order. A polling transmission system characterized by prioritizing processing.
前記要求回数算出部は、前記各子局のポーリング回数を計算するときに、
自局である前記子局に入力される前記入力データのデータ量を1回のポーリング応答で送信可能なデータ量で除算した結果であるデータ分割数と、前記優先データパラメータに対応づけられている自局のポーリング回数との和を、自局の前記優先要求データにおけるポーリング回数とし、
前記優先データパラメータに対応づけられている前記各子局としての他局のポーリング回数を、他局の前記優先要求データにおけるポーリング回数とすることを特徴とする
請求項1に記載のポーリング伝送システム。
When the request count calculation unit calculates the polling count of each slave station,
Corresponding to the priority data parameter and the number of data divisions, which is the result of dividing the data amount of the input data input to the slave station, which is its own station, by the amount of data that can be transmitted in one polling response The sum of the polling count of the local station is the polling count in the priority request data of the local station,
2. The polling transmission system according to claim 1, wherein the number of polling of the other station as each of the slave stations associated with the priority data parameter is set as the number of polling in the priority request data of the other station.
前記優先要求部は、前記入力データに前記優先データが含まれていることを検知するときに、前記記憶手段に格納されている前記入力データのデータIDと、前記優先データパラメータとして前記記憶手段に格納されている前記優先データのデータIDとを比較し、互いに一致するときに、その入力データを前記優先データとして検知することを特徴とする
請求項1または請求項2に記載のポーリング伝送システム。
When the priority request unit detects that the priority data is included in the input data, the priority ID is stored in the storage unit as the data ID of the input data stored in the storage unit and the priority data parameter. The polling transmission system according to claim 1 or 2, wherein the stored data ID of the priority data is compared, and when the data IDs coincide with each other, the input data is detected as the priority data.
一次局である親局と二次局である複数の子局とをポーリング方式にてデータ通信するポーリング伝送システムによるポーリング伝送方法であって、
前記子局は、優先要求部と、要求回数算出部と、ポーリング処理部と、記憶手段とを有し、
前記記憶手段には、前記親局に送信する対象である入力データと、前記入力データのうちの優先データを特定するための優先データパラメータと、前記優先データおよびその関連データを送信するためのポーリング方式のデータ通信の回数を規定する優先要求データとがそれぞれ記憶され、
前記記憶手段の前記優先データパラメータには、その優先データパラメータで特定される前記優先データごとに、その優先データに関連する前記各子局の前記入力データを送信するための前記各子局のポーリング回数が対応づけられており、
前記優先要求部は、自局である前記子局に入力される前記入力データと前記優先データパラメータとを照合することにより、前記入力データに前記優先データが含まれていることを検知し、
前記要求回数算出部は、検知した前記優先データ自局の前記記憶手段内の前記入力データのデータ量と、前記優先データパラメータに対応づけられている前記各子局のポーリング回数とをもとに、検知した前記優先データに関する前記各子局のポーリング回数を前記優先要求データとして作成し、
前記ポーリング処理部は、前記優先要求データが存在するときには、前記親局から受信したポーリング方式におけるポーリング要求への応答として、前記優先要求データを含めたポーリング応答を返信し、
前記親局は、
前記優先要求データを含めたポーリング応答を受信するまでは、所定順序に従って1台ずつ子局を選択してポーリング要求を送信し、
前記優先要求データを含めたポーリング応答を受信したときに、前記所定順序に従ってポーリング要求を送信する処理よりも、前記優先要求データで指定された前記各子局のポーリング回数分のポーリング要求を送信する処理を優先させることを特徴とする
ポーリング伝送方法。
A polling transmission method by a polling transmission system that performs data communication by a polling method between a master station that is a primary station and a plurality of slave stations that are secondary stations,
The slave station includes a priority request unit, a request count calculation unit, a polling processing unit, and a storage unit.
The storage means includes input data to be transmitted to the master station, a priority data parameter for specifying priority data among the input data, and polling for transmitting the priority data and related data. Priority request data that prescribes the number of data communication methods is stored,
The priority data parameter of the storage means includes, for each priority data specified by the priority data parameter, polling of each slave station for transmitting the input data of each slave station related to the priority data Number of times,
The priority requesting unit detects that the priority data is included in the input data by comparing the input data input to the slave station that is the local station and the priority data parameter,
The request count calculation unit is based on the detected amount of input data in the storage means of the priority data own station and the polling count of each slave station associated with the priority data parameter. , Creating the priority request data as the number of polling of each slave station related to the detected priority data,
When the priority request data exists, the polling processing unit returns a polling response including the priority request data as a response to the polling request in the polling method received from the master station,
The master station is
Until a polling response including the priority request data is received, a slave station is selected one by one according to a predetermined order, and a polling request is transmitted.
When a polling response including the priority request data is received, a polling request corresponding to the number of polling times of each slave station specified by the priority request data is transmitted rather than a process of transmitting a polling request according to the predetermined order. A polling transmission method characterized by prioritizing processing.
前記要求回数算出部は、前記各子局のポーリング回数を計算するときに、
自局である前記子局に入力される前記入力データのデータ量を1回のポーリング応答で送信可能なデータ量で除算した結果であるデータ分割数と、前記優先データパラメータに対応づけられている自局のポーリング回数との和を、自局の前記優先要求データにおけるポーリング回数とし、
前記優先データパラメータに対応づけられている前記各子局としての他局のポーリング回数を、他局の前記優先要求データにおけるポーリング回数とすることを特徴とする
請求項4に記載のポーリング伝送方法。
When the request count calculation unit calculates the polling count of each slave station,
Corresponding to the priority data parameter and the number of data divisions, which is the result of dividing the data amount of the input data input to the slave station, which is its own station, by the amount of data that can be transmitted in one polling response The sum of the polling count of the local station is the polling count in the priority request data of the local station,
5. The polling transmission method according to claim 4, wherein a polling count of the other station as each of the slave stations associated with the priority data parameter is set as a polling count in the priority request data of the other station.
前記優先要求部は、前記入力データに前記優先データが含まれていることを検知するときに、前記記憶手段に格納されている前記入力データのデータIDと、前記優先データパラメータとして前記記憶手段に格納されている前記優先データのデータIDとを比較し、互いに一致するときに、その入力データを前記優先データとして検知することを特徴とする
請求項4または請求項5に記載のポーリング伝送方法。
When the priority request unit detects that the priority data is included in the input data, the priority ID is stored in the storage unit as the data ID of the input data stored in the storage unit and the priority data parameter. 6. The polling transmission method according to claim 4, wherein the stored data ID of the priority data is compared, and when the data IDs coincide with each other, the input data is detected as the priority data. 7.
請求項4ないし請求項6のいずれか1項記載のポーリング伝送方法を、前記親局および前記子局にそれぞれ実行させるためのポーリング伝送プログラム。   A polling transmission program for causing the master station and the slave station to execute the polling transmission method according to any one of claims 4 to 6.
JP2010055252A 2010-03-12 2010-03-12 Polling transmission system, polling transmission method, and polling transmission program Expired - Fee Related JP5140692B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010055252A JP5140692B2 (en) 2010-03-12 2010-03-12 Polling transmission system, polling transmission method, and polling transmission program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010055252A JP5140692B2 (en) 2010-03-12 2010-03-12 Polling transmission system, polling transmission method, and polling transmission program

Publications (2)

Publication Number Publication Date
JP2011193064A JP2011193064A (en) 2011-09-29
JP5140692B2 true JP5140692B2 (en) 2013-02-06

Family

ID=44797577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010055252A Expired - Fee Related JP5140692B2 (en) 2010-03-12 2010-03-12 Polling transmission system, polling transmission method, and polling transmission program

Country Status (1)

Country Link
JP (1) JP5140692B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011085764A1 (en) * 2011-11-04 2013-05-08 Robert Bosch Gmbh Method for operating a bus arrangement
JP6070350B2 (en) * 2013-03-28 2017-02-01 大日本印刷株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION DEVICE PROGRAM, AND COMMUNICATION SYSTEM
CN113726402B (en) * 2021-07-20 2022-08-12 西安空间无线电技术研究所 Satellite-borne RS 485-based dual-bus self-adaptive control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0475146A (en) * 1990-07-17 1992-03-10 Nec Corp Centralized supervisory and control system
JPH11136272A (en) * 1997-10-29 1999-05-21 Nec Corp Alarm monitor and alarm monitoring method
JP2002171262A (en) * 2000-11-30 2002-06-14 Furukawa Electric Co Ltd:The Communication method and its communication system

Also Published As

Publication number Publication date
JP2011193064A (en) 2011-09-29

Similar Documents

Publication Publication Date Title
JP4984162B2 (en) Monitoring control method and monitoring control apparatus
JP6683135B2 (en) Communication control system, communication control method, and program
JP5140692B2 (en) Polling transmission system, polling transmission method, and polling transmission program
JP2018160017A (en) Server, service providing system, service providing method, and program
JP2017527220A (en) Control message transmission method, apparatus, and computer storage medium
JP6053914B2 (en) Message transmission / reception device, automatic meter reading system, and message transmission / reception method
JP2016146020A (en) Data analysis system and analysis method
JP6433851B2 (en) Information collection system and method
JP6090471B2 (en) COMMUNICATION SYSTEM, COMMON SERVICE CONTROL DEVICE, DATA TRANSMISSION METHOD, AND PROGRAM
JP2009187230A (en) Monitoring device for server
CN106656790B (en) A kind of OpenFlow service data transmission method and device
JP2017069863A (en) Communication system, communication method, and program
KR101580772B1 (en) Method for monitoring application apparatus therefor
JP2015201785A (en) Control system, relay device, and control method
JP4622944B2 (en) Multi-site traffic control method and system
JP2010244469A (en) Distributed processing system and distributed processing method
JP2010157959A (en) System and method for collecting and monitoring statistic information
JP6447230B2 (en) Data collection method, data collection system, and communication apparatus
WO2013065151A1 (en) Computer system, data transmission method, and data transmission program
JP6022948B2 (en) Management device and program for control device of communication network
JP6065317B2 (en) Communication system, base unit, server
JP5308363B2 (en) Communication device management system and performance information collection method
JP2017182576A (en) Communication system, server apparatus, device apparatus and server load distribution method
JP6868536B2 (en) Data collection device and data collection system
JP5696029B2 (en) Communication system and statistical information management method in communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121026

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121119

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151122

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees