JPH01261768A - Data communication system - Google Patents
Data communication systemInfo
- Publication number
- JPH01261768A JPH01261768A JP9070688A JP9070688A JPH01261768A JP H01261768 A JPH01261768 A JP H01261768A JP 9070688 A JP9070688 A JP 9070688A JP 9070688 A JP9070688 A JP 9070688A JP H01261768 A JPH01261768 A JP H01261768A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- data
- memory
- address
- information processing
- 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
Links
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
反血欠1
本発明はデータ通信方式に関し、特に情報処理装置相互
間のデータ通信を共通メモリを介して行うようにしたデ
ータ通信方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data communication system, and more particularly to a data communication system in which data communication between information processing devices is performed via a common memory.
良米韮韮
従来のこの種のデータ通信方式においては、メモリ制御
装置を用いて複数の情報処理装置相互間のデータ通信制
御を行っている。この種のメモリ制御装置は主として次
に示す2つのモードでデータ通信制御を行うあが一般的
となっている。In this type of conventional data communication system, a memory control device is used to control data communication between a plurality of information processing devices. This type of memory control device generally performs data communication control mainly in the following two modes.
第1のモードでは、予めメモリ上に通信データをセット
しておき、割込み信号により他の情報処理装置に対して
通信データの存在を知らせ、当該能の処理装置が通信デ
ータを読出ずことにより処理装置相互間の通信を行うよ
うになっている。In the first mode, communication data is set in memory in advance, the existence of the communication data is notified to other information processing devices by an interrupt signal, and the processing device of the relevant function processes the communication data without reading it. The devices are designed to communicate with each other.
第2のモードでは、メモリへのアドレス信号を通信デー
タと兼用させアドレス信号を他の処理装置に送出して通
信を行うようになっている。In the second mode, the address signal to the memory is also used as communication data, and the address signal is sent to another processing device to perform communication.
この様な従来の処理装置間データ通信では、前もってメ
モリに通信データを書込んでおくために、そのデータを
処理装置間通信でメモリがら読出した後でなければ、次
の通信のためにメモリを書替えることはできない、従っ
て、メモリに書込んだ後エラー等により処理装置間通信
要求を送出できない場合には、メモリの書込みデータ(
通信データ)が不正になってしまうという欠点がある。In such conventional data communication between processing units, since the communication data is written in memory in advance, the data must be read from the memory during communication between processing units before the memory can be used for the next communication. It cannot be rewritten. Therefore, if a communication request between processing units cannot be sent due to an error etc. after writing to the memory, the written data in the memory (
The disadvantage is that the communication data (communication data) may become fraudulent.
特に、第2のモードでは、メモリアドレスを装置間通信
時にライトデータとして使用しているために、ビット幅
が狭くなり多くのデータを送出することができないとい
う欠点がある。また、任意のアドレスにメモリアクセス
することができないという欠点もある。In particular, in the second mode, since the memory address is used as write data during communication between devices, the bit width becomes narrow and there is a drawback that a large amount of data cannot be sent. Another drawback is that memory access to arbitrary addresses is not possible.
九肌凶1追
本発明の目的は通信先から単にメモリアクセス動作を行
うのみで通信元からのデータを読出すことにより、デー
タの信顆性の向上を図ったデータ通信方式を提供するこ
とである。SUMMARY OF THE INVENTION The purpose of the present invention is to provide a data communication method that improves the reliability of data by reading data from a communication source by simply performing a memory access operation from the communication destination. be.
本発明の他の目的は、メモリへのライトアドレスを自在
に制御することにより、通信元からの通信データを逐次
書込み、通信先はこれを非同期で逐次読出すようにして
データ量が多くても、正確。Another object of the present invention is to freely control the write address to the memory so that the communication data from the communication source is written sequentially, and the communication destination reads this asynchronously and sequentially, even when the amount of data is large. ,correct.
な通信が可能なデータ通信方式を提供することである。The purpose of the present invention is to provide a data communication method that enables flexible communication.
北曹彫り1或
本発明によれば、複数の情報処理装置相互間のデータ通
信をこれ等情報処理装置に共通に設けられたメモリを介
して行うようにしたデータ通信方式であって、情報処理
装置間通信時に要求元からの通信データを、前記メモリ
内の同じく要求元からの書込みアドレスへ書込む書込み
手段と、通信相手先に対して前記メモリ内の書込みアド
レスを通知する手段とを設け、この通知に応答して通信
相手先は前記書込みアドレスにアクセスして書込まれた
データを読出すようにしたことを特徴とするデータ通信
方式が得られる。Hokusobori 1 According to the present invention, there is provided a data communication method in which data communication between a plurality of information processing devices is performed via a memory provided in common to these information processing devices, A writing means for writing communication data from a request source during inter-device communication to a write address from the request source in the memory, and means for notifying the communication partner of the write address in the memory, A data communication system is obtained in which the communication partner accesses the write address and reads the written data in response to this notification.
K鳳」 以下に本発明の実施例を図面を用いて説明する。K-Otori” Embodiments of the present invention will be described below with reference to the drawings.
図は本発明の実施例のシステムブロック図である0図に
おいては、共通メモリ2に対して2個の情報処理装置1
1及び12が設けられており、これ等両装置11及び1
2の間で共通メモリ2を介してデータ通信を行う場合に
ついて示している。The figure is a system block diagram of an embodiment of the present invention. In figure 0, two information processing devices 1 are connected to a common memory 2.
1 and 12 are provided, and these devices 11 and 1
2 shows a case where data communication is performed between the two via the common memory 2.
情報処理装置11に対応してメモリ制御装置3が設けら
れており、ボートアドレスレジスタ31は装置間通信時
にメモリ2のアドレスを受取る。A memory control device 3 is provided corresponding to the information processing device 11, and a boat address register 31 receives the address of the memory 2 during inter-device communication.
ボートリクエストコードレジスタ32は処理要求の要求
内容を受取る。ボートライトデータレジスタ33は情報
処理装置101から送出されたライトデータを受取る0
通信先コード受付レジスタ34は情報処理装置11から
送出される通信先コードを受取る。The boat request code register 32 receives the request contents of the processing request. The boat write data register 33 receives write data sent from the information processing device 101.
The communication destination code reception register 34 receives the communication destination code sent from the information processing device 11.
デコーダ35はリクエストコードの出力をデコードする
。メモリライトコマンド36は装置間通信時のメモリラ
イトコマンドを生成する。セレクタ37はデコーダ35
のデコード出力に応じてメモリアクセス要求と装置間通
信要求とを択一的に導出する6
アドレス送出レジスタ38はメモリ2及び情報処理装置
12にライトデータのライトアドレスを送出する。メモ
リリクエストコマンドレジスタ3つはメモリ2に処理要
求を送出する。装置間通信要求送出レジスタ40は情報
処理装置12に対して装置間通信要求を送出する。メモ
リライトデータ送出レジスタ41はメモリ2にライトデ
ータを送出する0通信先コード送出レジスタ42は情報
処理装置11に通信先コードを送出する。The decoder 35 decodes the output of the request code. The memory write command 36 generates a memory write command during communication between devices. Selector 37 is decoder 35
The address sending register 38 selectively derives a memory access request and an inter-device communication request according to the decoded output of the address sending register 38 sends a write address of write data to the memory 2 and the information processing device 12. The three memory request command registers send processing requests to the memory 2. The inter-device communication request sending register 40 sends an inter-device communication request to the information processing device 12. The memory write data sending register 41 sends write data to the memory 2. The communication destination code sending register 42 sends the communication destination code to the information processing device 11.
次に図に示すメモリ制御装置3の動作について説明する
。装置間通信時に、情報処理装置11からアドレス及び
リクエストコード、ライトデータル通信先コードがそ五
ぞれ各ボートレジスタ31〜34にセットされる。セッ
トされたボートアドレスレジスタ31はアドレス送出レ
ジスタ38にセットされ、メモリ2に対するライトデー
タのライトアドレスとなる。ボートリクエストコードレ
ジスタ32にセットされたデータは、デコーダ35を通
ってセレクタ37を制御する。このセレクタ37はメモ
リライトコマンド36をメモリリクエストコマンドレジ
スタ39にセットし、メモリ2のメモリライトアクセス
要求として送出する。Next, the operation of the memory control device 3 shown in the figure will be explained. During inter-device communication, the information processing device 11 sets an address, a request code, and a write data communication destination code in each of the boat registers 31 to 34, respectively. The set boat address register 31 is set in the address sending register 38, and becomes the write address for write data to the memory 2. The data set in the boat request code register 32 passes through the decoder 35 and controls the selector 37. This selector 37 sets the memory write command 36 in the memory request command register 39, and sends it as a memory write access request for the memory 2.
ボートライトデータレジスタ33にセットされているデ
ータはメモリライトデータ送出レジスタ41にセットさ
れてメモリ2に書込まれる0通信先コード受付レジスタ
34にセットされている通信先コードは、通信先コード
送出レジスタ42にセットされ、セットされた通信先コ
ードは、装置間通信要求送出レジスタ40にセットされ
ている装置間通信要求及びアドレス送出レジスタ38に
セットされているアドレスと一緒に情報処理装置12に
対して送出される。The data set in the boat write data register 33 is set in the memory write data sending register 41 and written to the memory 2.0 The communication destination code set in the communication destination code reception register 34 is the communication destination code sending register. 42, and the set communication destination code is sent to the information processing device 12 together with the inter-device communication request set in the inter-device communication request sending register 40 and the address set in the address sending register 38. Sent out.
装置間通信要求を受けた情報処理装置12は、送られて
きたアドレスによりメモリをアクセスしてこのメモリ2
から装置間通信データをリードするのである。なお、図
においてはデータ読出しについては明示されていないが
、その構成は自明であるので省略している。The information processing device 12 that received the inter-device communication request accesses the memory according to the sent address and stores the memory 2.
The inter-device communication data is read from the . Although data reading is not explicitly shown in the figure, its configuration is self-evident, so it is omitted.
情報処理装置12から11へのデータ通信を行う場合に
は、情報処理袋rI112に対応して設けられた図示せ
ぬメモリ制御装置(図示したものと同−構成とする)を
用いて同様に処理される。情報処理装置が3以上の場合
にも同様に本発明は適用可能であることは明らかである
。When performing data communication from the information processing device 12 to the information processing device 11, a memory control device (not shown) provided corresponding to the information processing bag rI 112 (same configuration as shown) is used to perform similar processing. be done. It is clear that the present invention is similarly applicable to a case where there are three or more information processing apparatuses.
1匪座ヱ1
以上説明したように本発明によれば、情報処理装置間で
通信要求が発行された時に、メモリに対して要求元の情
報処理装置がら送られたアドレスにライトデータの書込
み動作を行い、通信先番地で示される情報処理装置に対
して、メモリにライトデータが書込まれていることを知
らせるための情報が入った通信先コードとアドレスを送
出することで、通信先の情報処理装置はメモリアクセス
でメモリからライトデータを読出すことにより、ライト
データの信頼性が高く、通信データ幅の広い、構造の簡
単な情報処理装置間通信を行うことができるという効果
がある。1.1 As explained above, according to the present invention, when a communication request is issued between information processing devices, write data is written to the memory at the address sent from the requesting information processing device. The communication destination code and address containing information to notify that write data has been written to the memory are sent to the information processing device indicated by the communication destination address, thereby transmitting the communication destination information. By reading the write data from the memory through memory access, the processing apparatus has the advantage that the reliability of the write data is high, the communication data width is wide, and the communication between the information processing apparatuses can be performed with a simple structure.
図は本発明の実施例のブロック図である。
主要部分の符号の説明
2・・・・・・メモリ
3・・・・・・メモリ制6iI装置
11.12・・・・・・情報処理装置
31・・・・・・ボートアドレスレジスタ32・・・・
・・ボートリクエストコードレジスタ33・・・・・・
ボートライトデータレジスタ34・・・・・・通信先コ
ード受付レジスタ35・・・・・・デコーダThe figure is a block diagram of an embodiment of the invention. Explanation of symbols of main parts 2...Memory 3...Memory system 6iI device 11.12...Information processing device 31...Boat address register 32...・・・
...Boat request code register 33...
Boat write data register 34...Communication destination code reception register 35...Decoder
Claims (1)
情報処理装置に共通に設けられたメモリを介して行うよ
うにしたデータ通信方式であって、情報処理装置間通信
時に要求元からの通信データを、前記メモリ内の同じく
要求元からの書込みアドレスへ書込む書込み手段と、通
信相手先に対して前記メモリ内の書込みアドレスを通知
する手段とを設け、この通知に応答して通信相手先は前
記書込みアドレスにアクセスして書込まれたデータを読
出すようにしたことを特徴とするデータ通信方式。(1) A data communication method in which data communication between multiple information processing devices is carried out via a memory provided in common to these information processing devices, in which data communication from a request source is performed during communication between information processing devices. Write means for writing communication data to a write address from the request source in the memory, and means for notifying the write address in the memory to the communication partner, and in response to this notification, the communication partner The data communication method is characterized in that written data is read by accessing the write address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9070688A JPH01261768A (en) | 1988-04-13 | 1988-04-13 | Data communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9070688A JPH01261768A (en) | 1988-04-13 | 1988-04-13 | Data communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01261768A true JPH01261768A (en) | 1989-10-18 |
Family
ID=14005970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9070688A Pending JPH01261768A (en) | 1988-04-13 | 1988-04-13 | Data communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01261768A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS50115732A (en) * | 1974-02-22 | 1975-09-10 | ||
JPS516625A (en) * | 1974-07-08 | 1976-01-20 | Hitachi Ltd | DEETATENSOSOCHI |
-
1988
- 1988-04-13 JP JP9070688A patent/JPH01261768A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS50115732A (en) * | 1974-02-22 | 1975-09-10 | ||
JPS516625A (en) * | 1974-07-08 | 1976-01-20 | Hitachi Ltd | DEETATENSOSOCHI |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6113629B2 (en) | ||
JPH01261768A (en) | Data communication system | |
JPS61165170A (en) | Bus control method | |
JP3078000B2 (en) | Information processing device | |
JPH01261767A (en) | Data communication system | |
JPS61233857A (en) | Data transfer equipment | |
JPS63142455A (en) | Semiconductor storage device | |
JP2929631B2 (en) | Communication device between processors | |
JP2821176B2 (en) | Information processing device | |
JP2735246B2 (en) | Test and set method | |
KR960007835B1 (en) | Common memory access device for multi-processor | |
JPS6061859A (en) | Data communication system of microcomputer | |
JPH0431939A (en) | External storage device | |
JPH0214741B2 (en) | ||
JPH03204755A (en) | Data transfer device | |
JPH01234962A (en) | Bus control system | |
JPH04177452A (en) | Information processor | |
JPH0514293B2 (en) | ||
JPH03167648A (en) | Direct memory access controller | |
JPH103463A (en) | Inter-processor communication method | |
JPH07248961A (en) | Common memory access processor | |
JPS6388644A (en) | Central processing unit | |
JPH07121483A (en) | Shared memory access control circuit | |
JPH025161A (en) | Duplicated device constitution system | |
JPH0652039A (en) | Data transfer system |