JPS626361A - Data transfer method between multiple processors - Google Patents

Data transfer method between multiple processors

Info

Publication number
JPS626361A
JPS626361A JP60144595A JP14459585A JPS626361A JP S626361 A JPS626361 A JP S626361A JP 60144595 A JP60144595 A JP 60144595A JP 14459585 A JP14459585 A JP 14459585A JP S626361 A JPS626361 A JP S626361A
Authority
JP
Japan
Prior art keywords
data
processor
area
broadcast
local
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
JP60144595A
Other languages
Japanese (ja)
Inventor
Susumu Matsui
進 松井
Kazuo Yagyu
柳生 和男
Tatsuya Yokoyama
達也 横山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60144595A priority Critical patent/JPS626361A/en
Publication of JPS626361A publication Critical patent/JPS626361A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、複数のローカル・エリア・ネットワーク(L
ocal Area Network、以下LANと略
称する)間の相互接続を複数のマイクロプロセッサを介
して行う複数プロセッサ間データ転送方式に係り、特に
各プロセッサ対応に設けられた2ポートメモリを通じて
データ転送を行う複数プロセッサ間データ転送方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a plurality of local area networks (L
LAN (local area network, hereinafter abbreviated as LAN) is connected to multiple processors via multiple microprocessors, and in particular multiple processors that transfer data through 2-port memory provided for each processor. related to inter-data transfer methods.

〔発明の背景〕[Background of the invention]

従来、LAN相互接続装置やパケットスイッチング装置
等の複数プロセッサシステムにおいては、各プロセッサ
を接続している共通バスに、各プロセッサからアクセス
可能な共通メモリを接続し、この共通メモリ内に宛先別
の受信エリアを設け、共通メモリを介してプロセッサ間
データ通信を行う方式があった。特開昭58−9794
4号公報参照。
Conventionally, in a multi-processor system such as a LAN interconnection device or a packet switching device, a common memory that can be accessed from each processor is connected to a common bus that connects each processor, and reception data for each destination is stored in this common memory. There was a method in which an area was provided and data communication between processors was performed via a common memory. Japanese Patent Publication No. 58-9794
See Publication No. 4.

しかし、このような従来方式では、−回のデータ転送に
、共通メモリへのデータの書込みと共通メモリからのデ
ータの読取りと2回、共通バスを使用する必要があると
いう問題があった。また、プロセッサ数が変化した場合
、共通メモリ内の受信エリアの数を変更する必要があり
、さらに、同報データ転送についての特別の考慮がなく
、同報データ転送には個々にデータ転送を行う必要があ
り、そのオーバヘッドはプロセッサ数に比例して太き(
なる、等の問題があった。ところが、LAN相互接続装
置を考えた場合には、(1)プロセッサがLANから同
報転送フレーム(LANの任意のステーションから他の
すべてのステーションへ送信するフレーム)を受は取っ
た場合、LAN相互接続装置内の池のすべてのプロセッ
サ間経由フレームを転送する必要がある、(2)プロセ
ッサがLANから転送フレームを受は取り、このフレー
ムの宛先LANが不明の場合(一般にフレ゛−ム内の宛
先アドレスは、ステーションアドレスか入っており、L
AN識別情報は入っていないため、宛先LANが不明の
場合がある)、このフレームをすべてのLANに転送す
るための同報データ転送機能が必要となる、という理由
で、効率の良い同報データ転送機能を持つことが必須で
ある。
However, such a conventional method has a problem in that it is necessary to use the common bus twice for data transfer twice: writing data to the common memory and reading data from the common memory. Additionally, if the number of processors changes, the number of reception areas in the common memory must be changed, and furthermore, there is no special consideration for broadcast data transfer, and individual data transfers are required for broadcast data transfer. is necessary, and its overhead increases in proportion to the number of processors (
There were problems such as. However, when considering a LAN interconnection device, (1) when a processor receives a broadcast transfer frame (a frame sent from any station on the LAN to all other stations) from the LAN, the LAN interconnection (2) When a processor receives a transfer frame from a LAN and the destination LAN of this frame is unknown (generally, if the destination LAN in the frame is The destination address contains the station address, and L
(Because it does not contain AN identification information, the destination LAN may be unknown), and a broadcast data transfer function is required to forward this frame to all LANs. It is essential to have a transfer function.

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

本発明の目的は、従来技術での上記した諸問題を解決し
、共通バスへのアクセス回数の軽減を可能とし、プロセ
ッサ数の変更および同報データ転。送を容易に可能とす
る、LAN相互接続時の処理能力を向上させた複数プロ
セッサ間データ転送方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems in the prior art, to reduce the number of accesses to a common bus, and to change the number of processors and broadcast data transfer. It is an object of the present invention to provide a data transfer method between multiple processors that allows easy data transfer and has improved processing capacity during LAN interconnection.

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

本発明は、複数プロセッサシステムとLANの類似性考
察から生れた。LANでは各ノードが独立しているため
ノードの増設は比較的容易である。
The present invention arose from consideration of the similarities between multiple processor systems and LANs. In a LAN, each node is independent, so adding nodes is relatively easy.

また、同報通信では、フレームのアドレス部に“同報”
と記しておけば各ノードが取り込んでくれる。以上のL
ANの特徴をバス結合の複数プロセッサから構成される
LAN相互接続装置に取り入れようと考えた。対象とし
ている複数プロセッサシステムは、各プロセッサが共通
バスにより接続されるという構成をとっているため、各
プロセッサと共通バスとのインタフェイス部には、プロ
セッサ間でやりとりするすべてのデータが流れることに
なる。そこで、同報データ転送には、すべてのプロセッ
サがバス上のデータを取り込めば良く、データバス上の
データを取り込むには、アドレスバス上のアドレスが自
分を示している必要があるので、各プロセッサ対応のメ
モリ番地を同一にする方式を考えた。
In addition, in broadcast communication, "broadcast" is written in the address part of the frame.
If you write this, each node will import it. More than L
The idea was to incorporate the features of AN into a LAN interconnection device consisting of a plurality of bus-coupled processors. The target multiple processor system has a configuration in which each processor is connected by a common bus, so all data exchanged between processors flows through the interface between each processor and the common bus. Become. Therefore, for broadcast data transfer, all processors need to take in the data on the bus, and in order to take in data on the data bus, the address on the address bus must indicate itself, so each processor We devised a method to make the corresponding memory addresses the same.

以上に着眼して、本発明では次のような方式を採用する
。すなわち、複数のLANを接続してLAN間データ転
送処理を行う複数のマイクロプロセッサ(以下、単にプ
ロセッサと呼ぶ)と、プロセッサの動作を規定するプロ
グラムを格納するエリア及びワークエリアを有するロー
カルメモリと、プロセッサとローカルメモリを個々に接
続するローカルバスと、このローカルバスに接続すれL
ANとのインタフェイス処理を行うインタフェイス回路
と、各プロセッサ間を相互に接続する共通バスとから構
成されるローカル・エリア・ネットワーク相互接続装置
において、共通バス及び口−カルバスの両方に接続され
両バスを通じて書込み及び読取りが行われる2ポートメ
モリを各プロセッサごとに設け、各2ポートメモリ内に
データ受信用エリアを設け、各データ受信用エリアの共
通バス上のアドレスを異ならしめ、プロセッサ間のデー
タ転送の場合、転送元プロセッサは相手プロセッサの2
ポートメモリ内のデータ受信用エリアのアドレスに共通
バスを通じてデータを書込み、転送先プロセッサはロー
カルバスを通じて2ポートメモリ内のデータ受信用エリ
アの内容を読込む方式とする。さらに、同報データ通信
のために、各2ポートメモリ内に同報データ受信用エリ
アを設け、各同報データ受信用エリアの共通バス上のア
ドレスを同じにし、あるプロセッサから他のすべてのプ
ロセッサに同報データの転送を行う場合、転送元プロセ
ッサは同報データ受信用エリアのアドレスに共通バスを
通じてデータを書込み、他の各プロセッサはローカルバ
スを通じて同報データ受信用エリアの内容を読込む方式
とする。
In view of the above, the present invention employs the following method. That is, a plurality of microprocessors (hereinafter simply referred to as processors) that connect a plurality of LANs and perform data transfer processing between the LANs, a local memory that has an area for storing programs that define the operation of the processors, and a work area; A local bus that connects the processor and local memory individually, and a
In a local area network interconnection device consisting of an interface circuit that performs interface processing with an AN and a common bus that interconnects each processor, a A 2-port memory for writing and reading through a bus is provided for each processor, a data receiving area is provided in each 2-port memory, and each data receiving area has a different address on the common bus, so that data between processors is In the case of transfer, the source processor is the 2nd processor of the destination processor.
Data is written to the address of the data reception area in the port memory through the common bus, and the transfer destination processor reads the contents of the data reception area in the two-port memory through the local bus. Furthermore, for broadcast data communication, a broadcast data reception area is provided in each 2-port memory, and each broadcast data reception area has the same address on the common bus, so that one processor can communicate with all other processors. When transferring broadcast data, the transfer source processor writes data to the address of the broadcast data reception area via the common bus, and each other processor reads the contents of the broadcast data reception area via the local bus. shall be.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面を参照して説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は実施例ブロック構成図である。本実施例装置は
、LAN対応の接続モジュールであるLANコネクショ
ンプロセッサモジュールLCP(#1〜#n)ヲコモン
バスCB(31により接続した構成をとる。各モジュー
ルLCPは、プロセッサCPU (1−a −n−a 
)、 LAN :I :/トローラLC(l−d−n−
d)、プログラム及びプログラム実行時のワークデータ
を格納するローカルメモリLM(1−c −n−c )
、他モジュールLCPとのデータ交換用エリアである2
ポ一トメモ!JCM(1−b〜n−b)、2ポートメモ
リの制御を行う2ボ一トメモリコントローラMC(l−
e〜n−e)、 システムバスとのインタフェイスを司
るバスインタフェイスユニットBI U (1−f −
n−f )から構成される。
FIG. 1 is a block diagram of an embodiment. The device of this embodiment has a configuration in which LAN connection processor modules LCP (#1 to #n), which are LAN compatible connection modules, are connected by a common bus CB (31).Each module LCP is connected to a processor CPU (1-a-n- a
), LAN:I:/Troller LC(l-d-n-
d), local memory LM (1-c-n-c) for storing programs and work data during program execution;
, 2, which is an area for data exchange with other modules LCP.
Point memo! JCM (1-b to n-b), 2-bot memory controller MC (l-
e~ne-e), bus interface unit BIU (1-f-
n-f).

第2図にコモンバスCB+31上のメモリマツプを示す
。本実施例では最大データ長を256バイトとする。コ
モンバスCB (31上のメモリマツプは、QH−QF
FHまでの同報データ受信エリア(各LCP共通)、 
(100x m)H〜((IOQ X m)H+QFF
H)のしCP#mデータ受信エリアから構成される。第
3図にLCP9mから見たメモリマツプを示す。プロセ
ッサCPU(a)からは、Q 〜2 FFFFH番地ま
では、コモンバスCB(3)上のアドレスがそのまま見
える。ただし、プロセッサCPU(a)から見た場合に
はコモンバスCB(3)上の受信エリアが送信エリアに
なる。10000 H−101FFHまではローカルバ
ス側からの2ポートメモリCM (blのアドレスにな
る。つまり、コモンバスCB(3)側からの0H−FF
H番地、 (100X m )H〜((100X m 
)H十QFFH)番地がローカルバス側からの1000
0H〜1QQFFH番地、  l0100H−101F
FH番地に相当する。
FIG. 2 shows a memory map on the common bus CB+31. In this embodiment, the maximum data length is 256 bytes. The memory map on common bus CB (31 is QH-QF)
Broadcast data reception area up to FH (common to each LCP),
(100x m)H~((IOQ x m)H+QFF
H) Consists of CP#m data reception area. FIG. 3 shows a memory map seen from the LCP 9m. From the processor CPU(a), addresses on the common bus CB(3) can be seen as they are from addresses Q to 2FFFFH. However, when viewed from the processor CPU (a), the reception area on the common bus CB (3) becomes the transmission area. Up to 10000H-101FFH is the address of 2-port memory CM (bl) from the local bus side.In other words, 0H-FF from the common bus CB(3) side
Address H, (100X m)H~((100X m
)HQFFH) Address is 1000 from the local bus side
Address 0H~1QQFFH, l0100H-101F
Corresponds to FH address.

実施例の動作を説明する。まず、LCP#1からLCP
#2ヘデータを転送する場合について述べる。
The operation of the embodiment will be explained. First, from LCP #1 to LCP
The case of transferring data to #2 will be described.

LCP @ lのプロセッサCPU(1−a’)は接続
シティるLAN1からの受信データ〔ローカルメモリL
M(1−C)内〕の宛先を調べLCP # 2宛のデー
タと認識すると、このデータをLCP#2宛データ送信
エリア(200H〜2FFH番地)に書込む。このデー
タはコモンバスCB (31を通してLCP#2ボート
メモ!J CM(2−b)内のデータ受信エリアに書込
まれる。LCP#2のプo セラ”f CPU(2a 
)は、本データをローカルバスを通して処理する(上記
データはローカルバスからは10100 H〜lQI 
FFH番地に入っていると見える)。その後、接続して
いるLAN2へデータを送り出す。
The processor CPU (1-a') of LCP @l receives data received from the connected LAN1 [local memory L
M(1-C)], and if it is recognized as data addressed to LCP #2, it writes this data to the data transmission area (addresses 200H to 2FFH) addressed to LCP #2. This data is written to the data receiving area in the LCP#2 boat memory (2-b) through the common bus CB (31).
) processes this data through the local bus (the above data is 10100H~1QI from the local bus).
(You can see it if it is at address FFH). After that, data is sent to the connected LAN2.

次の動作例として、同報データ転送について述べる。L
CP#lから他のすべてのLCPへデータ転送を行うも
のとする。LCP$lはLANIから同報データを受は
取ると本データを同報データ送信エリア(Q、FFH番
地)に書込む。このデータはコモンバスCB (31を
通して各LCPの2ポ一トメモリCM内の同報データ受
信エリアに書込まれる。各LCPは本データをローカル
バスを通して読取り(データは10000 H−100
FF番地に入っていると見える)、各LANに送信する
As the next operation example, broadcast data transfer will be described. L
It is assumed that data is transferred from CP #l to all other LCPs. When LCP$l receives broadcast data from LANI, it writes this data into the broadcast data transmission area (address Q, FFH). This data is written to the broadcast data reception area in the two-point memory CM of each LCP through the common bus CB (31).
), and sends it to each LAN.

以上の動作を実際に実行させようとする場合、以下の3
点を解決する必要がある。
If you want to actually execute the above operation, please follow the 3 steps below.
points need to be resolved.

(1)個別転送の場合、相手LCPの受信エリアの空き
をどのようにして確認するか。
(1) In the case of individual transfer, how do you check the availability of the receiving area of the other party's LCP?

(2)回報転送の場合、各LCPの同報受信工IJアの
空きをどのようにして確認するか。
(2) In the case of broadcast transfer, how to check the availability of the broadcast receiver IJ of each LCP?

(3)  同報転送の場合、複数のメモリからACK(
acknowledgement、肯定応答)が返って
くるが、どのように処理するか。
(3) In the case of broadcast transfer, ACK (
An acknowledgment (affirmative response) is returned, but how should it be processed?

以下、上記3点の一解決法を説明する。Hereinafter, one solution to the above three problems will be explained.

〈問題点lに対して〉 受信エリアにF/E (Full/Empty) 7ラ
グを設ける。第4図にF/Eフラグを設けた場合の受信
エリアを示す。受信エリアの先頭の1バイトをF/Eフ
ラグとし、2バイト目以降にデータが入るようにする。
<For problem l> Provide F/E (Full/Empty) 7 lags in the receiving area. FIG. 4 shows the reception area when the F/E flag is provided. The first byte of the reception area is set as the F/E flag, and data is entered from the second byte onward.

第5図に送信側プロセッサの送信処理の流れ図を、第6
図に受信側プロセッサの受信処理の流れ図を示す。送信
側では、まず、F/Eフラグが0(零)か否かを判別し
、0でないなら、0になるのを待つ。Oになると、受信
エリアにデータを書込んでF/Eフラグを1にする。受
信側ではF/Eビットが1に変ることで受信を知り、受
信データの処理を行う。処理終了後、F/EフラグをO
にする。
Fig. 5 shows a flowchart of the transmission processing of the sending processor, and Fig.
The figure shows a flowchart of reception processing by the receiving processor. On the transmitting side, first, it is determined whether the F/E flag is 0 (zero) or not, and if it is not 0, it waits for it to become 0. When it becomes O, data is written to the receiving area and the F/E flag is set to 1. The receiving side recognizes reception when the F/E bit changes to 1, and processes the received data. After processing is completed, turn the F/E flag to O.
Make it.

〈問題点2に対して〉 (解決案l) 同報データ受信エリアに同報可フラグおよび同報通知カ
ウンタを設ける。第7図に同報データ送信側プロセッサ
の送信処理の流れ図を示す。送信側では、まず、同報可
フラグがOであるか否かを判別し、Oでなければ、0に
なるのを待つ。0になれば1にする。この0のチェック
と、1へのセットは、チェックアンドセットで行い、プ
ロセッサ間の競合をさける。同報可フラグを1とした後
、同報データを書込み、その後、同報カウンタをインク
リメントする。同報カウンタをインクリメントした後、
一定時間待つ。この一定時間とは、受信側が同報データ
の処理を終えるまでの時間であり、システム設計時に決
まる値である。その後、同報可フラグを0にし、他の同
報転送を可能とする。受信側では一定周期で同報カウン
タを調べ、同報カウンタ値の変化により同報データ受信
を知る。その後、受信データの処理を行う。
<Regarding Problem 2> (Solution 1) A broadcast enable flag and a broadcast notification counter are provided in the broadcast data receiving area. FIG. 7 shows a flowchart of transmission processing by the processor on the broadcast data transmission side. On the transmitting side, first, it is determined whether the multicast flag is O or not, and if it is not O, it waits for it to become zero. If it becomes 0, set it to 1. This checking of 0 and setting to 1 is performed by check and set to avoid contention between processors. After setting the broadcast enable flag to 1, broadcast data is written, and then the broadcast counter is incremented. After incrementing the broadcast counter,
Wait for a certain amount of time. This fixed time is the time it takes for the receiving side to finish processing the broadcast data, and is a value determined at the time of system design. Thereafter, the broadcast enable flag is set to 0 to enable other broadcast transfers. On the receiving side, the broadcast counter is checked at regular intervals, and the reception of broadcast data is known from the change in the broadcast counter value. After that, the received data is processed.

(解決案2) 問題点2に対しては、以下の解決方法もある。(Solution 2) There are also solutions to problem 2 as follows.

コモンバスCB(3)上にメインプロセッサを設け、ま
た各プロセッサLCPの2ポートメモリ内に同報要求フ
ラグ、同報可フラグを設ける。まず、同報データ送信元
のプロセッサは、自2ポートメモリ内の同報要求フラグ
を立てる。コモンバス上のメインプロセッサは各同報要
求フラグをサーチしており、フラグが立てばこの2ポー
トメモリ内の同報可フラグを立てる。送信元プロセッサ
は同報要求フラグを立てた後、同報可フラグをサーチし
ており、該フラグが立てば同報転送を開始する。
A main processor is provided on the common bus CB(3), and a broadcast request flag and a broadcast enable flag are provided in the 2-port memory of each processor LCP. First, the broadcast data transmission source processor sets a broadcast request flag in its own 2-port memory. The main processor on the common bus searches for each broadcast request flag, and if the flag is set, sets the broadcast enable flag in this two-port memory. After setting the broadcast request flag, the source processor searches for the broadcast enable flag, and if the flag is set, it starts broadcast transfer.

同報転送終了後一定時間経過した時点で送信元プロセッ
サは同報可フラグおよび同報要求フラグをクリアするこ
とにより、メインプロセッサに同報転送の終了を知らせ
る。もちろん、これらのフラグを、コモンバス3上に設
けたコモンメモリに置くことも可能である。
When a certain period of time has elapsed after the end of the broadcast transfer, the source processor clears the broadcast enable flag and the broadcast request flag to notify the main processor of the end of the broadcast transfer. Of course, these flags can also be placed in a common memory provided on the common bus 3.

と朋題占利r骨1.τ5 同報転送の場合、複数のメモリに対して書込みを行うた
め、メモリからのACKが複数返ってくる。それらのA
CKはバスを介して返ってくるため、最初のACKが返
ってきた時点で送信元のCPUはACKが返ったと判断
してしまいライトサイクルを終了してしまう。そこで、
同報転送の場合にはメモリからのACKではなく、一定
時間後にライトサイクルを終了することとする。この一
定時間とは、各2ポートメモリでの競合時間を考慮して
、システム設計時に決定される値である。
and the topic of the story 1. τ5 In the case of broadcast transfer, since writing is performed to multiple memories, multiple ACKs are returned from the memories. Those A
Since the CK is returned via the bus, when the first ACK is returned, the sending CPU determines that the ACK has been returned and ends the write cycle. Therefore,
In the case of broadcast transfer, the write cycle is terminated after a certain period of time rather than an ACK from the memory. This certain period of time is a value determined at the time of system design, taking into consideration the contention time in each 2-port memory.

第8図に以上のことを実現するための回路図を示す。第
8図回路は次のように動作する−まず、CPU 101
が同報エリア以外にデータを書込む場合を考える。CP
Uが書込みアドレスをAO%A、、に出力し、アドレス
ストローブASをアクティブにするとアドレスデコーダ
102がアドレスを調べる。
FIG. 8 shows a circuit diagram for realizing the above. The circuit of FIG. 8 operates as follows - first, the CPU 101
Consider the case where the data is written to a location other than the broadcast area. C.P.
When U outputs the write address to AO%A, . . . and activates the address strobe AS, the address decoder 102 examines the address.

この場合、同報エリアへの書込みではないため、アドレ
スディテクト局はアクティブにはならない。そうすると
、2つのアンドゲート104.105のうち、アンドゲ
ート105が選択されることになる。すなわち、コモン
バスから猷下が返ってくるとCPU 101のλCπ−
がアクティブとなる。次に、同報エリアへの書込みの場
合を考える。この場合には、アドレスデコーダ102が
アドレスを認識するためアドレスディテクト乃がアクテ
ィブになる。その場合はアンドゲート104が選択され
、コモンバスのACKは無視される。アドレスディチク
) ADは2つに分れ、一方はアンドゲート104に直
接入り、他方は遅延回路103に入る。遅延回路103
ではイネーブル信号■がアクティブになっているため、
一定時間経過後、入力信号を出力側に出す。これにより
、一定時間後CPU 101のACKがアクティブとな
る。なお、遅延回路103はイネーブル信号ENがイン
アクティブになると遅延動作は行わず、入力を即時に出
力側に出す。
In this case, since writing is not to a broadcast area, the address detect station does not become active. Then, the AND gate 105 is selected from the two AND gates 104 and 105. In other words, when Ishita returns from the common bus, the CPU 101's λCπ-
becomes active. Next, consider the case of writing to the broadcast area. In this case, address detect becomes active because the address decoder 102 recognizes the address. In that case, the AND gate 104 is selected and the common bus ACK is ignored. AD is divided into two parts, one directly entering the AND gate 104 and the other entering the delay circuit 103. Delay circuit 103
In this case, the enable signal ■ is active, so
After a certain period of time, the input signal is sent to the output side. As a result, the ACK of the CPU 101 becomes active after a certain period of time. Note that when the enable signal EN becomes inactive, the delay circuit 103 does not perform a delay operation and immediately outputs the input to the output side.

第9図に、同報エリアへの書込みの場合の各部信号のタ
イムチャートを示す。ASがアクティブになると各メモ
リからの心がアクティブになるが、ADがアクティブで
あるため無視される。
FIG. 9 shows a time chart of various signals in the case of writing to the broadcast area. When AS becomes active, the minds from each memory become active, but are ignored because AD is active.

ADがアクティブになった時刻から一定時間後遅延回路
の動作によりCPU側の厩がアクティブになる。これに
より、ASがインアクティブになり、次に各ACK、 
、AD、 CPU側のACKが順次、インアクティブに
なる。次いで、R/Wがリード側になりライトサイクル
を終了する。
After a certain period of time from the time when AD becomes active, the CPU side becomes active due to the operation of the delay circuit. This makes the AS inactive and then each ACK,
, AD, ACK on the CPU side becomes inactive one after another. Next, the R/W becomes the read side and ends the write cycle.

以上、3つの問題点それぞれに対する解決法を説明した
So far, solutions to each of the three problems have been explained.

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

本発明によれば、(1)プロセッサ間のデータ報道にお
ける共通バスの使用が一度で済みデータ転送時間が約半
分になる、(2)プロセッサ数の増減が容易に行える、
(3)オーバヘッドを増加させることなく一度に複数の
相手にデータを転送できるので柔軟で処理能力の高いL
AN相互接続装置を構築できる、という効果がある。
According to the present invention, (1) the common bus is only used once for data transmission between processors, which reduces data transfer time by about half; (2) the number of processors can be easily increased or decreased;
(3) L is flexible and has high processing power because data can be transferred to multiple parties at once without increasing overhead.
This has the effect that an AN interconnection device can be constructed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
実施例におけるコモンバス上のメモリマツプ、第3図は
同じ(CPUから見たメモリマツプ、第4図は実施例の
受信エリアの構成図、第5図は実施例の個別通信におけ
る送信処理の流れ図、第6図は同じく受信処理の流れ図
、第7図は実施例の同報通信における送信処理の流れ図
、第8図は実施例のACK回路図、第9図は第8図の各
部信号のタイムチャートである。 く符号の説明〉 LAN・・・ローカル・エリア・ネットワークCB +
31・・・コモンバス LCP 、・・LANコネクションプロセッサCPU・
・・プロセッサ LC・・・LANコントローラ LM・・・ローカルメモリ CM・・・2ポートメモリ BIU・・・バスインタフェイスユニット101・・・
CPU 102・・・アドレスデコーダ 103・・・遅延回路
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a memory map on the common bus in the embodiment, Fig. 3 is the same memory map (as seen from the CPU), and Fig. 4 is the configuration of the reception area of the embodiment. 5 is a flowchart of transmission processing in individual communication of the embodiment, FIG. 6 is a flowchart of reception processing, FIG. 7 is a flowchart of transmission processing in broadcast communication of the embodiment, and FIG. 8 is a flowchart of transmission processing in broadcast communication of the embodiment. ACK circuit diagram, Figure 9 is a time chart of each part signal in Figure 8. Explanation of symbols> LAN...Local area network CB +
31...Common bus LCP,...LAN connection processor CPU.
... Processor LC ... LAN controller LM ... Local memory CM ... 2-port memory BIU ... Bus interface unit 101 ...
CPU 102...address decoder 103...delay circuit

Claims (2)

【特許請求の範囲】[Claims] (1)複数のローカル・エリア・ネットワークを接続し
てローカル・エリア・ネットワーク間データ転送処理を
行う複数のマイクロプロセッサと、上記プロセッサの動
作を規定するプログラムを格納するエリア及びワークエ
リアを有するローカルメモリと、上記プロセッサとロー
カルメモリを個個に接続するローカルバスと、このロー
カルバスに接続され上記ローカル・エリア・ネットワー
クとのインタフェイス処理を行うインタフェイス回路と
、上記プロセッサ間を相互に接続する共通バスとから構
成されるローカル・エリア・ネットワーク相互接続装置
において、共通バス及びローカルバスの両方に接続され
両バスを通じて書込み及び読取りが行われる2ポートメ
モリを各プロセッサごとに設け、各2ポートメモリ内に
データ受信用エリアを設け、各データ受信用エリアの共
通バス上のアドレスを異ならしめ、プロセッサ間のデー
タ転送の場合、転送元プロセッサは相手プロセッサの2
ポートメモリ内のデータ受信用エリアのアドレスに共通
バスを通じてデータを書込み、転送先プロセッサはロー
カルバスを通じて2ポートメモリ内のデータ受信用エリ
アの内容を読込むことにより、2ポートメモリ経由でデ
ータ転送を行うことを特徴とする複数プロセッサ間デー
タ転送方式。
(1) Multiple microprocessors that connect multiple local area networks and perform data transfer processing between the local area networks, and a local memory that has an area for storing programs that define the operations of the processors and a work area. , a local bus that individually connects the processors and local memories, an interface circuit that is connected to the local bus and performs interface processing with the local area network, and a common bus that interconnects the processors. In a local area network interconnection device consisting of a bus and A data receiving area is provided in the data receiving area, and each data receiving area has a different address on the common bus.In the case of data transfer between processors, the transfer source processor is connected to the other processor's 2nd address.
Data is written to the address of the data reception area in the port memory through the common bus, and the transfer destination processor reads the contents of the data reception area in the 2-port memory through the local bus, thereby transferring data via the 2-port memory. A method for transferring data between multiple processors.
(2)前記各2ポートメモリ内に同報データ受信用エリ
アを設け、各同報データ受信用エリアの共通バス上のア
ドレスを同じにし、あるプロセッサから他のすべてのプ
ロセッサに同報データの転送を行う場合、転送元プロセ
ッサは同報データ受信用エリアのアドレスに共通バスを
通じてデータを書込み、他の各プロセッサはローカルバ
スを通じて同報データ受信用エリアの内容を読込むこと
により、2ポートメモリ経由で同報データ転送を行うこ
とを特徴とする特許請求の範囲第1項記載の複数プロセ
ッサ間データ転送方式。
(2) A broadcast data reception area is provided in each of the two-port memories, and the address on the common bus for each broadcast data reception area is the same, so that broadcast data is transferred from one processor to all other processors. When performing this, the transfer source processor writes data to the address of the broadcast data reception area through the common bus, and each other processor reads the contents of the broadcast data reception area through the local bus, and writes the data to the address of the broadcast data reception area via the 2-port memory. 2. A data transfer system between multiple processors according to claim 1, wherein the multi-processor data transfer is carried out in a multi-processor system.
JP60144595A 1985-07-03 1985-07-03 Data transfer method between multiple processors Pending JPS626361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60144595A JPS626361A (en) 1985-07-03 1985-07-03 Data transfer method between multiple processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60144595A JPS626361A (en) 1985-07-03 1985-07-03 Data transfer method between multiple processors

Publications (1)

Publication Number Publication Date
JPS626361A true JPS626361A (en) 1987-01-13

Family

ID=15365714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60144595A Pending JPS626361A (en) 1985-07-03 1985-07-03 Data transfer method between multiple processors

Country Status (1)

Country Link
JP (1) JPS626361A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255760A (en) * 1987-04-14 1988-10-24 Mitsubishi Electric Corp Control system
JP2010198520A (en) * 2009-02-27 2010-09-09 Hitachi Ltd Controller communication method and controller communication apparatus
JP2021002279A (en) * 2019-06-24 2021-01-07 株式会社日立産機システム Control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255760A (en) * 1987-04-14 1988-10-24 Mitsubishi Electric Corp Control system
JP2010198520A (en) * 2009-02-27 2010-09-09 Hitachi Ltd Controller communication method and controller communication apparatus
JP2021002279A (en) * 2019-06-24 2021-01-07 株式会社日立産機システム Control system

Similar Documents

Publication Publication Date Title
US4719621A (en) Packet fastbus
EP0486167A2 (en) Multiple computer system with combiner/memory interconnection system
JPS626361A (en) Data transfer method between multiple processors
JPS61165170A (en) Bus controlling system
JPS61217858A (en) Data transmitting device
JP2546901B2 (en) Communication control device
JPH07271654A (en) controller
JP2929631B2 (en) Communication device between processors
US20220100633A1 (en) System for controlling data flow between multiple processors
JPS59140552A (en) Communication system between computers
KR100198802B1 (en) How to control message transmission through accentnet between nodes
JPS6174442A (en) Data buffer system of still picture reception terminal device
JP2610971B2 (en) Direct memory access method between central processing units
JPS6347867A (en) Inter-dual cpu communication system
JPH03769Y2 (en)
JPS6217879Y2 (en)
JP2002091934A (en) Data transmission system using dual port memory, and dual port memory
JPS6278639A (en) Memory access system
JPH02133856A (en) Data transfer device
JP2004054419A (en) Inter-node transaction processor
JPS60260249A (en) System and apparatus for controlling data communication
JPH036766A (en) Multi-address communication system in multi-processor
JPS61288261A (en) Multiprocessor system
JPH0521377B2 (en)
JPS6379161A (en) semiconductor storage device