JPH09265462A - Inter-processor communication method - Google Patents

Inter-processor communication method

Info

Publication number
JPH09265462A
JPH09265462A JP7246896A JP7246896A JPH09265462A JP H09265462 A JPH09265462 A JP H09265462A JP 7246896 A JP7246896 A JP 7246896A JP 7246896 A JP7246896 A JP 7246896A JP H09265462 A JPH09265462 A JP H09265462A
Authority
JP
Japan
Prior art keywords
information
program
reception
transmission
shared memory
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
JP7246896A
Other languages
Japanese (ja)
Inventor
Takeo Ogawa
武雄 小川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7246896A priority Critical patent/JPH09265462A/en
Publication of JPH09265462A publication Critical patent/JPH09265462A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a function corresponding to the communication control program of respective units by connecting a communication control unit provided with a shared memory for storing transmission information and reception information and one communication controller to an information communication bus. SOLUTION: In the shared memory 10, the transmission information 8a, 8b, 8c... for indicating the unit number of an opposite party for transmitting data or the like and the reception information 9a, 9b, 9c... for indicating the unit number of the opposite party for receiving the data or the like are stored. The information is respectively stored in the shared memory 10 by the action of a transmission program 6 and a reception program 7. The communication controller 11 is respectively connected to the shared memory 10 and the information communication bus 1. The communication control unit 12 is provided with the shared memory 10 and the communication controller 11. When the transmission program 6 and the reception program 7 are both activated, the communication controller 11 supplies the timing of information communication to the transmission program 6 and the reception program 7 and the data are transmitted and received.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は情報通信バスに接
続され、それぞれプロセッサと送・受信プログラムを記
憶したメモリとを有する複数のユニット相互間で情報通
信を行う方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of performing information communication between a plurality of units connected to an information communication bus and each having a processor and a memory storing a sending / receiving program.

【0002】[0002]

【従来の技術】まず、この種情報通信方法の従来例につ
いて説明する。図5において1は情報通信バス、2a,
2bは情報通信バス1につながるユニットであって、そ
れぞれプロセッサ3とメモリ4とを有する。メモリ4に
は通信制御プログラム5、送信プログラム6、及び受信
プログラム7が記憶されている。また、メモリ4にはデ
ータを送信する相手のユニット番号などを示し、かつ、
他のユニットへデータを送信するのに必要な情報である
送信情報8と、データを受信する相手のユニット番号な
どを示し、かつ、他のユニットからデータを受信するた
めに必要な情報である受信情報9が記憶されており、送
信情報8は送信プログラム6の作用によって、また受信
情報9は受信プログラム7の作用によってメモリ4に格
納される。
2. Description of the Related Art First, a conventional example of this type of information communication method will be described. In FIG. 5, 1 is an information communication bus, 2a,
A unit 2b is connected to the information communication bus 1, and has a processor 3 and a memory 4, respectively. A communication control program 5, a transmission program 6, and a reception program 7 are stored in the memory 4. Further, the memory 4 indicates the unit number of the other party to which the data is transmitted, and
The transmission information 8 that is information necessary for transmitting data to another unit, the unit number of the other party who receives the data, and the like, which is information necessary for receiving data from the other unit Information 9 is stored, the transmission information 8 is stored in the memory 4 by the action of the transmission program 6, and the reception information 9 is stored in the memory 4 by the action of the reception program 7.

【0003】このような構成において情報通信は送信プ
ログラム6と受信プログラム7が共に起動されることに
よって行われる。そして、通信制御プログラム5は送信
プログラム6と受信プログラム7が共に起動したかどう
かを調べるため送信情報8と受信情報9の内容を監視し
ている。送信プログラム6と受信プログラム7が共に起
動されると通信制御プログラム5は情報通信のタイミン
グを送信プログラム6及び受信プログラム7に与え、そ
の後データの送受信が行われる。
In such a configuration, information communication is performed by starting both the transmission program 6 and the reception program 7. Then, the communication control program 5 monitors the contents of the transmission information 8 and the reception information 9 in order to check whether the transmission program 6 and the reception program 7 have both started. When both the transmission program 6 and the reception program 7 are activated, the communication control program 5 gives the information communication timing to the transmission program 6 and the reception program 7, and then data transmission / reception is performed.

【0004】[0004]

【発明が解決しようとする課題】このような従来の方法
においては、各ユニットの内部構成が同じであった。す
なわち、メモリ4内に通信制御プログラム5、送信情報
8、受信情報9など共有できるものまでそれぞれのユニ
ットが所有していた。したがって、資源の有効活用が図
られていなかった。なお、送信プログラム6、受信プロ
グラム7は各ユニット固有の動作と関連するため共有は
出来ない。
In such a conventional method, each unit has the same internal structure. That is, each unit has a shared control program 5, transmission information 8 and reception information 9 in the memory 4. Therefore, effective use of resources has not been achieved. The transmission program 6 and the reception program 7 cannot be shared because they are related to the operation unique to each unit.

