JPH02210570A - Inter-processor communication system - Google Patents

Inter-processor communication system

Info

Publication number
JPH02210570A
JPH02210570A JP3148289A JP3148289A JPH02210570A JP H02210570 A JPH02210570 A JP H02210570A JP 3148289 A JP3148289 A JP 3148289A JP 3148289 A JP3148289 A JP 3148289A JP H02210570 A JPH02210570 A JP H02210570A
Authority
JP
Japan
Prior art keywords
information
completion
port memory
dual port
initialization
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
JP3148289A
Other languages
Japanese (ja)
Inventor
Yasuo Nakajima
康夫 中島
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 Dai Ichi Communications Software Ltd
Original Assignee
Fujitsu Dai Ichi Communications Software 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 Dai Ichi Communications Software Ltd filed Critical Fujitsu Dai Ichi Communications Software Ltd
Priority to JP3148289A priority Critical patent/JPH02210570A/en
Publication of JPH02210570A publication Critical patent/JPH02210570A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To communicate information including the report of completion of initialization of the dual port memory between two processors and to improve economization of an information processing system by providing only a dual port memory. CONSTITUTION:After an initializing means 101 completes initialization of a dual port memory 3, an initialization completion reporting means 102 periodically stores completion information in a completion information storage area 301 and monitors stored contents of a confirmation information storage area 302 and detects initialization completion confirmation information stored by the other processor 2 to stop storage of completion information. Inter-processor information transfer means 103 and 203 store control information required for communication in a transfer information set area 303 of a dual port memory 3 at the time of mutual communication. Thus, only the dual port memory is provided for two processors to completely eliminate a need of a control register, a peripheral circuit, or the like, and economization of the information processing system is improved.

Description

【発明の詳細な説明】 〔概要〕 二組の処理装置がデュアルポートメモリを介して相互に
通信を行う情報処理システムにおける処理装置間通信方
式に関し、 デュアルポートメモリを介して二組の処理装置が相互に
通信を行う情報処理システムの経済性を、極力向上する
ことを目的とし、 一方の処理装置に、デュアルポートメモリの記憶領域を
初期化する初期化手段と、初期化手段がデュアルポート
メモリの初期化を完了した後に、デュアルポートメモリ
の初期化完了を通知する完了情報を、デュアルポートメ
モリ内の予め定められた完了情報格納領域に周期的に格
納すると共に、デュアルポートメモリ内の予め定められ
た確認情報格納領域の格納内容を監視し、他方の処理装
置が格納したデュアルポートメモリの初期化完了を確認
したことを示す完了確認情報を検出した場合に、完了情
報格納領域に対する完了情報の格納を停止する初期化完
了通知手段とを設け、他方の処理装置に、デュアルポー
トメモリ内の完了情報格納領域の格納内容を一旦抹消し
た後、完了情報格納領域の格納内容を監視する初期化完
了監視手段と、初期化完了監視手段が完了情報格納領域
内に完了情報を検出した場合に、完了確認情報を確認情
報格納領域に格納する完了確認通知手段とを設け、且つ
各処理装置に、デュアルポートメモリを介して相互に通
信を行う場合に、デュアルポートメモリ内の予め定めら
れた転送情報格納領域に、通信に必要とする制御情報を
格納する処理装置間情報転送手段をそれぞれ設ける様に
構成する。
[Detailed Description of the Invention] [Summary] Regarding an inter-processing device communication method in an information processing system in which two sets of processing devices communicate with each other via a dual port memory, the two sets of processing devices communicate with each other via a dual port memory. With the aim of improving the economic efficiency of information processing systems that communicate with each other as much as possible, one processing unit has an initialization means for initializing the storage area of the dual-port memory, and an initialization means that initializes the dual-port memory storage area. After the initialization is completed, completion information notifying completion of initialization of the dual port memory is periodically stored in a predetermined completion information storage area in the dual port memory, and When completion confirmation information indicating that initialization of the dual port memory stored in the other processing device has been confirmed is detected, the completion information is stored in the completion information storage area. an initialization completion notification means for stopping the process, and an initialization completion monitoring unit that monitors the storage contents of the completion information storage area after once deleting the storage contents of the completion information storage area in the dual port memory in the other processing device. and completion confirmation notification means for storing completion confirmation information in the confirmation information storage area when the initialization completion monitoring unit detects completion information in the completion information storage area, and each processing device is provided with a dual port. When communicating with each other via the memory, a predetermined transfer information storage area in the dual port memory is provided with inter-processing device information transfer means for storing control information necessary for communication. .

〔産業上の利用分野〕[Industrial application field]

本発明は、二組の処理装置がデュアルポートメモリを介
して相互に通信を行う情報処理システムにおける処理装
置間通信方式に関する。
The present invention relates to an inter-processing device communication method in an information processing system in which two sets of processing devices communicate with each other via a dual port memory.

