JPH05324568A - Inter-processor communication system - Google Patents

Inter-processor communication system

Info

Publication number
JPH05324568A
JPH05324568A JP12237192A JP12237192A JPH05324568A JP H05324568 A JPH05324568 A JP H05324568A JP 12237192 A JP12237192 A JP 12237192A JP 12237192 A JP12237192 A JP 12237192A JP H05324568 A JPH05324568 A JP H05324568A
Authority
JP
Japan
Prior art keywords
information
processor
read
written
area
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.)
Withdrawn
Application number
JP12237192A
Other languages
Japanese (ja)
Inventor
Reiko Furusawa
礼子 古澤
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.)
Fujitsu Ltd
Fujitsu Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Communication Systems 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 Fujitsu Ltd, Fujitsu Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP12237192A priority Critical patent/JPH05324568A/en
Publication of JPH05324568A publication Critical patent/JPH05324568A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To simplify an information transfer procedure between processors in a multi-processor system, to improve information transfer efficiency, and to reduce a load of both processors. CONSTITUTION:This system is constituted by providing between processors 100 a common storage means 200 in which the transfer origin processor writes information 201 to be transferred and an information write informing signal 202 for informing a fact that this information is written, and due to a fact that the information write informing signal is written, the transfer destination processor detects a fact that the information addressed to its own processor is written and reads it, thereafter, writes information for showing a fact that the information is received, information for showing whether the information is in a receivable state or not thereafter, and the information write informing signal for informing a fact that the information is written, in the transfer origin processor, and a classification of information is determined by a bit position in a storage area.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサ間で
各種情報を転送するマルチプロセッサシステムにおける
プロセッサ間通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interprocessor communication system in a multiprocessor system for transferring various kinds of information between a plurality of processors.

【0002】情報処理システムの具備機能が多様化する
に伴い、複数のプロセッサに機能を分散して分担させる
マルチプロセッサシステムが実用されている。この種の
マルチプロセッサシステムにおいては、各プロセッサ相
互間で所要の情報を授受することが必要となる。
As the functions of information processing systems have diversified, multiprocessor systems in which the functions are distributed and shared among a plurality of processors have been put into practical use. In this type of multiprocessor system, it is necessary to exchange necessary information between the processors.

【0003】[0003]

【従来の技術】図8は従来あるマルチプロセッサシステ
ムの一例を示す図であり、図9は図8におけるプロセッ
サ間通信過程(初期設定)の一例を示す図であり、図10
は図8におけるプロセッサ間通信過程(情報転送)の一
例を示す図である。
2. Description of the Related Art FIG. 8 is a diagram showing an example of a conventional multiprocessor system, and FIG. 9 is a diagram showing an example of an inter-processor communication process (initial setting) in FIG.
FIG. 9 is a diagram showing an example of an inter-processor communication process (information transfer) in FIG. 8.

【0004】図8において、主プロセッサ(MCP)1
と従プロセッサ(SCP)2との間には、制御フィール
ドレジスタ(CFR)3およびデータ領域(DA)4が
それぞれ二組宛設けられている。なお個々の制御フィー
ルドレジスタ(CFR)を(CFR1 )31 および(C
FR2 )32 と称し、また個々のデータ領域(DA)を
(DA1 )41 および(DA2 )42 と称する。
In FIG. 8, the main processor (MCP) 1
Two sets of a control field register (CFR) 3 and a data area (DA) 4 are provided between the slave processor and the sub processor (SCP) 2. The individual control field registers (CFR) are (CFR 1 ) 3 1 and (C
FR 2 ) 3 2 and the individual data areas (DA) are called (DA 1 ) 4 1 and (DA 2 ) 4 2 .

【0005】制御フィールドレジスタ(CFR1 )31
およびデータ領域(DA1 )41 は、主プロセッサ(M
CP)1から従プロセッサ(SCP)2に各種情報を転
送する為に使用され、制御フィールドレジスタ(CFR
2 )32 およびデータ領域(DA2 )42 は、従プロセ
ッサ(SCP)2から主プロセッサ(MCP)1に各種
情報を転送する為に使用される。
Control field register (CFR 1 ) 3 1
The data area (DA 1 ) 4 1 is the main processor (M 1
It is used to transfer various types of information from the CP) 1 to the slave processor (SCP) 2 and uses the control field register (CFR).
2 ) 3 2 and data area (DA 2 ) 4 2 are used to transfer various information from the slave processor (SCP) 2 to the main processor (MCP) 1.

【0006】図8および図9において、従プロセッサ
(SCP)2に電源が投入されると、主プロセッサ(M
CP)1からステータスレジスタ使用許可通知信号st
1 が転送されるのを待機する。
In FIG. 8 and FIG. 9, when the slave processor (SCP) 2 is powered on, the master processor (M
CP) 1 to status register use permission notification signal st
Wait for 1 to be transferred.

【0007】一方主プロセッサ(MCP)1は、従プロ
セッサ(SCP)2と各種情報の転送を開始するに先立
ち、図示されぬステータスレジスタの使用許可を従プロ
セッサ(SCP)2に与えることを示すステータスレジ
スタ使用許可通知信号st1を、バス51 を介して制御
フィールドレジスタ(CFR1 )31 に書込んだ後、割
込信号i1 をバス51 を介して制御フィールドレジスタ
(CFR1 )31 に書込む。
On the other hand, the main processor (MCP) 1 gives a permission to use a status register (not shown) to the slave processor (SCP) 2 before starting transfer of various information with the slave processor (SCP) 2. the register usage permission notification signal st 1, the control field register via the bus 5 1 (CFR 1) 3 1 after writing in, controls the interrupt signals i 1 through the bus 5 1 field register (CFR 1) 3 Write to 1 .

【0008】従プロセッサ(SCP)2は、制御フィー
ルドレジスタ(CFR1 )31 に書込まれた割込信号i
1 をバス52 を介して読取ると、主プロセッサ(MC
P)1が制御フィールドレジスタ(CFR1 )31 に所
要の情報を書込んだと判断し、制御フィールドレジスタ
(CFR1 )31 に書込まれたステータスレジスタ使用
許可通知信号st1 をバス52 を介して読取ると、主プ
ロセッサ(MCP)1が与えた図示されぬステータスレ
ジスタの使用許可を受信確認したことを示すステータス
レジスタ使用許可応答信号st2 を、バス52 を介して
制御フィールドレジスタ(CFR2 )32 に書込んだ
後、割込信号i2 をバス52 を介して制御フィールドレ
ジスタ(CFR2 )32 に書込むことにより、以後主プ
ロセッサ(MCP)1との通信を可能とする。
The slave processor (SCP) 2 receives the interrupt signal i written in the control field register (CFR 1 ) 3 1.
When one reads through the bus 5 2, the main processor (MC
P) 1 is determined to writing the required information into the control field register (CFR 1) 3 1, a control field register (CFR 1) 3 status register grant notification signal st 1 written in 1 bus 5 reading through 2, a main processor (MCP) status register grant response signal st 2 showing an authorization to use the status register, not shown gave that the acknowledgment, the control field register via the bus 5 2 After writing to (CFR 2 ) 3 2 , the interrupt signal i 2 is written to the control field register (CFR 2 ) 3 2 via the bus 5 2 so that communication with the main processor (MCP) 1 will be continued thereafter. It is possible.

【0009】主プロセッサ(MCP)1は、制御フィー
ルドレジスタ(CFR2 )32 に書込まれた割込信号i
2 をバス51 を介して読取ると、従プロセッサ(SC
P)2が制御フィールドレジスタ(CFR2 )32 に所
要の情報を書込んだと判断し、制御フィールドレジスタ
(CFR2 )32 に書込まれたステータスレジスタ使用
許可応答信号st2 をバス51 を介して読取った後、以
後従プロセッサ(SCP)2との通信を開始する。
The main processor (MCP) 1 receives the interrupt signal i written in the control field register (CFR 2 ) 3 2.
And 2 read via the bus 5 1, the slave processor (SC
P) 2 is a control field register (CFR 2) 3 2 To determine the writing the required information, the control field register (CFR 2) 3 2 Status register use permission response signal st 2 written in the bus 5 After reading via 1 , the communication with the slave processor (SCP) 2 is started thereafter.

【0010】図8および図10において、主プロセッサ
(MCP)1が従プロセッサ(SCP)2に対して所要
の情報DTの転送を行う場合に、バス51 を介して制御
フィールドレジスタ(CFR1 )31 に書込要求信号w
qを書込んだ後、バス51 を介して制御フィールドレジ
スタ(CFR1 )31 に割込信号i1 を書込む。
In FIG. 8 and FIG. 10, when the main processor (MCP) 1 transfers the required information DT to the slave processor (SCP) 2, the control field register (CFR 1 ) is transferred via the bus 5 1. Write request signal w to 3 1
After writing q, the interrupt signal i 1 is written to the control field register (CFR 1 ) 3 1 via the bus 5 1 .

