JP2003087259A - Information transmission system - Google Patents

Information transmission system

Info

Publication number
JP2003087259A
JP2003087259A JP2001273070A JP2001273070A JP2003087259A JP 2003087259 A JP2003087259 A JP 2003087259A JP 2001273070 A JP2001273070 A JP 2001273070A JP 2001273070 A JP2001273070 A JP 2001273070A JP 2003087259 A JP2003087259 A JP 2003087259A
Authority
JP
Japan
Prior art keywords
transmission
information
state change
busy
period
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
Application number
JP2001273070A
Other languages
Japanese (ja)
Inventor
Takashi Yamagishi
孝 山岸
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001273070A priority Critical patent/JP2003087259A/en
Publication of JP2003087259A publication Critical patent/JP2003087259A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an information transmission system capable of transmitting a change of data without missing it even when the capacity of a transmission resource is small. SOLUTION: In a control device 10, a scanning function 13 monitors a tag of monitored information in a prescribed scanning period, and at detecting a status change, a transmission function 17 transmits a status change message to the other device through a transmission line 30. A transmission resource inspection function 18 monitors the transmission resource, and when the remaining capacity of transmission resource is reduced below a prescribed value, the start of a busy transmission period is judged, the scanning period of the function 13 is extended and the generation frequency of status change messages is reduced. Consequently, a change of data can be transmitted without omitting it even when the capacity of the transmission resource is small.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、制御装置と操作監
視装置との間を伝送路で接続した情報伝送システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information transmission system in which a control device and an operation monitoring device are connected by a transmission line.

【0002】[0002]

【従来の技術】従来、外部とのインターフェースとして
の入出力を持ち、その入出力に関する直接または間接の
情報であるタグを持ち、その入出力とタグを管理するス
キャン機能があり、他の装置と伝送するために伝送機能
があり、スキャン機能はメッセージの作成・解釈を行う
制御装置と、その制御装置のタグを、伝送路を流れるメ
ッセージを通して監視または操作する操作監視装置が存
在し、制御装置と操作監視装置間を伝送路で接続されて
いる情報伝送システムにおいて、制御装置から高速にタ
グの変化を操作監視装置に伝えるため、変化時にタグの
変化情報をメッセージにした状態変化(略して状変)メ
ッセージにてその変化を伝えるように構成している。
2. Description of the Related Art Conventionally, there is an input / output as an interface with the outside, a tag that is direct or indirect information regarding the input / output, and a scan function for managing the input / output and the tag is provided. There is a transmission function for transmission, and the scanning function has a control device that creates and interprets messages, and an operation monitoring device that monitors or operates the tags of the control device through the messages flowing through the transmission path. In an information transmission system in which the operation and monitoring devices are connected by a transmission line, in order to notify the change of the tag to the operation and monitoring device at high speed from the control device, a status change (abbreviated to a status change for short) using tag change information as a message ) A message is used to convey the change.

【0003】図12は、この従来の情報伝送システムの
例を示す。同図に示すように、制御装置10と操作監視
装置20は伝送路30により1対1で接続されるか、1
つの制御装置10に複数の操作監視装置20や他の制御
装置10が関係する。複数の装置がつながる場合、伝送
路30としてLANを用いる。
FIG. 12 shows an example of this conventional information transmission system. As shown in the figure, the control device 10 and the operation monitoring device 20 are connected one-to-one by a transmission line 30 or 1
A plurality of operation monitoring devices 20 and other control devices 10 are related to one control device 10. When a plurality of devices are connected, a LAN is used as the transmission line 30.

【0004】図13は、制御装置内部のブロック図を、
図14はその装置内での処理及びデータの流れを示す。
FIG. 13 is a block diagram of the inside of the control device.
FIG. 14 shows the flow of processing and data in the device.

【0005】図14(a)に示すように、制御装置10
において、入力情報は入力機能11にて取り込まれ、ス
キャン機能13で処理される。処理された結果はタグ1
4に保存されると共に、そのタグ14に変化が合った場
合、通知メッセージとしての状変メッセージが作成され
る。作られたメッセージは送信キュー15に貯められ、
伝送機能17にて順次伝送路30に送り出される。
As shown in FIG. 14A, the controller 10
In, the input information is taken in by the input function 11 and processed by the scan function 13. The processed result is tag 1
4 and the tag 14 is changed, a state change message as a notification message is created. The created message is stored in the transmission queue 15,
It is sequentially sent out to the transmission path 30 by the transmission function 17.

【0006】図14(b)に示すように、操作監視装置
20からの読出要求は読出メッセージとして制御装置1
0の伝送機能17に受信され、受信キュー16に貯めら
れ、スキャン機能13にて順次処理される。読出要求は
タグ14にあるデータが読み出され、応答メッセージと
してその読み出しデータが返信される。
As shown in FIG. 14B, the read request from the operation monitoring device 20 is sent as a read message to the control device 1.
It is received by the transmission function 17 of 0, stored in the reception queue 16, and sequentially processed by the scan function 13. In the read request, the data in the tag 14 is read, and the read data is returned as a response message.

【0007】図14(c)に示すように、操作監視装置
20からの書込要求(変更要求)は書込メッセージ(変
更メッセージ)として制御装置10の伝送機能17に受
信され、受信キュー16に貯められ、スキャン機能13
にて順次処理される。書込要求は、通常はスキャンの処
理周期に同期してタグ14に書き込まれ、そして出力機
能12にそのデータが渡され、最終端に出力される。書
込の応答メッセージとしてその書込結果が返信される。
As shown in FIG. 14C, the write request (change request) from the operation monitoring device 20 is received by the transmission function 17 of the control device 10 as a write message (change message) and is received by the reception queue 16. Stored and scan function 13
Are processed in sequence. The write request is normally written to the tag 14 in synchronization with the scan processing cycle, and the data is passed to the output function 12 and output to the final end. The writing result is returned as a writing response message.