複数の処理装置を使用するマルチプロセッサ形式の情報
処理システムにおいて、二組の独立したアクセス系統(
ポート)を有するデュアルポートメモリが、二組の処理
装置が相互に通信を行う為に有効に利用されている。
In a multiprocessor type information processing system that uses multiple processing units, two sets of independent access systems (
A dual-port memory having a dual port (port) is effectively used to allow two sets of processing devices to communicate with each other.

〔従来の技術〕[Conventional technology]

第5図は従来ある情報処理システムの一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a conventional information processing system.

第5図において、二組の処理装置(CPU)1および2
が相互に通信を行う為に、−組のデュアルポートメモリ
 (DPM)3の他に二組の制御用レジスタ(REG)
4および5が設けられている。
In FIG. 5, two sets of processing units (CPUs) 1 and 2
In order to communicate with each other, there are two sets of control registers (REG) in addition to the - set of dual port memory (DPM) 3.
4 and 5 are provided.

例えば処理装置(CPU)1が電源投入時にデュアルポ
ートメモリ (DPM)3の初期化を行うものとすると
、先ず処理装置(CPU)1は制御用レジスタ(REG
)4の蓄積内容が電源投入時に論理“0”にリセットさ
れた状態で、デュアルポートメモリ (DPM)3の記
憶領域の初期化を開始する。
For example, if the processing unit (CPU) 1 initializes the dual port memory (DPM) 3 when the power is turned on, the processing unit (CPU) 1 first initializes the control register (REG).
) 4 is reset to logic "0" when the power is turned on, initialization of the storage area of the dual port memory (DPM) 3 is started.

一方処理装置(CPU)2は、制御用レジスタ(REG
)4の蓄積内容を監視し、蓄積内容が論理“0″である
間は、デュアルポートメモリ (DPM)3を用いて処
理装置(CPU)1に対する通信を開始しない。
On the other hand, the processing unit (CPU) 2 has a control register (REG).
) 4 and does not start communication with the processing unit (CPU) 1 using the dual port memory (DPM) 3 while the stored content is at logic "0".

やがてデュアルポートメモリ (DPM)3の全記憶領
域の初期化を完了した処理装置(CP U)1は、制御
用レジスタ(REG)4にデュアルポートメモリ (D
PM)3の初期化完了を示す完了情報C+  (≠“O
″)を蓄積する。
Eventually, the processing unit (CPU) 1 completes the initialization of the entire storage area of the dual port memory (DPM) 3, and the dual port memory (DPM) 3 is stored in the control register (REG) 4.
Completion information C+ (≠“O
″).

処理装置(CPU)2は、制御用レジスタ(REG)4
に完了情報CIが蓄積されたことを検出すると、デュア
ルポートメモリ (DPM)3の初期化完了を確認し、
以後デュアルポートメモリ(DPM)3を用いて処理装
置(CP’U)1に対する通信を開始する。
The processing unit (CPU) 2 includes a control register (REG) 4
When it detects that the completion information CI has been accumulated in the
Thereafter, communication with the processing unit (CP'U) 1 is started using the dual port memory (DPM) 3.

例えば処理装置(CPU)2が処理装置(CPU)1に
対して成るコマンドCを転送する場合には、デュアルポ
ートメモリ (DPM)3内の、処理装置(CPU)2
から処理装置(CPU)1への転送情報を格納するデー
タ領域A p zにコマンドCを格納した後、制御用レ
ジスタ(REG)5に、デュアルポートメモリ (DP
M)3のデータ領域A12に転送情報が格納されている
ことを示す通知フラグF。を蓄積する。
For example, when the processing device (CPU) 2 transfers a command C to the processing device (CPU) 1, the processing device (CPU) 2 in the dual port memory (DPM) 3
After storing the command C in the data area A p z that stores the transfer information from to the processing unit (CPU) 1, the command
M) A notification flag F indicating that transfer information is stored in the data area A12 of 3. Accumulate.

処理装置(CPU)1は、制御用レジスフ(REG)5
の蓄積内容を監視しており、通知フラグF、が蓄積され
たことを検出すると、デュアルポートメモリ (DPM
)3のデータ領域AD2に格納されているコマンドCを
抽出し、コマンドCにより指定された処理を実行した後
、コマンドCに基づく処理結果を示す応答情aRをデュ
アルポートメモリ (DPM)3の、処理語!(CPU
)1から処理装置(CPU)2への転送情報を格納する
データ領域A p 1に格納した後、制御用レジスタ(
REG)4に、デュアルポートメモリ (DPM)3の
データ領域A□に転送情報が格納されていることを示す
応答フラグFlを蓄積する。
The processing device (CPU) 1 includes a control register (REG) 5
It monitors the accumulated contents of the dual port memory (DPM), and when it detects that the notification flag F is accumulated, it
) 3 is extracted, and after executing the process specified by the command C, response information aR indicating the processing result based on the command C is sent to the dual port memory (DPM) 3. Processing words! (CPU
) 1 to the processing unit (CPU) 2 in the data area A p 1, the control register (
REG) 4, a response flag Fl indicating that transfer information is stored in the data area A□ of the dual port memory (DPM) 3 is stored.