【0005】この発明は、このような課題を改善するも
のであって、1つの共有メモリに各ユニットに対応する
送信情報8a,8b,8c・・・および受信情報9a,
9b,9c・・・を含み、また、1つの通信制御装置を
設けて、この通信制御装置に各ユニットの通信制御プロ
グラムに対応する機能を持たせるようにした。
The present invention solves such a problem, and the transmission information 8a, 8b, 8c ... And the reception information 9a corresponding to each unit are stored in one shared memory.
9b, 9c ... And one communication control device is provided so that this communication control device has a function corresponding to the communication control program of each unit.

【0006】[0006]

【課題を解決するための手段】第1の発明によるプロセ
ッサ間通信方法では、送信情報及び受信情報を格納する
共有メモリと、一つの通信制御装置とを有する通信制御
ユニットを情報通信バスに接続することによって、従
来、各ユニットを構成していた通信制御プログラムの処
理を共有する上記一つの通信制御装置が受け持つように
する。
In the interprocessor communication method according to the first invention, a communication control unit having a shared memory for storing transmission information and reception information and one communication control device is connected to an information communication bus. By doing so, the above-mentioned one communication control device sharing the processing of the communication control program, which has conventionally constituted each unit, takes charge.

【0007】また、第2の発明によるプロセッサ間通信
方法では、あらかじめ定めた所定の時間よりも長い間、
通信が始まらない場合にはタイムアウトのエラーを出力
するタイムアウト検出装置を上記一つの通信制御装置に
接続することにより通信のデッドロック(dead l
ock)を防止できるようにする。
In the interprocessor communication method according to the second aspect of the present invention,
When communication does not start, a timeout detection device that outputs a timeout error is connected to the one communication control device to deadlock the communication.
so that it can be prevented.

【0008】また、第3の発明によるプロセッサ間通信
方法では、共有メモリに格納された全ての送信情報およ
び受信情報を格納された時点の古い順に並べ換えるソー
ト装置を共有メモリに接続することにより、送信情報ま
たは受信情報の格納された順番と実際に通信される順番
を一致させるようにする。
Further, in the interprocessor communication method according to the third aspect of the invention, by connecting to the shared memory, a sort device for rearranging all the transmission information and the reception information stored in the shared memory in the order of oldness at the time of storage, The order in which the transmission information or the reception information is stored and the order in which they are actually communicated are matched.

【0009】また、第4の発明によるプロセッサ間通信
方法では、共有メモリに格納された全ての送信情報及び
受信情報を共有メモリのあらかじめ定められている領域
に移動してまとめるガーベッジ(garbage)装置
を共有メモリに接続することにより、通信制御装置が送
信情報、受信情報を監視する効率を上げることができる
ようにする。
Further, in the interprocessor communication method according to the fourth aspect of the present invention, there is provided a garbage device for moving all the transmission information and the reception information stored in the shared memory to a predetermined area of the shared memory and collecting them. By connecting to the shared memory, the communication control device can improve the efficiency of monitoring the transmission information and the reception information.

【0010】[0010]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1は、この発明の実施の形態1を示す
図であり、図において、1は情報通信バス、2a,2b
は情報通信バス1につながるユニットであって、それぞ
れプロセッサ3とメモリ4とを有する。メモリ4には送
信プログラム6及び受信プログラム7が記憶されてい
る。10は共有メモリであり、この共有メモリ10には
データを送信する相手のユニット番号などを示し、か
つ、他のユニットへデータを送信するのに必要な情報で
ある送信情報8a,8b,8c・・・と、データを受信
する相手のユニット番号などを示し、かつ、他のユニッ
トからデータを受信するために必要な情報である受信情
報9a,9b,9c・・・が記憶されている。送信情報
8a,8b,8c・・・は送信プログラム6の作用によ
って、また受信情報9a,9b,9c・・・は受信プロ
グラム7の作用によって共有メモリ10に格納される。
11は通信制御装置であり、共有メモリ10と情報通信
バス1に、それぞれ接続されている。12は上記共有メ
モリ10と通信制御装置11を有する通信制御ユニット
である。
Embodiment 1. 1 is a diagram showing a first embodiment of the present invention, in which 1 is an information communication bus, 2a, 2b.
Is a unit connected to the information communication bus 1 and has a processor 3 and a memory 4, respectively. A transmission program 6 and a reception program 7 are stored in the memory 4. Reference numeral 10 denotes a shared memory, and the shared memory 10 indicates the unit number of the other party to which the data is transmitted, and the transmission information 8a, 8b, 8c, which is necessary for transmitting the data to other units. .. and reception information 9a, 9b, 9c ... Which are information necessary for receiving data from other units and which indicate the unit number of the other party receiving the data. The transmission information 8a, 8b, 8c ... Is stored in the shared memory 10 by the action of the transmission program 6, and the reception information 9a, 9b, 9c.
A communication control device 11 is connected to the shared memory 10 and the information communication bus 1, respectively. A communication control unit 12 includes the shared memory 10 and the communication control device 11.