【0008】図15は、スキャン機能のフローを示す。
スキャン機能はある間隔(スキャン周期)で繰り返し実
行される。一般的なスキャン機能のフローは、ループの
先頭で入力(ステップS101)を行い、最後に出力
(ステップS105)を行い、これを全タグについて繰
り返し行って(ステップS106)から遅延(ステップ
S107)に入る。入力(ステップS101)と出力
(ステップS106)の間に、メッセージ処理(ステッ
プS102)、状態変化検出処理(ステップS10
3)、その他のタグ処理(ステップS104)を行う。
FIG. 15 shows the flow of the scan function.
The scan function is repeatedly executed at a certain interval (scan cycle). In the flow of a general scan function, input (step S101) is performed at the beginning of the loop, output (step S105) is performed at the end, and this is repeated for all tags (step S106) to delay (step S107). enter. Between the input (step S101) and the output (step S106), message processing (step S102) and state change detection processing (step S10).
3), other tag processing (step S104) is performed.

【0009】[0009]

【発明が解決しようとする課題】ところで、制御装置1
0において、外部の環境が変化した事の反映である入力
変化が大量に発生した場合、または操作監視装置20等
の外部からの要求や内部で時間的要素が要因である出力
変更やタグ内部情報変更が多量に発生した場合、それら
の合計に比例した状変メッセージが発生する。
By the way, the controller 1
0, when a large number of input changes, which are reflections of changes in the external environment, or requests from the outside of the operation monitoring device 20 or output changes or tag internal information due to internal time factors. When a large number of changes occur, a change message proportional to their sum occurs.

【0010】従来は、これらの多量に発生するメッセー
ジの考えられる最大量が指定時間内に抜けが無く制御装
置10から操作監視装置20に伝送される事を保証する
ように、十分大きな伝送資源を必要とした。伝送資源と
しては、伝送バッファ(メモリ)、伝送キューサイズ、
伝送路帯域、CPU資源等である。
Conventionally, a sufficiently large transmission resource is used so as to guarantee that the maximum possible amount of these large amount of generated messages is transmitted from the control device 10 to the operation monitoring device 20 without omission within the designated time. Needed. Transmission resources include transmission buffer (memory), transmission queue size,
It is a transmission line band, CPU resources, and the like.

【0011】本発明は、従来のこのような点に鑑みてな
されたもので、データの変化が多量に発生するが、それ
が継続しないような性質を持つシステム、データの変化
が少ない時は高速に状変を伝える必要があるが、変化が
多い場合は全ての状変を高速に送る必要が無いシステム
において、伝送資源が少なくても、データの変化を抜け
が無く、伝えることができる情報伝送システムを提供す
ることを目的とする。
The present invention has been made in view of such a conventional point, and a system having a property that a large amount of data change occurs but it does not continue, a high-speed operation when the data change is small. In a system in which it is necessary to convey state changes to the data transmission, but when there are many changes, it is not necessary to send all state changes at high speed, and information transmission that can transmit data changes without missing even if transmission resources are low The purpose is to provide a system.

【0012】[0012]

【課題を解決するための手段】本発明は、被監視情報の
タグを所定のスキャン周期で監視して前回情報と最新情
報とを比較することにより情報の状態変化を検出する状
態変化検出処理手段と、この状態変化検出処理手段によ
り状態変化が検出された時、状態変化を示す情報を、伝
送路を介して他の装置に送信する伝送手段とを備えた制
御装置を有する情報伝送システムにおいて、制御装置
に、伝送資源を監視し、残り伝送資源が所定値以下にな
ったときは、伝送繁忙期に入ったと判断し、残り伝送資
源が所定値以上になった時は、伝送繁忙時期から抜け出
たと判断する伝送資源調査手段と、この伝送資源調査手
段により伝送繁忙期に入ったと判断されたときは前記状
態変化検出処理手段のスキャン周期を長くし、伝送繁忙
時期から抜け出たと判断されたときはスキャン周期を元
に戻すように制御する手段とを備えたことを特徴とす
る。
SUMMARY OF THE INVENTION The present invention is a state change detection processing means for detecting a state change of information by monitoring a tag of monitored information at a predetermined scan cycle and comparing previous information with latest information. And an information transmission system having a control device including a transmission means for transmitting information indicating the state change to another device via a transmission line when the state change is detected by the state change detection processing means, The control device monitors the transmission resources, and when the remaining transmission resources fall below a prescribed value, it is judged that the busy transmission period has entered, and when the remaining transmission resources rise above the prescribed value, exit from the busy transmission period. If the transmission resource investigation means determines that the transmission busy period has entered, the scan cycle of the state change detection processing means is lengthened to leave the transmission busy period. When disconnection is characterized in that a means for controlling so as to return to the original scan cycle.

【0013】このような構成の本発明によれば、伝送資
源が少なくても、データの変化を抜けが無く、伝えるこ
とができる。
According to the present invention having such a configuration, even if the transmission resource is small, the change in data can be transmitted without omission.

【0014】また、本発明は、上述のように伝送繁忙時
期に入ったときと抜け出たときとで、スキャン周期を変
える代わりに、タグへの元データの取り込みを制御する
ようにしてもよいし、状態変化を示す情報の送信間隔を
変えるようにしてもよい。
Further, according to the present invention, as described above, instead of changing the scan cycle depending on whether the transmission is in the busy period or not, the acquisition of the original data to the tag may be controlled. Alternatively, the transmission interval of the information indicating the state change may be changed.