制御用レジスタ(REG)4の蓄積内容を監視している
処理装置(CPU)2は、制御用レジスタ(REG)4
に応答フラグF、が蓄積されたことを検出すると、デュ
アルポートメモリ (DPM)3のデータ領域AD+に
格納されている応答情報Rを抽出し、処理装置(CPU
)1によるコマンドCの処理結果を確認する。
The processing unit (CPU) 2 that monitors the accumulated contents of the control register (REG) 4 controls the control register (REG) 4.
When it is detected that the response flag F is accumulated in the data area AD+ of the dual port memory (DPM) 3, the response information R stored in the data area AD+ of the dual port memory (DPM) 3 is extracted and the processing unit (CPU
) Check the processing result of command C according to 1.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

以上の説明から明らかな如く、従来ある情報処理システ
ムにおいては、処理装置(CPU)1および2がデュア
ルポートメモリ (DPM)3を介して通信を行う為に
、制御用レジスフ(REG)4および5を設ける必要が
あり、更に制御用レジスタ(REG)4および5に関連
するアドレスデコーダ等の周辺回路が増加し、当該情報
処理システムの経済性を損なう問題点があった。
As is clear from the above description, in a conventional information processing system, control registers (REGs) 4 and 5 are used to communicate between processing units (CPUs) 1 and 2 via dual port memory (DPM) 3. Furthermore, the number of peripheral circuits such as address decoders related to the control registers (REGs) 4 and 5 is increased, which poses a problem that reduces the economic efficiency of the information processing system.

なお制御用レジスタ(REG)4および5の代わりに、
デュアルポートメモリ (DPM)3の特定領域を流用
することも考慮されるが、電源投入時には、デュアルポ
ートメモリ (DPM)3の記憶内容は不確定となり、
制御用レジスタ(REG)4および5の如く論理“0”
に設定されるとは限らぬ為、前述の如く一方の処理装置
(CPU)1によるデュアルポートメモリ (DPM)
3の初期化の完了を、他方の処理装置(CPU)2に伝
達する為の解決策とはならない。
Note that instead of control registers (REG) 4 and 5,
Although reusing a specific area of the dual port memory (DPM) 3 may be considered, the memory contents of the dual port memory (DPM) 3 will be uncertain when the power is turned on.
Logic “0” like control registers (REG) 4 and 5
Therefore, as mentioned above, one processing unit (CPU) 1 uses dual port memory (DPM).
This is not a solution for transmitting the completion of initialization of No. 3 to the other processing unit (CPU) 2.

本発明は、デュアルポートメモリを介して二組の処理装
置が相互に通信を行う情報処理システムの経済性を、極
力向上することを目的とする。
An object of the present invention is to improve as much as possible the economic efficiency of an information processing system in which two sets of processing devices communicate with each other via a dual port memory.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、1および2は本発明の対象となる情報
処理システムを構成する二組の処理装置であり、3は処
理装置1および2が相互に通信を行う為に使用されるデ
ュアルポートメモリである。
In FIG. 1, 1 and 2 are two sets of processing devices constituting an information processing system that is the object of the present invention, and 3 is a dual port memory used by the processing devices 1 and 2 to communicate with each other. It is.

101は、本発明により一方の処理装置1に設けられた
初期化手段である。
Reference numeral 101 denotes initialization means provided in one of the processing apparatuses 1 according to the present invention.

102は、本発明により一方の処理装置1に設けられた
初期化完了通知手段である。
Reference numeral 102 denotes initialization completion notification means provided in one of the processing devices 1 according to the present invention.

201は、本発明により他方の処理装置2に設けられた
初期化完了監視手段である。
201 is initialization completion monitoring means provided in the other processing device 2 according to the present invention.

202は、本発明により他方の処理装置2に設けられた
完了確認通知手段である。
202 is a completion confirmation notification means provided in the other processing device 2 according to the present invention.

103および203は、本発明により各処理装置1およ
び2に設けられた処理装置間情報転送手段である。
103 and 203 are inter-processing device information transfer means provided in each of the processing devices 1 and 2 according to the present invention.

301.302および303は、それぞれ本発明により
デュアルポートメモリ3内に設けられた完了情報設定領
域、確認情報設定領域および転送情報設定領域である。
301, 302, and 303 are a completion information setting area, a confirmation information setting area, and a transfer information setting area, respectively, provided in the dual port memory 3 according to the present invention.

〔作用〕[Effect]

初期化手段101は、デュアルポートメモリ3の記憶領
域を初期化する。
Initialization means 101 initializes the storage area of dual port memory 3.

初期化完了通知手段102は、初期化手段101がデュ
アルポートメモリ3の初期化を完了した後に、デュアル
ポートメモリ3の初期化完了を通知する完了情報C1を
、デュアルポートメモリ3内の予め定められた完了情報
格納領域301に周期的に格納すると共に、デュアルポ
ートメモリ3内の予め定められた確認情報格納領域30
2の格納内容を監視し、他方の処理装置2が格納したデ
ュアルポートメモリ3の初期化完了を確認したことを示
す完了確認情報R1を検出した場合に、完了情報格納領
域301に対する完了情報C1の格納を停止する。
After the initialization means 101 completes the initialization of the dual port memory 3, the initialization completion notification means 102 sends completion information C1 notifying completion of initialization of the dual port memory 3 to a predetermined location in the dual port memory 3. The confirmation information storage area 301 in the dual port memory 3 is periodically stored in the completion information storage area 301.
2, and when completion confirmation information R1 indicating that initialization of the dual port memory 3 stored in the other processing device 2 has been confirmed is detected, the completion information C1 for the completion information storage area 301 is detected. Stop storage.

