JPH08202672A - Decentralized multiprocessing system - Google Patents

Decentralized multiprocessing system

Info

Publication number
JPH08202672A
JPH08202672A JP7008525A JP852595A JPH08202672A JP H08202672 A JPH08202672 A JP H08202672A JP 7008525 A JP7008525 A JP 7008525A JP 852595 A JP852595 A JP 852595A JP H08202672 A JPH08202672 A JP H08202672A
Authority
JP
Japan
Prior art keywords
unit
data
port memory
bus
slave
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
JP7008525A
Other languages
Japanese (ja)
Inventor
昌之 ▲片▼岡
Masayuki Kataoka
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP7008525A priority Critical patent/JPH08202672A/en
Publication of JPH08202672A publication Critical patent/JPH08202672A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To decrease the frequency of copying of common data without increasing the load on the CPU of a master unit by writing data from the main bus side of the dual-port memory of a slave unit only by the master unit and reading out data only from the local bus side. CONSTITUTION: The master unit 2M and plural slave units 2S are connected thorugh a VME standard bus 1, and the 2-port memories 4 on the units 2M and 2S have common memory areas where the common data are stored. The addresses of the 2-port memory 4 on the slave units 2S on the side of the VME standard bus 1 are equally set among the slave units 2S. Data are written to the 2-port memories 4 from the side of the VME standard bus 1 only by the master unit 2M and read out only from the side of the local bus 3. Consequently, the traffic on the main bus is prevented from increasing and the throughput can be improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メインバスを介して接
続された複数のプロセッサユニットにて分散処理を行う
分散型マルチプロセッシングシステムに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed multi-processing system in which a plurality of processor units connected via a main bus carry out distributed processing.

【0002】[0002]

【従来の技術】近年、ビル、工場、道路、電力、水処理
など各種プラントにおいて、プラントの運用・維持・管
理を効率的に行うために、受配電設備、照明、防災設備
などの各種設備機器が遠方監視制御システムによって集
中的に監視制御されるようになっている。
2. Description of the Related Art In recent years, in various plants such as buildings, factories, roads, electric power, and water treatment, in order to efficiently operate, maintain, and manage the plant, various equipment such as power receiving and distribution equipment, lighting, and disaster prevention equipment. Is centrally monitored and controlled by a remote monitoring and control system.

【0003】上記遠方監視制御システムは、基本的に
は、監視制御対象の設備機器と直接的に接続されて該設
備機器から監視情報(表示・計測情報)を入力して制御
局(親局)へ送信すると共に制御局から受信した各種制
御情報に基づいて該設備機器を制御する被制御局(子
局)と、被制御局を介して設備機器の遠隔制御や監視を
行う制御局との両局を、光ケーブル等の通信回線で接続
した構成である。この遠方監視制御システムの中心とな
る制御局は、伝送通信機能、グラフィックパネルやCR
Tディスプレイとの結合機能をはじめとして多種多様な
機能を有する。対象設備の大規模化、制御機能の高度化
が進む今日においては、シングルプロセッサ方式ではデ
ータ処理の複雑化を招くことから、特に制御局におい
て、複数のプロセッサに処理負担を分担させる分散型マ
ルチプロセッシングシステムが採用されることが多くな
っている。
The remote monitoring control system is basically connected directly to the equipment to be monitored and controlled, and inputs monitoring information (display / measurement information) from the equipment to the control station (master station). Both a controlled station (slave station) that controls the equipment on the basis of various control information received from the control station and a control station that remotely controls and monitors the equipment via the controlled station. This is a configuration in which stations are connected by a communication line such as an optical cable. The central control station of this remote monitoring and control system is the transmission communication function, graphic panel and CR.
It has a wide variety of functions, including a function to combine with a T display. In today's world where the scale of target equipment and the sophistication of control functions are increasing, the data processing becomes more complicated with the single-processor method.Therefore, in the control station, distributed multi-processing that allows multiple processors to share the processing load. Systems are increasingly being adopted.

【0004】また、上記遠方監視制御システムのみなら
ず、今日では、その他様々な情報処理分野において分散
型マルチプロセッシングシステムが用いられている。
In addition to the remote monitoring control system described above, a distributed multi-processing system is now used in various other information processing fields.

【0005】上記分散型マルチプロセッシングシステム
の基本構成を、図4に示す。このシステムのメインバス
としては、通常、マルチプロセッシングシステムを構築
可能なVME規格バス51が使用される。そして、この
VME規格バス51を介して複数のプロセッサユニット
52…が相互接続されている。各プロセッサユニット5
2は、例えば、監視処理、通信処理、自動制御処理等の
各種処理を分担して受け持っている。これらのプロセッ
サユニット52…の中の1つがマスターユニット(参照
符号52Mを付記する)で、その他がスレーブユニット
(参照符号52Sを付記する)となる。
FIG. 4 shows the basic configuration of the distributed multi-processing system. A VME standard bus 51 capable of constructing a multi-processing system is usually used as the main bus of this system. A plurality of processor units 52 ... Are interconnected via the VME standard bus 51. Each processor unit 5
2 is responsible for various processes such as monitoring process, communication process, and automatic control process. One of these processor units 52 ... Is a master unit (reference numeral 52M is added), and the other is a slave unit (reference numeral 52S is added).

