JPH11203155A - Data storage device - Google Patents

Data storage device

Info

Publication number
JPH11203155A
JPH11203155A JP10017839A JP1783998A JPH11203155A JP H11203155 A JPH11203155 A JP H11203155A JP 10017839 A JP10017839 A JP 10017839A JP 1783998 A JP1783998 A JP 1783998A JP H11203155 A JPH11203155 A JP H11203155A
Authority
JP
Japan
Prior art keywords
data
memory
processing device
communication
completed
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
JP10017839A
Other languages
Japanese (ja)
Inventor
Yoshio Nonomura
善雄 野々村
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.)
Toyo Electric Manufacturing Ltd
Original Assignee
Toyo Electric Manufacturing 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 Toyo Electric Manufacturing Ltd filed Critical Toyo Electric Manufacturing Ltd
Priority to JP10017839A priority Critical patent/JPH11203155A/en
Publication of JPH11203155A publication Critical patent/JPH11203155A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To decide the normality of a data order by comparing quantity of data that is transmitted by a communication processor with quantity of data of which communication processing is completed. SOLUTION: When value DP that is written from a data processor 11' is below the sum of data number X2 which is completed transmission processing and data number (n) which can be transmitted through bidirectional memory 31 at one time, it is normal. If it exceeds the sum, data number that is transmitted is too large than data number that is performed transmission processing, it is decided that abnormality occurs, and '1' is written to the bidirectional memory EF and the processing is finished. When there is no abnormality, it is decided whether or not data number DP that is next transmitted is below the data number X2 that is completed transmission processing. When the DP is below the X2, it is decided that abnormality occurs and '1' is written to the memory EF. And when there is no abnormality, next, an index register Y2 which stores an offset of the memory EF is made '0' and this makes it possible to access from a leading address DM+0 of the memory 31.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータを記憶するデ
ータ記憶装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage device for storing data.

【0002】[0002]

【従来の技術】従来のデータ記憶装置の構成例を図3に
示す。図3において、11はデータ処理装置、12は通
信処理装置、2は主メモリ、31、32は双方向メモ
リ、41、42、43、44はインデックスレジスタ、
5は通信インターフェースを示す。説明の便宜上、主メ
モリ2の内部メモリ数をm、先頭アドレスをMM+0と
し、以下のアドレスをオフセットを更新してMM+1、
MM+2、・・・、MM+mと示す。同様に双方向メモ
リ31の内部メモリ数をn、先頭アドレスをDM+0と
し、以下のアドレスをオフセットを更新してDM+1、
DM+2、・・・、DM+nと示す。ここで、主メモリ
2の内部メモリ数mと双方向メモリ31の内部メモリ数
nの関係はm>nであるとする。また、双方向メモリ3
2をDF、インデックスレジスタ41をX1、42をY
1、43をX2、44をY2、通信インターフェース5
をCOMと示す。
2. Description of the Related Art FIG. 3 shows a configuration example of a conventional data storage device. 3, 11 is a data processing device, 12 is a communication processing device, 2 is a main memory, 31 and 32 are bidirectional memories, 41, 42, 43 and 44 are index registers,
Reference numeral 5 denotes a communication interface. For convenience of explanation, the number of internal memories of the main memory 2 is m, the head address is MM + 0, and the following addresses are updated to offset MM + 1,
MM + 2,..., MM + m. Similarly, the number of internal memories of the bidirectional memory 31 is set to n, the start address is set to DM + 0, and the following addresses are updated by updating the offset to DM + 1,
.., DM + n. Here, it is assumed that the relationship between the number m of the internal memories of the main memory 2 and the number n of the internal memories of the bidirectional memory 31 is m> n. The bidirectional memory 3
2 for DF, index register 41 for X1, 42 for Y
1, 43 for X2, 44 for Y2, communication interface 5
Is denoted by COM.