【0011】従プロセッサ(SCP)2は、制御フィー
ルドレジスタ(CFR1 )31 に書込まれた割込信号i
1 をバス52 を介して読取ると、主プロセッサ(MC
P)1が制御フィールドレジスタ(CFR1 )31 に所
要の情報を書込んだと判定し、制御フィールドレジスタ
(CFR1 )31 に書込まれている書込要求信号wqを
バス52 を介して読取ると、主プロセッサ(MCP)1
から転送される情報を受信可能な状態にあることを確認
の上、バス52 を介して制御フィールドレジスタ(CF
2 )32 に書込可応答信号waを書込んだ後、バス5
2 を介して制御フィールドレジスタ(CFR2 )32
割込信号i2 を書込む。
The slave processor (SCP) 2 receives the interrupt signal i written in the control field register (CFR 1 ) 3 1.
When one reads through the bus 5 2, the main processor (MC
P) 1 is judged to writing the required information into the control field register (CFR 1) 3 1, the write request signal wq being written to a control field register (CFR 1) 3 1 bus 5 2 Main Processor (MCP) 1 when read through
Confirm that the ready to receive information transferred from the control field register via the bus 5 2 (CF
R 2) 3 2 after writing the write Allowed response signal wa, bus 5
Write the interrupt signal i 2 into the control field register (CFR 2 ) 3 2 via 2 .

【0012】主プロセッサ(MCP)1は、制御フィー
ルドレジスタ(CFR2 )32 に書込まれた割込信号i
2 をバス51 を介して読取ると、従プロセッサ(SC
P)2が制御フィールドレジスタ(CFR2 )32 に所
要の情報を書込んだと判定し、制御フィールドレジスタ
(CFR2 )32 に書込まれている書込可応答信号wa
をバス51 を介して読取ると、従プロセッサ(SCP)
2が情報を受信可能な状態にあることを確認する。
The main processor (MCP) 1 receives the interrupt signal i written in the control field register (CFR 2 ) 3 2.
And 2 read via the bus 5 1, the slave processor (SC
P) 2 is a control field register (CFR 2) 3 2 To determine the writing the required information, the control field register (CFR 2) 3 2 writable response signal written in the wa
When the read via the bus 5 1, the slave processor (SCP)
2 is ready to receive information.

【0013】以後主プロセッサ(MCP)1は、バス5
1 を介してデータ領域(DA1 )4 1 に従プロセッサ
(SCP)2に転送すべき情報DTを書込んだ後、バス
1 を介してデータ領域(DA11)411に書込終了通知
信号weを書込み、更にバス5 1 を介して制御フィール
ドレジスタ(CFR1 )31 に割込信号i1 を書込む。
Thereafter, the main processor (MCP) 1 is connected to the bus 5
1Data area (DA1) 4 1According processor
After writing the information DT to be transferred to the (SCP) 2, the bus
51Data area (DA11) 411Write completion notification to
Write signal we, and then bus 5 1Control via
Register (CFR1) 31Interrupt signal i1Write

【0014】従プロセッサ(SCP)2は、制御フィー
ルドレジスタ(CFR1 )31 に書込まれた割込信号i
1 をバス52 を介して読取ると、主プロセッサ(MC
P)1が制御フィールドレジスタ(CFR1 )31 に所
要の情報を書込んだと判定し、制御フィールドレジスタ
(CFR1 )31 に書込まれている書込終了通知信号w
eをバス52 を介して読取ると、主プロセッサ(MC
P)1が従プロセッサ(SCP)2に転送する情報をデ
ータ領域(DA1 )41 に書込み終了したと判定し、デ
ータ領域(DA1 )41 に書込まれている情報DTをバ
ス52 を介して読取った後、バス52 を介して制御フィ
ールドレジスタ(CFR2 )32 に読取終了通知信号r
eを書込み、更にバス52 を介して制御フィールドレジ
スタ(CFR 2 )32 に割込信号i2 を書込む。
The slave processor (SCP) 2 is a control processor.
Register (CFR1) 31Interrupt signal i written in
1The bus 52Read through the main processor (MC
P) 1 is the control field register (CFR1) 31In
It is determined that the necessary information has been written, and the control field register
(CFR1) 31Writing end notification signal w written in
bus 52Read through the main processor (MC
P) 1 transfers information to the slave processor (SCP) 2
Data area (DA1) 41It is judged that writing to the
Data area (DA1) 41The information DT written in
Space 52After reading through, bus 52Control through
Field Register (CFR2) 32Reading end notification signal r
write e, and then bus 52Control field cash register via
Star (CFR 2) 32Interrupt signal i2Write

【0015】主プロセッサ(MCP)1は、制御フィー
ルドレジスタ(CFR2 )32 に書込まれた割込信号i
2 をバス51 を介して読取ると、従プロセッサ(SC
P)2が制御フィールドレジスタ(CFR2 )32 に所
要の情報を書込んだと判定し、制御フィールドレジスタ
(CFR1 )32 に書込まれている読取終了通知信号r
eをバス51 を介して読取ると、従プロセッサ(SC
P)2が情報を受信し終わったことを確認し、バス51
を介して制御フィールドレジスタ(CFR1 )31に読
取終了通知受信応答信号raを書込んだ後、バス51
介して制御フィールドレジスタ(CFR1 )31 に割込
信号i1 を書込む。
The main processor (MCP) 1 receives the interrupt signal i written in the control field register (CFR 2 ) 3 2.
And 2 read via the bus 5 1, the slave processor (SC
P) 2 determines that the control field register (CFR 2 ) 3 2 has written the required information, and the read end notification signal r written in the control field register (CFR 1 ) 3 2
When the e read via the bus 5 1, the slave processor (SC
P) 2 confirms that it has received the information, and the bus 5 1
After writing the end notification reception response signal ra read the control field register (CFR 1) 3 1 via a write interrupt signal i 1 to the control field register (CFR 1) 3 1 through the bus 5 1 ..

【0016】以上により、主プロセッサ(MCP)1か
ら従プロセッサ(SCP)2に、所要の情報DTが転送
完了する。以上の過程で、書込要求信号wqを受信した
従プロセッサ(SCP)2が、何等かの理由で情報DT
を受信不能となり、書込可応答信号waの代わりに書込
不可を示す応答情報を、前述と同様の手順で返送したと
すると、主プロセッサ(MCP)1は、従プロセッサ
(SCP)2から書込可応答信号waが返送される迄、
前述と同様の手順で、書込要求信号wqの送信を繰返
す。
As described above, the required information DT is completely transferred from the main processor (MCP) 1 to the slave processor (SCP) 2. In the above process, the slave processor (SCP) 2, which has received the write request signal wq, for some reason, receives the information DT.
If the response information indicating that writing is impossible is returned instead of the write enable response signal wa in the same procedure as described above, the main processor (MCP) 1 writes from the slave processor (SCP) 2. Until the response message wa is returned,
Transmission of write request signal wq is repeated in the same procedure as described above.

【0017】[0017]

【発明が解決しようとする課題】以上の説明から明らか
な如く、従来あるマルチプロセッサシステムにおいて
は、主プロセッサ(MCP)1が従プロセッサ(SC
P)2に所要の情報DTを転送する際に、先ず書込要求
信号wqおよび書込可応答信号waを転送し、従プロセ
ッサ(SCP)2が情報DTを受信可能であることを確
認した後、情報DTを転送し、その後情報DTが転送さ
れたことを確認する為に読取終了通知信号reおよひ読
取終了通知受信応答信号raを互いに転送する為、その
都度割込信号i 1 またはi2 を転送する等、複雑な手順
を必要としている為、主プロセッサ(MCP)1および
従プロセッサ(SCP)2間の情報転送効率も低下し、
また主プロセッサ(MCP)1および従プロセッサ(S
CP)2の制御も複雑となり、各主プロセッサ(MC
P)1および従プロセッサ(SCP)2の負荷も増大す
る問題があった。
[Problems to be Solved by the Invention]
In the conventional multiprocessor system,
Is the main processor (MCP) 1 is the slave processor (SC
P) When transferring the required information DT to 2, first write request
The signal wq and the write enable response signal wa are transferred to the slave process
That the SCP (SCP) 2 can receive the information DT.
Information DT is transferred, and then information DT is transferred.
Read end notification signal re and read
In order to transfer the reception end notification reception response signal ra to each other,
Interrupt signal i each time 1Or i2Complex procedure, such as transferring
Is required, the main processor (MCP) 1 and
The information transfer efficiency between the slave processors (SCP) 2 also decreases,
In addition, the main processor (MCP) 1 and the slave processor (S
The control of the CP) 2 becomes complicated, and each main processor (MC
P) 1 and slave processor (SCP) 2 load also increases
There was a problem.

【0018】本発明は、プロセッサ間の情報転送手順を
極力単純化し、情報転送効率の向上、並びに両プロセッ
サの負荷軽減を図ることを目的とする。
An object of the present invention is to simplify the information transfer procedure between processors as much as possible, improve the information transfer efficiency, and reduce the load on both processors.

【0019】[0019]

【課題を解決するための手段】図1は本発明の原理を示
す図である。図1において、100はマルチプロセッサ
システムを構成する複数のプロセッサで、互いに情報2
01を転送する。
FIG. 1 is a diagram showing the principle of the present invention. In FIG. 1, reference numeral 100 denotes a plurality of processors that form a multiprocessor system, and information 2
01 is transferred.

【0020】200は、本発明によりプロセッサ100
間に設けられた共通記憶手段である。
200 is a processor 100 according to the present invention.
It is a common storage means provided between them.