【0006】上記の各プロセッサユニット52は、上記
VME規格バス51側とローカルバス53側との両方向
からアクセス可能なデュアルポートメモリ(以下、2ポ
ートメモリと称する)54と、CPU(Central Proces
sing Unit)55とを備えている。各プロセッサユニット
52のCPU55は、自己の2ポートメモリ54をアク
セスするときはローカルバス53を、そして、他ユニッ
トの2ポートメモリ54をアクセスするときはVME規
格バス51を用いる。
Each of the processor units 52 has a dual port memory (hereinafter referred to as a 2-port memory) 54 which is accessible from both the VME standard bus 51 side and the local bus 53 side, and a CPU (Central Process).
sing unit) 55. The CPU 55 of each processor unit 52 uses the local bus 53 when accessing its own 2-port memory 54, and uses the VME standard bus 51 when accessing the 2-port memory 54 of another unit.

【0007】遠方監視制御システムの制御局を上記の分
散型マルチプロセッシングシステムとして構成する場
合、各プロセッサユニット52…のCPU55がシステ
ム内の入出力情報(以下、I/O情報と称する)をリア
ルタイムで把握する必要がある。例えば、あるプロセッ
サユニット52が監視処理だけを行い、またある他のプ
ロセッサユニット52が自動制御を行う場合にも、何れ
のユニット52も同一のI/O情報に基づいて、各自の
処理をリアルタイムでおこなっている。すなわち、上記
のI/O情報は各プロセッサユニット52において共通
で用いられる共有データであり、したがって、各ユニッ
ト52の2ポートメモリ54の共有メモリ領域には、常
時、同じ共有データが格納されていなければならない。
When the control station of the remote monitoring control system is configured as the above distributed multi-processing system, the CPU 55 of each processor unit 52 ... Real-time inputs / outputs information (hereinafter referred to as I / O information) in the system. Need to figure out. For example, when a certain processor unit 52 performs only a monitoring process and another certain processor unit 52 performs automatic control, each unit 52 performs its own process in real time based on the same I / O information. It is done. That is, the above-mentioned I / O information is shared data that is commonly used in each processor unit 52. Therefore, the same shared data must always be stored in the shared memory area of the 2-port memory 54 of each unit 52. I have to.

【0008】例えば、図示しないインターフェース部を
介してシステムのVME規格バス51に入力された共有
データは、マスターユニット52Mに取り込まれ、該ユ
ニット52MのCPU55がローカルバス53を介して
2ポートメモリ54の共有メモリ領域にそのデータを書
き込むようになっている。このようにマスターユニット
52Mにて共有データが更新された場合、直ちに、該マ
スターユニット52Mの共有メモリ領域の記憶データ
が、スレーブユニット52Sの2ポートメモリ54の共
有メモリ領域にコピーされることになる。
For example, the shared data input to the VME standard bus 51 of the system via an interface section (not shown) is taken into the master unit 52M, and the CPU 55 of the unit 52M stores the 2-port memory 54 via the local bus 53. The data is written in the shared memory area. When the shared data is updated in the master unit 52M in this way, the stored data in the shared memory area of the master unit 52M is immediately copied to the shared memory area of the 2-port memory 54 of the slave unit 52S. .

【0009】マスターユニット52Mにて共有データが
更新された後におけるスレーブユニット52Sの共有デ
ータの更新方式としては、従来、次の2つがある。
Conventionally, there are the following two methods for updating the shared data of the slave unit 52S after the shared data is updated by the master unit 52M.

【0010】図5に示すように、マスターユニット5
2MのCPU55が、VME規格バス51を介して各ス
レーブユニット52Sの2ポートメモリ54をアクセス
してデータ更新する。
As shown in FIG. 5, the master unit 5
The 2M CPU 55 accesses the 2-port memory 54 of each slave unit 52S via the VME standard bus 51 to update the data.

【0011】図6に示すように、マスターユニット5
2Mにて共有データの更新が行われたとき、該マスター
ユニット52MのCPU55が各スレーブユニット52
SのCPU55に対して共有データの更新の指示を出
し、各スレーブユニット52SのCPU55が、VME
規格バス51を介してマスターユニット52Mの2ポー
トメモリ54をアクセスして共有データを読み出し、各
自の2ポートメモリ54の共有データを更新する。
As shown in FIG. 6, the master unit 5
When the shared data is updated in 2M, the CPU 55 of the master unit 52M causes the slave units 52M to
An instruction to update the shared data is issued to the CPU 55 of S, and the CPU 55 of each slave unit 52S makes the VME
The 2-port memory 54 of the master unit 52M is accessed through the standard bus 51 to read the shared data, and the shared data in the 2-port memory 54 of each one is updated.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上記従
来のの方式では、マスターユニット52MのCPU5
5が各スレーブユニット52S毎に記憶データの更新を
行わなければならず、スレーブユニット52Sの数に比
例して該マスターユニット52MのCPU55の負担が
増加し、また、共有データのコピーがスレーブユニット
52Sの数だけ行われるのでその数に比例してVME規
格バス51のトラフィックが増大するという問題があ
る。
However, in the above-mentioned conventional method, the CPU 5 of the master unit 52M is
5 has to update the stored data for each slave unit 52S, the load of the CPU 55 of the master unit 52M increases in proportion to the number of slave units 52S, and the copying of the shared data is performed by the slave unit 52S. Therefore, there is a problem in that the traffic of the VME standard bus 51 increases in proportion to the number of times.