【0003】図3の動作をデータ制御部と通信制御部に
分け、図4のフローチャートを用いて説明すると次の如
くである。ただし、双方向メモリDFの初期値は0とす
る。データ制御部のデータ処理装置11は主メモリ2の
オフセットを記憶するためのインデックスレジスタX1
を0にし、主メモリ2の先頭アドレスMM+0からアク
セスできるようにする。次にデータを双方向メモリ31
にデータを書き込んだことを示す双方向メモリDFの値
が1である場合、通信制御部の処理が完了していないも
のとして待ち状態になるが、DFの初期値は0であるの
でこの時点では次にデータ処理装置11は双方向メモリ
31のオフセットを記憶するためのインデックスレジス
タY1を0にし、双方向メモリ31の先頭アドレスDM
+0からアクセスできるようにする。データ処理装置1
1は主メモリ2のアドレスMM+0のデータを読みだ
し、双方向メモリ31のアドレスDM+0に書き込む。
X1、Y1のそれぞれ元の値に1を加算及び記憶し、ま
ずX1の値が主メモリ2の全メモリ数すなわちmに達
し、双方向メモリ31へのデータ伝送が全て完了したか
どうか判定する。
The operation of FIG. 3 is divided into a data control unit and a communication control unit, and the operation will be described below with reference to a flowchart of FIG. However, the initial value of the bidirectional memory DF is set to 0. The data processing unit 11 of the data control unit has an index register X1 for storing the offset of the main memory 2.
Is set to 0 so that the main memory 2 can be accessed from the start address MM + 0. Next, the data is stored in the bidirectional memory 31.
When the value of the bidirectional memory DF indicating that the data has been written to the communication control unit is 1, it is assumed that the processing of the communication control unit has not been completed, and the communication control unit enters a wait state. Next, the data processing device 11 sets the index register Y1 for storing the offset of the bidirectional memory 31 to 0, and sets the start address DM of the bidirectional memory 31 to 0.
Make it accessible from +0. Data processing device 1
1 reads the data at the address MM + 0 of the main memory 2 and writes the data at the address DM + 0 of the bidirectional memory 31.
1 is added to the original value of each of X1 and Y1 and stored. First, it is determined whether or not the value of X1 has reached the total number of memories of the main memory 2, that is, m, and all the data transmission to the bidirectional memory 31 has been completed.

【0004】主メモリ2の全メモリ数分のデータ伝送が
未完の場合は次にY1の値が双方向メモリ31の全メモ
リ数すなわちnに達し、双方向メモリ31が1度に伝送
できる分のデータの書き込みが完了したかどうか判定す
る。n個のデータ伝送が未完の場合はn個のデータの書
き込みが完了するまで繰り返し処理を行う。n個のデー
タ伝送が完了した場合は次にDFに1を書き込み、DF
が0、すなわち通信制御部の処理が完了するまで待ち状
態になる。DFが0になった後は主メモリ2の全データ
数分すなわちm個のデータ伝送が完了するまで繰り返し
処理を行う。m個のデータ伝送が完了した場合はDFに
1を書き込み、データ制御部の処理を終了する。
If the data transmission for all the memories of the main memory 2 is not completed, the value of Y1 next reaches the total number of memories of the bidirectional memory 31, that is, n, and the value of the bidirectional memory 31 can be transmitted at one time. It is determined whether data writing has been completed. If the n data transmissions have not been completed, the process is repeated until the writing of the n data is completed. When n data transmissions are completed, 1 is written to DF,
Is 0, that is, a standby state is established until the processing of the communication control unit is completed. After the DF becomes 0, the process is repeated until all the data in the main memory 2, that is, m data transmissions are completed. When m data transmissions are completed, 1 is written to the DF, and the processing of the data control unit ends.

【0005】通信制御部のデータ処理装置12はまず送
信データ数を計数するためのインデックスレジスタX2
を0にし、次にDFが0すなわちデータ制御部からデー
タ伝送がない場合は伝送が行われるまで待ち状態にな
る。DFが1になると次に双方向メモリ31のオフセッ
トを記憶するためのインデックスレジスタY2を0に
し、双方向メモリ31の先頭アドレスDM+0からアク
セスできるようにする。通信処理装置12は双方向メモ
リ31のアドレスDM+0のデータを読みだし、通信イ
ンターフェースCOMに書き込み、データの送信を行
う。X2、Y2のそれぞれ元の値に1を加算及び記憶
し、まずX2の値が主メモリ2の全メモリ数すなわちm
に達し、通信インターフェースCOMへのデータ書き込
みが全て完了したかどうか判定する。
[0005] The data processing device 12 of the communication control unit firstly stores an index register X2 for counting the number of transmission data.
Is set to 0, and when DF is 0, that is, when there is no data transmission from the data control unit, the system is in a waiting state until transmission is performed. When the DF becomes 1, the index register Y2 for storing the offset of the bidirectional memory 31 is set to 0 so that the bidirectional memory 31 can be accessed from the start address DM + 0. The communication processing device 12 reads the data at the address DM + 0 of the bidirectional memory 31, writes the data at the communication interface COM, and transmits the data. 1 is added to the original value of each of X2 and Y2 and stored, and first, the value of X2 is the total number of memories in main memory 2, that is, m
Is reached, it is determined whether or not all data writing to the communication interface COM has been completed.