【0015】そして、複数存在するタグに優先度をつ
け、伝送繁忙期に入ったと判断し、または伝送繁忙時期
から抜け出たと判断するための判断基準値をタグの優先
度に応じて決定するようにしてもよい。
Then, a plurality of existing tags are given priorities, and a judgment reference value for judging that a busy transmission period has been entered, or for exiting from a busy transmission period, is determined according to the priority of the tags. May be.

【0016】また、伝送繁忙期に入ったときは、タグに
設けられた新入力データ領域に入力データを保存し、伝
送繁忙時期から抜け出たときは、新入力データ領域に入
力データがあるときは入力データを取り出すようにする
こともできる。
Further, when the transmission busy period is entered, the input data is stored in the new input data area provided in the tag, and when the transmission busy period is over, when there is input data in the new input data area. It is also possible to take out the input data.

【0017】[0017]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態について詳細に説明する。なお、以下の図におい
て、従来例を示す図を含めて、同符号は同一部分または
対応部分を示す。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. In the following drawings, the same reference numerals indicate the same or corresponding parts including the drawings showing the conventional example.

【0018】(第1の実施形態)図1は、本発明の第1
の実施形態に係る情報伝送システムにおける制御装置の
内部構成を示すもので、従来例を示す図13の内部構成
に、伝送資源調査機能18を追加したものである。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
The internal configuration of the control device in the information transmission system according to the embodiment is shown. The transmission resource investigation function 18 is added to the internal configuration of FIG. 13 showing a conventional example.

【0019】この伝送資源調査機能18は伝送資源を常
時監視し、残り伝送資源が一定値以下になったら伝送繁
忙期と判断し、スキャン機能13にその状態を伝える。
スキャン機能13は図2のフローのように、スキャン機
能のループ遅延時間を、上記伝送繁忙期の情報を元に変
更する。伝送繁忙期には(ステップS121でYes)
遅延時間を多くし(ステップS122)、状変メッセー
ジの発生頻度を下げたり、スキャン機能13の処理自体
を減らしたりすることにより、CPUの空き時間を多く
し、伝送繁忙状態から抜け出るように、負荷を下げる。
The transmission resource checking function 18 constantly monitors the transmission resources, judges that the remaining transmission resources become a certain value or less, determines that the transmission is busy, and notifies the scan function 13 of the state.
The scan function 13 changes the loop delay time of the scan function based on the information of the busy transmission period as shown in the flow of FIG. During busy periods of transmission (Yes in step S121)
By increasing the delay time (step S122), decreasing the frequency of occurrence of the status change message, and reducing the processing itself of the scan function 13, the free time of the CPU is increased and the load is increased so as to get out of the busy transmission state. Lower.

【0020】残り伝送資源が一定値以上になった時は、
伝送繁忙時期から抜け出たと判断し(ステップS121
でNo)、スキャン周期を元に戻す(ステップS10
7)。
When the remaining transmission resources exceed a certain value,
It is determined that the transmission has come out of the busy period (step S121).
No), the scan cycle is returned to the original one (step S10).
7).

【0021】伝送繁忙期に入る時と抜け出るときの判定
条件に差を持たせる(ヒステリシス)事により、伝送繁
忙期と通常時期の状態遷移を少なくし、制御装置を安定
させる事ができる。
By providing a difference in the judgment conditions when entering the busy transmission period and when exiting (hysteresis), it is possible to reduce the state transition between the busy transmission period and the normal period and to stabilize the control device.

【0022】伝送資源としては、伝送バッファ(メモ
リ)、伝送キューサイズ、伝送路帯域、CPU資源等が
あるが、伝送バッファ容量、伝送キューサイズ、CPU
資源は、通常、OSに問い合わせ、伝送路帯域は伝送路
30の伝送メッセージ量を収集し帯域を直接計るか、ま
たは送信したフレームが何秒かかって完了するかにより
間接的に推定する。
The transmission resources include a transmission buffer (memory), a transmission queue size, a transmission line band, CPU resources, etc., but the transmission buffer capacity, transmission queue size, CPU
Normally, the resource inquires from the OS, and the transmission path bandwidth is directly estimated by collecting the transmission message amount of the transmission path 30 and directly measuring the bandwidth, or by how many seconds it takes for the transmitted frame to be completed.

【0023】(第2の実施形態)次に、本発明の第2の
実施形態に係る情報伝送システムについて説明する。
(Second Embodiment) Next, an information transmission system according to a second embodiment of the present invention will be described.

【0024】第1の実施形態の場合と同様な制御装置内
部構成を使用し、スキャン機能のフローは図3を使用す
る。
The same internal control device configuration as in the first embodiment is used, and the flow of the scanning function uses FIG.

【0025】この第2の実施形態においては、第1の実
施形態の場合とは異なり、伝送繁忙期には(ステップS
121でYes)入力(ステップS101)を行わず、
古い入力データを使用してスキャン機能13を動かす。
伝送繁忙期になると新しい入力データを取り込まないの
で、タグデータの変化は無くなり、状変メッセージが送
信されない。伝送繁忙期でなくなったら(ステップS1
21でNo)新たな入力を取り込む(ステップS10
1)。
In the second embodiment, unlike the case of the first embodiment, during the busy transmission period (step S
Yes in step 121) without inputting (step S101),
The scan function 13 is operated using the old input data.
During the busy period of transmission, new input data is not fetched, so that the tag data does not change and the status change message is not transmitted. If the transmission is not busy (step S1)
21: No) New input is taken in (step S10)
1).

