[go: up one dir, main page]

JPS63158660A - Multiprocessor bus control system - Google Patents

Multiprocessor bus control system

Info

Publication number
JPS63158660A
JPS63158660A JP30728586A JP30728586A JPS63158660A JP S63158660 A JPS63158660 A JP S63158660A JP 30728586 A JP30728586 A JP 30728586A JP 30728586 A JP30728586 A JP 30728586A JP S63158660 A JPS63158660 A JP S63158660A
Authority
JP
Japan
Prior art keywords
bus
system bus
unit
communication
bidirectional buffer
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
JP30728586A
Other languages
Japanese (ja)
Inventor
Minoru Kataoka
稔 片岡
Kazuhiko Miura
和彦 三浦
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP30728586A priority Critical patent/JPS63158660A/en
Publication of JPS63158660A publication Critical patent/JPS63158660A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To attain a communication even when a trouble is generated in one unit of a system bus by providing a bidirectional buffer connected in parallel to a shared RAM on the way of a system. CONSTITUTION:In an ordinary operation, unit groups connected to the system bus and unit groups connected to the system bus 2 independently and exclusively have the system bus to control. The delivery between the bus 1 and the bus 2 is carried out through the shared RAM3. However, for instance, when the trouble is generated in the CPU21, the contents of a RAM22 cannot be written in the RAM3 by the CPU21. In such a case, the CPU11 validates the bidirectional buffer 4 to make access directly to the RAM22, thereby, the communication can be maintained to the unit except the CPU21.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置等に使用されるシステムバスに複
数のプロセッサを有するマルチプロセッサバス制御方式
に関し、特に、バスの効率を向上させ、且つ一部のユニ
ットに障害が発生した場合においても通信可能なマルチ
プロセッサバス制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor bus control system having a plurality of processors on a system bus used in a numerical control device, etc., and particularly to a multiprocessor bus control system that improves bus efficiency and The present invention relates to a multiprocessor bus control method that allows communication even when a failure occurs in some units.

〔従来の技術〕[Conventional technology]

数値制御装置等において、1個のシステムバスに複数の
プロセッサ、メモリ等を接続してシステムを構成するマ
ルチプロセッサハス制御方式が広(採用されている。こ
のマルチプロセッサハス制御方式は、1個のシステムバ
スに複数のプロセッサ、メモリ等が接続されているので
、各メモリのデータを共有することができ、又、プロセ
ッサ間の通信もできるので、システム構成が簡単で汎用
性も高く、有用である。
In numerical control devices, etc., the multiprocessor hash control method, in which a system is configured by connecting multiple processors, memories, etc. to one system bus, is widely used. Since multiple processors, memories, etc. are connected to the system bus, data in each memory can be shared, and communication between processors is also possible, so the system configuration is simple, highly versatile, and useful. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、この方式は1個のシステムバスを共有している
ので、1個のプロセッサがバスを使用しているときは、
他のプロセッサはバスを使用することができず、処理時
間が遅くなるという問題点がある。これを、解決するた
めに、システムバスを共有メモリを介して接続するのも
1つの方法であるが、この場合一方のシステムバスに接
続されているユニットに障害が発生すると、システムバ
ス間の通信が全くできなくなってしまうという問題点が
ある。
However, this method shares one system bus, so when one processor is using the bus,
Another problem is that other processors cannot use the bus, which slows down processing time. One way to solve this problem is to connect the system buses via shared memory, but in this case, if a failure occurs in a unit connected to one system bus, communication between the system buses will be interrupted. The problem is that it becomes impossible to do so at all.

本発明の目的は上記問題点を解決し、バスの効率を向上
させ、且つシステムバスの一方のユニットに障害が発生
した場合においても通信可能なマルチプロセッサバス制
御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a multiprocessor bus control system that solves the above problems, improves bus efficiency, and allows communication even when one unit of the system bus fails.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では上記の問題点を解決するために、第1図に示
すように、 システムバス(12)に複数のプロセッサ(11,13
,21)を有するマルチプロセッサハス制御方式におい
て、 バスの途中に配置された共存メモリ (3)と、該共有
メモリ (3)に並列に接続された双方向性バッファ(
4)とを有し、 通常の制御においては前記共有メモリ (3)を介して
、通信をおこない、 一方のプロセッサ(21)等に障害が発生した場合等に
おいては、前記双方向性バッファ(4)を介して通信を
行うように構成したことを特徴とするマルチプロセッサ
バス制御方式が、提供される。
In order to solve the above problems, the present invention provides a system bus (12) with a plurality of processors (11, 13,
, 21), a coexisting memory (3) placed in the middle of the bus, and a bidirectional buffer (3) connected in parallel to the shared memory (3).
4), and during normal control, communication is performed via the shared memory (3), and when a failure occurs in one of the processors (21), etc., the bidirectional buffer (4) ) is provided.

