JPH0236636A - Data link system - Google Patents

Data link system

Info

Publication number
JPH0236636A
JPH0236636A JP18740388A JP18740388A JPH0236636A JP H0236636 A JPH0236636 A JP H0236636A JP 18740388 A JP18740388 A JP 18740388A JP 18740388 A JP18740388 A JP 18740388A JP H0236636 A JPH0236636 A JP H0236636A
Authority
JP
Japan
Prior art keywords
data
storage means
change
event detection
link
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
JP18740388A
Other languages
Japanese (ja)
Inventor
Masami Sakakibara
正己 榊原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18740388A priority Critical patent/JPH0236636A/en
Publication of JPH0236636A publication Critical patent/JPH0236636A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To attain high speed processing time and to reduce the cost of the equipment by sending only its change data if the number of data brought into a black level is less. CONSTITUTION:The system is provided with a change information storage means 13 storing changing information outputted from an event detection means 12 detecting the presence of a change through the comparison between a transmission data and a preceding data, a count means 14 counting the change information outputted from the event detection means 12 and a count information storage means 15 storing the countup information from the count means. That is, the event detection means 12 detects the presence of a data change and sends only the change data when the changed number of data is smaller than the setting value (n). Thus, the repetitive transmission of the same data is evaded and the data is sent efficiently. Thus, the transmission time is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は分散制御システム間でのデータリンクシステム
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data link system between distributed control systems.

〔従来の技術〕[Conventional technology]

第3図は従来のデータリンクシステムの構成図であり、
(1)は伝送すべきリンクデータを格納するリンクデー
タ格納手段、(2)はこのリンクデータ格納手段(1)
に格納されたリンクデータを伝送する伝送インターフェ
ース(以下伝送I/Fという)である。
Figure 3 is a configuration diagram of a conventional data link system.
(1) is a link data storage means for storing link data to be transmitted; (2) is this link data storage means (1);
This is a transmission interface (hereinafter referred to as transmission I/F) that transmits link data stored in the .

次に動作について説明する。第4図は従来のデータリン
クシステムの動作を示すフローチャートであり、まず最
初に、データリンクシステムを制御する図示しないマイ
クロプロセッサ(以下CPUという)は、伝送すべきデ
ータをリンクデータ格納手段(1)に格納し、リンクデ
ータのリフレッシュ動作を行なう(ステップ1oo)。
Next, the operation will be explained. FIG. 4 is a flowchart showing the operation of a conventional data link system. First, a microprocessor (not shown) (hereinafter referred to as CPU) that controls the data link system transfers data to be transmitted to the link data storage means (1). and performs a link data refresh operation (step 1oo).

次に前記CPUは、前記リンクデータ格納手段(1) 
よりデータを読む(以下RDともいう)!!1作を行な
い(ステップ110)、伝送I/F (2)を介してデ
ータ伝送動作を行なう(ステップ12G)。次いでステ
ップ130で、CPUが全てのリンクデータを読んだか
否かを判断し、読んでいない場合には、CPUは前記R
D動作(ステップ110)と前記データ伝送動作(ステ
ツブ120)とを繰り返し、前記リンクデータ格納手段
(1)の全データを読む。全データを読みかつデータ伝
送動作を完了したと判断すると(ステップ130)、前
記リフレッシュ動作を再度行ない(ステップ100)、
以後ステップ110〜130の動作を繰り返し、これに
よりデータの伝送が周期的に行なわれることとなる。
Next, the CPU stores the link data storage means (1).
Read more data (hereinafter also referred to as RD)! ! One operation is performed (step 110), and a data transmission operation is performed via the transmission I/F (2) (step 12G). Next, in step 130, it is determined whether the CPU has read all the link data, and if not, the CPU
The D operation (step 110) and the data transmission operation (step 120) are repeated to read all data in the link data storage means (1). When it is determined that all data has been read and the data transmission operation has been completed (step 130), the refresh operation is performed again (step 100);
Thereafter, the operations of steps 110 to 130 are repeated, thereby periodically transmitting data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のデータリンクシステムは以上のように構成されて
いるので、前回のリンクデータと今回のリンクデータと
が全て同一の場合であっても、それぞれのデータの伝送
を行なっていた。即ち、この場合には無関係なデータを
も伝送していることになり、そのため伝送時間が長くか
かるという課題があった。
Since the conventional data link system is configured as described above, even if the previous link data and the current link data are all the same, each data is transmitted. That is, in this case, unrelated data is also being transmitted, which poses a problem in that it takes a long time to transmit.

