【0001】[0001]
【発明の属する技術分野】本発明は通信処理装置に関
し、特に、ホスト計算機を通信網に接続するための通信
処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing device, and more particularly to a communication processing device for connecting a host computer to a communication network.
【0002】[0002]
【従来の技術】ホスト計算機をローカルエリアネットワ
ーク(LAN)に接続するために、ホスト計算機に2台
の通信処理装置を接続し、これらの通信処理装置をそれ
ぞれLANに接続したLANシステムが、特開平4−3
65238号公報に開示されている。このようなLAN
システムを図5に示す。2. Description of the Related Art In order to connect a host computer to a local area network (LAN), a LAN system in which two communication processing devices are connected to the host computer and these communication processing devices are respectively connected to a LAN is known. 4-3
It is disclosed in Japanese Patent No. 65238. Such a LAN
The system is shown in FIG.
【0003】図5のLANシステムでは、ホスト計算機
51が、2つの入出力処理装置(IOP)52a、52
bと、これらIOP52a、52bにそれぞれ接続され
た通信処理装置(FNP)53a、53bとを介してL
ANに接続されている。そして、ホスト計算機51は、
FNP53a、53bのうちの一方(ここでは、FNP
53a)を本番系として稼働させ、他方(ここでは、F
NP53b)を待機系として停止させた状態で、LAN
に接続された端末装置、例えば、エンジニアリングワー
クステーション(EWS)54との通信(データ送受
信)を行う。In the LAN system of FIG. 5, the host computer 51 has two input / output processing units (IOPs) 52a and 52a.
b and communication processing devices (FNP) 53a and 53b connected to these IOPs 52a and 52b, respectively.
Connected to AN. Then, the host computer 51
One of the FNPs 53a and 53b (here, FNP 53
53a) is operated as a production system, and the other (here, F
LAN with NP53b) stopped as a standby system
Communication (data transmission / reception) with a terminal device connected to, for example, an engineering workstation (EWS) 54.
【0004】ホスト計算機51は、EWS54との通信
を実行するために、本番系FNP53aへMAC(Medi
a Access Control)アドレスを与える。また、各EWS
54は、通信しようとする装置のMACアドレスを認識
して通信を開始する。EWS54から送信されたフレー
ムが、LANを通して本番系FNP53aに与えられる
と、本番系FNP53aは、フレームに含まれるMAC
アドレスとホスト計算機51から与えられたMACアド
レスとを比較する。そして、比較の結果が一致したなら
ば、本番系FNP53aは、そのフレームを受信し、受
信したことをEWS54に通知するために応答フレーム
を送出する。また、本番系FNP53aは、受信したフ
レームに対し、所定の処理を施して、IOP52aを介
して、ホスト計算機51へ転送する。The host computer 51 sends a MAC (Medi) to the production FNP 53a to execute communication with the EWS 54.
a Access Control) Give an address. Also, each EWS
54 recognizes the MAC address of the device to communicate with and starts communication. When the frame transmitted from the EWS 54 is given to the production-system FNP 53a via the LAN, the production-system FNP 53a receives the MAC included in the frame.
The address is compared with the MAC address given by the host computer 51. Then, if the results of the comparison match, the production FNP 53a receives the frame, and sends a response frame to notify the EWS 54 of the reception. Further, the production system FNP 53a performs a predetermined process on the received frame and transfers it to the host computer 51 via the IOP 52a.
【0005】本番系FNP53aに障害が発生すると、
ホスト計算機51は、本番系FNP53aの動作を停止
させ、待機系FNP53bへ、それまで本番系FNP5
3aで使用していたMACアドレスを与え、動作開始を
指示する。待機系FNP53bは、本番系FNP53a
で使用されていたMACアドレスを用いて通信を開始す
る。LAN上の各EWS54は、本番系FNP53aに
障害が発生しても、本番系FNP53aに付与されてい
たMACアドレスと同一のMACアドレスが付与された
待機系FNP53bを認識して通信を継続することがで
きる。When a failure occurs in the production FNP 53a,
The host computer 51 stops the operation of the production-system FNP 53a and transfers it to the standby-system FNP 53b, until then, the production-system FNP 5
The MAC address used in 3a is given to instruct the start of operation. The standby FNP53b is the production FNP53a.
Communication is started using the MAC address used in. Even if a failure occurs in the production system FNP 53a, each EWS 54 on the LAN can recognize the standby system FNP 53b assigned with the same MAC address as the production system FNP 53a and continue communication. it can.
【0006】[0006]
【発明が解決しようとする課題】従来のLANシステム
において、本番系通信処理装置(本番系FNP)のEP
Uがストールしたり、ホスト計算機と本番系FNPとの
間に接続された入出力処理装置(IOP)に障害が発生
した場合、ホスト計算機は、データ転送が途絶えたこと
により、本番系FNPに障害が発生したものと認識す
る。そして、ホスト計算機は、障害が発生した本番系F
NPの動作を停止させるべく、動作停止要求を送出す
る。In the conventional LAN system, the EP of the production communication processor (production FNP) is used.
When U stalls or a failure occurs in the input / output processing unit (IOP) connected between the host computer and the production FNP, the host computer fails in the production FNP due to the interruption of data transfer. Recognize that this has occurred. Then, the host computer is the production system F in which the failure has occurred.
An operation stop request is sent to stop the operation of the NP.
【0007】ところが、IOPまたは本番系FNPのE
PUに障害が発生している場合には、ホスト計算機から
の動作停止要求が正しく本番系FNPに通知されない事
態が多々生じる。つまり、本番系FNPを停止させるこ
とができない場合がある。この場合、本番系FNPは、
ホスト計算機からの指示を無視した形で通信(フレーム
制御)を継続する。However, the E of the IOP or the production FNP
When a failure occurs in the PU, there often occurs a case where the operation stop request from the host computer is not correctly notified to the production FNP. In other words, it may not be possible to stop the production FNP. In this case, the production FNP is
Continues communication (frame control) while ignoring the instructions from the host computer.
【0008】一方、ホスト計算機は、待機系通信処理装
置(待機系FNP)に対して本番系FNPで使用してい
たMACアドレスを付与し、その動作を開始させる。し
たがって、このLAN上には、同一のMACアドレスを
有する二つの通信処理装置が存在することになる。この
ため、ホスト計算機と端末装置との間で通信(データ転
送)を行う場合に、本来停止している筈の本番系FNP
が、この通信に関与し、通信異常を引き起こしてしまう
という問題点がある。On the other hand, the host computer gives the MAC address used in the production FNP to the standby communication processing device (standby FNP) and starts its operation. Therefore, there are two communication processing devices having the same MAC address on this LAN. Therefore, when communication (data transfer) is performed between the host computer and the terminal device, the production FNP that should have originally stopped
However, there is a problem that it is involved in this communication and causes a communication abnormality.
【0009】なお、特開平5−14354号公報や特開
平5−75613号公報には、MACブリッジ装置等に
おいて、MACアドレスの重複を検出する技術が開示さ
れているが、これらの技術は、2つのLANにそれぞれ
同一のMACアドレスが付与された端末が存在すること
を検出するものであって、単一のLAN上に、重複して
MACアドレスが付与された端末装置が存在する場合に
は、そのことを検出することはできない。また、これら
の技術は、MACアドレスが重複して付与された端末装
置の内の一方をLANから切り離すものではない。Japanese Patent Laid-Open Nos. 5-14354 and 5-75613 disclose techniques for detecting duplicate MAC addresses in a MAC bridge device or the like. When it is detected that there are terminals to which the same MAC address is assigned to two LANs, respectively, and there are terminal devices to which MAC addresses are duplicated on a single LAN, It cannot be detected. Further, these techniques do not separate one of the terminal devices to which the MAC address is duplicated from the LAN from the LAN.
【0010】本発明は、ホスト計算機とLANとを2系
統で接続する通信処理装置であって、一方の通信処理装
置に障害が発生した場合に、障害の発生した通信処理装
置の動作を確実に停止させてLANから切り離すことが
でき、障害が発生した通信処理装置に与えられていたM
ACアドレスと同一のMACアドレスを用いて他方の通
信処理装置による通信を確実に行うことができる通信処
理装置を提供することを目的とする。The present invention is a communication processing device for connecting a host computer and a LAN by two systems, and when a failure occurs in one of the communication processing devices, the operation of the communication processing device in which the failure has occurred is ensured. M that can be stopped and disconnected from the LAN, and was given to the communication processing device where the failure occurred
An object of the present invention is to provide a communication processing device that can reliably perform communication by the other communication processing device using the same MAC address as the AC address.
【0011】[0011]
【課題を解決するための手段】本発明によれば、ホスト
計算機とLANとの間に接続され、前記ホスト計算機か
ら付与されるMACアドレスを用いて、前記ホスト計算
機と前記LANとに接続された端末装置との間の通信を
実現する通信処理装置において、前記LANから診断フ
レームを受信した場合に、各部の動作状態を診断して応
答フレームを作成し、該応答フレームを前記LAN上に
送出する診断制御手段を設けたことを特徴とする通信処
理装置が得られる。According to the present invention, the host computer is connected between the LAN and the LAN, and is connected to the host computer and the LAN by using the MAC address given by the host computer. In a communication processing device that realizes communication with a terminal device, when a diagnostic frame is received from the LAN, the operating state of each unit is diagnosed to create a response frame, and the response frame is sent to the LAN. A communication processing device is provided which is provided with a diagnostic control means.
【0012】また、本発明によれば、ホスト計算機とL
ANとの間に接続され、前記ホスト計算機から付与され
るMACアドレスを用いて、前記ホスト計算機と前記L
ANとに接続された端末装置との間の通信を実現する通
信処理装置において、前記LANからMACアドレスリ
セットフレームを受信したとき、前記MACアドレスを
記憶するアドレステーブルの内容を消去するMACリセ
ット制御手段を設けたことを特徴とする通信処理装置が
得られる。According to the present invention, the host computer and L
The host computer and the L computer are connected to each other by using the MAC address given by the host computer.
In a communication processing device that realizes communication with a terminal device connected to an AN, when a MAC address reset frame is received from the LAN, MAC reset control means for erasing the contents of an address table storing the MAC address. It is possible to obtain a communication processing device characterized by being provided with.
【0013】さらにまた、本発明によれば、ホスト計算
機とLANとの間に接続され、前記ホスト計算機から付
与されるMACアドレスを用いて前記ホスト計算機と前
記LANとに接続された端末装置との間の通信を実現す
る通信処理装置において、前記ホスト計算機から待機系
起動命令と、前記MACアドレスと、該MACアドレス
とは異なる診断用MACアドレスとが与えられたとき、
前記MACアドレスを宛先アドレスとし、前記診断用M
ACアドレスを送信元アドレスとする診断フレームを形
成して、周期的に前記LANに送出する診断制御手段を
設けたことを特徴とする通信処理装置が得られる。Further, according to the present invention, a terminal device connected between the host computer and the LAN and connected to the host computer and the LAN using a MAC address given by the host computer In a communication processing device that realizes communication between devices, when a standby system start-up command, the MAC address, and a diagnostic MAC address different from the MAC address are given from the host computer,
Using the MAC address as a destination address, the diagnostic M
A communication processing apparatus is provided, which is provided with a diagnostic control unit that forms a diagnostic frame with an AC address as a source address and periodically sends it to the LAN.
【0014】また、本発明によれば、ホスト計算機とL
ANとの間を同一構成の2つの通信処理装置で接続し、
一方の通信処理装置にMACアドレスを付与して本番系
とするとともに、他方を待機系とし、本番系通信処理装
置に障害が発生した場合に該本番系通信処理装置の動作
を停止させ、待機系通信処理装置に前記MACアドレス
を付与して起動する通信処理装置切り替え方法におい
て、前記本番系通信処理装置への動作停止命令を前記待
機系通信処理装置を用いて前記LANを介して行うよう
にしたことを特徴とする通信処理装置切り替え方法が得
られる。According to the present invention, the host computer and L
Connected to the AN with two communication processing devices of the same configuration,
A MAC address is given to one of the communication processing devices to make it a production system, and the other is made to be a standby system. When a failure occurs in the production communication processing device, the operation of the production communication processing device is stopped, and the standby system is made available. In the communication processing device switching method of assigning the MAC address to a communication processing device and starting the communication processing device, an operation stop command to the production communication processing device is issued via the LAN using the standby communication processing device. A communication processing device switching method characterized by the above is obtained.
【0015】[0015]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1に本発明の通信処理装
置の一実施の形態を示す。ここで従来と同一のものには
同一番号を付してある。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of the communication processing apparatus of the present invention. Here, the same components as those in the related art are denoted by the same reference numerals.
【0016】図1のホスト計算機51は、2台の入出力
装置(IOP)52a、52bと、これらに接続された
2台の通信処理装置10a、10bとにより、LANに
対して2重接続されている。また、LANには、図示し
ない端末装置が接続されている(図5参照)ものとす
る。The host computer 51 of FIG. 1 is doubly connected to a LAN by two input / output devices (IOPs) 52a and 52b and two communication processing devices 10a and 10b connected thereto. ing. Further, it is assumed that a terminal device (not shown) is connected to the LAN (see FIG. 5).
【0017】通信処理装置10a、10bは、それぞ
れ、全体の制御を司るEPU11a、11b、プログラ
ムやデータ等を記憶する主記憶部(MEM)12a、1
2b、ホスト計算機51とのデータ転送を制御するホス
ト接続部13a、13b、LAN上の端末装置とのデー
タ転送を制御するMAC制御部14a、14b、送信及
び受信のプロトコル制御を行うプロトコル制御部15
a、15b、診断フレームの送出及び診断応答フレーム
送出を行う診断制御部16a、16b、及びMAC制御
部の動作停止を行うMACリセット制御部17a、17
bとを有している。The communication processing devices 10a and 10b are EPUs 11a and 11b, respectively, which control the overall control, and a main storage unit (MEM) 12a and 1a which stores programs and data.
2b, host connection units 13a and 13b that control data transfer with the host computer 51, MAC control units 14a and 14b that control data transfer with a terminal device on the LAN, and protocol control unit 15 that performs protocol control of transmission and reception.
a, 15b, diagnostic control units 16a, 16b for transmitting diagnostic frames and diagnostic response frames, and MAC reset control units 17a, 17 for suspending operation of the MAC control units.
b.
【0018】次に、このLANシステムの動作について
説明する。まず、ホスト計算機51は、LANに接続さ
れた端末装置とのデータ転送を実現するために、2つの
通信処理装置10a、10bの内の一方を本番系、他方
を待機系として起動する。例えば、ホスト計算機51
は、通信処理装置10aに対し、IOP52aを介し
て、本番系としての起動開始を指示する。このとき、ホ
スト計算機51は、この通信処理装置10aに対し、L
AN上のデータを受信するための着信用MACアドレス
と、これとは異なる診断用MACアドレスとを送信す
る。また、ホスト計算機51は、他方の通信処理装置1
0bに対し、IOP52bを介して、待機系としての動
作開始を指示する。このとき、ホスト計算機51は、通
信処理装置10bに対して、診断用MACアドレスと、
通信処理装置10aに付与した着信用MACアドレスと
同一のMACアドレス(本番系MACアドレス)を送信
する。ホスト計算機51からの起動指示及びMACアド
レス等は、それぞれIOP52a、52bを介して、通
信処理装置10a、10bに送られ、各ホスト接続部1
3a、13bで受信される。Next, the operation of this LAN system will be described. First, the host computer 51 activates one of the two communication processing devices 10a and 10b as a production system and the other as a standby system in order to realize data transfer with a terminal device connected to a LAN. For example, the host computer 51
Instructs the communication processing device 10a to start activation as a production system via the IOP 52a. At this time, the host computer 51 sends L to this communication processing device 10a.
An incoming MAC address for receiving data on the AN and a diagnostic MAC address different from this are transmitted. Further, the host computer 51 is the other communication processing device 1
0b is instructed to start operation as a standby system via the IOP 52b. At this time, the host computer 51 notifies the communication processing device 10b of the diagnostic MAC address,
The same MAC address (production MAC address) as the incoming MAC address given to the communication processing device 10a is transmitted. The boot instruction, the MAC address, etc. from the host computer 51 are sent to the communication processing devices 10a, 10b via the IOPs 52a, 52b, respectively, and the host connection units 1
It is received by 3a and 13b.
【0019】以下、各通信処理装置の動作を図2乃至図
4を参照して説明する。始めに、待機系の通信処理装置
10bの動作について図2を参照して説明する。The operation of each communication processing apparatus will be described below with reference to FIGS. First, the operation of the standby communication processing device 10b will be described with reference to FIG.
【0020】まず、通信処理装置10bのEPU11b
は、ステップS201で、待機系としての起動指示を受
け取ると、待機系としての動作を開始する。そして、ス
テップS202で、ホスト計算機51から続けて送られ
てくる本番系MACアドレスと診断用MACアドレスと
を受け取り、MEM12bに一旦格納する。First, the EPU 11b of the communication processing unit 10b
In step S201, when it receives the activation instruction as the standby system, it starts the operation as the standby system. Then, in step S202, the production MAC address and the diagnostic MAC address, which are continuously sent from the host computer 51, are received and temporarily stored in the MEM 12b.
【0021】次に、EPU11bは、MEM12bに格
納された本番系MACアドレスと診断用MACアドレス
とを、診断制御部16bに与え、通信処理装置10aの
正常性を診断するための診断フレームの送出を指示す
る。診断フレームの送出の指示を受けた診断制御部16
bは、診断用MACアドレスをMAC制御部14bに与
え、MACアドレステーブルに格納させる。これは、こ
の後LAN上に送出される診断フレームに対する応答
(診断応答フレーム)を受信するための準備である。そ
して、診断応答フレームの受信準備が終わると、診断制
御部16bは、ステップS203において、診断フレー
ムを作成し、MAC制御部14bを介してLAN上に送
出する。同時に診断制御部16bは、内蔵するタイマ
(図示せず)を起動する。Next, the EPU 11b gives the production MAC address and the diagnostic MAC address stored in the MEM 12b to the diagnostic control unit 16b, and sends out a diagnostic frame for diagnosing the normality of the communication processing device 10a. Give instructions. Diagnostic control unit 16 that has received an instruction to send a diagnostic frame
b provides the MAC control unit 14b with the diagnostic MAC address and stores it in the MAC address table. This is preparation for receiving a response (diagnostic response frame) to the diagnostic frame that is subsequently sent out on the LAN. When the preparation for receiving the diagnostic response frame is completed, the diagnostic control unit 16b creates a diagnostic frame in step S203 and sends it to the LAN via the MAC control unit 14b. At the same time, the diagnostic control unit 16b activates a built-in timer (not shown).
【0022】ここで、LANで使用されるフレームは、
図3に示すように、宛先MACアドレス(DA)31、
送信元MACアドレス(SA)32、及びオプション
(OP)33を含んでおり、診断フレームの場合は、宛
先MACアドレス31として本番系MACアドレスを、
送信元MACアドレス32として診断用MACアドレス
を含ませている。Here, the frame used in the LAN is
As shown in FIG. 3, the destination MAC address (DA) 31,
The source MAC address (SA) 32 and the option (OP) 33 are included. In the case of a diagnostic frame, the production MAC address is set as the destination MAC address 31,
A diagnostic MAC address is included as the source MAC address 32.
【0023】診断制御部16bは、診断フレームを送出
した後、この診断フレームに対する通信処理装置10a
からの応答を待つ(ステップS204)。診断応答フレ
ームは、後述するように宛先アドレス31として診断用
MACアドレスを含むので、MAC制御部14において
受信することができる。After transmitting the diagnostic frame, the diagnostic control unit 16b sends the diagnostic frame to the communication processing device 10a.
It waits for a response from (step S204). Since the diagnostic response frame includes the diagnostic MAC address as the destination address 31, as will be described later, it can be received by the MAC control unit 14.
【0024】MAC制御部14bが、予め定められた時
間が経過するまでに、診断応答フレームを受信した場
合、MAC制御部14bからその診断応答フレームを受
けとった診断制御部16bは、ステップS205で、そ
の診断応答フレームが正常応答を表しているのか、異常
応答を表しているのかを判断する。そして、診断応答フ
レームが、正常応答であれば、ステップS203に戻
り、再び、診断フレームの送出を行う。従って、通信処
理装置10aが正常に動作している場合は、上記の動作
が繰り返されることになる。When the MAC control unit 14b receives the diagnostic response frame before the elapse of a predetermined time, the diagnostic control unit 16b receiving the diagnostic response frame from the MAC control unit 14b, in step S205, It is determined whether the diagnostic response frame represents a normal response or an abnormal response. If the diagnostic response frame is a normal response, the process returns to step S203 and the diagnostic frame is sent again. Therefore, when the communication processing device 10a is operating normally, the above operation is repeated.
【0025】一方、受信した診断応答フレームが異常応
答を表している場合は、診断制御部16bは、その診断
応答フレームを破棄し、診断応答フレームが受信されな
かったものとして動作する。On the other hand, if the received diagnostic response frame indicates an abnormal response, the diagnostic control unit 16b discards the diagnostic response frame and operates as if the diagnostic response frame was not received.
【0026】タイマに設定された所定時間が経過するま
でに、診断応答フレームが受信されない場合(異状応答
があった場合を含む)は、ステップS206で、タイム
アップとなる。この場合、診断制御部16bは、通信処
理装置10aに障害が発生したと判断して、ステップS
207で、以後の診断フレームの送出動作を停止する。If the diagnostic response frame is not received before the predetermined time set in the timer elapses (including the case of the abnormal response), the time is up in step S206. In this case, the diagnostic control unit 16b determines that a failure has occurred in the communication processing device 10a, and the step S
At 207, the subsequent operation of transmitting the diagnostic frame is stopped.
【0027】次に、診断制御部16bは、通信処理装置
10aのMAC制御部14aの動作を停止させるための
MACアドレスリセットフレームを、MAC制御部14
bを介してLAN上に送出する(ステップS208)。
ここで、MACアドレスリセットフレームは、宛先MA
Cアドレス31として本番系MACアドレスを、送信元
MACアドレス32として診断用MACアドレスを含ん
でいる。Next, the diagnostic control unit 16b sends a MAC address reset frame for stopping the operation of the MAC control unit 14a of the communication processing device 10a to the MAC control unit 14a.
It is sent to the LAN via b (step S208).
Here, the MAC address reset frame is the destination MA
The C address 31 includes a production MAC address, and the transmission source MAC address 32 includes a diagnostic MAC address.
【0028】以上で、診断制御部16bによる通信処理
装置10aに対する診断動作は終了し、通信処理装置1
0bのEPU11bは、ステップS209で、ホスト計
算機51からの本番系としての起動指示を待つ。With the above, the diagnostic operation of the communication processing device 10a by the diagnostic control unit 16b is completed, and the communication processing device 1 is completed.
In step S209, the EPU 11b of 0b waits for the activation instruction as the production system from the host computer 51.
【0029】ホスト計算機51は、LAN上の全ての端
末装置とのデータ転送が中断した場合に、IOP52a
または通信処理装置10aに障害が発生したものと認識
する。そして、通信処理装置10bに対して、通信処理
装置10aに付与していたのと同一の着信用MACアド
レスを付与して本番系として動作を開始するよう指示を
出す。指示を受けとった通信処理装置10bは、この
後、以下に説明する通信処理装置10aの動作を、通信
処理装置10aに代わって行う。端末装置から見た場
合、通信処理装置10aに代わって通信処理装置10b
が本番系として動作したとしても、着信用MACアドレ
スに変更はないので、そのままホスト計算機51との通
信を継続することができる。The host computer 51 has an IOP 52a when data transfer with all terminal devices on the LAN is interrupted.
Alternatively, it is recognized that a failure has occurred in the communication processing device 10a. Then, the communication processing apparatus 10b is instructed to give the same incoming MAC address as that given to the communication processing apparatus 10a and start the operation as the production system. The communication processing device 10b that has received the instruction thereafter performs the operation of the communication processing device 10a described below in place of the communication processing device 10a. When viewed from the terminal device, the communication processing device 10b replaces the communication processing device 10a.
Even if it operates as a production system, since there is no change in the incoming MAC address, the communication with the host computer 51 can be continued as it is.
【0030】次に、通信処理装置10aの動作を図4を
参照して説明する。まず、ステップS401で、ホスト
計算機51から本番系としての起動指示を受けたEPU
11aは、続けて送られてくる着信用MACアドレスと
診断用MACアドレスとを、ステップS402で、ME
M12aに格納する。このあと、EPU11aは、本番
系としての動作を開始するために、MEM12aに格納
された着信用MACアドレスと診断用MACアドレスと
を、MAC制御部14aのMACアドレステーブル(図
示せず)に書き込み、ホスト計算機51とLAN上の端
末装置との間のデータ転送に備える。すなわち、EPU
11aは、本番系としての処理待ち(ステップS40
3、S404、及びS405)状態となる。Next, the operation of the communication processing device 10a will be described with reference to FIG. First, in step S401, the EPU that has received the activation instruction as the production system from the host computer 51
In step S402, the 11a transmits the incoming MAC address and the diagnostic MAC address, which are successively transmitted, to the ME.
Store in M12a. After that, the EPU 11a writes the incoming MAC address and the diagnostic MAC address stored in the MEM 12a to the MAC address table (not shown) of the MAC control unit 14a in order to start the operation as the production system, Prepare for data transfer between the host computer 51 and the terminal device on the LAN. That is, EPU
11a waits for processing as a production system (step S40
3, S404, and S405).
【0031】ホスト計算機51からホスト接続部13a
に、端末装置へ伝送しようとするデータが入力されると
(ステップS404)、通信処理装置10aでは、ステ
ップS406において、送信処理が実施される。即ち、
EPU11aは、入力されたデータを一旦MEM12a
に格納し、その後、プロトコル制御部15aにデータを
与え、MAC制御部14aを通して、所定のフレームで
LANへ送出させる。From the host computer 51 to the host connection section 13a
Then, when the data to be transmitted to the terminal device is input (step S404), the communication processing device 10a performs the transmission process in step S406. That is,
The EPU 11a temporarily stores the input data in the MEM 12a.
After that, the data is given to the protocol control unit 15a and sent to the LAN in a predetermined frame through the MAC control unit 14a.
【0032】一方、MAC制御部14aは、LAN上の
フレームを監視しており、フレームに含まれるDA31
と、MACアドレステーブルに記憶させた着信MACア
ドレスとを比較し、これらが一致した場合にそのフレー
ムを受信する(ステップS405)。そして、MAC制
御部14aは、受信したフレームのフレームチェックを
行う。このとき、MAC制御部14aは、受信したフレ
ームが、診断フレームか否か(ステップS407)、M
ACアドレスリセットフレームか否か(ステップS40
9)の判定も行う。なお、MACアドレステーブルの診
断用MACアドレスとフレームの送信元アドレスとを比
較すれば、通常のフレームか否かの判定を直ちに行うこ
ともできる。On the other hand, the MAC control unit 14a monitors the frame on the LAN, and the DA31 included in the frame is monitored.
And the incoming MAC address stored in the MAC address table are compared, and if they match, the frame is received (step S405). Then, the MAC control unit 14a checks the frame of the received frame. At this time, the MAC control unit 14a determines whether the received frame is a diagnostic frame (step S407), M
Whether it is an AC address reset frame (step S40)
The determination of 9) is also performed. By comparing the diagnostic MAC address in the MAC address table with the source address of the frame, it is possible to immediately determine whether or not the frame is a normal frame.
【0033】MAC制御部14aにより受信したフレー
ムが端末装置からの通常のデータ転送によるものである
場合は、ステップS410において、通常の受信動作が
行われる。即ち、フレームに異常がない場合は、正常受
信応答をLAN上に送出して、受信したデータをプロト
コル制御部15aを介してMEM12aに格納する。ま
た、フレームに異常がある場合は、異常受信応答をLA
N上に送出し、受信したデータは破棄する。When the frame received by the MAC control unit 14a is due to the normal data transfer from the terminal device, the normal receiving operation is performed in step S410. That is, when there is no abnormality in the frame, a normal reception response is sent to the LAN and the received data is stored in the MEM 12a via the protocol control unit 15a. If the frame is abnormal, the abnormal reception response is sent to LA.
N, and discard the received data.
【0034】一旦MEM12aに格納されたデータは、
ホスト接続部13a及びIOP52aを介して、ホスト
計算機51へ転送される。The data once stored in the MEM 12a is
It is transferred to the host computer 51 via the host connection unit 13a and the IOP 52a.
【0035】なお、端末装置は、LANを介して正常受
信応答を受けとると次のデータ処理へと進み、異常受信
応答を受けとるとデータ再送処理を行う。When the terminal device receives the normal reception response via the LAN, it proceeds to the next data processing, and when it receives the abnormal reception response, it performs the data retransmission process.
【0036】MAC制御部14aにより受信したデータ
が、診断フレームであると判定されたときは、フレーム
チェックを行って異常がなければ、診断制御部16aへ
診断フレームの受信を通知する。診断フレームの受信通
知を受けた診断制御部16aは、EPU11a、MEM
12a、ホスト接続部13a、及びプロトコル制御部1
5aから障害情報の採取を行い、異常がなければ正常診
断応答フレームを、異状があれば異状診断応答フレーム
を、ステップS408において、MAC制御部14aか
らLAN上へ送出する。また、フレームチェックで異状
が検出された場合にも、異状診断応答フレームを送出す
る。なお、これらの診断応答フレームは、DA31を診
断用MACアドレス、SA32を着信用MACアドレス
として含む。また、MAC制御部14aに障害が発生し
ている場合には、診断用フレームを受信できないので、
診断応答フレームは送出されることはない。When the data received by the MAC control unit 14a is determined to be a diagnostic frame, a frame check is performed and if there is no abnormality, the diagnostic control unit 16a is notified of the reception of the diagnostic frame. The diagnostic control unit 16a that has received the diagnostic frame reception notification uses the EPU 11a and the MEM.
12a, host connection unit 13a, and protocol control unit 1
Fault information is collected from 5a, and if there is no abnormality, a normal diagnosis response frame and, if there is an abnormality, an abnormality diagnosis response frame are sent from the MAC control unit 14a to the LAN in step S408. Further, even when an abnormality is detected by the frame check, the abnormality diagnosis response frame is sent out. It should be noted that these diagnostic response frames include the DA 31 as the diagnostic MAC address and the SA 32 as the incoming MAC address. If the MAC control unit 14a has a failure, the diagnostic frame cannot be received.
No diagnostic response frame is sent.
【0037】この後、通信処理装置10aは、ステップ
S403に戻り、処理待ち状態となる。ここで、この処
理待ち状態は、ステップS408で送出された診断応答
フレームが正常診断応答フレームである場合は、通常の
処理待ち状態であるが、異状診断応答フレームである場
合には、通信処理装置10bからのMACアドレスリセ
ットフレームの受信待ちとみなすことができる。つま
り、診断制御部16aから異状応答フレームが出力され
るまでは、上記の動作が繰り返され、異状応答フレーム
が出力されたときは、以下のように動作する。After this, the communication processing device 10a returns to step S403 and enters a processing waiting state. Here, this processing waiting state is a normal processing waiting state when the diagnostic response frame transmitted in step S408 is a normal diagnostic response frame, but is a communication processing device when it is an abnormal diagnostic response frame. It can be regarded as waiting for the reception of the MAC address reset frame from 10b. That is, the above operation is repeated until the abnormal response frame is output from the diagnostic control unit 16a, and when the abnormal response frame is output, the following operation is performed.
【0038】MAC制御部14aが受信したフレーム
が、MACアドレスリセットフレームの場合、フレーム
チェックを行って正常であれば、MAC制御部14a
は、MACアドレスリセットフレームの受信を診断制御
部16aに通知する。フレームチェックの結果、異常で
あれば、DA31を診断用MACアドレス、SA32を
着信MACアドレスとする異常受信応答をLAN上に送
出する。When the frame received by the MAC control unit 14a is a MAC address reset frame, if a frame check is performed and the frame is normal, the MAC control unit 14a
Notifies the diagnostic control unit 16a of the reception of the MAC address reset frame. If the result of the frame check is abnormal, an abnormal reception response in which the DA 31 is the diagnostic MAC address and the SA 32 is the incoming MAC address is transmitted to the LAN.
【0039】診断制御部16aは、MACアドレスリセ
ットフレーム受信の通知を受けると、この通信処理装置
10aをLANから切り離すために、MACリセット制
御部17aに受信動作の停止を指示する。MACリセッ
ト制御部17aは、診断処理部16aからの指示に従っ
て、MAC制御部14aにMACアドレステーブルをリ
セットするよう指示を出す。これにより、MAC制御部
14aは、ステップS411において、MACアドレス
テーブルをリセットし(着信用MACアドレスを消去
し)、受信動作をできなくする。この後、通信処理装置
10aはホストからの起動指示待ち状態になる。Upon receiving the notification of the MAC address reset frame reception, the diagnostic control unit 16a instructs the MAC reset control unit 17a to stop the receiving operation in order to disconnect the communication processing device 10a from the LAN. The MAC reset control unit 17a instructs the MAC control unit 14a to reset the MAC address table according to the instruction from the diagnosis processing unit 16a. As a result, in step S411, the MAC control unit 14a resets the MAC address table (erases the incoming MAC address) and disables the receiving operation. After that, the communication processing device 10a is in a state of waiting for a start instruction from the host.
【0040】以上、説明したように、本実施の形態の通
信処理装置では、待機系として起動指示を受けると、本
番系の通信処理装置に対して、周期的に動作状態の診断
を要求し、障害発生時には、本番系通信処理装置にホス
ト計算機から与えられた着信用MACアドレスを消去さ
せるようにしたことで、同一LAN上に同一MACアド
レスを有する2つの装置が存在することを防止できる。As described above, in the communication processing device according to the present embodiment, when the start instruction is received as the standby system, the active communication processing device is periodically requested to diagnose the operating state, When a failure occurs, the production communication processing device is made to delete the incoming MAC address given from the host computer, so that it is possible to prevent two devices having the same MAC address from existing on the same LAN.
【0041】これにより、通信処理装置に障害が発生し
たとき、ホスト計算機側からその通信処理装置のフレー
ム処理動作を停止させることができない状態であって
も、LANとの通信機能(即ち、MAC制御部の動作)
を確実に停止させられるので、障害が発生した通信処理
装置が、他の通信処理装置を用いた端末装置とのデータ
転送を妨害することはない。As a result, when a failure occurs in the communication processing device, even if the frame processing operation of the communication processing device cannot be stopped from the host computer side, the communication function with the LAN (that is, MAC control) Part operation)
Therefore, the communication processing device in which the failure has occurred does not interfere with the data transfer with the terminal device using another communication processing device.
【0042】[0042]
【発明の効果】本発明によれば、ホスト計算機とLAN
とを接続する通信処理装置に、LANから受信した診断
フレームに応答して、各部の動作状態を診断して応答フ
レームを作成し、LANに送出する診断制御部を設けた
ことで、ホスト計算機でなくとも、通信処理装置の動作
状態を知ることができる。According to the present invention, the host computer and the LAN
By providing the communication processing device that connects to and with the diagnostic control unit that responds to the diagnostic frame received from the LAN, diagnoses the operating state of each unit, creates a response frame, and sends the response frame to the LAN, the host computer It is possible to know the operating state of the communication processing device without the need.
【0043】また、本発明によれば、通信処理装置に、
LANからMACアドレスリセットフレームを受信した
ときホスト計算機から付与されたMACアドレスを消去
するMACアドレスリセット制御手段を設けたことで、
ホスト計算機との間に障害が発生した場合でも、動作を
停止させることができる。Further, according to the present invention, the communication processing device is provided with
By providing the MAC address reset control means for deleting the MAC address given from the host computer when the MAC address reset frame is received from the LAN,
Even if a failure occurs with the host computer, the operation can be stopped.
【0044】前記診断フレーム及び前記MACアドレス
リセットフレームのLANへの送出は、ホスト計算機と
LANとの間に接続された2つの通信処理装置のうちの
一方に行わせるようにすることにより、特別な診断装置
や停止制御装置を必要としない。The transmission of the diagnostic frame and the MAC address reset frame to the LAN is made to be performed by one of the two communication processing devices connected between the host computer and the LAN, so that a special No diagnostics or stop controls are required.
【0045】さらにまた、本発明によれば、ホスト計算
機とLANとの間に接続された2つの通信処理装置のう
ちの一方に、LANを介して他方の動作状況の問い合わ
せを行わせ、障害が検出されたときにLANを介して一
方から他方に動作停止命令を伝送するようにしたこと
で、障害がホスト計算機との間で生じており、ホスト計
算機からの命令が障害が発生した通信処理装置に伝達で
きない場合であっても、確実に障害の発生した通信処理
装置の動作を停止させることができる。これにより、ホ
スト計算機とLANに接続された端末装置のデータ伝送
を正常に維持することができる。Furthermore, according to the present invention, one of the two communication processing devices connected between the host computer and the LAN is caused to make an inquiry about the operating status of the other via the LAN, and a failure occurs. By transmitting the operation stop command from one side to the other side via the LAN when it is detected, a failure occurs with the host computer, and the command from the host computer causes the failure. Even if the communication cannot be transmitted to the communication device, the operation of the communication processing device in which the failure has occurred can be surely stopped. Thereby, the data transmission between the host computer and the terminal device connected to the LAN can be normally maintained.
【図1】本発明の通信処理装置の一実施の形態を示すブ
ロック図である。FIG. 1 is a block diagram showing an embodiment of a communication processing device of the present invention.
【図2】図1の通信処理装置が待機系として起動指示を
受けた場合の動作を説明するためのフローチャートであ
る。FIG. 2 is a flowchart for explaining an operation when the communication processing device of FIG. 1 receives a start instruction as a standby system.
【図3】LANで使用されるフレームの一例を示す図で
ある。FIG. 3 is a diagram showing an example of a frame used in a LAN.
【図4】図1の通信処理装置が本番系として起動指示を
受けた場合の動作を説明するためのフローチャートであ
る。FIG. 4 is a flowchart for explaining an operation when the communication processing device of FIG. 1 receives a start instruction as a production system.
【図5】従来のLANシステムの一例を示すブロック図
である。FIG. 5 is a block diagram showing an example of a conventional LAN system.
10a,10b 通信処理装置 11a,11b EPU 12a,12b 主記憶部(MEM) 13a,13b ホスト接続部 14a,14b MAC制御部 15a,15b プロトコル制御部 16a,16b 診断制御部 17a,17b MACリセット制御部 51 ホスト計算機 52a,52b 入出力処理装置(IOP) 53a,53b 通信処理装置(FNP) 54 エンジニアリングワークステーション(EW
S)10a, 10b Communication processing device 11a, 11b EPU 12a, 12b Main memory unit (MEM) 13a, 13b Host connection unit 14a, 14b MAC control unit 15a, 15b Protocol control unit 16a, 16b Diagnostic control unit 17a, 17b MAC reset control unit 51 host computer 52a, 52b input / output processing unit (IOP) 53a, 53b communication processing unit (FNP) 54 engineering workstation (EW)
S)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8065839AJPH09261235A (en) | 1996-03-22 | 1996-03-22 | Communication processor |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8065839AJPH09261235A (en) | 1996-03-22 | 1996-03-22 | Communication processor |
| Publication Number | Publication Date |
|---|---|
| JPH09261235Atrue JPH09261235A (en) | 1997-10-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8065839APendingJPH09261235A (en) | 1996-03-22 | 1996-03-22 | Communication processor |
| Country | Link |
|---|---|
| JP (1) | JPH09261235A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1999037060A1 (en)* | 1998-01-13 | 1999-07-22 | Yokogawa Electric Corporation | Communication control system |
| KR100425560B1 (en)* | 2000-06-20 | 2004-04-03 | 닛뽕덴끼 가부시끼가이샤 | Lan path control system and method capable of easy changing active port of terminal |
| JP2007251817A (en)* | 2006-03-17 | 2007-09-27 | Fujitsu Ltd | Ring node device and ring node redundancy method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1999037060A1 (en)* | 1998-01-13 | 1999-07-22 | Yokogawa Electric Corporation | Communication control system |
| KR100425560B1 (en)* | 2000-06-20 | 2004-04-03 | 닛뽕덴끼 가부시끼가이샤 | Lan path control system and method capable of easy changing active port of terminal |
| JP2007251817A (en)* | 2006-03-17 | 2007-09-27 | Fujitsu Ltd | Ring node device and ring node redundancy method |
| Publication | Publication Date | Title |
|---|---|---|
| US5983360A (en) | Information processing system with communication system and hot stand-by change-over function therefor | |
| JP2864741B2 (en) | Communication system that guarantees data integrity | |
| US20070067462A1 (en) | Information processing apparatus, communication load decentralizing method, and communication system | |
| EP0230029A2 (en) | Method and apparatus for fault recovery in a distributed processing system | |
| JP4166939B2 (en) | Active fault detection | |
| JPH11205356A (en) | Communication control system | |
| JP2004171370A (en) | Address control system and method between client/server in redundant constitution | |
| JP4964666B2 (en) | Computer, program and method for switching redundant communication paths | |
| EP1483876A1 (en) | Input/output (i/o) scanner for a control system with peer determination | |
| JP2002009806A (en) | Lan communication path control system and control method | |
| JP2003520477A (en) | Method and apparatus for performing reliable communication in an intelligent network | |
| JPH09261235A (en) | Communication processor | |
| JP2002344450A (en) | High availability processing method, its execution system and its processing program | |
| JP2638565B2 (en) | LAN connection device and method | |
| JP2738362B2 (en) | Network connection device | |
| JP3144346B2 (en) | Spare switching system for communication processing equipment | |
| JPH1196033A (en) | Information processing device | |
| JPH05304528A (en) | Multiplex communication node | |
| KR101397993B1 (en) | Duplex System and Method of Access Switching Processor | |
| JP2926867B2 (en) | Fault monitoring method for local area network | |
| JPH10105490A (en) | Server failure monitoring and countermeasures | |
| JP2000244520A (en) | Diagnosis method for redundant network | |
| JP3394660B2 (en) | Redundant system switching method | |
| WO2004079573A1 (en) | Multi-processor system | |
| JPH10145459A (en) | Communication system that guarantees data integrity |
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal | Free format text:JAPANESE INTERMEDIATE CODE: A02 Effective date:19981111 |