【0006】主メモリ2の全メモリ数分のデータ伝送が
未完の場合は次にY2の値が双方向メモリ31の全メモ
リ数すなわちnに達し、双方向メモリ31が1度に伝送
できる分のデータの読みだしが完了したかどうか判定す
る。n個のデータ伝送が未完の場合はn個のデータの読
みだしが完了するまで繰り返し処理を行う。n個のデー
タ伝送が完了した場合は次にDFに0を書き込み、DF
が1、すなわちデータ制御部から再び双方向メモリ31
へのデータ書き込みが完了するまで待ち状態になる。D
Fが1になった後は主メモリ2の全データ数m個のデー
タ伝送が完了するまで繰り返し処理を行う。m個のデー
タ伝送が完了した場合はDFに0を書き込み、通信制御
部の処理を終了する。以上の処理を行うことによりデー
タを伝送するための媒体より数の多いデータを伝達し、
送信することができる。
If the data transmission for the total number of memories in the main memory 2 is not completed, the value of Y2 next reaches the total number of memories in the bidirectional memory 31, that is, n, so that the bidirectional memory 31 can transmit at one time. It is determined whether the reading of data is completed. If the transmission of n data has not been completed, the processing is repeated until the reading of n data is completed. When n data transmissions are completed, 0 is written to DF,
Is 1, that is, from the data control unit to the bidirectional memory 31 again.
It is in a waiting state until the writing of data to is completed. D
After F becomes 1, the process is repeated until the data transmission of the total number m of data in the main memory 2 is completed. When m data transmissions have been completed, 0 is written to DF, and the processing of the communication control unit ends. By performing the above processing, more data is transmitted than the medium for transmitting data,
Can be sent.

【0007】[0007]

【発明が解決しようとする課題】しかしながらこの装置
においては、通信処理装置12はデータ処理装置11か
ら双方向メモリDFを介してデータ伝送があったことの
みを伝達されるので、外乱等により通信処理装置12と
データ処理装置11の間で同調がとれなくなった場合、
たとえばデータ処理装置11が伝送したデータ数が2n
であるのに通信処理装置12では送信処理を完了したデ
ータ数がnであると判定された場合、データの送信が正
常に行われなくなるが、その異常を判定することは不可
能である。本発明は上述した点に鑑みて創案されたもの
で、その目的とするところは、これらの欠点を解決する
データ記憶装置を提供することにある。
In this apparatus, however, the communication processing unit 12 is notified only that data has been transmitted from the data processing unit 11 via the bidirectional memory DF. If synchronization is lost between the device 12 and the data processing device 11,
For example, the number of data transmitted by the data processing device 11 is 2n
However, if the communication processing device 12 determines that the number of data that has completed the transmission processing is n, the data transmission is not performed normally, but it is impossible to determine the abnormality. The present invention has been made in view of the above points, and an object of the present invention is to provide a data storage device that solves these disadvantages.

【0008】[0008]

【課題を解決するための手段】つまり、その目的を達成
するための手段は、 1)請求項1において、データの制御を行うためのデー
タ処理装置と、データを記録または再生するための複数
の主メモリと、前記データ処理装置がデータを記憶する
メモリのオフセットを記録または再生するためのインデ
ックスレジスタと、データを伝達するための複数の双方
向メモリと、前記データ処理装置がデータを伝達するた
めの双方向メモリのオフセットを記録または再生するた
めのインデックスレジスタと、データの数量を伝達する
ための双方向メモリと、通信の制御を行うための通信処
理装置と、該通信処理装置がデータを伝達するための双
方向メモリのオフセットを記録または再生するためのイ
ンデックスレジスタと、前記通信処理装置が通信処理を
完了したデータの数量を記録または再生するためのイン
デックスレジスタとからなり、通信処理装置が伝達され
たデータの数量と通信処理の完了したデータの数量を比
較することによりデータ伝達順序の正否を判定するよう
構成したことを特徴とするデータ記憶装置である。
Means for achieving the object are as follows: 1) In claim 1, a data processing device for controlling data and a plurality of data processing devices for recording or reproducing data. A main memory, an index register for recording or reproducing an offset of a memory in which the data processing device stores data, a plurality of bidirectional memories for transmitting data, and a data transmission device for transmitting data. An index register for recording or reproducing the offset of the bidirectional memory, a bidirectional memory for transmitting the amount of data, a communication processing device for controlling communication, and the communication processing device transmitting data. An index register for recording or reproducing the offset of the bidirectional memory for performing the communication processing. And an index register for recording or reproducing the number of completed data, and the communication processing device determines whether the data transmission order is correct by comparing the transmitted data quantity and the communication processed data quantity. A data storage device characterized in that it is configured to perform

【0009】2)請求項2において、データの制御を行
うためのデータ処理装置と、データを記録または再生す
るための複数の主メモリと、前記データ処理装置がデー
タを記憶するメモリのオフセットを記録または再生する
ためのインデックスレジスタと、データを伝達するため
の複数の双方向メモリと、前記データ処理装置がデータ
を伝達するための双方向メモリのオフセットを記録また
は再生するためのインデックスレジスタと、データの数
量を伝達するための双方向メモリと、通信の制御を行う
ための通信処理装置と、該通信処理装置がデータを伝達
するための双方向メモリのオフセットを記録または再生
するためのインデックスレジスタと、前記通信処理装置
が通信処理を完了したデータの数量を記録または再生す
るためのインデックスレジスタと、前記通信処理装置が
データ処理装置に異常の発生を伝達するための双方向メ
モリとからなり、通信処理装置が伝達されたデータの数
量と通信処理の完了したデータの数量を比較することに
よりデータ伝達順序の正否を判定し、双方向メモリを介
してデータ処理装置に異常の発生を伝達するよう構成し
たことを特徴とするデータ記憶装置である。
2) A data processing device for controlling data, a plurality of main memories for recording or reproducing data, and an offset of a memory in which the data processing device stores data. Or an index register for reproducing, a plurality of bidirectional memories for transmitting data, an index register for recording or reproducing the offset of the bidirectional memory for transmitting data by the data processing device, and A two-way memory for transmitting the quantity of data, a communication processing device for controlling communication, and an index register for recording or reproducing the offset of the two-way memory for transmitting data by the communication processing device. An index for recording or reproducing the quantity of data for which the communication processing device has completed communication processing. The communication processing device comprises a bidirectional memory for transmitting the occurrence of an abnormality to the data processing device, and the communication processing device compares the number of transmitted data with the number of data subjected to the communication processing. The data storage device is configured to determine whether the data transmission order is correct or not, and to transmit the occurrence of the abnormality to the data processing device via the bidirectional memory.

【0010】その作用は、かかる解決手段により、通信
の制御を行う処理装置が伝送されたデータ数と通信処理
を完了したデータ数を比較することにより、伝送された
データの順序が正常であるか否かを判定することができ
る。以下、本発明の一実施例を図面に基づいて詳述す
る。
[0010] The effect of this is that the processing means for controlling the communication compares the number of transmitted data with the number of data that has completed the communication processing by such a solving means to determine whether the order of the transmitted data is normal. Can be determined. Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

【0011】[0011]

【発明の実施の形態】図1は本発明の請求項1又は2記
載の一実施例を図3に類して示したブロック図で、1
1’はデータ処理装置、12’は通信処理装置、2は主
メモリ、31、32’、33は双方向メモリ、41、4
2、43、44はインデックスレジスタ、5は通信イン
ターフェースを示す。 従来例と同様に主メモリ2の内
部メモリ数mと双方向メモリ31の内部メモリ数nの関
係はm>nであるとする。また、説明の便宜上双方向メ
モリ32’をDP、双方向メモリ33をEFと示す。図
1の動作をデータ制御部と通信制御部に分け、図2のフ
ローチャートを用いて説明すると次の如くである。ただ
し、双方向メモリDP及びEFの初期値は0とする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment according to claim 1 or 2 of the present invention in a manner similar to FIG.
1 'is a data processing device, 12' is a communication processing device, 2 is a main memory, 31, 32 'and 33 are bidirectional memories, 41 and 4,
2, 43, and 44 indicate index registers, and 5 indicates a communication interface. Assume that the relationship between the number m of internal memories of the main memory 2 and the number n of internal memories of the bidirectional memory 31 satisfies m> n, as in the conventional example. For convenience of explanation, the bidirectional memory 32 'is denoted by DP, and the bidirectional memory 33 is denoted by EF. The operation of FIG. 1 is divided into a data control unit and a communication control unit, and the operation will be described below with reference to the flowchart of FIG. However, the initial values of the bidirectional memories DP and EF are set to 0.