【0011】このような構成において情報通信は送信プ
ログラム6と受信プログラム7が共に起動されることに
よって行われる。送信情報8a,8b,8c・・・及び
受信情報9a,9b,9c・・・は送信プログラム6及
び受信プログラム7の作用によって共有メモリ10に格
納されるため、通信制御装置11は共有メモリ10に格
納された送信情報8a,8b,8c・・・と受信情報9
a,9b,9c・・・の内容を監視することによって送
信プログラム6及び受信プログラム7が起動されたかど
うかを知ることが出来る。送信プログラム6と受信プロ
グラム7が共に起動されると通信制御装置11は情報通
信のタイミングを送信プログラム6及び受信プログラム
7に与え、その後データの送受信が行われる。
In such a configuration, information communication is performed by starting both the transmission program 6 and the reception program 7. Since the transmission information 8a, 8b, 8c ... And the reception information 9a, 9b, 9c ... Are stored in the shared memory 10 by the action of the transmission program 6 and the reception program 7, the communication control device 11 is stored in the shared memory 10. Stored transmission information 8a, 8b, 8c ... And reception information 9
By monitoring the contents of a, 9b, 9c ..., Whether or not the transmission program 6 and the reception program 7 have been activated can be known. When both the transmission program 6 and the reception program 7 are activated, the communication control device 11 gives the timing of information communication to the transmission program 6 and the reception program 7, and then data transmission / reception is performed.

【0012】実施の形態2.図2は、この発明の実施の
形態2を示す図であり、図において、1は情報通信バ
ス、2a,2bは情報通信バス1につながるユニットで
あって、それぞれプロセッサ3とメモリ4とを有する。
メモリ4には送信プログラム6及び受信プログラム7が
記憶されている。10は共有メモリであり、この共有メ
モリ10にはデータを送信する相手のユニット番号など
を示し、かつ、他のユニットへデータを送信するのに必
要な情報である送信情報8a,8b,8c・・・と、デ
ータを受信する相手のユニット番号などを示し、かつ、
他のユニットからデータを受信するために必要な情報で
ある受信情報9a,9b,9c・・・が記憶されてい
る。送信情報8a,8b,8c・・・は送信プログラム
6の作用によって、また受信情報9a,9b,9c・・
・は受信プログラム7の作用によって共有メモリ10に
格納される。11は通信制御装置であり、共有メモリ1
0と情報通信バス1に、それぞれ接続されている。13
は送信情報8a,8b,8c・・・及び受信情報9a,
9b,9c・・・の格納された時刻を調べてあらかじめ
定められた時間が経過したものはタイムアウトエラーを
通信制御装置11に与えるタイムアウト検出装置であ
る。また、12は上記共有メモリ10、通信制御装置1
1及びタイムアウト検出装置13を有する通信制御ユニ
ットである。
Embodiment 2. 2 is a diagram showing a second embodiment of the present invention, in which 1 is an information communication bus, 2a and 2b are units connected to the information communication bus 1, each having a processor 3 and a memory 4. .
A transmission program 6 and a reception program 7 are stored in the memory 4. Reference numeral 10 denotes a shared memory, and the shared memory 10 indicates the unit number of the other party to which the data is transmitted, and the transmission information 8a, 8b, 8c, which is necessary for transmitting the data to other units. ..And the unit number of the other party receiving the data, and
Reception information 9a, 9b, 9c ... Which is information necessary for receiving data from other units is stored. The transmission information 8a, 8b, 8c ... Is generated by the action of the transmission program 6, and the reception information 9a, 9b, 9c ...
Is stored in the shared memory 10 by the action of the receiving program 7. Reference numeral 11 denotes a communication control device, which is a shared memory 1
0 and the information communication bus 1 are respectively connected. Thirteen
Is transmission information 8a, 8b, 8c ... And reception information 9a,
A time-out detecting device that gives a time-out error to the communication control device 11 is a device that checks the stored times of 9b, 9c, ... Further, 12 is the shared memory 10 and the communication control device 1
1 is a communication control unit having a time-out detection device 13.

