JPS58214958A - Synchronizing data transfer system of multi-processor system - Google Patents

Synchronizing data transfer system of multi-processor system

Info

Publication number
JPS58214958A
JPS58214958A JP57099682A JP9968282A JPS58214958A JP S58214958 A JPS58214958 A JP S58214958A JP 57099682 A JP57099682 A JP 57099682A JP 9968282 A JP9968282 A JP 9968282A JP S58214958 A JPS58214958 A JP S58214958A
Authority
JP
Japan
Prior art keywords
synchronizing
microprocessors
synchronizing data
synchronization
microprocessor
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
JP57099682A
Other languages
Japanese (ja)
Inventor
Atsushi Sugano
淳 菅野
Kenichi Ueda
謙一 上田
Kunio Honda
本田 邦夫
Yoshiki Okamura
岡村 嘉己
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP57099682A priority Critical patent/JPS58214958A/en
Publication of JPS58214958A publication Critical patent/JPS58214958A/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/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Abstract

PURPOSE:To realize simply a synchronizing data processing system, by providing a synchronizing port to each of plural microprocessors and setting the synchronizing data and interruption signal transfer lines between the synchronizing ports to transfer the synchronizing data. CONSTITUTION:An external input/output device 8 is connected to microprocessors of a main system 11 and a secondary system 12 via input/output interfaces 9 and 10 respectively. Each microprocessor contains synchronizing data interruption control circuits 15 and 16 and synchronizing data input/output interfaces 13 and 14. Then both microprocessors are connected to each other via a synchronizing data transfer line 17 and an interruption signal transfer line 18 to form synchronizing ports. When the synchronizing data is transferred between both microprocessors, an interruption is applied to a microprocessor from the other one. Thus the synchronizing data is transferred by the output and input instructions. In such a way, it is possible to form an economical multi-processor system which excludes a special synchronizing monitor device. This system can be applied to a system including >=2 structures.

Description

【発明の詳細な説明】 本発明は、例えば2台のマイクロプロセッサに同一の処
理を並行して実行させ、両マイクロプロセッサの1の一
致検査を行い、片系のマイクロプロセッサが障害を生じ
た場合に他系のマイクロプロセッサが自動的に単独で動
作するというマルチプロセッサシステムの同期データ転
送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention allows two microprocessors to execute the same process in parallel, performs a match check on both microprocessors, and detects a failure in one of the microprocessors. This invention relates to a synchronous data transfer method for multiprocessor systems in which microprocessors of other systems automatically operate independently.

従来ヨりの二重系マルチプロセッサシステムの同期デー
タ転送方式は、第1図のように、主系1及び従系2の双
方のマイクロプロセッサに共通の計算機クロックをクロ
ックジェネレータ7により供給し、クロックレベルで同
期させ、外部入出力装置6とデータ転送する際に同期監
視装置6により同期動作を監視する方式である。
In the conventional synchronous data transfer method of a dual-system multiprocessor system, as shown in Figure 1, a common computer clock is supplied to both the main system 1 and slave system 2 microprocessors by a clock generator 7. This is a method in which synchronization is performed at the level, and the synchronization monitoring device 6 monitors the synchronization operation when data is transferred to the external input/output device 6.

このためにソフトウェアによる同期処理は必要なく、高
速に同期がとれる反面、同期監視装置の構造の複雑さ故
にコストが高くつくという欠点があり、広く一般に使用
されるに至っていない。
For this reason, synchronization processing by software is not required, and synchronization can be achieved at high speed. However, the structure of the synchronization monitoring device is complicated, resulting in high costs, and it has not been widely used.

本発明は以上の問題点に鑑みてなされたもので、2台の
マイクロプロセッサを通常は独立に動作させ、同期をと
る必要がある時点て割込みを用いて同期をとらぜるこさ
により、特別な同期監視装置を必要とせず、経済的なマ
ルチプロセッサシステムの同期データ処理方式を提供す
ることを目的とするものである。
The present invention has been made in view of the above problems, and it is difficult to synchronize two microprocessors by normally operating them independently and using interrupts when synchronization is required. The object of the present invention is to provide an economical synchronous data processing method for a multiprocessor system that does not require a synchronous monitoring device.

以Fに本発明を図面を用いて実施例と共に説明する。Hereinafter, the present invention will be explained with reference to the drawings and embodiments.