【0013】また、上記従来のの方式では、上記の
方式に比べるとマスターユニット52Mの負担が軽減さ
れるものの、共有データのコピーがスレーブユニット5
2Sの数だけ行われるので、スレーブユニット52Sの
数に比例してVME規格バス51のトラフィックが増大
するという問題は解消されない。
Further, in the above-mentioned conventional method, although the load on the master unit 52M is reduced as compared with the above-mentioned method, copying of shared data is performed by the slave unit 5.
Since it is performed by the number of 2S, the problem that the traffic of the VME standard bus 51 increases in proportion to the number of the slave units 52S cannot be solved.

【0014】本発明は、上記に鑑みなされたものであ
り、その目的は、マスターユニットのCPUの負担を増
加させることなく共有データのコピーの回数を削減し、
メインバスにおけるトラフィックの増大を防ぎ、処理能
力の向上が図れる分散型マルチプロセッシングシステム
を提供することにある。
The present invention has been made in view of the above, and an object thereof is to reduce the number of times shared data is copied without increasing the load on the CPU of the master unit,
It is an object of the present invention to provide a distributed multi-processing system capable of preventing an increase in traffic on the main bus and improving the processing capacity.

【0015】[0015]

【課題を解決するための手段】本発明に係る分散型マル
チプロセッシングシステムは、中央演算処理装置と、該
中央演算処理装置とはローカルバスで接続されてメイン
バス側とローカルバス側との両方向からアクセス可能な
デュアルポートメモリとを備えているプロセッサユニッ
トが、メインバスを介して3つ以上接続され、上記の各
プロセッサユニットのデュアルポートメモリは、各プロ
セッサユニットに共通で用いられる共有データを格納す
る共有メモリ領域を有し、上記3つ以上のプロセッサユ
ニットの中の特定の1つが、該システム内に入力された
共有データを直接的に取り込んで共有データを更新する
マスターユニットであり、その他が該マスターユニット
の記憶データと同じになるように共有データを更新する
ものであって、上記の課題を解決するために、以下の手
段が講じられていることを特徴としている。
DISCLOSURE OF THE INVENTION A distributed multiprocessing system according to the present invention includes a central processing unit, and the central processing unit is connected by a local bus from both directions of a main bus side and a local bus side. Three or more processor units each having an accessible dual port memory are connected via a main bus, and the dual port memory of each processor unit stores shared data commonly used by each processor unit. A specific one of the three or more processor units having a shared memory area is a master unit that directly takes in the shared data input into the system and updates the shared data, and the other is the master unit. The shared data is updated so that it is the same as the data stored in the master unit. To solve the problems, it is characterized in that the following means are taken.

【0016】すなわち、上記スレーブユニットのデュア
ルポートメモリにおけるメインバス側の共有メモリ領域
のアドレスが、どのスレーブユニットも同一に設定され
ており、各スレーブユニットのデュアルポートメモリの
メインバス側からのデータ書き込みはマスターユニット
のみによって行われ、各スレーブユニットのデュアルポ
ートメモリからのデータの読み出しはローカルバス側か
らのみ行われるように構成されている。
That is, the address of the shared memory area on the main bus side in the dual port memory of the slave unit is set to be the same for all slave units, and the data writing from the main bus side of the dual port memory of each slave unit is performed. Is performed only by the master unit, and data is read from the dual port memory of each slave unit only from the local bus side.

【0017】[0017]

【作用】上記の構成によれば、1つのマスターユニット
と2つ以上のスレーブユニットとがメインバスを介して
接続されており、各ユニット上のデュアルポートメモリ
には、各ユニットに共通で用いられる共有データを格納
する共有メモリ領域が形成されている。そして、スレー
ブユニット上のデュアルポートメモリにおけるメインバ
ス側の共有メモリ領域のアドレスが、どのスレーブユニ
ットも同一に設定され、該デュアルポートメモリに対す
る書き込みと読み出しの方向が固定されている。すなわ
ち、各スレーブユニットのデュアルポートメモリのメイ
ンバス側からのデータ書き込みはマスターユニットのみ
によって行われ、各スレーブユニットのデュアルポート
メモリからのデータの読み出しはローカルバス側からの
み行われる。
According to the above construction, one master unit and two or more slave units are connected via the main bus, and the dual port memory on each unit is commonly used by each unit. A shared memory area for storing shared data is formed. The address of the shared memory area on the main bus side in the dual port memory on the slave unit is set to be the same for all slave units, and the writing and reading directions for the dual port memory are fixed. That is, data writing from the main bus side of the dual port memory of each slave unit is performed only by the master unit, and data reading from the dual port memory of each slave unit is performed only from the local bus side.

【0018】これにより、マスターユニットからの一度
の書き込み動作で、全てのスレーブユニット上のデュア
ルポートメモリの共有データを更新することができ、ス
レーブユニットの数が多くなっても、マスターユニット
の負担およびメインバスのトラフィックの増大は生じな
い。
As a result, the shared data of the dual port memories on all the slave units can be updated by a single write operation from the master unit, and even if the number of slave units increases, the load on the master unit and There is no increase in main bus traffic.