【0013】このような構成において情報通信は送信プ
ログラム6と受信プログラム7が共に起動されることに
よって行われる。送信情報8a,8b,8c・・・及び
受信情報9a,9b,9c・・・は送信プログラム6及
び受信プログラム7の作用によって共有メモリ10に格
納されるため、通信制御装置11は共有メモリ10に格
納された送信情報8a,8b,8c・・・と受信情報9
a,9b,9c・・・の内容を監視することによって送
信プログラム6及び受信プログラム7が起動されたかど
うかを知ることが出来る。送信プログラム6と受信プロ
グラム7が共に起動されると通信制御装置11は情報通
信のタイミングを送信プログラム6及び受信プログラム
7に与えるが、タイムアウト検出装置13からタイムア
ウトの信号を受け取るとタイムアウトを起こした送信プ
ログラム6または受信プログラム7にエラー信号を与え
る。
In such a configuration, information communication is performed by starting both the transmission program 6 and the reception program 7. Since the transmission information 8a, 8b, 8c ... And the reception information 9a, 9b, 9c ... Are stored in the shared memory 10 by the action of the transmission program 6 and the reception program 7, the communication control device 11 is stored in the shared memory 10. Stored transmission information 8a, 8b, 8c ... And reception information 9
By monitoring the contents of a, 9b, 9c ..., Whether or not the transmission program 6 and the reception program 7 have been activated can be known. When both the transmission program 6 and the reception program 7 are activated, the communication control device 11 gives the timing of information communication to the transmission program 6 and the reception program 7, but when a time-out signal is received from the time-out detection device 13, the transmission that caused the time-out An error signal is given to the program 6 or the receiving program 7.

【0014】実施の形態3.図3は、この発明の実施の
形態3を示す図であり、図において、1は情報通信バ
ス、2a,2bは情報通信バス1につながるユニットで
あって、それぞれプロセッサ3とメモリ4とを有する。
メモリ4には送信プログラム6及び受信プログラム7が
記憶されている。10は共有メモリであり、この共有メ
モリ10にはデータを送信する相手のユニット番号など
を示し、かつ、他のユニットへデータを送信するのに必
要な情報である送信情報8a,8b,8c・・・と、デ
ータを受信する相手のユニット番号などを示し、かつ、
他のユニットからデータを受信するために必要な情報で
ある受信情報9a,9b,9c・・・が記憶されてい
る。送信情報8a,8b,8c・・・は送信プログラム
6の作用によって、また受信情報9a,9b,9c・・
・は受信プログラム7の作用によって共有メモリ10に
格納される。11は通信制御装置であり、共有メモリ1
0と情報通信バス1に、それぞれ接続されている。14
は共有メモリ10に格納された複数の送信情報8a,8
b,8c・・・及び受信情報9a,9b,9c・・・を
格納された時点の古い順に並べ換えるソート装置であ
る。また、12は上記共有メモリ10、通信制御装置1
1及びソート装置14を有する通信制御ユニットであ
る。
Embodiment 3 3 is a diagram showing a third embodiment of the present invention. In the figure, 1 is an information communication bus, 2a and 2b are units connected to the information communication bus 1, each having a processor 3 and a memory 4. .
A transmission program 6 and a reception program 7 are stored in the memory 4. Reference numeral 10 denotes a shared memory, and the shared memory 10 indicates the unit number of the other party to which the data is transmitted, and the transmission information 8a, 8b, 8c, which is necessary for transmitting the data to other units. ..And the unit number of the other party receiving the data, and
Reception information 9a, 9b, 9c ... Which is information necessary for receiving data from other units is stored. The transmission information 8a, 8b, 8c ... Is generated by the action of the transmission program 6, and the reception information 9a, 9b, 9c ...
Is stored in the shared memory 10 by the action of the receiving program 7. Reference numeral 11 denotes a communication control device, which is a shared memory 1
0 and the information communication bus 1 are respectively connected. 14
Is a plurality of transmission information 8a, 8 stored in the shared memory 10.
The sorting device sorts b, 8c ... And received information 9a, 9b, 9c. Further, 12 is the shared memory 10 and the communication control device 1
1 is a communication control unit having 1 and a sorting device 14.