初期化完了監視手段201は、他方の処理装置2に、デ
ュアルポートメモリ3内の完了情報格納領域301の格
納内容を一旦抹消した後、該完了情報格納領域301の
格納内容を監視する。
The initialization completion monitoring means 201 causes the other processing device 2 to once delete the stored contents of the completion information storage area 301 in the dual port memory 3, and then monitors the stored contents of the completion information storage area 301.

完了確認通知手段202は、初期化完了監視手段201
が完了情報格納領域301内に完了情報C1を検出した
場合に、完了確認情報R1を確認情報格納領域302に
格納する。
Completion confirmation notification means 202 is initialization completion monitoring means 201
When the completion information C1 is detected in the completion information storage area 301, the completion confirmation information R1 is stored in the confirmation information storage area 302.

処理装置間情報転送手段103および203は、デュア
ルポートメモリ3を介して相互に通信を行う場合に、デ
ュアルポートメモリ3内の転送情報設定領域303に、
通信に必要とする制御情報を格納する。
When the inter-processing device information transfer means 103 and 203 communicate with each other via the dual port memory 3, the transfer information setting area 303 in the dual port memory 3 has the following information:
Stores control information required for communication.

従って、二組の処理装置が、デュアルポートメモリのみ
を設けることにより、デュアルポートメモリの初期化の
完了通知も含めて相互間で通信を行うことが可能となり
、制御用レジスタおよび周辺回路等が一切不要となり、
当該情報処理システムの経済性が向上する。
Therefore, by providing only dual-port memory, two sets of processing devices can communicate with each other, including notification of completion of dual-port memory initialization, and control registers and peripheral circuits are completely eliminated. No longer needed,
The economic efficiency of the information processing system is improved.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による情報処理システムを示
す図であり、第3図は第2図における初期化処理を例示
する図であり、第4図は第2図における処理装置間通信
処理を例示する図である。なお、企図を通じて同一符号
は同一対象物を示す。
FIG. 2 is a diagram showing an information processing system according to an embodiment of the present invention, FIG. 3 is a diagram illustrating the initialization process in FIG. 2, and FIG. 4 is a diagram showing inter-processing device communication in FIG. It is a figure which illustrates a process. Note that the same reference numerals refer to the same objects throughout the plan.

第2図においては、第1図における初期化手段101お
よび初期化完了通知手段102として初期化部11およ
び初期完了通知部12が処理装置(CPU)1内に設け
られ、また第1図における初期化完了監視手段201お
よび完了確認通知手段202として初期完了監視部21
および完了確認通知部22が処理装置(CPU)2内に
設けられ、また第1図における処理装置間情報転送手段
103および203として、送信通知部14および応答
部16が処理装置(CPU)1内に、送信通知部26お
よび応答部24が処理装置(CPU)2内にそれぞれ設
けられ、更に第1図における完了情報格納領域301、
確認情報格納領域302および転送情報格納領域303
として制御領域AC,およびAC2がデュアルポートメ
モリ (DPM)3内に設けられている。
In FIG. 2, an initialization unit 11 and an initial completion notification unit 12 are provided in the processing unit (CPU) 1 as the initialization unit 101 and initialization completion notification unit 102 in FIG. The initial completion monitoring unit 21 serves as the conversion completion monitoring unit 201 and the completion confirmation notification unit 202.
and a completion confirmation notification section 22 are provided in the processing device (CPU) 2, and a transmission notification section 14 and a response section 16 are provided in the processing device (CPU) 1 as inter-processing device information transfer means 103 and 203 in FIG. In addition, a transmission notification unit 26 and a response unit 24 are provided in the processing unit (CPU) 2, and a completion information storage area 301 in FIG.
Confirmation information storage area 302 and transfer information storage area 303
Control areas AC and AC2 are provided within the dual port memory (DPM) 3.

なお第2図においても、処理装置(CPU)1が電源投
入時にデュアルポートメモリ (DPM)3の初期化を
実行するものとする。
Also in FIG. 2, it is assumed that the processing unit (CPU) 1 initializes the dual port memory (DPM) 3 when the power is turned on.

第2図乃至第4図において、処理装置(CPU)1は電
源投入時に初期化部11を起動し、デュアルポートメモ
リ (DPM)3の記憶領域の初期化を開始しく第3図
ステップ311)、デュアルポートメモリ (DPM)
3の全記憶領域の初期化を完了すると(ステップ512
)、初期完了通知部12を起動する。
2 to 4, the processing unit (CPU) 1 activates the initialization unit 11 when the power is turned on, and starts initializing the storage area of the dual port memory (DPM) 3 (step 311 in FIG. 3). Dual port memory (DPM)
3 completes the initialization of all storage areas (step 512
), the initial completion notification unit 12 is activated.