本発明は、上記のような課題を解決するためになされた
もので、前回のリンクデータと今回のリンクデータとを
比較し、変化した情報のみを伝送し処理時間を短かくし
ようとするものである。
The present invention was made to solve the above-mentioned problems, and attempts to shorten processing time by comparing previous link data and current link data and transmitting only the information that has changed. be.

〔課題を解決しようとするための手段〕本発明に係るデ
ータリンクシステムは、周期的にデータを伝送するデー
タリンクシステムにおいて、伝送すべきデータを格納す
るリンクデータ格納手段と、前記伝送データ及び前回デ
ータを比較して変化の有無を検出するイベント検出手段
と、このイベント検出手段から出力される変化情報を格
納する変化情報格納手段と、前記イベント検出手段から
出力される前記変化情報をカウントするカウント手段と
、このカウント手段からのカウントアツプ情報を格納す
るカウント情報格納手段とを備えたものである。
[Means for Solving the Problems] A data link system according to the present invention is a data link system that periodically transmits data, and includes a link data storage means for storing data to be transmitted, and a link data storage means for storing data to be transmitted, an event detection means for comparing data to detect the presence or absence of a change; a change information storage means for storing change information output from the event detection means; and a counter for counting the change information output from the event detection means. and count information storage means for storing count up information from the counting means.

〔作用〕[Effect]

本発明においては、イベント検出手段によりデータの変
化の有無を検出することにより、変化したデータ数が設
定値nより小さい場合には変化データのみを伝送するよ
うにしたため、同一のデータを繰り返して伝送すること
がなくなり、データ伝送が効率よく行なわれる。
In the present invention, by detecting the presence or absence of a change in data using the event detection means, only the changed data is transmitted when the number of changed data is smaller than the set value n, so the same data is repeatedly transmitted. Data transmission is performed efficiently.

〔実施例〕〔Example〕

以下本発明の一実施例を図に基づいて説明する。第1図
は本実施例に係るデータリンクシステムの構成図であり
、周期的にデータを伝送するデータリンクシステムにお
いて、伝送すべきデータを格納するリンクデータ格納手
段(11)と、前記伝送データ及び前回データを比較し
て変化の有無を検出するイベント検出手段(12)と、
このイベント検出手段(12)から出力される変化情報
を格納する変化情報格納手段(13)と、前記イベント
検出手段(12)から出力される前記変化情報をカウン
トするカウント手段(14)と、このカウント手段(1
4)からのカウントアツプ情報、を格納するカウント情
報格納手段(15)とを備え、伝送17F (2)によ
り、リンクデータ格納手段(11)に格納されたリンク
データを伝送するように構成されている。
An embodiment of the present invention will be described below based on the drawings. FIG. 1 is a configuration diagram of a data link system according to the present embodiment. In a data link system that periodically transmits data, a link data storage means (11) that stores data to be transmitted, and a link data storage means (11) that stores data to be transmitted, and event detection means (12) for comparing the previous data and detecting the presence or absence of a change;
a change information storage means (13) for storing change information outputted from the event detection means (12); a counting means (14) for counting the change information outputted from the event detection means (12); Counting means (1
count information storage means (15) for storing count up information from 4), and is configured to transmit the link data stored in the link data storage means (11) by the transmission 17F (2). There is.