〔作用〕[Effect]

通常の動作においては、システムバス(1)に接続され
たユニット群と、システムバス(2)に接続されたユニ
ット群では独立にシステムハスを専有して制御を行うこ
とができる。
In normal operation, the unit group connected to the system bus (1) and the unit group connected to the system bus (2) can independently monopolize the system bus and perform control.

システムバス(1)とシステムバス(2)間のやりとり
は、共有RAM (3)を介して行う。
Communication between the system bus (1) and the system bus (2) takes place via a shared RAM (3).

しかし、プロセッサ(21)に障害が発生した場合は、
メモリ (22)の内容はプロセッサ(21)によって
共有RAMに書込むことができないので、プロセッサ1
1が双方向性バッファ(4)を有効にし、メモリュニソ
1−(22)に直接アクセスすることにより、プロセッ
サユニット(21)以外のユニットについては、通信を
保つことができる。
However, if a failure occurs in the processor (21),
Since the contents of memory (22) cannot be written to shared RAM by processor (21), processor 1
By enabling the bidirectional buffer (4) and directly accessing the memory unit 1-(22), communication can be maintained for units other than the processor unit (21).

〔実施例〕〔Example〕

以下本発明の一実施例を図面に基づいて説明する。 An embodiment of the present invention will be described below based on the drawings.

第1図に本発明の一実施例のブロック図を示す。FIG. 1 shows a block diagram of an embodiment of the present invention.

図において、1及び2はシステムハスであり、共有RA
M3及びこれに並列に接続された双方向性バッファ4に
よって、接続されている。
In the figure, 1 and 2 are the system hashs, and the shared RA
M3 and a bidirectional buffer 4 connected in parallel thereto.

システムバス1にはプロセッサ11.ROM及びRAM
を含むメモリユニット12、RAMを含むプロセッサユ
ニット13及び表示装置(CRT)14が接続されてい
る。これらのユニット間でシステムバス1を共有して制
御を実行することができる。
The system bus 1 has a processor 11. ROM and RAM
A memory unit 12 including a RAM, a processor unit 13 including a RAM, and a display device (CRT) 14 are connected. Control can be executed by sharing the system bus 1 between these units.

システムハス2にはプロセッサユニット21及びRAM
を有するメモリユニット22等が接続されている。プロ
セッサユニット21とメモリユニット22はシステムバ
ス2を専有して使用することができる。
The system has 2 has a processor unit 21 and RAM.
A memory unit 22 having a memory unit 22 and the like is connected thereto. The processor unit 21 and the memory unit 22 can exclusively use the system bus 2.

このように、システムバス1に接続されたユニットと、
システムバス2に接続されたユニットはそれぞれ独立に
システムバスを使用して、互いに干渉しない。両方のユ
ニット間の通信は共有RAMを介して行う。すなわち、
プロセッサユニット11がメモリユニット12の内容を
共有RAMに書込み、プロセッサユニット21が共有R
AMからこのデータを読出し、メモリユニット22に書
込むことにより通信を行う。勿論逆方向の通信も逆の動
作を行うことによりできる。
In this way, the units connected to system bus 1,
The units connected to the system bus 2 use the system bus independently and do not interfere with each other. Communication between both units is via shared RAM. That is,
The processor unit 11 writes the contents of the memory unit 12 to the shared RAM, and the processor unit 21 writes the contents of the memory unit 12 to the shared RAM.
Communication is performed by reading this data from the AM and writing it into the memory unit 22. Of course, communication in the opposite direction can also be performed by performing the opposite operation.

しかし、たとえばプロセッサユニット21に障害が発生
すると、メモリユニット22は正常であっても、メモリ
ユニット22の内容はプロセソサユニット21によって
共有RA M 3に書込ことかできないので、プロセッ
サユニット11はメモリユニット22の内容を読出すこ
とができない。この場合は、プロセッサユニット11は
図示されていない手段によって、プロセッサユニット2
1の障害を認識し、双方向性バッファ4を有効にし、双
方向性バッファ4を介して、メモリユニット22の内容
を読出すようにする。場合によっては、プロセッサユニ
ット21の障害の内容を表示装置(CRT)14に表示
することもできる。
However, if a failure occurs in the processor unit 21, for example, even if the memory unit 22 is normal, the contents of the memory unit 22 can only be written to the shared RAM 3 by the processor unit 21, so the processor unit 11 The contents of unit 22 cannot be read. In this case, the processor unit 11 is connected to the processor unit 2 by means not shown.
1 is recognized, the bidirectional buffer 4 is enabled, and the contents of the memory unit 22 are read out via the bidirectional buffer 4. In some cases, the details of the failure of the processor unit 21 may be displayed on the display device (CRT) 14.