【0026】伝送繁忙期には入力を取り込まないだけな
ので操作出力は出力され、出力遅延等は通常通りに動作
させる。入力において、新しい入力が無いだけで、入力
フィルタリング等の時間に関する機能は古い入力を使用
して通常時期と同様に動作させる。
Since the input is not taken in during the busy period of transmission, the operation output is output and the output delay and the like are operated as usual. With respect to the input, when there is no new input, the time-related functions such as input filtering use the old input and operate as in the normal period.

【0027】これは、あたかも入力が変化していない状
態と同じ状態を作り出す。この方法により、入力以外の
機能には影響を与えず、状変メッセージの負荷を減らす
事ができる。
This creates the same state as if the input had not changed. By this method, the load of the status change message can be reduced without affecting functions other than input.

【0028】なお、この方法において、伝送繁忙期と通
常時期とが頻繁に繰り返される場合、最悪の場合、入力
が頻繁に行われるタグと、入力がほとんど行われないタ
グが出てくる可能性がある。これを防ぐため、図4、図
5に示す2つの方法のどちらかを取る。
In this method, when the busy transmission period and the normal period are frequently repeated, in the worst case, some tags may be frequently input and some tags may be hardly input. is there. To prevent this, one of the two methods shown in FIGS. 4 and 5 is used.

【0029】図4のフローはスキャンループの先頭で一
括して繁忙か否かを判断し(ステップS121)、スキ
ャン周期毎に入力を取り込むか否かを選択する(ステッ
プS141〜ステップS143)。
In the flow of FIG. 4, it is judged at the beginning of the scan loop whether or not it is busy at the same time (step S121), and it is selected whether or not the input is taken in every scan cycle (steps S141 to S143).

【0030】この方法はスキャンループの途中で伝送繁
忙と判断しても、スキャンループが終了するまで、入力
が変化しているタグについて状変メッセージを作ってし
まう。
According to this method, even if it is judged that the transmission is busy in the middle of the scan loop, a change message is generated for the tag whose input is changed until the end of the scan loop.

【0031】これを改善したのが図5のフローである。
処理は複雑になるが、送信繁忙期と判断したら即時に状
変メッセージの作成をやめる。状変メッセージ作成の再
開は、スキャンループにて前回伝送繁忙と判断したタグ
順番になったところから始める。
The flow of FIG. 5 improves this.
Although the process becomes complicated, the creation of the status change message is stopped immediately if it is determined that the transmission is in a busy period. Resuming the creation of the status change message starts from the place where the tag order was determined to be the busy transmission last time in the scan loop.

【0032】即ち、図5のフローにおいて、スキャンル
ープの途中で伝送繁忙か否かを判断し(ステップS12
1)、通常時期は(ステップS121でNo)、IX=
−1(ステップS152)として状変メッセージ作成
(ステップS101)を行うが、スキャンループの途中
でも伝送繁忙と判断したら(ステップS121でYe
s)IX=タグ順番となる(ステップS153)ので、
一巡するまではタグ順番=IXとならず、ステップS1
51でNoに分岐し、状変メッセージ作成を行わない。
一巡して、前回伝送繁忙と判断したタグ順番になった
ら、即ちタグ順番=IXとなったら、ステップS151
でYesに分岐し、通常時期になっていたら(ステップ
S121でNoに分岐)、このタグ順番から状変メッセ
ージ作成が再開される(ステップS152、ステップS
101)。
That is, in the flow of FIG. 5, it is determined whether or not the transmission is busy during the scan loop (step S12).
1), in the normal period (No in step S121), IX =
The state change message is created (step S101) as -1 (step S152), but if it is determined that the transmission is busy even during the scan loop (Yes in step S121).
s) Since IX = tag order (step S153),
The tag order does not become IX until one cycle is completed, and step S1
The flow branches to No at 51, and the state change message is not created.
When the tag turn is judged to be the busy transmission last time, that is, when the tag turn = IX, the step S151 is completed.
If Yes, the normal time is reached (No in Step S121), the creation of the status change message is restarted from this tag order (Step S152, Step S152).
101).

【0033】(第3の実施形態)次に、本発明の第3の
実施形態に係る情報伝送システムについて説明する。
(Third Embodiment) Next, an information transmission system according to a third embodiment of the present invention will be described.

【0034】この実施形態においては、タグの種類によ
らず状変伝送の頻度を抑制するため、最短状変発報間隔
を設ける場合、伝送繁忙期にはこの間隔を長くし、送信
回数を減らす。図6はその様子をタイミングで示した物
である。通常時期より伝送繁忙期のタイマ値を大きくす
る。この実施形態の特徴は、最短状変発報間隔を可変に
する事と、その値を状変繁忙の度合いにより、変化させ
る事である。
In this embodiment, in order to suppress the frequency of state change transmission regardless of the type of tag, if the shortest state change notification interval is provided, this interval is lengthened during the busy transmission period to reduce the number of transmissions. . FIG. 6 shows the situation at a timing. Increase the timer value during the busy transmission period from the normal period. The feature of this embodiment is that the shortest state change alert interval is made variable and its value is changed according to the degree of state change busyness.

【0035】また、被監視情報がアナログデータのよう
な情報に重みがある場合、重み付けの低い情報に関し、
常時変化していることがある。このような重み付けの少
ない情報の頻繁な変化はあまり有用ではなく、むしろ負
荷として悪影響を及ぼす。この悪影響を取り除くため、
状態変化検出において入カデータのフィルタをかける方
法と、変化検出においてデータに重み付けをして比較す
る方法がある。
Further, when the monitored information has a weight on the information such as analog data, regarding the information with a low weight,
It may change all the time. Frequent changes of such unweighted information are not very useful, but rather adversely affect the load. To remove this adverse effect,
There are a method of filtering the input data in the state change detection and a method of weighting and comparing the data in the change detection.