【0012】データ制御部のデータ処理装置11’は主
メモリ2のオフセットを記憶するためのインデックスレ
ジスタX1を0にし、主メモリ2の先頭アドレスMM+
0からアクセスできるようにする。次に双方向メモリE
Fの値を読み通信制御部の異常検出の有無を判定する。
EFの値が1である場合は異常が発生しているとしてE
Fを0にしてデータ制御部の処理を終了するが、EFの
初期値は0であるので次にデータを双方向メモリ31に
書き込んだデータ数を示す双方向メモリDPの値を読み
通信制御部の処理が完了しているかどうか判定する。D
Pが0でない場合、通信制御部の処理が完了していない
ものとして待ち状態になるが、DFの初期値は0である
のでこの時点では次にデータ処理装置11’は双方向メ
モリ31のオフセットを記憶するためのインデックスレ
ジスタY1を0にし、双方向メモリ31の先頭アドレス
DM+0からアクセスできるようにする。データ処理装
置11’は主メモリ2のアドレスMM+0のデータを読
みだし、双方向メモリ31のアドレスDM+0に書き込
む。X1、Y1のそれぞれ元の値に1を加算及び記憶
し、まずX1の値が主メモリ2の全メモリ数すなわちm
に達し、双方向メモリ31へのデータ伝送が全て完了し
たかどうか判定する。
The data processing unit 11 'of the data control unit sets the index register X1 for storing the offset of the main memory 2 to 0, and sets the start address MM +
Make it accessible from 0. Next, the bidirectional memory E
The value of F is read to determine whether the communication control unit has detected an abnormality.
If the value of EF is 1, it is determined that an abnormality has occurred and E
F is set to 0, and the processing of the data control unit is terminated. However, since the initial value of EF is 0, the value of the bidirectional memory DP indicating the number of data which has been written to the bidirectional memory 31 is read next, and the communication control unit is read. It is determined whether the process has been completed. D
If P is not 0, the process goes to the wait state assuming that the processing of the communication control unit is not completed. However, since the initial value of the DF is 0, the data processing device 11 ′ Is set to 0 so that the bidirectional memory 31 can be accessed from the start address DM + 0. The data processing device 11 ′ reads the data at the address MM + 0 of the main memory 2 and writes the data at the address DM + 0 of the bidirectional memory 31. 1 is added to the original value of each of X1 and Y1 and stored, and first, the value of X1 is the total number of memories in the main memory 2, that is, m
Is reached, and it is determined whether or not all data transmission to the bidirectional memory 31 has been completed.

【0013】主メモリ2の全メモリ数分のデータ伝送が
未完の場合は次にY1の値が双方向メモリ31の全メモ
リ数すなわちnに達し、双方向メモリ31が1度に伝送
できる分のデータの書き込みが完了したかどうか判定す
る。n個のデータ伝送が未完の場合はn個のデータの書
き込みが完了するまで繰り返し処理を行う。n個のデー
タ伝送が完了した場合は次にDPにX1を書き込み、D
Pが0、すなわち通信制御部の処理が完了するまで待ち
状態になる。DPが0になった後は主メモリ2の全デー
タ数すなわちm個のデータ伝送が完了するまで繰り返し
処理を行うが、途中でEFが1すなわち通信制御部の異
常が検出された場合は処理を中断する。m個のデータ伝
送が完了した場合はDPにX1を書き込み、データ制御
部の処理を終了する。
If the data transmission for all the memories of the main memory 2 is not completed, the value of Y1 reaches the total number of memories of the bidirectional memory 31, ie, n, and the value of the bidirectional memory 31 can be transmitted at one time. It is determined whether data writing has been completed. If the n data transmissions have not been completed, the process is repeated until the writing of the n data is completed. When n data transmissions have been completed, X1 is written to DP and D
It waits until P is 0, that is, the processing of the communication control unit is completed. After the DP becomes 0, the process is repeated until the total number of data in the main memory 2, that is, the data transmission of m data is completed. However, if the EF is 1, that is, if an abnormality of the communication control unit is detected, the process is performed. Interrupt. When m data transmissions have been completed, X1 is written to DP, and the processing of the data control unit ends.