【0015】このような構成において情報通信は送信プ
ログラム6と受信プログラム7が共に起動されることに
よって行われる。送信情報8a,8b,8c・・・及び
受信情報9a,9b,9c・・・は送信プログラム6及
び受信プログラム7の作用によって共有メモリ10に格
納されるため、通信制御装置11は共有メモリ10に格
納された送信情報8a,8b,8c・・・と受信情報9
a,9b,9c・・・の内容を監視することによって送
信プログラム6及び受信プログラム7が起動されたかど
うかを知ることが出来る。送信プログラム6と受信プロ
グラム7が共に起動されると通信制御装置11は情報通
信のタイミングを送信プログラム6及び受信プログラム
7に与えるが、ソート装置14は共有メモリ10に格納
された全ての送信情報8a,8b,8c・・・及び受信
情報9a,9b,9c・・・を格納された時点の古い順
に並べ換えるため、通信制御装置11は必ず格納された
時点の古い順に送信プログラム6及び受信プログラム7
に情報通信のタイミングを与えることができる。
In such a configuration, information communication is performed by starting both the transmission program 6 and the reception program 7. Since the transmission information 8a, 8b, 8c ... And the reception information 9a, 9b, 9c ... Are stored in the shared memory 10 by the action of the transmission program 6 and the reception program 7, the communication control device 11 is stored in the shared memory 10. Stored transmission information 8a, 8b, 8c ... And reception information 9
By monitoring the contents of a, 9b, 9c ..., Whether or not the transmission program 6 and the reception program 7 have been activated can be known. When both the transmission program 6 and the reception program 7 are activated, the communication control device 11 gives the timing of information communication to the transmission program 6 and the reception program 7, but the sorting device 14 sets all the transmission information 8a stored in the shared memory 10. , 8b, 8c ... And the reception information 9a, 9b, 9c ... Are rearranged in the oldest order at the time of storage, so that the communication control device 11 is surely in the oldest order at the time of storage.
Can give the timing of information communication.

【0016】実施の形態4.図4は、この発明の実施の
形態4を示す図であり、図において、1は情報通信バ
ス、2a,2bは情報通信バス1につながるユニットで
あって、それぞれプロセッサ3とメモリ4とを有する。
メモリ4には送信プログラム6及び受信プログラム7が
記憶されている。10は共有メモリであり、この共有メ
モリ10にはデータを送信する相手のユニット番号など
を示し、かつ、他のユニットへデータを送信するのに必
要な情報である送信情報8a,8b,8c・・・と、デ
ータを受信する相手のユニット番号などを示し、かつ、
他のユニットからデータを受信するために必要な情報で
ある受信情報9a,9b,9c・・・が記憶されてい
る。送信情報8a,8b,8c・・・は送信プログラム
6の作用によって、また受信情報9a,9b,9c・・
・は受信プログラム7の作用によって共有メモリ10に
格納される。11は通信制御装置であり、共有メモリ1
0と情報通信バス1に、それぞれ接続されている。15
は共有メモリ10に格納された全ての送信情報8a,8
b,8c・・・及び受信情報9a,9b,9c・・・を
共有メモリ10のあらかじめ定められている領域に移動
してまとめるガーベッジ装置である。また、12は上記
共有メモリ10、通信制御装置11及びガーベッジ装置
15を有する通信制御ユニットである。
Embodiment 4 4 is a diagram showing a fourth embodiment of the present invention. In the figure, 1 is an information communication bus, 2a and 2b are units connected to the information communication bus 1, each having a processor 3 and a memory 4. .
A transmission program 6 and a reception program 7 are stored in the memory 4. Reference numeral 10 denotes a shared memory, and the shared memory 10 indicates the unit number of the other party to which the data is transmitted, and the transmission information 8a, 8b, 8c, which is necessary for transmitting the data to other units. ..And the unit number of the other party receiving the data, and
Reception information 9a, 9b, 9c ... Which is information necessary for receiving data from other units is stored. The transmission information 8a, 8b, 8c ... Is generated by the action of the transmission program 6, and the reception information 9a, 9b, 9c ...
Is stored in the shared memory 10 by the action of the receiving program 7. Reference numeral 11 denotes a communication control device, which is a shared memory 1
0 and the information communication bus 1 are respectively connected. Fifteen
Is all transmission information 8a, 8 stored in the shared memory 10.
It is a garbage device that moves b, 8c ... And received information 9a, 9b, 9c ... To a predetermined area of the shared memory 10 and collects them. Reference numeral 12 is a communication control unit having the shared memory 10, the communication control device 11 and the garbage device 15.