【0036】後者の一般的な実現方法として、前回状変
を発報した時点のデータ値を中心値とし、状変発報限界
値(±の範囲値)を指定し、以降の入力データがこの+
側−側のどちらでも越えたら、変化があったと判断し、
状変メッセージを送信する。
As a general method of realizing the latter, the data value at the time of the previous notification of the condition change is set as the central value, the limit value (range value of ±) of the condition change is designated, and the subsequent input data is +
If it exceeds either side, it is judged that there has been a change,
Send a change message.

【0037】この2つの方法において、前者の入力フィ
ルタをかける場合は、その時定数を可変にし、伝送繁忙
期に時定数を長くする。後者の状変発報限界値を用いる
場合、この値を可変にし、図7に示すように、伝送繁忙
期にはこの範囲を広げる。これにより、状変の発報回数
を制御する。
In the case of applying the former input filter in these two methods, the time constant is made variable and the time constant is lengthened during a busy transmission period. When the latter state change alarm limit value is used, this value is made variable, and as shown in FIG. 7, this range is widened during a busy transmission period. In this way, the number of times the status change is issued is controlled.

【0038】(第4の実施形態)次に、本発明の第4の
実施形態に係る情報伝送システムについて説明する。
(Fourth Embodiment) Next, an information transmission system according to a fourth embodiment of the present invention will be described.

【0039】この実施形態は、上述の第1〜第3の実施
形態において、複数存在するタグを、状変メッセージの
重要性を元に複数のグループに分け、それぞれのグルー
プに優先度をつける。ここでは説明のため、2グループ
に分け、重要なタグすなわち、伝送繁忙期でもできるだ
け状変メッセージを送りたいタグ(優先タグと呼ぶ)
と、優先タグを優先するため、伝送繁忙期になったら、
すぐに状変メッセージの送信を止める通常タグとに分け
る。
In this embodiment, in the first to third embodiments described above, a plurality of existing tags are divided into a plurality of groups based on the importance of the status change message, and priority is given to each group. Here, for the sake of explanation, it is divided into two groups and important tags, that is, tags that want to send a change message as much as possible even during a busy transmission period (called a priority tag).
In order to give priority to the priority tag, during the busy period of transmission,
It is divided into a normal tag that immediately stops the transmission of state change messages.

【0040】図1の伝送資源調査機能18において、伝
送資源のレベルにより伝送繁忙期を判定する場合におい
て、繁忙期に入る基準となるレベル(繁忙入りレベル)
と繁忙期から抜け出る基準となるレベル(繁忙解除レベ
ル)の組を、前述のタグのグループ数に応じて持つ。そ
れぞれのレベルの組において、繁忙入りレベルと繁忙解
除レベルとは、差を持たせる事により、伝送繁忙期と通
常時期とが頻繁にふらつかないようにする。
In the transmission resource investigation function 18 of FIG. 1, when the busy transmission period is determined based on the level of the transmission resource, the reference level for entering the busy period (busy entry level)
According to the number of the above-mentioned tag groups, a set of levels (busy cancellation level), which is a standard for exiting the busy season, is provided. In each level group, the busy entry level and the busy release level are differentiated from each other so that the busy period and the normal period do not frequently fluctuate.

【0041】レベルの組はタグの優先度に応じ、優先タ
グが通常タグより状変伝送ができるような値が選ばれ
る。
The level set is selected in accordance with the priority of the tag so that the priority tag can change the state of transmission more than the normal tag.

【0042】図8に、伝送繁忙期の判定レベル例を示
す。伝送資源は値が低いほど伝送負荷が高く、伝送でき
にくくなっていることを示す。優先タグのレベルの組
は、通常タグのそれに比べ、低い値が設定され、優先タ
グは通常タグに比べ、できるだけ状変メッセージが送信
できるようにし、重要なタグほど、より状変メッセージ
が伝送できるようにする。
FIG. 8 shows an example of determination levels during a busy transmission period. The lower the value of the transmission resource, the higher the transmission load and the more difficult it is to transmit. The priority tag level set is set to a lower value than that of the normal tag, and the priority tag makes it possible to transmit the state change message as much as possible, and the more important the tag, the more state change message can be transmitted. To do so.

【0043】図9に示すように、優先タグかどうかを判
断し(ステップS191)、優先タグをスキャン機能1
3が処理するときは、優先タグ用のレベル組を用いて伝
送繁忙期を判定し(ステップS192)、通常タグでは
通常タグ用のレベルの組を用いて判定する(ステップS
193)。
As shown in FIG. 9, it is judged whether the tag is a priority tag (step S191), and the priority tag scanning function 1
3 performs processing, the transmission busy period is determined using the level set for the priority tag (step S192), and the normal tag is determined using the level set for the normal tag (step S192).
193).

【0044】特殊な例として、優先されたタグの状変送
信は、伝送繁忙の影響なく、送るようにすることができ
る。
As a special example, a prioritized tampering of tags can be sent without the effects of transmission busy.

【0045】(第5の実施形態)次に、本発明の第5の
実施形態に係る情報伝送システムについて説明する。
(Fifth Embodiment) Next, an information transmission system according to a fifth embodiment of the present invention will be described.