起動された初期完了通知部12は、デュアルポートメモ
リ (DPM)3内に処理袋fi(CPU)2が処理装
置(CPU)1に転送する制御情報の格納領域として予
め定められている制御領域A。2の格納内容を監視しく
ステップ513)、処理装置(CPU)2がデュアルポ
ートメモリ (DPM)3の初期化完了を確認したこと
を示す完了確認情報R1を格納する迄(ステップ514
)、デュアルポートメモリ (DPM)3の制御領域A
c+に、デュアルポートメモリ (DPM)3の初期化
完了を示す完了情報C1を繰返し格納する(ステップ5
15)。
The activated initial completion notification unit 12 uses a control area A predetermined in the dual port memory (DPM) 3 as a storage area for control information to be transferred by the processing bag fi (CPU) 2 to the processing device (CPU) 1. . 2 (step 513) until the processing unit (CPU) 2 stores completion confirmation information R1 indicating that the dual port memory (DPM) 3 initialization has been completed (step 514).
), control area A of dual port memory (DPM) 3
Completion information C1 indicating completion of initialization of dual port memory (DPM) 3 is repeatedly stored in c+ (step 5
15).

一方処理装置(CPU)2は、電源投入時に初期完了監
視部21を起動し、デュアルポートメモリ(DPM)3
の制御領域Actに完了情報C1以外の情報を格納する
ことにより完了情報C1を一旦抹消した後(ステップ5
21)、制御領域Ac+の格納内容を監視しくステップ
522)、完了情報C1が検出される迄、デュアルポー
トメモリ(DPM)3の初期化が未完了と判定しくステ
ップ523)、デュアルポートメモリ (DPM)3を
介する処理装置(CPU)1への通信を開始しない。
On the other hand, the processing unit (CPU) 2 starts the initial completion monitoring unit 21 when the power is turned on, and the dual port memory (DPM) 3
After once erasing the completion information C1 by storing information other than the completion information C1 in the control area Act of
21), the contents stored in the control area Ac+ are monitored (step 522), and the initialization of the dual port memory (DPM) 3 is determined to be incomplete until the completion information C1 is detected (step 523), the dual port memory (DPM) ) 3 to the processing unit (CPU) 1 is not started.

やがて処理装置(cps)1の初期化部11がデュアル
ポートメモリ (DPM)3の全記憶領域の初期化を完
了し、初期完了通知部12がデュアルポートメモリ (
DPM)3の制′a領域A (Hに完了情報C1を格納
すると、処理装置(CPU)2の初期完了監視部21は
制御領域Ac1内に完了情報C1を検出し、デュアルポ
ートメモリ (DPM)3の初期化完了を確認すると(
ステップ523)、完了確認通知部22を起動する。
Eventually, the initialization unit 11 of the processing device (cps) 1 completes the initialization of all storage areas of the dual port memory (DPM) 3, and the initial completion notification unit 12 completes the initialization of the entire storage area of the dual port memory (DPM) 3.
When the completion information C1 is stored in the control area A (H) of the DPM) 3, the initial completion monitoring unit 21 of the processing unit (CPU) 2 detects the completion information C1 in the control area Ac1, and the dual port memory (DPM) After confirming the completion of initialization in step 3 (
Step 523), the completion confirmation notification section 22 is activated.

起動された完了確認通知部22は、デュアルポートメモ
リ(DPM)3の制御領域Aczに、処理装置(CPU
)2がデュアルポートメモリ (DPM)3の初期化完
了を1mしたことを示す完了確認情報R1を格納しくス
テップ524)、以後デュアルポートメモリ (DPM
)3を用いて処理装置(CPU)1に対する通信を開始
する。
The activated completion confirmation notification unit 22 sends information to the control area Acz of the dual port memory (DPM) 3 from the processing device (CPU).
) 2 stores completion confirmation information R1 indicating that the initialization of the dual port memory (DPM) 3 has been completed within 1 m.
) 3 to start communication with the processing device (CPU) 1.

かかる状態で、処理装置(CPU)1においては、初期
完了通知部12がデュアルポートメモリ(DPM)3の
制御領域A。2内に完了確認情報R0を検出すると(ス
テップ514)、処理装置(CPU)2がデュアルポー
トメモリ (DPM)3の初期化完了を確認したと判定
し、デュアルポー)メモIJ  (DPM)  317
)制′aw4域AcIに対する完了情報C1の格納を停
止し、以後デュアルポートメモリ (DPM)3を用い
て処理装f(CPU)2に対する通信を開始する。
In this state, in the processing device (CPU) 1, the initial completion notification unit 12 is activated in the control area A of the dual port memory (DPM) 3. 2 (step 514), the processing unit (CPU) 2 determines that it has confirmed that the initialization of the dual port memory (DPM) 3 is completed, and the dual port memory (DPM) 317
) Stops storing the completion information C1 in the aw4 area AcI, and thereafter starts communication with the processing unit f (CPU) 2 using the dual port memory (DPM) 3.