第2図は本発明の一実施例を示す二重系マルチプロセッ
サシステムのブロック図である。外部入出力装置8には
入出力インターフェース9,10を介して主系11.従
系12のマイクロプロセッサが接続されている。同期デ
ータは割込み制御回路15,16及び同期データ入出力
インターフェース13.14及び同期データ転送ライン
1了及び割込み信号転送ライン18から成り立つ同期ポ
ートを経由して相互に転送される。
FIG. 2 is a block diagram of a dual-system multiprocessor system showing one embodiment of the present invention. The external input/output device 8 is connected to the main system 11 through input/output interfaces 9 and 10. A slave system 12 microprocessor is connected. Synchronous data is mutually transferred via interrupt control circuits 15, 16, synchronous data input/output interfaces 13, 14, and a synchronous port consisting of a synchronous data transfer line 1 and an interrupt signal transfer line 18.

同期データの転送方式を第3図で説明する。例えば、外
部装置とのデータ転送時等の同期を古る必要がある時点
で従系マイクロプロセッサ12が同期を要求した場合は
出力命令により主系マイクロプロセッサ11に対して割
込みをかける。主系マイクロプロセッサ11i割込みを
受けつけ、割込み処理内の入力命令で同期データを取り
込みバッファに格納する。
The synchronous data transfer method will be explained with reference to FIG. For example, if the slave microprocessor 12 requests synchronization at a time when it is necessary to lose synchronization such as during data transfer with an external device, an output command interrupts the main microprocessor 11. The main microprocessor 11i receives an interrupt, and takes in synchronized data using an input command in the interrupt processing and stores it in a buffer.

主系マイクロプロセッサ11て同期を要求した場合は、
既にバッファに取り込まれている従系マイクロプロセッ
サ12からの同期データを用いて比較照合を行い、結果
を従系マイクロプロセッサ12へ返す。主系マイクロプ
ロセッサ11で同期を要求した時に従系マイクロプロセ
ッサ12からの同期データがバッファに入っていない時
は入力されるまで待つ。従系マイクロプロセッサ12へ
同期データを転送する手順は前述と同様に主系マイクロ
プロセッサ11の出力命令で従系マイクロプロセッサ1
2に割込みを発生させ、−従系マイクロプロセッサ12
の入力命令でバッファに取り込む。この後両系は同期動
作を継続する。
If the main microprocessor 11 requests synchronization,
Comparison and verification are performed using the synchronization data from the slave microprocessor 12 that has already been taken into the buffer, and the results are returned to the slave microprocessor 12. If synchronization data from the slave microprocessor 12 is not in the buffer when synchronization is requested by the main microprocessor 11, it waits until it is input. The procedure for transferring synchronized data to the slave microprocessor 12 is similar to that described above.
- generates an interrupt to slave microprocessor 12;
Import it into the buffer using the input command. After this, both systems continue to operate synchronously.

以り説明したように本発明は、両マイクロプロセッサ間
で同期データの転送を行う際に、一方から他方のマイク
ロプロセッサに割込みをかけるとともに、出力命令と入
力命令とによって同期データの転送を行うものであるた
め、両マイクロプロセッサ間で同期ずれが生じた場合で
も、割込みを使用して同期データを他方へ転送すること
により同期をとることができることはもちろんのこと、
単独のマイクロプロセッサに簡単な構成の同期ボートを
付加するたけで、特別な同期監視装置を必要とぜず、経
済的なマルチプロセッサシステムが得られる。
As explained above, in the present invention, when transferring synchronous data between two microprocessors, one microprocessor interrupts the other microprocessor, and the synchronous data is transferred using an output command and an input command. Therefore, even if there is a synchronization difference between the two microprocessors, it is possible to achieve synchronization by using interrupts to transfer synchronized data to the other microprocessor.
By simply adding a simple synchronization port to a single microprocessor, an economical multiprocessor system can be obtained without requiring any special synchronization monitoring equipment.

なお、実施例では、二重系のシステムについて説明した
か、それ以上のマイクロプロセッサを用いたシステムに
も本発明は適用することができる。
In the embodiment, a dual-system system has been described, but the present invention can also be applied to a system using more microprocessors.

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

