JPH0739142U - Local area network system - Google Patents
Local area network systemInfo
- Publication number
- JPH0739142U JPH0739142U JP681793U JP681793U JPH0739142U JP H0739142 U JPH0739142 U JP H0739142U JP 681793 U JP681793 U JP 681793U JP 681793 U JP681793 U JP 681793U JP H0739142 U JPH0739142 U JP H0739142U
- Authority
- JP
- Japan
- Prior art keywords
- station
- area network
- local area
- memory
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 claims abstract description 85
- 230000002159 abnormal effect Effects 0.000 claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 41
- 230000005856 abnormality Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 3
- 238000006467 substitution reaction Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
- Multi Processors (AREA)
Abstract
(57)【要約】
【構成】第1局〜第n局の各局をCPUとそのCPUが
アクセスする2ポートメモリおよびCPUの2ポートメ
モリに対するデータの書き込み情報(メモリアクセス情
報)を他局の通信制御部へ送信し、他局からのメモリア
クセス情報を受信して自局内の2ポートメモリの該当ア
ドレスへ同一データを書き込む手段を備える通信制御部
から構成する。
【効果】各局内の2ポートメモリがローカルエリアネッ
トワークシステム全体としてはNポートメモリとしての
共有メモリと等価となって、いずれかの局が異常状態と
なっても、他局はその代行を行えるようになる。
(57) [Summary] [Structure] Each station from station 1 to station n has a CPU, a 2-port memory accessed by the CPU, and data write information (memory access information) for the 2-port memory of the CPU, communicated with other stations. The communication control unit comprises means for transmitting to the control unit, receiving memory access information from another station, and writing the same data to the corresponding address of the 2-port memory in the own station. [Effect] The two-port memory in each station becomes equivalent to the shared memory as the N-port memory in the entire local area network system, so that even if one of the stations is in an abnormal state, another station can act on its behalf. become.
Description
【0001】[0001]
この考案は、共有メモリを有するローカルエリアネットワークシステムに関す る。 The present invention relates to a local area network system having a shared memory.
【0002】[0002]
従来の一般的なローカルエリアネットワークシステムにおいては、ネットワー クに接続される各局は、CPU、メモリ、通信制御部および必要に応じて周辺装 置とのインタフェースから構成されていて、各局のメモリはその局に設けられて いるCPUだけがアクセスできるローカルメモリとして用いられている。 In a conventional general local area network system, each station connected to the network is composed of a CPU, a memory, a communication control unit, and an interface with peripheral devices as necessary. It is used as a local memory that can be accessed only by the CPU provided in that station.
【0003】[0003]
ローカルエリアネットワークシステムにおいては、各局間同士でデータ通信を 容易に行うことができるため、例えばネットワークに接続されているある一つの 局がシステムダウンするなど異常状態となっても、ローカルエリアネットワーク システム全体の構成によっては、ネットワークに接続されている他の正常な局が 異常状態にある局が行うべき処理を代行することができる、という特徴がある。 In a local area network system, data communication can be easily performed between stations, so even if one station connected to the network goes down, the entire local area network system Depending on the configuration, other normal stations connected to the network can substitute the processing to be performed by the station in the abnormal state.
【0004】 しかしながら、各局が備えているメモリは他の局から互いに独立しているローカ ルメモリであるため、異常状態にある局内のローカルメモリを、代行する局のC PUが直接アクセスすることはできず、従って異常状態にある局内のローカルメ モリをアクセスしなければならない処理については代行することはできない。ま た、ある一つのデータをネットワークに接続されている複数の他局に伝送する場 合、あらかじめ定めた通信手順に従った通信制御を行わなければならず、そのた めの負担がCPUにかかることになる。However, since the memory provided in each station is a local memory that is independent of other stations, the local memory in the station in an abnormal state cannot be directly accessed by the CPU of the acting station. Therefore, it is not possible to substitute for the processing that requires access to the local memory in the station in an abnormal state. Also, when transmitting a certain piece of data to multiple other stations connected to the network, communication control must be performed according to a predetermined communication procedure, and the CPU is burdened for that purpose. It will be.
【0005】 一方、複数のCPUを備えて一つのシステムを構成するマルチプロセッサシス テムにおいては、全てのCPUが全く同一のメモリ(共有メモリ)を自身のメモ リとしてアクセスすることができ、ローカルメモリ間のデータ伝送が不要である ことから、CPU間の通信を非常に高速に行えること、また多重系システムやフ ェイルセーフシステムを構成して信頼性を向上し得る、という特徴を備えている 。On the other hand, in a multiprocessor system having a plurality of CPUs and forming one system, all the CPUs can access exactly the same memory (shared memory) as its own memory, and the local memory Since it does not require data transfer between CPUs, it has the characteristics that communication between CPUs can be performed at extremely high speed and that reliability can be improved by configuring a multi-system system or a fail-safe system. .
【0006】 この考案の目的は、ローカルエリアネットワークシステムに、共有メモリを備 えるマルチプロセッサシステムの概念を取り入れ、局間のデータ通信のための各 局内のCPUの負荷を低減し得るローカルエリアネットワークシステムを提供す ることにある。An object of the present invention is to introduce the concept of a multiprocessor system having a shared memory into a local area network system and reduce the load of the CPU in each station for data communication between the stations. Is to provide.
【0007】 この考案の他の目的は、ネットワークに接続されているある一つまたは複数の 局が所期の処理を実行できない異常状態となった場合に、他の正常な局がその処 理を代行して、全体として信頼性を向上させたローカルエリアネットワークシス テムを提供することにある。Another object of the present invention is to provide, when one or a plurality of stations connected to the network are in an abnormal state where they cannot execute the intended processing, other normal stations perform the processing. On behalf of them is to provide a local area network system with improved reliability as a whole.
【0008】[0008]
この考案の請求項1に係るローカルエリアネットワークシステムは、複数の局 をローカルエリアネットワークを介して接続してなるローカルエリアネットワー クシステムにおいて、 2ポートメモリと、 この2ポートメモリに対してデータの読み書きを行うCPUと、 前記CPUが前記2ポートメモリに書き込んだデータとそのアドレスの情報を 検出するメモリアクセス情報検出手段と、検出された前記データおよびアドレス の情報をローカルエリアネットワークを介して送出するメモリアクセス情報送出 手段と、前記ローカルエリアネットワークを介して他局が送出したデータおよび アドレスの情報を受信するメモリアクセス情報受信手段と、受信された前記アド レスの情報に等しい前記2ポートメモリのアドレスへ、受信された前記データの 情報に等しいデータを書き込むメモリ書き込み制御手段とを備える通信制御部、 とから各局を構成したことを特徴とする。 A local area network system according to claim 1 of the present invention is a local area network system in which a plurality of stations are connected via a local area network. A CPU for reading and writing, a memory access information detecting unit for detecting data and its address information written in the 2-port memory by the CPU, and sending the detected data and address information via a local area network. Memory access information sending means, memory access information receiving means for receiving data and address information sent by another station via the local area network, and address of the 2-port memory equal to the received address information To the received Each station is characterized by comprising a communication control unit including a memory write control unit for writing data equivalent to data information.
【0009】 請求項2に係るローカルエリアネットワークシステムは、請求項1記載のロー カルエリアネットワークシステムにおいて、前記ローカルエリアネットワークを 介して他局の送出した異常報知データを受信して、または、前記2ポートメモリ 内の他局の書込領域の内容から、異常状態の他局を検知する異常状態検知手段と 、前記異常状態の他局の処理を代行する処理代行手段とを、一つまたは複数の局 に設けたことを特徴とする。A local area network system according to a second aspect is the local area network system according to the first aspect, which receives abnormality notification data transmitted from another station via the local area network, or One or a plurality of abnormal state detecting means for detecting another station in an abnormal state from the contents of the writing area of the other station in the port memory, and processing proxy means for performing the processing of the other station in the abnormal state are provided. It is characterized by being installed in the station.
【0010】[0010]
この考案の請求項1に係るローカルエリアネットワークシステムの構成例を図 1に示す。図1において10はローカルエリアネットワークの伝送路であり、こ の例では、第1局,第2局,第3局・・・第n局がリング状に接続されている。 FIG. 1 shows a configuration example of a local area network system according to claim 1 of the present invention. In FIG. 1, reference numeral 10 is a transmission path of the local area network, and in this example, the first station, the second station, the third station, ... The nth station are connected in a ring shape.
【0011】 各局は2ポートメモリとCPUおよび通信制御部から構成されていて、CPUは 2ポートメモリに対しデータの読み書きを行う。通信制御部に設けられているメ モリアクセス情報検出手段は、CPUが2ポートメモリに書き込んだデータとそ のアドレスの情報を検出し、メモリアクセス情報送出手段は、検出された前記デ ータおよびアドレスの情報をローカルエリアネットワークを介して送出する。ま た、メモリアクセス情報受信手段は、ローカルエリアネットワークを介して他局 が送出したデータおよびアドレスの情報を受信し、メモリ書き込み制御手段は、 受信された前記アドレスの情報に等しい前記2ポートメモリのアドレスへ、受信 された前記データの情報に等しいデータを書き込む。従ってCPUが2ポートメ モリに対して何らかのデータを書き込んだなら、メモリアクセス情報検出手段は その書き込んだデータとアドレスの情報を検出し、メモリアクセス情報送出手段 はそのデータおよびアドレスの情報をローカルエリアネットワークを介して送出 する。他局においてメモリアクセス情報受信手段はローカルエリアネットワーク を介して前記データおよびアドレスの情報を受信し、メモリ書き込み制御手段が 対応する自局の2ポートメモリの対応するアドレスへ書き込む。全ての局が同様 の処理を行うため、結局、ある一つの局のCPUは自局の2ポートメモリに対し 何らかのデータを書き込めば、他局のすべての2ポートメモリの同一アドレスに 同一データが書き込まれて、各局の2ポートメモリは実質上常に同一内容を保つ ことになる。その結果、図2の概念図に示すように、各局のCPUは局内のメモ リがローカルメモリであるにも拘らず、ローカルエリアネットワークシステム全 体としては等価的に共有メモリとして機能することになる。Each station is composed of a 2-port memory, a CPU and a communication control unit, and the CPU reads / writes data from / to the 2-port memory. The memory access information detecting means provided in the communication control section detects the data written in the 2-port memory by the CPU and the information of the address, and the memory access information transmitting means detects the detected data and The address information is transmitted via the local area network. Further, the memory access information receiving means receives the data and address information sent from another station via the local area network, and the memory write control means stores the data of the two-port memory equal to the received address information. Data equal to the information of the received data is written to the address. Therefore, if the CPU writes some data to the 2-port memory, the memory access information detection means detects the written data and address information, and the memory access information transmission means outputs the data and address information to the local area network. To send via. In the other station, the memory access information receiving means receives the data and address information via the local area network, and writes the information in the corresponding address of the two-port memory of the own station corresponding to the memory writing control means. Since all stations perform the same processing, after all, if the CPU of one station writes some data to its own 2-port memory, the same data will be written to the same address of all 2-port memories of other stations. Therefore, the two-port memory of each station keeps the same contents virtually all the time. As a result, as shown in the conceptual diagram of FIG. 2, the CPU of each station functions as a shared memory equivalently as a whole local area network system, although the memory in the station is a local memory. .
【0012】 請求項2に係るローカルエリアネットワークシステムでは、上述したローカル エリアネットワークシステムにおいて、一つまたは複数の局に設けられている異 常状態検知手段が、ローカルエリアネットワークを介して他局の送出した異常報 知データを受信して、または、2ポートメモリ内の他局の書き込み領域の内容か ら異常状態の他局を検知する。処理代行手段は、異常状態の他局が行うべき処理 を代行する。従ってローカルエリアネットワークに接続されている複数の局の内 一つまたは複数の局が異常状態となって、所期の処理機能が不能状態となっても 、前記異常状態検知手段および処理代行手段を備える他の正常な局が、異常状態 の局が本来行うべきであった処理を代行することになり、ローカルエリアネット ワークシステム全体としての信頼性が大幅に向上する。In the local area network system according to a second aspect of the present invention, in the above local area network system, the abnormal state detecting means provided in one or a plurality of stations transmits to another station via the local area network. The other station that is in an abnormal state is detected by receiving the abnormal report data that is generated or from the content of the writing area of the other station in the 2-port memory. The processing proxy means performs the processing to be performed by the other station in the abnormal state. Therefore, even if one or more of the plurality of stations connected to the local area network are in an abnormal state and the intended processing function is disabled, the abnormal state detection means and the processing proxy means are The other normal stations provided will substitute the processing that the station in the abnormal state should have originally performed, greatly improving the reliability of the entire local area network system.
【0013】[0013]
この考案の実施例であるローカルエリアネットワークシステムの構成を図3〜 図10に基づき以下説明する。 A configuration of a local area network system which is an embodiment of the present invention will be described below with reference to FIGS.
【0014】 ローカルエリアネットワークシステム全体の構成は図1に示した通りである。The overall configuration of the local area network system is as shown in FIG.
【0015】 図3はその各局の構成を示すブロック図である。図3において11は局、12は この局に接続されている周辺装置である。局11内において、CPU13はロー カルメモリ15内にあらかじめ書き込まれているプログラムを実行して、後述す る各種処理を行う。ウォッチドッグタイマ14はCPU13の異常状態を検出し てCPU13に対し割り込みをかける。インタフェース16は周辺装置12と局 11との間でデータおよび信号の入出力制御を行う。CPU13はこのインタフ ェース16を介して周辺装置12を制御する。2ポートメモリ17は例えばDR AMとアービタ機能を有するDRAMコントローラから成り、CPU13または 通信制御部18からアクセスされる。通信制御部18はCPU13の2ポートメ モリ17に対するデータの書き込みを検出するメモリアクセス情報検出手段と、 そのメモリアクセス情報を伝送路へ送出するメモリアクセス情報送出手段と、伝 送路を介して他局が送出したデータおよびアドレスの情報を受信するメモリアク セス情報受信手段および受信したデータを該当する2ポートメモリのアドレスへ 書き込むメモリ書き込み制御手段を備える。FIG. 3 is a block diagram showing the configuration of each station. In FIG. 3, 11 is a station and 12 is a peripheral device connected to this station. In the station 11, the CPU 13 executes a program written in the local memory 15 in advance to perform various processes described later. The watchdog timer 14 detects an abnormal state of the CPU 13 and interrupts the CPU 13. The interface 16 controls input / output of data and signals between the peripheral device 12 and the station 11. The CPU 13 controls the peripheral device 12 via this interface 16. The 2-port memory 17 is composed of, for example, a DRAM and a DRAM controller having an arbiter function, and is accessed by the CPU 13 or the communication control unit 18. The communication control unit 18 detects the writing of data to the 2-port memory 17 of the CPU 13, a memory access information sending unit for sending the memory access information to the transmission line, and another station via the transmission line. It is provided with a memory access information receiving means for receiving the data and the address information sent by the memory and a memory writing control means for writing the received data to the address of the corresponding 2-port memory.
【0016】 次に、図3に示した通信制御部18の構成をブロック図として図4に示す。図 4においてCPU20はメモリ22にあらかじめ書き込まれているプログラムを 実行して後述する通信制御処理を行う。バスインタフェース21はCPU20( 以下、「通信制御部のCPU」という。)のローカルバスと図3に示したCPU 13(以下、「本体CPU」という。)のシステムバスとの間のインタフェース 回路である。通信制御部のCPU20はバスインタフェース21を介して図3に 示した本体CPU13の2ポートメモリ17に対するデータの書き込みアドレス およびそのデータを検出する。トランシーバ24は伝送路が光ファイバシリアル 伝送路である場合に、光電変換を行う。コントローラ23はトランシーバ24を 介してデータの送受信制御を行う。CPU20はコントローラ23を介して通信 制御を行う。Next, FIG. 4 is a block diagram showing a configuration of the communication control unit 18 shown in FIG. In FIG. 4, the CPU 20 executes a program previously written in the memory 22 to perform a communication control process described later. The bus interface 21 is an interface circuit between the local bus of the CPU 20 (hereinafter, referred to as “CPU of communication control unit”) and the system bus of the CPU 13 (hereinafter, referred to as “main body CPU”) illustrated in FIG. . The CPU 20 of the communication control unit detects, via the bus interface 21, the write address of data to the 2-port memory 17 of the main body CPU 13 shown in FIG. The transceiver 24 performs photoelectric conversion when the transmission line is an optical fiber serial transmission line. The controller 23 controls transmission / reception of data via the transceiver 24. The CPU 20 controls communication via the controller 23.
【0017】 次に、通信制御部の処理手順をフローチャートとして図6に示す。まず通信制 御部のCPU20は本体CPU13の2ポートメモリ17に対するデータの書き 込みの有無を判定する(n1)。何らかのデータの書き込みがあれば、その書き 込みデータおよびアドレスの情報を検出し、メモリ22の所定領域に記憶する( n2)。続いて、このデータとアドレスの情報からなるメモリアクセス情報を伝 送路へ送出するための送出用メモリアクセス情報を作成し、これをコントローラ 23へ出力する(n3→n4)。これによりコントローラ23はメモリアクセス 情報を伝送路へ送出する。もし、他局からの信号があれば、これをメモリアクセ ス情報として受信する(n5→n6)。そして、データとアドレスの情報を抽出 し、2ポートメモリ17の該当するアドレスへデータを書き込む(n7→n8) 。Next, FIG. 6 shows a processing procedure of the communication control unit as a flowchart. First, the CPU 20 of the communication control unit determines whether or not data is written in the 2-port memory 17 of the main body CPU 13 (n1). If any data is written, the written data and address information are detected and stored in a predetermined area of the memory 22 (n2). Next, the memory access information for sending out the memory access information consisting of this data and the address information to the transmission path is created and output to the controller 23 (n3 → n4). As a result, the controller 23 sends the memory access information to the transmission path. If there is a signal from another station, this is received as memory access information (n5 → n6). Then, the information of the data and the address is extracted, and the data is written to the corresponding address of the 2-port memory 17 (n7 → n8).
【0018】 さて、以下本体CPUの処理手順の説明に先立ち、ここで2ポートメモリ内の 局状態テーブルの構成を図5に示す。図5において「正常/異常」はその局が正 常状態であるか異常状態であるかを示すフラグ、「代行中/非代行中」はその局 が他局によって代行されているか否かを示すフラグである。このように「正常/ 異常」と「代行中/非代行中」のフラグを第1局から第n局までテーブルとして 備えている。同図に示す例では、第1局、第3局、第5局、第n局などはそれぞ れ正常であること、第2局は異常状態であるが、第2局が本来行うべき処理が他 局によって代行されていること、また第4局は異常状態であるものの、まだ他局 がその代行を行っていない状態であることを表している。この局状態テーブルは 2ポートメモリ内の所定領域に構成され、各局が同一内容をアクセスすることが できる。尚、自局の局番号や自局が現在代行している他局の局番号などは、各局 固有の情報であるため、各局が図3に示したローカルメモリ15内に記憶してい る。Prior to the description of the processing procedure of the main body CPU, the structure of the station status table in the 2-port memory is shown in FIG. In FIG. 5, “normal / abnormal” indicates a flag indicating whether the station is in a normal state or abnormal state, and “in-progress / in-progress” indicates whether or not the station is being delegated by another station. It is a flag. In this way, "normal / abnormal" and "acting / not acting" flags are provided as a table from the first station to the n-th station. In the example shown in the figure, the first station, the third station, the fifth station, the nth station, etc. are normal, and the second station is in an abnormal state. Is being acted on by another station, and the fourth station is in an abnormal state, but the other station has not yet acted on its behalf. This station status table is configured in a predetermined area in the 2-port memory, and each station can access the same contents. Since the station number of its own station and the station number of the other station which it is currently acting on its own are information unique to each station, each station stores it in the local memory 15 shown in FIG.
【0019】 本体CPUは図7に示すように、そのメインルーチンでまず図5に示した局状 態テーブルの自局エリアに正常状態を書き込む(n10)。例えば自局が第1局 であれば、図5に示した第1局の「正常/異常」のフラグを0(リセット状態) とする。続いて、ウォッチドッグタイマ14をリセットし、このウォッチドッグ タイマ14からの割り込みを受け付ける状態とする(n11→n12)。このよ うに初期処理を行った後、あらかじめ定められた処理を実行する(n13)。そ の際、ウォッチドッグタイマがタイムアップしない周期で定期的にウォッチドッ グタイマ14をリセットする。従ってステップn13で示す処理が正常に行われ ていれば、ウォッチドックタイマ14はタイムアップ状態とはならない。何らか の原因で異常状態となって正常な処理が行われずに、ウォッチドックタイマがタ イムアップすればウォッチドックタイマ14は本体CPU13に対し割り込みを かける。図8はその割り込みによる本体CPUの処理であり、この割り込み処理 で、局状態テーブルの自局エリアに異常状態を書き込む(n14)。すなわち自 局が第1局であれば、図5に示した第1局の「正常/異常」のフラグを1(セッ ト状態)とする。As shown in FIG. 7, the main body CPU first writes a normal state in its own area of the local state table shown in FIG. 5 in its main routine (n10). For example, if the own station is the first station, the "normal / abnormal" flag of the first station shown in FIG. 5 is set to 0 (reset state). Then, the watchdog timer 14 is reset and the interrupt from the watchdog timer 14 is accepted (n11 → n12). After performing the initial processing in this way, a predetermined processing is executed (n13). At that time, the watchdog timer 14 is periodically reset in a cycle in which the watchdog timer does not time up. Therefore, if the process shown in step n13 is performed normally, the watchdog timer 14 does not enter the time-up state. If the watchdog timer times out without normal processing being performed due to an abnormal condition for some reason, the watchdog timer 14 interrupts the main body CPU 13. FIG. 8 shows the processing of the main body CPU by the interruption, and the interruption processing writes an abnormal state in the own station area of the station state table (n14). That is, if the own station is the first station, the "normal / abnormal" flag of the first station shown in FIG. 5 is set to 1 (set state).
【0020】 図9は本体CPUの代行処理制御の手順を示す。まず、局状態テーブルを読み 取って異常状態で且つ非代行中の局が有るか否か判定する(n20→n21)。FIG. 9 shows a procedure of proxy processing control of the main body CPU. First, the station state table is read to determine whether or not there is a station in an abnormal state and not acting (n20 → n21).
【0021】 例えば図5に示した例では第4局がこれに相当する。異常状態で且つ非代行中の 局を検知すれば、その局の処理を自局が代行可能であるか否か判定する(n22 )。これは自局の本体CPUの負荷と代行すべき局の時間当たりの処理量などに よって決定する。処理の代行を行うとなれば、局状態テーブルを変更する(n2 3)。図5に示した例では第4局の処理を代行する場合、第4局の「代行中/非 代行中」のフラグを1(セット状態)とする。そして、代行処理の並行処理を開 始する(n24)。また、局状態テーブルを読み取って、自局の代行中の局が正 常状態に復帰したか否か判定する(n25)。例えば、図5において他局である 第2局の代行を自局が行っているときに、第2局の「正常/異常」のフラグが0 となれば、第2局の「代行中/非代行中」のフラグを0(リセット状態)にして 、その代行処理を終了する(n26→n27)。For example, in the example shown in FIG. 5, the fourth station corresponds to this. If a station that is in an abnormal state and is not acting is detected, it is determined whether or not the station can act for that station (n22). This is determined by the load on the CPU of the main unit of the station itself and the processing amount per hour of the station to be substituted. If processing is to be performed on behalf of the station, the station state table is changed (n23). In the example shown in FIG. 5, when the processing of the fourth station is acted on behalf, the flag of “acting / not acting” of the fourth station is set to 1 (set state). Then, the parallel processing of the proxy processing is started (n24). Further, the station state table is read to determine whether or not the station acting on its behalf has returned to the normal state (n25). For example, in FIG. 5, when the own station is acting as a substitute for the second station, which is another station, if the “normal / abnormal” flag of the second station becomes 0, the “acting / not acting” of the second station is displayed. The flag "on behalf of" is set to 0 (reset state), and the agency process is finished (n26 → n27).
【0022】 図8に示した処理では、自局が自局の異常状態を監視するものであったが、異 常状態の程度が大きくて、自局が自局の異常状態を監視できずに、局状態テーブ ルに対し書き込みが行えない場合には、他局がその異常状態を検知することにな る。図10は自局が行う他局の異常監視の手順を示す。まずある基準となるあら かじめ定めた周期としての一定時間が経過すれば、第1局から第n局について、 各局の2ポートメモリ上の作業領域を読み出し、その内容が前回の内容と同一で あるか否か判定する(n30→n31)。前回と同一であれば、その同一回数を カウントするカウンタCiを1インクリメントし、その結果あらかじめ定めた最 大値以上となるか否か判定する(n32→n33)。最大値以上となれば第i局 が所定の処理を行っていないものと見なして、該当する局の「正常/異常」フラ グをセットする(n34)。以上のステップn30〜34の処理を第1局から第 n局までについて行う。このように、各局の作業領域の内容が一定時間変化しな いかどうかを検知することによって各局の異常状態を監視する。In the processing shown in FIG. 8, the own station monitors the abnormal state of its own station, but the abnormal state is so large that the own station cannot monitor the abnormal state of its own station. If the station status table cannot be written, another station will detect the abnormal status. FIG. 10 shows a procedure of abnormality monitoring of another station performed by the own station. First, when a certain period of time, which is a predetermined cycle that serves as a reference, has elapsed, the work area on the 2-port memory of each station is read from station 1 to station n, and the contents are the same as the previous contents. It is determined whether there is any (n30 → n31). If it is the same as the previous time, the counter Ci that counts the same number of times is incremented by 1 and it is determined whether or not the result is a predetermined maximum value or more (n32 → n33). If it exceeds the maximum value, it is considered that the i-th station is not performing the predetermined processing, and the "normal / abnormal" flag of the corresponding station is set (n34). The above steps n30 to n34 are performed for the first station to the nth station. In this way, the abnormal state of each station is monitored by detecting whether the contents of the work area of each station have changed for a certain period of time.
【0023】[0023]
この考案によれば各局は、その局内に備えている2ポートメモリを、ネットワ ークに接続されている他の局との共有メモリとして用いることができ、しかもネ ットワークに接続されている複数の局のうち、ある一つまたは複数の局が異常状 態となっても、他の正常な局が異常な局が本来行うべき処理を代行することがで き、全体として信頼性の大幅に向上したローカルエリアネットワークシステムが 提供できる。 According to this invention, each station can use the two-port memory provided in the station as a shared memory with other stations connected to the network, and moreover, a plurality of stations connected to the network can be used. Even if one or more of the stations are in an abnormal state, other normal stations can substitute the processing originally performed by the abnormal station, greatly improving overall reliability. A local area network system can be provided.
【図面の簡単な説明】[Brief description of drawings]
【図1】この考案のローカルエリアネットワークシステ
ムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a local area network system of the present invention.
【図2】この考案のローカルエリアネットワークシステ
ムにより構成されるNポートメモリの概念を示す図であ
る。FIG. 2 is a diagram showing the concept of an N-port memory constructed by the local area network system of the present invention.
【図3】この考案の実施例であるローカルエリアネット
ワークシステムにおける各局の構成を示すブロック図で
ある。FIG. 3 is a block diagram showing a configuration of each station in a local area network system which is an embodiment of the present invention.
【図4】図3に示す通信制御部18の構成を示すブロッ
ク図である。4 is a block diagram showing a configuration of a communication control unit 18 shown in FIG.
【図5】2ポートメモリ内に構成される各局の状態テー
ブルを示す図である。FIG. 5 is a diagram showing a status table of each station configured in a 2-port memory.
【図6】通信制御部の処理手順を示すフローチャートで
ある。FIG. 6 is a flowchart showing a processing procedure of a communication control unit.
【図7】各局の本体CPUの処理手順のうちメインルー
チンを示すフローチャートである。FIG. 7 is a flowchart showing a main routine of a processing procedure of a main body CPU of each station.
【図8】本体CPUの自局の異常監視の処理手順を示す
フローチャートである。FIG. 8 is a flowchart showing a processing procedure of abnormality monitoring of the main body CPU of its own station.
【図9】本体CPUの代行処理制御の手順を示すフロー
チャートである。FIG. 9 is a flowchart showing a procedure of proxy processing control of a main body CPU.
【図8】本体CPUの他局の異常監視の処理手順を示す
フローチャートである。FIG. 8 is a flowchart showing a processing procedure of abnormality monitoring of another station of the main body CPU.
10−伝送路 11−局 12−周辺装置 18−通信制御部 10-Transmission line 11-Station 12-Peripheral device 18-Communication control unit
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成5年7月14日[Submission date] July 14, 1993
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図面の簡単な説明】[Brief description of drawings]
【図1】この考案のローカルエリアネットワークシステ
ムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a local area network system of the present invention.
【図2】この考案のローカルエリアネットワークシステ
ムにより構成されるNポートメモリの概念を示す図であ
る。FIG. 2 is a diagram showing the concept of an N-port memory constructed by the local area network system of the present invention.
【図3】この考案の実施例であるローカルエリアネット
ワークシステムにおける各局の構成を示すブロック図で
ある。FIG. 3 is a block diagram showing a configuration of each station in a local area network system which is an embodiment of the present invention.
【図4】図3に示す通信制御部18の構成を示すブロッ
ク図である。4 is a block diagram showing a configuration of a communication control unit 18 shown in FIG.
【図5】2ポートメモリ内に構成される各局の状態テー
ブルを示す図である。FIG. 5 is a diagram showing a status table of each station configured in a 2-port memory.
【図6】通信制御部の処理手順を示すフローチャートで
ある。FIG. 6 is a flowchart showing a processing procedure of a communication control unit.
【図7】各局の本体CPUの処理手順のうちメインルー
チンを示すフローチャートである。FIG. 7 is a flowchart showing a main routine of a processing procedure of a main body CPU of each station.
【図8】本体CPUの自局の異常監視の処理手順を示す
フローチャートである。FIG. 8 is a flowchart showing a processing procedure of abnormality monitoring of the main body CPU of its own station.
【図9】本体CPUの代行処理制御の手順を示すフロー
チャートである。FIG. 9 is a flowchart showing a procedure of proxy processing control of a main body CPU.
【図10】本体CPUの他局の異常監視の処理手順を示
すフローチャートである。FIG. 10 is a flowchart showing a processing procedure of abnormality monitoring of another station of the main body CPU.
【符号の説明】 10−伝送路 11−局 12−周辺装置 18−通信制御部[Description of Reference Signs] 10-Transmission line 11-Station 12-Peripheral device 18-Communication control unit
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/16 470 B H04L 12/46 12/28 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 15/16 470 B H04L 12/46 12/28
Claims (2)
介して接続してなるローカルエリアネットワークシステ
ムにおいて、 2ポートメモリと、 この2ポートメモリに対してデータの読み書きを行うC
PUと、 前記CPUが前記2ポートメモリに書き込んだデータと
そのアドレスの情報を検出するメモリアクセス情報検出
手段と、検出された前記データおよびアドレスの情報を
ローカルエリアネットワークを介して送出するメモリア
クセス情報送出手段と、前記ローカルエリアネットワー
クを介して他局が送出したデータおよびアドレスの情報
を受信するメモリアクセス情報受信手段と、受信された
前記アドレスの情報に等しい前記2ポートメモリのアド
レスへ、受信された前記データの情報に等しいデータを
書き込むメモリ書き込み制御手段とを備える通信制御
部、 とから各局を構成したことを特徴とするローカルエリア
ネットワークシステム。1. A local area network system in which a plurality of stations are connected via a local area network, and a 2-port memory and a C for reading / writing data from / to the 2-port memory.
PU, memory access information detecting means for detecting information on the data written by the CPU in the two-port memory and its address, and memory access information for transmitting the detected information on the data and address via a local area network. Sending means, memory access information receiving means for receiving data and address information sent by another station via the local area network, and an address of the 2-port memory equal to the received address information. A local area network system comprising: a communication control unit having a memory write control unit for writing data equivalent to the information of the data;
他局の送出した異常報知データを受信して、または、前
記2ポートメモリ内の他局の書込領域の内容から、異常
状態の他局を検知する異常状態検知手段と、前記異常状
態の他局の処理を代行する処理代行手段とを、一つまた
は複数の局に設けたことを特徴とする請求項1記載のロ
ーカルエリアネットワークシステム。2. Detecting another station in an abnormal state by receiving the abnormality notification data sent from another station via the local area network or from the contents of the write area of the other station in the 2-port memory. 2. The local area network system according to claim 1, wherein one or a plurality of stations are provided with an abnormal state detecting means for performing the abnormal state detection processing and a processing substitution means for performing the processing of the other station in the abnormal state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP681793U JPH0739142U (en) | 1993-02-24 | 1993-02-24 | Local area network system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP681793U JPH0739142U (en) | 1993-02-24 | 1993-02-24 | Local area network system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0739142U true JPH0739142U (en) | 1995-07-14 |
Family
ID=11648767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP681793U Pending JPH0739142U (en) | 1993-02-24 | 1993-02-24 | Local area network system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0739142U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11165600B2 (en) | 2017-04-03 | 2021-11-02 | Kabushiki Kaisha Toshiba | Transmitting station for detecting state change of data stored in memory |
-
1993
- 1993-02-24 JP JP681793U patent/JPH0739142U/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11165600B2 (en) | 2017-04-03 | 2021-11-02 | Kabushiki Kaisha Toshiba | Transmitting station for detecting state change of data stored in memory |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2510810B2 (en) | Multiprocessor system and information communication method thereof | |
| US7257658B2 (en) | Message based interrupt table | |
| US7653788B2 (en) | Cache coherency in a shared-memory multiprocessor system | |
| US10691527B2 (en) | System interconnect and system on chip having the same | |
| JPS644216B2 (en) | ||
| JP2996440B2 (en) | Diagnosis method of data processing system | |
| US8370556B2 (en) | Multi-core data processor | |
| US20060155907A1 (en) | Multiprocessor system | |
| JPH0739142U (en) | Local area network system | |
| JPH0675887A (en) | Polling interval determining system | |
| US6345332B1 (en) | Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions | |
| US20050165974A1 (en) | Computer apparatus and computer system | |
| JP3047667B2 (en) | Data transfer method between CPUs | |
| JP2679440B2 (en) | Information processing device | |
| JPH02205956A (en) | Fault diagnostic device for dual port memory in multiprocessor system | |
| JP2929631B2 (en) | Communication device between processors | |
| JPH02230356A (en) | Bus extension device for information processor | |
| JPH0114616B2 (en) | ||
| KR950001513B1 (en) | How to send an acknowledgment at the data link layer of a Mini-MAP network | |
| JP2802091B2 (en) | Interrupt vector control method | |
| JP3341738B2 (en) | Memory error detection method | |
| JP2825589B2 (en) | Bus control method | |
| JP3219422B2 (en) | Cache memory control method | |
| JPH05265967A (en) | Data communication method for multiprocessor system | |
| JPH0195356A (en) | multiprocessor equipment |