例えば処理装!(CPLI)1が処理装置(CPU)2
に対して成るコマンドCを転送する場合には、送信部1
3を起動してデュアルポートメモリ(DPM)3内の、
処理装置(CPU)1から処理装置(cpu)2への転
送情報を格納するデータ領域Aゎ、にコマンドCを格納
した後(第4図ステップ5101)、送信通知部14を
起動してデュアルポートメモリ (DPM)3の制御領
域Ac+に、デュアルポートメモリ (DPM)3のデ
ータ領域ADIに転送情報が格納されていることを示す
通知フラグF。を格納しくステップ3102)、更にデ
ュアルポートメモリ (DPM)3の制御領域AC2に
おける、応答フラグFRの有無を監視すG る(ステップ5I03)。
For example, processing equipment! (CPLI) 1 is the processing unit (CPU) 2
When transmitting command C consisting of
3, and in dual port memory (DPM) 3,
After storing the command C in the data area A, which stores the information transferred from the processing unit (CPU) 1 to the processing unit (CPU) 2 (step 5101 in FIG. 4), the transmission notification unit 14 is activated and the dual port A notification flag F indicating that transfer information is stored in the control area Ac+ of the memory (DPM) 3 and in the data area ADI of the dual port memory (DPM) 3. is stored (Step 3102), and the presence or absence of the response flag FR in the control area AC2 of the dual port memory (DPM) 3 is monitored (Step 5I03).

処理装置(CPU)2は、受信部23を起動してデュア
ルポートメモリ (DPM)3の制′aw4域AC1に
おける通知フラグFCの有無を監視しており(ステップ
5201)、通知フラグFcを検出すると(ステップ5
202)、デュアルポートメモリ (DPM)3のデー
タ領域A D lに格納されているコマンドCを抽出し
くステップ5203)、コマンドCにより指定された処
理を実行した後(ステップ3204)、応答部24を起
動し、コマンドCに基づく処理結果を示す応答情報Rを
デュアルポートメモリ (DPM)3の、処理装置(C
PU)2から処理装!(CPU)1への転送情報を格納
するデータ領域ADZに格納した後(ステップ5205
)、デュアルポートメモリ (DPM)3の制御領域A
CI内の通知フラグFcを抹消しくステップ5206)
、デュアルポートメモリ(DPM)3の制J領域AC2
に、デュアルポートメモリ (DPM)3のデータ領域
Ag2に転送情報が格納されていることを示す応答フラ
グFRを格納する(ステップ3207)。
The processing unit (CPU) 2 activates the receiving unit 23 and monitors the presence or absence of the notification flag FC in the restricted aw4 area AC1 of the dual port memory (DPM) 3 (step 5201), and when the notification flag Fc is detected, (Step 5
202), to extract the command C stored in the data area ADl of the dual port memory (DPM) 3. After executing the process specified by the command C (step 5203), the response unit 24 is executed. The response information R indicating the processing result based on the command C is sent to the processing device (C
PU) Processing equipment from 2! After storing the transfer information to (CPU) 1 in the data area ADZ (step 5205
), control area A of dual port memory (DPM) 3
Step 5206 of deleting the notification flag Fc in CI
, control J area AC2 of dual port memory (DPM) 3
Then, a response flag FR indicating that transfer information is stored in the data area Ag2 of the dual port memory (DPM) 3 is stored (step 3207).

処理装置(CPU)lにおいては、送信通知部14が制
御領域AC2の監視を開始してから予め定められた時間
が経過する以前に(ステップ5IO5)、制御領域A(
2内に応答フラグF、lを検出すると(ステップ510
4)、デュアルポートメモリ (DPM)3のデータ領
域A D 2に格納されている応答情報Rを抽出し、処
理装置(CPU)2によるコマンドCの処理結果を確認
しくステップ5106)、処理結果が正常と確認した場
合には正常処理を実行しくステップ5li)、また処理
結果が異常と確認した場合には異常処理を実行しくステ
ップ5107)、デュアルポートメモリ(DPM)3の
制@領域A。2に格納されている通知フラグFcを抹消
する(ステップ5109)。
In the processing device (CPU) l, before a predetermined time has elapsed since the transmission notification unit 14 started monitoring the control area AC2 (step 5IO5), the control area A (
When response flags F and l are detected within 2 (step 510
4) Extract the response information R stored in the data area A D 2 of the dual port memory (DPM) 3 and check the processing result of the command C by the processing unit (CPU) 2 (step 5106). If it is confirmed that the process is normal, normal processing is executed (Step 5li), and if the processing result is confirmed to be abnormal, abnormal processing is executed (Step 5107). The notification flag Fc stored in 2 is deleted (step 5109).

なおステップ5103乃至5105において、送信通知
部14が制御領域A、2の監視を開始してから予め定め
られた時間が経過しても、制御領域AC2に応答フラグ
FRが格納されたことを検出出来なかった場合にも、処
理装置(cpu)1は異常処理を実行した後(ステップ
3107)、デュアルポートメモリ (DPM)3の制
御領域A。2に格納されている通知フラグF、を抹消す
る(ステップ5109)。
Note that in steps 5103 to 5105, even if a predetermined time has elapsed since the transmission notification unit 14 started monitoring the control areas A and 2, it is not possible to detect that the response flag FR is stored in the control area AC2. Even if there is no error, the processing unit (CPU) 1 executes the abnormality processing (step 3107) and then returns the control area A of the dual port memory (DPM) 3. The notification flag F stored in 2 is deleted (step 5109).

以上の説明から明らかな如く、本実施例によれば、処理
装置(CPU)1および2は、デュアルポートメモリ 
(DPM)3の初期化の完了通知も含めて、デュアルポ
ートメモリ (DPM)3のみにより相互の通信が可能
となり、デュアルポートメモリ (DPM)3以外に制
御用レジスタ(REG)4および5等(第5図)を設け
る必要が無くなる。
As is clear from the above description, according to this embodiment, the processing units (CPUs) 1 and 2 have dual port memories.
Mutual communication is possible only with the dual port memory (DPM) 3, including notification of the completion of initialization of the (DPM) 3. 5) is no longer necessary.