次に本実施例の動作を説明する。周期的にデータを伝送
するデータリンクシステムを制御するCPt1  (図
示せず)は、伝送すべきデータをリンクデータ格納手段
(11)に格納するが、そのとき、イベント検出手段(
12)によって、データを上書きする前に、前回の伝送
データと今回データとを比較して同一データか変化デー
タであるかの変化の有無をハードウェア的にチエツクで
きるように構成されている。また、前回データと今回デ
ータが変化した場合、前記イベント検出手段(12)が
、変化情報格納手段(13)にそのイベントを出力して
知らせることにより、前記変化情報格納手段(13)は
、変化情報(例えばアドレス情報)を格納して記憶保持
するように構成されている。さらに、前記イベント検出
手段(12)はカウント手段(14)と接続されており
、このカウント手段(14)は、イベントが生じた場合
にそのイベント回数(変化情報)をカウントするように
構成されている。また前記カウント手段(14)は、あ
る設定された値(例えばnとする)以上のイベントをカ
ウントしたら、カウントアツプしたことを知らせる手段
を具有しており、このカウント手段(14)からのカウ
ントアツプ情報はカウント情報格納手段(15)に格納
される(例えばフラグF−1とするとカウントアツプし
たことを表わす)。
Next, the operation of this embodiment will be explained. CPt1 (not shown) that controls the data link system that periodically transmits data stores the data to be transmitted in the link data storage means (11), but at that time, the event detection means (
12), before overwriting the data, the previous transmission data and the current data are compared to check whether there is any change, whether it is the same data or changed data, using hardware. Further, when the previous data and the current data change, the event detection means (12) outputs and notifies the change information storage means (13) of the event, so that the change information storage means (13) detects the change. It is configured to store and retain information (eg, address information). Further, the event detection means (12) is connected to a counting means (14), and the counting means (14) is configured to count the number of events (change information) when an event occurs. There is. Further, the counting means (14) has a means for notifying that the count has increased when the number of events exceeding a certain set value (for example, n) is counted. The information is stored in the count information storage means (15) (for example, a flag F-1 indicates that the count has increased).

次に第2図のフローチャートについて説明する。上記の
ようなシステム構成において、前記CPUは前記リンク
データ格納手段(11)のデータを上書きすることによ
りリンクデータのリフレッシュ動作を行なう(ステップ
100)。このとき、前回データと今回データとが違っ
ているデータ数が前記設定値nより小さい場合、前記c
puは前記変化情報格納手段(13)の情報に従って変
化したデータのみを前記リンクデータ格納手段(11)
より読み、伝送17F (2)よりデータ伝送を行なう
。即ち、前記カウント情報格納手段(15)に存在する
フラグFの判断動作はYESとなり(ステップ101)
、以下前記変化情報格納手段(13)のRD動作を行な
い(ステップ102)、その情報に対応したリンクデー
タを前記リンクデータ格納手段(11)より読み(ステ
ップ110)、データ伝送動作を行なう(ステップ12
0)。そして前記変化情報格納手段(13)の内容を全
て読んだか否かの判断動作を行ない(ステップ125)
、RD動作が残っているときはまたステップ102から
くり返し動作を1行なう。そしてRD動作が全て完了す
れば(ステップ125)、前記フラグFをクリヤとしく
ステップ90)、再びリンクデータリフレッシュ動作を
行ない(ス、テップ100)、周期的にデータ伝送が行
なわれる。
Next, the flowchart shown in FIG. 2 will be explained. In the system configuration as described above, the CPU performs a link data refresh operation by overwriting the data in the link data storage means (11) (step 100). At this time, if the number of different data between the previous data and the current data is smaller than the set value n, the c
pu stores only the data that has changed according to the information in the change information storage means (13) and stores it in the link data storage means (11).
Data is transmitted from transmission 17F (2). That is, the judgment operation of the flag F existing in the count information storage means (15) becomes YES (step 101).
Then, the RD operation of the change information storage means (13) is performed (step 102), link data corresponding to the information is read from the link data storage means (11) (step 110), and a data transmission operation is performed (step 12
0). Then, a judgment operation is performed to determine whether all the contents of the change information storage means (13) have been read (step 125).
, RD operation remains, one more operation is repeated from step 102. When all the RD operations are completed (step 125), the flag F is cleared (step 90), the link data refresh operation is performed again (step 100), and data transmission is performed periodically.