このようにして、システムバスの効率を上げ、且つ一方
のシステムバスのユニットの一部に障害が発生した場合
でも、システムバス1に接続されたユニットとシステム
バス2に接続された他のユニットとの通信を行うことが
できる。
In this way, the efficiency of the system bus can be increased, and even if some of the units on one system bus fail, the units connected to system bus 1 and the other units connected to system bus 2 can be communication.

上記の例では、共有RAM及び双方向性バッファは1個
の例で説明したが、これを複数個にして、システムバス
もこれに応じた個数に拡張することができる。
In the above example, the number of shared RAM and bidirectional buffer is one, but it is possible to use a plurality of them and expand the number of system buses accordingly.

また、双方向性バッファ4を有効にするのはソフトウェ
アで行っても良いし、ハードウェアで行うこともできる
Furthermore, enabling the bidirectional buffer 4 may be done by software or by hardware.

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

以上説明したように本発明では、システムと途中に共有
RAMとこれに並列に接続された双方向性バッファを設
けたので、システムバスの使用効率を上げ、障害が発生
した場合でも支障のないマルチプロセッサハス制御方式
を提供することができる。
As explained above, in the present invention, a shared RAM and a bidirectional buffer connected in parallel to the shared RAM are provided in the middle of the system, which improves the efficiency of system bus usage and allows multi-channel multifunction that does not cause problems even in the event of a failure. A processor-based control scheme can be provided.

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

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

Claims (1)

【特許請求の範囲】[Claims] (1)システムバスに複数のプロセッサを有するマルチ
プロセッサバス制御方式において、 バスの途中に配置された共有メモリと、 該共有メモリに並列に接続された双方向性バッファとを
有し、 通常の制御においては前記共有メモリを介して、通信を
おこない、 一方のプロセッサ等に障害が発生した場合等においては
、前記双方向性バッファを介して通信を行うように構成
したことを特徴とするマルチプロセッサバス制御方式。
(1) A multiprocessor bus control system in which a system bus has multiple processors has a shared memory placed in the middle of the bus and a bidirectional buffer connected in parallel to the shared memory, and is used for normal control. The multiprocessor bus is characterized in that communication is performed via the shared memory, and when a failure occurs in one of the processors, communication is performed via the bidirectional buffer. control method.
JP30728586A 1986-12-23 1986-12-23 Multiprocessor bus control system Pending JPS63158660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30728586A JPS63158660A (en) 1986-12-23 1986-12-23 Multiprocessor bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30728586A JPS63158660A (en) 1986-12-23 1986-12-23 Multiprocessor bus control system

Publications (1)

Publication Number Publication Date
JPS63158660A true JPS63158660A (en) 1988-07-01

Family

ID=17967286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30728586A Pending JPS63158660A (en) 1986-12-23 1986-12-23 Multiprocessor bus control system

Country Status (1)

Country Link
JP (1) JPS63158660A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168155A (en) * 1992-11-30 1994-06-14 Mitsubishi Electric Corp Debugging system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162056A (en) * 1981-03-31 1982-10-05 Toshiba Corp Composite computer system
JPS61267161A (en) * 1985-05-22 1986-11-26 Hitachi Ltd Multi-system data transfer device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162056A (en) * 1981-03-31 1982-10-05 Toshiba Corp Composite computer system
JPS61267161A (en) * 1985-05-22 1986-11-26 Hitachi Ltd Multi-system data transfer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168155A (en) * 1992-11-30 1994-06-14 Mitsubishi Electric Corp Debugging system

Similar Documents

Publication Publication Date Title
KR970029014A (en) Data Processing System and Method
JPH04246745A (en) Memory access system
US4691280A (en) High performance multi-processor system
JPS6063609A (en) Numerical controller
JPS63158660A (en) Multiprocessor bus control system
CA2081913A1 (en) Method and apparatus for managing page zero memory accesses in a multi-processor system
JPH0254362A (en) Parallel process computer
JPH0427583B2 (en)
JP2946561B2 (en) Multiprocessor system
JPS62241045A (en) Storage device
JPH0114616B2 (en)
JPH01154272A (en) Multiprocessor device
JPS60169966A (en) Data processor
JPH02100746A (en) Multiprocessor bus
JPS6379161A (en) semiconductor storage device
JPS62272352A (en) Memory control circuit
JPS61269545A (en) Computer system
JPS6349257B2 (en)
JPS6376041A (en) Data read/write method for multiple ports
JPS5856891B2 (en) information processing system
JPS62186344A (en) Address mapped register
JPH04111149A (en) Circuit system for dma device
JPS61296464A (en) Data processor
JPH03204755A (en) Data transfer device
JPH01248261A (en) Memory access control circuit in dual port memory