【0046】この実施形態は、被監視情報の変化検出に
おいて、伝送繁忙期に送信を行わず、左記情報の中に、
状変送信を行わないのに更にタグ変化が発生した場合
は、変化した入力情報だけか、変化した入力情報とそれ
が変化した時刻、または変化時刻だけを記憶する領域を
タグに1組以上追加して、記憶し、伝送資源が空いたと
きにその新たに記憶した情報と従来のタグの内容から状
変メッセージを作成し、状変メッセージが遅延しても、
状変メッセージが抜けたり、状変時刻が不正確になった
りしないようにするものである。
In this embodiment, when the change of the monitored information is detected, the transmission is not performed during the busy period, and
If a tag change occurs without sending a status change, add one or more sets to the tag to store only the changed input information, the changed input information and the time when it changed, or only the changed time. Then, when the transmission resource becomes available, a state change message is created from the newly stored information and the contents of the conventional tag, and even if the state change message is delayed,
This is to prevent the state change message from being omitted and the state change time to be incorrect.

【0047】この実施形態においては、タグのデータ構
造の中に新入力FIFOを持つ。この実施形態における
タグ構造の説明を図10に、処理フローを図11に示
す。
In this embodiment, the tag data structure has a new input FIFO. FIG. 10 shows the tag structure in this embodiment, and FIG. 11 shows the processing flow.

【0048】図10に示すように、新入力FIFOの基
本単位には入力データとその入力データをとり込んだ時
刻を入れる。
As shown in FIG. 10, the basic unit of the new input FIFO is the input data and the time when the input data is fetched.

【0049】図11に示すように、伝送繁忙期には(ス
テップS121でYes)、新入力FIFOにその時点
の入力データと、その時点の時刻を入れる(ステップS
201、ステップS202)。
As shown in FIG. 11, during the busy transmission period (Yes in step S121), the input data at that time and the time at that time are put in the new input FIFO (step S121).
201, step S202).

【0050】伝送繁忙期で無い時で(ステップS121
でNo)、新入力FIFOにデータがある時は(ステッ
プS203でYes)、その時点の入力は行わずに、新
入力FIFOからデータと時刻を取り出す(ステップS
204、ステップS205)。その新入力FIFOが空
になったら(ステップS203でNo)、入力からデー
タを取り込み(ステップS101)、その時点の時刻を
使用して(ステップS206)、スキャンの処理を行
う。
When the transmission is not in a busy period (step S121
No), if there is data in the new input FIFO (Yes in step S203), the data and time are extracted from the new input FIFO without inputting at that time (step S203).
204, step S205). When the new input FIFO becomes empty (No in step S203), data is fetched from the input (step S101), and the time at that time is used (step S206) to perform the scanning process.

【0051】なお、変化時刻を使用しないシステムにお
いては、タグ構造への追加として時刻は入れずに入力デ
ータのみで良い。
In the system which does not use the change time, only the input data need be added without adding the time to the tag structure.

【0052】この方法により、伝送繁忙期で状変メッセ
ージを送信しないように入力を行わなくても、その入力
を時刻とともに保存しているので、後から変化を再現で
きる。
According to this method, even if an input is not made so as not to send the status change message during the busy period of transmission, the input is saved with the time, so that the change can be reproduced later.

【0053】[0053]

【発明の効果】本発明によれば、低速のLANや伝送リ
ソースが少ない制御装置を使用したシステムで、状変多
発時でも状変メッセージを取りこぼしたり、状変メッセ
ージにリソースが食われ、他の伝送ができなくなったり
することを防ぐことができる。
According to the present invention, in a system using a low-speed LAN or a control device with a small number of transmission resources, a state change message may be missed or resources may be consumed by the state change message even when the state change occurs frequently. It is possible to prevent the transmission from becoming impossible.

【0054】また、上記の状変多発時でも、操作に対す
る応答は高速に行うことができる。
Further, even in the case where the above-mentioned state changes frequently, the response to the operation can be performed at high speed.

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

【図1】 本発明の第1の実施形態に係る情報伝送シス
テムにおける制御装置の内部構成を示す図。
FIG. 1 is a diagram showing an internal configuration of a control device in an information transmission system according to a first embodiment of the present invention.

【図2】 本発明の第1の実施形態におけるスキャン機
能のフローを示す図。
FIG. 2 is a diagram showing a flow of a scan function according to the first embodiment of the present invention.

【図3】 本発明の第2の実施形態におけるスキャン機
能のフローを示す図。
FIG. 3 is a diagram showing a flow of a scan function according to the second embodiment of the present invention.

【図4】 本発明の第2の実施形態におけるスキャン機
能のフローの他の例を示す図。
FIG. 4 is a diagram showing another example of the flow of the scan function according to the second embodiment of the present invention.

【図5】 本発明の第2の実施形態におけるスキャン機
能のフローの更に他の例を示す図。
FIG. 5 is a diagram showing still another example of the flow of the scan function according to the second embodiment of the present invention.

【図6】 本発明の第3の実施形態におけるデータ全般
の伝送繁忙期の状変送信間隔拡張を説明するための図。
FIG. 6 is a diagram for explaining a state change transmission interval extension during a busy transmission period of general data according to a third embodiment of the present invention.

【図7】 本発明の第3の実施形態におけるアナログデ
ータでの伝送繁忙期の状変送信間隔拡張を説明するため
の図。
FIG. 7 is a diagram for explaining a state change transmission interval extension during a busy transmission period of analog data according to the third embodiment of the present invention.

【図8】 本発明の第3の実施形態における伝送繁忙期
の判定レベルを説明するための図。
FIG. 8 is a diagram for explaining a determination level during a busy transmission period according to the third embodiment of the present invention.

【図9】 本発明の第4の実施形態におけるスキャン機
能のフローを示す図。
FIG. 9 is a diagram showing a flow of a scan function according to the fourth embodiment of the present invention.