【0014】通信制御部のデータ処理装置12’はまず
送信データ数を計数するためのインデックスレジスタX
2を0にし、次にDPが0すなわちデータ制御部からデ
ータ伝送がない場合は伝送が行われるまで待ち状態にな
る。DPが0以外の値になると次にDPの値が正常であ
るかどうかの判定を行う。データ処理装置11’から書
き込まれる値DPは送信処理の完了したデータ数X2と
双方向メモリ31を介して一度に伝送できるデータ数n
との和以下である場合に正常であり、該和を超えた場合
には送信処理を行ったデータ数に対し伝送されたデータ
数が過大であるので、異常発生と判定して双方向メモリ
EFに1を書き込み通信制御部の処理を終了する。異常
がない場合は次に伝送されたデータ数DPが送信処理を
完了したデータ数X2以下かどうか判定する。DPがX
2より大きい場合は正常であり、DPがX2以下である
場合は送信処理を行ったデータ数に対し伝送されたデー
タ数が過小であるので、異常発生と判定して双方向メモ
リEFに1を書き込み通信制御部の処理を終了する。異
常がない場合は次に双方向メモリ31のオフセットを記
憶するためのインデックスレジスタY2を0にし、双方
向メモリ31の先頭アドレスDM+0からアクセスでき
るようにする。通信処理装置12は双方向メモリ31の
アドレスDM+0のデータを読みだし、通信インターフ
ェースCOMに書き込み、データの送信を行う。X2、
Y2のそれぞれ元の値に1を加算及び記憶し、まずX2
の値が主メモリ2の全メモリ数mに達し、通信インター
フェースCOMへのデータ書き込みが全て完了したかど
うか判定する。
The data processing unit 12 'of the communication control unit firstly stores an index register X for counting the number of transmission data.
2 is set to 0, and when the DP is 0, that is, when there is no data transmission from the data control unit, a standby state is set until transmission is performed. When the value of DP becomes a value other than 0, it is next determined whether or not the value of DP is normal. The value DP written from the data processing device 11 'is the number of data X2 for which transmission processing has been completed and the number of data n which can be transmitted at one time via the bidirectional memory 31.
If the sum is less than or equal to the sum, the data is normal, and if the sum is exceeded, the number of data transmitted is excessive with respect to the number of data subjected to the transmission processing. In the communication control unit. If there is no abnormality, it is determined whether or not the next transmitted data number DP is equal to or less than the data number X2 for which transmission processing has been completed. DP is X
If the number is larger than 2, the data is normal, and if the DP is less than X2, the number of data transmitted is too small compared to the number of data subjected to the transmission processing. The process of the write communication control unit ends. If there is no abnormality, the index register Y2 for storing the offset of the bidirectional memory 31 is set to 0 so that the bidirectional memory 31 can be accessed from the start address DM + 0. The communication processing device 12 reads the data at the address DM + 0 of the bidirectional memory 31, writes the data at the communication interface COM, and transmits the data. X2,
1 is added to the original value of Y2 and stored, and first, X2
Has reached the total memory number m of the main memory 2, and it is determined whether or not all data writing to the communication interface COM has been completed.

【0015】主メモリ2の全メモリ数分のデータ伝送が
未完の場合は次にY2の値が双方向メモリ31の全メモ
リ数すなわちnに達し、双方向メモリ31が1度に伝送
できる分のデータの読みだしが完了したかどうか判定す
る。n個のデータ伝送が未完の場合はn個のデータの読
みだしが完了するまで繰り返し処理を行う。n個のデー
タ伝送が完了した場合は次にDPに0を書き込み、DF
が1、すなわちデータ制御部から再び双方向メモリ31
へのデータ書き込みが完了するまで待ち状態になる。D
Pが1になった後は主メモリ2の全データ数分すなわち
n個のデータ伝送が完了するまで繰り返し処理を行う
が、途中で伝送データ数の異常を検出した場合、EFに
1を書き込み処理を中断する。n個のデータ伝送が完了
した場合はDPに0を書き込み、通信制御部の処理を終
了する。
If the data transmission for the total number of memories in the main memory 2 is not completed, the value of Y2 reaches the total number of memories in the bidirectional memory 31, that is, n, so that the bidirectional memory 31 can transmit at one time. It is determined whether the reading of data is completed. If the transmission of n data has not been completed, the processing is repeated until the reading of n data is completed. When n data transmissions are completed, 0 is written to DP, and DF
Is 1, that is, from the data control unit to the bidirectional memory 31 again.
It is in a waiting state until the writing of data to is completed. D
After P becomes 1, the process is repeated until all the data in the main memory 2, that is, n data transmissions, is completed. Interrupt. When n data transmissions have been completed, 0 is written to DP, and the processing of the communication control unit ends.