なお、第2図乃至第4図はあく迄本発明の一実施例に過
ぎず、例えばデュアルポートメモリ (DPM)3の初
期化を処理装置(CPU)1が実行するものに限定され
ることは無く、処理装置(CPU)2が実行することも
考慮されるが、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。また処理装置(C
PU)1がコマンドCを処理装置(CPU)2に転送し
、処理装置(CPU)2が処理装置(CPU)1に応答
情報Rを転送するものに限定されることは無く、処理装
置(CPU)2が送信部25および送信通知部26を起
動してコマンドCを転送し、処理装置(CPU)1が受
信部15および応答部16を起動して応答情報Rを転送
することも考慮されるが、何れの場合にも本発明の効果
は変わらない。また処理装置(CPU)1および2は一
種類のコマンドCおよび応答情報Rを転送するものに限
定されることは無く、複数種類のコマンドCおよび応答
情報Rをそれぞれ識別情報を付加して並行して転送する
ことも考慮されるが、何れの場合にも本発明の効果は変
わらない。更に本発明の対象となる情報処理システムは
、図示されるものに限定されぬことは言う迄も無い。
Note that FIGS. 2 to 4 are only one embodiment of the present invention, and the present invention is not limited to, for example, initialization of the dual port memory (DPM) 3 performed by the processing unit (CPU) 1. It is also considered that the process is executed by the processing unit (CPU) 2 without any modifications, but many other modifications are also considered, but the effects of the present invention do not change in either case. In addition, processing equipment (C
The processing unit (CPU) 1 is not limited to transferring the command C to the processing unit (CPU) 2, and the processing unit (CPU) 2 transfers the response information R to the processing unit (CPU) 1. ) 2 activates the transmitter 25 and the transmission notification unit 26 to transfer the command C, and the processing unit (CPU) 1 activates the receiver 15 and the response unit 16 to transfer the response information R. However, the effects of the present invention remain the same in either case. Furthermore, the processing units (CPUs) 1 and 2 are not limited to transferring one type of command C and response information R, but can transfer multiple types of commands C and response information R in parallel, each with identification information added. Although it is also possible to transfer the data by using the same method, the effect of the present invention remains the same in either case. Furthermore, it goes without saying that the information processing system to which the present invention is applied is not limited to what is illustrated.

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

以上、本発明によれば、前記情報処理システムにおいて
、二組の処理装置が、デュアルポートメモリのみを設け
ることにより、デュアルボートメモリの初期化の完了通
知も含めて相互間で通信を行うことが可能となり、制御
用レジスタおよび周辺回路等が一切不要となり、当該情
報処理システムの経済性が向上する。
As described above, according to the present invention, in the information processing system, two sets of processing devices can communicate with each other, including notification of completion of initialization of the dual port memory, by providing only the dual port memory. This makes it possible to eliminate the need for control registers, peripheral circuits, etc., and improves the economic efficiency of the information processing system.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による情報処理システムを示す図、第3図は第2図
における初期化処理を例示する図、第4図は第2図にお
ける処理装置間通信処理を例示する図、第5図は従来あ
る情報処理システムの一例を示す図である。
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing an information processing system according to an embodiment of the present invention, FIG. 3 is a diagram illustrating the initialization process in FIG. 2, and FIG. FIG. 2 is a diagram illustrating communication processing between processing devices, and FIG. 5 is a diagram illustrating an example of a conventional information processing system.

Claims (1)