次に、前回データと今回データとが違っているデータ数
が設定値nより犬とい場合、前記cpuは、前記変化情
報格納手段(13)の情報は読まず、前記リンクデータ
格納手段(11)に格納された全データを読み、伝送1
7F (2)を介してデータ伝送を行なう。即ち、前記
カウント情報格納手段(15)に存在するフラグFの判
断動作(ステップ101)は、NOとなり、前記リンク
データ格納手段(11)よりリンクデータのRD動作を
行ない(ステップ111)、データ伝送動作を行なう(
ステップ121)。
Next, if the number of data that differs between the previous data and the current data is more than the set value n, the CPU does not read the information in the change information storage means (13) and reads the link data storage means (11). Read all data stored in and transmit 1
Data transmission is performed via 7F (2). That is, the judgment operation (step 101) of the flag F present in the count information storage means (15) is NO, and the link data storage means (11) performs the RD operation of the link data (step 111), and the data is transmitted. perform an action (
Step 121).

そして前記リンクデータ格納手段(11)の内容を全て
読んだか否かの判断動作を行ない(ステップ126)、
RD動作が完了しない場合にはステップ111より繰り
返し動作を行なう。全て完了すれば(ステップ126)
、フラグFをクリヤしくステップgo)5再びリンクデ
ータリフレッシュ動作を行ない(ステップ100)、こ
れにより周期的にデータ伝送が行なわれる。
Then, it is determined whether or not all the contents of the link data storage means (11) have been read (step 126);
If the RD operation is not completed, the operation is repeated from step 111. If all is completed (step 126)
, flag F is cleared (step go)5, and the link data refresh operation is performed again (step 100), whereby data transmission is performed periodically.

なお上記実施例は1個のcpo  (図示省略)で動作
説明を行なったが、例えば2個のCPUで実現しても同
様の効果があるのはいうまでもない。
In the above embodiment, the operation has been explained using one CPO (not shown), but it goes without saying that the same effect can be obtained even if it is implemented using, for example, two CPUs.

また上記実施例は変化情報格納手段(13)に格納する
情報をデータのアドレス情報として説明したが、データ
の内容、を格納して処理を行なっても同様の効果がある
のはいうまでもない。
Further, in the above embodiment, the information stored in the change information storage means (13) has been explained as data address information, but it goes without saying that the same effect can be obtained even if the contents of the data are stored and processed. .

ところで上記実施例のデータリンクシステムにおいて、
前記カウント情報格納手段(15)がアクティブでない
とき(例えばフラグF=Oのとき)、前記変化情報格納
手段(13)に格納されている情報に対応したデータの
みを、前記リンクデータ格納手段(11)より読み出し
、伝送データとするプログラムとしてもよく、逆に前記
カウント情報格納手段(15)がアクティブ状態のとき
(例えばフラグF−1のとき)、前記リンクデータ格納
手段(11)に格納されている全データを伝送データと
するプログラムとしてもよい。
By the way, in the data link system of the above embodiment,
When the count information storage means (15) is not active (for example, when flag F=O), only the data corresponding to the information stored in the change information storage means (13) are stored in the link data storage means (11). ) may be read from the link data storage means (11), and conversely, when the count information storage means (15) is in an active state (for example, when the flag is F-1), the count information storage means (15) is stored in the link data storage means (11). It is also possible to use a program that uses all data contained in the program as transmission data.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明は変化したデータ数か少ない場合
、その変化データのみを伝送するように構成したので、
処理時間が速いデータリンクシステムが得られ、しかも
装置が安価にできるという効果がある。
As described above, the present invention is configured to transmit only the changed data when the number of changed data is small.
A data link system with fast processing time can be obtained, and the device can be manufactured at low cost.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す構成図、第2図は同じ
くフローチャート、第3図は従来のデータリンクシステ
ムの構成図、第4図は同じくフローチャートである。 11)・・・リンクデータ格納手段 12)・・・イベント検出手段 13)・・・変化情報格納手段 14)・・・カウント手段 15)・・・カウント情報格納手段 なお、各図中、同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart, FIG. 3 is a block diagram of a conventional data link system, and FIG. 4 is a flowchart. 11)...Link data storage means 12)...Event detection means 13)...Change information storage means 14)...Counting means 15)...Count information storage means Note that the same reference numerals are used in each figure. indicate the same or equivalent part.