第1図は従来の二重系システムの構成を示すブロック図
、第2図は本発明の一実施例の構成を示すブロック図、
第3図は本発明の処理手順を示すフローチャートである
。 1・・・・・・主系フロセッサ、2・・・・・・従系プ
ロセッサ、3.4・・・・・・外部入出力インターフェ
ース、6・・・・・・外部入出力装置、6・・・・・・
同期監視装置、7・・・・・・クロックジェネレータ、
8・・・・・・外部入出力装置、9.10・・・・・・
外部入出力インターフェース、11・・・・・・主系フ
ロセッサ、12・・・・・・従系プロセッサ、13.1
4・・・・・・同期データ入出力インターフェース、1
6.16・・・・・・割込み制御回路、17・・・・・
・同期データ転送ライン、18・・・・・・割込み信号
転送ライン。 代理人の氏名 弁理士 中 1尾 敏 男 ほか1名第
1図 5 第2図 /7
FIG. 1 is a block diagram showing the configuration of a conventional dual system system, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention,
FIG. 3 is a flowchart showing the processing procedure of the present invention. 1...Main processor, 2...Slave processor, 3.4...External input/output interface, 6...External input/output device, 6.・・・・・・
Synchronous monitoring device, 7... Clock generator,
8... External input/output device, 9.10...
External input/output interface, 11...Main processor, 12...Slave processor, 13.1
4...Synchronized data input/output interface, 1
6.16... Interrupt control circuit, 17...
- Synchronous data transfer line, 18... Interrupt signal transfer line. Name of agent: Patent attorney Toshio Nakaichio and one other figure 1 Figure 5 Figure 2/7

Claims (1)

【特許請求の範囲】[Claims] 第1及び第2のマイクロプロセッサと、それぞれが前記
両マイクロプロセッサに結続された同期ポートと、前記
両同期ボートを結続する同期データ転送ラインとを備え
、前記両マイクロプロセッサ間で同期データの転送を行
う際に、一方の前記マイクロプロセッサから他方の前記
マイクロプロセッサに割り込みをかけるとともに、出力
命令と入力命令とによって前記同期データの転送を行う
こと全特徴とするマルチプロセッサシステムの同期デー
タ転送方式。
first and second microprocessors, each comprising a synchronization port connected to the two microprocessors, and a synchronization data transfer line connecting the two synchronization ports, and transmitting synchronization data between the two microprocessors. A synchronous data transfer method for a multiprocessor system, characterized in that when performing transfer, an interrupt is generated from one of the microprocessors to the other microprocessor, and the synchronous data is transferred in accordance with an output command and an input command. .
JP57099682A 1982-06-09 1982-06-09 Synchronizing data transfer system of multi-processor system Pending JPS58214958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57099682A JPS58214958A (en) 1982-06-09 1982-06-09 Synchronizing data transfer system of multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57099682A JPS58214958A (en) 1982-06-09 1982-06-09 Synchronizing data transfer system of multi-processor system

Publications (1)

Publication Number Publication Date
JPS58214958A true JPS58214958A (en) 1983-12-14

Family

ID=14253798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57099682A Pending JPS58214958A (en) 1982-06-09 1982-06-09 Synchronizing data transfer system of multi-processor system

Country Status (1)

Country Link
JP (1) JPS58214958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214238A (en) * 1989-02-15 1990-08-27 Hitachi Ltd Multi-channel communication control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5429642A (en) * 1977-08-10 1979-03-05 Ricoh Co Ltd Controlling system by multimicrocomputer system of copying machines

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5429642A (en) * 1977-08-10 1979-03-05 Ricoh Co Ltd Controlling system by multimicrocomputer system of copying machines

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214238A (en) * 1989-02-15 1990-08-27 Hitachi Ltd Multi-channel communication control system

Similar Documents

Publication Publication Date Title
EP1380952B1 (en) Fault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof
WO2021253596A1 (en) Dual-channel secure plc-based synchronous control and data voting methods
JPS58214958A (en) Synchronizing data transfer system of multi-processor system
JPS58217056A (en) Task control system of multiprocessor system
JP2001022720A (en) Multiprocessor system
JPS5814692B2 (en) Multiple system synchronous operation method
JPH0736720A (en) Duplex computer equipment
KR100198416B1 (en) Synchronization monitor circuit for duplicated control system
JPH09185582A (en) Clock control system and its method for local bus
JPH0318958A (en) Multiprocessor system
JPS6129961A (en) Data transfer method
JPS60168240A (en) Interrupt processing circuit
JP2905259B2 (en) System configuration change control method
JPS5829032A (en) Data transfer system
JPS61123336A (en) Duplex operating system in decentralized system
JPS59132060A (en) Dual type operation processing device
JPS63141134A (en) Interruption controller
JPH0447338A (en) Synchronizing method for stand-by redundant type computer control system
JPH0395660A (en) System time setting method for plural central processing unit method
JPH0293831A (en) Duplex system
JPS5949240U (en) Multiplexed control system
JPS6180448A (en) Control system for direct memory access
JPS60256852A (en) File recovery system for decentralized processing system
JPS6022249A (en) Analysis method of process interruption
JPS60173658A (en) Synchronism controller of dual computer system