【特許請求の範囲】 二組の処理装置(1、2)がデュアルポートメモリ(3
)を介して相互に通信を行う情報処理システムにおいて
、 一方の処理装置(1)に、前記デュアルポートメモリ(
3)の記憶領域を初期化する初期化手段(101)と、 前記初期化手段(101)が前記デュアルポートメモリ
(3)の初期化を完了した後に、前記デュアルポートメ
モリ(3)の初期化完了を通知する完了情報(C_I)
を、前記デュアルポートメモリ(3)内の予め定められ
た完了情報格納領域(301)に周期的に格納すると共
に、前記デュアルポートメモリ(3)内の予め定められ
た確認情報格納領域(302)の格納内容を監視し、他
方の前記処理装置(2)が格納した前記デュアルポート
メモリ(3)の初期化完了を確認したことを示す完了確
認情報(R_I)を検出した場合に、前記完了情報格納
領域(301)に対する前記完了情報(C_I)の格納
を停止する初期化完了通知手段(102)とを設け、 前記他方の処理装置(2)に、前記デュアルポートメモ
リ(3)内の完了情報格納領域(301)の格納内容を
一旦抹消した後、該完了情報格納領域(301)の格納
内容を監視する初期化完了監視手段(201)と、 前記初期化完了監視手段(201)が前記完了情報格納
領域(301)内に前記完了情報(C_I)を検出した
場合に、前記完了確認情報(R_I)を前記確認情報格
納領域(302)に格納する完了確認通知手段(202
)とを設け、 且つ前記各処理装置(1、2)に、前記デュアルポート
メモリ(3)を介して相互に通信を行う場合に、前記デ
ュアルポートメモリ(3)内の予め定められた転送情報
格納領域(303)に、前記通信に必要とする制御情報
を格納する処理装置間情報転送手段(103、203)
をそれぞれ設けることを特徴とする処理装置間通信方式
[Claims] Two sets of processing devices (1, 2) are connected to a dual port memory (3).
In an information processing system that communicates with each other via a dual port memory (
3) initializing means (101) for initializing the storage area; and after the initializing means (101) completes initializing the dual port memory (3), initializing the dual port memory (3). Completion information (C_I) that notifies completion
is periodically stored in a predetermined completion information storage area (301) in the dual port memory (3), and a predetermined confirmation information storage area (302) in the dual port memory (3). monitors the stored contents of the dual port memory (3) stored therein, and when completion confirmation information (R_I) indicating that completion of initialization of the dual port memory (3) stored in the other processing device (2) is detected, the completion information initialization completion notification means (102) for stopping storage of the completion information (C_I) in the storage area (301); initialization completion monitoring means (201) that monitors the storage contents of the completion information storage area (301) after once erasing the storage contents of the storage area (301); Completion confirmation notification means (202) for storing the completion confirmation information (R_I) in the confirmation information storage area (302) when the completion information (C_I) is detected in the information storage area (301);
), and when the respective processing devices (1, 2) communicate with each other via the dual port memory (3), predetermined transfer information in the dual port memory (3) is provided. inter-processing device information transfer means (103, 203) for storing control information necessary for the communication in a storage area (303);
An inter-processing device communication method characterized by providing a respective processing device.
JP3148289A 1989-02-10 1989-02-10 Inter-processor communication system Pending JPH02210570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3148289A JPH02210570A (en) 1989-02-10 1989-02-10 Inter-processor communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3148289A JPH02210570A (en) 1989-02-10 1989-02-10 Inter-processor communication system

Publications (1)

Publication Number Publication Date
JPH02210570A true JPH02210570A (en) 1990-08-21

Family

ID=33446658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3148289A Pending JPH02210570A (en) 1989-02-10 1989-02-10 Inter-processor communication system

Country Status (1)

Country Link
JP (1) JPH02210570A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237558A (en) * 1986-04-08 1987-10-17 Nec Corp Initialization control system for shared memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237558A (en) * 1986-04-08 1987-10-17 Nec Corp Initialization control system for shared memory

Similar Documents

Publication Publication Date Title
JP2706602B2 (en) Interrupt retry reduction device
JPH02287858A (en) Restarting system for distributed processing system
JPH0683775A (en) Data processing system
JPH0465411B2 (en)
US4638432A (en) Apparatus for controlling the transfer of interrupt signals in data processors
US5343480A (en) System for detecting loss of message
JPH02210570A (en) Inter-processor communication system
KR970006012B1 (en) Processor redundancy to minimize online service loss
JPH05224964A (en) Bus abnormality information system
JPS6126706B2 (en)
JPH01166161A (en) Mutual monitoring system for multiprocessor system
JP2837522B2 (en) Input/Output Command Control Method
JPS59146362A (en) Interface switching control system
WO1992005489A1 (en) Method of nonsynchronous access to shared memory
JP3316739B2 (en) Device interface control method
JPS62200447A (en) Data communication processing system
JP3008646B2 (en) Failure information processing method
JPH01125627A (en) Module abnormality check method
JPS62180454A (en) Collecting method for fault information for communication system
JPH04301945A (en) High efficiency multicast system
JPS62271033A (en) Data transfer processor
JPS62191938A (en) System for diagnosing abnormality of multimicroprocessor
JPS63286948A (en) Data transfer controller
JPS6257048A (en) Decentralized processor system
JPS589444B2 (en) Shared input/output equipment control device