【0021】[0021]

【作用】共通記憶手段200は、転送元のプロセッサ1
00が転送先のプロセッサ100に対して転送すべき情
報201と、情報201を書込んだことを通知する情報
書込通知信号202とを書込み、転送先のプロセッサ1
00が、情報書込通知信号202が書込まれたことによ
り、自プロセッサ100宛の情報201が書込まれたこ
とを検出し、情報201を読取った後、転送元のプロセ
ッサ100に情報201を読取り終わったことを示す情
報201と、以後情報201を受信可能状態にあるか否
かを示す情報201と、情報201を書込んだことを通
知する情報書込通知信号202とを書込む。
The common storage means 200 is the processor 1 of the transfer source.
00 writes information 201 to be transferred to the transfer destination processor 100 and an information write notification signal 202 notifying that the information 201 has been written, and the transfer destination processor 1
00 detects that the information 201 addressed to the own processor 100 has been written by writing the information write notification signal 202, and after reading the information 201, the information 201 is sent to the processor 100 of the transfer source. The information 201 indicating that the reading has been completed, the information 201 indicating whether or not the information 201 can be received thereafter, and the information writing notification signal 202 notifying that the information 201 has been written are written.

【0022】なお共通記憶手段200は、転送元のプロ
セッサ100が記憶領域内の定められた領域に1ビット
から成る情報201を書込むことにより、予め定められ
た種別の情報201を転送先のプロセッサ100に転送
することが考慮される。
In the common storage means 200, the processor 100 of the transfer source writes the information 201 consisting of 1 bit in a predetermined area in the storage area, so that the information 201 of a predetermined type is transferred to the processor of the transfer destination. Transfer to 100 is considered.

【0023】従って、各プロセッサは、互いに情報転送
先のプロセッサが転送される情報を受信可能な状態にあ
るか否かを予め認識しており、情報を転送する度に確認
する必要が無くなる為、プロセッサ間の情報転送手順が
大幅に簡易化され、その結果情報転送効率も向上し、プ
ロセッサの負荷も減少する。
Therefore, each processor recognizes in advance whether or not the information transfer destination processor is ready to receive the information to be transferred, and it is not necessary to confirm each time the information is transferred. The information transfer procedure between processors is greatly simplified, resulting in improved information transfer efficiency and reduced processor load.

【0024】[0024]

【実施例】以下、本発明の一実施例を図面により説明す
る。図2は本発明の一実施例によるマルチプロセッサシ
ステムを示す図であり、図3は図2におけるプロセッサ
間通信過程(初期設定、情報転送)の一例を示す図であ
り、図4は図2におけるプロセッサ間通信過程(情報転
送停止)の一例を示す図であり、図5は図2におけるプ
ロセッサ間通信過程(受信未確認)の一例を示す図であ
り、図6は図2におけるプロセッサ間通信過程(書込不
可解除未確認)の一例を示す図であり、図7は図2にお
けるプロセッサ間通信過程(無通信時監視)の一例を示
す図である。なお、全図を通じて同一符号は同一対象物
を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 2 is a diagram showing a multiprocessor system according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of an inter-processor communication process (initial setting, information transfer) in FIG. 2, and FIG. 4 is a diagram in FIG. FIG. 5 is a diagram showing an example of an inter-processor communication process (information transfer stop), FIG. 5 is a diagram showing an example of an inter-processor communication process (reception unconfirmed) in FIG. 2, and FIG. 6 is an inter-processor communication process in FIG. FIG. 7 is a diagram showing an example of write-protection cancellation not confirmed), and FIG. 7 is a diagram showing an example of inter-processor communication process (monitoring during non-communication) in FIG. The same reference numerals denote the same objects throughout the drawings.

【0025】図2においては、図1におけるプロセッサ
100として主プロセッサ(MCP)1および従プロセ
ッサ(SCP)2が示され、また図1における共通記憶
手段200として共通メモリ10が設けられている。
In FIG. 2, a main processor (MCP) 1 and a slave processor (SCP) 2 are shown as the processor 100 in FIG. 1, and a common memory 10 is provided as the common storage means 200 in FIG.

【0026】共通メモリ10には、ステータス領域(S
A)6(個々のステータス領域(SA)を61 および6
2 と称する、以下同様)と、割込フラグ領域(FA)7
と、データ領域(DA)8とがそれぞれ二組宛設けられ
ている。
In the common memory 10, the status area (S
A) 6 (individual status areas (SA) 6 1 and 6
2 ), and so on) and interrupt flag area (FA) 7
, And a data area (DA) 8 are provided for two sets each.

【0027】ステータス領域(SA)61 には、それぞ
れ1ビットの記憶容量を有するステータス領域(S
11)611、(SA12)612および(SA13)613が設
けられ、ステータス領域(SA11)611は1ビットから
成る読取要求信号rq1 の転送に、ステータス領域(S
12)612は1ビットから成る読取終了信号re1 の転
送に、ステータス領域(SA13)613は1ビットから成
る書込不可信号ib1 の転送に使用される。
The status area (SA) 6 1 has a status area (S) having a storage capacity of 1 bit.
A 11 ) 6 11 , (SA 12 ) 6 12 and (SA 13 ) 6 13 are provided, and the status area (SA 11 ) 6 11 is used for the transfer of the read request signal rq 1 consisting of 1 bit and the status area (S
A 12 ) 6 12 is used for the transfer of the 1-bit read end signal re 1 , and the status area (SA 13 ) 6 13 is used for the transfer of the 1-bit write disable signal ib 1 .

【0028】ステータス領域(SA)62 にも同様に、
ステータス領域(SA21)621、(SA22)622および
(SA23)623が設けられている。なお図3乃至図7に
おいては、例えばステータス領域(SA)611の記憶内
容(1ビット)を論理“1”に設定することを読取要求
信号rq1 を書込むと称し、またステータス領域(S
A)611の記憶内容(1ビット)を論理“0”に設定す
ることを読取要求信号rq1 を抹消すると称してΔrq
1 と表す。
The status area (SA) 6 2 similarly even,
Status areas (SA 21 ) 6 21 , (SA 22 ) 6 22 and (SA 23 ) 6 23 are provided. In FIGS. 3 to 7, for example, setting the storage content (1 bit) of the status area (SA) 6 11 to logical “1” is referred to as writing the read request signal rq 1 , and the status area (S
A) Setting the memory content (1 bit) of 6 11 to logical "0" is referred to as erasing the read request signal rq 1 , and Δrq
Expressed as 1 .

【0029】読取要求信号rq2 、読取終了信号re1
およびre2 、書込不可信号ib1およびib2 に就い
ても同様である。最初に、主プロセッサ(MCP)1と
従プロセッサ(SCP)2との間の初期設定および情報
転送を、図2および図3を用いて説明する。
Read request signal rq 2 and read end signal re 1
The same applies to re 2 , and write disable signals ib 1 and ib 2 . First, initialization and information transfer between the main processor (MCP) 1 and the slave processor (SCP) 2 will be described with reference to FIGS. 2 and 3.

【0030】図2および図3において、主プロセッサ
(MCP)1および従プロセッサ(SCP)2に電源が
投入された状態で、主プロセッサ(MCP)1は、従プ
ロセッサ(SCP)2と各種情報の転送を開始するに先
立ち、バス51 を介してステータス領域(SA11)611
に読取要求信号rq1 (論理“1”)を書込み、またバ
ス51 を介してデータ領域(DA1 )81 に従プロセッ
サ(SCP)2に初期設定を要求する初期設定要求情報
ISQ1 を書込んだ後、バス51 を介して割込フラグ領
域(FA1 )71 に割込フラグf1 (論理“1”)を書
込むと共に、読込待ちタイマT1 (500ミリ秒)と、
応答待ちタイマT2 (可変)とを起動する。
2 and 3, the main processor (MCP) 1 and the slave processor (SCP) 2 are turned on and the main processor (MCP) 1 and slave processor (SCP) 2 receive various information. Prior to starting the transfer, the status area (SA 11 ) 6 11 is sent via the bus 5 1.
The read request signal rq 1 (logical “1”) is written to the data area (DA 1 ) 8 1 and the initial setting request information ISQ 1 for requesting the initial setting to the processor (SCP) 2 via the bus 5 1. After writing, the interrupt flag f 1 (logical “1”) is written to the interrupt flag area (FA 1 ) 7 1 via the bus 5 1 and the read wait timer T 1 (500 milliseconds)
Start the response wait timer T 2 (variable).