【図10】本発明の第5の実施形態におけるタグ構造を
示す図。
FIG. 10 is a diagram showing a tag structure according to a fifth embodiment of the present invention.

【図11】本発明の第5の実施形態におけるスキャン機
能のフローを示す図。
FIG. 11 is a diagram showing a flow of a scan function in the fifth embodiment of the invention.

【図12】従来の情報伝送システムの例を示す図。FIG. 12 is a diagram showing an example of a conventional information transmission system.

【図13】従来の情報伝送システムにおける制御装置の
内部構成を示す図。
FIG. 13 is a diagram showing an internal configuration of a control device in a conventional information transmission system.

【図14】従来例におけるメッセージの流れを示す図。FIG. 14 is a diagram showing a message flow in a conventional example.

【図15】従来例におけるスキャン機能のフローを示す
図。
FIG. 15 is a diagram showing a flow of a scan function in a conventional example.

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

10…制御装置 11…入力機能 12…出力機能 13…スキャン機能 14…タグ 15…送信キュー 16…受信キュー 17…伝送機能 18…伝送資源調査機能 20…操作監視装置 30…伝送路 10 ... Control device 11 ... Input function 12 ... Output function 13 ... Scan function 14 ... Tag 15 ... Send queue 16 ... Receive queue 17 ... Transmission function 18 ... Transmission resource investigation function 20 ... Operation monitoring device 30 ... Transmission line

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】被監視情報のタグを所定のスキャン周期で
監視して前回情報と最新情報とを比較することにより情
報の状態変化を検出する状態変化検出処理手段と、この
状態変化検出処理手段により状態変化が検出された時、
状態変化を示す情報を、伝送路を介して他の装置に送信
する伝送手段とを備えた制御装置を有する情報伝送シス
テムにおいて、前記制御装置に、伝送資源を監視し、残
り伝送資源が所定値以下になったときは、伝送繁忙期に
入ったと判断し、残り伝送資源が所定値以上になった時
は、伝送繁忙時期から抜け出たと判断する伝送資源調査
手段と、この伝送資源調査手段により伝送繁忙期に入っ
たと判断されたときは前記状態変化検出処理手段のスキ
ャン周期を長くし、伝送繁忙時期から抜け出たと判断さ
れたときはスキャン周期を元に戻すように制御する手段
とを備えたことを特徴とする情報伝送システム。
1. A state change detection processing means for detecting a state change of information by monitoring a tag of monitored information at a predetermined scan cycle and comparing previous information with latest information, and this state change detection processing means. When a state change is detected by
In an information transmission system having a control device having a transmission means for transmitting information indicating a state change to another device via a transmission line, the control device monitors the transmission resource, and the remaining transmission resource has a predetermined value. Transmission resource check means determines when the busy transmission period has entered, and transmission resource check means determines when the remaining transmission resources have exceeded the specified value when the transmission busy period has passed. And a means for controlling so that the scan cycle of the state change detection processing means is lengthened when it is determined that the busy period has entered, and that the scan cycle is returned to the original state when it is determined that the transmission busy period is exited. Information transmission system characterized by.
【請求項2】被監視情報のタグを所定のスキャン周期で
監視して前回情報と最新情報とを比較することにより情
報の状態変化を検出する状態変化検出処理手段と、この
状態変化検出処理手段により状態変化が検出された時、
状態変化を示す情報を、伝送路を介して他の装置に送信
する伝送手段とを備えた制御装置を有する情報伝送シス
テムにおいて、前記制御装置に、伝送資源を監視し、残
り伝送資源が所定値以下になったときは、伝送繁忙期に
入ったと判断し、残り伝送資源が所定値以上になった時
は、伝送繁忙時期から抜け出たと判断する伝送資源調査
手段と、この伝送資源調査手段により伝送繁忙期に入っ
たと判断されたときは、タグへの元データの取り込みを
行わず、伝送繁忙時期から抜け出たと判断されたときは
元データを取り込むように制御する手段とを備えたこと
を特徴とする情報伝送システム。
2. A state change detection processing means for detecting a state change of information by monitoring a tag of monitored information at a predetermined scan cycle and comparing previous information with latest information, and this state change detection processing means. When a state change is detected by
In an information transmission system having a control device having a transmission means for transmitting information indicating a state change to another device via a transmission line, the control device monitors the transmission resource, and the remaining transmission resource has a predetermined value. Transmission resource check means determines when the busy transmission period has entered, and transmission resource check means determines when the remaining transmission resources have exceeded the specified value when the transmission busy period has passed. When it is determined that the busy period has been entered, the original data is not captured in the tag, and when it is determined that the transmission is out of the busy period, the original data is captured. Information transmission system.
【請求項3】被監視情報のタグを所定のスキャン周期で
監視して前回情報と最新情報とを比較することにより情
報の状態変化を検出する状態変化検出処理手段と、この
状態変化検出処理手段により状態変化が検出された時、
状態変化を示す情報を、伝送路を介して他の装置に送信
する伝送手段とを備えた制御装置を有する情報伝送シス
テムにおいて、前記制御装置に、伝送資源を監視し、残
り伝送資源が所定値以下になったときは、伝送繁忙期に
入ったと判断し、残り伝送資源が所定値以上になった時
は、伝送繁忙時期から抜け出たと判断する伝送資源調査
手段と、この伝送資源調査手段により伝送繁忙期に入っ
たと判断されたときは前記状態変化を示す情報の送信間
隔を長くし、伝送繁忙時期から抜け出たと判断されたと
きは送信間隔を元に戻すように制御する手段とを備えた
ことを特徴とする情報伝送システム。
3. A state change detection processing means for detecting a state change of information by monitoring a tag of monitored information at a predetermined scan cycle and comparing previous information with latest information, and this state change detection processing means. When a state change is detected by
In an information transmission system having a control device having a transmission means for transmitting information indicating a state change to another device via a transmission line, the control device monitors the transmission resource, and the remaining transmission resource has a predetermined value. Transmission resource check means determines when the busy transmission period has entered, and transmission resource check means determines when the remaining transmission resources have exceeded the specified value when the transmission busy period has passed. When it is determined that the busy period has entered, the transmission interval of the information indicating the state change is lengthened, and when it is determined that the transmission busy period is over, the transmission interval is restored to the original state. Information transmission system characterized by.
【請求項4】請求項1乃至請求項3のいずれかに記載の
情報伝送システムにおいて、複数存在するタグに優先度
をつけ、伝送資源調査手段が伝送繁忙期に入ったと判断
し、または伝送繁忙時期から抜け出たと判断するための
判断基準値である前記所定値を、前記タグの優先度に応
じて決定するようにしたことを特徴とする情報伝送シス
テム。
4. The information transmission system according to any one of claims 1 to 3, wherein a plurality of existing tags are prioritized, and the transmission resource checking means judges that the transmission busy period has been entered, or the transmission busy period is busy. An information transmission system characterized in that the predetermined value, which is a judgment reference value for judging that the time has passed, is decided according to the priority of the tag.
【請求項5】被監視情報のタグを所定のスキャン周期で
監視して前回情報と最新情報とを比較することにより情
報の状態変化を検出する状態変化検出処理手段と、この
状態変化検出処理手段により状態変化が検出された時、
状態変化を示す情報を、伝送路を介して他の装置に送信
する伝送手段とを備えた制御装置を有する情報伝送シス
テムにおいて、前記制御装置に、伝送資源を監視し、残
り伝送資源が所定値以下になったときは、伝送繁忙期に
入ったと判断し、残り伝送資源が所定値以上になった時
は、伝送繁忙時期から抜け出たと判断する伝送資源調査
手段と、この伝送資源調査手段により伝送繁忙期に入っ
たと判断されたときは、前記タグに設けられた新入力デ
ータ領域に入力データを保存し、伝送繁忙時期から抜け
出たと判断されたときは、前記新入力データ領域に入力
データがあるとき、入力データを取り出すように制御す
る手段とを備えたことを特徴とする情報伝送システム。
5. A state change detection processing means for detecting a state change of information by monitoring a tag of monitored information at a predetermined scan cycle and comparing previous information with latest information, and this state change detection processing means. When a state change is detected by
In an information transmission system having a control device having a transmission means for transmitting information indicating a state change to another device via a transmission line, the control device monitors the transmission resource, and the remaining transmission resource has a predetermined value. When the following occurs, it is judged that the transmission busy period has been entered, and when the remaining transmission resources exceed a predetermined value, it is judged that the transmission resource has exited from the busy transmission period. When it is determined that the busy period is entered, the input data is stored in the new input data area provided in the tag, and when it is determined that the transmission busy period is over, there is input data in the new input data area. At this time, the information transmission system is provided with means for controlling to take out the input data.
JP2001273070A 2001-09-10 2001-09-10 Information transmission system Pending JP2003087259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001273070A JP2003087259A (en) 2001-09-10 2001-09-10 Information transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001273070A JP2003087259A (en) 2001-09-10 2001-09-10 Information transmission system