【0019】[0019]

【実施例】本発明の一実施例について図1ないし図3に
基づいて説明すれば、以下の通りである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following will describe one embodiment of the present invention with reference to FIGS.

【0020】本実施例に係る分散型マルチプロセッシン
グシステムの基本構成は、図2に示すように、メインバ
スとしてのVME規格バス1を介して複数のプロセッサ
ユニット2…が相互接続されている構成である。
As shown in FIG. 2, the basic configuration of the distributed multiprocessing system according to this embodiment is such that a plurality of processor units 2 ... Are interconnected via a VME standard bus 1 as a main bus. is there.

【0021】上記の各プロセッサユニット2は、上記V
ME規格バス1側とVMX規格バス等のローカルバス3
側との両方向からアクセス可能な2ポートメモリ4と、
該2ポートメモリ4とはローカルバス3を介して接続さ
れているCPU(中央演算処理装置)5とを備えてい
る。各プロセッサユニット2のCPU5は、自己の2ポ
ートメモリ4をアクセスするときはローカルバス3を、
そして、他ユニットの2ポートメモリ4をアクセスする
ときはVME規格バス1を用いる。
Each of the above processor units 2 has the V
ME standard bus 1 side and local bus 3 such as VMX standard bus
2-port memory 4 accessible from both sides
The 2-port memory 4 is provided with a CPU (central processing unit) 5 connected via a local bus 3. The CPU 5 of each processor unit 2 uses the local bus 3 when accessing its own 2-port memory 4.
When accessing the 2-port memory 4 of another unit, the VME standard bus 1 is used.

【0022】上記の各プロセッサユニット2の2ポート
メモリ4には、各プロセッサユニット2に共通で用いら
れる共有データを格納する共有メモリ領域がそれぞれ形
成されている。
In the 2-port memory 4 of each processor unit 2 described above, a shared memory area for storing shared data commonly used by each processor unit 2 is formed.

【0023】上記のプロセッサユニット2…の中の1つ
がマスターユニット(参照符号2Mを付記する)、その
他がスレーブユニット(参照符号2Sを付記する)であ
り、図示しない他装置、他ユニットからインターフェー
ス部(以下、I/F部と称する)6を介して本システム
内のVME規格バス1へ入力された共有データは、先
ず、マスターユニット2Mに取り込まれ、該マスターユ
ニット2MのCPU5が自己の2ポートメモリ4の共有
データを更新すると共に、各スレーブユニット2Sの2
ポートメモリ4の共有データを自己と同じ様に更新させ
るようになっている。この共有データの更新に関する詳
細は後述する。
One of the processor units 2 ... Is a master unit (denoted by reference numeral 2M), and the other is a slave unit (denoted by reference numeral 2S). The shared data input to the VME standard bus 1 in this system via (hereinafter, referred to as I / F unit) 6 is first taken into the master unit 2M, and the CPU 5 of the master unit 2M uses its own two ports. The shared data in the memory 4 is updated, and the slave unit 2S
The shared data of the port memory 4 is updated in the same way as the self. Details of updating the shared data will be described later.

【0024】VME規格バス1の規格に従えば、各プロ
セッサユニット2の2ポートメモリ4のVME規格バス
1側のアドレスは相互に異なっていなければいけないは
ずであるが、本実施例では、全てのスレーブユニット2
Sの2ポートメモリ4のVME規格バス1側のアドレス
(共有メモリ領域のアドレス)が同一に設定されてい
る。
According to the standard of the VME standard bus 1, the addresses on the VME standard bus 1 side of the 2-port memory 4 of each processor unit 2 must be different from each other, but in this embodiment, all addresses are required. Slave unit 2
The addresses (addresses of the shared memory area) on the VME standard bus 1 side of the S 2-port memory 4 are set to be the same.