【0016】[0016]

【発明の効果】以上詳述したように本発明によれば、伝
送されたデータ数と通信処理が完了したデータ数を比較
することにより、外乱等によりデータを制御する処理装
置と通信を制御する処理装置の間に同調がとれない場合
は異常を検出し、処理の中断が可能である簡便な構成の
装置を提供でき、実用上の効果は顕著である。また、本
例ではデータ処理装置から伝送されるデータを通信処理
装置により送信を行うものとしているが、構成から明白
なように通信処理装置が受信したデータをデータ処理装
置に伝送する装置にも応用できる。
As described above in detail, according to the present invention, the number of transmitted data is compared with the number of data for which communication processing has been completed, thereby controlling communication with a processing device which controls data due to disturbance or the like. When synchronization cannot be established between the processing devices, an abnormality can be detected and a device having a simple configuration capable of interrupting the process can be provided, and the practical effect is remarkable. In this example, data transmitted from the data processing device is transmitted by the communication processing device. However, as is apparent from the configuration, the present invention is also applied to a device that transmits data received by the communication processing device to the data processing device. it can.

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

【図1】図1は本発明の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図2は本発明の実施例の動作を説明するための
フローチャートである。
FIG. 2 is a flowchart for explaining the operation of the embodiment of the present invention.

【図3】図3は従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

【図4】図4は従来例の動作を説明するためのフローチ
ャートである。
FIG. 4 is a flowchart for explaining the operation of the conventional example.

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