Publications (1)

Publication Number Publication Date
JP2003087259A true JP2003087259A (en) 2003-03-20

Family

ID=19098338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001273070A Pending JP2003087259A (en) 2001-09-10 2001-09-10 Information transmission system

Country Status (1)

Country Link
JP (1) JP2003087259A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008277919A (en) * 2007-04-25 2008-11-13 Hitachi Ltd Wireless lan access point and wireless lan terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008277919A (en) * 2007-04-25 2008-11-13 Hitachi Ltd Wireless lan access point and wireless lan terminal

Similar Documents

Publication Publication Date Title
US7676610B2 (en) Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
US20030229693A1 (en) Self-correcting monitor
CN109240836B (en) Method and device for configuring messages of message queue
EP4120634A1 (en) Information processing device, master device, information processing system, notification method, and information processing program
CN111949417B (en) Message transmission method and storage medium
CN112579396A (en) Dynamic current limiting method, device and equipment for software system
CN110659132B (en) Request processing optimization method and computer-readable storage medium
JP2003087259A (en) Information transmission system
CN114268670B (en) Ethernet asynchronous message processing system and method based on time triggering
JP5262418B2 (en) Task scheduling apparatus and task scheduling method
CN111131066A (en) Traffic shaping method and device
CN115314439A (en) Flow control method and related device for data storage IO (input/output) request
US20050265362A1 (en) Message relay program and message relay device
CN113805802A (en) Method, server and storage medium for accessing current limit
JPH11237993A (en) Method and device for controlling task priority
CN114244899B (en) Message transmission method, device and readable storage medium
JP6992694B2 (en) Communication device and communication method
US11882049B2 (en) Managing network latency using buffer fill control
JPH04345248A (en) Event report device
CN116303173B (en) Method, device and system for reducing RDMA engine on-chip cache and chip
CN114301927B (en) Main node selection method, device and medium in distributed system
CN117873784A (en) Service request retry method, system, computer equipment and storage medium
CN109218119B (en) Network packet loss diagnosis method and network equipment
KR100350473B1 (en) CONGESTION CONTROLLING METHOD FOR SIGNALLING LINK IN No.7 SIGNALLING NETWORK
KR100681115B1 (en) Method for improvement graphic processing in communication system