【0017】このような構成において情報通信は送信プ
ログラム6と受信プログラム7が共に起動されることに
よって行われる。送信情報8a,8b,8c・・・は及
び受信情報9a,9b,9c・・・は送信プログラム6
及び受信プログラム7の作用によって共有メモリ10に
格納されるため、通信制御装置11は共有メモリ10に
格納された送信情報8a,8b,8c・・・と受信情報
9a,9b,9c・・・の内容を監視することによって
送信プログラム6及び受信プログラム7が起動されたか
どうかを知ることが出来る。送信プログラム6と受信プ
ログラム7が共に起動されると通信制御装置11は情報
通信のタイミングを送信プログラム6及び受信プログラ
ム7に与えるが、ガーベッジ装置15は共有メモリ10
に格納された全ての送信情報8a,8b,8c・・・及
び受信情報9a,9b,9c・・・を共有メモリのあら
かじめ定められている領域に移動してまとめるため、送
信情報8a,8b,8c・・・及び受信情報9a,9
b,9c・・・は常に1箇所に存在し通信制御装置11
の監視効率が良い。
In such a configuration, information communication is performed by starting both the transmission program 6 and the reception program 7. The transmission information 8a, 8b, 8c ... And the reception information 9a, 9b, 9c.
Also, the communication control device 11 stores the transmission information 8a, 8b, 8c ... And the reception information 9a, 9b, 9c. By monitoring the contents, it is possible to know whether the transmission program 6 and the reception program 7 have been activated. When both the transmission program 6 and the reception program 7 are activated, the communication control device 11 gives the information communication timing to the transmission program 6 and the reception program 7, but the garbage device 15 causes the shared memory 10 to operate.
.. and reception information 9a, 9b, 9c ... Stored in the shared memory are moved to a predetermined area of the shared memory and collected, so that the transmission information 8a, 8b, 8c. 8c ... and received information 9a, 9
b, 9c ... are always present at one location, and the communication control device 11
The monitoring efficiency of is good.

【0018】[0018]

【発明の効果】第1の発明によれば、従来、各ユニット
を共通に構成していた通信制御プログラム、送信情報、
受信情報を1つの通信制御ユニットに移すことによっ
て、各ユニットで従来行っていた通信制御プログラムの
処理にかかる無駄な時間を削減でき、かつ各ユニットの
メモリの無駄な使用もなくすことが出来る。
According to the first aspect of the present invention, the communication control program, the transmission information, which has conventionally constituted each unit in common,
By moving the received information to one communication control unit, it is possible to reduce the wasteful time required for the processing of the communication control program which has been conventionally performed in each unit, and to eliminate the wasteful use of the memory of each unit.

【0019】また、第2の発明によれば、従来、各ユニ
ットを共通に構成していた通信制御プログラム、送信情
報、受信情報を1つの通信制御ユニットに移し、さら
に、通信制御ユニットにタイムアウト検出装置を付加す
ることによって、各ユニットで従来行っていた通信制御
プログラムの処理にかかる無駄な時間を削減でき、か
つ、通信のデッドロックを防止することが出来る。ま
た、各ユニットのメモリの無駄な使用もなくすことが出
来る。
According to the second aspect of the invention, the communication control program, the transmission information and the reception information, which are conventionally configured in common for each unit, are moved to one communication control unit, and the communication control unit detects the timeout. By adding the device, it is possible to reduce the wasteful time required for the processing of the communication control program which is conventionally performed in each unit, and it is possible to prevent the communication deadlock. In addition, it is possible to eliminate wasteful use of the memory of each unit.

【0020】また、第3の発明によれば、従来、各ユニ
ットを共通に構成していた通信制御プログラム、送信情
報、受信情報を1つの通信制御ユニットに移し、さら
に、通信制御ユニットにソート装置を付加することによ
って、各ユニットで従来行っていた通信制御プログラム
の処理にかかる無駄な時間を削減でき、かつ、送信情報
または受信情報の格納された順番と実際に通信される順
番を一致させることが出来る。また、各ユニットのメモ
リの無駄な使用もなくすことが出来る。
According to the third aspect of the invention, the communication control program, the transmission information and the reception information, which have conventionally been formed in common for each unit, are moved to one communication control unit, and the communication control unit is further sorted. By adding, it is possible to reduce the wasted time required for the processing of the communication control program, which is conventionally performed in each unit, and to match the order in which the transmission information or the reception information is stored with the order in which actual communication is performed. Can be done. In addition, it is possible to eliminate wasteful use of the memory of each unit.

【0021】また、第4の発明によれば、従来、各ユニ
ットを共通に構成していた通信制御プログラム、送信情
報、受信情報を1つの通信制御ユニットに移し、さら
に、通信制御ユニットにガーベッジ装置を付加すること
によって、各ユニットで従来行っていた通信制御プログ
ラムの処理にかかる無駄な時間を削減でき、かつ、ガー
ベッジ装置が送信情報及び受信情報を共有メモリのある
定められた場所にまとめて格納するため、通信制御装置
の送信情報、受信情報の監視効率を上げることが出来
る。また、各ユニットのメモリの無駄な使用もなくすこ
とが出来る。
According to the fourth aspect of the invention, the communication control program, the transmission information, and the reception information, which are conventionally configured in common for each unit, are transferred to one communication control unit, and the communication control unit is further garbage collected. By adding, it is possible to reduce the wasteful time required for the processing of the communication control program which is conventionally performed in each unit, and the garbage device collectively stores the transmission information and the reception information in a predetermined location in the shared memory. Therefore, it is possible to improve the monitoring efficiency of the transmission information and the reception information of the communication control device. In addition, it is possible to eliminate wasteful use of the memory of each unit.

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