11 データ処理装置 11’ データ処理装置 12 通信処理装置 12’ 通信処理装置 2 主メモリ 31 双方向メモリ 32 双方向メモリ 32’ 双方向メモリ 33 双方向メモリ 41 インデックスレジスタ 42 インデックスレジスタ 43 インデックスレジスタ 44 インデックスレジスタ 5 通信インターフェース Reference Signs List 11 data processing device 11 'data processing device 12 communication processing device 12' communication processing device 2 main memory 31 bidirectional memory 32 bidirectional memory 32 'bidirectional memory 33 bidirectional memory 41 index register 42 index register 43 index register 44 index register 5 Communication interface

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データの制御を行うためのデータ処理装
置と、データを記録または再生するための複数の主メモ
リと、前記データ処理装置がデータを記憶するメモリの
オフセットを記録または再生するためのインデックスレ
ジスタと、データを伝達するための複数の双方向メモリ
と、前記データ処理装置がデータを伝達するための双方
向メモリのオフセットを記録または再生するためのイン
デックスレジスタと、データの数量を伝達するための双
方向メモリと、通信の制御を行うための通信処理装置
と、該通信処理装置がデータを伝達するための双方向メ
モリのオフセットを記録または再生するためのインデッ
クスレジスタと、前記通信処理装置が通信処理を完了し
たデータの数量を記録または再生するためのインデック
スレジスタとからなり、通信処理装置が伝達されたデー
タの数量と通信処理の完了したデータの数量を比較する
ことによりデータ伝達順序の正否を判定するよう構成し
たことを特徴とするデータ記憶装置。
1. A data processing apparatus for controlling data, a plurality of main memories for recording or reproducing data, and an apparatus for recording or reproducing offsets of a memory in which the data processing apparatus stores data. An index register; a plurality of bidirectional memories for transmitting data; an index register for recording or reproducing an offset of the bidirectional memory for transmitting data by the data processing device; and transmitting a quantity of data. Memory for controlling communication, a communication processing device for controlling communication, an index register for recording or reproducing an offset of the bidirectional memory for transmitting data by the communication processing device, and the communication processing device And an index register for recording or reproducing the amount of data that has completed communication processing. A data processing device configured to determine whether the data transmission order is correct by comparing the number of transmitted data with the number of data subjected to the communication processing by the communication processing device.
【請求項2】 データの制御を行うためのデータ処理装
置と、データを記録または再生するための複数の主メモ
リと、前記データ処理装置がデータを記憶するメモリの
オフセットを記録または再生するためのインデックスレ
ジスタと、データを伝達するための複数の双方向メモリ
と、前記データ処理装置がデータを伝達するための双方
向メモリのオフセットを記録または再生するためのイン
デックスレジスタと、データの数量を伝達するための双
方向メモリと、通信の制御を行うための通信処理装置
と、該通信処理装置がデータを伝達するための双方向メ
モリのオフセットを記録または再生するためのインデッ
クスレジスタと、前記通信処理装置が通信処理を完了し
たデータの数量を記録または再生するためのインデック
スレジスタと、前記通信処理装置がデータ処理装置に異
常の発生を伝達するための双方向メモリとからなり、通
信処理装置が伝達されたデータの数量と通信処理の完了
したデータの数量を比較することによりデータ伝達順序
の正否を判定し、双方向メモリを介してデータ処理装置
に異常の発生を伝達するよう構成したことを特徴とする
データ記憶装置。
2. A data processing apparatus for controlling data, a plurality of main memories for recording or reproducing data, and an apparatus for recording or reproducing offsets of a memory in which the data processing apparatus stores data. An index register; a plurality of bidirectional memories for transmitting data; an index register for recording or reproducing an offset of the bidirectional memory for transmitting data by the data processing device; and transmitting a quantity of data. Memory for controlling communication, a communication processing device for controlling communication, an index register for recording or reproducing an offset of the bidirectional memory for transmitting data by the communication processing device, and the communication processing device An index register for recording or reproducing the quantity of data for which communication processing has been completed; The communication processor comprises a two-way memory for transmitting the occurrence of an abnormality to the data processor, and the communication processor compares the number of transmitted data with the number of data that has been subjected to the communication processing to thereby determine the data transmission order. A data storage device configured to determine whether the data processing device is correct or not, and to transmit the occurrence of the abnormality to the data processing device via the bidirectional memory.
JP10017839A 1998-01-14 1998-01-14 Data storage device Pending JPH11203155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10017839A JPH11203155A (en) 1998-01-14 1998-01-14 Data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10017839A JPH11203155A (en) 1998-01-14 1998-01-14 Data storage device

Publications (1)

Publication Number Publication Date
JPH11203155A true JPH11203155A (en) 1999-07-30

Family

ID=11954857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10017839A Pending JPH11203155A (en) 1998-01-14 1998-01-14 Data storage device

Country Status (1)

Country Link
JP (1) JPH11203155A (en)

Similar Documents

Publication Publication Date Title
KR100676981B1 (en) Arrangement with a plurality of processors sharing a collective memory
US8145852B2 (en) Device having shared memory and method for providing access status information by shared memory
JPH0830550A (en) Interface device, information processor, information processing system, and data transferring method
CN101290602B (en) Memory management method and system
US20100002099A1 (en) Method and apparatus for sharing memory
US8447952B2 (en) Method for controlling access to regions of a memory from a plurality of processes and a communication module having a message memory for implementing the method
JPH11203155A (en) Data storage device
WO2019000456A1 (en) Data mask transmission method, memory controller, memory chip, and computer system
US5590279A (en) Memory data copying apparatus
JP3751536B2 (en) Data transmission equipment
JP3178474B2 (en) Communication control device
JPH11184761A (en) Read modify write control system
US7812847B2 (en) Method and apparatus for providing bandwidth priority
KR20050004157A (en) Data transfer unit with support for multiple coherency granules
JP2752834B2 (en) Data transfer device
JP3743975B2 (en) Storage system
EP1459191B1 (en) Communication bus system
US7613863B2 (en) High-speed data readable information processing device
JP5076348B2 (en) Shared memory access method
JP3264316B2 (en) Direct memory access controller
JPH0115100B2 (en)
JP2826780B2 (en) Data transfer method
KR19980052698A (en) Data storage device with RAID controller
JP2573790B2 (en) Transfer control device
JPH01158554A (en) Data processing system providing dma device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070305