【0031】従プロセッサ(SCP)2は、割込フラグ
領域(FA1 )71 に書込まれた割込フラグf1 (論理
“1”)を、バス52 を介して読取ると、主プロセッサ
(MCP)1がステータス領域(SA1 )61 、(SA
2 )62 またはデータ領域(DA1 )81 に書込みを行
ったと判定し、バス52 を介してステータス領域(SA
11)611から読取要求信号rq1 (論理“1”)を読取
り、続いてバス52 を介してデータ領域(DA1 )81
から初期設定要求情報ISQ1 を読取った後、ステータ
ス領域(SA11)611に書込まれている読取要求信号r
1 をバス52を介して抹消し(論理“0”)(Δrq
1 )、またバス52 を介してステータス領域(SA12
12に、主プロセッサ(MCP)1が書込んだ読取要求
信号rq 1 および初期設定要求情報ISQ1 を読取り終
わったことを示す読取終了信号re1 (論理“1”)を
書込んだ後、バス52 を介して割込フラグ領域(F
2 )72 に割込フラグf2 (論理“1”)を書込むと
共に、従プロセッサ(SCP)2内の初期設定処理を実
行する。
The slave processor (SCP) 2 has an interrupt flag.
Area (FA1) 71Interrupt flag f written in1(logic
Take "1") to bus 52Read through the main processor
(MCP) 1 is the status area (SA1) 61, (SA
2) 62Or data area (DA1) 81Write to
Bus 52Status area (SA
11) 611Read request signal rq1Read (logical "1")
And then bus 52Data area (DA1) 81
To initial setting request information ISQ1After reading the
Area (SA11) 611Read request signal r written in
q1The bus 52Delete via (logic “0”) (Δrq
1), Bus 5 again2Status area (SA12)
612Read request written by the main processor (MCP) 1.
Signal rq 1And initial setting request information ISQ1Read the end
A read end signal re indicating that it has crossed1(Logical "1")
After writing, bus 52Interrupt flag area (F
A2) 72Interrupt flag f2If you write (logical "1")
Both implement the initial setting process in the slave processor (SCP) 2.
To go.

【0032】一方主プロセッサ(MCP)1は、割込フ
ラグ領域(FA2 )72 に書込まれた割込フラグf
2 (論理“1”)を、バス51 を介して読取ると、従プ
ロセッサ(SCP)2がステータス領域(SA1
1 、(SA2 )62 またはデータ領域(DA2 )82
に書込みを行ったと判定し、バス51 を介してステータ
ス領域(SA11)611から抹消済の読取要求信号Δrq
1 (論理“0”)を読取り、続いてバス51 を介してス
テータス領域(SA12)612から読取終了信号re1
読取ると、従プロセッサ(SCP)2が、主プロセッサ
(MCP)1から転送した初期設定要求情報ISQ1
読取り終わったと判定し、読込待ちタイマT1 を停止さ
せる。
On the other hand, the main processor (MCP) 1 has the interrupt flag f written in the interrupt flag area (FA 2 ) 7 2.
2 (logic "1"), when read through the bus 5 1, slave processor (SCP) 2 status area (SA 1)
6 1 , (SA 2 ) 6 2 or data area (DA 2 ) 8 2
It is determined that the write request has been written to the status area (SA 11 ) 6 11 via the bus 5 1 and the read request signal Δrq has been deleted.
When 1 (logic “0”) is read and then the read end signal re 1 is read from the status area (SA 12 ) 6 12 via the bus 5 1 , the slave processor (SCP) 2 causes the master processor (MCP) 1 It is determined that the initial setting request information ISQ 1 transferred from is read, and the read waiting timer T 1 is stopped.

【0033】一方従プロセッサ(SCP)2は、受信し
た初期設定要求情報ISQ1 に基づく初期設定処理を完
了すると、バス52 を介してステータス領域(SA21
21に読取要求信号rq2 (論理“1”)を書込み、ま
たバス52 を介してデータ領域(DA2 )82 に初期設
定要求情報ISQ1 に基づく初期設定を完了したことを
通知する初期化完了通知情報ISE2 を書込んだ後、バ
ス52 を介して割込フラグ領域(FA2 )72 に割込フ
ラグf2 (論理“1”)を書込むと共に、読込待ちタイ
マT1 (500ミリ秒)を起動する。
On the other hand the slave processor (SCP) 2 completes the initial setting process based on the initial setting request information ISQ 1 received, the status area (SA 21) through the bus 5 2
Writing 6 21 to the read request signal rq 2 (logic "1"), also notifies the completion of the initial setting based on the data area (DA 2) 8 2 Initial setup request information ISQ 1 to via the bus 5 2 after writing the initialization completion notification information ISE 2, interrupt flag area (FA 2) via the bus 5 2 7 with writing interrupt flag f 2 (logic "1") 2, read wait timer T Start 1 (500 milliseconds).

【0034】主プロセッサ(MCP)1は、割込フラグ
領域(FA2 )72 に書込まれた割込フラグf2 (論理
“1”)を、バス51 を介して読取ると、従プロセッサ
(SCP)2がステータス領域(SA2 )62 、(SA
1 )61 またはデータ領域(DA2 )82 に書込みを行
ったと判定し、バス51 を介してステータス領域(SA
21)621から読取要求信号rq2 (論理“1”)を読取
り、続いてバス51 を介してデータ領域(DA2 )82
から初期化完了通知情報ISE2 を読取った後、ステー
タス領域(SA21)621に書込まれている読取要求信号
rq2 をバス5 1 を介して抹消し(論理“0”)(Δr
2 )、またバス51 を介してステータス領域(S
22)622に、従プロセッサ(SCP)2が書込んだ読
取要求信号rq2 および初期化完了通知情報ISE2
読取り終わったことを示す読取終了信号re2 (論理
“1”)を書込んだ後、バス51 を介して割込フラグ領
域(FA 1 )71 に割込フラグf1 (論理“1”)を書
込むと共に、応答待ちタイマT2を停止させる。
The main processor (MCP) 1 has an interrupt flag.
Area (FA2) 72Interrupt flag f written in2(logic
Take "1") to bus 51Read through the slave processor
(SCP) 2 is the status area (SA2) 62, (SA
1) 61Or data area (DA2) 82Write to
Bus 51Status area (SA
twenty one) 6twenty oneRead request signal rq2Read (logical "1")
And then bus 51Data area (DA2) 82
Initialization completion notification information ISE2After reading the
Tas area (SAtwenty one) 6twenty oneRead request signal written in
rq2The bus 5 1Erase via (logic “0”) (Δr
q2), Bus 5 again1Status area (S
Atwenty two) 6twenty twoRead by the secondary processor (SCP) 2
Take request signal rq2And initialization completion notification information ISE2To
Read end signal re indicating that the reading is completed2(logic
After writing "1"), bus 51Interrupt flag area via
Area (FA 1) 71Interrupt flag f1Write (logical “1”)
And wait for response T2To stop.

【0035】一方従プロセッサ(SCP)2は、割込フ
ラグ領域(FA1 )71 に書込まれた割込フラグf
1 (論理“1”)を、バス52 を介して読取ると、主プ
ロセッサ(MCP)1がステータス領域(SA1
1 、(SA2 )62 またはデータ領域(DA1 )81
に書込みを行ったと判定し、バス52 を介してステータ
ス領域(SA21)621から抹消済の読取要求信号Δrq
2 (論理“0”)を読取り、続いてバス52 を介してス
テータス領域(SA22)622から読取終了信号re2
読取ると、主プロセッサ(MCP)1が、従プロセッサ
(SCP)2から転送した初期化完了通知情報ISE2
を読取り終わったと判定し、読込待ちタイマT1を停止
させる。
On the other hand, the slave processor (SCP) 2 has the interrupt flag f written in the interrupt flag area (FA 1 ) 7 1.
1 (logic "1"), when read through the bus 5 2, the main processor (MCP) 1 status area (SA 1)
6 1 , (SA 2 ) 6 2 or data area (DA 1 ) 8 1
It is determined that the write request has been written to the status area (SA 21 ) 6 21 via the bus 5 2 and the read request signal Δrq has been deleted.
2 reads (logical "0"), followed by the reading completion signal re 2 read from the status area (SA 22) 6 22 via a bus 5 2, the main processor (MCP) 1 is, slave processor (SCP) 2 Initialization completion notification information ISE 2 transferred from
Has been read, and the read waiting timer T 1 is stopped.

【0036】以上により主プロセッサ(MCP)1と従
プロセッサ(SCP)2とは情報DTの転送が可能とな
る。なお情報DTの転送過程は、前述の初期設定過程に
おいて、主プロセッサ(MCP)1が初期設定要求情報
ISQ1 の代わりに情報DT1 をデータ領域(DA)8
1 に書込み、また従プロセッサ(SCP)2が初期化完
了通知情報ISE2の代わりに情報DT2 をデータ領域
(DA2 )82 に書込むことにより、図3に示される過
程で実行される為、説明を省略する。
As described above, the information DT can be transferred between the main processor (MCP) 1 and the slave processor (SCP) 2. In the transfer process of the information DT, the main processor (MCP) 1 uses the information DT 1 instead of the initial setting request information ISQ 1 in the data area (DA) 8 in the above-mentioned initial setting process.
This is executed in the process shown in FIG. 3 by writing 1 to the slave processor (SCP) 2 and writing the information DT 2 into the data area (DA 2 ) 8 2 instead of the initialization completion notification information ISE 2 . Therefore, the description is omitted.

【0037】次に、主プロセッサ(MCP)1と従プロ
セッサ(SCP)2との間の情報転送停止を、図2およ
び図4を用いて説明する。図2および図4において、従
プロセッサ(SCP)2に情報DT1 の転送を希望する
主プロセッサ(MCP)1は、図3に示される過程によ
り、ステータス領域(SA11)611に読取要求信号rq
1 (論理“1”)を書込み、またデータ領域(DA1
1 に情報DT1 を書込んだ後、割込フラグ領域(FA
1 )71 に割込フラグf1 (論理“1”)を書込むと共
に、読込待ちタイマT1 (500ミリ秒)と、応答待ち
タイマT2 (可変)とを起動する。
Next, stop of information transfer between the main processor (MCP) 1 and the slave processor (SCP) 2 will be described with reference to FIGS. 2 and 4. 2 and 4, the master processor (MCP) 1 desiring to transfer the information DT 1 to the slave processor (SCP) 2 sends a read request signal to the status area (SA 11 ) 6 11 by the process shown in FIG. rq
Write 1 (logical "1") and write data area (DA 1 )
After writing the information DT 1 in 8 1 , the interrupt flag area (FA
1 ) The interrupt flag f 1 (logical “1”) is written in 7 1 , and the read waiting timer T 1 (500 milliseconds) and the response waiting timer T 2 (variable) are started.

【0038】従プロセッサ(SCP)2は、割込フラグ
領域(FA1 )71 に書込まれた割込フラグf1 (論理
“1”)を読取ると、ステータス領域(SA11)611
ら読取要求信号rq1 (論理“1”)を読取り、続いて
データ領域(DA1 )81 から情報DT1 を読取り、図
示されぬ受信バッファに情報DT1 を書込んだ結果、最
早や情報DT1 を書込み可能な空き領域が前記受信バッ
ファに存在いないことを認識すると、ステータス領域
(SA11)611に書込まれている読取要求信号rq1
抹消し(論理“0”)(Δrq1 )、またステータス領
域(SA12)612に読取終了信号re1 (論理“1”)
を書込むと共に、更にステータス領域(SA13)6
13に、主プロセッサ(MCP)1に対して、以後情報D
1 の転送を禁止する書込不可信号ib1 (論理
“1”)を書込んだ後、割込フラグ領域(FA 2 )72
に割込フラグf2 (論理“1”)を書込む。
The slave processor (SCP) 2 has an interrupt flag.
Area (FA1) 71Interrupt flag f written in1(logic
If you read “1”, the status area (SA11) 611Or
Read request signal rq1Read (logic "1"), then
Data area (DA1) 81Information from DT1Read the figure
Information DT in the receive buffer not shown1As a result of writing
Information DT soon1The writable empty area is
Status area
(SA11) 611Read request signal rq written in1To
Erase (logical “0”) (Δrq1), Status area
Area (SA12) 612Read end signal re1(Logical "1")
And write the status area (SA13) 6
13Information for the main processor (MCP) 1
T1Write prohibition signal ib for prohibiting transfer of data1(logic
After writing "1"), the interrupt flag area (FA 2) 72
Interrupt flag f2Write (logical "1").

【0039】一方主プロセッサ(MCP)1は、割込フ
ラグ領域(FA2 )72 に書込まれた割込フラグf
2 (論理“1”)を読取ると、ステータス領域(S
11)611から抹消済の読取要求信号Δrq1 (論理
“0”)を読取り、ステータス領域(SA12)612から
読取終了信号re1 を読取ると、従プロセッサ(SC
P)2が、主プロセッサ(MCP)1から転送した情報
DT1 を読取り終わったと判定し、読込待ちタイマT1
を停止させるが、更にステータス領域(SA13)613
ら書込不可信号ib1 を読取ると、従プロセッサ(SC
P)2が以後の情報DT1 の受信を禁止していると判定
し、図示されぬ書込不可フラグを設定すると共に、書込
不可解除待ちタイマT3 (例えば3.5秒)を起動す
る。
On the other hand, the main processor (MCP) 1 has the interrupt flag f written in the interrupt flag area (FA 2 ) 7 2.
When 2 (logical “1”) is read, the status area (S
When the erased read request signal Δrq 1 (logical “0”) is read from A 11 ) 6 11 and the read end signal re 1 is read from the status area (SA 12 ) 6 12 , the slave processor (SC
P) 2 determines that it has finished reading the information DT 1 transferred from the main processor (MCP) 1, and waits for a read timer T 1
However, when the write disable signal ib 1 is read from the status area (SA 13 ) 6 13 further, the slave processor (SC
P) 2 determines that the subsequent reception of the information DT 1 is prohibited, sets a write disable flag (not shown), and activates a write disable release wait timer T 3 (for example, 3.5 seconds). ..

【0040】以後主プロセッサ(MCP)1は、従プロ
セッサ(SCP)2に対して情報DT1 の転送希望が発
生しても、前記書込不可フラグが設定されている間は、
読取要求信号rq1 、情報DT1 および割込フラグf1
の書込みは実行しない。
Thereafter, even if the main processor (MCP) 1 desires to transfer the information DT 1 to the slave processor (SCP) 2, while the write disable flag is set,
Read request signal rq 1 , information DT 1 and interrupt flag f 1
Is not executed.

【0041】一方従プロセッサ(SCP)2は、受信し
た情報DT1 に対する所定の処理を実行し、実行完了を
示す情報DT2 を、図4には図示されぬが図3に示すと
同様の過程で主プロセッサ(MCP)1に返送した結
果、以後受信する情報DT1 を書込み可能な空き領域が
前記受信バッファに生じたことを認識すると、ステータ
ス領域(SA13)613に書込み済の書込不可信号ib1
(論理“1”)を抹消した後(即ち抹消済の書込不可信
号Δib1 (論理“0”)を書込んだ後)、割込フラグ
領域(FA2 )72 に割込フラグf2 (論理“1”)を
書込む。
On the other hand, the slave processor (SCP) 2 executes a predetermined process for the received information DT 1 , and processes the information DT 2 indicating the completion of execution, which is not shown in FIG. 4 but the same process as that shown in FIG. As a result of sending back to the main processor (MCP) 1 at, as a result of recognizing that an empty area in which the information DT 1 to be subsequently received can be written is generated in the reception buffer, the written data is written in the status area (SA 13 ) 6 13. Impossible signal ib 1
(Logical "1") was deleted (i.e. deletion already write disable signal .delta.Ib 1 (logic "0") after writing a), interrupt flag area (FA 2) 7 2 to the interrupt flag f 2 Write (logical "1").

【0042】主プロセッサ(MCP)1は、割込フラグ
領域(FA2 )72 に書込まれた割込フラグf2 (論理
“1”)を読取ると、ステータス領域(SA13)613
ら抹消済の書込不可信号Δib2 (論理“0”)を読取
り、従プロセッサ(SCP)2が情報DT1 の受信禁止
を解除したと判定し、前記書込不可フラグを設定解除す
ると共に、書込不可解除待ちタイマT3 (例えば3.5
秒)を停止させる。
When the main processor (MCP) 1 reads the interrupt flag f 2 (logical "1") written in the interrupt flag area (FA 2 ) 7 2, it reads from the status area (SA 13 ) 6 13 The erased write disable signal Δib 2 (logical “0”) is read, it is determined that the slave processor (SCP) 2 has released the prohibition of reception of the information DT 1 , the write disable flag is released, and the write disable flag is written. Disable disable wait timer T 3 (eg 3.5
Seconds).

【0043】以後主プロセッサ(MCP)1は、従プロ
セッサ(SCP)2に対する情報DT1 の転送希望が発
生すると、図3に示される過程で情報DT1 を従プロセ
ッサ(SCP)2に転送する。
[0043] Thereafter the main processor (MCP) 1, when the transfer desired information DT 1 for slave processor (SCP) 2 occurs, transferring process information DT 1 to the slave processor (SCP) 2 in shown in FIG.

【0044】次に、主プロセッサ(MCP)1における
従プロセッサ(SCP)2の受信未確認を、図2および
図5を用いて説明する。図2および図5において、従プ
ロセッサ(SCP)2に情報DT1 の転送を希望する主
プロセッサ(MCP)1は、図3に示される過程によ
り、ステータス領域(SA11)611に読取要求信号rq
1 (論理“1”)を書込み、またデータ領域(DA1
1 に情報DT1 を書込んだ後、割込フラグ領域(FA
1 )71 に割込フラグf1 (論理“1”)を書込むと共
に、読込待ちタイマT1 (500ミリ秒)と、応答待ち
タイマT2 (可変)とを起動する。
Next, the unconfirmed reception of the slave processor (SCP) 2 in the main processor (MCP) 1 will be described with reference to FIGS. 2 and 5. 2 and 5, the main processor (MCP) 1 desiring to transfer the information DT 1 to the slave processor (SCP) 2 sends a read request signal to the status area (SA 11 ) 6 11 by the process shown in FIG. rq
Write 1 (logical "1") and write data area (DA 1 )
After writing the information DT 1 in 8 1 , the interrupt flag area (FA
1 ) The interrupt flag f 1 (logical “1”) is written in 7 1 , and the read waiting timer T 1 (500 milliseconds) and the response waiting timer T 2 (variable) are started.

【0045】従プロセッサ(SCP)2は、図3に示さ
れる過程によれば、割込フラグ領域(FA1 )71 に書
込まれた割込フラグf1 (論理“1”)を読取ると、ス
テータス領域(SA11)611から読取要求信号rq
1 (論理“1”)を読取り、続いてデータ領域(D
1 )81 から情報DT1 を読取った後、ステータス領
域(SA11)611に書込まれている読取要求信号rq1
を抹消し(論理“0”)(Δrq1 )、またステータス
領域(SA12)612に読取終了信号re1 (論理
“1”)を書込んだ後、割込フラグ領域(FA2 )72
に割込フラグf2 (論理“1”)を書込み、主プロセッ
サ(MCP)1が割込フラグ領域(FA)71 に書込ま
れた割込フラグf2 を読取る筈であるが、何等かの理由
で、読込待ちタイマT1が500ミリ秒の経過を検出す
る迄に、主プロセッサ(MCP)1が割込フラグf2
読取れなかったとすると、主プロセッサ(MCP)1は
従プロセッサ(SCP)2に異常が発生したと判定し、
共通メモリ10の全記憶領域を初期設定した後、図3に
示される過程に基づき、主プロセッサ(MCP)1と従
プロセッサ(SCP)2との間の初期設定を実行する。
According to the process shown in FIG. 3, when the slave processor (SCP) 2 reads the interrupt flag f 1 (logic "1") written in the interrupt flag area (FA 1 ) 7 1. , Read request signal rq from status area (SA 11 ) 6 11
1 (logical “1”) is read, then data area (D
A 1) 8 1 After reading the information DT 1 from the status area (SA 11) 6 11 to read being written request signal rq 1
Is erased (logical “0”) (Δrq 1 ), and the read end signal re 1 (logical “1”) is written in the status area (SA 12 ) 6 12 , and then the interrupt flag area (FA 2 ) 7 2
It is supposed that the interrupt flag f 2 (logical “1”) is written in and the main processor (MCP) 1 reads the interrupt flag f 2 written in the interrupt flag area (FA) 7 1 . For this reason, if the main processor (MCP) 1 cannot read the interrupt flag f 2 before the read wait timer T 1 detects the elapse of 500 milliseconds, the main processor (MCP) 1 will It is judged that an abnormality has occurred in SCP) 2,
After initializing all the storage areas of the common memory 10, initialization is performed between the main processor (MCP) 1 and the slave processors (SCP) 2 based on the process shown in FIG.

【0046】次に、主プロセッサ(MCP)1における
従プロセッサ(SCP)2の書込不可解除未確認を、図
2および図6を用いて説明する。図2および図6におい
て、従プロセッサ(SCP)2に情報DT1 の転送を希
望する主プロセッサ(MCP)1は、図3に示される過
程により、ステータス領域(SA11)611に読取要求信
号rq1 (論理“1”)を書込み、またデータ領域(D
1 )81 に情報DT1 を書込んだ後、割込フラグ領域
(FA1 )71 に割込フラグf1 (論理“1”)を書込
むと共に、読込待ちタイマT1 (500ミリ秒)と、応
答待ちタイマT2 (可変)とを起動する。
Next, unconfirmed write disable cancellation of the slave processor (SCP) 2 in the main processor (MCP) 1 will be described with reference to FIGS. 2 and 6. 2 and 6, the master processor (MCP) 1 desiring to transfer the information DT 1 to the slave processor (SCP) 2 sends a read request signal to the status area (SA 11 ) 6 11 by the process shown in FIG. Write rq 1 (logical “1”) and write data area (D
A 1) 8 1 After writing the information DT 1, the interrupt flag area (FA 1) 7 1 with writing interrupt flag f 1 (logic "1"), read wait timer T 1 (500 millimeter Seconds) and a response waiting timer T 2 (variable).

【0047】従プロセッサ(SCP)2は、割込フラグ
領域(FA1 )71 に書込まれた割込フラグf1 (論理
“1”)を読取ると、ステータス領域(SA11)611
ら読取要求信号rq1 (論理“1”)を読取り、続いて
データ領域(DA1 )81 から情報DT1 を読取り、図
示されぬ受信バッファに情報DT1 を書込んだ結果、最
早や情報DT1 を書込み可能な空き領域が前記受信バッ
ファに存在いないことを認識すると、図4におけると同
様に、ステータス領域(SA11)611に書込まれている
読取要求信号rq1 を抹消し(論理“0”)(Δr
1 )、またステータス領域(SA)612に読取終了信
号re1 (論理“1”)を書込むと共に、更にステータ
ス領域(SA13)613に書込不可信号ib1 (論理
“1”)を書込んだ後、割込フラグ領域(FA2 )72
に割込フラグf2 (論理“1”)を書込む。
When the slave processor (SCP) 2 reads the interrupt flag f 1 (logical "1") written in the interrupt flag area (FA 1 ) 7 1, it reads from the status area (SA 11 ) 6 11 read request signal rq reads 1 (logical "1"), followed by reading the information DT 1 from the data area (DA 1) 8 1, the result of writing the information DT 1 to unexpected shown receiving buffer, longer or information DT When recognizing that there is no empty area in which 1 can be written in the reception buffer, the read request signal rq 1 written in the status area (SA 11 ) 6 11 is erased (logic as in FIG. 4). “0”) (Δr
q 1), also end signal re 1 (logic "1" read in the status area (SA) 6 12) with writing, further status area (SA 13) 6 13 unwritable signal ib 1 (logic "1" ), And then the interrupt flag area (FA 2 ) 7 2
Write the interrupt flag f 2 (logic “1”) to

【0048】主プロセッサ(MCP)1は、割込フラグ
領域(FA2 )72 に書込まれた割込フラグf2 (論理
“1”)を読取ると、ステータス領域(SA11)611
ら抹消済の読取要求信号Δrq1 (論理“0”)を読取
り、ステータス領域(SA12)612から読取終了信号r
1 を読取ると、読込待ちタイマT1 を停止させるが、
更にステータス領域(SA13)613から書込不可信号i
1 を読取ると、図示されぬ書込不可フラグを設定する
と共に、書込不可解除待ちタイマT3 (例えば3.5
秒)を起動する。
When the main processor (MCP) 1 reads the interrupt flag f 2 (logical "1") written in the interrupt flag area (FA 2 ) 7 2, it reads from the status area (SA 11 ) 6 11 The erased read request signal Δrq 1 (logical “0”) is read, and the read end signal r is read from the status area (SA 12 ) 6 12.
Reading e 1, but stops the read wait timer T 1,
Further, from the status area (SA 13 ) 6 13 the write disable signal i
When b 1 is read, a write disable flag (not shown) is set and the write disable release wait timer T 3 (for example, 3.5
Second) to start.

【0049】以後主プロセッサ(MCP)1は、従プロ
セッサ(SCP)2に対して情報DT1 の転送希望が発
生しても、前記書込不可フラグが設定されている間は、
読取要求信号rq1 、情報DT1 および割込フラグf1
の書込みは実行しない。
After that, even if the main processor (MCP) 1 requests the slave processor (SCP) 2 to transfer the information DT 1 , while the write disable flag is set,
Read request signal rq 1 , information DT 1 and interrupt flag f 1
Is not executed.

【0050】かかる状態で、何等かの理由で、書込不可
解除待ちタイマT3 が3.5秒の経過を検出する迄、主
プロセッサ(MCP)1が書込不可信号ib1 の抹消を
読取れなかったとすると、主プロセッサ(MCP)1は
従プロセッサ(SCP)2に異常が発生したと判定し、
共通メモリ10の全記憶領域を初期設定した後、図3に
示される過程に基づき、主プロセッサ(MCP)1と従
プロセッサ(SCP)2との間の初期設定を実行する。
In such a state, for some reason, the main processor (MCP) 1 reads the erasure of the write disable signal ib 1 until the write disable release wait timer T 3 detects the elapse of 3.5 seconds. If not taken, the main processor (MCP) 1 determines that an abnormality has occurred in the slave processor (SCP) 2,
After initializing all the storage areas of the common memory 10, initialization is performed between the main processor (MCP) 1 and the slave processors (SCP) 2 based on the process shown in FIG.

【0051】なお、主プロセッサ(MCP)1が情報D
1 を従プロセッサ(SCP)2に転送した場合に起動
した応答待ちタイマT2 がタイムアウトした場合には、
情報DT1 およびDT2 の転送が主プロセッサ(MC
P)1と従プロセッサ(SCP)2との間で閉じている
場合には、読込待ちタイマT1 がタイムアウトした場合
と同様に、共通メモリ10の全記憶領域を初期設定した
後、主プロセッサ(MCP)1と従プロセッサ(SC
P)2との間の初期設定を実行するが、情報DT1およ
びDT2 の転送が主プロセッサ(MCP)1と従プロセ
ッサ(SCP)2との間で閉じていない場合には、従来
と同様に要求の再送または要求の破棄等を、必要に応じ
て実行する。
The main processor (MCP) 1 is the information D.
When the response waiting timer T 2 started when T 1 is transferred to the slave processor (SCP) 2 times out,
Transfer of information DT 1 and DT 2 is done by the main processor (MC
P) 1 and the slave processor (SCP) 2 are closed, the same as when the read wait timer T 1 times out, after initializing all storage areas of the common memory 10, the main processor ( MCP) 1 and slave processor (SC
While executing the initial setting between P) 2, if the forwarding information DT 1 and DT 2 is not closed between the main processor (MCP) 1 and the slave processor (SCP) 2, similarly to the conventional The request is retransmitted or the request is abandoned as necessary.

【0052】次に、主プロセッサ(MCP)1と従プロ
セッサ(SCP)2との間に転送すべき情報が存在しな
い無通信時における監視を、図2および図7を用いて説
明する。
Next, monitoring in the absence of communication in which there is no information to be transferred between the main processor (MCP) 1 and the slave processor (SCP) 2 will be described with reference to FIGS. 2 and 7.

【0053】図2および図7において、主プロセッサ
(MCP)1が従プロセッサ(SCP)2に対して転送
すべき情報DT1 が存在しない状態で、主プロセッサ
(MCP)1内の図示されぬ定期タイマがタイムアウト
すると、主プロセッサ(MCP)1は、ステータス領域
(SA11)611に読取要求信号rq1 (論理“1”)を
書込み、またデータ領域(DA1 )81 に従プロセッサ
(SCP)2の動作状態の監視を要求する為の状態監視
要求情報HC1 を書込んだ後、割込フラグ領域(F
1 )71 に割込フラグf1 (論理“1”)を書込むと
共に、読込待ちタイマT 1 (500ミリ秒)と、応答待
ちタイマT2 (可変)とを起動する。
2 and 7, the main processor
(MCP) 1 transfers to slave processor (SCP) 2
Information to be DT1Main processor in the absence of
(MCP) 1 regular timer (not shown) times out
Then, the main processor (MCP) 1 displays the status area.
(SA11) 611Read request signal rq1(Logical "1")
Writing and data area (DA1) 81According processor
(SCP) 2 status monitoring for requesting monitoring of operating status
Request information HC1After writing, the interrupt flag area (F
A1) 71Interrupt flag f1If you write (logical "1")
Both read waiting timer T 1(500 milliseconds) and wait for a response
Chi timer T2(Variable) and start.

【0054】従プロセッサ(SCP)2は、割込フラグ
領域(FA1 )71 に書込まれた割込フラグf1 (論理
“1”)を読取ると、ステータス領域(SA11)611
ら読取要求信号rq1 (論理“1”)を読取り、続いて
データ領域(DA1 )81 から状態監視要求情報HC1
を読取った後、ステータス領域(SA11)611に書込ま
れている読取要求信号rq1 を抹消し(論理“0”)
(Δrq1 )、またステータス領域(SA)612に読取
終了信号re1 (論理“1”)を書込んだ後、割込フラ
グ領域(FA2 )72 に割込フラグf2 (論理“1”)
を書込むと共に、従プロセッサ(SCP)2内の動作状
態の監視処理を実行する。
When the slave processor (SCP) 2 reads the interrupt flag f 1 (logical "1") written in the interrupt flag area (FA 1 ) 7 1, it reads from the status area (SA 11 ) 6 11 read the read request signal rq 1 (logic "1"), followed by the data area (DA 1) 8 1 from the state monitoring request information HC 1
After reading, the read request signal rq 1 written in the status area (SA 11 ) 6 11 is erased (logic “0”).
(Δrq 1 ) and after writing the read end signal re 1 (logical “1”) in the status area (SA) 6 12 , the interrupt flag f 2 (logical “1”) is written in the interrupt flag area (FA 2 ) 7 2. 1 ”)
And the monitoring process of the operating state in the slave processor (SCP) 2 is executed.

【0055】一方主プロセッサ(MCP)1は、割込フ
ラグ領域(FA2 )72 に書込まれた割込フラグf
2 (論理“1”)を読取ると、ステータス領域(S
11)611から抹消済の読取要求信号Δrq1 (論理
“0”)を読取り、続いてステータス領域(SA12)6
12から読取終了信号re1 を読取ると、読込待ちタイマ
1 を停止させる。
On the other hand, the main processor (MCP) 1 has the interrupt flag f written in the interrupt flag area (FA 2 ) 7 2.
When 2 (logical “1”) is read, the status area (S
The erased read request signal Δrq 1 (logical “0”) is read from A 11 ) 6 11 and then the status area (SA 12 ) 6
When the reading end signal re 1 is read from 12 , the reading waiting timer T 1 is stopped.

【0056】一方従プロセッサ(SCP)2は、受信し
た状態監視要求情報HC1 に基づく動作状態の監視処理
を完了すると、ステータス領域(SA21)621に読取要
求信号rq2 (論理“1”)を書込み、またデータ領域
(DA)82 に状態監視要求情報HC1 に基づく動作状
態監視結果を報告する監視状態通知情報HA2 を書込ん
だ後、割込フラグ領域(FA2 )72 に割込フラグf2
(論理“1”)を書込む。
On the other hand, when the slave processor (SCP) 2 completes the monitoring processing of the operating state based on the received status monitoring request information HC 1 , the read request signal rq 2 (logic "1") is displayed in the status area (SA 21 ) 6 21. ) writes, also after writing the monitoring mode notification information HA 2 report data area (DA) 8 2 operating state monitoring result based on the state monitoring request information HC 1, the interrupt flag area (FA 2) 7 2 Interrupt flag f 2
Write (logical "1").

【0057】主プロセッサ(MCP)1は、割込フラグ
領域(FA2 )72 に書込まれた割込フラグf2 (論理
“1”)を読取ると、ステータス領域(SA21)621
ら読取要求信号rq2 (論理“1”)を読取り、続いて
データ領域(DA2 )82 から監視状態通知情報HA2
を読取り、従プロセッサ(SCP)2の動作状態が正常
であることを確認すると、ステータス領域(SA21)6
21に書込まれている読取要求信号rq2 を抹消し(論理
“0”)(Δrq2 )、またステータス領域(SA22
22に読取終了信号re2 (論理“1”)を書込んだ
後、割込フラグ領域(FA1 )71 に割込フラグf
1 (論理“1”)を書込むと共に、応答待ちタイマT2
を停止させ、更に前記定期タイマを起動する。以上の説
明から明らかな如く、本実施例によれば、主プロセッサ
(MCP)1は従プロセッサ(SCP)2に転送すべき
初期設定要求情報ISQ1 或いは情報DT1 をデータ領
域(DA)81 に書込むと共に、読取要求信号rq1
ステータス領域(SA11)611に書込んた後、割込フラ
グf1 を割込フラグ領域(FA)71 に書込んで従プロ
セッサ(SCP)2に読取りを要求し、また従プロセッ
サ(SCP)2は、ステータス領域(SA11)611内の
読取要求信号rq1 を抹消し(Δrq1 )、またステー
タス領域(SA12)612に読取終了信号re1 を書込む
と共に、従プロセッサ(SCP)2が後続の情報DT1
の受信可否を示す書込不可信号ib1 をステータス領域
(SA13)613に書込んだ後、割込フラグf2 を割込フ
ラグ領域(FA)72 に書込んで主プロセッサ(MC
P)1に読取り結果の通知と共に、従プロセッサ(SC
P)2の情報DT1 の受信可否状態も通知している為、
主プロセッサ(MCP)1から情報DT1 を転送する際
に、従プロセッサ(SCP)2の情報DT1 の受信可否
を問合わせる手順が不要となり、直ちに情報DT1 の転
送を実行可能となり、図10に示される従来あるプロセッ
サ間通信過程に比し、書込要求信号wq、書込可応答信
号waおよび読取終了通知受信応答信号raの転送過程
を省略可能となり、プロセッサ間通信過程が大幅に簡易
化される。
When the main processor (MCP) 1 reads the interrupt flag f 2 (logical "1") written in the interrupt flag area (FA 2 ) 7 2, it reads from the status area (SA 21 ) 6 21. read request signal rq reads 2 (logical "1"), followed by the data area (DA 2) 8 2 from the monitoring mode notification information HA 2
And confirms that the operating state of the slave processor (SCP) 2 is normal, the status area (SA 21 ) 6
The read request signal rq 2 written in 21 is erased (logical “0”) (Δrq 2 ) and the status area (SA 22 )
After writing the read end signal re 2 (logic “1”) to 6 22 , the interrupt flag f is written in the interrupt flag area (FA 1 ) 7 1.
Write 1 (logical “1”) and wait for response wait timer T 2
Is stopped and the periodic timer is started. As is clear from the above description, according to the present embodiment, the main processor (MCP) 1 stores the initial setting request information ISQ 1 or information DT 1 to be transferred to the slave processor (SCP) 2 in the data area (DA) 8 1. with written into the read request signal rq 1 status area (SA 11) 6 11 after written to the interrupt flag area the interrupt flag f 1 (FA) 7 write crowded in accordance processor 1 (SCP) 2 The slave processor (SCP) 2 erases the read request signal rq 1 in the status area (SA 11 ) 6 11 (Δrq 1 ) and finishes the reading in the status area (SA 12 ) 6 12. When the signal re 1 is written, the slave processor (SCP) 2 sends the subsequent information DT 1
Of the main processor (MC) after writing the write disable signal ib 1 indicating whether or not to receive in the status area (SA 13 ) 6 13 and then writing the interrupt flag f 2 in the interrupt flag area (FA) 7 2.
P) 1 with the notification of the read result and the slave processor (SC
P) Since it also notifies the receivability status of the information DT 1 of 2,
When the information DT 1 is transferred from the main processor (MCP) 1, a procedure for inquiring whether the information DT 1 of the slave processor (SCP) 2 can be received is not necessary, and the information DT 1 can be immediately transferred. Compared to the conventional inter-processor communication process shown in FIG. 2, the transfer process of the write request signal wq, the write enable response signal wa, and the read end notification reception response signal ra can be omitted, and the inter-processor communication process is greatly simplified. To be done.

【0058】なお、図2乃至図7はあく迄本発明の一実
施例に過ぎず、例えば共通記憶手段200は図示される
共通メモリ10に限定されることは無く、他に幾多の変
形が考慮されるが、何れの場合にも本発明の効果は変わ
らない。また本発明の対象となるマルチプロセッサシス
テムは、図示されるものに限定されぬことは言う迄も無
い。
It should be noted that FIGS. 2 to 7 are merely examples of the present invention, and the common storage means 200 is not limited to the common memory 10 shown in the figure, for example, and various modifications are considered. However, the effect of the present invention does not change in any case. It goes without saying that the multiprocessor system which is the object of the present invention is not limited to the one shown in the figure.

【0059】[0059]

【発明の効果】以上、本発明によれば、前記マルチプロ
セッサシステムにおいて、各プロセッサは、互いに情報
転送先のプロセッサが転送される情報を受信可能な状態
にあるか否かを予め認識しており、情報を転送する度に
確認する必要が無くなる為、プロセッサ間の情報転送手
順が大幅に簡易化され、その結果情報転送効率も向上
し、プロセッサの負荷も減少する。
As described above, according to the present invention, in the multiprocessor system, each processor recognizes in advance whether or not the information transfer destination processor can receive the transferred information. Since it is not necessary to check each time information is transferred, the information transfer procedure between processors is greatly simplified, resulting in improved information transfer efficiency and reduced processor load.

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

【図1】 本発明の原理を示す図FIG. 1 is a diagram showing the principle of the present invention.

【図2】 本発明の一実施例によるマルチプロセッサシ
ステムを示す図
FIG. 2 is a diagram showing a multiprocessor system according to an embodiment of the present invention.

【図3】 図2におけるプロセッサ間通信過程(初期設
定、情報転送)の一例を示す図
FIG. 3 is a diagram showing an example of an inter-processor communication process (initial setting, information transfer) in FIG.

【図4】 図2におけるプロセッサ間通信過程(情報転
送停止)の一例を示す図
4 is a diagram showing an example of an inter-processor communication process (information transfer stop) in FIG.

【図5】 図2におけるプロセッサ間通信過程(受信未
確認)の一例を示す図
FIG. 5 is a diagram showing an example of an inter-processor communication process (reception unconfirmed) in FIG.

【図6】 図2におけるプロセッサ間通信過程(書込不
可解除未確認)の一例を示す図
FIG. 6 is a diagram showing an example of an inter-processor communication process (write disable cancellation unconfirmed) in FIG. 2;

【図7】 図2におけるプロセッサ間通信過程(無通信
時監視)の一例を示す図
7 is a diagram showing an example of an inter-processor communication process (monitoring during non-communication) in FIG.

【図8】 従来あるマルチプロセッサシステムの一例を
示す図
FIG. 8 is a diagram showing an example of a conventional multiprocessor system.

【図9】 図8におけるプロセッサ間通信過程(初期設
定)の一例を示す図
9 is a diagram showing an example of an inter-processor communication process (initial setting) in FIG.

【図10】 図8におけるプロセッサ間通信過程(情報転
送)の一例を示す図
10 is a diagram showing an example of an inter-processor communication process (information transfer) in FIG.

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

1 主プロセッサ(MCP) 2 従プロセッサ(SCP) 3 制御フィールドレジスタ(CFR) 4 データ領域(DA) 5 バス 6 ステータス領域(SA) 7 割込フラグ領域(FA) 8 データ領域(DA) 10 共通メモリ 100 プロセッサ 200 共通記憶手段 201 情報 202 情報書込通知信号 1 Main Processor (MCP) 2 Slave Processor (SCP) 3 Control Field Register (CFR) 4 Data Area (DA) 5 Bus 6 Status Area (SA) 7 Interrupt Flag Area (FA) 8 Data Area (DA) 10 Common Memory 100 processor 200 common storage means 201 information 202 information writing notification signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセッサ(100)間で情報
(201)を転送するマルチプロセッサシステムにおい
て、 前記プロセッサ(100)間に、転送元のプロセッサ
(100)が転送先のプロセッサ(100)に対して転
送すべき情報(201)と、前記情報(201)を書込
んだことを通知する情報書込通知信号(202)とを書
込み、前記転送先のプロセッサ(100)が、前記情報
書込通知信号(202)が書込まれたことにより、自プ
ロセッサ(100)宛の情報(201)が書込まれたこ
とを検出し、前記情報(201)を読取った後、前記転
送元のプロセッサ(100)に、前記情報(201)を
読取り終わったことを示す情報(201)と、以後前記
情報(201)を受信可能状態にあるか否かを示す情報
(201)と、前記情報(201)を書込んだことを通
知する情報書込通知信号(202)とを書込む共通記憶
手段(200)を設けることを特徴とするプロセッサ間
通信方式。
1. A multiprocessor system for transferring information (201) between a plurality of processors (100), wherein a transfer source processor (100) is transferred to a transfer destination processor (100) between the processors (100). The information (201) to be transferred and the information write notification signal (202) notifying that the information (201) has been written, and the processor (100) of the transfer destination writes the information write notification. When the signal (202) is written, it is detected that the information (201) addressed to the own processor (100) is written, the information (201) is read, and then the processor (100) of the transfer source is read. ), Information (201) indicating that the information (201) has been read, information (201) indicating whether or not the information (201) can be received thereafter, and Inter-processor communication method is characterized by providing information information write notification signal notifying that the writing the (201) (202) and the writing common storage means (200).
【請求項2】 前記共通記憶手段(200)は、前記転
送元のプロセッサ(100)が記憶領域内の定められた
領域に1ビットから成る情報(201)を書込むことに
より、予め定められた種別の情報(201)を前記転送
先のプロセッサ(100)に転送することを特徴とする
請求項1記載のプロセッサ間通信方式。
2. The common storage means (200) is predetermined by the transfer source processor (100) writing 1-bit information (201) in a predetermined area in a storage area. The interprocessor communication system according to claim 1, wherein the type information (201) is transferred to the transfer destination processor (100).
JP12237192A 1992-05-15 1992-05-15 Inter-processor communication system Withdrawn JPH05324568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12237192A JPH05324568A (en) 1992-05-15 1992-05-15 Inter-processor communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12237192A JPH05324568A (en) 1992-05-15 1992-05-15 Inter-processor communication system

Publications (1)

Publication Number Publication Date
JPH05324568A true JPH05324568A (en) 1993-12-07

Family

ID=14834200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12237192A Withdrawn JPH05324568A (en) 1992-05-15 1992-05-15 Inter-processor communication system

Country Status (1)

Country Link
JP (1) JPH05324568A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112908A (en) * 1998-02-11 2000-09-05 Rentiers Machinery Pty, Ltd. Membrane laminates and methods for their preparation
JP2006201946A (en) * 2005-01-19 2006-08-03 Fujitsu Ltd Inter-processor communication equipment
JP2009048429A (en) * 2007-08-20 2009-03-05 Sony Corp Information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112908A (en) * 1998-02-11 2000-09-05 Rentiers Machinery Pty, Ltd. Membrane laminates and methods for their preparation
JP2006201946A (en) * 2005-01-19 2006-08-03 Fujitsu Ltd Inter-processor communication equipment
JP2009048429A (en) * 2007-08-20 2009-03-05 Sony Corp Information processing system

Similar Documents

Publication Publication Date Title
EP0166272B1 (en) Processor bus access
EP0196331B1 (en) Method of and arrangement for ordering of multiprocessor operations in a multiprocessor system
US6694390B1 (en) Managing bus transaction dependencies
US6108693A (en) System and method of data communication in multiprocessor system
US5625795A (en) Exclusive control unit for a resource shared among computers
US6141715A (en) Method and system for avoiding live lock conditions on a computer bus by insuring that the first retired bus master is the first to resubmit its retried transaction
US7500059B2 (en) Inter-processor communication method using a shared cache memory in a storage system
JPS5827222A (en) Status information transfer
JPH05324568A (en) Inter-processor communication system
US6742089B1 (en) Access controller and access method for controlling access from a CPU to a memory based on use states of plural access ports
US5951662A (en) Single latch semaphore register device for multi-processor systems
EP0169909B1 (en) Auxiliary memory device
JPH04305741A (en) Data base input/output control system
JP3335726B2 (en) Data protection device in multiprocessor system
JPH10198644A (en) Synchronous control method and multi-processor system
JPH05289987A (en) Bus right arbitrating circuit
JPH05314061A (en) Bus interface control system
JPH07234850A (en) Device and method for multiprocessor system
JP3594952B2 (en) A link between the central system and the satellite system to perform operations of the central system
JPH06208547A (en) Communication controller
JPH0424733B2 (en)
JP2825889B2 (en) Deadlock avoidance circuit in multiprocessor system
JPH03122734A (en) External storage control device
JPH09190414A (en) Decentralized computer system with data conflict preventing device
JPH04264653A (en) Inter-processor communication system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803