【図1】 この発明の実施の形態1を示す図である。FIG. 1 is a diagram showing a first embodiment of the present invention.

【図2】 この発明の実施の形態2を示す図である。FIG. 2 is a diagram showing a second embodiment of the present invention.

【図3】 この発明の実施の形態3を示す図である。FIG. 3 is a diagram showing a third embodiment of the present invention.

【図4】 この発明の実施の形態4を示す図である。FIG. 4 is a diagram showing a fourth embodiment of the present invention.

【図5】 従来の実施の形態を示す図である。FIG. 5 is a diagram showing a conventional embodiment.

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

1 情報通信バス、2 ユニット、3 プロセッサ、4
メモリ、5 通信制御プログラム、6 送信プログラ
ム、7 受信プログラム、8 送信情報、9受信情報、
10 共有メモリ、11 通信制御装置、12 通信制
御ユニット、13 タイムアウト検出装置、14 ソー
ト装置、15 ガーベッジ装置。
1 information communication bus, 2 units, 3 processors, 4
Memory, 5 communication control program, 6 transmission program, 7 reception program, 8 transmission information, 9 reception information,
10 shared memory, 11 communication control device, 12 communication control unit, 13 timeout detection device, 14 sort device, 15 garbage device.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 送信プログラム、受信プログラムを記憶
したメモリ及びプロセッサを有し、情報通信バスにつな
がる複数のユニットと、複数の送信情報及び受信情報が
記憶されていて、かつ上記情報通信バスにつながってい
る共有メモリ、この共有メモリとつながり、かつ情報通
信バスともつながっている通信制御装置によって構成し
た一つの通信制御ユニットとを備え、上記、通信制御装
置は送信プログラム、受信プログラムの作用によって共
有メモリに格納される送信情報、受信情報を監視し、そ
れによって、送信プログラム、受信プログラムの実行を
検出して情報通信のタイミングを制御するようにしたこ
とを特徴とするプロセッサ間通信方法。
1. A unit having a memory storing a transmission program and a reception program and a processor, a plurality of units connected to an information communication bus, a plurality of transmission information and reception information stored, and connected to the information communication bus. Shared memory, and one communication control unit configured by a communication control device connected to this shared memory and also connected to an information communication bus, wherein the communication control device is a shared memory by the action of a transmission program and a reception program. An interprocessor communication method, characterized in that the transmission information and the reception information stored in are monitored and the execution of the transmission program and the reception program is detected thereby to control the timing of information communication.
【請求項2】 送信プログラム、受信プログラムを記憶
したメモリ及びプロセッサを有し、情報通信バスにつな
がる複数のユニットと、複数の送信情報及び受信情報が
記憶されていて、かつ上記情報通信バスにつながってい
る共有メモリ、この共有メモリとつながり、かつ情報通
信バスともつながっている通信制御装置、上記通信制御
装置とつながっているタイムアウト検出装置によって構
成した一つの通信制御ユニットとを備え、上記、通信制
御装置は送信プログラム、受信プログラムの作用によっ
て共有メモリに格納される送信情報、受信情報を監視
し、それによって、送信プログラム、受信プログラムの
実行を検出して情報通信のタイミングを制御し、さら
に、上記タイムアウト検出装置の検出したタイムアウト
エラーを送信プログラム及び受信プログラムに与えるよ
うにしたことを特徴とするプロセッサ間通信方法。
2. A unit having a memory storing a transmission program and a reception program and a processor, a plurality of units connected to an information communication bus, a plurality of transmission information and reception information stored, and connected to the information communication bus. A shared memory, a communication control device connected to the shared memory and also connected to an information communication bus, and a communication control unit configured by a timeout detection device connected to the communication control device. The device monitors the transmission information and the reception information stored in the shared memory by the actions of the transmission program and the reception program, thereby detecting the execution of the transmission program and the reception program and controlling the timing of information communication. Program that sends the timeout error detected by the timeout detection device And a communication method between processors, characterized by being provided to a receiving program.
【請求項3】 送信プログラム、受信プログラムを記憶
したメモリ及びプロセッサを有し、情報通信バスにつな
がる複数のユニットと、複数の送信情報及び受信情報が
記憶されていて、かつ上記情報通信バスにつながってい
る共有メモリ、この共有メモリとつながり、かつ情報通
信バスともつながっている通信制御装置、上記共有メモ
リとつながっているソート装置によって構成した一つの
通信制御ユニットとを備え、上記、通信制御装置は送信
プログラム、受信プログラムの作用によって共有メモリ
に格納され、かつ、ソート装置によって共有メモリに格
納された時点の古い順に並べ変えられた送信情報、受信
情報を監視し、それによって、送信プログラム、受信プ
ログラムの実行を検出して情報通信のタイミングを制御
するようにしたことを特徴とするプロセッサ間通信方
法。
3. A unit having a memory storing a transmission program and a reception program and a processor, a plurality of units connected to an information communication bus, a plurality of transmission information and reception information stored, and connected to the information communication bus. A shared memory, a communication control device connected to the shared memory and also connected to an information communication bus, and a communication control unit configured by a sort device connected to the shared memory. The transmitting program and the receiving program are monitored by the action of the transmitting program and the receiving program, and the transmitted information and the received information stored in the shared memory and sorted by the sort device in the order of oldness at the time of storage are monitored. To detect the execution of data and control the timing of information communication An interprocessor communication method characterized by.
【請求項4】 送信プログラム、受信プログラムを記憶
したメモリ及びプロセッサを有し、情報通信バスにつな
がる複数のユニットと、複数の送信情報及び受信情報が
記憶されていて、かつ上記情報通信バスにつながってい
る共有メモリ、この共有メモリとつながり、かつ情報通
信バスともつながっている通信制御装置、上記共有メモ
リとつながっているガーベッジ装置によって構成した一
つの通信制御ユニットとを備え、上記、通信制御装置は
送信プログラム、受信プログラムの作用によって共有メ
モリに格納され、かつ、ガーベッジ装置によって共有メ
モリのあらかじめ定められた領域にまとめられた送信情
報、受信情報を監視し、それによって、送信プログラ
ム、受信プログラムの実行を検出して情報通信のタイミ
ングを制御するようにしたことを特徴とするプロセッサ
間通信方法。
4. A plurality of units having a memory storing a transmission program and a reception program and a processor, connected to an information communication bus, a plurality of transmission information and reception information stored, and connected to the information communication bus. A shared memory, a communication control device connected to the shared memory and also connected to an information communication bus, and a communication control unit configured by a garbage device connected to the shared memory. The sending program and the receiving program are stored in the shared memory by the action of the sending program and the receiving program, and the sending information and the receiving information collected by the garbage device in the predetermined area of the shared memory are monitored, and thereby the sending program and the receiving program are executed. To detect and control the timing of information communication An interprocessor communication method characterized by the above.
JP7246896A 1996-03-27 1996-03-27 Inter-processor communication method Pending JPH09265462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7246896A JPH09265462A (en) 1996-03-27 1996-03-27 Inter-processor communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7246896A JPH09265462A (en) 1996-03-27 1996-03-27 Inter-processor communication method