Claims (1)

【特許請求の範囲】[Claims] 周期的にデータを伝送するデータリンクシステムにおい
て、伝送すべきデータを格納するリンクデータ格納手段
と、前記伝送データ及び前回データを比較して変化の有
無を検出するイベント検出手段と、このイベント検出手
段から出力される変化情報を格納する変化情報格納手段
と、前記イベント検出手段から出力される前記変化情報
をカウントするカウント手段と、このカウント手段から
のカウントアップ情報を格納するカウント情報格納手段
とを備えたことを特徴とするデータリンクシステム。
In a data link system that periodically transmits data, there is provided a link data storage means for storing data to be transmitted, an event detection means for comparing the transmitted data and previous data to detect the presence or absence of a change, and this event detection means. a change information storage means for storing change information outputted from the event detection means; a counting means for counting the change information outputted from the event detection means; and a count information storage means for storing count-up information from the counting means. A data link system characterized by:
JP18740388A 1988-07-27 1988-07-27 Data link system Pending JPH0236636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18740388A JPH0236636A (en) 1988-07-27 1988-07-27 Data link system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18740388A JPH0236636A (en) 1988-07-27 1988-07-27 Data link system

Publications (1)

Publication Number Publication Date
JPH0236636A true JPH0236636A (en) 1990-02-06

Family

ID=16205420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18740388A Pending JPH0236636A (en) 1988-07-27 1988-07-27 Data link system

Country Status (1)

Country Link
JP (1) JPH0236636A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5262856A (en) * 1992-06-04 1993-11-16 Massachusetts Institute Of Technology Video image compositing techniques

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5262856A (en) * 1992-06-04 1993-11-16 Massachusetts Institute Of Technology Video image compositing techniques

Similar Documents

Publication Publication Date Title
JPH0236636A (en) Data link system
US4091445A (en) Program switching monitor
CN113608914A (en) Chip, chip function safety detection method, medium and electronic equipment
US6178177B1 (en) Data-processing network having non-deterministic access, but having deterministic access time
JP2723604B2 (en) Data processing device
JPH0358217B2 (en)
US4959843A (en) Content induced transaction overlap (CITO) block transmitter
KR930009064B1 (en) Communicating method between two systems by using fifo
US5497481A (en) Microcomputer computer system having plural programmable timers and preventing memory access operations from interfering with timer start requests
JPH0317755A (en) Microprocessor application circuit
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
JPS6076840A (en) Transmission system of state change information
JP2000278361A (en) System and method for network management
JPS5920029A (en) Taking-in device of sensor signal
JPS63155830A (en) Data input device
JPS60218135A (en) Data processor
JPH05108588A (en) Multiprocessor system
JPH01251254A (en) Interruption request generating system
JPH04100444A (en) Interrupt request system
JPH029251A (en) Framing error status circuit
JP2002091837A (en) Method and device for processing monitor data and recording medium having monitor data processing program recorded thereon
JPS62216439A (en) Method for deciding state of reception of high speed modem for facsimile
JPS62107525A (en) Frame data compression storage device
JPH03180938A (en) Cpu runaway detecting system
JPH0823792B2 (en) Power control device