JPS5936847A - Supervising method of direct memory access device - Google Patents

Supervising method of direct memory access device

Info

Publication number
JPS5936847A
JPS5936847A JP57148536A JP14853682A JPS5936847A JP S5936847 A JPS5936847 A JP S5936847A JP 57148536 A JP57148536 A JP 57148536A JP 14853682 A JP14853682 A JP 14853682A JP S5936847 A JPS5936847 A JP S5936847A
Authority
JP
Japan
Prior art keywords
data
memory
main memory
storing
bit
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
JP57148536A
Other languages
Japanese (ja)
Inventor
Chieko Nakano
中野 千恵子
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
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57148536A priority Critical patent/JPS5936847A/en
Publication of JPS5936847A publication Critical patent/JPS5936847A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware

Abstract

PURPOSE:To write precise data by providing a supervising part and a storing memory for a main memory, and by storing data corresponding to invariable data stored in the main memory in the storing memory to supervise the invariable data and storing data. CONSTITUTION:The main memory address of data to be written is calculted and the ''0'' bit of the invariable data corresponding to the calculated adderss is read in a supervising part 7. Since the sequence of bits in the storing memory 8 is the same as that of data in the main memory 5, the 1st storing data in the storing memory 8 corresponds to the 1st invariable data in the main memory 5. Subsequently, the information of ''0'' bit in the main memory 5 is compared with the correct information in the storing memory 8. The inconsistency of the compared result indicates the destruction of the invariable data in the main memory 5, so that an alarm is sent to prevent incorrect direct memory access.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、ダイレクトメモリアクセス装置の監視方式、
特に伝送データを計算機の主メモリに書込む際に、主メ
モリ内の不変部分の情の破壊を検出するダイレクトメモ
リアクセス装置の監視方式%式% 〔発明の技術的背景〕 従来のダイレクトメモリアクセス装[(以下DMA装置
と云う)の動作を電力系統の遠方監視制御袋gI′(i
−例にして説明する。第1図における従来の遠方監視制
御装置tFi、電力系統側にちるサイクリ、り情報伝送
装置1a(以下CDTと云う)から系統の各種情報、例
えば発電機の出力値及び送電線の潮流値等が伝送路2を
介して計算機3側のCDT 1 bに送られる。このC
DT 1 bに送られてきた伝送データはDMA装置4
によって計算機3の主メモリ5に書込まれる。9はメモ
リパスである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a monitoring system for a direct memory access device;
Particularly, when writing transmitted data to the main memory of a computer, a monitoring method for a direct memory access device that detects destruction of information in an unchangeable part in the main memory% [Technical background of the invention] Conventional direct memory access device [The operation of the DMA device (hereinafter referred to as the DMA device) is controlled by the remote monitoring and control bag gI'(i
-Explain using an example. In Fig. 1, the conventional remote monitoring and control device tFi transmits various information about the power system, such as generator output values and power flow values of power transmission lines, from an information transmission device 1a (hereinafter referred to as CDT) on the power system side. It is sent to the CDT 1 b on the computer 3 side via the transmission line 2. This C
The transmission data sent to DT 1b is transferred to DMA device 4.
is written into the main memory 5 of the computer 3 by. 9 is a memory path.

第2図は主メモリ内のデータの構成図であり、これによ
ってDMA 4.による主メモリ5への書込み動作を説
明する。第2図の6はデータ部分であって、d部分で示
す14ビット分のデータはCDTlbから送られてき念
データを坊仏装置4によって宵込んだものである。同じ
くデータ部分6のC部分は不変データであってCDT 
lb から送られてきたデータではなく、主メモリ5内
にすでに記憶されているデータである。そして不変デー
タとしであるOビットはデータの状態変化(以下状変と
云う)の検出が必要か否かを類別するためのものである
FIG. 2 is a diagram showing the structure of data in the main memory, which allows DMA 4. The write operation to the main memory 5 will be explained. Reference numeral 6 in FIG. 2 is a data portion, and the 14-bit data shown in the d portion is the nen data sent from the CDTlb and stored by the Buddha device 4. Similarly, part C of data part 6 is unchanged data and is CDT.
This is not data sent from lb, but data already stored in main memory 5. The O bit, which is constant data, is used to classify whether or not it is necessary to detect a change in the state of data (hereinafter referred to as a state change).

ここで状変検出の必要なデータ、例えば遮断器の入/ 
51などの2値情報はOビットが1(即ちセ、ト状態)
であり、状変検出の不要なテ゛−タ、例りば発fi、機
の出力値などの数値情報は0ビツトがO(即ちリセット
状態)である・ そこでDMA装置N? 4はCDT lb からデータ
部分6のd部分に相当するr−夕を受取ると、そのデー
タに対応する主メモリ5内のデータのC部分、即ち、不
変データを読込む。そしてOビットを参照してそのデー
タが状変検出の必要なデータか否かを判断し、もしこれ
が状変検出の不要なデータならば、主メモリ5から読込
んだ不変データとCDTlb  から受取ったデータを
合成し、てデータ6の形にし、これを新データとして主
メモリ5に書込む。
Here, the data necessary to detect a change in condition, such as the circuit breaker on/off
For binary information such as 51, the O bit is 1 (i.e. set, t state)
For data that does not require state change detection, such as numerical information such as the output value of the device, the 0 bit is O (that is, the reset state).Then, the DMA device N? Upon receiving r-data corresponding to the d portion of the data portion 6 from the CDT lb, the CDT 4 reads the C portion of the data in the main memory 5 corresponding to the data, that is, the unchanged data. It then refers to the O bit to determine whether the data is data that requires state change detection, and if it is data that does not require state change detection, the constant data read from main memory 5 and the data received from CDTlb are checked. The data is synthesized into data 6, which is written to the main memory 5 as new data.

又、そのデータが状変検出の必要なデータならばそのデ
ータに対応する主メモリ5内の旧データのd部分とCD
T 1 b  から受取った新データを比較し、内容が
変化していなければそのt−!!とし、変化していれば
前記と同様、主メモリ5から参照の不変データとCDT
 lb  からのデータを合成することにより新データ
として主メモリ5に舊込んだ上で、i+ 3¥機3に対
して状変発生の割込み信号を送る。
Also, if the data is data necessary for detecting a change in condition, the d part of the old data in the main memory 5 corresponding to that data and the CD
Compare the new data received from T 1 b, and if the content has not changed, that t-! ! If it has changed, the reference constant data and CDT are retrieved from the main memory 5, as described above.
After combining the data from lb and putting it into the main memory 5 as new data, it sends an interrupt signal indicating the occurrence of a status change to the i+3 machine 3.

そして状変発生の割込み信号を受けた計算機3は必要に
応じた割込み処理を行なう。
Then, the computer 3 that receives the interrupt signal indicating the occurrence of a state change performs interrupt processing as necessary.

〔背景技術の問題点〕[Problems with background technology]

上記構成を有する従来装置において、DMA装置の誤動
作などに起因してデータ6の不変データの内容が破壊さ
れてしまうと以下の不都合が生じる。
In the conventional device having the above configuration, if the contents of the unchanged data of the data 6 are destroyed due to a malfunction of the DMA device, the following inconvenience occurs.

即ち、状変検出の必要なデータがCDT la、  l
bからDMA装膚4に送られてくると、DMA装餡、4
は主メモリ5より、先ず、不変データを読込む。この際
、読込んだ不変データはOビットが1なので主メモリ5
内の旧データ(d部分)とCDT lb  からの新デ
ータを比較する。そこで内容が変化していれば不変デー
タと新データとを合成して生メモリ5に書込み、計算機
3に対して状変発生の割込み信号を送ることになるが、
この動作の際に誤って不変データのOビットが1から0
に変ってしまって主メモリ5に書込まれた場合、即ち不
変データが破壊されてしまった場合、次回からは状変検
出の不要なデータとして扱われるので、たとえ状変が発
生したと(2ても状変発生の割込み信号は計算機3へ送
られない。又、逆に、状変検出の不要なデータが送られ
てきて、DMA装置4内で不変データと新データヲ合成
して書込む時、不変データのOビットがOがら1に変っ
てしまって主メモリ5に宵込まり、た場合、次回からは
前記した場合と反対に、状変発生の必要なy′−夕とし
て扱われるので、送らilてくる数値が変化する度に、
計算機3に対して状変発生の割込み信号が送られてし寸
う欠点を有している。
That is, the data necessary for detecting a change in condition is CDT la, l
When sent from b to DMA dressing 4, DMA dressing, 4
First, unchangeable data is read from the main memory 5. At this time, the O bit of the read unchanged data is 1, so the main memory 5
Compare the old data (part d) in CDT lb with the new data from CDT lb. If the contents have changed, the unchanged data and new data will be combined and written to the raw memory 5, and an interrupt signal will be sent to the computer 3 to indicate that the state has changed.
During this operation, the O bit of the unchanged data is changed from 1 to 0 by mistake.
If the data changes and is written to the main memory 5, that is, if the unchanged data is destroyed, it will be treated as unnecessary data for state change detection from the next time onwards, so even if a state change occurs (2 Even if the state change occurs, the interrupt signal is not sent to the computer 3. Conversely, when data unnecessary for state change detection is sent and the unchanged data and new data are combined and written in the DMA device 4. , if the O bit of the unchanged data changes from O to 1 and is stored in the main memory 5, from the next time onwards it will be treated as y'-e which requires a change to occur, contrary to the case described above. , every time the sent value changes,
This has the disadvantage that an interrupt signal indicating the occurrence of a status change is sent to the computer 3.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点を解決することを目的としてなされ念
ものであり、正確な伝送データの簀込みが可能なダイレ
クトメモリアクセス装置の監視方式全提供することを目
的としている。
The present invention has been devised to solve the above-mentioned drawbacks, and it is an object of the present invention to provide a complete monitoring system for a direct memory access device that can accurately store transmitted data.

〔発明の概要〕[Summary of the invention]

本発明では主メモリに対して監視部と保存用メモリとを
もうけ、前記保存用メモリ内には主メモリ内の不変デー
タに対応したデータを保存しておき、監視部によって周
期的に主メモリ内の不変データと保存用メモリ内の保存
データとを比較し、これが等【7くない場合に警報を発
しようとするものである。
In the present invention, the main memory is provided with a monitoring section and a storage memory, and the storage memory stores data corresponding to unchangeable data in the main memory, and the monitoring section periodically stores data in the main memory. The purpose is to compare the unchanged data in the data stored in the storage memory with the stored data in the storage memory, and to issue an alarm if the data is not equal to 7.

〔発明の実施例〕 以下図面を参照して実施例を説明する。第3図は本発明
によるダイレクトメモリア、クセス装置の監視方式の一
実施例構成図である。第3図において、図中の符号1 
a 、 i b 、 2 、3 、4 、5 、9は第
1191に対応している。7は監視部であって、メモリ
パス9に接続たれている。そL2てこの監視部7i1.
周期を計るタイマーと後述する保存用メモリ8からのデ
ータを読込むデータ読込部と、主メモリ5からのデータ
を読込むデータ読込部と、前記各データを比較するデー
タ比較部と、比較の結果ff:lf報するアラーム部と
、主メモリ5の先頭アドレスと同じくメモリ5内のデー
タの個数を保存しているメモリとから構成されている。
[Embodiments of the Invention] Examples will be described below with reference to the drawings. FIG. 3 is a block diagram of an embodiment of a direct memory access device monitoring system according to the present invention. In Figure 3, the reference numeral 1 in the figure
a, ib, 2, 3, 4, 5, and 9 correspond to the 1191st. Reference numeral 7 denotes a monitoring section, which is connected to the memory path 9. L2 lever monitoring unit 7i1.
A timer that measures the cycle, a data reading section that reads data from the storage memory 8 (described later), a data reading section that reads data from the main memory 5, a data comparison section that compares each of the above data, and a comparison result. It is composed of an alarm unit that sends ff:lf alarms, and a memory that stores the number of data in the memory 5 as well as the start address of the main memory 5.

8は保存用メモリであって、主メモリ5内のデータに対
応して秋変検111の必要なデータと不要なデータと金
区別するため、各データにつき1ビツトを用いて保存さ
れており、その保存の並びは主メモリ5のゲ゛−夕と同
じである。
Reference numeral 8 is a storage memory, in which data is stored using one bit for each data in order to distinguish between necessary data and unnecessary data for the Autumn Test 111, corresponding to the data in the main memory 5. The storage order is the same as the game data in the main memory 5.

爪4図は動作説明のためのフローチャートであり1これ
によって第3図の動作を説明する。なお、不変データの
監視はタイマーによる1回の実行で主メモリ5内の先頭
データから最終データまで行なわれる。
Figure 4 is a flowchart for explaining the operation, and the operation in Figure 3 will be explained using this. It should be noted that monitoring of unchanged data is performed from the first data in the main memory 5 to the last data in one execution by the timer.

先ずステップP!においてはデータ番号iに対して主メ
モリ5内の先頭データを示す1にセットする。ステップ
P2では前記データ番号1に相当するデータの主メモリ
5内のアドレスを算出し、前記アドレスに相当する不変
データのOビラトラXに読込む。なお、保存用メモリ8
内のビットの並びが主メモリ5内のデータの並びと同じ
であるため、保存用メモリ8内の1番目の記憶データと
主メモリ5内の1番目の不変データとが共に対応し、て
いる。そこでステップP3において保存用メモリ8の1
ピツトをyに読込む。次にステップP4において、主メ
モリ5内のOビットの情報Xと保存用メモリ8内の正し
い情報yとを比較する。
First step P! In this step, data number i is set to 1, which indicates the first data in main memory 5. In step P2, the address in the main memory 5 of the data corresponding to the data number 1 is calculated and read into the Ovirator X of the unchanged data corresponding to the address. In addition, storage memory 8
Since the bit arrangement in is the same as the data arrangement in the main memory 5, the first stored data in the storage memory 8 and the first unchanged data in the main memory 5 correspond to each other. . Therefore, in step P3, 1 of the storage memory 8 is
Read the pit to y. Next, in step P4, the O-bit information X in the main memory 5 is compared with the correct information y in the storage memory 8.

ここでXがyに等しくなければ、主メモリ5円の不変デ
ータが破壊されていることになるのでステップP6へ移
9てアラーム信号を送出しステップP、へ移る。しかし
ステップP4においてXとyとが等しければ主メモリ5
内の不変データが正常であるためステップP、に移り、
比較検有が全てのデータについて終了したか否かtチェ
ックするO主メモリ5内の全てのデータについて比較検
査が終了するとステップP8へ移り、まだ終了していな
ければステップP7においてデータ番号f:1増やして
ステラfP2に戻る。又、ステップP8においてはタイ
ヤ−が予じめ設定した周期時間を計り、次回実行の時刻
になると実行開始の信号を送るので、その信号を受ける
まで動作を待ち状態にする。
If X is not equal to y, it means that the permanent data in the main memory 5 yen has been destroyed, so the process moves to step P6, where an alarm signal is sent out, and the process moves to step P. However, if X and y are equal in step P4, the main memory 5
Since the unchanged data in is normal, move to step P.
Check whether the comparison test has been completed for all the data.O When the comparison test has been completed for all the data in the main memory 5, the process moves to step P8, and if it has not finished yet, the data number f:1 is determined in step P7. Increase it and return to Stella fP2. Further, in step P8, the tire measures a preset cycle time, and when the time for the next execution arrives, it sends a signal to start execution, so the operation is placed in a waiting state until the signal is received.

なお、本実施例においては状変検出の要、不要の類別コ
ード全1ビツト構成でデータの0ビツトにあるとして説
明したが、類別コードは2ビツト以上のha成でも、又
、0ビツトに限らずいかなるビットでおっても適用でき
ることは明らかである。
In addition, in this embodiment, the classification code that is necessary and unnecessary for detecting a condition is explained as having a 1-bit configuration and being in the 0 bit of the data, but the classification code can also be a ha configuration of 2 bits or more, or it is limited to 0 bits. It is clear that the invention can be applied to any number of bits.

東にサイクリック情報伝送装置t[CDTが使用されて
いない場合においてもDMA装置によるデータの入出力
を使用している場合は本発明方式が適用できることは勿
論である。
Of course, even if the cyclic information transmission device t[CDT is not used in the east, the method of the present invention can be applied if data input/output by a DMA device is used.

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

以上説明した如く、本発明によれば主メモリに対して保
存用メモリeもうけ、主メモリ内の不変データに対応す
る正しい不変データを保存しておき、周期的にこれを比
較検討するよう構成したので、状変検出の要、不要の類
別コードを正しく保つことのできるダイレクトメモリア
クセス装置の監視方式を提供できる。
As explained above, according to the present invention, a storage memory e is provided in the main memory, correct permanent data corresponding to the permanent data in the main memory is saved, and this is periodically compared and examined. Therefore, it is possible to provide a monitoring method for a direct memory access device that can correctly maintain classification codes that are necessary and unnecessary for detecting a change in status.

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

第1図は従来のダイレクトメモリアクセス装置を遠方監
視制御装置に適用した場合金示すブロック図、第2図は
主メモリ内のデータの構成図、第3図は本発明によるダ
イレクトメモリアクセス装置の監視方式の一実施例ブロ
ック図、第4図は動作説明のためのフローチャートであ
る。 1a、lb・・・サイクリック情報伝送装置、2・・・
伝送路、      3・・・計算機、4・・・ダイレ
クトメモリアクセス装置、5・・・主メモリ、    
 6°°°r−タ\7・・・監視部、      8・
・・保存用メモリ、9・・・メモリパス。 特許出願人 東京芝浦電気株式会社 代理人 弁理士 石  井  紀   男帛1図 帛2図 θ Od 荊3図
Fig. 1 is a block diagram showing the case where a conventional direct memory access device is applied to a remote monitoring control device, Fig. 2 is a configuration diagram of data in the main memory, and Fig. 3 is a monitoring diagram of the direct memory access device according to the present invention. FIG. 4, which is a block diagram of one embodiment of the system, is a flowchart for explaining the operation. 1a, lb... cyclic information transmission device, 2...
Transmission path, 3... Computer, 4... Direct memory access device, 5... Main memory,
6°°°r-ta\7... Monitoring department, 8.
...Storage memory, 9...Memory path. Patent applicant Tokyo Shibaura Electric Co., Ltd. Agent Patent attorney Nori Ishii Figure 1 Figure 2 θ Od Figure 3

Claims (1)

【特許請求の範囲】[Claims] ダイレクトメモリアクセス装fl介してデジタルデータ
を計算機の主メモリに書込むダイレクトメモリアクセス
方式において、主メモリ内に記憶している不変データの
正しい情報を保存する保存用メモリと、メモリパスに接
続され一定周期毎に前記主メモリ5内の不変データ及び
保存用メモリ内の正しい情報を読み込み、この両データ
を比較検査することにより主メモリ内の不変データの破
壊ケ検出する監視部とをもうけたこと′f!:%徴とす
るダイレクトメモリアクセス装置の監視方式。
In the direct memory access method, which writes digital data to the computer's main memory via the direct memory access device, there is a storage memory that saves the correct information of the immutable data stored in the main memory, and a constant memory that is connected to the memory path. A monitoring unit is provided which reads the permanent data in the main memory 5 and the correct information in the storage memory every cycle, and detects corruption of the permanent data in the main memory by comparing and inspecting both data. f! : A monitoring method for direct memory access devices using percentage indicators.
JP57148536A 1982-08-26 1982-08-26 Supervising method of direct memory access device Pending JPS5936847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57148536A JPS5936847A (en) 1982-08-26 1982-08-26 Supervising method of direct memory access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57148536A JPS5936847A (en) 1982-08-26 1982-08-26 Supervising method of direct memory access device

Publications (1)

Publication Number Publication Date
JPS5936847A true JPS5936847A (en) 1984-02-29

Family

ID=15454968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57148536A Pending JPS5936847A (en) 1982-08-26 1982-08-26 Supervising method of direct memory access device

Country Status (1)

Country Link
JP (1) JPS5936847A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61135293A (en) * 1984-12-05 1986-06-23 Meidensha Electric Mfg Co Ltd Remote supervisory control system
JPH07885U (en) * 1991-05-07 1995-01-06 タカノフーズ株式会社 Natto container

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS582049B2 (en) * 1975-08-08 1983-01-13 株式会社クボタ How plastics can be used

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS582049B2 (en) * 1975-08-08 1983-01-13 株式会社クボタ How plastics can be used

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61135293A (en) * 1984-12-05 1986-06-23 Meidensha Electric Mfg Co Ltd Remote supervisory control system
JPH0566799B2 (en) * 1984-12-05 1993-09-22 Meidensha Electric Mfg Co Ltd
JPH07885U (en) * 1991-05-07 1995-01-06 タカノフーズ株式会社 Natto container

Similar Documents

Publication Publication Date Title
JP5038798B2 (en) Memory testing
US4625273A (en) Apparatus for fast data storage with deferred error reporting
JPS5936847A (en) Supervising method of direct memory access device
JPH06324914A (en) Runaway detecting method for computer
JPS59148954A (en) Patrolling system of control storage
US11861181B1 (en) Triple modular redundancy (TMR) radiation hardened memory system
JPS61127026A (en) Optical disk controller
JPH03191451A (en) Error correction system
JPH02297235A (en) Memory data protecting circuit
JPH0254320A (en) Time device
JPH07141120A (en) Processing method for fault in information storage medium
JPS61279940A (en) Fault detector for computer
JPH03230216A (en) Processing system for writing processing part to storage device
JPS5938852A (en) Fault processing system
JPH0454656A (en) Electronic apparatus
JPH0480860A (en) Program loading system
JPH04289558A (en) Write data protecting system for power hit in disk device
JPH04255032A (en) Error correcting system for control storage
JPS6324331A (en) Runaway detecting device for computer
JPH0230060B2 (en)
JPH0481953A (en) Memory device
JPS61279941A (en) Fault detector for computer
JPH0371236A (en) Error detecting system
JPS61224052A (en) Data securing system
JPH02125350A (en) Abnormality detector for backup memory