Publications (1)

Publication Number Publication Date
JPH09265462A true JPH09265462A (en) 1997-10-07

Family

ID=13490181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7246896A Pending JPH09265462A (en) 1996-03-27 1996-03-27 Inter-processor communication method

Country Status (1)

Country Link
JP (1) JPH09265462A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999041889A1 (en) * 1998-02-16 1999-08-19 Fujitsu Limited Method and apparatus for testing network, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999041889A1 (en) * 1998-02-16 1999-08-19 Fujitsu Limited Method and apparatus for testing network, and recording medium
US6751761B1 (en) 1998-02-16 2004-06-15 Fujitsu Limited Method and apparatus for testing network, and recording medium

Similar Documents

Publication Publication Date Title
CN108804109B (en) Industrial deployment and control method based on multi-path functional equivalent module redundancy arbitration
US7840725B2 (en) Capture of data in a computer network
JP3545642B2 (en) Monitoring system and method
JPH0691513B2 (en) Data transmission error detection method
JPH09265462A (en) Inter-processor communication method
JP3401160B2 (en) Distributed shared memory network device
JPH08102755A (en) Method for monitoring station to be controlled
JPH0520782B2 (en)
CA1151743A (en) Serial data bus communication system
JP3538069B2 (en) Broadcast communication test method
JP3396561B2 (en) Programmable controller
JP3471653B2 (en) Data transmission equipment
JPS5815355A (en) Information transfer system
JPS5842491B2 (en) Fault recognition method in multiprocessor system
JP2001067248A (en) System and method for gathering fault log
JPH0248736A (en) Information processing system
CN117997723A (en) Fault positioning method, device, vehicle, server and storage medium
JPH0644088A (en) Operating system
EP1553495A1 (en) Programme-controlled unit
JPH08328972A (en) Multi-protocol network monitoring and diagnostic system
JP2023154857A5 (en)
JP2001075935A (en) Inter-processor communication method
JPH0294941A (en) Communication control equipment
JPH0219051A (en) Modem controller
JPH08187467A (en) Paper sheet treatment apparatus