【0025】そして、図1に示すように、各スレーブユ
ニット2Sの2ポートメモリ4のVME規格バス1側か
らのデータ書き込みは、マスターユニット2MのCPU
5のみによって行われ(その他のユニットからのVME
規格バス1を介したデータ書き込みは禁止)、各スレー
ブユニット2Sの2ポートメモリ4からのデータの読み
出しは、ローカルバス3側からのみ行われる構成となっ
ている。
Then, as shown in FIG. 1, data writing from the VME standard bus 1 side of the 2-port memory 4 of each slave unit 2S is performed by the CPU of the master unit 2M.
5 only (VME from other units
(Data writing via the standard bus 1 is prohibited), and data is read from the 2-port memory 4 of each slave unit 2S only from the local bus 3 side.

【0026】上記の構成において、分散型マルチプロセ
ッシングシステムにおける共有データの更新動作を以下
に説明する。
The operation of updating shared data in the distributed multi-processing system having the above configuration will be described below.

【0027】他装置、他ユニットからI/F部6を介し
て本システム内のVME規格バス1へ共有データが入力
される場合、該共有データは全てマスターユニット2M
のCPU5に取り込まれる。マスターユニット2MのC
PU5は、VME規格バス1を介して共有データが入力
された場合、先ず、ローカルバス3を介して自己の2ポ
ートメモリ4の共有メモリ領域の必要なアドレスにデー
タを書き込み、自己の共有データの更新を行う。
When shared data is input to the VME standard bus 1 in this system from another device or unit through the I / F unit 6, the shared data is all master unit 2M.
Is taken into the CPU 5. Master unit 2M C
When the shared data is input via the VME standard bus 1, the PU 5 first writes the data to the required address in the shared memory area of its own 2-port memory 4 via the local bus 3 to write its own shared data. Update.

【0028】次に、上記マスターユニット2MのCPU
5は、VME規格バス1を介して、各スレーブユニット
2Sの2ポートメモリ4の共有メモリ領域の所定アドレ
ス(上記で更新したアドレスと対応するアドレス)に同
時にデータを書き込み、一度のデータ書き込みで全ての
スレーブユニット2Sの共有データを更新させる。これ
を、VME規格バス1の各信号を示す図3のタイミング
チャートを参照しながら、次により詳しく説明する。
Next, the CPU of the master unit 2M
Numeral 5 simultaneously writes data to a predetermined address (address corresponding to the address updated above) of the shared memory area of the 2-port memory 4 of each slave unit 2S via the VME standard bus 1, and all data is written once. The shared data of the slave unit 2S is updated. This will be described in more detail below with reference to the timing chart of FIG. 3 showing each signal of the VME standard bus 1.

【0029】上記マスターユニット2MのCPU5は、
先ず、VME規格バス1のアドレスバスに、全てのスレ
ーブユニット2Sの2ポートメモリ4に対して共通に設
定されている所定のアドレスを出力した後、アドレス・
ストローブ(AS*)を立ち下げて(HレベルからLレ
ベルに反転して)上記のアドレスを有効にする。次に、
マスターユニット2MのCPU5は、VME規格バス1
のデータバスに書き込みデータを出力した後、データ・
ストローブ(DS*)を立ち下げて上記のデータを有効
にする。さらに、マスターユニット2MのCPU5は、
VME規格バス1のコントロールバスにおける書き込み
信号(WRITE*)を立ち下げる。これにより、デー
タバス上のデータが、各スレーブユニット2Sの2ポー
トメモリ4の指定されたアドレスに書き込まれる。
The CPU 5 of the master unit 2M is
First, after outputting a predetermined address that is set in common to the 2-port memories 4 of all slave units 2S to the address bus of the VME standard bus 1, the address
The strobe (AS *) is lowered (inverted from H level to L level) to enable the above address. next,
The CPU 5 of the master unit 2M is the VME standard bus 1
After the write data is output to the data bus of
The strobe (DS *) is lowered to make the above data valid. Furthermore, the CPU 5 of the master unit 2M
The write signal (WRITE *) on the control bus of the VME standard bus 1 falls. As a result, the data on the data bus is written to the designated address of the 2-port memory 4 of each slave unit 2S.

【0030】スレーブユニット2Sの2ポートメモリ4
にて書き込みが終了すれば、DTACK信号(DTAC
K*)がLレベルとなり、これによってマスターユニッ
ト2MのCPU5がスレーブユニット2Sにおける書き
込みの完了を認識できるが、本実施例のように同時に複
数のスレーブユニット2Sの2ポートメモリ4にて書き
込みが行われた場合、一番応答の早かったスレーブユニ
ット2SのタイミングでDTACK信号が立ち下がり、
他のスレーブユニット2SのDTACK信号出力はかく
れてしまう(図3中に点線で示す)。各スレーブユニッ
ト2Sの2ポートメモリ4が同時に書き込みを行うとい
っても、各2ポートメモリ4の状態(例えば、ローカル
バス3側で使用されている場合等も考えられる)によっ
て応答に若干の時間的なズレが生じるのは避けられな
い。そこで、各スレーブユニット2Sは、書き込み完了
後に直ちにDTACK信号を出力するのではなく、他の
スレーブユニット2Sの2ポートメモリ4における応答
の遅れを見込んで、通常よりも若干DTACK信号の出
力タイミングを遅らせるような設計がなされている。こ
のようにマージンをとることによって、全ての2ポート
メモリ4の書き込み動作が完了した後に、一番応答の早
かったスレーブユニット2SからDTACK信号が出力
されることになる。
2-port memory 4 of slave unit 2S
When the writing is completed at, the DTACK signal (DTAC
K *) becomes L level, which allows the CPU 5 of the master unit 2M to recognize the completion of writing in the slave unit 2S. However, as in the present embodiment, writing is simultaneously performed in the 2-port memory 4 of a plurality of slave units 2S. If the slave unit 2S, which has the fastest response, falls, the DTACK signal falls,
The DTACK signal output of the other slave unit 2S is hidden (shown by the dotted line in FIG. 3). Even though the two-port memories 4 of the slave units 2S simultaneously write, depending on the state of the two-port memories 4 (for example, it may be used on the local bus 3 side, etc.), it may take some time to respond. It is unavoidable that there will be a gap. Therefore, each slave unit 2S does not output the DTACK signal immediately after the writing is completed, but delays the output timing of the DTACK signal slightly than usual in consideration of the delay of the response in the 2-port memory 4 of the other slave unit 2S. It is designed like this. By taking a margin in this way, the DTACK signal is output from the slave unit 2S, which has the fastest response, after the write operation of all the 2-port memories 4 is completed.

【0031】マスターユニット2MのCPU5は、DT
ACK信号の立ち下がりを検出したら、データ・ストロ
ーブ(DS*)を立ち上げ、データバスへのデータの出
力を停止し、アドレス・ストローブ(AS*)を立ち上
げ、アドレスバスへのアドレスの出力を停止し、書き込
み信号(WRITE*)を立ち上げる。
The CPU 5 of the master unit 2M is the DT
When the falling edge of the ACK signal is detected, the data strobe (DS *) is raised, the data output to the data bus is stopped, the address strobe (AS *) is raised, and the address output to the address bus is performed. Stop and start the write signal (WRITE *).

【0032】以上により、マスターユニット2MのCP
U5からの一度のデータ書き込みで全てのスレーブユニ
ット2Sの共有データが更新される。
As described above, the CP of the master unit 2M
The shared data of all slave units 2S is updated by a single data write from U5.

【0033】尚、複数のスレーブユニット2Sの2ポー
トメモリ4が略同時に書き込み動作を行うことにより、
若干の時間的なズレは生じるが略同時に各スレーブユニ
ット2SからDTACK信号が出力されることになるの
で、各スレーブユニット2S間のDTACK信号出力短
絡を防ぐ必要があり、このため本実施例では、DTAC
K信号の出力部にオープンコレクタタイプのバッファを
用いて出力短絡を回避している。
The two-port memories 4 of the plurality of slave units 2S perform the write operation substantially at the same time,
Although a slight time shift occurs, since the DTACK signal is output from each slave unit 2S at approximately the same time, it is necessary to prevent a DTACK signal output short circuit between each slave unit 2S. Therefore, in this embodiment, DTAC
An output collector short circuit is avoided by using an open collector type buffer in the output section of the K signal.

【0034】以上のように、本実施例に係る分散型マル
チプロセッシングシステムは、CPU5と、該CPU5
とはローカルバス3で接続されてVME規格バス1側と
ローカルバス3側との両方向からアクセス可能な2ポー
トメモリ4とを備えているプロセッサユニット2が、V
ME規格バス1を介して3つ以上接続され、上記の各プ
ロセッサユニット2の2ポートメモリ4は、各プロセッ
サユニット2に共通で用いられる共有データを格納する
共有メモリ領域を有し、上記3つ以上のプロセッサユニ
ット2の中の特定の1つが、該システム内に入力された
共有データを直接的に取り込んで共有データを更新する
マスターユニット2Mであり、その他が該マスターユニ
ット2Mの記憶データと同じになるように共有データを
更新するスレーブユニット2Sであるシステムであっ
て、上記スレーブユニット2Sの2ポートメモリ4にお
けるVME規格バス1側の共有メモリ領域のアドレス
が、どのスレーブユニット2Sも同一に設定されてお
り、各スレーブユニット2Sの2ポートメモリ4のVM
E規格バス1側からのデータ書き込みはマスターユニッ
ト2Mのみによって行われ、各スレーブユニット2Sの
2ポートメモリ4からのデータの読み出しはローカルバ
ス3側からのみ行われるように構成してなる。
As described above, the distributed multi-processing system according to this embodiment includes the CPU 5 and the CPU 5.
Is a VME standard bus 1 side and a two-port memory 4 accessible from both directions of the local bus 3 side, the processor unit 2 is
Three or more are connected via the ME standard bus 1, and the 2-port memory 4 of each processor unit 2 has a shared memory area for storing shared data commonly used by each processor unit 2, A specific one of the above processor units 2 is a master unit 2M that directly takes in the shared data input into the system and updates the shared data, and the other is the same as the stored data of the master unit 2M. In the system that is the slave unit 2S that updates the shared data so that the slave unit 2S has the same address in the shared memory area on the VME standard bus 1 side in the 2-port memory 4 of the slave unit 2S. VM of the 2-port memory 4 of each slave unit 2S
Data writing from the E standard bus 1 side is performed only by the master unit 2M, and data reading from the two-port memory 4 of each slave unit 2S is performed only by the local bus 3 side.

【0035】これにより、マスターユニット2Mからの
一度の書き込み動作で、全てのスレーブユニット2S上
の2ポートメモリ4のデータを更新することができる。
したがって、従来のようにスレーブユニット2Sの数に
比例してマスターユニット2Mの負担が増加するという
ことはなく、スレーブユニット2Sの数が多くなっても
マスターユニット2Mの負担は全く変わらない。また、
従来のように共有データのコピー(書き込み動作)をス
レーブユニット52Sの数だけ行なう必要はなく、スレ
ーブユニット2Sの数が多くなっても、全スレーブユニ
ット2Sに対して一括して1回だけコピーを行えばよい
ので、VME規格バス1のトラフィックの増大を防ぐこ
とができる。
As a result, the data of the 2-port memories 4 on all the slave units 2S can be updated by a single write operation from the master unit 2M.
Therefore, unlike the conventional case, the load on the master unit 2M does not increase in proportion to the number of slave units 2S, and even if the number of slave units 2S increases, the load on the master unit 2M does not change at all. Also,
Unlike the conventional case, it is not necessary to copy (write operation) the shared data by the number of slave units 52S, and even if the number of slave units 2S increases, the copy is performed once for all slave units 2S at once. Since it suffices to do so, it is possible to prevent an increase in traffic on the VME standard bus 1.

【0036】また、上記のようにスレーブユニット2S
の2ポートメモリ4の書き込みと読み出しの方向を固定
し、システムのメインバスであるVME規格バス1とロ
ーカルバス3とを効率良く使用することによって、シス
テムの処理能力の向上が図れる。
Further, as described above, the slave unit 2S
By fixing the writing and reading directions of the 2-port memory 4 and efficiently using the VME standard bus 1 and the local bus 3 which are the main buses of the system, the processing capacity of the system can be improved.

【0037】尚、本発明の分散型マルチプロセッシング
システムは、スレーブユニット2Sが複数存在する場
合、即ち、プロセッサユニット2を3つ以上有するマル
チプロセッシングシステムに対して適用でき、そのユニ
ット数は上記以外に特に限定されない。
The distributed multi-processing system of the present invention can be applied to a multi-processing system having a plurality of slave units 2S, that is, a multi-processing system having three or more processor units 2, and the number of units other than the above. There is no particular limitation.

【0038】また、発明の分散型マルチプロセッシング
システムは、例えば、遠方監視制御システムの制御局
(親局)あるいは被制御局(子局)をはじめとする様々
な情報処理分野において適用できる。
Further, the distributed multi-processing system of the present invention can be applied in various information processing fields including, for example, a control station (master station) or a controlled station (slave station) of a distant monitoring control system.

【0039】上記実施例は、あくまでも、本発明の技術
内容を明らかにするものであって、そのような具体例に
のみ限定して狭義に解釈されるべきものではなく、本発
明の精神と特許請求の範囲内で、いろいろと変更して実
施することができるものである。
The above-mentioned embodiments are intended to clarify the technical contents of the present invention, and should not be construed in a narrow sense by limiting to such specific examples. Various modifications can be made within the scope of the claims.

【0040】[0040]

【発明の効果】本発明の分散型マルチプロセッシングシ
ステムは、以上のように、複数のスレーブユニットのデ
ュアルポートメモリにおけるメインバス側の共有メモリ
領域のアドレスが、どのスレーブユニットも同一に設定
されており、各スレーブユニットのデュアルポートメモ
リのメインバス側からのデータ書き込みはマスターユニ
ットのみによって行われ、各スレーブユニットのデュア
ルポートメモリからのデータの読み出しはローカルバス
側からのみ行われるような構成である。
As described above, in the distributed multi-processing system of the present invention, the addresses of the shared memory areas on the main bus side in the dual port memories of a plurality of slave units are set to be the same in all slave units. The data writing from the main bus side of the dual port memory of each slave unit is performed only by the master unit, and the data reading from the dual port memory of each slave unit is performed only from the local bus side.

【0041】それゆえ、マスターユニットからの一度の
書き込み動作で、全てのスレーブユニット上のデュアル
ポートメモリの共有データを更新することができ、スレ
ーブユニットの数が多くなっても、マスターユニットの
負担およびメインバスのトラフィックの増大が生じるこ
となく、システムの処理能力の向上が図れるという効果
を奏する。
Therefore, the shared data of the dual port memory on all slave units can be updated by one write operation from the master unit, and even if the number of slave units increases, the burden on the master unit and It is possible to improve the processing capability of the system without increasing the traffic of the main bus.

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

【図1】本発明の一実施例を示すものであり、分散型マ
ルチプロセッシングシステムにおける共有データの更新
動作を説明するための説明図である。
FIG. 1 shows an embodiment of the present invention and is an explanatory diagram for explaining an operation of updating shared data in a distributed multi-processing system.

【図2】上記分散型マルチプロセッシングシステムの概
略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of the distributed multi-processing system.

【図3】上記分散型マルチプロセッシングシステムのV
ME規格バスの各信号を示すタイミングチャートであ
る。
[FIG. 3] V of the distributed multi-processing system
6 is a timing chart showing each signal of the ME standard bus.

【図4】従来の上記分散型マルチプロセッシングシステ
ムの概略構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of the conventional distributed multiprocessing system.

【図5】従来の分散型マルチプロセッシングシステムに
おける共有データの更新動作を説明するための説明図で
ある。
FIG. 5 is an explanatory diagram for explaining a shared data update operation in a conventional distributed multiprocessing system.

【図6】従来の分散型マルチプロセッシングシステムに
おけるその他の共有データの更新動作を説明するための
説明図である。
FIG. 6 is an explanatory diagram for explaining another shared data update operation in the conventional distributed multiprocessing system.

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

1 VME規格バス(メインバス) 2 プロセッサユニット 2M マスターユニット 2S スレーブユニット 3 ローカルバス 4 2ポートメモリ(デュアルポートメモリ) 5 CPU(中央演算処理装置) 6 インターフェース部 1 VME standard bus (main bus) 2 processor unit 2M master unit 2S slave unit 3 local bus 4 2 port memory (dual port memory) 5 CPU (central processing unit) 6 interface section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央演算処理装置と、該中央演算処理装置
とはローカルバスで接続されてメインバス側とローカル
バス側との両方向からアクセス可能なデュアルポートメ
モリとを備えているプロセッサユニットが、メインバス
を介して3つ以上接続され、 上記の各プロセッサユニットのデュアルポートメモリ
は、各プロセッサユニットに共通で用いられる共有デー
タを格納する共有メモリ領域を有し、 上記3つ以上のプロセッサユニットの中の特定の1つ
が、該システム内に入力された共有データを直接的に取
り込んで共有データを更新するマスターユニットであ
り、その他が該マスターユニットの記憶データと同じに
なるように共有データを更新するスレーブユニットであ
る分散型マルチプロセッシングシステムにおいて、 上記スレーブユニットのデュアルポートメモリにおける
メインバス側の共有メモリ領域のアドレスが、どのスレ
ーブユニットも同一に設定されており、 各スレーブユニットのデュアルポートメモリのメインバ
ス側からのデータ書き込みはマスターユニットのみによ
って行われ、各スレーブユニットのデュアルポートメモ
リからのデータの読み出しはローカルバス側からのみ行
われるように構成されていることを特徴とする分散型マ
ルチプロセッシングシステム。
1. A processor unit comprising a central processing unit and a dual port memory connected to the central processing unit by a local bus and accessible from both directions of a main bus side and a local bus side, Three or more are connected via a main bus, and the dual port memory of each processor unit described above has a shared memory area for storing shared data commonly used by each processor unit. One of them is a master unit that directly takes in the shared data input in the system and updates the shared data, and the other updates the shared data so that it becomes the same as the stored data of the master unit. In a distributed multi-processing system, which is a slave unit that The address of the shared memory area on the main bus side of the dual port memory of the same unit is set to the same for all slave units, and the data writing from the main bus side of the dual port memory of each slave unit is performed only by the master unit. The distributed multi-processing system is characterized in that data is read from the dual port memory of each slave unit only from the local bus side.
JP7008525A 1995-01-23 1995-01-23 Decentralized multiprocessing system Pending JPH08202672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7008525A JPH08202672A (en) 1995-01-23 1995-01-23 Decentralized multiprocessing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7008525A JPH08202672A (en) 1995-01-23 1995-01-23 Decentralized multiprocessing system

Publications (1)

Publication Number Publication Date
JPH08202672A true JPH08202672A (en) 1996-08-09

Family

ID=11695566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7008525A Pending JPH08202672A (en) 1995-01-23 1995-01-23 Decentralized multiprocessing system

Country Status (1)

Country Link
JP (1) JPH08202672A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000000903A1 (en) * 1998-06-30 2000-01-06 Mitsubishi Denki Kabushiki Kaisha Multiple cpu unit
KR100320563B1 (en) * 2000-04-03 2002-01-15 정문술 Apparatus for controlling Memory and I/O port interface
US7991286B2 (en) 2007-03-16 2011-08-02 Fujitsu Limited Optical transmission apparatus
US8005357B2 (en) 2007-03-16 2011-08-23 Fujitsu Limited Optical transmission apparatus
US8462652B2 (en) 2007-11-13 2013-06-11 Fujitsu Limited Transmission device and switchover processing method
CN106301540A (en) * 2015-06-01 2017-01-04 上海贝尔股份有限公司 A kind of method of protection switching implemented in optical transport network and equipment thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000000903A1 (en) * 1998-06-30 2000-01-06 Mitsubishi Denki Kabushiki Kaisha Multiple cpu unit
KR100320563B1 (en) * 2000-04-03 2002-01-15 정문술 Apparatus for controlling Memory and I/O port interface
US7991286B2 (en) 2007-03-16 2011-08-02 Fujitsu Limited Optical transmission apparatus
US8005357B2 (en) 2007-03-16 2011-08-23 Fujitsu Limited Optical transmission apparatus
US8462652B2 (en) 2007-11-13 2013-06-11 Fujitsu Limited Transmission device and switchover processing method
CN106301540A (en) * 2015-06-01 2017-01-04 上海贝尔股份有限公司 A kind of method of protection switching implemented in optical transport network and equipment thereof
CN106301540B (en) * 2015-06-01 2020-02-14 上海诺基亚贝尔股份有限公司 Method and device for implementing protection switching in optical transmission network

Similar Documents

Publication Publication Date Title
US4674033A (en) Multiprocessor system having a shared memory for enhanced interprocessor communication
US4991079A (en) Real-time data processing system
US4975838A (en) Duplex data processing system with programmable bus configuration
JPH0680499B2 (en) Cache control system and method for multiprocessor system
JP2511589B2 (en) Multiprocessor communication interface and method
JPH08202672A (en) Decentralized multiprocessing system
US5581732A (en) Multiprocessor system with reflective memory data transfer device
JP2591502B2 (en) Information processing system and its bus arbitration system
JPH05173985A (en) Programmable controller
US5269015A (en) Computer system including circuitry for reading write-only output ports
JPS59206972A (en) Shared memory
EP0391537A2 (en) Lock converting bus-to-bus interface system
JPH0586581B2 (en)
JP3443787B2 (en) Autonomous decentralized plant control man-machine device
JP3219422B2 (en) Cache memory control method
JP2776125B2 (en) Image playback device
JPH03110658A (en) Memory access system
JPH01154272A (en) Multiprocessor device
JPH04330541A (en) Common data transfer system
JPH04117697A (en) Multiport memory circuit
JPH03100853A (en) Inter-processor communication system
JPH0528859B2 (en)
JPS63305451A (en) Storage system
JPS63217444A (en) Multiple port memory
JPS5921062B2 (en) Memory contention control method