JPH10276198A - Distributed shared memory network device - Google Patents

Distributed shared memory network device

Info

Publication number
JPH10276198A
JPH10276198A JP7865397A JP7865397A JPH10276198A JP H10276198 A JPH10276198 A JP H10276198A JP 7865397 A JP7865397 A JP 7865397A JP 7865397 A JP7865397 A JP 7865397A JP H10276198 A JPH10276198 A JP H10276198A
Authority
JP
Japan
Prior art keywords
unit
packet
node
control unit
distributed shared
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.)
Granted
Application number
JP7865397A
Other languages
Japanese (ja)
Other versions
JP3401160B2 (en
Inventor
Hiroo Kamiyo
浩夫 神余
Nobukazu Takeuchi
伸和 竹内
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 JP07865397A priority Critical patent/JP3401160B2/en
Publication of JPH10276198A publication Critical patent/JPH10276198A/en
Application granted granted Critical
Publication of JP3401160B2 publication Critical patent/JP3401160B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To maintain a network system by conducting monitor of a state of a memory and a communication equipment, providing an RAS section that bypasses packets to other node and disconnecting a node on the occurrence of a fault including a power failure from the network. SOLUTION: The device diagnoses, and monitors a state of RMU 12a-12c and each of the RMU 12a-12c is provided with each of RAS sections 14a-14c which bypass a packet received by link control sections 17a-17c to other node directly on the occurrence of a fault including power failure. Thus, data are copied and shared in common without notifying communication by CPU 11a-11c and a network ring is maintained even on the occurrence of a fault of a node or a power failure, then other node utilizes the RMU 12a-12c independently of the fault.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、分散共有メモリ
ユニットのメモリボード間をネットワーク接続し、ある
ノードのメモリ値の書き換えをネットワークに送信し、
各ノードが受信内容から自ノードのメモリに反映させる
ことでデータの共有を図る分散共有メモリネットワーク
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network connection between memory boards of a distributed shared memory unit, transmission of rewriting of a memory value of a certain node to a network,
The present invention relates to a distributed shared memory network device for sharing data by causing each node to reflect received contents in its own memory.

【0002】[0002]

【従来の技術】図28は例えば特開平6−68047号
公報に示された従来の分散共有メモリネットワーク装置
を示すブロック図、図29はメモリ情報がデータ単位で
各ノード間を巡回する様子を示す説明図であり、図にお
いて、1はネットワーク、2〜5はノード、6〜9はネ
ットワーク1およびノード2〜5に接続されたネットワ
ークアクセス制御部である。ネットワークアクセス制御
部6〜9において、6a〜9aは通信手段、6b〜9b
はデータ単位中継手段、6c〜9cはメモリアクセス制
御手段である。
2. Description of the Related Art FIG. 28 is a block diagram showing a conventional distributed shared memory network device disclosed in, for example, Japanese Patent Application Laid-Open No. 6-68047, and FIG. FIG. 1 is an explanatory diagram, in which 1 is a network, 2 to 5 are nodes, and 6 to 9 are network access control units connected to the network 1 and the nodes 2 to 5. In the network access controllers 6 to 9, 6a to 9a are communication means, and 6b to 9b
Denotes a data unit relay unit, and 6c to 9c denote memory access control units.

【0003】次に動作について説明する。通信手段6a
〜9aは、ネットワーク1からデータを受信し、データ
単位中継手段6b〜9bおよびメモリアクセス制御手段
6c〜9cに引き渡す。データ単位中継手段6b〜9b
は、メモリアクセス制御手段6c〜9cから中継依頼が
あるまでこのデータを保持する。メモリアクセス制御手
段6c〜9cは、引き渡されたデータがメモリ情報かど
うか判定し、メモリ情報であればノード2〜5から読み
出し要求が発せられているかを確認する。ノード2〜5
から読み出し要求が発せられていれば、メモリアクセス
制御手段6c〜9cは、そのメモリアドレスと受信デー
タのデータ単位内のメモリアドレスとを比較する。アド
レスが一致すれば、メモリアクセス制御手段6c〜9c
は、受信したデータ単位のデータ域の内容をノード2〜
5に転送する。
Next, the operation will be described. Communication means 6a
9a to 9a receive the data from the network 1 and deliver the data to the data unit relay means 6b to 9b and the memory access control means 6c to 9c. Data unit relaying means 6b-9b
Holds this data until there is a relay request from the memory access control means 6c to 9c. The memory access control means 6c to 9c determine whether or not the transferred data is memory information, and if it is memory information, confirm whether a read request is issued from the nodes 2 to 5. Nodes 2-5
, The memory access control means 6c-9c compares the memory address with the memory address in the data unit of the received data. If the addresses match, the memory access control means 6c to 9c
Is the contents of the data area of the received data unit
Transfer to 5.

【0004】その後、データ単位中継手段6b〜9bに
中継を依頼する。ノード2〜5から書込み要求が発せら
れていれば、メモリアクセス制御手段6c〜9cは、そ
のメモリアドレスと受信データのデータ単位内のメモリ
アドレスとを比較する。アドレスが一致すれば、メモリ
アクセス制御手段6c〜9cは、受信データ単位のデー
タ域の内容を書込み要求データで置き換え、データ単位
中継手段6b〜9bに中継を依頼する。メモリアクセス
制御手段6c〜9cは保持しておいた受信データ単位を
そのまま、あるいは書き換えられたデータ単位を通信手
段6a〜9aに引き渡し、そのデータ単位のネットワー
ク1への送信を依頼する。このように、メモリ情報をネ
ットワーク1内で周期的に転送し、且つ全データを参照
可能としたため、ノード2〜5間の共有記憶が低コスト
で容易に実現可能となる。
[0004] Thereafter, a request is made to the data unit relay means 6b to 9b for relaying. If a write request has been issued from the nodes 2 to 5, the memory access control means 6c to 9c compare the memory address with the memory address in the data unit of the received data. If the addresses match, the memory access control means 6c to 9c replace the contents of the data area of the received data unit with the write request data, and request the data unit relay means 6b to 9b to relay. The memory access control units 6c to 9c transfer the received data unit as it is or the rewritten data unit to the communication units 6a to 9a, and request transmission of the data unit to the network 1. As described above, since the memory information is periodically transferred within the network 1 and all data can be referred to, shared storage between the nodes 2 to 5 can be easily realized at low cost.

【0005】[0005]

【発明が解決しようとする課題】従来の分散共有メモリ
ネットワーク装置は以上のように構成されているので、
メモリおよび通信装置の状態監視とネットワーク状態を
制御する機能に欠けるため、あるノード故障によって通
信システムが破綻する怖れがあるなどの課題があった。
Since the conventional distributed shared memory network device is configured as described above,
Since the functions of monitoring the state of the memory and the communication device and controlling the state of the network are lacking, there is a problem that the communication system may be broken by a failure of a certain node.

【0006】この発明は上記のような課題を解決するた
めになされたもので、電源断を含む障害時にノードをネ
ットワークから離脱させることにより、ネットワークシ
ステムを維持することができる分散共有メモリネットワ
ーク装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and a distributed shared memory network device capable of maintaining a network system by detaching a node from a network at the time of a failure including a power failure. The purpose is to gain.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明に係
る分散共有メモリネットワーク装置は、分散共有メモリ
ユニットの状態を診断監視し、電源断を含む障害時には
リンク制御部に受信されるパケットを直接他ノードにバ
イパスするRAS部を備えたものである。
According to a first aspect of the present invention, there is provided a distributed shared memory network device for diagnosing and monitoring the state of a distributed shared memory unit and, when a failure including power interruption occurs, a packet received by a link control unit. It has a RAS unit that bypasses directly to another node.

【0008】請求項2記載の発明に係る分散共有メモリ
ネットワーク装置は、メモリ制御部に、CPUのエンデ
ィアンタイプを設定したCPUアクセスタイプ設定部
と、CPUからのロードまたはストア命令をCPUアク
セスタイプ設定部に設定されたエンディアンタイプに変
換してローカルメモリ部へのアクセスを行うCPUアク
セス変換部とを備えたものである。
According to a second aspect of the present invention, there is provided a distributed shared memory network device, wherein the memory control unit includes a CPU access type setting unit in which an endian type of a CPU is set, and a load or store instruction from the CPU. And a CPU access conversion unit that converts the data into the endian type set in the above and accesses the local memory unit.

【0009】請求項3記載の発明に係る分散共有メモリ
ネットワーク装置は、メモリ制御部に、CPUからのス
トア命令における指定アドレスに応じたローカルメモリ
部のデータを読み出すメモリ読み出し部と、CPUから
のストア命令における書き込みデータとメモリ読み出し
部により読み出されたデータとを比較するメモリ書込み
命令比較部と、そのメモリ書込み命令比較部により書き
込みデータと読み出されたデータとが異なっていると判
断された場合に、ローカルメモリ部の指定アドレスに書
き込みデータを書き込むメモリ書込み部とを備えたもの
である。
According to a third aspect of the present invention, in the distributed shared memory network device, the memory control unit includes a memory reading unit that reads data from the local memory unit in accordance with a designated address in a store instruction from the CPU; When a memory write instruction comparison unit that compares write data in an instruction with data read by a memory read unit and the memory write instruction comparison unit determines that the write data and the read data are different. And a memory writing unit for writing write data to a specified address of the local memory unit.

【0010】請求項4記載の発明に係る分散共有メモリ
ネットワーク装置は、メモリ制御部に、CPUからのス
トア命令におけるバースト転送またはDMA転送を受信
するブロック受信制御部と、そのブロック受信制御部に
より受信されたブロックデータをローカルメモリ部に書
き込むブロック書込み部とを備え、転送制御部に、ブロ
ック受信制御部により受信されたブロックデータを含む
ブロックパケットを生成すると共に、リンク制御部を介
して受信したブロックパケットをメモリ制御部に出力す
るブロックパケット送受信部を備えたものである。
According to a fourth aspect of the present invention, in the distributed shared memory network device, the memory control unit receives a burst transfer or a DMA transfer in a store instruction from the CPU, and the block reception control unit receives the burst transfer or the DMA transfer. And a block writing unit for writing the block data to the local memory unit. The transfer control unit generates a block packet including the block data received by the block reception control unit, and the block received via the link control unit. It has a block packet transmission / reception unit that outputs a packet to a memory control unit.

【0011】請求項5記載の発明に係る分散共有メモリ
ネットワーク装置は、メモリ制御部に、CPUによって
予め割り込み発生条件が設定される割り込み条件設定部
と、受信されたパケットとその割り込み条件設定部に設
定された割り込み発生条件とを照合し、割り込み発生を
判定する割り込み条件判定部と、その割り込み条件判定
部により割り込み発生が判定された場合に、CPUに割
り込み通知する割り込み制御部とを備えたものである。
According to a fifth aspect of the present invention, in the distributed shared memory network device, the memory control unit includes an interrupt condition setting unit in which an interrupt generation condition is set in advance by the CPU, a received packet and its interrupt condition setting unit. An interrupt condition judging unit that collates with a set interrupt occurrence condition to judge the occurrence of an interrupt, and an interrupt control unit that notifies the CPU of an interrupt when the interrupt condition judging unit judges the interrupt occurrence. It is.

【0012】請求項6記載の発明に係る分散共有メモリ
ネットワーク装置は、転送制御部に、ネットワークに新
規参入する際にノードIDが設定されるネットワーク参
入制御部と、そのネットワーク参入制御部に設定された
ノードIDを含む参入パケットを生成し転送制御部に出
力するネットワーク参入要求部と、受信されたパケット
が参入パケットである時にその参入パケットに含まれる
ノードIDが自ノードIDと一致していればその受信さ
れたパケットにエラービットを付加して転送制御部に出
力すると共に、自ノードが新規参入要求中に自ノードI
Dと一致し、且つエラービットが付加されていない参入
パケットを受信した場合に自ノードが参入可能と判定す
るノードID判定部とを備えたものである。
According to a sixth aspect of the present invention, there is provided a distributed shared memory network device, wherein the transfer control unit includes a network entry control unit to which a node ID is set when newly joining a network, and the network entry control unit sets the node ID. A network entry request unit that generates an entry packet including the received node ID and outputs it to the transfer control unit, and if the received packet is an entry packet, the node ID included in the entry packet matches the own node ID An error bit is added to the received packet and the packet is output to the transfer control unit.
A node ID determination unit that determines that the own node can enter when receiving an entry packet that matches D and does not have an error bit added.

【0013】請求項7記載の発明に係る分散共有メモリ
ネットワーク装置は、転送制御部に、ノードIDを初期
値から始めてネットワーク参入制御部に出力すると共
に、ノードID判定部により判定される参入失敗の度に
そのノードIDを増加させてそのネットワーク参入制御
部に出力するノードID自動設定部を備えたものであ
る。
According to a seventh aspect of the present invention, in the distributed shared memory network device, the node ID is output to the network entry control unit starting from the initial value to the transfer control unit and the failure of entry determined by the node ID determination unit is determined. It has a node ID automatic setting unit for increasing the node ID each time and outputting the same to the network entry control unit.

【0014】請求項8記載の発明に係る分散共有メモリ
ネットワーク装置は、RAS部において、転送制御部に
おける参入失敗の際に、参入失敗表示部に参入失敗を表
示すると共に、リンク制御部に受信されるパケットを直
接他ノードにバイパスするようにしたものである。
In the distributed shared memory network device according to the present invention, when the RAS unit fails to join in the transfer control unit, the RAS unit displays the entry failure on the entry failure display unit and receives the failure by the link control unit. Is directly bypassed to another node.

【0015】請求項9記載の発明に係る分散共有メモリ
ネットワーク装置は、転送制御部に、受信されたパケッ
トの中継毎にそのパケットに含まれる中継回数を増加さ
せる中継カウンタ部と、その中継回数が所定の回数を上
回るパケットを棄却する長寿パケット処理部とを備えた
ものである。
According to a ninth aspect of the present invention, in the distributed shared memory network device, the transfer control unit includes: A longevity packet processing unit for rejecting packets exceeding a predetermined number of times.

【0016】請求項10記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、受信されたパケ
ットのノードIDの最高値を検出する最大ノードID検
出部と、その最大ノードID検出部により検出されたノ
ードIDの最高値を記録し、長寿パケット処理部に所定
の回数として設定する最大ノードID記録部とを備えた
ものである。
According to a tenth aspect of the present invention, in the distributed shared memory network device, the transfer control unit includes a maximum node ID detection unit for detecting a maximum value of a node ID of a received packet, and the maximum node ID detection unit. It has a maximum node ID recording unit that records the maximum value of the detected node IDs and sets it as a predetermined number of times in the longevity packet processing unit.

【0017】請求項11記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、所定の時間を経
過した場合にRAS部に障害発生を出力する周回タイマ
部と、パケットの送信時に周回タイマ部をリセットする
周回タイマリセット部と、そのパケットの受信時に上記
周回タイマ部をクリアする周回タイマクリア部とを備え
たものである。
A distributed shared memory network device according to an eleventh aspect of the present invention provides the transfer control unit with a circulation timer unit for outputting a fault occurrence to the RAS unit when a predetermined time has elapsed, and a circulation timer unit for transmitting a packet. A round timer reset section for resetting the section, and a round timer clear section for clearing the round timer section when the packet is received.

【0018】請求項12記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、自ノードから送
信されるパケットを記録する送信バッファ部と、受信さ
れたパケットのノードIDと自ノードIDとの一致を検
出する周回パケット検出部と、その周回パケット検出部
により一致が検出された場合に、送信バッファ部に記録
されたパケットと受信されたパケットとの内容を比較
し、パケットの周回による転送誤りを検出する周回パケ
ットエラー検出部と、その周回パケットエラー検出部に
より転送誤りが検出された場合に、送信バッファ部に記
録されたパケットを再送信する再送制御部とを備えたも
のである。
According to a twelfth aspect of the present invention, in the distributed shared memory network device, the transmission control unit records a packet transmitted from the own node, the node ID of the received packet, and the own node ID. A packet circulating unit that detects a match between packets and, when a packet is detected by the packet circulating unit, compares the contents of the packet recorded in the transmission buffer unit with the contents of the received packet and forwards the packet by circulating. It includes a recurring packet error detection unit for detecting an error, and a retransmission control unit for retransmitting the packet recorded in the transmission buffer unit when a transmission error is detected by the recurring packet error detection unit.

【0019】請求項13記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、自ノードから送
信される複数のパケットを記録するFIFOバッファ部
と、周回パケット検出部により一致が検出された場合
に、FIFOバッファ部に記録された先頭パケットと受
信されたパケットとの内容を比較し、パケットの周回に
よる転送誤りを検出する周回パケットエラー検出部と、
その周回パケットエラー検出部により転送誤りが検出さ
れなかった場合に、FIFOバッファ部に記録された先
頭パケットを1つ繰り上げると共に、転送誤りが検出さ
れた場合に、そのFIFOバッファ部に記録された全て
のパケットに再送ビットを立てて再送信し、送信済の再
送ビットが立てられていないパケットを受信した場合に
そのパケットを棄却する再送制御部とを備えたものであ
る。
In the distributed shared memory network device according to the invention, a match is detected in the transfer control unit by the FIFO buffer unit for recording a plurality of packets transmitted from the own node and the round packet detection unit. In this case, a circulating packet error detecting unit that compares the contents of the first packet recorded in the FIFO buffer unit and the received packet and detects a transfer error due to circulating of the packet;
If no transfer error is detected by the circulating packet error detection unit, the leading packet recorded in the FIFO buffer unit is incremented by one, and if a transfer error is detected, all packets recorded in the FIFO buffer unit are incremented. And a retransmission control unit that retransmits the packet with the retransmission bit set, and rejects the packet when the received packet does not have the retransmission bit set.

【0020】請求項14記載の発明に係る分散共有メモ
リネットワーク装置は、受信したパケットを送信可能と
なるまで記録する中継FIFOバッファ部と、FIFO
バッファ部が一杯になった時に、中継FIFOバッファ
部による中継処理よりもそのFIFOバッファ部の送信
処理を優先させる送信優先度制御部とを備えたものであ
る。
According to a fourteenth aspect of the present invention, there is provided a distributed shared memory network device, comprising: a relay FIFO buffer unit for recording received packets until transmission is possible;
A transmission priority control unit for giving priority to the transmission processing of the FIFO buffer unit over the relay processing by the relay FIFO buffer unit when the buffer unit is full.

【0021】請求項15記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、CPUからの設
定により自ノードからのパケットの送信を停止する送信
抑制部を備えたものである。
According to a fifteenth aspect of the present invention, in the distributed shared memory network device, the transfer control unit includes a transmission suppressing unit for stopping transmission of a packet from the own node according to a setting from the CPU.

【0022】請求項16記載の発明に係る分散共有メモ
リネットワーク装置は、メモリ制御部に、CPUからロ
ーカルメモリ部の書込み可能領域が設定され、そのCP
Uからのストア命令がその書込み可能領域内であればメ
モリ書込み部によりそのデータをそのローカルメモリ部
に書込み、書込み可能領域外であれば書込みを行わない
書込み可能領域設定部を備えたものである。
According to a sixteenth aspect of the present invention, the writable area of the local memory unit is set in the memory control unit by the CPU, and the CP
If the store instruction from U is within the writable area, the memory writing unit writes the data to the local memory unit. .

【0023】請求項17記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、送信するパケッ
トをCRC符号化するCRC符号化部と、受信されたC
RC符号化されたパケットを解読するCRC解読部と、
そのCRC解読部による解読により受信されたパケット
のエラーチェックするパケットエラー設定部と備えたも
のである。
According to a seventeenth aspect of the present invention, in the distributed shared memory network device, the transfer control unit includes a CRC coding unit for performing CRC coding on a packet to be transmitted;
A CRC decryption unit for decrypting the RC-encoded packet;
It has a packet error setting section for checking the error of the packet received by the decoding by the CRC decoding section.

【0024】請求項18記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、ノードのセマフ
ォ状態を設定するセマフォ状態部と、CPUからの指示
によりセマフォ要求に関するリクエストおよびロックの
パケットを送信するセマフォ操作要求部と、受信したパ
ケットにリクエストのセマフォ要求がある場合に、セマ
フォ状態部をリクエストに設定し、受信したパケットに
ロックのセマフォ要求がある場合に、そのセマフォ状態
部がリクエストであることを確認して、そのセマフォ状
態部をロックに設定するセマフォ管理部とを備えたもの
である。
The distributed shared memory network device according to the present invention transmits a semaphore state unit for setting a semaphore state of a node and a request and lock packet relating to a semaphore request to the transfer control unit in accordance with an instruction from the CPU. If the received packet has a semaphore request, the semaphore state part is set to the request, and if the received packet has a lock semaphore request, the semaphore state part is the request. And a semaphore management unit that sets the semaphore state unit to locked.

【0025】請求項19記載の発明に係る分散共有メモ
リネットワーク装置は、リンク制御部に、RAS部の指
示により受信されるパケットを直接他ノードにバイパス
するバイパス部を備えたものである。
According to a nineteenth aspect of the present invention, in the distributed shared memory network device, the link control unit includes a bypass unit for directly bypassing a packet received in accordance with an instruction from the RAS unit to another node.

【0026】請求項20記載の発明に係る分散共有メモ
リネットワーク装置は、分散共有メモリユニットとネッ
トワークとの間に接続され、受信されるパケットを直接
他ノードにバイパスするバイパスボックス部と、そのバ
イパスボックス部を手動により切り替える手動スイッチ
部とを備えたものである。
According to a twentieth aspect of the present invention, there is provided a distributed shared memory network device, which is connected between a distributed shared memory unit and a network and bypasses a received packet directly to another node, and a bypass box thereof. And a manual switch unit for manually switching the units.

【0027】請求項21記載の発明に係る分散共有メモ
リネットワーク装置は、分散共有メモリユニットとネッ
トワークとの間に接続され、受信されるパケットを直接
他ノードにバイパスするバイパスボックス部と、そのバ
イパスボックス部をRAS部の指示により切り替えるバ
イパススイッチ部とを備えたものである。
According to a twenty-first aspect of the present invention, a distributed shared memory network device is connected between a distributed shared memory unit and a network and bypasses a received packet directly to another node. And a bypass switch section for switching the section according to an instruction from the RAS section.

【0028】請求項22記載の発明に係る分散共有メモ
リネットワーク装置は、メモリ制御部に、CPUからの
指示によりイコライジング要求のパケットを送信するイ
コライジングパケット送信部と、受信されたパケットが
イコライジング要求のパケットである場合に、メモリ周
期読み出し部により指定周期でローカルメモリ部の書込
み可能領域のデータを読み出させ、その読み出されたデ
ータをパケットとして送信すると共に、その受信された
イコライジング要求のパケットを送信するイコライジン
グ制御部とを備えたものである。
[0028] The distributed shared memory network device according to the invention as claimed in claim 22, further comprising an equalizing packet transmitting unit for transmitting an equalizing request packet to the memory control unit in accordance with an instruction from the CPU; In the case of, the data in the writable area of the local memory unit is read by the memory cycle reading unit at the designated cycle, the read data is transmitted as a packet, and the received packet of the equalizing request is transmitted. And an equalizing control unit.

【0029】請求項23記載の発明に係る分散共有メモ
リネットワーク装置は、メモリ制御部に、CPUからの
指示によりイコライジング要求のパケットを送信するイ
コライジングパケット送信部と、受信されたパケットが
イコライジング要求のパケットである場合に、その受信
されたイコライジング要求のパケットおよびイコライジ
ング開始のパケットを送信し、メモリ周期読み出し部に
より指定周期でローカルメモリ部の書込み可能領域のデ
ータを読み出させ、その読み出されたデータをパケット
として送信すると共に、イコライジング終了のパケット
を送信するイコライジング制御部と、それらイコライジ
ング開始のパケットおよびイコライジング終了のパケッ
トの受信によりイコライジング動作の状況を管理するイ
コライジング状況記録部とを備えたものである。
The distributed shared memory network device according to claim 23, wherein an equalizing packet transmitting unit for transmitting an equalizing request packet to the memory control unit in accordance with an instruction from the CPU, and wherein the received packet is an equalizing request packet. In the case of, the received equalizing request packet and the equalizing start packet are transmitted, and the memory cycle reading unit causes the data of the writable area of the local memory unit to be read at a specified cycle, and the read data is read. And an equalizing control unit that transmits an equalizing end packet, and an equalizing state that manages an equalizing operation state by receiving the equalizing start packet and the equalizing end packet. It is obtained and a recording unit.

【0030】請求項24記載の発明に係る分散共有メモ
リネットワーク装置は、転送制御部に、参入成功時に自
ノードIDを含む参入通知のパケットを送信する参入要
求部と、参入通知のパケットを受信した場合に、そのパ
ケットからノードIDを取り出して記録する参入記録部
とを備えたものである。
[0030] The distributed shared memory network device according to the invention of claim 24 receives an entry request unit for transmitting a join notification packet including its own node ID to the transfer control unit when the join is successful, and receives the join notification packet. In this case, an entry recording unit for extracting and recording the node ID from the packet is provided.

【0031】[0031]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による分
散共有メモリネットワーク装置を示すブロック図であ
り、図において、11a〜11cはCPU、12a〜1
2cはそれらCPU11a〜11cに各々接続された分
散共有メモリユニット(以下、RMUと言う)、18は
それらRMU12a〜12cにスロッテッドリング接続
されるネットワークである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram showing a distributed shared memory network device according to Embodiment 1 of the present invention. In the figure, reference numerals 11a to 11c denote CPUs, and 12a to 1c.
2c is a distributed shared memory unit (hereinafter referred to as RMU) connected to each of the CPUs 11a to 11c, and 18 is a network connected to the RMUs 12a to 12c by a slotted ring.

【0032】また、各々のRMU12a〜12cにおい
て、13a〜13cはCPU11a〜11cからメモリ
アクセスされるローカルメモリ部、15a〜15cはC
PU11a〜11cからのロードまたはストア命令に応
じてローカルメモリ部13a〜13cへのアクセスを行
うと共に、受信したパケットに応じてそのローカルメモ
リ部13a〜13cへのアクセスを行うメモリ制御部で
ある。16a〜16cはCPU11a〜11cからのス
トア命令に応じてパケットを生成すると共に、受信した
パケットが有効なパケットである場合にメモリ制御部1
5a〜15cにその受信したパケットを出力する転送制
御部、17a〜17cはその転送制御部16a〜16c
により生成されたパケットをネットワーク18に送信す
ると共に、そのネットワーク18からパケットを受信
し、その受信したパケットが自ノードから送信したもの
であればその受信したパケットを棄却し、他ノードから
送信されたものであればその受信したパケットを転送制
御部16a〜16cに出力するリンク制御部である。さ
らに、14a〜14cはRMU12a〜12cの状態を
診断監視し、電源断を含む障害時にはリンク制御部17
a〜17cに受信されるパケットを直接他ノードにバイ
パスするRAS部である。
In each of the RMUs 12a to 12c, 13a to 13c are local memory units accessed by the CPUs 11a to 11c, and 15a to 15c are C
A memory control unit that accesses the local memory units 13a to 13c in response to load or store instructions from the PUs 11a to 11c, and accesses the local memory units 13a to 13c in response to received packets. 16a to 16c generate a packet in response to a store command from the CPUs 11a to 11c and, if the received packet is a valid packet,
Transfer control units for outputting the received packets to 5a to 15c, 17a to 17c are transfer control units 16a to 16c
Is transmitted to the network 18 and the packet is received from the network 18. If the received packet is transmitted from the own node, the received packet is rejected and transmitted from another node. If it is a link control unit, the link control unit outputs the received packet to the transfer control units 16a to 16c. Further, 14a to 14c diagnose and monitor the state of the RMUs 12a to 12c, and when a failure including power interruption occurs, the link control unit 17a.
This is an RAS unit that bypasses packets received by a to 17c directly to another node.

【0033】次に動作について説明する。ここでは説明
を簡単にするためにaノードを中心に説明する。CPU
11aは、RMU12aのローカルメモリ部13aを拡
張メモリとしてロードまたはストア可能である。CPU
11aからのロードまたはストア命令はバスを介してメ
モリ制御部15aに送られ、そのメモリ制御部15aで
は、ロード命令ならば指定アドレスに相当するローカル
メモリ部13aのアドレスのデータを読み出してCPU
11aに出力する。また、ストア命令ならば指定アドレ
スに相当するローカルメモリ部13aのアドレスにデー
タを書き込むと共に、そのストア命令のアドレスとデー
タとを転送制御部16aに出力する。転送制御部16a
は、それらアドレスおよびデータに、予め制御レジスタ
に設定されたネットワーク18において一意なノードI
Dと、パケットの属性情報とを付加して、図25に示す
ようなパケットを生成し、送信キューに入れ出力する。
リンク制御部17aは、受信パケットがあればその受信
パケットの受信を優先し、その後、送信キューのパケッ
トをネットワーク18に送信する。
Next, the operation will be described. Here, for simplicity of description, the description will be focused on the a node. CPU
The memory 11a can load or store the local memory 13a of the RMU 12a as an extended memory. CPU
The load or store instruction from the memory 11a is sent to the memory control unit 15a via the bus. The memory control unit 15a reads the data of the address of the local memory unit 13a corresponding to the designated address if the load instruction, and reads the data from the CPU.
11a. In the case of a store instruction, data is written to the address of the local memory unit 13a corresponding to the designated address, and the address and data of the store instruction are output to the transfer control unit 16a. Transfer control unit 16a
Has a unique node I in the network 18 previously set in the control register.
By adding D and the attribute information of the packet, a packet as shown in FIG. 25 is generated, put into a transmission queue, and output.
If there is a received packet, the link control unit 17a gives priority to receiving the received packet, and thereafter transmits the packet in the transmission queue to the network 18.

【0034】RMU12aから送信されたパケットは隣
接する例えばbノードのRMU12bが受信し、リンク
制御部17bはその受信されたパケットのノードIDを
確認して、自ノードが送信したパケットならばそのパケ
ットを棄却し、また、他ノードが送信したパケットなら
ばそのパケットを転送制御部16bに出力する。転送制
御部16bでは、その受信したパケットに含まれる属性
情報から、割り込み指定およびエラーフラグ等を確認し
て、有効なパケットと判断されればそのパケットをメモ
リ制御部15bに出力する。メモリ制御部15bでは、
その受信したパケットに含まれるアドレスおよびデータ
に基づいて、ローカルメモリ部13bの該当するアドレ
スにデータを書き込む。また、転送制御部16bにおい
て、受信したパケットにエラーおよび割り込み指定があ
れば、RMU12bの制御レジスタに書き込んだり、C
PU11bに割り込み通知する。こうして、CPU11
aのストア命令がRMU12aのローカルメモリ部13
aおよびRMU12bのローカルメモリ部13bに反映
される。同様にして、リンク制御部17bで受信された
パケットがcノードのRMU12cのローカルメモリ部
13cにも反映され、順々に各ノードのRMUにCPU
のストア命令が反映されていく。こうして、各ノードの
RMUの内容の一貫性が保たれる。
The packet transmitted from the RMU 12a is received by the adjacent RMU 12b of the b node, for example, and the link control unit 17b checks the node ID of the received packet. If the packet is discarded or transmitted by another node, the packet is output to the transfer control unit 16b. The transfer control unit 16b confirms an interrupt designation and an error flag from the attribute information included in the received packet, and outputs the packet to the memory control unit 15b if it is determined that the packet is valid. In the memory control unit 15b,
Based on the address and data included in the received packet, data is written to a corresponding address in the local memory unit 13b. In the transfer control unit 16b, if an error and an interrupt are specified in the received packet, the packet is written into the control register of the RMU 12b,
An interrupt is notified to the PU 11b. Thus, the CPU 11
a is the local memory unit 13 of the RMU 12a
a and the local memory 13b of the RMU 12b. Similarly, the packet received by the link control unit 17b is also reflected in the local memory unit 13c of the RMU 12c of the c node, and the RMU of each node sequentially stores the packet in the RMU of each node.
Store instruction is reflected. Thus, the consistency of the contents of the RMU of each node is maintained.

【0035】また、ネットワーク18は、ノード間を順
につないだスロッテッドリング型であり、パケットは隣
接するノードに次々と中継される。受信パケットのノー
ドIDが自ノードIDと一致していれば、受信パケット
は自分が送信したものが全ノードに到達して周回してき
たものであるから、リンク制御部17では、全ノードに
反映完了したとしてパケットを棄却する。
The network 18 is of a slotted ring type in which nodes are sequentially connected, and packets are successively relayed to adjacent nodes. If the node ID of the received packet coincides with the own node ID, the received packet is transmitted by itself and has been circulated to all nodes, so that the link control unit 17 completes reflection on all nodes. And discard the packet.

【0036】また、RMU12aに致命的な障害が発生
したり電源を切ると、リンク制御部17aが動作しなく
なるので、ネットワーク18のリングはリンク制御部1
7aの内部で切断されることになる。そこで、RAS1
4aでは、RMU12aの状態を診断監視し、電源断を
含む障害時には、ネットワーク18と転送制御部16a
との経路を遮断し、直接他ノードにバイパスすることに
より、ネットワークリングを維持し、他ノードの通信を
阻害しないようにする。
If a catastrophic failure occurs in the RMU 12a or the power is turned off, the link control unit 17a does not operate.
It will be cut inside 7a. Therefore, RAS1
In 4a, the state of the RMU 12a is diagnosed and monitored, and in the event of a failure including power interruption, the network 18 and the transfer control unit 16a
By interrupting the path to and directly bypassing other nodes, a network ring is maintained and communication of other nodes is not hindered.

【0037】以上のように、この実施の形態1によれ
ば、RMU12a〜12cの状態を診断監視し、電源断
を含む障害時にはリンク制御部17a〜17cに受信さ
れるパケットを直接他ノードにバイパスするRAS部1
4a〜14cを設けたので、RMU12a〜12cに電
源断を含む障害が発生しても、ネットワークリングを維
持することができ、他ノードは無関係にローカルメモリ
部を共有できる。
As described above, according to the first embodiment, the statuses of the RMUs 12a to 12c are diagnosed and monitored, and in the event of a fault including a power failure, the packets received by the link control units 17a to 17c are directly bypassed to another node. RAS part 1
Since the RMUs 4a to 14c are provided, a network ring can be maintained even if a failure including a power failure occurs in the RMUs 12a to 12c, and other nodes can share the local memory unit independently.

【0038】実施の形態2.図2はこの発明の実施の形
態2による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、21aはメモリ制御部15
a内に設けられ、CPU11aのCPUタイプを設定し
たCPUアクセスタイプ設定部、22aはCPU11a
からのロードまたはストア命令をCPUアクセスタイプ
設定部21aに設定されたCPUタイプに変換してロー
カルメモリ部13aへのアクセスを行うCPUアクセス
変換部である。bノードおよびcノードの構成はaノー
ドと同様であり、また、その他の構成は図1と同様なの
でその重複する説明を省略する。
Embodiment 2 FIG. 2 is a block diagram showing a distributed shared memory network device according to a second embodiment of the present invention. In FIG.
a, a CPU access type setting unit for setting the CPU type of the CPU 11a;
Is a CPU access conversion unit that converts a load or store instruction from the CPU into a CPU type set in the CPU access type setting unit 21a and accesses the local memory unit 13a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0039】次に動作について説明する。一般にCPU
は、CPUレジスタをメモリにストアした時に、レジス
タビットをメモリ番地の上位下位のどちらから書き込む
かによって、ビッグエンディアンとリトルエンディアン
の2つに分類される。さらに、ショート型,イント型,
ロング型によるワード非境界アクセスの並び方も異な
る。しかし、RMU12aでは、ローカルメモリ部13
aをCPU11aに依存しないでネットワークで一致さ
せる必要がある。そこで、予めCPU11aのエンディ
アンタイプとワード非境界アクセス時の変換パターンを
CPUタイプとして、例えば制御レジスタ等のCPUア
クセスタイプ設定部21aに設定しておき、CPUアク
セス変換部22aによりCPU11aのロードまたはス
トア命令時に、そのCPUアクセスタイプ設定部21a
に設定されたCPUタイプに従って、CPU11aにと
って正当な値に変換してローカルメモリ部13aに書き
込んだり、CPU11aに返したりする。
Next, the operation will be described. Generally CPU
Are classified into two types, big endian and little endian, depending on whether the register bit is written from the upper or lower address of the memory address when the CPU register is stored in the memory. In addition, short type, int type,
The arrangement of word non-boundary accesses by the long type is also different. However, in the RMU 12a, the local memory 13
It is necessary to make a match in the network without depending on the CPU 11a. Therefore, a conversion pattern for the endian type of the CPU 11a and a word non-boundary access at the time of non-word boundary access is previously set as a CPU type in the CPU access type setting unit 21a such as a control register. Sometimes, the CPU access type setting unit 21a
Is converted into a value valid for the CPU 11a and written to the local memory unit 13a or returned to the CPU 11a in accordance with the CPU type set in (1).

【0040】以上のように、この実施の形態2によれ
ば、メモリ制御部15a内に、CPU11aからのロー
ドまたはストア命令をCPUアクセスタイプ設定部21
aに設定されたCPUタイプに変換してローカルメモリ
部13aへのアクセスを行うCPUアクセス変換部22
aを設けたので、異種のCPUが混在する分散共有メモ
リネットワーク装置を構成できる。
As described above, according to the second embodiment, the load or store instruction from the CPU 11a is stored in the memory control unit 15a.
CPU access converter 22 for converting to the CPU type set to a and accessing local memory unit 13a
Since a is provided, a distributed shared memory network device in which different types of CPUs are mixed can be configured.

【0041】実施の形態3.図3はこの発明の実施の形
態3による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、31aはメモリ制御部15
a内に設けられ、CPU11aからのストア命令におけ
る指定アドレスに応じたローカルメモリ部13aのデー
タを読み出すメモリ読み出し部、33aはCPU11a
からのストア命令における書き込みデータとメモリ読み
出し部31aにより読み出されたデータとを比較するメ
モリ書込み命令比較部、32aはそのメモリ書込み命令
比較部33aにより書き込みデータと読み出されたデー
タとが異なっていると判断された場合に、ローカルメモ
リ部13aの指定アドレスに書き込みデータを書き込む
メモリ書込み部である。bノードおよびcノードの構成
はaノードと同様であり、また、その他の構成は図1と
同様なのでその重複する説明を省略する。
Embodiment 3 FIG. 3 is a block diagram showing a distributed shared memory network device according to a third embodiment of the present invention.
a, a memory read unit that reads data in the local memory unit 13a in accordance with a designated address in a store instruction from the CPU 11a;
The memory write command comparison unit 32a compares the write data in the store command from the memory read unit 31a with the data read by the memory read unit 31a. When it is determined that the data is present, the memory writing unit writes the write data to the specified address of the local memory unit 13a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0042】次に動作について説明する。CPU11a
からローカルメモリ部13aへのストア命令は、常に新
規の値ではなく、同じ値を重ね書きしていることが多
い。この時、逐一ネットワーク18にパケット送信して
いたのでは通信上無駄が多い。図3において、CPU1
1aからストア命令がメモリ制御部15aに出力される
と、メモリ読み出し部31aは、その指定アドレスのデ
ータをローカルメモリ部13aから読み出し、メモリ書
込み命令比較部33aは、その指定アドレスのデータと
ストア命令の書き込みデータと比較して、新規なデータ
がストアされる場合に、メモリ書込み部32aがローカ
ルメモリ部13aにその書き込みデータを書き込むと共
に、パケットを生成して転送制御部16aに出力する。
Next, the operation will be described. CPU 11a
In many cases, a store instruction from the first to the local memory unit 13a is not always a new value but overwrites the same value. At this time, if the packets are transmitted to the network 18 one by one, there is much communication waste. In FIG. 3, the CPU 1
When a store instruction is output from the memory control unit 15a to the memory control unit 15a, the memory read unit 31a reads the data at the specified address from the local memory unit 13a, and the memory write instruction comparison unit 33a reads the data at the specified address and the store instruction. When new data is stored as compared with the write data, the memory writing unit 32a writes the write data in the local memory unit 13a, generates a packet, and outputs the packet to the transfer control unit 16a.

【0043】以上のように、この実施の形態3によれ
ば、メモリ書込み命令比較部33aにより、ローカルメ
モリ部13aの指定アドレスのデータとストア命令の書
き込みデータと比較して新規なデータがストアされる場
合に、メモリ書込み部32aがローカルメモリ部13a
にその書き込みデータを書き込むと共に、パケットを生
成して転送制御部16aに出力するようにしたので、ロ
ーカルメモリ部13aの反映のために無意味なデータを
送信することなく、通信帯域を効率的に利用できる。
As described above, according to the third embodiment, new data is stored by comparing the data at the designated address of the local memory unit 13a with the write data of the store instruction by the memory write instruction comparison unit 33a. If the memory writing unit 32a
The write data is written to the transfer control unit 16a, and the packet is generated and output to the transfer control unit 16a. Available.

【0044】実施の形態4.図4はこの発明の実施の形
態4による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、41aはメモリ制御部15
a内に設けられ、CPU11aからのストア命令におけ
るバースト転送またはDMA転送を受信するブロック受
信制御部、42aはそのブロック受信制御部41aによ
り受信されたブロックデータをローカルメモリ部13a
に書き込むブロック書込み部、43aは転送制御部16
a内に設けられ、ブロック受信制御部41aにより受信
されたブロックデータを含むブロックパケットを生成す
ると共に、リンク制御部17aを介して受信したブロッ
クパケットをメモリ制御部15aに出力するブロックパ
ケット送受信部である。bノードおよびcノードの構成
はaノードと同様であり、また、その他の構成は図1と
同様なのでその重複する説明を省略する。
Embodiment 4 FIG. FIG. 4 is a block diagram showing a distributed shared memory network device according to a fourth embodiment of the present invention. In FIG.
a, which receives a burst transfer or a DMA transfer in a store command from the CPU 11a, and 42a stores the block data received by the block reception controller 41a in the local memory 13a.
, A block writing unit 43a for writing to the transfer control unit 16
a, which generates a block packet including the block data received by the block reception control unit 41a and outputs the block packet received via the link control unit 17a to the memory control unit 15a. is there. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0045】次に動作について説明する。CPU11a
からRMU12aへのアクセスはロードまたはストア命
令だけでなく、バースト転送やDMA転送といったCP
U語長よりもはるかに長いブロックデータの転送が可能
であることがほとんどである。この時、メモリ制御部1
5aのブロック受信制御部41aがCPU11aからの
ブロックデータを受信し、ブロック書込み部42aがそ
のブロックデータをローカルメモリ部13aに書込む。
さらに、ブロックデータを送信するためにブロックデー
タを転送制御部16aのブロックパケット送受信部43
aに出力する。ブロックパケット送受信部43aでは、
ノードIDおよびブロックビットを設定してブロックパ
ケットを生成し、リンク制御部17aに出力する。一
方、リンク制御部17aを介して受信されたブロックパ
ケットはブロックパケット送受信部43aに出力され、
メモリ制御部15aにてブロックパケットの指定アドレ
スに応じたローカルメモリ部13aにブロックデータを
書込む。
Next, the operation will be described. CPU 11a
Access to the RMU 12a is not limited to a load or store instruction, but may be a CP transfer such as a burst transfer or a DMA transfer.
In most cases, transfer of block data much longer than the U word length is possible. At this time, the memory control unit 1
The block reception control unit 41a receives the block data from the CPU 11a, and the block writing unit 42a writes the block data into the local memory unit 13a.
Further, in order to transmit the block data, the block data is transmitted to the block packet transmitting / receiving section 43 of the transfer control section 16a.
output to a. In the block packet transmitting / receiving unit 43a,
A block packet is generated by setting the node ID and the block bit, and output to the link control unit 17a. On the other hand, the block packet received via the link control unit 17a is output to the block packet transmitting / receiving unit 43a,
The memory controller 15a writes the block data to the local memory 13a corresponding to the designated address of the block packet.

【0046】ブロックパケットは、図25に示したワー
ドパケットと基本的に同じだが、データ部が複数ワード
のサイズになっている。従って、パケット当たりのデー
タ比率が増えるため、データ転送のスループットは向上
する。また、ワードパケットとブロックパケットが混在
するため、パケット処理や転送処理は複雑となるので、
ブロックパケットを固定長としている。パケット内部の
各項の並び順序は、多様な組み合わせが存在する。
The block packet is basically the same as the word packet shown in FIG. 25, except that the data portion has a size of a plurality of words. Therefore, since the data ratio per packet increases, the data transfer throughput improves. In addition, since word packets and block packets are mixed, packet processing and transfer processing become complicated.
The block packet has a fixed length. There are various combinations of the arrangement order of each item in the packet.

【0047】以上のように、この実施の形態4によれ
ば、CPU11aからのストア命令におけるバースト転
送またはDMA転送を受信するブロック受信制御部41
aと、ブロック受信制御部41aにより受信されたブロ
ックデータを含むブロックパケットを生成すると共に、
リンク制御部17aを介して受信したブロックパケット
をメモリ制御部15aに出力するブロックパケット送受
信部43aとを設けたので、CPU11aからのブロッ
ク転送をそのままローカルメモリ部13a〜13cに反
映させることができ、CPU11aからローカルメモリ
部13aへの転送と、RMU12a〜12c間の転送が
高速になり、通信帯域も節約できる。
As described above, according to the fourth embodiment, the block reception control unit 41 that receives a burst transfer or a DMA transfer in a store command from the CPU 11a.
a and a block packet including the block data received by the block reception control unit 41a is generated,
Since the block packet transmitting / receiving unit 43a that outputs the block packet received via the link control unit 17a to the memory control unit 15a is provided, the block transfer from the CPU 11a can be directly reflected in the local memory units 13a to 13c, The transfer from the CPU 11a to the local memory unit 13a and the transfer between the RMUs 12a to 12c become faster, and the communication band can be saved.

【0048】実施の形態5.図5はこの発明の実施の形
態5による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、53aはメモリ制御部15
a内に設けられ、CPU11aによって予め割り込み発
生条件が設定される割り込み条件設定部、51aは受信
されたパケットとその割り込み条件設定部53aに設定
された割り込み発生条件とを照合し、割り込み発生を判
定する割り込み条件判定部、52aはその割り込み条件
判定部53aにより割り込み発生が判定された場合に、
CPU11aに割り込み通知する割り込み制御部であ
る。bノードおよびcノードの構成はaノードと同様で
あり、また、その他の構成は図1と同様なのでその重複
する説明を省略する。
Embodiment 5 FIG. FIG. 5 is a block diagram showing a distributed shared memory network device according to a fifth embodiment of the present invention.
a, an interrupt condition setting unit 51a in which an interrupt generation condition is set in advance by the CPU 11a, 51a compares the received packet with the interrupt generation condition set in the interrupt condition setting unit 53a, and determines the occurrence of an interrupt. The interrupt condition judging unit 52a performs an interrupt when the interrupt condition judging unit 53a judges that an interrupt has occurred.
An interrupt control unit that notifies the CPU 11a of an interrupt. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0049】次に動作について説明する。受信されたパ
ケットに対するCPU11aへの割り込み通知を行う条
件を予めCPU11aにより割り込み条件設定部53a
に設定する。この割り込み条件設定部53aはレジスタ
等により構成されている。リンク制御部17aから受信
されたパケットを割り込み条件判定部51aがその割り
込み条件設定部53aに設定された条件に基づいて判定
する。例えば、割り込みビットが立っている、不正なア
ドレスをアクセスした、パケットに割り込みフラグが立
っている等が割り込み条件設定部53aのレジスタに条
件設定された値と一致すれば、割り込み制御部52a
に、CPU11aに割り込み通知するように指示する。
この時、割り込み条件設定部53aのレジスタの一部
に、割り込み発生した要因を書き込んでおく。CPU1
1aは割り込み処理においてレジスタを見ることで、割
り込み要因を知ることができる。
Next, the operation will be described. The condition for notifying the CPU 11a of the received packet is set in advance by the CPU 11a by the interrupt condition setting unit 53a.
Set to. The interrupt condition setting unit 53a is configured by a register and the like. The interrupt condition determining unit 51a determines the packet received from the link control unit 17a based on the condition set in the interrupt condition setting unit 53a. For example, if an interrupt bit is set, an illegal address is accessed, an interrupt flag is set in a packet, or the like, matches the value set in the register of the interrupt condition setting unit 53a, the interrupt control unit 52a
Is instructed to notify the CPU 11a of the interruption.
At this time, the cause of the interrupt is written in a part of the register of the interrupt condition setting unit 53a. CPU1
1a can know the interrupt factor by looking at the register in the interrupt processing.

【0050】以上のように、この実施の形態5によれ
ば、受信されたパケットと割り込み条件設定部53aに
設定された割り込み発生条件とを照合し、割り込み発生
を判定した場合に割り込み制御部52aからCPU11
aに割り込み通知させる割り込み条件判定部51aを設
けたので、RMU12aにおいて割り込み条件を設定で
きると共に、割り込み通知できる。
As described above, according to the fifth embodiment, the received packet is compared with the interrupt occurrence condition set in the interrupt condition setting unit 53a, and when it is determined that an interrupt has occurred, the interrupt control unit 52a is determined. From CPU 11
Since the interrupt condition determination unit 51a for notifying the interrupt is provided, the interrupt condition can be set and the interrupt can be notified in the RMU 12a.

【0051】実施の形態6.図6はこの発明の実施の形
態6による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、62aは転送制御部16a
内に設けられ、ネットワーク18に新規参入する際にC
PU11aによりノードIDが設定されるネットワーク
参入制御部、63aはそのネットワーク参入制御部62
aに設定されたノードIDを含む参入パケットを生成し
転送制御部17aに出力するネットワーク参入要求部、
61aは受信されたパケットが参入パケットである時に
その参入パケットに含まれるノードIDが自ノードID
と一致していればその受信されたパケットを棄却すると
共に、自ノードが新規参入要求中に自ノードIDと一致
した場合に自ノードが参入可能と判定するノードID判
定部である。bノードおよびcノードの構成はaノード
と同様であり、また、その他の構成は図1と同様なので
その重複する説明を省略する。
Embodiment 6 FIG. FIG. 6 is a block diagram showing a distributed shared memory network device according to Embodiment 6 of the present invention. In the figure, reference numeral 62a denotes a transfer control unit 16a.
Inside the network 18 when entering the network 18
The network entry control unit 63a in which the node ID is set by the PU 11a, 63a is the network entry control unit 62
a network entry requesting unit that generates an entry packet including the node ID set in a and outputs it to the transfer control unit 17a
61a indicates that when the received packet is an entry packet, the node ID included in the entry packet is its own node ID.
Is a node ID determining unit that rejects the received packet if it matches with the own node ID and determines that the own node can join if the own node matches the own node ID during the new entry request. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0052】次に動作について説明する。RMU12a
は、初期状態ではネットワーク18と接続されていない
ため、リンク制御部17aを制御してパケットを中継で
きるように設定する。さらに、他ノードにパケットを送
信するためには、自ノードが送信したパケットを回収す
るために、パケットに付加するネットワーク唯一のノー
ドIDを取得しなければならない。CPU11aは、予
め与えられたノードIDをネットワーク参入制御部62
aに設定し、ネットワーク参入を指示する。そのネット
ワーク参入制御部62aの指示により、ネットワーク参
入要求部63aは、設定されたノードIDを含む参入パ
ケットを生成し、リンク制御部17aを介してネットワ
ーク18に参入パケットを送信する。
Next, the operation will be described. RMU12a
Is not connected to the network 18 in the initial state, so that the link control unit 17a is controlled so that the packet can be relayed. Furthermore, in order to transmit a packet to another node, in order to collect the packet transmitted by the own node, it is necessary to acquire a node ID of the only network added to the packet. The CPU 11a stores the node ID given in advance in the network entry control unit 62.
Set to “a” to instruct network entry. In response to the instruction from the network entry control unit 62a, the network entry requesting unit 63a generates an entry packet including the set node ID, and transmits the entry packet to the network 18 via the link control unit 17a.

【0053】ノードID判定部61aは、リンク制御部
17aが受信する全てのパケットのノードIDを確認
し、自ノードIDと異なるノードIDを含むパケットは
中継し、新規参入要求中でない時に自ノードIDと一致
するノードIDを含むパケットを受信すると、そのパケ
ットを棄却する。新規参入要求中に自ノードIDと一致
するノードIDを含むパケットを受信した場合は、他の
ノードのノードID判定部61b,61cにより棄却さ
れなかった、即ち、一致するノードIDが無かったと捉
え、自ノードIDがネットワーク18上で唯一であるこ
とが承認されたとして、ローカルメモリ部13a〜13
cに反映されるパケットを送信可能なネットワーク18
に参入可能になったと判定する。一定時間経っても、参
入パケットが戻って来なければ、ネットワーク参入失敗
と判定して、リンク制御部17aのネットワーク接続を
バイパスする。
The node ID judging section 61a checks the node IDs of all the packets received by the link control section 17a, relays the packet containing the node ID different from the own node ID, and outputs the own node ID when no new entry request is being made. When a packet including a node ID that matches with is received, the packet is rejected. If a packet including a node ID that matches the own node ID is received during the new entry request, it is determined that the packet was not rejected by the node ID determination units 61b and 61c of other nodes, that is, there was no matching node ID. If it is determined that the own node ID is unique on the network 18, the local memory units 13a to 13
network 18 capable of transmitting the packet reflected in c.
Is determined to be able to enter. If the entry packet does not return after a certain time, it is determined that the network entry has failed, and the network connection of the link control unit 17a is bypassed.

【0054】なお、上記実施の形態6では、ノードID
判定部61aにより、新規参入要求中でない時に自ノー
ドIDと一致するノードIDを含むパケットを受信した
場合に、そのパケットを棄却したが、この場合は、一定
時間経たなくてはネットワーク参入失敗を判定すること
ができない。そこで、ノードID判定部61aにより、
新規参入要求中でない時に自ノードIDと一致するノー
ドIDを含むパケットを受信した場合に、そのパケット
を棄却せずにエラービットを立ててリンク制御部17a
に出力することにより、送信元のノードでは、参入パケ
ットのタイムアウトを待たずに、ネットワーク参入失敗
を判定することができる。
In the sixth embodiment, the node ID
When the determination unit 61a receives a packet including a node ID that matches the own node ID when a new entry request is not being issued, the packet is discarded. In this case, it is determined that the network entry has failed if a certain time has not passed. Can not do it. Therefore, the node ID determination unit 61a
When a packet including a node ID matching the own node ID is received when a new entry request is not being made, an error bit is set without rejecting the packet and the link control unit 17a is set.
, The transmission source node can determine that the network entry has failed without waiting for the timeout of the entry packet.

【0055】以上のように、この実施の形態6によれ
ば、参入パケットに含まれるノードIDが自ノードID
と一致していればそのパケットを棄却すると共に、自ノ
ードが新規参入要求中に自ノードIDと一致した場合に
自ノードが参入可能と判定するノードID判定部61a
を設けたので、ネットワーク18に新規参入する際に重
複するノードIDの設定を検出でき、設定ミスによる通
信トラブルを事前回避できる。
As described above, according to the sixth embodiment, the node ID included in the entry packet
If it matches, the packet is rejected, and if the own node matches the own node ID during the new entry request, the node ID determination unit 61a determines that the own node can enter.
Is provided, it is possible to detect duplicate node ID settings when newly entering the network 18, and to avoid communication troubles due to setting errors in advance.

【0056】実施の形態7.図7はこの発明の実施の形
態7による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、74aは転送制御部16a
内に設けられ、ノードIDを初期値から始めてネットワ
ーク参入制御部62aに出力すると共に、ノードID判
定部61aにより判定される参入失敗の度にそのノード
IDを増加させてそのネットワーク参入制御部62aに
出力するノードID自動設定部である。bノードおよび
cノードの構成はaノードと同様であり、また、その他
の構成は図1と同様なのでその重複する説明を省略す
る。
Embodiment 7 FIG. FIG. 7 is a block diagram showing a distributed shared memory network device according to Embodiment 7 of the present invention. In the figure, reference numeral 74a denotes a transfer control unit 16a.
And outputs the node ID to the network entry control unit 62a starting from the initial value, and increases the node ID every time entry failure is determined by the node ID determination unit 61a. This is a node ID automatic setting unit to output. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0057】次に動作について説明する。実施の形態6
では、CPU11aによりネットワーク参入制御部62
aに自ノードIDを設定したが、この実施の形態7で
は、ノードID自動設定部74aによりネットワーク参
入制御部62aに自ノードIDを設定する。まず、ノー
ドID自動設定部74aによりネットワーク参入制御部
62aに初期値の自ノードIDを設定する。ネットワー
ク18上にパケットが周回し、ノードID判定部61a
によりネットワーク参入失敗が判定される度に、ノード
ID自動設定部74aは自ノードIDをインクリメント
またはデクリメントし、自ノードIDを再設定する。こ
のように、順に自ノードIDを更新しては参入パケット
を送信することで、最終的に唯一性が保証された自ノー
ドIDを探し出し、その自ノードIDによりネットワー
クに参入する。
Next, the operation will be described. Embodiment 6
Now, the network entry control unit 62 is controlled by the CPU 11a.
In the seventh embodiment, the own node ID is set in the network entry control unit 62a by the node ID automatic setting unit 74a. First, the node ID automatic setting unit 74a sets the initial value of the own node ID in the network entry control unit 62a. The packet circulates on the network 18, and the node ID determination unit 61a
Each time it is determined that the network entry has failed, the node ID automatic setting unit 74a increments or decrements the own node ID and resets the own node ID. In this manner, by sequentially updating the own node ID and transmitting the entry packet, the own node ID whose uniqueness is guaranteed is finally found, and the network is entered by the own node ID.

【0058】以上のように、この実施の形態7によれ
ば、ノードIDを初期値から始めてノードID判定部6
1aにより判定される参入失敗の度にそのノードIDを
増加させてそのネットワーク参入制御部62aに出力す
るノードID自動設定部74aを設けたので、実施の形
態6では、マニュアルで設定するしかなかったノードI
Dを自動的に設定可能となる。
As described above, according to the seventh embodiment, the node ID is started from the initial value, and
Since the node ID automatic setting unit 74a that increases the node ID and outputs the node ID to the network entry control unit 62a every time the entry failure is determined by 1a is provided, in the sixth embodiment, there is no choice but to set manually. Node I
D can be automatically set.

【0059】実施の形態8.図8はこの発明の実施の形
態8による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、81aは参入失敗表示部で
あり、RAS部14aは、転送制御部16aにおけるネ
ットワーク参入失敗の際に、その参入失敗表示部81a
に参入失敗表示すると共に、リンク制御部17aに受信
されるパケットを直接他ノードにバイパスするものであ
る。bノードおよびcノードの構成はaノードと同様で
あり、また、その他の構成は図1と同様なのでその重複
する説明を省略する。
Embodiment 8 FIG. FIG. 8 is a block diagram showing a distributed shared memory network device according to an eighth embodiment of the present invention. In the figure, reference numeral 81a denotes an entry failure display unit, and RAS unit 14a is used when the transfer control unit 16a fails to enter the network. The entry failure display section 81a
Is displayed, and a packet received by the link control unit 17a is directly bypassed to another node. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0060】次に動作について説明する。転送制御部1
6aは、ネットワーク参入失敗の際に、RAS部14a
にその旨を出力し、RAS部14aでは、リンク制御部
17aにネットワーク18のバイパスを指示すると共
に、LED等の参入失敗表示部81aにネットワーク参
入失敗の信号を表示する。また、RAS部14aでは、
CPU11aがアクセスできる空間に、参入失敗フラグ
を立てる。
Next, the operation will be described. Transfer control unit 1
6a, when the network entry fails, the RAS unit 14a
The RAS unit 14a instructs the link control unit 17a to bypass the network 18 and displays a network entry failure signal on an entry failure display unit 81a such as an LED. In the RAS unit 14a,
An entry failure flag is set in a space accessible by the CPU 11a.

【0061】以上のように、この実施の形態8によれ
ば、転送制御部16aにおけるネットワーク参入失敗の
際に、その参入失敗表示部81aに参入失敗表示すると
共に、リンク制御部17aに受信されるパケットを直接
他ノードにバイパスするRAS部14aを設けたので、
ネットワーク参入失敗でネットワーク18をバイパスす
ることにより、ノードIDが重複する状態でネットワー
ク運用することを防ぐことができる。さらに、ネットワ
ーク参入失敗を外部表示することでトラブル発見が容易
となる。
As described above, according to the eighth embodiment, when the transfer control section 16a fails to join the network, the entry failure display section 81a displays the entry failure and the link control section 17a receives the entry failure. Since the RAS unit 14a that directly bypasses the packet to another node is provided,
By bypassing the network 18 due to network entry failure, it is possible to prevent network operation in a state where node IDs are duplicated. Further, by externally displaying the failure to enter the network, trouble finding becomes easy.

【0062】実施の形態9.図9はこの発明の実施の形
態9による分散共有メモリネットワーク装置を示すブロ
ック図であり、図において、91aは転送制御部16a
内に設けられ、受信されたパケットの中継毎にそのパケ
ットに含まれる中継回数を増加させる中継カウンタ部、
92aはその中継回数が所定の回数を上回るパケットを
除外する長寿パケット処理部である。bノードおよびc
ノードの構成はaノードと同様であり、また、その他の
構成は図1と同様なのでその重複する説明を省略する。
Embodiment 9 FIG. 9 is a block diagram showing a distributed shared memory network device according to Embodiment 9 of the present invention. In the figure, reference numeral 91a denotes a transfer control unit 16a.
A relay counter unit that is provided within and increases the number of relays included in the received packet for each relay of the received packet;
Reference numeral 92a denotes a long-lived packet processing unit for excluding packets whose number of relays exceeds a predetermined number. b-node and c
The configuration of the node is the same as that of the a-node, and the other configuration is the same as that of FIG.

【0063】次に動作について説明する。図26に示す
ように、パケットには、パケットの中継毎に増加される
中継回数を設け、パケットの中継毎に中継カウンタ部9
1aがその中継回数を増加させる。もし、パケットを送
信したノードのMRUが周回パケットを回収する前に停
止した場合、そのパケットは回収元がないために永遠に
ネットワーク18上をさまようこととなる。そこで、長
寿パケット処理部92aは、所定の回数とパケットに含
まれる中継回数とを比較し、その中継回数が所定の回数
を上回っている場合に、中継せずにそのパケットを棄却
する。
Next, the operation will be described. As shown in FIG. 26, a packet is provided with a relay count which is increased every time a packet is relayed.
1a increases the number of relays. If the MRU of the node that transmitted the packet stops before collecting the circulating packet, the packet has to roam the network 18 forever because there is no collection source. Therefore, the longevity packet processing unit 92a compares the predetermined number of times with the number of relays included in the packet, and if the number of relays exceeds the predetermined number, discards the packet without relaying.

【0064】以上のように、この実施の形態9によれ
ば、受信されたパケットの中継毎にそのパケットに含ま
れる中継回数を増加させる中継カウンタ部91aと、そ
の中継回数が所定の回数を上回るパケットを除外する長
寿パケット処理部92aとを設けたので、パケット周回
中に送信元のノードに障害が発生しても、不正パケット
を中継回数で検出し、そのパケットを棄却することがで
きるので、ロバスト性および障害解析性を向上させるこ
とができる。
As described above, according to the ninth embodiment, each time a received packet is relayed, the relay counter 91a increases the number of relays included in the packet, and the number of relays exceeds a predetermined number. Since the longevity packet processing unit 92a that excludes the packet is provided, even if a failure occurs in the transmission source node during the packet circulation, the illegal packet can be detected by the number of relays and the packet can be discarded. Robustness and fault analysis can be improved.

【0065】実施の形態10.図10はこの発明の実施
の形態10による分散共有メモリネットワーク装置を示
すブロック図であり、図において、101aは転送制御
部16a内に設けられ、受信されたパケットのノードI
Dの最高値を検出する最大ノードID検出部、102a
はその最大ノードID検出部101aにより検出された
ノードIDの最高値を記録し、長寿パケット処理部92
aに所定の回数として設定する最大ノードID記録部で
ある。bノードおよびcノードの構成はaノードと同様
であり、また、その他の構成は図1と同様なのでその重
複する説明を省略する。
Embodiment 10 FIG. FIG. 10 is a block diagram showing a distributed shared memory network device according to Embodiment 10 of the present invention. In the figure, 101a is provided in the transfer control unit 16a, and receives a node I of a received packet.
A maximum node ID detector for detecting the highest value of D, 102a
Records the highest value of the node ID detected by the maximum node ID detection unit 101a,
This is a maximum node ID recording unit that is set as a predetermined number in a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0066】次に動作について説明する。最大ノードI
D検出部101aにおいて、受信されたパケットのノー
ドIDの最高値を検出する。また、最大ノードID記録
部102aにより、その最大ノードID検出部101a
により検出されたノードIDの最高値を記録し、長寿パ
ケット処理部92aに所定の回数として設定する。長寿
パケット処理部92aでは、実施の形態10で示したよ
うに、所定の回数とパケットに含まれる中継回数とを比
較し、その中継回数が所定の回数を上回っている場合
に、中継せずにそのパケットを棄却する。
Next, the operation will be described. Maximum node I
The D detection unit 101a detects the highest value of the node ID of the received packet. Also, the maximum node ID detection unit 101a
The maximum value of the node ID detected by the above is recorded and set as a predetermined number of times in the longevity packet processing unit 92a. In the longevity packet processing unit 92a, as described in the tenth embodiment, the predetermined number is compared with the number of relays included in the packet, and when the number of relays exceeds the predetermined number, the packet is not relayed. Discard the packet.

【0067】以上のように、この実施の形態10によれ
ば、受信されたパケットのノードIDの最高値を検出す
る最大ノードID検出部101aと、そのノードIDの
最高値を記録し、長寿パケット処理部92aに所定の回
数として設定する最大ノードID記録部102aとを設
けたので、所定の回数を予め設定しなくても、自動的に
学習することができ、設定が簡単、且つ長寿パケットの
判定を早い段階で行うことができる。
As described above, according to the tenth embodiment, the maximum node ID detecting section 101a for detecting the maximum value of the node ID of the received packet, the maximum value of the node ID is recorded, and the longevity packet is recorded. Since the processing unit 92a is provided with the maximum node ID recording unit 102a which is set as a predetermined number of times, the learning can be automatically performed without setting the predetermined number of times in advance. The determination can be made at an early stage.

【0068】実施の形態11.図11はこの発明の実施
の形態11による分散共有メモリネットワーク装置を示
すブロック図であり、図において、110aは転送制御
部16a内に設けられ、所定の時間を経過した場合にR
AS部14aに障害発生を出力する周回タイマ部、11
1aはパケットの送信時に周回タイマ部110aをリセ
ットする周回タイマリセット部、112aはそのパケッ
トの受信時に周回タイマ部110aをクリアする周回タ
イマクリア部である。bノードおよびcノードの構成は
aノードと同様であり、また、その他の構成は図1と同
様なのでその重複する説明を省略する。
Embodiment 11 FIG. FIG. 11 is a block diagram showing a distributed shared memory network device according to an eleventh embodiment of the present invention. In the figure, reference numeral 110a is provided in the transfer control unit 16a, and when a predetermined time has elapsed, R
A circulating timer unit that outputs a fault occurrence to the AS unit 14a, 11
1a is a round timer reset unit that resets the round timer unit 110a when transmitting a packet, and 112a is a round timer clear unit that clears the round timer unit 110a when receiving the packet. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0069】次に動作について説明する。パケットを送
信する際に、周回タイマリセット部111aが周回タイ
マ部110aをリセットし、周回したそのパケットを受
信した時点で周回タイマクリア部112aが周回タイマ
部110aをクリアする。周回タイマ部110aがタイ
ムアウトを検出するとRAS部14aに出力し、ネット
ワーク18または他ノードの中継機能に障害が発生した
とみなし、RAS部14aが重故障としてリンク制御部
17aにバイパス指示を出す。なお、タイムアウト時間
の設定は、CPU11aからのパラメータ設定により可
能である。
Next, the operation will be described. When transmitting a packet, the circulation timer reset unit 111a resets the circulation timer unit 110a, and when the circulation packet is received, the circulation timer clear unit 112a clears the circulation timer unit 110a. When the cycle timer unit 110a detects a timeout, the time is output to the RAS unit 14a, and it is considered that a failure has occurred in the relay function of the network 18 or another node. Note that the setting of the timeout time can be performed by setting parameters from the CPU 11a.

【0070】以上のように、この実施の形態11によれ
ば、所定の時間を経過した場合にRAS部14aに障害
発生を出力する周回タイマ部110aと、パケットの送
信時に周回タイマ110aをリセットする周回タイマリ
セット部111aと、そのパケットの受信時に周回タイ
マ部110aをクリアする周回タイマクリア部112a
とを設けたので、ネットワーク障害等のパケットの周回
が阻止される障害を検知し、障害拡大を回避することが
できる。
As described above, according to the eleventh embodiment, the circulation timer unit 110a that outputs a failure occurrence to the RAS unit 14a when a predetermined time has elapsed, and the circulation timer 110a is reset when transmitting a packet. Loop timer reset unit 111a, and a round timer clear unit 112a that clears round timer unit 110a when receiving the packet.
Thus, it is possible to detect a failure such as a network failure that prevents the packet from being circulated, and avoid the spread of the failure.

【0071】実施の形態12.図12はこの発明の実施
の形態12による分散共有メモリネットワーク装置を示
すブロック図であり、図において、121aは転送制御
部16a内に設けられ、自ノードから送信されるパケッ
トを記録する送信バッファ部、122aは受信されたパ
ケットのノードIDと自ノードIDとの一致を検出する
周回パケット検出部、123aはその周回パケット検出
部122aにより一致が検出された場合に、送信バッフ
ァ部121aに記録されたパケットと受信されたパケッ
トとの内容を比較し、パケットの周回による転送誤りを
検出する周回パケットエラー検出部、124aはその周
回パケットエラー検出部123aにより転送誤りが検出
された場合に、送信バッファ部121aに記録されたパ
ケットを再送信する再送制御部である。bノードおよび
cノードの構成はaノードと同様であり、また、その他
の構成は図1と同様なのでその重複する説明を省略す
る。
Embodiment 12 FIG. FIG. 12 is a block diagram showing a distributed shared memory network device according to a twelfth embodiment of the present invention. In the figure, reference numeral 121a denotes a transmission buffer unit provided in a transfer control unit 16a for recording a packet transmitted from its own node. , 122a is a circulating packet detection unit that detects the coincidence between the node ID of the received packet and its own node ID, and 123a is recorded in the transmission buffer unit 121a when the circulating packet detection unit 122a detects a match. A circulating packet error detection unit 124a for comparing the contents of the packet and the received packet and detecting a transmission error due to circulating of the packet, and a transmission buffer unit 124a when the circulating packet error detection unit 123a detects a transmission error. It is a retransmission control unit that retransmits the packet recorded in 121a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0072】次に動作について説明する。自ノードから
送信されるパケットは、送信バッファ部121aに記録
される。周回パケット検出部122aは、受信されるパ
ケットのノードIDと自ノードIDとの一致を調べて、
自身が送信して周回してきたパケットを検出する。周回
パケットエラー検出部123aは、自身が送信して周回
してきたパケットと送信バッファ部121aに記録され
たパケットの内容を比較し、一致していれば正常周回と
してパケットを棄却する。一致していなければネットワ
ーク18上で転送誤りがあったとみなして、再送制御部
124aにより送信バッファ部121aに記録されたパ
ケットを再送する。さらに、再送したパケットが周回し
てきて再度エラーとなると、カード故障としてRAS部
14aによりネットワーク離脱する。従って、送信した
パケットが周回してエラーチェックが終了するまで、メ
モリ制御部15aからの新規のパケットの送信を行うこ
とができない。
Next, the operation will be described. The packet transmitted from the own node is recorded in the transmission buffer unit 121a. The circulating packet detection unit 122a checks whether the node ID of the received packet matches the own node ID,
It detects packets that it transmitted and circulated. The circulating packet error detection unit 123a compares the packet transmitted and circulated by itself with the contents of the packet recorded in the transmission buffer unit 121a, and rejects the packet as a normal wrap if they match. If they do not match, it is assumed that a transfer error has occurred on the network 18, and the retransmission control unit 124a retransmits the packet recorded in the transmission buffer unit 121a. Further, if the retransmitted packet circulates and causes an error again, the RAS unit 14a leaves the network as a card failure. Therefore, a new packet cannot be transmitted from the memory control unit 15a until the transmitted packet circulates and the error check ends.

【0073】以上のように、この実施の形態12によれ
ば、自ノードから送信されるパケットを記録する送信バ
ッファ部121aと、受信されたパケットのノードID
と自ノードIDとの一致を検出する周回パケット検出部
122aと、その周回パケット検出部122aにより一
致が検出された場合に、送信バッファ部121aに記録
されたパケットと受信されたパケットとの内容を比較
し、パケットの周回による転送誤りを検出する周回パケ
ットエラー検出部123aと、その周回パケットエラー
検出部123aにより転送誤りが検出された場合に、送
信バッファ部121aに記録されたパケットを再送信す
る再送制御部124aとを設けたので、ネットワーク中
継中の通信誤りを訂正することができ、分散共有メモリ
の信頼性を向上させることができる。
As described above, according to the twelfth embodiment, the transmission buffer unit 121a for recording the packet transmitted from the own node, the node ID of the received packet,
Packet detector 122a for detecting a match between the packet and its own node ID, and, when a match is detected by the packet detector 122a, the contents of the packet recorded in the transmission buffer 121a and the contents of the received packet are And a retransmission packet error detecting unit 123a for detecting a transfer error due to repetition of the packet, and retransmitting the packet recorded in the transmission buffer unit 121a when the retransmission packet error detection unit 123a detects a transfer error. Since the retransmission control unit 124a is provided, a communication error during network relay can be corrected, and the reliability of the distributed shared memory can be improved.

【0074】実施の形態13.図13はこの発明の実施
の形態13による分散共有メモリネットワーク装置を示
すブロック図であり、図において、131aは転送制御
部16a内に設けられ、自ノードから送信される複数の
パケットを記録するFIFOバッファ部である。また、
周回パケットエラー検出部123aは、周回パケット検
出部122aにより一致が検出された場合に、FIFO
バッファ部131aに記録された先頭パケットと受信さ
れたパケットとの内容を比較し、再送制御部124a
は、その周回パケットエラー検出部123aにより転送
誤りが検出されなかった場合に、上記FIFOバッファ
部131aに記録された先頭パケットを1つ繰り上げる
と共に、転送誤りが検出された場合に、そのFIFOバ
ッファ部131aに記録された全てのパケットに再送ビ
ットを立てて再送信し、送信済の再送ビットが立てられ
ていないパケットを受信した場合にそのパケットを棄却
する機能を備えたものである。bノードおよびcノード
の構成はaノードと同様であり、また、その他の構成は
図1と同様なのでその重複する説明を省略する。
Embodiment 13 FIG. FIG. 13 is a block diagram showing a distributed shared memory network device according to a thirteenth embodiment of the present invention. In the figure, reference numeral 131a denotes a FIFO provided in a transfer control unit 16a for recording a plurality of packets transmitted from its own node. It is a buffer unit. Also,
The circulating packet error detecting unit 123a, when a match is detected by the circulating packet detecting unit 122a,
The contents of the first packet recorded in the buffer unit 131a and the contents of the received packet are compared, and the retransmission control unit 124a
When the transfer error is not detected by the cyclic packet error detection unit 123a, the leading packet recorded in the FIFO buffer unit 131a is incremented by one, and when the transfer error is detected, the FIFO buffer unit It has a function of setting a retransmission bit for all packets recorded in 131a, retransmitting the packet, and rejecting the packet when a transmitted packet having no retransmission bit received is received. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0075】次に動作について説明する。図12と比較
して、送信バッファ部121aがFIFOバッファ部1
31aとなり、FIFOキューが一杯になるまで続けて
パケットを送信できるようになっている。周回パケット
エラー検出部123aは、周回パケット検出部122a
により一致が検出された場合に、周回され受信されたパ
ケットとFIFOバッファ部131aに記録された先頭
パケットとを比較する。再送制御部124aは、その比
較が一致していれば先頭パケットを1つ繰り上げる。ま
た、不一致であれば、現在ネットワーク18上に周回し
ているパケット、即ち、FIFOバッファ部131aに
記録された全てのパケットに再送ビットを立てて再送す
る。再送が始まると、再送ビットが立ったパケットが周
回するまで、自ノードの周回し受信されたパケットを全
て棄却し、再送ビットが立てられたパケットのみをFI
FOバッファ部131aに記録された先頭パケットと比
較する。全ての再送されたパケットがエラーフリーであ
れば、再送が成功したことになるので通常処理に戻る。
また、再送されたパケットにエラーが検出されれば、カ
ード故障としてRAS部14aによりノード離脱する。
Next, the operation will be described. As compared with FIG. 12, the transmission buffer unit 121a is different from the FIFO buffer unit 1 in FIG.
At 31a, packets can be continuously transmitted until the FIFO queue is full. The circulating packet error detection unit 123a includes a circulating packet detection unit 122a.
When a match is detected, the received packet circulated is compared with the first packet recorded in the FIFO buffer unit 131a. If the comparisons match, retransmission control section 124a advances the leading packet by one. If they do not match, a retransmission bit is set for the packet currently circulating on the network 18, that is, all the packets recorded in the FIFO buffer unit 131a, and the packet is retransmitted. When retransmission starts, all packets circulated and received by the own node are discarded until the packet with the retransmission bit set circulates, and only the packet with the retransmission bit set is FI
This is compared with the first packet recorded in the FO buffer unit 131a. If all the retransmitted packets are error free, the retransmission has succeeded, and the process returns to the normal processing.
If an error is detected in the retransmitted packet, the RAS unit 14a leaves the node as a card failure.

【0076】以上のように、この実施の形態13によれ
ば、自ノードから送信される複数のパケットを記録する
FIFOバッファ部131aを設け、再送制御部124
aに、周回パケットエラー検出部123aにより転送誤
りが検出された場合に、FIFOバッファ部131aに
記録された全てのパケットに再送ビットを立てて再送信
し、送信済の再送ビットが立てられていないパケットを
受信した場合にそのパケットを棄却する機能を備えたの
で、実施の形態12では、パケットが周回するまで送信
できなかったのに対して、FIFOバッファ部131a
があふれるまで連続して送信およびエラーチェックがで
きる。従って、ノードの送信効率が大幅に向上する。ま
た、FIFOバッファ部131aの深さをパケット周回
時間以上にすれば、実質的にFIFOバッファ部131
aのあふれは発生しない。
As described above, according to the thirteenth embodiment, the FIFO buffer unit 131a for recording a plurality of packets transmitted from the own node is provided, and the retransmission control unit 124
When a transfer error is detected by the cyclic packet error detection unit 123a, retransmission bits are set for all packets recorded in the FIFO buffer unit 131a and retransmission is performed, and no transmitted retransmission bit is set. In the twelfth embodiment, since a packet cannot be transmitted until the packet circulates, a function of rejecting the packet when the packet is received is provided.
Transmission and error checking can be performed continuously until overflows. Therefore, the transmission efficiency of the node is greatly improved. Further, if the depth of the FIFO buffer unit 131a is set to be equal to or longer than the packet circulation time, the FIFO buffer unit 131
The overflow of a does not occur.

【0077】実施の形態14.図14はこの発明の実施
の形態14による分散共有メモリネットワーク装置を示
すブロック図であり、図において、141aは転送制御
部16a内に設けられ、受信したパケットを送信可能と
なるまで記録する中継FIFOバッファ部、142aは
FIFOバッファ部131aが一杯になった時に、中継
FIFOバッファ部141aによる中継処理よりもその
FIFOバッファ部131aの送信処理を優先させる送
信優先度制御部である。bノードおよびcノードの構成
はaノードと同様であり、また、その他の構成は図1と
同様なのでその重複する説明を省略する。
Embodiment 14 FIG. FIG. 14 is a block diagram showing a distributed shared memory network device according to Embodiment 14 of the present invention. In the figure, reference numeral 141a denotes a relay FIFO provided in a transfer control unit 16a for recording received packets until transmission becomes possible. The buffer unit 142a is a transmission priority control unit that gives priority to the transmission processing of the FIFO buffer unit 131a over the relay processing by the relay FIFO buffer unit 141a when the FIFO buffer unit 131a is full. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0078】次に動作について説明する。FIFOバッ
ファ部131aは、他のノードから受信されたパケット
の中継処理を優先するために、自ノードから送信するパ
ケットを一時記録するために設けたものであるが、エラ
ー再送のためにFIFOバッファ部131aが一杯にな
った時、送信優先度制御部142aは、FIFOバッフ
ァ部131aからのパケットの送信を中継FIFOバッ
ファ部141aによる中継処理よりも優先してリンク制
御部17aに送信要求を出力する。そして、FIFOバ
ッファ部131aが空になると、送信優先度制御部14
2aは、再び中継FIFOバッファ部141aによる中
継処理に戻す。即ち、FIFOバッファ部131aが一
杯となったノードを一時的に送信優先とすることで、ノ
ードのパケットの送信要求の遅延を改善する。
Next, the operation will be described. The FIFO buffer unit 131a is provided for temporarily recording a packet transmitted from the own node in order to prioritize a relay process of a packet received from another node. However, the FIFO buffer unit 131a is used for error retransmission. When 131a is full, the transmission priority control unit 142a outputs a transmission request to the link control unit 17a with priority given to transmission of a packet from the FIFO buffer unit 131a over relay processing by the relay FIFO buffer unit 141a. When the FIFO buffer unit 131a becomes empty, the transmission priority control unit 14
2a returns to the relay processing by the relay FIFO buffer unit 141a again. That is, by temporarily giving priority to a node whose FIFO buffer unit 131a is full to transmission, the delay of a packet transmission request from the node is improved.

【0079】以上のように、この実施の形態14によれ
ば、FIFOバッファ部131aが一杯になった時に、
中継FIFOバッファ部141aによる中継処理よりも
そのFIFOバッファ部131aの送信処理を優先させ
る送信優先度制御部142aを設けたので、特定ノード
のRMUのCPUアクセス負荷が高い状況において、特
定ノードの転送停止を緩和することができる。
As described above, according to the fourteenth embodiment, when the FIFO buffer unit 131a is full,
Since the transmission priority control unit 142a that prioritizes the transmission processing of the FIFO buffer unit 131a over the relay processing by the relay FIFO buffer unit 141a is provided, the transfer of the specific node is stopped in a situation where the CPU access load of the RMU of the specific node is high. Can be alleviated.

【0080】実施の形態15.図15はこの発明の実施
の形態15による分散共有メモリネットワーク装置を示
すブロック図であり、図において、151aは転送制御
部16a内に設けられ、CPU11aからの設定により
自ノードからのパケットの送信を停止する送信抑制部で
ある。bノードおよびcノードの構成はaノードと同様
であり、また、その他の構成は図1と同様なのでその重
複する説明を省略する。
Embodiment 15 FIG. FIG. 15 is a block diagram showing a distributed shared memory network device according to a fifteenth embodiment of the present invention. In the figure, reference numeral 151a is provided in the transfer control unit 16a, and transmits a packet from its own node by setting from the CPU 11a. This is a transmission suppression unit that stops. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0081】次に動作について説明する。送信抑制部1
51aは、CPU11aからの設定によりメモリ制御部
15aからのパケットの送信要求を無視する。この時、
パケットの受信およびその受信されたパケットのローカ
ルメモリ部13aへの反映は、実施の形態1と同様に行
われる。従って、ネットワーク18を流れるパケットの
ローカルメモリ部13aへの反映は行うが、自ノードか
らパケットを送信することはできない。CPU11aか
ら送信抑制部151aへの設定は、制御レジスタ(CS
R)へのライト命令、または、メモリ制御部15aへの
コマンド送信によって行う。
Next, the operation will be described. Transmission suppression unit 1
51a ignores the packet transmission request from the memory control unit 15a according to the setting from the CPU 11a. At this time,
The reception of the packet and the reflection of the received packet on the local memory unit 13a are performed in the same manner as in the first embodiment. Therefore, although the packet flowing through the network 18 is reflected in the local memory unit 13a, the packet cannot be transmitted from the own node. The setting from the CPU 11a to the transmission suppression unit 151a is performed in the control register (CS
R) or by sending a command to the memory control unit 15a.

【0082】以上のように、この実施の形態15によれ
ば、CPU11aからの設定により自ノードからのパケ
ットの送信を停止する送信抑制部151aを設けたの
で、ノードからパケットを受信するが、パケットを送信
しない試験モードで運転する、あるいはRMUを他のノ
ードの状態と等化させることができる。
As described above, according to the fifteenth embodiment, the transmission suppressing unit 151a for stopping the transmission of the packet from the own node according to the setting from the CPU 11a is provided. , Or the RMU can be equalized with the state of another node.

【0083】実施の形態16.図16はこの発明の実施
の形態16による分散共有メモリネットワーク装置を示
すブロック図であり、図において、161aはメモリ制
御部15a内に設けられ、CPU11aからローカルメ
モリ部13aの書込み可能領域が設定され、CPU11
aからのストア命令がその書込み可能領域内であればメ
モリ書込み部162aによりそのデータを書込み、書込
み可能領域外であれば書込みを行わない書込み可能領域
設定部である。bノードおよびcノードの構成はaノー
ドと同様であり、また、その他の構成は図1と同様なの
でその重複する説明を省略する。
Embodiment 16 FIG. FIG. 16 is a block diagram showing a distributed shared memory network device according to Embodiment 16 of the present invention. In the figure, reference numeral 161a is provided in the memory control unit 15a, and a writable area of the local memory unit 13a is set by the CPU 11a. , CPU 11
If the store instruction from a is within the writable area, the data is written by the memory writing unit 162a, and if the store instruction is outside the writable area, no writing is performed. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0084】次に動作について説明する。書込み可能領
域設定部161aは、ローカルメモリ部13aにおいて
自ノードのCPU11aが書込みできる領域を、そのC
PU11aから設定し、そのCPU11aからストア命
令があった際には、メモリ書込み部162aによりアド
レスをチェックし、書込み可能領域内であればメモリ書
込み部162aによりローカルメモリ部13aにデータ
を書込む。また、書込み可能領域外であればストア命令
を無視し、ローカルメモリ部13aへの書込みもパケッ
トの送信も行わない。
Next, the operation will be described. The writable area setting unit 161a sets an area in the local memory unit 13a in which the CPU 11a of its own node can write,
The setting is made from the PU 11a, and when there is a store instruction from the CPU 11a, the address is checked by the memory writing unit 162a, and if it is within the writable area, the data is written to the local memory unit 13a by the memory writing unit 162a. If it is outside the writable area, the store command is ignored, and neither writing to the local memory unit 13a nor transmission of a packet is performed.

【0085】なお、CPU11aからの書込み可能領域
の設定方法は、可能領域の開始と終了アドレスを指定す
る方法、あるいは開始アドレスとサイズを指定する方法
がある。また、複数アドレスセットを指定することも可
能である。書込み可能領域は、複数ノードから書込み可
能と設定することもできる。また、書込み可能領域外へ
のアクセスがあった場合、CPU11aに書込み禁止違
反があった旨を割り込み通知する、あるいはCSRによ
り通知することを行う方法もある。
The method for setting the writable area from the CPU 11a includes a method of designating the start and end addresses of the possible area, or a method of designating the start address and size. It is also possible to specify a plurality of address sets. The writable area can be set to be writable from a plurality of nodes. Further, when an access is made to the outside of the writable area, there is a method of notifying the CPU 11a of a write prohibition violation by interruption or notifying the CPU 11a by CSR.

【0086】以上のように、この実施の形態16によれ
ば、CPU11aからローカルメモリ部13aの書込み
可能領域が設定され、CPU11aからのストア命令が
その書込み可能領域内であればメモリ書込み部162a
によりそのデータを書込み、書込み可能領域外であれば
書込みを行わない書込み可能領域設定部161aを設け
たので、書込み可能なローカルメモリ部13aの領域を
ノード毎に設定を変えることができるので、該当ノード
以外によるデータ変更を防ぐことができ、データ保護が
可能となる。
As described above, according to the sixteenth embodiment, the writable area of the local memory unit 13a is set by the CPU 11a, and if the store instruction from the CPU 11a is within the writable area, the memory writing unit 162a
Since the writable area setting unit 161a that writes the data and does not perform writing if the data is outside the writable area is provided, the setting of the area of the writable local memory unit 13a can be changed for each node. Data change by a node other than the node can be prevented, and data protection becomes possible.

【0087】実施の形態17.図17はこの発明の実施
の形態17による分散共有メモリネットワーク装置を示
すブロック図であり、図において、171aは転送制御
部16a内に設けられ、送信するパケットをCRC符号
化するCRC符号化部、172aは受信されたパケット
を解読するCRC解読部、173aはそのCRC解読部
172aによる解読により受信されたパケットのエラー
チェックするパケットエラー設定部である。bノードお
よびcノードの構成はaノードと同様であり、また、そ
の他の構成は図1と同様なのでその重複する説明を省略
する。
Embodiment 17 FIG. FIG. 17 is a block diagram showing a distributed shared memory network device according to a seventeenth embodiment of the present invention. Reference numeral 172a denotes a CRC decoding unit that decodes the received packet, and 173a denotes a packet error setting unit that checks an error of the packet received by the decoding by the CRC decoding unit 172a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0088】次に動作について説明する。送信するパケ
ットはCRC符号化部171aによりCRC符号化され
るので、送信および受信される全てのパケットはCRC
符号化され、ネットワーク18に送信される。受信され
たパケットはCRC解読部172aにより解読した上
で、パケットエラー設定部173aにより、ノードID
および中継回数等のチェックが行われる。その解読時に
誤りが検出され、中継すべきパケットであれば、パケッ
トエラー設定部173aにより、パケットに含まれる属
性情報にエラービットを立ててそのパケットを送信す
る。エラービットが立ったパケットは、各ノードにおい
てローカルメモリ部に反映することはできず、また、送
信元ノードが周回したパケットとして回収した時点で、
エラー再送となる。なお、CRC符号ではなく、パリテ
ィ,ECC符号を用いて符号化、解読を行ってもよい。
特に、ECC2ビットのように1ビット誤りを自動訂正
できる場合は、自動訂正した結果をメモリの反映と中継
処理に用いることができる。
Next, the operation will be described. Packets to be transmitted are CRC-encoded by the CRC encoding unit 171a, so that all packets transmitted and received
Encoded and transmitted to network 18. The received packet is decrypted by the CRC decryption unit 172a, and the packet ID is set by the packet error setting unit 173a.
Then, the number of relays and the like are checked. If an error is detected at the time of decoding and the packet is to be relayed, the packet error setting unit 173a sets an error bit in the attribute information included in the packet and transmits the packet. The packet with the error bit set cannot be reflected in the local memory unit at each node, and when the packet is collected as a circulated packet by the transmission source node,
An error will be retransmitted. Note that encoding and decoding may be performed using parity and ECC codes instead of CRC codes.
In particular, when a one-bit error can be automatically corrected such as two bits of ECC, the result of the automatic correction can be used for reflection in a memory and relay processing.

【0089】以上のように、この実施の形態17によれ
ば、送信するパケットをCRC符号化するCRC符号化
部171aと、受信されたパケットを解読するCRC解
読部172aと、そのCRC解読部172aによる解読
により受信されたパケットのエラーチェックするパケッ
トエラー設定部173aとを設けたので、送信中のパケ
ットの誤りを検出した時点でエラーと判定できるので、
誤りパケットを各ノードのメモリに反映する事態が起こ
らない。また、限定された誤りであれば、自動修復でき
る。
As described above, according to the seventeenth embodiment, CRC encoding section 171a for CRC encoding a packet to be transmitted, CRC decoding section 172a for decrypting a received packet, and CRC decoding section 172a And the packet error setting unit 173a for checking the error of the packet received by the decoding by the packet decoding unit.
The situation where the error packet is reflected in the memory of each node does not occur. If the error is limited, it can be automatically repaired.

【0090】実施の形態18.図18はこの発明の実施
の形態18による分散共有メモリネットワーク装置を示
すブロック図であり、図において、183aはメモリ制
御部15a内に設けられ、ノードのセマフォ状態を設定
するセマフォ状態部、181aはCPU1aからの指示
によりセマフォ要求に関するリクエスト,ロック,フリ
ーおよびアボートの各パケットを送信するセマフォ操作
要求部、182aは受信したパケットのリクエスト,ロ
ック,フリーおよびアボートのセマフォ要求に応じて、
セマフォ状態部183aを設定するセマフォ管理部であ
る。bノードおよびcノードの構成はaノードと同様で
あり、また、その他の構成は図1と同様なのでその重複
する説明を省略する。
Embodiment 18 FIG. FIG. 18 is a block diagram showing a distributed shared memory network device according to Embodiment 18 of the present invention. In the figure, 183a is provided in the memory control unit 15a, and sets a semaphore state of a node. A semaphore operation requesting unit that transmits a request, lock, free and abort packets related to a semaphore request in accordance with an instruction from the CPU 1a.
A semaphore management unit that sets the semaphore status unit 183a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0091】次に動作について説明する。CPUがRM
Uのローカルメモリ部のクリティカルセクションを処理
する場合、ネットワーク上で当ノードのみがロックでき
るネットワークセマフォを用いて操作の排他制御を行
う。この実施の形態18では、このネットワークセマフ
ォを提供する。図18において、セマフォ操作要求部1
81aは、CPU11aからのCSR書込み、または、
コマンドにより、ネットワーク18に対して、セマフォ
要求に関するリクエスト,ロック,フリーおよびアボー
トの各パケットを送信し、ネットワーク18上で特定ノ
ードのみがロックできるネットワークセマフォの操作要
求を行う。セマフォ管理部182aは、他ノードからの
セマフォ操作要求に対する応答を行う。セマフォ状態部
183aは、当ノードのセマフォ状態を表すリクエスト
状態Aとロック状態Bの2種のレジスタから成るもので
ある。
Next, the operation will be described. CPU is RM
When processing a critical section of the local memory unit of U, exclusive control of the operation is performed using a network semaphore that can be locked only by this node on the network. In the eighteenth embodiment, this network semaphore is provided. In FIG. 18, the semaphore operation request unit 1
81a is a CSR write from the CPU 11a, or
The command sends a request, lock, free, and abort packets related to the semaphore request to the network 18 and issues an operation request for a network semaphore that can be locked only by a specific node on the network 18. The semaphore management unit 182a responds to a semaphore operation request from another node. The semaphore status unit 183a is composed of two types of registers, a request status A and a lock status B, which indicate the semaphore status of the node.

【0092】セマフォ状態部183aに設定される状態
は、図27に示す状態遷移を持つ。フリー状態とは当ノ
ードにリクエストまたはロックがかけられていない状
態、リクエスト状態とはどれかのノードがリクエストを
かけてロック予約状態にあることを意味し、ロック状態
とはセマフォがいずれかのノードによりロックされてい
ることを表す。
The state set in the semaphore state section 183a has a state transition shown in FIG. The free state is a state in which no request or lock has been applied to this node, the request state means that any node has made a request and is in a lock reservation state, and the locked state means that the semaphore is any node Is locked by

【0093】CPU11aにおいて、ローカルメモリ部
13a〜13cの書き込みをロックしたい場合に、CP
U11aは、現在のセマフォ状態部183aの設定を確
認し、リクエストまたはロックであればロック要求が他
ノードから出ていることになるので、ロック処理をする
ことはできない。フリーであれば、セマフォ操作要求部
181aがリクエストのパケットを送信する。他の例え
ばbノードでは、そのリクエストのパケットをセマフォ
管理部182bにて受信し、セマフォ状態部183bが
リクエスト状態でなければ、そのセマフォ状態部183
bをリクエスト状態Aにする。セマフォ状態部183b
がリクエスト状態であれば、その受信されたパケットに
エラービットを立てて中継する。
When the CPU 11a wants to lock the writing to the local memory units 13a to 13c,
U11a confirms the current setting of the semaphore status unit 183a, and if it is a request or a lock, it means that a lock request has been issued from another node, so that lock processing cannot be performed. If free, the semaphore operation request unit 181a transmits a request packet. In another b node, for example, the semaphore management unit 182b receives the request packet, and if the semaphore status unit 183b is not in the request status, the semaphore status unit 183b
b is set to the request state A. Semaphore status section 183b
Is in a request state, an error bit is set in the received packet and relayed.

【0094】全てのノードにおいて、セマフォ状態部1
83をリクエスト状態Aとして、エラービットが立てら
れていないパケットがaノードにおいて受信された場合
に、リクエスト要求の成立と判断し、次にセマフォ操作
要求部181aがロックのパケットを送信する。他の例
えばbノードでは、そのロックのパケットをセマフォ管
理部182bにて受信し、セマフォ状態部183bがリ
クエスト状態Aであれば、そのセマフォ状態部183b
をロック状態Bにする。セマフォ状態部183bがリク
エスト状態Bでなければ、その受信されたパケットにエ
ラービットを立てて中継する。
In all nodes, semaphore state unit 1
When the node 83 is set to the request state A and a packet in which an error bit is not set is received at the a node, it is determined that the request request is satisfied, and the semaphore operation request unit 181a transmits a lock packet. In another node b, for example, the lock packet is received by the semaphore management unit 182b, and if the semaphore state unit 183b is in the request state A, the semaphore state unit 183b
To the locked state B. If the semaphore state unit 183b is not in the request state B, the received packet is set with an error bit and relayed.

【0095】全てのノードにおいて、セマフォ状態部1
83をロック状態Bとして、エラービットが立てられて
いないパケットがaノードにおいて受信された場合に、
ロック要求の成立と判断する。また、リクエスト要求に
失敗すれば、セマフォ操作要求部181aがアボートの
パケットを送信し、他ノードのセマフォ状態部183a
のリクエスト状態Aをクリアしてから、リクエスト失敗
をCPU11aに出力する。さらに、ロック要求に失敗
すれば、セマフォ操作要求部181aがフリーのパケッ
トを送信し、他ノードのセマフォ状態部183aのリク
エスト状態Aおよびロック状態Bをクリアしてから、ロ
ック失敗をCPU11aに出力する。
In all nodes, the semaphore state unit 1
83 is set to the lock state B, and when a packet without an error bit set is received at the a-node,
It is determined that the lock request has been established. If the request fails, the semaphore operation request unit 181a transmits an abort packet, and the semaphore status unit 183a of another node.
After the request status A is cleared, a request failure is output to the CPU 11a. Further, if the lock request fails, the semaphore operation request unit 181a transmits a free packet, clears the request state A and the lock state B of the semaphore state unit 183a of another node, and outputs a lock failure to the CPU 11a. .

【0096】以上のように、この実施の形態18によれ
ば、ノードのセマフォ状態を設定するセマフォ状態部1
83aと、CPU1aからの指示によりセマフォ要求に
関するリクエスト,ロック,フリーおよびアボートの各
パケットを送信するセマフォ操作要求部181aと、受
信したパケットのリクエスト,ロック,フリーおよびア
ボートのセマフォ要求に応じて、セマフォ状態部183
aを設定するセマフォ管理部182aを設けたので、分
散システムの排他制御操作をパケットで行うことができ
る。
As described above, according to the eighteenth embodiment, the semaphore state unit 1 that sets the semaphore state of a node
83a, a semaphore operation requesting unit 181a for transmitting a request, lock, free and abort packet related to a semaphore request in accordance with an instruction from the CPU 1a; State part 183
Since the semaphore management unit 182a for setting a is provided, the exclusive control operation of the distributed system can be performed by a packet.

【0097】実施の形態19.図19はこの発明の実施
の形態19による分散共有メモリネットワーク装置を示
すブロック図であり、図において、191aはリンク制
御部17a内に設けられ、RAS部14aの指示によ
り、受信されるパケットを直接他ノードにバイパスする
バイパス部である。bノードおよびcノードの構成はa
ノードと同様であり、また、その他の構成は図1と同様
なのでその重複する説明を省略する。
Embodiment 19 FIG. FIG. 19 is a block diagram showing a distributed shared memory network device according to a nineteenth embodiment of the present invention. In the figure, reference numeral 191a is provided in the link control unit 17a, and directly receives a packet according to an instruction from the RAS unit 14a. This is a bypass unit that bypasses to another node. The configuration of b node and c node is a
The configuration is the same as that of the node, and the other configuration is the same as that of FIG.

【0098】次に動作について説明する。バイパス部1
91aは、転送制御部16aにネットワーク18から受
信および送信できるようにするか、転送制御部16aか
らネットワーク18を切り離してバイパスするかをスイ
ッチするリングバイパス回路である。RAS部14aの
指示により、リンク制御部17aにおいて、バイパス部
191aが動作することで、当ノードをネットワーク離
脱制御することができる。特に、ノード故障や電源断な
どの際に、CPU11aからの指示、または、RAS部
14aの指示により、自主的にネットワーク離脱するこ
とで、ノード障害をネットワーク障害に波及させない効
果がある。なお、電源投入時は、バイパス部191aは
バイパス状態であり、参入手続きを踏まなければバイパ
ス解除され送受信可能な状態にはならない。
Next, the operation will be described. Bypass unit 1
Reference numeral 91a denotes a ring bypass circuit that switches whether the transfer control unit 16a can receive and transmit data from the network 18 or disconnects the network 18 from the transfer control unit 16a and bypasses it. By operating the bypass unit 191a in the link control unit 17a according to the instruction of the RAS unit 14a, the node can be controlled to leave the network. In particular, in the event of a node failure or a power failure, the network is voluntarily disconnected from the network in accordance with an instruction from the CPU 11a or an instruction from the RAS unit 14a. When the power is turned on, the bypass unit 191a is in the bypass state, and the bypass is released and the transmission / reception is not enabled unless the entry procedure is taken.

【0099】以上のように、この実施の形態19によれ
ば、RAS部14aの指示により、受信されるパケット
を直接他ノードにバイパスするバイパス部191aを設
けたので、ノード故障や電源断などの際に、RAS部1
4aの指示により、自主的にネットワーク離脱すること
で、ノード障害からネットワーク障害への波及を防止す
ることができる。
As described above, according to the nineteenth embodiment, the bypass unit 191a for directly bypassing the received packet to another node is provided according to the instruction of the RAS unit 14a, so that a failure such as a node failure or a power cut-off may occur. At the time, the RAS unit 1
By voluntarily leaving the network according to the instruction of 4a, it is possible to prevent the spread from the node failure to the network failure.

【0100】実施の形態20.図20はこの発明の実施
の形態20による分散共有メモリネットワーク装置を示
すブロック図であり、図において、201aは分散共有
メモリユニット12aとネットワーク18との間に接続
され、受信されるパケットを直接他ノードにバイパスす
るバイパスボックス部、202aはそのバイパスボック
ス部201aを手動により切り替える手動スイッチ部で
ある。bノードおよびcノードの構成はaノードと同様
であり、また、その他の構成は図1と同様なのでその重
複する説明を省略する。
Embodiment 20 FIG. FIG. 20 is a block diagram showing a distributed shared memory network device according to a twentieth embodiment of the present invention. In the figure, 201a is connected between the distributed shared memory unit 12a and the network 18 and directly receives packets. A bypass box 202a for bypassing to the node is a manual switch for manually switching the bypass box 201a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0101】次に動作について説明する。バイパスボッ
クス部201aは、図19のバイパス部191aと同等
の回路であり、手動スイッチ部202aの操作により、
ネットワーク18をノードへの接続、または、バイパス
に切り替えることができる。図19に示した、バイパス
部191aは、電源断またはノード故障により自動的に
ネットワーク18をバイパスさせることで、リンク切断
を回避し他ノードの分散共有メモリネットワークを維持
するためのRMU搭載型のバイパススイッチであった。
但し、RMU故障の場合にそのRMUを交換する必要が
あり、ネットワーク18をRMUから外した時点でバイ
パスモードであってもネットワーク18が切断される問
題がある。図20に示したこの実施の形態20のバイパ
スボックス部201aは、RMUの交換を可能とするた
め、RMUの外部に設けたものである。従って、手動ス
イッチ部202aの操作により、バイパスボックス部2
01aの内部でネットワーク18をバイパスできるの
で、RMU側のケーブルを外してもネットワーク18は
維持される。
Next, the operation will be described. The bypass box 201a is a circuit equivalent to the bypass 191a in FIG. 19, and is operated by operating the manual switch 202a.
The network 18 can be switched to a connection to a node or a bypass. The bypass unit 191a shown in FIG. 19 automatically bypasses the network 18 due to power failure or node failure, thereby avoiding link disconnection and maintaining a distributed shared memory network of another node. It was a switch.
However, it is necessary to replace the RMU in the event of an RMU failure, and there is a problem that the network 18 is disconnected even when the network 18 is disconnected from the RMU even in the bypass mode. The bypass box 201a according to the twentieth embodiment shown in FIG. 20 is provided outside the RMU in order to enable replacement of the RMU. Therefore, the operation of the manual switch 202a causes the bypass box 2
Since the network 18 can be bypassed inside 01a, the network 18 is maintained even if the cable on the RMU side is disconnected.

【0102】以上のように、この実施の形態20によれ
ば、分散共有メモリユニット12aとネットワーク18
との間に接続され、受信されるパケットを直接他ノード
にバイパスするバイパスボックス部201aと、そのバ
イパスボックス部201aを手動により切り替える手動
スイッチ部202aとを設けたので、分散共有メモリネ
ットワークを維持しながら、あるノードのRMUを交換
することが可能となる。また、バイパスボックス部20
1aにケーブルのメディア変換やリピータ機能を持たせ
ることで、ケーブルの延長や異なるケーブルメディア
(光と電線等)変換の効果を持たせることもできる。
As described above, according to the twentieth embodiment, the distributed shared memory unit 12a and the network 18
And a manual switch unit 202a for manually switching the bypass box 201a, which is connected between the network and the other nodes, so as to maintain a distributed shared memory network. However, it is possible to exchange the RMU of a certain node. In addition, the bypass box 20
By giving the cable media conversion and repeater functions to 1a, the effect of extending the cable and converting different cable media (light and electric wires, etc.) can be provided.

【0103】実施の形態21.図21はこの発明の実施
の形態21による分散共有メモリネットワーク装置を示
すブロック図であり、図において、212aはバイパス
ボックス部201aをRAS部14aの指示により切り
替えるバイパススイッチ部である。bノードおよびcノ
ードの構成はaノードと同様であり、また、その他の構
成は図1と同様なのでその重複する説明を省略する。
Embodiment 21 FIG. FIG. 21 is a block diagram showing a distributed shared memory network device according to Embodiment 21 of the present invention. In the figure, reference numeral 212a denotes a bypass switch unit that switches the bypass box unit 201a according to an instruction from the RAS unit 14a. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0104】次に動作について説明する。RAS部14
aの指示により、バイパススイッチ部212aがバイパ
スボックス部201aを切り替え、MRU12aとネッ
トワーク18とを受信および送信できるようにするか、
MRU12aとネットワーク18とを切り離してバイパ
スするかを制御する。
Next, the operation will be described. RAS unit 14
According to the instruction of a, the bypass switch unit 212a switches the bypass box unit 201a to enable reception and transmission of the MRU 12a and the network 18,
It controls whether the MRU 12a and the network 18 are separated and bypassed.

【0105】以上のように、この実施の形態21によれ
ば、バイパスボックス部201aをRAS部14aの指
示により切り替えるバイパススイッチ部212aを設け
たので、実施の形態20では、手動スイッチ部202a
が必要になったが、この実施の形態21では、手動スイ
ッチ部202aを必要とせず、且つ実施の形態19およ
び実施の携帯20の効果も得ることができる。
As described above, according to the twenty-first embodiment, the bypass switch section 212a for switching the bypass box section 201a according to the instruction of the RAS section 14a is provided.
However, in the twenty-first embodiment, the effect of the nineteenth embodiment and the mobile phone 20 of the embodiment can be obtained without the need for the manual switch unit 202a.

【0106】実施の形態22.図22はこの発明の実施
の形態22による分散共有メモリネットワーク装置を示
すブロック図であり、図において、224aはメモリ制
御部15aに設けられ、CPU11aからの指示により
イコライジング要求のパケットを送信するイコライジン
グパケット送信部、222aは受信されたパケットがイ
コライジング要求のパケットである場合に、メモリ周期
読み出し部223aにより指定周期でローカルメモリ部
13aの書込み可能領域のデータを読み出させ、その読
み出されたデータをパケットとして送信すると共に、そ
の受信されたイコライジング要求のパケットを送信する
イコライジング制御部である。bノードおよびcノード
の構成はaノードと同様であり、また、その他の構成は
図1と同様なのでその重複する説明を省略する。
Embodiment 22 FIG. FIG. 22 is a block diagram showing a distributed shared memory network device according to Embodiment 22 of the present invention. In the figure, an equalizing packet 224a is provided in the memory control unit 15a and transmits an equalizing request packet in accordance with an instruction from the CPU 11a. When the received packet is an equalizing request packet, the transmitting unit 222a causes the memory cycle reading unit 223a to read data in the writable area of the local memory unit 13a at a specified cycle and to read the read data. The equalizing control unit transmits the received packet of the equalizing request while transmitting the packet as a packet. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0107】次に動作について説明する。実施の形態1
において、新規参入ノードのローカルメモリ部13aは
他ノードのローカルメモリ部13b,13cと一致して
いないので、イコライジングと呼ばれるメモリ等化処理
を行う必要がある。イコライジングパケット送信部22
4aは、CPU11aからの指示に従い、イコライジン
グ要求のパケットをネットワーク18に送信する。イコ
ライジング要求のパケットを例えばbノードのイコライ
ジング制御部222bで受信すると、メモリ周期読み出
し部223bにより指定周期でローカルメモリ部13b
の書込み可能領域のデータを読み出させ、イコライジン
グパケット送信部224bを介してその読み出されたデ
ータをパケットとして送信する。
Next, the operation will be described. Embodiment 1
Since the local memory unit 13a of the new entry node does not match the local memory units 13b and 13c of other nodes, it is necessary to perform a memory equalization process called equalizing. Equalizing packet transmission unit 22
4a transmits an equalizing request packet to the network 18 according to an instruction from the CPU 11a. When the equalizing request packet is received by, for example, the equalizing control unit 222b of the b-node, the local memory unit 13b is designated by the memory cycle reading unit 223b at the designated cycle.
In the writable area, and transmits the read data as a packet via the equalizing packet transmitting unit 224b.

【0108】このパケットの送信は、基本的に1語長ご
とであるが、ノード数が多いとパケットの送信と中継の
ために、通信帯域を使いきってしまう怖れがある。そこ
で、メモリ周期読み出し部223bでは予め設定された
指定周期で、帯域を使い切らない範囲のデータでパケッ
トとして送信する。このパケットの送信が終了すると、
イコライジング要求のパケットを隣のノード、例えば、
ノードcに送信する。ノードcでは同様にローカルメモ
リ部13cの書込み可能領域のデータのパケットと、イ
コライジング要求のパケットをノードaに送信する。そ
して、イコライジング制御部222aでイコライジング
要求のパケットが受信されれば、イコライジング処理の
終了と判断する。従って、イコライジング要求のパケッ
トは、各ノードにおいて書込み可能領域のデータのパケ
ットが送信されなければ、次のノードに送信されないの
で、全ノードのイコライジング処理が終了するには相当
の時間を必要とするため、イコライジング要求のパケッ
トの周回タイムアウト時間は、通常の周回タイムアウト
時間よりも遥かに長い時間を設定する必要がある。
The transmission of the packet is basically every word length. However, if the number of nodes is large, there is a fear that the communication band is used up for transmission and relay of the packet. Therefore, the memory cycle reading unit 223b transmits the data in a designated cycle set in advance as data in a range in which the band is not used up. When transmission of this packet ends,
The packet of the equalizing request is transmitted to a neighboring node, for example,
Send to node c. Similarly, the node c transmits the packet of the data in the writable area of the local memory unit 13c and the packet of the equalizing request to the node a. Then, when the equalizing request packet is received by the equalizing control unit 222a, it is determined that the equalizing process is completed. Therefore, the packet of the equalizing request is not transmitted to the next node unless the packet of the data in the writable area is transmitted in each node, so that it takes a considerable time to complete the equalizing process of all the nodes. In addition, it is necessary to set the time-out period of the packet of the equalizing request much longer than the normal time-out period.

【0109】以上のように、この実施の形態22によれ
ば、CPU11aからの指示によりイコライジング要求
のパケットを送信するイコライジングパケット送信部2
24aと、イコライジング要求のパケットを受信した場
合に、メモリ周期読み出し部223aにより指定周期で
ローカルメモリ部13aの書込み可能領域のデータを読
み出させ、その読み出されたデータをパケットとして送
信すると共に、その受信されたイコライジング要求のパ
ケットを送信するイコライジング制御部222aとを設
けたので、新規参入ノードのローカルメモリ部13aを
他ノードのローカルメモリ部13b,13cと一致させ
ることができる。即ち、イコライジングと呼ばれるメモ
リ等化処理を行うことができる。
As described above, according to the twenty-second embodiment, equalizing packet transmitting section 2 for transmitting an equalizing request packet in response to an instruction from CPU 11a.
24a and when the equalizing request packet is received, the memory cycle reading unit 223a causes the data in the writable area of the local memory unit 13a to be read at a specified cycle and transmits the read data as a packet. Since the equalizing control unit 222a that transmits the received packet of the equalizing request is provided, the local memory unit 13a of the newly joining node can be matched with the local memory units 13b and 13c of the other nodes. That is, a memory equalization process called equalization can be performed.

【0110】実施の形態23.図23はこの発明の実施
の形態23による分散共有メモリネットワーク装置を示
すブロック図であり、図において、イコライジング制御
部222aは、イコライジング要求のパケットを受信し
た場合に、その受信されたイコライジング要求のパケッ
トおよびイコライジング開始のパケットを送信し、メモ
リ周期読み出し部223aにより指定周期でローカルメ
モリ部13aの書込み可能領域のデータを読み出させ、
その読み出されたデータをパケットとして送信すると共
に、イコライジング終了のパケットを送信するものであ
る。また、235aはそれらイコライジング開始のパケ
ットおよびイコライジング終了のパケットの受信により
イコライジング動作の状況を管理するイコライジング状
況記録部である。bノードおよびcノードの構成はaノ
ードと同様であり、また、その他の構成は図1と同様な
のでその重複する説明を省略する。
Embodiment 23 FIG. FIG. 23 is a block diagram showing a distributed shared memory network device according to Embodiment 23 of the present invention. In the figure, when an equalizing control unit 222a receives an equalizing request packet, the equalizing request packet And an equalizing start packet are transmitted, and the data in the writable area of the local memory unit 13a is read by the memory cycle reading unit 223a at a specified cycle,
The read data is transmitted as a packet, and a packet after the end of equalizing is transmitted. An equalizing status recording unit 235a manages the status of the equalizing operation by receiving the equalizing start packet and the equalizing end packet. The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0111】次に動作について説明する。実施の形態2
2では、イコライジング要求のパケットを順次各ノード
に送信したが、この実施の形態23は、全てのノードに
ほぼ同時にイコライジング要求のパケットを送信するも
のである。イコライジングパケット送信部224aは、
CPU11aからの指示に従い、イコライジング要求の
パケットをネットワーク18に送信する。イコライジン
グ要求のパケットを例えばbノードのイコライジング制
御部222bで受信すると、即座にその受信されたイコ
ライジング要求のパケットおよび自ノードIDを含むイ
コライジング開始のパケットをネットワーク18に送信
する。また、メモリ周期読み出し部223bにより指定
周期でローカルメモリ部13bの書込み可能領域のデー
タを読み出させ、イコライジングパケット送信部224
bを介してその読み出されたデータをパケットとして送
信する。さらに、このパケットの送信が終了すると、自
ノードIDを含むイコライジング終了のパケットを送信
する。
Next, the operation will be described. Embodiment 2
In 2, the equalizing request packet is sequentially transmitted to each node. In the twenty-third embodiment, the equalizing request packet is transmitted to all the nodes almost simultaneously. The equalizing packet transmitting unit 224a
In accordance with an instruction from the CPU 11a, an equalizing request packet is transmitted to the network 18. When the equalizing request packet is received by, for example, the equalizing control unit 222b of the b node, the equalizing request packet and the equalizing start packet including the own node ID are transmitted to the network 18 immediately. Further, the data in the writable area of the local memory unit 13b is read at a designated cycle by the memory cycle reading unit 223b, and the equalizing packet transmitting unit 224 is read.
b, and transmits the read data as a packet. Further, when the transmission of this packet is completed, an equalizing end packet including the own node ID is transmitted.

【0112】イコライジング要求のパケットの送信元で
あるaノードでは、イコライジング状況記録部235a
により、それらネットワーク18を周回してきたイコラ
イジング開始のパケットおよびイコライジング終了のパ
ケットを受信し、そのノードIDによりイコライジング
動作の状況を管理する。イコライジング状況記録部23
5aにより、全てのイコライジング動作が終了したこと
を確認すれば、イコライジング動作が完了したとしてC
PU11aに通知する。
At the node a, which is the source of the equalizing request packet, the equalizing status recording unit 235a
Thus, an equalizing start packet and an equalizing end packet that have circulated around the network 18 are received, and the state of the equalizing operation is managed by the node ID. Equalizing status recording unit 23
If it is confirmed that all equalizing operations have been completed by 5a, it is determined that the equalizing operation has been completed.
Notify the PU 11a.

【0113】以上のように、この実施の形態23によれ
ば、イコライジング要求のパケットを受信した場合に、
その受信されたイコライジング要求のパケットおよびイ
コライジング開始のパケットを送信し、メモリ周期読み
出し部223aにより指定周期でローカルメモリ部13
aの書込み可能領域のデータを読み出させ、その読み出
されたデータをパケットとして送信すると共に、イコラ
イジング終了のパケットを送信するイコライジング制御
部222aと、それらイコライジング開始のパケットお
よびイコライジング終了のパケットの受信によりイコラ
イジング動作の状況を管理するイコライジング状況記録
部235aとを設けたので、全ノードにおいて一斉にイ
コライジング動作を行わせることができ、ネットワーク
18の帯域の多くをイコライジングに占有されるが、そ
の分、イコライジング処理を実施の形態22よりも早く
終了できる。また、現在どのノードがイコライジングし
ているか、終了したノードはどれかをノードIDにより
自動管理でき、分散共有メモリのノード管理およびイコ
ライジング中の障害管理を行うこともできる。
As described above, according to the twenty-third embodiment, when an equalizing request packet is received,
The received equalizing request packet and equalizing start packet are transmitted, and the memory cycle reading unit 223a sends the packet to the local memory unit 13 at a specified cycle.
a equalizing control unit 222a for reading the data in the writable area a, transmitting the read data as a packet, and transmitting an equalizing end packet, and receiving the equalizing start packet and the equalizing end packet Since the equalizing status recording unit 235a that manages the status of the equalizing operation is provided, all nodes can perform the equalizing operation all at once, and much of the bandwidth of the network 18 is occupied by the equalizing. The equalizing process can be completed earlier than in the twenty-second embodiment. Further, it is possible to automatically manage which node is currently equalizing and which node has ended based on the node ID, and perform node management of the distributed shared memory and fault management during equalizing.

【0114】実施の形態24.図24はこの発明の実施
の形態24による分散共有メモリネットワーク装置を示
すブロック図であり、図において、243aは転送制御
部16aに設けられ、参入成功時に自ノードIDを含む
参入通知のパケットを送信する参入要求部、244aは
参入通知のパケットを受信した場合に、そのパケットか
らノードIDを取り出して記録する参入記録部である。
bノードおよびcノードの構成はaノードと同様であ
り、また、その他の構成は図1と同様なのでその重複す
る説明を省略する。
Embodiment 24 FIG. FIG. 24 is a block diagram showing a distributed shared memory network device according to Embodiment 24 of the present invention. In the figure, reference numeral 243a is provided in the transfer control unit 16a and transmits a participation notification packet including its own node ID when the participation is successful. The entry requesting unit 244a is an entry recording unit that, when receiving an entry notification packet, extracts a node ID from the packet and records it.
The configurations of the b-node and the c-node are the same as those of the a-node, and the other configurations are the same as those of FIG.

【0115】次に動作について説明する。実施の形態7
において、参入成功時に参入要求部243aは、自ノー
ドIDを含む参入通知のパケットをネットワーク18に
送信する。この参入通知のパケットを例えばbノードの
ノードID判定部61bで受信した場合に、そのパケッ
トからノードIDを取り出して参入記録部244bに記
録する。この参入通知のパケットは、エラーパケットま
たは専用に定義されたパケットであり、参入記録部24
4bにのみ処理されローカルメモリ部13への反映は行
われない。
Next, the operation will be described. Embodiment 7
In, when the entry is successful, the entry requesting unit 243a transmits an entry notification packet including the own node ID to the network. When the entry notification packet is received by, for example, the node ID determination unit 61b of the b node, the node ID is extracted from the packet and recorded in the entry recording unit 244b. The entry notification packet is an error packet or a packet defined for exclusive use.
4b, and is not reflected on the local memory unit 13.

【0116】以上のように、この実施の形態24によれ
ば、参入成功時に自ノードIDを含む参入通知のパケッ
トを送信する参入要求部243aと、参入通知のパケッ
トを受信した場合に、そのパケットからノードIDを取
り出して記録する参入記録部244aとを設けたので、
新規参入ノードIDを順次記録することができるので、
当ノード以降に参入したノードIDを知ることができ
る。特にID記録用メモリが不足する場合、参入記録部
244aにおいて参入台数のみを記録する方法もある。
但し、分散共有メモリネットワークが再送モードで動作
している場合は、再送により台数記録に誤差が生じる。
As described above, according to the twenty-fourth embodiment, the entry requesting unit 243a for transmitting the entry notification packet including the own node ID when the entry is successful, and when the entry notification packet is received, And an entry recording unit 244a that extracts and records the node ID from
Since new entry node IDs can be recorded sequentially,
It is possible to know the node IDs that have entered after this node. In particular, when the ID recording memory is insufficient, there is also a method of recording only the number of participants in the entry recording unit 244a.
However, when the distributed shared memory network operates in the retransmission mode, the retransmission causes an error in the unit number record.

【0117】[0117]

【発明の効果】以上のように、請求項1記載の発明によ
れば、分散共有メモリユニットの状態を診断監視し、電
源断を含む障害時にはリンク制御部に受信されるパケッ
トを直接他ノードにバイパスするRAS部を備えるよう
に構成したので、CPUが通信を意識することなくデー
タを複製共有することができ、さらに、ノードの故障お
よび電源断でもネットワークリングを維持することがで
きるため、他のノードは無関係に分散共有メモリユニッ
トを利用できる効果がある。
As described above, according to the first aspect of the present invention, the state of the distributed shared memory unit is diagnosed and monitored, and in the event of a failure including power interruption, a packet received by the link control unit is directly transmitted to another node. Since the RAS unit is configured to be bypassed, the CPU can copy and share data without being conscious of communication. Further, since the network ring can be maintained even if a node fails or power is cut off, other The effect is that the node can use the distributed shared memory unit independently.

【0118】請求項2記載の発明によれば、メモリ制御
部に、CPUのエンディアンタイプを設定したCPUア
クセスタイプ設定部と、CPUからのロードまたはスト
ア命令をCPUアクセスタイプ設定部に設定されたエン
ディアンタイプに変換してローカルメモリ部へのアクセ
スを行うCPUアクセス変換部とを備えるように構成し
たので、異種のCPUが混在する分散共有メモリユニッ
トを構成できる効果がある。
According to the second aspect of the present invention, the memory control unit has a CPU access type setting unit in which the endian type of the CPU is set, and a load or store instruction from the CPU in the endian type set in the CPU access type setting unit. Since the configuration includes the CPU access conversion unit that converts the type into the type and accesses the local memory unit, there is an effect that a distributed shared memory unit in which different types of CPUs are mixed can be configured.

【0119】請求項3記載の発明によれば、メモリ制御
部に、CPUからのストア命令における指定アドレスに
応じたローカルメモリ部のデータを読み出すメモリ読み
出し部と、CPUからのストア命令における書き込みデ
ータとメモリ読み出し部により読み出されたデータとを
比較するメモリ書込み命令比較部と、そのメモリ書込み
命令比較部により書き込みデータと読み出されたデータ
とが異なっていると判断された場合に、ローカルメモリ
部の指定アドレスに書き込みデータを書き込むメモリ書
込み部とを備えるように構成したので、ローカルメモリ
部の反映に無意味なデータを送信しないため、通信帯域
を効率的に利用できる効果がある。
According to the third aspect of the present invention, the memory control unit includes: a memory reading unit that reads data in the local memory unit in accordance with a designated address in a store instruction from the CPU; A memory write command comparing unit for comparing data read by the memory reading unit; and a local memory unit when the write data and the read data are different from each other by the memory write command comparing unit. Is configured to include a memory writing unit that writes write data to the specified address, so that meaningless data is not transmitted to be reflected in the local memory unit, and there is an effect that the communication band can be used efficiently.

【0120】請求項4記載の発明によれば、メモリ制御
部に、CPUからのストア命令におけるバースト転送ま
たはDMA転送を受信するブロック受信制御部と、その
ブロック受信制御部により受信されたブロックデータを
ローカルメモリ部に書き込むブロック書込み部とを備
え、転送制御部に、ブロック受信制御部により受信され
たブロックデータを含むブロックパケットを生成すると
共に、リンク制御部を介して受信したブロックパケット
をメモリ制御部に出力するブロックパケット送受信部を
備えるように構成したので、CPUからのブロック転送
をそのまま分散共有メモリユニットに反映することがで
きるので、CPUからローカルメモリ部への転送と、分
散共有メモリユニット間の転送が高速になり、帯域も節
約できる効果がある。
According to the fourth aspect of the present invention, the memory control unit stores the block reception control unit for receiving the burst transfer or the DMA transfer in the store instruction from the CPU and the block data received by the block reception control unit. A block writing unit for writing to the local memory unit, wherein the transfer control unit generates a block packet including the block data received by the block reception control unit, and transmits the block packet received via the link control unit to the memory control unit. Block transmission / reception unit for outputting to the distributed shared memory unit, the block transfer from the CPU can be directly reflected in the distributed shared memory unit. It has the effect of speeding up transfer and saving bandwidth

【0121】請求項5記載の発明によれば、メモリ制御
部に、CPUによって予め割り込み発生条件が設定され
る割り込み条件設定部と、受信されたパケットとその割
り込み条件設定部に設定された割り込み発生条件とを照
合し、割り込み発生を判定する割り込み条件判定部と、
その割り込み条件判定部により割り込み発生が判定され
た場合に、CPUに割り込み通知する割り込み制御部と
を備えるように構成したので、分散共有メモリユニット
を用いてノード間のイベント通知や割り込み通知が可能
となる効果がある。
According to the fifth aspect of the present invention, an interrupt condition setting unit in which an interrupt generation condition is set in advance by the CPU, a received packet and an interrupt generation set in the interrupt condition setting unit are set in the memory control unit. An interrupt condition judging unit that collates a condition and judges occurrence of an interrupt;
When an interrupt condition is determined by the interrupt condition determining unit, the CPU is configured to include an interrupt control unit that notifies the CPU of an interrupt, so that event notification and interrupt notification between nodes can be performed using the distributed shared memory unit. There is an effect.

【0122】請求項6記載の発明によれば、転送制御部
に、ネットワークに新規参入する際にノードIDが設定
されるネットワーク参入制御部と、そのネットワーク参
入制御部に設定されたノードIDを含む参入パケットを
生成し転送制御部に出力するネットワーク参入要求部
と、受信されたパケットが参入パケットである時にその
参入パケットに含まれるノードIDが自ノードIDと一
致していればその受信されたパケットにエラービットを
付加して転送制御部に出力すると共に、自ノードが新規
参入要求中に自ノードIDと一致し、且つエラービット
が付加されていない参入パケットを受信した場合に自ノ
ードが参入可能と判定するノードID判定部とを備える
ように構成したので、個々のノードが一意のIDを持っ
てネットワークに新規参入できる効果がある。
According to the invention of claim 6, the transfer control unit includes a network entry control unit to which a node ID is set when newly joining a network, and a node ID set to the network entry control unit. A network entry request unit that generates an entry packet and outputs the packet to the transfer control unit; and a received packet if the received packet is an entry packet and the node ID included in the entry packet matches the own node ID. And an error bit is added to the output to the transfer control unit, and when the own node receives an entry packet that matches the own node ID during a new entry request and has no error bit added, the own node can enter. Each node has a unique ID and is newly added to the network. There is an effect that can be entered.

【0123】請求項7記載の発明によれば、転送制御部
に、ノードIDを初期値から始めてネットワーク参入制
御部に出力すると共に、ノードID判定部により判定さ
れる参入失敗の度にそのノードIDを増加させてそのネ
ットワーク参入制御部に出力するノードID自動設定部
を備えるように構成したので、分散共有メモリネットワ
ーク装置に新規参入するノードIDを自動的に与えるこ
とができる効果がある。
According to the seventh aspect of the present invention, the node ID is output to the transfer control unit from the initial value to the network entry control unit. Is configured to include a node ID automatic setting unit that outputs to the network entry control unit by increasing the number of nodes, so that there is an effect that a node ID to newly enter the distributed shared memory network device can be automatically given.

【0124】請求項8記載の発明によれば、RAS部に
おいて、転送制御部における参入失敗の際に、参入失敗
表示部に参入失敗を表示すると共に、リンク制御部に受
信されるパケットを直接他ノードにバイパスするように
構成したので、ネットワーク参入失敗の時に速やかにネ
ットワーク除外し、且つ、外部に失敗を知らせることが
できる効果がある。
According to the eighth aspect of the present invention, when the transfer control unit fails in entry, the RAS unit displays the entry failure on the entry failure display unit and directly transmits the packet received by the link control unit to another unit. Since the configuration is such that the node is bypassed, there is an effect that the network can be immediately excluded when the network entry fails, and the failure can be notified to the outside.

【0125】請求項9記載の発明によれば、転送制御部
に、受信されたパケットの中継毎にそのパケットに含ま
れる中継回数を増加させる中継カウンタ部と、その中継
回数が所定の回数を上回るパケットを棄却する長寿パケ
ット処理部とを備えるように構成したので、回収される
べきノードを失い無限に周回するパケットを検出および
除外することができる効果がある。
According to the ninth aspect of the present invention, the transfer control unit includes a relay counter unit for increasing the number of relays included in a received packet for each relay of the received packet, and the number of relays exceeding a predetermined number. Since the apparatus is provided with the long-lived packet processing unit that discards packets, it is possible to detect and exclude packets circulating infinitely, losing nodes to be collected.

【0126】請求項10記載の発明によれば、転送制御
部に、受信されたパケットのノードIDの最高値を検出
する最大ノードID検出部と、その最大ノードID検出
部により検出されたノードIDの最高値を記録し、長寿
パケット処理部に所定の回数として設定する最大ノード
ID記録部とを備えるように構成したので、除外するパ
ケットの寿命をネットワーク側で自動設定することがで
きる効果がある。
According to the tenth aspect of the present invention, the transfer control unit includes a maximum node ID detection unit for detecting the maximum value of the node ID of the received packet, and a node ID detected by the maximum node ID detection unit. Is recorded, and the longest-lived packet processing unit is provided with a maximum node ID recording unit that is set as a predetermined number of times. Therefore, there is an effect that the life of a packet to be excluded can be automatically set on the network side. .

【0127】請求項11記載の発明によれば、転送制御
部に、所定の時間を経過した場合にRAS部に障害発生
を出力する周回タイマ部と、パケットの送信時に周回タ
イマ部をリセットする周回タイマリセット部と、そのパ
ケットの受信時に上記周回タイマ部をクリアする周回タ
イマクリア部とを備えるように構成したので、ネットワ
ークの断線などによるパケット喪失を検出することがで
きる効果がある。
According to the eleventh aspect of the present invention, the transfer control unit includes a circulation timer unit that outputs a failure occurrence to the RAS unit when a predetermined time has elapsed, and a circulation timer unit that resets the circulation timer unit when transmitting a packet. Since the configuration includes the timer reset unit and the round timer clear unit that clears the round timer unit when the packet is received, there is an effect that packet loss due to network disconnection or the like can be detected.

【0128】請求項12記載の発明によれば、転送制御
部に、自ノードから送信されるパケットを記録する送信
バッファ部と、受信されたパケットのノードIDと自ノ
ードIDとの一致を検出する周回パケット検出部と、そ
の周回パケット検出部により一致が検出された場合に、
送信バッファ部に記録されたパケットと受信されたパケ
ットとの内容を比較し、パケットの周回による転送誤り
を検出する周回パケットエラー検出部と、その周回パケ
ットエラー検出部により転送誤りが検出された場合に、
送信バッファ部に記録されたパケットを再送信する再送
制御部とを備えるように構成したので、パケットの周回
による転送誤りを検出し、転送誤りが検出された場合
に、パケットを再送信することで、通信の信頼性を向上
できる効果がある。
According to the twelfth aspect of the present invention, the transfer control unit records the packet transmitted from the own node, and detects whether the node ID of the received packet matches the own node ID. When a match is detected by the circulating packet detector and the circulating packet detector,
A packet error detector that compares the contents of the packet recorded in the transmission buffer and the received packet and detects a transfer error due to the packet circulation; and a transfer error detected by the packet error detector. To
It is configured to include a retransmission control unit that retransmits the packet recorded in the transmission buffer unit, so that a transmission error due to packet rounding is detected, and when a transmission error is detected, the packet is retransmitted. This has the effect of improving communication reliability.

【0129】請求項13記載の発明によれば、転送制御
部に、自ノードから送信される複数のパケットを記録す
るFIFOバッファ部と、周回パケット検出部により一
致が検出された場合に、FIFOバッファ部に記録され
た先頭パケットと受信されたパケットとの内容を比較
し、パケットの周回による転送誤りを検出する周回パケ
ットエラー検出部と、その周回パケットエラー検出部に
より転送誤りが検出されなかった場合に、FIFOバッ
ファ部に記録された先頭パケットを1つ繰り上げると共
に、転送誤りが検出された場合に、そのFIFOバッフ
ァ部に記録された全てのパケットに再送ビットを立てて
再送信し、送信済の再送ビットが立てられていないパケ
ットを受信した場合にそのパケットを棄却する再送制御
部とを備えるように構成したので、高信頼性を保ちつ
つ、連続パケット送信が可能となるため、通信スループ
ットを向上できる効果がある。
According to the thirteenth aspect of the present invention, the transfer control unit includes a FIFO buffer unit for recording a plurality of packets transmitted from the own node, and a FIFO buffer unit for detecting the coincidence by the circulating packet detection unit. A packet error detection unit that compares the contents of the first packet recorded in the packet with the received packet and detects a transfer error due to the packet circulation, and when no packet transfer error is detected by the packet error detection unit Next, the first packet recorded in the FIFO buffer is moved up by one, and if a transfer error is detected, all packets recorded in the FIFO buffer are set with retransmission bits and retransmitted. A retransmission control unit that rejects a packet when a packet with no retransmission bit set is received Since form was, while maintaining high reliability, since it becomes possible continuous packet transmission, there is an effect capable of improving communication throughput.

【0130】請求項14記載の発明によれば、受信した
パケットを送信可能となるまで記録する中継FIFOバ
ッファ部と、FIFOバッファ部が一杯になった時に、
中継FIFOバッファ部による中継処理よりもそのFI
FOバッファ部の送信処理を優先させる送信優先度制御
部とを備えるように構成したので、CPUからのアクセ
ス頻度が高い、または、再送が発生したノードを一時的
に送信優先とすることで、当ノードの送信パケットの溢
れを抑制できる効果がある。
According to the fourteenth aspect of the present invention, a relay FIFO buffer unit for recording received packets until transmission is possible, and when the FIFO buffer unit is full,
The FI rather than the relay processing by the relay FIFO buffer
The transmission priority control unit that prioritizes the transmission processing of the FO buffer unit is provided, so that a node frequently accessed from the CPU or a node in which retransmission has occurred is temporarily set to transmission priority. There is an effect that the overflow of the transmission packet of the node can be suppressed.

【0131】請求項15記載の発明によれば、転送制御
部に、CPUからの設定により自ノードからのパケット
の送信を停止する送信抑制部を備えるように構成したの
で、他ノードからの受信を行うが送信はしない設定にで
きるため、他ノードに影響を与えてはいけない試験やメ
モリのイコライジングを安全に実施できる効果がある。
According to the fifteenth aspect of the present invention, the transfer control unit is provided with the transmission suppressing unit for stopping the transmission of the packet from the own node according to the setting from the CPU. Since it can be set to perform but not transmit, there is an effect that a test and a memory equalizing that should not affect other nodes can be performed safely.

【0132】請求項16記載の発明によれば、メモリ制
御部に、CPUからローカルメモリ部の書込み可能領域
が設定され、そのCPUからのストア命令がその書込み
可能領域内であればメモリ書込み部によりそのデータを
そのローカルメモリ部に書込み、書込み可能領域外であ
れば書込みを行わない書込み可能領域設定部を備えるよ
うに構成したので、プログラムミス等による不正なロー
カルメモリ部への書込みを防ぐことができる効果があ
る。
According to the sixteenth aspect of the present invention, the writable area of the local memory section is set by the CPU in the memory control section, and if a store instruction from the CPU is within the writable area, the memory writing section Since the data is written to the local memory unit and a writable area setting unit that does not perform writing outside the writable area is provided, it is possible to prevent unauthorized writing to the local memory unit due to a program error or the like. There is an effect that can be done.

【0133】請求項17記載の発明によれば、転送制御
部に、送信するパケットをCRC符号化するCRC符号
化部と、受信されたCRC符号化されたパケットを解読
するCRC解読部と、そのCRC解読部による解読によ
り受信されたパケットのエラーチェックするパケットエ
ラー設定部と備えるように構成したので、パケット通信
誤りを各ノードのメモリに反映しないことで、通信と分
散共有メモリユニットの高信頼化を可能とする効果があ
る。
According to the seventeenth aspect of the present invention, the transfer control unit includes a CRC encoding unit for performing CRC encoding on a packet to be transmitted, a CRC decrypting unit for decrypting the received CRC encoded packet, A packet error setting unit that checks an error of a packet received by decryption by the CRC decryption unit is provided, so that packet communication errors are not reflected in the memory of each node, so that communication and the distributed shared memory unit have high reliability. There is an effect that enables.

【0134】請求項18記載の発明によれば、転送制御
部に、ノードのセマフォ状態を設定するセマフォ状態部
と、CPUからの指示によりセマフォ要求に関するリク
エストおよびロックのパケットを送信するセマフォ操作
要求部と、受信したパケットにリクエストのセマフォ要
求がある場合に、セマフォ状態部をリクエストに設定
し、受信したパケットにロックのセマフォ要求がある場
合に、そのセマフォ状態部がリクエストであることを確
認して、そのセマフォ状態部をロックに設定するセマフ
ォ管理部とを備えるように構成したので、分散共有メモ
リユニット上で唯一のノードがロックできることを保証
できるので、分散システムの排他制御処理が可能となる
効果がある。
According to the eighteenth aspect of the present invention, the semaphore status unit for setting the semaphore status of the node and the semaphore operation request unit for transmitting a request and lock packet relating to the semaphore request in accordance with an instruction from the CPU in the transfer control unit If the received packet has a semaphore request for the request, set the semaphore state part to the request, and if the received packet has a semaphore request for the lock, confirm that the semaphore state part is the request. And a semaphore management unit that sets the semaphore state unit to a lock, so that it is possible to guarantee that only one node can be locked on the distributed shared memory unit, so that exclusive control processing of the distributed system becomes possible. There is.

【0135】請求項19記載の発明によれば、リンク制
御部に、RAS部の指示により受信されるパケットを直
接他ノードにバイパスするバイパス部を備えるように構
成したので、あるノードの電源断や故障に際して自律的
にネットワークを除外することで、他のノードの分散共
有メモリの動作を維持することができる効果がある。
According to the nineteenth aspect of the present invention, since the link control unit is provided with the bypass unit for directly bypassing the packet received by the instruction of the RAS unit to another node, the power supply of a certain node can be cut off. By autonomously excluding the network when a failure occurs, there is an effect that the operation of the distributed shared memory of another node can be maintained.

【0136】請求項20記載の発明によれば、分散共有
メモリユニットとネットワークとの間に接続され、受信
されるパケットを直接他ノードにバイパスするバイパス
ボックス部と、そのバイパスボックス部を手動により切
り替える手動スイッチ部とを備えるように構成したの
で、分散共有メモリのネットワークリングを維持したま
ま、ノードの分散共有メモリユニットの交換が可能とな
る効果がある。
According to the twentieth aspect, the bypass box is connected between the distributed shared memory unit and the network and bypasses the received packet directly to another node, and the bypass box is manually switched. Since the configuration includes the manual switch unit, there is an effect that the distributed shared memory unit of the node can be replaced while maintaining the network ring of the distributed shared memory.

【0137】請求項21記載の発明によれば、分散共有
メモリユニットとネットワークとの間に接続され、受信
されるパケットを直接他ノードにバイパスするバイパス
ボックス部と、そのバイパスボックス部をRAS部の指
示により切り替えるバイパススイッチ部とを備えるよう
に構成したので、請求項19および請求項20記載の発
明の各装置を一つの装置に統合できるため、コストダウ
ンが図れる効果がある。
According to the twenty-first aspect of the present invention, a bypass box unit connected between a distributed shared memory unit and a network and directly bypassing a received packet to another node, and the bypass box unit serving as a RAS unit Since the apparatus is configured to include the bypass switch unit that switches according to an instruction, each apparatus according to the nineteenth and twentieth aspects can be integrated into one apparatus, so that there is an effect that cost can be reduced.

【0138】請求項22記載の発明によれば、メモリ制
御部に、CPUからの指示によりイコライジング要求の
パケットを送信するイコライジングパケット送信部と、
受信されたパケットがイコライジング要求のパケットで
ある場合に、メモリ周期読み出し部により指定周期でロ
ーカルメモリ部の書込み可能領域のデータを読み出さ
せ、その読み出されたデータをパケットとして送信する
と共に、その受信されたイコライジング要求のパケット
を送信するイコライジング制御部とを備えるように構成
したので、ある参入ノードが要求を出すことで、ローカ
ルメモリ部の等化を行うことができ、要求ノードを他ノ
ードのローカルメモリ部と一致させることができる効果
がある。
According to the twenty-second aspect of the present invention, an equalizing packet transmitting section for transmitting an equalizing request packet to the memory control section in accordance with an instruction from the CPU;
When the received packet is a packet for the equalizing request, the memory period reading unit causes the data in the writable area of the local memory unit to be read at a specified period and transmits the read data as a packet. Since it is configured to include an equalizing control unit that transmits a received packet of the equalizing request, a certain participating node issues a request, so that the local memory unit can be equalized, and the requesting node can be replaced by another node. There is an effect that it can be matched with the local memory unit.

【0139】請求項23記載の発明によれば、メモリ制
御部に、CPUからの指示によりイコライジング要求の
パケットを送信するイコライジングパケット送信部と、
受信されたパケットがイコライジング要求のパケットで
ある場合に、その受信されたイコライジング要求のパケ
ットおよびイコライジング開始のパケットを送信し、メ
モリ周期読み出し部により指定周期でローカルメモリ部
の書込み可能領域のデータを読み出させ、その読み出さ
れたデータをパケットとして送信すると共に、イコライ
ジング終了のパケットを送信するイコライジング制御部
と、それらイコライジング開始のパケットおよびイコラ
イジング終了のパケットの受信によりイコライジング動
作の状況を管理するイコライジング状況記録部とを備え
るように構成したので、請求項22記載の発明の等化処
理を短い時間で行うことができ、且つ各ノードの等化処
理完了状況を要求側で把握することができる効果があ
る。
According to the twenty-third aspect of the present invention, an equalizing packet transmitting unit for transmitting an equalizing request packet to the memory control unit according to an instruction from the CPU;
If the received packet is an equalizing request packet, the received equalizing request packet and equalizing start packet are transmitted, and the memory cycle reading unit reads data in the writable area of the local memory unit at a specified cycle. And an equalizing control unit that transmits the read data as a packet, and transmits an equalizing end packet, and an equalizing state that manages an equalizing operation state by receiving the equalizing start packet and the equalizing end packet. With the configuration including the recording unit, the equalization processing of the invention according to claim 22 can be performed in a short time, and the completion status of the equalization processing of each node can be grasped on the request side. is there.

【0140】請求項24記載の発明によれば、転送制御
部に、参入成功時に自ノードIDを含む参入通知のパケ
ットを送信する参入要求部と、参入通知のパケットを受
信した場合に、そのパケットからノードIDを取り出し
て記録する参入記録部とを備えるように構成したので、
新規参入ノードIDを検知することができ、CPUが参
入状況を読み出すことで構成管理やイコライジング等の
処理を指示することができる効果がある。
According to the twenty-fourth aspect of the present invention, an entry requesting unit for transmitting an entry notification packet including its own node ID to the transfer control unit when the entry is successful, and when receiving the entry notification packet, And an entry recording unit that extracts and records the node ID from
It is possible to detect a new entry node ID and read out the entry status by the CPU, thereby giving an effect of instructing processes such as configuration management and equalizing.

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

【図1】 この発明の実施の形態1による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 1 is a block diagram showing a distributed shared memory network device according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態2による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 2 is a block diagram showing a distributed shared memory network device according to a second embodiment of the present invention.

【図3】 この発明の実施の形態3による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 3 is a block diagram showing a distributed shared memory network device according to Embodiment 3 of the present invention.

【図4】 この発明の実施の形態4による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 4 is a block diagram showing a distributed shared memory network device according to a fourth embodiment of the present invention.

【図5】 この発明の実施の形態5による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 5 is a block diagram showing a distributed shared memory network device according to a fifth embodiment of the present invention.

【図6】 この発明の実施の形態6による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 6 is a block diagram showing a distributed shared memory network device according to Embodiment 6 of the present invention.

【図7】 この発明の実施の形態7による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 7 is a block diagram showing a distributed shared memory network device according to a seventh embodiment of the present invention.

【図8】 この発明の実施の形態8による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 8 is a block diagram showing a distributed shared memory network device according to an eighth embodiment of the present invention.

【図9】 この発明の実施の形態9による分散共有メモ
リネットワーク装置を示すブロック図である。
FIG. 9 is a block diagram showing a distributed shared memory network device according to Embodiment 9 of the present invention.

【図10】 この発明の実施の形態10による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 10 is a block diagram showing a distributed shared memory network device according to Embodiment 10 of the present invention.

【図11】 この発明の実施の形態11による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 11 is a block diagram showing a distributed shared memory network device according to Embodiment 11 of the present invention.

【図12】 この発明の実施の形態12による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 12 is a block diagram showing a distributed shared memory network device according to Embodiment 12 of the present invention.

【図13】 この発明の実施の形態13による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 13 is a block diagram showing a distributed shared memory network device according to Embodiment 13 of the present invention.

【図14】 この発明の実施の形態14による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 14 is a block diagram showing a distributed shared memory network device according to Embodiment 14 of the present invention.

【図15】 この発明の実施の形態15による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 15 is a block diagram showing a distributed shared memory network device according to Embodiment 15 of the present invention.

【図16】 この発明の実施の形態16による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 16 is a block diagram showing a distributed shared memory network device according to Embodiment 16 of the present invention.

【図17】 この発明の実施の形態17による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 17 is a block diagram showing a distributed shared memory network device according to Embodiment 17 of the present invention.

【図18】 この発明の実施の形態18による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 18 is a block diagram showing a distributed shared memory network device according to Embodiment 18 of the present invention.

【図19】 この発明の実施の形態19による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 19 is a block diagram showing a distributed shared memory network device according to Embodiment 19 of the present invention.

【図20】 この発明の実施の形態20による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 20 is a block diagram showing a distributed shared memory network device according to Embodiment 20 of the present invention.

【図21】 この発明の実施の形態21による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 21 is a block diagram showing a distributed shared memory network device according to Embodiment 21 of the present invention.

【図22】 この発明の実施の形態22による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 22 is a block diagram showing a distributed shared memory network device according to Embodiment 22 of the present invention.

【図23】 この発明の実施の形態23による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 23 is a block diagram showing a distributed shared memory network device according to Embodiment 23 of the present invention.

【図24】 この発明の実施の形態24による分散共有
メモリネットワーク装置を示すブロック図である。
FIG. 24 is a block diagram showing a distributed shared memory network device according to Embodiment 24 of the present invention.

【図25】 この発明の実施の形態1によるパケット構
造を示す説明図である。
FIG. 25 is an explanatory diagram showing a packet structure according to the first embodiment of the present invention.

【図26】 この発明の実施の形態9によるパケット構
造を示す説明図である。
FIG. 26 is an explanatory diagram showing a packet structure according to Embodiment 9 of the present invention.

【図27】 この発明の実施の形態18によるセマフォ
状態部の状態遷移をを示す説明図である。
FIG. 27 is an explanatory diagram showing a state transition of a semaphore state unit according to Embodiment 18 of the present invention.

【図28】 従来の分散共有メモリネットワーク装置を
示すブロック図である。
FIG. 28 is a block diagram showing a conventional distributed shared memory network device.

【図29】 メモリ情報がデータ単位で各ノード間を巡
回する様子を示す説明図である。
FIG. 29 is an explanatory diagram showing how memory information circulates between nodes in data units.

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

11a〜11c CPU、12a〜12c 分散共有メ
モリユニット(RMU)、13a〜13c ローカルメ
モリ部、14a〜14c RAS部、15a〜15c
メモリ制御部、16a〜16c 転送制御部、17a〜
17c リンク制御部、18 ネットワーク、21a
CPUアクセスタイプ設定部、22aCPUアクセス変
換部、31a メモリ読み出し部、32a,162a
メモリ書込み部、33a メモリ書込み命令比較部、4
1a ブロック受信制御部、42a ブロック書込み
部、43a ブロックパケット送受信部、51a 割り
込み条件判定部、52a 割り込み制御部、53a 割
り込み条件設定部、61aノードID判定部、62a
ネットワーク参入制御部、63a ネットワーク参入要
求部、74a ノードID自動設定部、81a 参入失
敗表示部、91a中継カウンタ部、92a 長寿パケッ
ト処理部、101a 最大ノードID検出部、102a
最大ノードID記録部、110a 周回タイマ部、1
11a周回タイマリセット部、112a 周回タイマク
リア部、121a 送信バッファ部、122a 周回パ
ケット検出部、123a 周回パケットエラー検出部、
124a 再送制御部、131a FIFOバッファ
部、141a 中継FIFOバッファ部、142a 送
信優先度制御部、151a 送信抑制部、161a書込
み可能領域設定部、171a CRC符号化部、172
a CRC解読部、173a パケットエラー設定部、
181a セマフォ操作要求部、182aセマフォ管理
部、183a セマフォ状態部、191a バイパス
部、201a バイパスボックス部、202a 手動ス
イッチ部、212a バイパススイッチ部、222a
イコライジング制御部、223a メモリ周期読み出し
部、224a イコライジングパケット送信部、235
a イコライジング状況記録部、243a 参入要求
部、244a 参入記録部。
11a to 11c CPU, 12a to 12c Distributed shared memory unit (RMU), 13a to 13c Local memory unit, 14a to 14c RAS unit, 15a to 15c
Memory controller, 16a-16c Transfer controller, 17a-
17c link control unit, 18 network, 21a
CPU access type setting unit, 22a CPU access conversion unit, 31a memory read unit, 32a, 162a
Memory write unit, 33a memory write instruction comparison unit, 4
1a Block reception control unit, 42a Block writing unit, 43a Block packet transmission / reception unit, 51a Interrupt condition determination unit, 52a Interrupt control unit, 53a Interrupt condition setting unit, 61a Node ID determination unit, 62a
Network entry control unit, 63a network entry requesting unit, 74a node ID automatic setting unit, 81a entry failure display unit, 91a relay counter unit, 92a longevity packet processing unit, 101a maximum node ID detection unit, 102a
Maximum node ID recording unit, 110a circulation timer unit, 1
11a circulation timer reset unit, 112a circulation timer clear unit, 121a transmission buffer unit, 122a circulation packet detection unit, 123a circulation packet error detection unit,
124a retransmission control section, 131a FIFO buffer section, 141a relay FIFO buffer section, 142a transmission priority control section, 151a transmission suppression section, 161a writable area setting section, 171a CRC encoding section, 172
a CRC decoding unit, 173a packet error setting unit,
181a semaphore operation request unit, 182a semaphore management unit, 183a semaphore status unit, 191a bypass unit, 201a bypass box unit, 202a manual switch unit, 212a bypass switch unit, 222a
Equalizing control unit, 223a Memory cycle reading unit, 224a Equalizing packet transmission unit, 235
a Equalizing status recording unit, 243a entry requesting unit, 244a entry recording unit.

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】 複数のCPUが各々の分散共有メモリユ
ニットを介してスロッテッドリング接続されるネットワ
ークを備え、上記各々の分散共有メモリユニットは、上
記CPUからメモリアクセスされるローカルメモリ部
と、上記CPUからのロードまたはストア命令に応じて
上記ローカルメモリ部へのアクセスを行うと共に、受信
したパケットに応じてそのローカルメモリ部へのアクセ
スを行うメモリ制御部と、上記CPUからのストア命令
に応じて、ノードID,属性,アドレスおよびデータを
含むパケットを生成すると共に、受信したパケットに含
まれる属性を解読して有効なパケットである場合に上記
メモリ制御部にその受信したパケットを出力する転送制
御部と、その転送制御部により生成されたパケットを上
記ネットワークに送信すると共に、そのネットワークか
らパケットを受信し、その受信したパケットに含まれる
ノードIDが自ノードであればその受信したパケットを
棄却し、他ノードであればその受信したパケットをその
転送制御部に出力するリンク制御部と、当該分散共有メ
モリユニットの状態を診断監視し、電源断を含む障害時
には上記リンク制御部に受信されるパケットを直接他ノ
ードにバイパスするRAS部とを備えたことを特徴とす
る分散共有メモリネットワーク装置。
1. A network in which a plurality of CPUs are connected by a slotted ring via respective distributed shared memory units, wherein each of the distributed shared memory units has a local memory unit accessed by the CPU and A memory control unit that accesses the local memory unit in response to a load or store instruction from the CPU, and accesses the local memory unit in response to a received packet; Transfer control unit that generates a packet including a node ID, an attribute, an address, and data, and decodes an attribute included in the received packet and outputs the received packet to the memory control unit when the packet is a valid packet. And transmit the packet generated by the transfer control unit to the above network Receive the packet from the network, and if the node ID included in the received packet is the own node, reject the received packet; otherwise, output the received packet to the transfer control unit. And a RAS unit for diagnosing and monitoring the state of the distributed shared memory unit and for bypassing a packet received by the link control unit to another node in the event of a failure including power-off. Distributed shared memory network device.
【請求項2】 メモリ制御部は、CPUのエンディアン
タイプを設定したCPUアクセスタイプ設定部と、上記
CPUからのロードまたはストア命令を上記CPUアク
セスタイプ設定部に設定されたエンディアンタイプに変
換してローカルメモリ部へのアクセスを行うCPUアク
セス変換部とを備えたことを特徴とする請求項1記載の
分散共有メモリネットワーク装置。
2. A memory control unit comprising: a CPU access type setting unit in which an endian type of a CPU is set; and a load or store instruction from the CPU converted to an endian type set in the CPU access type setting unit for localization. 2. The distributed shared memory network device according to claim 1, further comprising a CPU access conversion unit for accessing the memory unit.
【請求項3】 メモリ制御部は、CPUからのストア命
令における指定アドレスに応じたローカルメモリ部のデ
ータを読み出すメモリ読み出し部と、上記CPUからの
ストア命令における書き込みデータと上記メモリ読み出
し部により読み出されたデータとを比較するメモリ書込
み命令比較部と、そのメモリ書込み命令比較部により書
き込みデータと読み出されたデータとが異なっていると
判断された場合に、上記ローカルメモリ部の指定アドレ
スに書き込みデータを書き込むメモリ書込み部とを備え
たことを特徴とする請求項1または請求項2記載の分散
共有メモリネットワーク装置。
3. A memory control unit comprising: a memory read unit that reads data in a local memory unit corresponding to a designated address in a store command from the CPU; a memory read unit that reads data written in a store command from the CPU; A memory write command comparing unit that compares the read data with the specified data. When the write data and the read data are determined to be different from each other, the memory write command comparator writes the data to the specified address of the local memory unit. 3. The distributed shared memory network device according to claim 1, further comprising a memory writing unit that writes data.
【請求項4】 メモリ制御部は、CPUからのストア命
令におけるバースト転送またはDMA転送を受信するブ
ロック受信制御部と、そのブロック受信制御部により受
信されたブロックデータをローカルメモリ部に書き込む
ブロック書込み部とを備え、転送制御部は、上記ブロッ
ク受信制御部により受信されたブロックデータを含むブ
ロックパケットを生成すると共に、リンク制御部を介し
て受信したブロックパケットを上記メモリ制御部に出力
するブロックパケット送受信部を備えたことを特徴とす
る請求項1記載の分散共有メモリネットワーク装置。
4. A block control unit for receiving a burst transfer or a DMA transfer in a store command from a CPU, and a block writing unit for writing block data received by the block reception control unit to a local memory unit. The transfer control unit generates a block packet including the block data received by the block reception control unit, and outputs the block packet received via the link control unit to the memory control unit. 2. The distributed shared memory network device according to claim 1, further comprising a unit.
【請求項5】 メモリ制御部は、CPUによって予め割
り込み発生条件が設定される割り込み条件設定部と、受
信されたパケットとその割り込み条件設定部に設定され
た割り込み発生条件とを照合し、割り込み発生を判定す
る割り込み条件判定部と、その割り込み条件判定部によ
り割り込み発生が判定された場合に、上記CPUに割り
込み通知する割り込み制御部とを備えたことを特徴とす
る請求項1記載の分散共有メモリネットワーク装置。
5. The memory control unit compares an interrupt condition setting unit in which an interrupt generation condition is set in advance by a CPU with a received packet and an interrupt generation condition set in the interrupt condition setting unit, and generates an interrupt. 2. The distributed shared memory according to claim 1, further comprising: an interrupt condition judging unit for judging the interrupt condition; and an interrupt control unit for notifying the CPU of an interrupt when the interrupt condition judging unit judges the occurrence of the interrupt. Network device.
【請求項6】 転送制御部は、ネットワークに新規参入
する際にノードIDが設定されるネットワーク参入制御
部と、そのネットワーク参入制御部に設定されたノード
IDを含む参入パケットを生成し転送制御部に出力する
ネットワーク参入要求部と、受信されたパケットが参入
パケットである時にその参入パケットに含まれるノード
IDが自ノードIDと一致していればその受信されたパ
ケットにエラービットを付加して上記転送制御部に出力
すると共に、自ノードが新規参入要求中に自ノードID
と一致し、且つエラービットが付加されていない参入パ
ケットを受信した場合に自ノードが参入可能と判定する
ノードID判定部とを備えたことを特徴とする請求項1
記載の分散共有メモリネットワーク装置。
6. The transfer control unit generates a network entry control unit to which a node ID is set when newly joining a network, and an entry packet including the node ID set in the network entry control unit. And a network entry request unit that outputs an error bit to the received packet if the node ID included in the received packet matches the own node ID when the received packet is the entry packet. Output to the transfer control unit, and when the own node
And a node ID determining unit that determines that the own node can enter when receiving an entry packet to which the error packet has been added and to which an error bit has not been added.
A distributed shared memory network device as described.
【請求項7】 転送制御部は、ノードIDを初期値から
始めてネットワーク参入制御部に出力すると共に、ノー
ドID判定部により判定される参入失敗の度にそのノー
ドIDを増加させてそのネットワーク参入制御部に出力
するノードID自動設定部を備えたことを特徴とする請
求項6記載の分散共有メモリネットワーク装置。
7. The transfer control unit outputs a node ID to the network entry control unit starting from an initial value, and increases the node ID every time entry failure determined by the node ID determination unit increases, thereby controlling the network entry control. 7. The distributed shared memory network device according to claim 6, further comprising a node ID automatic setting unit for outputting to the unit.
【請求項8】 RAS部は、転送制御部における参入失
敗の際に、参入失敗表示部に参入失敗を表示すると共
に、リンク制御部に受信されるパケットを直接他ノード
にバイパスすることを特徴とする請求項6または請求項
7記載の分散共有メモリネットワーク装置。
8. The RAS unit, when the transfer control unit fails to join, displays the entry failure on the entry failure display unit and bypasses the packet received by the link control unit directly to another node. The distributed shared memory network device according to claim 6 or 7, wherein
【請求項9】 転送制御部は、受信されたパケットの中
継毎にそのパケットに含まれる中継回数を増加させる中
継カウンタ部と、その中継回数が所定の回数を上回るパ
ケットを棄却する長寿パケット処理部とを備えたことを
特徴とする請求項6記載の分散共有メモリネットワーク
装置。
9. A relay control unit for increasing the number of relays included in a received packet for each relay of a received packet, and a long-lived packet processing unit for rejecting a packet whose number of relays exceeds a predetermined number. 7. The distributed shared memory network device according to claim 6, comprising:
【請求項10】 転送制御部は、受信されたパケットの
ノードIDの最高値を検出する最大ノードID検出部
と、その最大ノードID検出部により検出されたノード
IDの最高値を記録し、長寿パケット処理部に所定の回
数として設定する最大ノードID記録部とを備えたこと
を特徴とする請求項9記載の分散共有メモリネットワー
ク装置。
10. The transfer control unit records a maximum node ID detection unit that detects a maximum value of a node ID of a received packet, and records a maximum value of a node ID detected by the maximum node ID detection unit, and records a longevity. 10. The distributed shared memory network device according to claim 9, further comprising a maximum node ID recording unit that is set as a predetermined number of times in the packet processing unit.
【請求項11】 転送制御部は、所定の時間を経過した
場合にRAS部に障害発生を出力する周回タイマ部と、
パケットの送信時に上記周回タイマ部をリセットする周
回タイマリセット部と、そのパケットの受信時に上記周
回タイマ部をクリアする周回タイマクリア部とを備えた
ことを特徴とする請求項1記載の分散共有メモリネット
ワーク装置。
11. A transfer timer unit for outputting a fault occurrence to the RAS unit when a predetermined time has elapsed,
2. The distributed shared memory according to claim 1, further comprising: a round timer reset unit that resets the round timer unit when transmitting a packet; and a round timer clear unit that clears the round timer unit when receiving the packet. Network device.
【請求項12】 転送制御部は、自ノードから送信され
るパケットを記録する送信バッファ部と、受信されたパ
ケットのノードIDと自ノードIDとの一致を検出する
周回パケット検出部と、その周回パケット検出部により
一致が検出された場合に、上記送信バッファ部に記録さ
れたパケットと受信されたパケットとの内容を比較し、
パケットの周回による転送誤りを検出する周回パケット
エラー検出部と、その周回パケットエラー検出部により
転送誤りが検出された場合に、上記送信バッファ部に記
録されたパケットを再送信する再送制御部とを備えたこ
とを特徴とする請求項1記載の分散共有メモリネットワ
ーク装置。
12. A transfer control unit, comprising: a transmission buffer unit for recording a packet transmitted from the own node; a circulating packet detecting unit for detecting a match between a node ID of the received packet and the own node ID; When a match is detected by the packet detection unit, the contents of the packet recorded in the transmission buffer unit and the received packet are compared,
A recirculation packet error detection unit that detects a transmission error due to recirculation of a packet, and a retransmission control unit that retransmits the packet recorded in the transmission buffer unit when a transmission error is detected by the recirculation packet error detection unit. The distributed shared memory network device according to claim 1, further comprising:
【請求項13】 転送制御部は、自ノードから送信され
る複数のパケットを記録するFIFOバッファ部と、周
回パケット検出部により一致が検出された場合に、上記
FIFOバッファ部に記録された先頭パケットと受信さ
れたパケットとの内容を比較し、パケットの周回による
転送誤りを検出する周回パケットエラー検出部と、その
周回パケットエラー検出部により転送誤りが検出されな
かった場合に、上記FIFOバッファ部に記録された先
頭パケットを1つ繰り上げると共に、転送誤りが検出さ
れた場合に、そのFIFOバッファ部に記録された全て
のパケットに再送ビットを立てて再送信し、送信済の再
送ビットが立てられていないパケットを受信した場合に
そのパケットを棄却する再送制御部とを備えたことを特
徴とする請求項12記載の分散共有メモリネットワーク
装置。
13. A transfer control unit, comprising: a FIFO buffer unit for recording a plurality of packets transmitted from the own node; and a first packet recorded in the FIFO buffer unit when a coincidence is detected by the cyclic packet detection unit. And a content of the received packet, and a cyclic packet error detecting unit for detecting a transfer error due to the cyclic of the packet. If the cyclic packet error detecting unit does not detect the transfer error, the The recorded first packet is moved up by one, and if a transfer error is detected, all packets recorded in the FIFO buffer are set with retransmission bits and retransmitted, and the transmitted retransmission bit is set. 13. A retransmission control unit for rejecting an unacceptable packet when the packet is received. A distributed shared memory network device as described.
【請求項14】 受信したパケットを送信可能となるま
で記録する中継FIFOバッファ部と、FIFOバッフ
ァ部が一杯になった時に、上記中継FIFOバッファ部
による中継処理よりもそのFIFOバッファ部の送信処
理を優先させる送信優先度制御部とを備えたことを特徴
とする請求項13記載の分散共有メモリネットワーク装
置。
14. A relay FIFO buffer unit for recording a received packet until transmission becomes possible, and when the FIFO buffer unit is full, transmission processing of the FIFO buffer unit is performed more than relay processing by the relay FIFO buffer unit. 14. The distributed shared memory network device according to claim 13, further comprising a transmission priority control unit for giving priority to the transmission.
【請求項15】 転送制御部は、CPUからの設定によ
り自ノードからのパケットの送信を停止する送信抑制部
を備えたことを特徴とする請求項1記載の分散共有メモ
リネットワーク装置。
15. The distributed shared memory network device according to claim 1, wherein the transfer control unit includes a transmission suppressing unit that stops transmission of a packet from the own node according to a setting from the CPU.
【請求項16】 メモリ制御部は、CPUからローカル
メモリ部の書込み可能領域が設定され、そのCPUから
のストア命令がその書込み可能領域内であればメモリ書
込み部によりそのデータをそのローカルメモリ部に書込
み、書込み可能領域外であれば書込みを行わない書込み
可能領域設定部を備えたことを特徴とする請求項1記載
の分散共有メモリネットワーク装置。
16. A memory control section, wherein a writable area of a local memory section is set from the CPU, and if a store instruction from the CPU is within the writable area, the data is stored in the local memory section by the memory writing section. 2. The distributed shared memory network device according to claim 1, further comprising a writable area setting unit that does not perform writing if it is outside the writable area.
【請求項17】 転送制御部は、送信するパケットをC
RC符号化するCRC符号化部と、受信されたCRC符
号化されたパケットを解読するCRC解読部と、そのC
RC解読部による解読により受信されたパケットのエラ
ーチェックするパケットエラー設定部とを備えたことを
特徴とする請求項1記載の分散共有メモリネットワーク
装置。
17. The transfer control unit transmits a packet to be transmitted to C
A CRC encoding unit for RC encoding, a CRC decryption unit for decrypting the received CRC encoded packet,
2. The distributed shared memory network device according to claim 1, further comprising: a packet error setting unit that checks an error of a packet received by decoding by the RC decoding unit.
【請求項18】 転送制御部は、ノードのセマフォ状態
を設定するセマフォ状態部と、CPUからの指示により
セマフォ要求に関するリクエストおよびロックのパケッ
トを送信するセマフォ操作要求部と、受信したパケット
にリクエストのセマフォ要求がある場合に、上記セマフ
ォ状態部をリクエストに設定し、受信したパケットにロ
ックのセマフォ要求がある場合に、そのセマフォ状態部
がリクエストであることを確認して、そのセマフォ状態
部をロックに設定するセマフォ管理部とを備えたことを
特徴とする請求項1記載の分散共有メモリネットワーク
装置。
18. A transfer control unit, comprising: a semaphore state unit for setting a semaphore state of a node; a semaphore operation request unit for transmitting a request and lock packet relating to a semaphore request according to an instruction from the CPU; If there is a semaphore request, set the semaphore state part to the request, and if there is a lock semaphore request in the received packet, confirm that the semaphore state part is a request and lock the semaphore state part. 2. The distributed shared memory network device according to claim 1, further comprising: a semaphore management unit that sets the semaphore.
【請求項19】 リンク制御部は、RAS部の指示によ
り受信されるパケットを直接他ノードにバイパスするバ
イパス部を備えたことを特徴とする請求項1記載の分散
共有メモリネットワーク装置。
19. The distributed shared memory network device according to claim 1, wherein the link control unit includes a bypass unit that directly bypasses a packet received according to an instruction of the RAS unit to another node.
【請求項20】 分散共有メモリユニットとネットワー
クとの間に接続され、受信されるパケットを直接他ノー
ドにバイパスするバイパスボックス部と、そのバイパス
ボックス部を手動により切り替える手動スイッチ部とを
備えたことを特徴とする請求項1記載の分散共有メモリ
ネットワーク装置。
20. A power supply system comprising: a bypass box connected between a distributed shared memory unit and a network, for bypassing a received packet directly to another node; and a manual switch for manually switching the bypass box. The distributed shared memory network device according to claim 1, wherein:
【請求項21】 分散共有メモリユニットとネットワー
クとの間に接続され、受信されるパケットを直接他ノー
ドにバイパスするバイパスボックス部と、そのバイパス
ボックス部をRAS部の指示により切り替えるバイパス
スイッチ部とを備えたことを特徴とする請求項1記載の
分散共有メモリネットワーク装置。
21. A bypass box unit connected between the distributed shared memory unit and the network, for bypassing a received packet directly to another node, and a bypass switch unit for switching the bypass box unit according to an instruction of the RAS unit. The distributed shared memory network device according to claim 1, further comprising:
【請求項22】 メモリ制御部は、CPUからの指示に
よりイコライジング要求のパケットを送信するイコライ
ジングパケット送信部と、受信されたパケットがイコラ
イジング要求のパケットである場合に、メモリ周期読み
出し部により指定周期でローカルメモリ部の書込み可能
領域のデータを読み出させ、その読み出されたデータを
パケットとして送信すると共に、その受信されたイコラ
イジング要求のパケットを送信するイコライジング制御
部とを備えたことを特徴とする請求項1記載の分散共有
メモリネットワーク装置。
22. An equalizing packet transmitting unit for transmitting an equalizing request packet in accordance with an instruction from the CPU, and, when the received packet is an equalizing request packet, by a memory period reading unit at a designated period. An equalizing control unit for reading data in the writable area of the local memory unit, transmitting the read data as a packet, and transmitting the received packet of the equalizing request. The distributed shared memory network device according to claim 1.
【請求項23】 メモリ制御部は、CPUからの指示に
よりイコライジング要求のパケットを送信するイコライ
ジングパケット送信部と、受信されたパケットがイコラ
イジング要求のパケットである場合に、その受信された
イコライジング要求のパケットおよびイコライジング開
始のパケットを送信し、メモリ周期読み出し部により指
定周期でローカルメモリ部の書込み可能領域のデータを
読み出させ、その読み出されたデータをパケットとして
送信すると共に、イコライジング終了のパケットを送信
するイコライジング制御部と、それらイコライジング開
始のパケットおよびイコライジング終了のパケットの受
信によりイコライジング動作の状況を管理するイコライ
ジング状況記録部とを備えたことを特徴とする請求項1
記載の分散共有メモリネットワーク装置。
23. An equalizing packet transmitting unit for transmitting an equalizing request packet in accordance with an instruction from the CPU, and when the received packet is an equalizing request packet, the memory controlling unit transmits the equalizing request packet. And a packet for starting the equalizing is transmitted, and the data in the writable area of the local memory unit is read out at a specified period by the memory period reading unit, and the read data is transmitted as a packet and a packet for ending the equalizing is transmitted. 2. An equalizing control unit which performs the equalizing operation, and an equalizing state recording unit which manages an equalizing operation state by receiving the equalizing start packet and the equalizing end packet.
A distributed shared memory network device as described.
【請求項24】 転送制御部は、参入成功時に自ノード
IDを含む参入通知のパケットを送信する参入要求部
と、参入通知のパケットを受信した場合に、そのパケッ
トからノードIDを取り出して記録する参入記録部とを
備えたことを特徴とする請求項7記載の分散共有メモリ
ネットワーク装置。
24. A transfer control unit for transmitting a join notification packet including its own node ID when the join is successful, and when receiving the join notification packet, extracts and records the node ID from the packet. The distributed shared memory network device according to claim 7, further comprising an entry recording unit.
JP07865397A 1997-03-28 1997-03-28 Distributed shared memory network device Expired - Fee Related JP3401160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07865397A JP3401160B2 (en) 1997-03-28 1997-03-28 Distributed shared memory network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07865397A JP3401160B2 (en) 1997-03-28 1997-03-28 Distributed shared memory network device

Publications (2)

Publication Number Publication Date
JPH10276198A true JPH10276198A (en) 1998-10-13
JP3401160B2 JP3401160B2 (en) 2003-04-28

Family

ID=13667828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07865397A Expired - Fee Related JP3401160B2 (en) 1997-03-28 1997-03-28 Distributed shared memory network device

Country Status (1)

Country Link
JP (1) JP3401160B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100391251C (en) * 1999-07-28 2008-05-28 株式会社日立制作所 Method and system of distributing multimedia data using management information
US7711461B2 (en) 2005-01-19 2010-05-04 Toyota Jidosha Kabushiki Kaisha Fault diagnosis data recording system and method
JP2010522402A (en) * 2007-03-23 2010-07-01 クゥアルコム・インコーポレイテッド Command communication technology for multiprocessor systems
JP2012027782A (en) * 2010-07-26 2012-02-09 Nec Computertechno Ltd Computer system, computer and control method
CN104360189A (en) * 2014-03-26 2015-02-18 国家电网公司 Power grid blackout event judgment method
JP2016513846A (en) * 2013-03-15 2016-05-16 マイクロソフト テクノロジー ライセンシング,エルエルシー Memory sharing over the network
CN110785748A (en) * 2017-06-28 2020-02-11 Arm有限公司 Domain management unit-private memory area
US10691542B2 (en) 2013-01-17 2020-06-23 Toshiba Memory Corporation Storage device and storage method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100391251C (en) * 1999-07-28 2008-05-28 株式会社日立制作所 Method and system of distributing multimedia data using management information
US7711461B2 (en) 2005-01-19 2010-05-04 Toyota Jidosha Kabushiki Kaisha Fault diagnosis data recording system and method
JP2010522402A (en) * 2007-03-23 2010-07-01 クゥアルコム・インコーポレイテッド Command communication technology for multiprocessor systems
JP2012027782A (en) * 2010-07-26 2012-02-09 Nec Computertechno Ltd Computer system, computer and control method
US10691542B2 (en) 2013-01-17 2020-06-23 Toshiba Memory Corporation Storage device and storage method
JP2016513846A (en) * 2013-03-15 2016-05-16 マイクロソフト テクノロジー ライセンシング,エルエルシー Memory sharing over the network
CN104360189A (en) * 2014-03-26 2015-02-18 国家电网公司 Power grid blackout event judgment method
CN110785748A (en) * 2017-06-28 2020-02-11 Arm有限公司 Domain management unit-private memory area
CN110785748B (en) * 2017-06-28 2023-09-12 Arm有限公司 Domain management unit-private memory area
US11874778B2 (en) 2017-06-28 2024-01-16 Arm Limited Realm management unit-private memory regions

Also Published As

Publication number Publication date
JP3401160B2 (en) 2003-04-28

Similar Documents

Publication Publication Date Title
US7518989B2 (en) Method and apparatus for recovery from faults in a loop network
CA2068805C (en) Acquiring the identification of a node in a data processing input/output system
JPH04242463A (en) State-change informing mechanism and method in data processing input/output system
JP2000507406A (en) Monitor automatic negotiation progress
JP2852116B2 (en) Frame erase method
JPH10276198A (en) Distributed shared memory network device
CN108429659A (en) Remote failure monitoring method, device and the router of router
JP4585560B2 (en) Network failure detection method, data communication network system, and node device
JP3466860B2 (en) Node arrangement order check method for ring network
US20180102835A1 (en) Transmission device and network system
JPH022747A (en) Withdrawal frame recognition device
JPS61253950A (en) Network control system
JPS6412144B2 (en)
JP3458371B2 (en) Data transmission control method and device
JP2000165424A (en) Loop type data transmitting device
JPH0621952A (en) Data transmission system for loop-shaped transmission line
CN116471140A (en) Inspection device and inspection method
JPS61253948A (en) Network control system
JPH05219084A (en) Monitoring method for ring network
CN117201415A (en) Communication system, communication transmission rate determining method and device and electronic equipment
CN117240750A (en) Method and device for monitoring switch port, switch, equipment and medium
JP2646980B2 (en) ISDN terminal equipment
CA2761491A1 (en) Control system and node address setting method for control system
CN117749566A (en) Fault processing method and device, equipment and medium of MRP ring network
CN116436763A (en) Fault processing method of network card link and computing equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080221

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees