JP2000299696A - Abnormality diagnostic method for network system - Google Patents

Abnormality diagnostic method for network system

Info

Publication number
JP2000299696A
JP2000299696A JP11105020A JP10502099A JP2000299696A JP 2000299696 A JP2000299696 A JP 2000299696A JP 11105020 A JP11105020 A JP 11105020A JP 10502099 A JP10502099 A JP 10502099A JP 2000299696 A JP2000299696 A JP 2000299696A
Authority
JP
Japan
Prior art keywords
packet
test
error
terminal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11105020A
Other languages
Japanese (ja)
Inventor
Kunihiko Kawahara
邦彦 河原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11105020A priority Critical patent/JP2000299696A/en
Publication of JP2000299696A publication Critical patent/JP2000299696A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To discover fault or abnormality in a terminal connected to a network, especially, the abnormality of hardware without directly touching the terminal by using a terminal provided with an Ethernet(R) interface having a test function for the terminal in a network system. SOLUTION: A terminal 13 provided with the I/F of the network having the test function transmits the character of a previously specified error to a terminal 11 by generating a test packet 12. When the test packet 12 is recognized, the terminal 11 recognizes the information in the kind of the error on the test packet 12 and compares this information with the kind of error actually shown by the test packet 12 and on the basis of the information of this result or the like, a reply packet is generated and returned to the terminal 13. When the reply packet is received, on the basis of this information, the terminal 13 detects the fault or abnormality of the terminal 11.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、イーサネット等の
ネットワークのインタフェース機能に係わるネットワー
クシステムに於ける異常診断方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for diagnosing abnormalities in a network system related to an interface function of a network such as Ethernet.

【0002】[0002]

【従来の技術】従来、ネットワークに接続している端末
機器に故障や異常等の障害が発生した場合、それがソフ
トウェア的な障害であれば、ネットワークを使用して別
端末からアクセスすることで障害検出でき、障害復旧の
原因も掴み易いものであった。
2. Description of the Related Art Conventionally, when a failure such as a failure or abnormality occurs in a terminal device connected to a network, if the failure is a software failure, the failure is caused by accessing from another terminal using the network. It could be detected and the cause of failure recovery was easy to grasp.

【0003】しかしながら、その障害がハードウェア的
なものであると、原因を掴み難いものであった。
[0003] However, if the failure is hardware-related, it is difficult to grasp the cause.

【0004】[0004]

【発明が解決しようとする課題】上述したようにネット
ワークシステムでは、ソフトウェア的な障害は検出や障
害復旧の原因究明も容易なものであったが、その障害が
ハードウェア的なものであると、原因を掴み難いもので
あった。
As described above, in a network system, a software failure is easy to detect and determine the cause of failure recovery. However, if the failure is a hardware failure, It was hard to grasp the cause.

【0005】例えば、イーサネットのインタフェース障
害の場合、特に異常パケットを正常パケットと誤認識す
る故障の場合、即ちエラーの認識ができない故障の場
合、ソフトウェア上では正しく動作しているようにみえ
てしまうものであった。実際には、異常パケットを受け
取っても、イーサネットの上位レベルで「必要ないパケ
ット」として破棄されるので、エラーとして認識され難
いという虞があった。この場合、機能上問題ないように
みえるが、本来ハードウェアで行うエラーパケット処理
をソフトウェアにて行う為、CPUの処理性能が低下す
る状態が起こるものであった。
[0005] For example, in the case of an Ethernet interface failure, particularly in the case of a fault in which an abnormal packet is erroneously recognized as a normal packet, that is, in the case of a fault in which an error cannot be recognized, software appears to be operating correctly. Met. Actually, even if an abnormal packet is received, it is discarded as an “unnecessary packet” at a higher level of the Ethernet, and thus there is a possibility that it is difficult to recognize the packet as an error. In this case, it seems that there is no problem in function, but since the error packet processing originally performed by hardware is performed by software, a state where the processing performance of the CPU is reduced occurs.

【0006】また、ネットワークの物理的な異常の場合
(例:ビットがNビット常に付加して送信されてしまう
場合)、異常に気づかない場合がある。これは、イーサ
ネットの場合、nビットの付加は、n=1、...、7
ならば、即ち正常パケットに無意味なビットが1〜7ビ
ット付加されても異常パケットにはならない為、端末側
ではエラーとして認識されないからである。
Further, in the case of a physical abnormality of the network (for example, when N bits are always added and transmitted), the abnormality may not be noticed. This means that in the case of Ethernet, the addition of n bits is n = 1,. . . , 7
In other words, even if 1 to 7 bits of meaningless bits are added to the normal packet, the packet does not become an abnormal packet and is not recognized as an error on the terminal side.

【0007】しかしながら、この現象は、イーサネット
ケーブルが物理的に悪い状態(例えば粗悪なケーブルや
電気的な影響を著しく受けるライン等)の場合に生じる
為、ラインは不安定な状態にあるものである。このよう
なネットワークの物理的異常が、エラーとして認識され
ない為、上記物理的に悪い状態が改善されないので、さ
らに物理的状態が悪化する虞がある。また、エラー発生
率の高いラインである場合もある。
However, since this phenomenon occurs when the Ethernet cable is in a physically bad state (for example, a bad cable or a line that is significantly affected by electrical influences), the line is in an unstable state. . Since such a physical abnormality of the network is not recognized as an error, the above physically bad state is not improved, and the physical state may be further deteriorated. Further, the line may have a high error rate.

【0008】そこで、本発明は上記事情を考慮して成さ
れたもので、上記不具合を解消する為、本件出願人の先
願である特願平11−57818号に開示したテスト機
能を有するイーサネットインターフェース装置を備えた
端末をネットワークシステムの端末に用いることによ
り、各端末の故障や異常等の障害を検出するシステムを
構築し、ネットワークに接続される端末の故障や異常等
の障害、特にハードウェアに係わる障害を、各端末に直
接触ることなく容易且つ確実に発見可能としたネットワ
ークシステムに於ける異常診断方法を提供することを目
的とする。
Therefore, the present invention has been made in view of the above circumstances, and in order to solve the above-mentioned problems, an Ethernet having a test function disclosed in Japanese Patent Application No. 11-57818, which is a prior application of the present applicant. By using a terminal equipped with an interface device as a terminal of the network system, a system for detecting failures such as failures and abnormalities of each terminal is constructed, and failures such as failures and abnormalities of terminals connected to the network, particularly hardware. It is an object of the present invention to provide an abnormality diagnosis method in a network system that can easily and surely find a fault related to the above without directly touching each terminal.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
する為、本発明に係わるネットワークシステムは、ネッ
トワークやこのネットワークに接続された端末機器の故
障や異常等の障害を認識するネットワークシステムに於
いて、上記ネットワークに接続され、各種のエラーパケ
ットを出力しこのエラーパケットの種類を示すエラーパ
ケット情報とこのエラーパケットの送信元アドレス情報
とテストパケットであることを示すテストパケット情報
とを含み上記エラーパケット情報に基づいたエラーパケ
ットの性質を持ったテストパケットを生成してこのテス
トパケットをネットワーク上の上記端末に機器送信して
テストする機能を備えたインタフェースを設けたテスト
機能保持端末を設け、上記端末機器のインターフェース
は、上記テスト機能保持端末から上記テストパケットを
受信した場合、上記テストパケット情報に基づきテスト
パケットか否かを認識し、テストパケットと認識する
と、上記エラーパケット情報に基づきエラーパケットの
種類を認識し、この認識したエラーパケットの種類と上
記テストパケットの示す実際のエラーパケットの種類が
一致するか否かを判断し、この判断結果の情報と、上記
端末のアドレス情報と、エラーパケットの種類が不一致
の場合、実際に認識したエラーパケットの種類の情報と
を含む返信パケットを生成して上記テスト機能保持端末
へ上記返信パケットを返信し、上記テスト機能保持端末
のインタフェースは、上記返信パケットの情報に基づき
上記端末機器または上記端末機器と上記テスト機能保持
端末間のネットワークの故障や異常等の障害を検出する
よう構成した。
In order to achieve the above object, the present invention provides a network system for recognizing a failure such as a failure or abnormality of a network or a terminal device connected to the network. The apparatus is connected to the network, outputs various error packets, and includes error packet information indicating a type of the error packet, source address information of the error packet, and test packet information indicating a test packet. A test function holding terminal having an interface having a function of generating a test packet having the property of an error packet based on the error packet information, transmitting the test packet to the terminal on the network and performing a test, is provided. , The interface of the terminal equipment is When the test packet is received from the holding terminal, whether or not the test packet is a test packet is recognized based on the test packet information. If the test packet is recognized, the type of the error packet is recognized based on the error packet information. It is determined whether or not the type of the packet and the type of the actual error packet indicated by the test packet match, and if the information of the determination result, the address information of the terminal and the type of the error packet do not match, Generates a reply packet including information on the type of the recognized error packet and returns the reply packet to the test function holding terminal.The interface of the test function holding terminal uses the terminal device or Failure or abnormality of the network between the terminal device and the test function holding terminal Configured to detect a fault.

【0010】このような構成によれば、ネットワーク上
の端末機器に於いて、障害発生していないか、ネットワ
ーク上の端末機器が異常に多くパケットを取りこぼして
いないか、ネットワーク環境がエラーパケットを発生し
易い状況にないか(例:物理的環境が悪条件にないか)
を検出し認識することができる。また、ネットワークに
接続したままでよいので、特別なメンテナンスを行う必
要もない。
According to such a configuration, in the terminal equipment on the network, no failure occurs, the terminal equipment on the network does not drop an abnormally large number of packets, or the network environment generates an error packet. Are you in a situation that is easy to do (eg, is the physical environment in adverse conditions)?
Can be detected and recognized. In addition, since there is no need to perform any special maintenance, it is possible to remain connected to the network.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施形態を図面を
参照して説明する。 (第1実施形態)図1は、本発明の第1実施形態に係わ
るネットワークシステムの概略構成を示した図である。
本実施形態の説明に必要な構成を示し、他の構成は省略
する。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing a schematic configuration of a network system according to a first embodiment of the present invention.
The configuration necessary for the description of the present embodiment is shown, and other configurations are omitted.

【0012】ネットワーク10は、本実施形態のネット
ワークシステムに於いて、複数の端末機器を接続しデー
タ等を通信する為のネットワークである。
The network 10 is a network for connecting a plurality of terminal devices and communicating data and the like in the network system of the present embodiment.

【0013】端末11は、本実施形態のネットワークシ
ステムに接続された通常のネットワーク端末機器であ
る。この端末11は、本件出願人の先願である特願平1
1−57818号に開示のテスト機能を持つイーサネッ
トインタフェース装置を設けた端末からのテストパケッ
トを認識するインタフェース機能を有するものである。
そして、この通常のネットワークの端末11には、以下
の機能を設ける。
The terminal 11 is a normal network terminal device connected to the network system of the present embodiment. This terminal 11 is the same as Japanese Patent Application No. Hei.
No. 1-57818 discloses an interface function for recognizing a test packet from a terminal provided with an Ethernet interface device having a test function.
Then, the following functions are provided to the terminal 11 of this ordinary network.

【0014】1.テストパケットであるか否かを認識す
ること。
1. Recognizing whether or not it is a test packet.

【0015】2.テストパケットのデータから、そのパ
ケットのエラー、性質を読み取る機能。
2. A function to read the error and nature of the test packet from the test packet data.

【0016】3.テストパケットが2.で認識したエラ
ー、性質を有することを認識する機能。
3. The test packet is 2. A function that recognizes that an error or property has been recognized.

【0017】上記1及び2は、テストパケットに、テス
トパケットであることを示すパターン、どのテストを実
施したのか示す情報を持たせることにより認識可能であ
る。上記3は、通常のインタフェースに存在している機
能である。
The above 1 and 2 can be recognized by providing the test packet with a pattern indicating the test packet and information indicating which test was performed. The above 3 is a function existing in a normal interface.

【0018】端末13は、テスト機能を備えたネットワ
ークのI/F(インターフェース)を設けた端末機器
(テスト機能I/Fを設けた端末13と称す)は、上記
同様、特願平11−57818号に開示したネットワー
ク上の端末の異常をテストする機能を持つイーサネット
インタフェース装置を設けた端末である。
The terminal 13 is provided with a terminal device provided with a network I / F (interface) having a test function (referred to as a terminal 13 provided with a test function I / F), as in the above-mentioned Japanese Patent Application No. 11-57818. (1) A terminal provided with an Ethernet interface device having a function of testing a terminal for abnormality on a network disclosed in the above publication.

【0019】テストパケット12は、インタフェースを
テストする為のパケットであり、そのテスト毎にユニー
クなパターンを有する。ここで、テストパケットの定義
は、次の通りとする。
The test packet 12 is a packet for testing an interface, and has a unique pattern for each test. Here, the definition of the test packet is as follows.

【0020】即ち、通常のネットワークの端末11が、
エラーパケットを受信した場合、ネットワーク上で、本
当に発生したエラーパケットかどうか、テスト機能I/
Fを設けた端末13から出力したテストパケット12で
あるのかを認識できる必要がある。この為、テストパケ
ットには、以下の情報を備える。
That is, the terminal 11 of the ordinary network is
If an error packet is received, a test function I /
It is necessary to be able to recognize whether or not the test packet 12 is output from the terminal 13 provided with F. Therefore, the test packet has the following information.

【0021】・テストパケットであることを示すパター
ン。
A pattern indicating a test packet.

【0022】・上記1〜3のどのテストを実施したのか
を示す情報(アライメントテストパケット、ビット付加
テストパケットは、付加したビット数によって、異なる
テストパケットとする)。
Information indicating which of the above tests 1 to 3 was performed (the alignment test packet and the bit addition test packet are different test packets depending on the number of added bits).

【0023】・テストパケットを送信した送信元のアド
レス。
The address of the source that transmitted the test packet.

【0024】特願平11−57818号のテスト機能を
持ったインターフェースースに於いて、出力可能なエラ
ーパケットは、 ・アライメントエラー(FCSエラー半Nビット付加
(N=1、2、...、7)) ・FCSエラー(CRCエラー) ・ロングフレームエラー(ネットワークの規定より長い
パケット) ・ショートフレームエラー(ネットワークの規定より短
いパケット) ・Nビットを付加したパケット(N=1、2、...、7)
(これはエラーパケット ではないが、以下の説明上
エラーパケットに含める)である。
In the interface having the test function of Japanese Patent Application No. 11-57818, error packets that can be output include: an alignment error (addition of a half N-bit FCS error (N = 1, 2,..., 7)) ・ FCS error (CRC error) ・ Long frame error (packet longer than specified by network) ・ Short frame error (packet shorter than specified by network) ・ Packet with N bits added (N = 1, 2,...) ., 7)
(This is not an error packet, but will be included in the error packet for the following description.)

【0025】これにより、以下の種類のテストパケット
を生成することが可能である。
As a result, the following types of test packets can be generated.

【0026】 ・アライメントテストパケット31 ・FCSエラーテストパケット32 ・ロングフレームテストパケット33 ・ショートフレームテストパケット34 ・ビット付加テストパケット35 次に、本実施形態に於いて、通常のネットワーク端末1
1がテストパケット12を受信した場合の処理を図2の
フローチャートを参照して説明する。
Alignment test packet 31 FCS error test packet 32 Long frame test packet 33 Short frame test packet 34 Bit addition test packet 35 Next, in this embodiment, the normal network terminal 1
The process performed when the test packet 1 receives the test packet 12 will be described with reference to the flowchart in FIG.

【0027】テスト機能I/Fを設けた端末13より、
各種テストパケット12を出力する。通常のネットワー
ク端末11は、このテストパケット12を受信したら
(ステップS202)、受信したパケットの種類がテス
ト機能I/Fを設けた端末13からのテストパケット1
2であることを認識する(ステップS204)。
From the terminal 13 provided with the test function I / F,
It outputs various test packets 12. When the normal network terminal 11 receives the test packet 12 (step S202), the type of the received packet is the test packet 1 from the terminal 13 provided with the test function I / F.
2 is recognized (step S204).

【0028】ここで、テスト機能I/Fを設けた端末1
3からのテストパケット12でなく、通常のエラーパケ
ットの場合、またはパケットを取りこぼした場合は、以
下の処理は行われない。
Here, the terminal 1 provided with the test function I / F
In the case of a normal error packet or a packet is dropped, instead of the test packet 12 from 3, the following processing is not performed.

【0029】通常のネットワーク端末1は、受信したテ
ストパケット12について、テスト機能I/Fを設けた
端末13が予めテストパケットの定義に基づき、どのテ
ストを実施したのかを示す情報を認識する(ステップS
206)。次に、通常のネットワーク端末11は、受信
したテストパケット12が実際に示すエラー等の性質を
認識する(ステップS208)。
The ordinary network terminal 1 recognizes, for the received test packet 12, information indicating which test was performed by the terminal 13 having the test function I / F based on the definition of the test packet in advance (step S1). S
206). Next, the normal network terminal 11 recognizes the nature of an error or the like actually indicated by the received test packet 12 (step S208).

【0030】通常のネットワーク端末11は、ステップ
S206で認識したテストパケット12の定義と、ステ
ップS208とで認識したテストパッケト12が実際に
示すエラー等の性質とを比較する(ステップS21
0)。
The ordinary network terminal 11 compares the definition of the test packet 12 recognized in step S206 with the nature of an error or the like actually indicated by the test packet 12 recognized in step S208 (step S21).
0).

【0031】ステップS206とステップS208で認
識した結果が同一だった場合、即ち、エラー、性質が同
一であった場合(ステップS210のYES)、エラー
を正しく認識したことを意味するパケットを作成する
(ステップS212)。
If the results recognized in step S206 and step S208 are the same, that is, if the error and the nature are the same (YES in step S210), a packet is generated which means that the error has been correctly recognized (step S210). Step S212).

【0032】ステップS206とステップS208で認
識した結果が同一で無かった場合、即ち、エラー、性質
が異なる場合(ステップS210のNO)、別のエラー
が認識されたことを意味するパケットを作成する(ステ
ップS214)。
If the results recognized in steps S206 and S208 are not the same, that is, if the error and the nature are different (NO in step S210), a packet is generated which means that another error has been recognized (step S210). Step S214).

【0033】通常のネットワーク端末11は、作成した
パケットをテスト機能I/Fを設けた端末13に出力す
る(ステップS216)。
The normal network terminal 11 outputs the created packet to the terminal 13 provided with the test function I / F (step S216).

【0034】このように、通常のネットワークの端末1
1が、ステップS210の処理を行うことで、通常のネ
ットワークの端末11のインタフェースに異常が発生し
ているか、送信元からパケットが転送される間にパケッ
トに異常が発生したかが認識できる。
As described above, the terminal 1 of the ordinary network
By performing the process in step S210, the user 1 can recognize whether an error has occurred in the interface of the terminal 11 of the normal network or whether an error has occurred in the packet while the packet is being transferred from the transmission source.

【0035】上記返信パケットには、以下の情報を含む
ものである。
The reply packet includes the following information.

【0036】・返信元である通常ネットワークの端末1
1のMACアドレスの情報を含む。
The terminal 1 of the normal network that is the reply source
1 MAC address information.

【0037】・エラーを正しく認識した場合は、その情
報を含む。
When the error is correctly recognized, the information is included.

【0038】・別のエラーが認識された場合は、その情
報を含む。
If another error is recognized, include that information.

【0039】例えば、アライメントエラーパケットのは
ずが実際はFCSエラーパケットと認識された場合、ネ
ットワーク上に物理的な問題が発生していると考えられ
る。
For example, if an alignment error packet is actually recognized as an FCS error packet, it is considered that a physical problem has occurred on the network.

【0040】また、この返信パケットは、以下の性質を
持つ。
The reply packet has the following properties.

【0041】・通常発生したエラーパケットの場合、返
信パケットは出力されない。
In the case of a normally occurring error packet, no reply packet is output.

【0042】・パケットを取りこぼした場合、返信パケ
ットは出力されない。
If a packet is missed, no reply packet is output.

【0043】テスト機能I/Fを設けた端末13は、上
記返信パケットによって、下記の状態を確認できる。
The terminal 13 provided with the test function I / F can confirm the following status from the reply packet.

【0044】・テストパケットを送信した先の通常のネ
ットワークの端末11のインタフェースの故障の検出、
即ち、エラーを正しく認識できているか否か。
Detection of a failure of the interface of the terminal 11 of the normal network to which the test packet has been transmitted,
That is, whether or not the error has been correctly recognized.

【0045】・テスト機能I/Fを設けた端末13と送
信した先の通常のネットワークの端末11間のネットワ
ークの物理的な状態の悪さ(FCSエラーをアライメン
トエラーとして認識した場合、またはその逆の場合)。
Poor physical condition of the network between the terminal 13 provided with the test function I / F and the terminal 11 of the normal network to which the data is transmitted (when an FCS error is recognized as an alignment error or vice versa) Case).

【0046】・テストパケットを送信した先の通常のパ
ケットの端末11のパケットの取りこぼしの確率(返信
されたパケットの数/出力したテストパケットの数)。
The probability of dropping the packet of the terminal 11 from the normal packet to which the test packet was transmitted (the number of returned packets / the number of output test packets).

【0047】以下に、上記3つの状態の確認処理につい
て説明する。
In the following, a description will be given of a process for confirming the above three states.

【0048】先ず、テスト機能I/Fを設けた端末13
が、通常のネットワークの端末11のインターフェース
の故障を検出する場合の処理について、図3のフローチ
ャートを参照して説明する。
First, the terminal 13 provided with the test function I / F
However, a process when detecting a failure of the interface of the terminal 11 of the normal network will be described with reference to the flowchart of FIG.

【0049】テスト機能I/Fを設けた端末13は、各
種テストパケット12を通常のネットワークの端末11
へ送信する(ステップS302)。テスト機能I/Fを
設けた端末13は、テストパケット12を送信した通常
のネットワークの端末11からテストパケット12に対
する返信パケットが送信されるのを待つ。通常のネット
ワークの端末11は、図2のフローチャートの処理によ
り、返信パケットを作成し、テスト機能I/Fを設けた
端末13へ送信する。
The terminal 13 provided with the test function I / F transmits various test packets 12 to the terminal 11 of the ordinary network.
(Step S302). The terminal 13 provided with the test function I / F waits for a reply packet to the test packet 12 to be transmitted from the terminal 11 of the normal network that has transmitted the test packet 12. The terminal 11 of the normal network creates a reply packet by the processing of the flowchart of FIG. 2 and transmits it to the terminal 13 provided with the test function I / F.

【0050】テスト機能I/Fを設けた端末13は、返
信パケットを受信したら(ステップS304)、送信し
たテストパケット12の定義の内容と上記返信パケット
が示す内容とが同一か否かを判断する(ステップSS3
06)。
Upon receiving the reply packet (step S304), the terminal 13 provided with the test function I / F determines whether or not the content of the definition of the transmitted test packet 12 is the same as the content indicated by the reply packet. (Step SS3
06).

【0051】送信したテストパケット12のエラー、性
質の内容と上記返信パケットが示す内容とが同一の場合
(ステップS306のYES)、テストパッケト12を
送信した通常のネットワーク端末11のインタフェース
に問題がないことを確認できる(ステップS308)。
If the contents of the error and the nature of the transmitted test packet 12 are the same as the contents indicated by the reply packet (YES in step S306), there is no problem in the interface of the normal network terminal 11 that transmitted the test packet 12. Can be confirmed (step S308).

【0052】送信したテストパケット12の定義の内容
と上記返信パケットが示す内容とが異なる場合(ステッ
プS306のNO)、テストパッケト12を送信した通
常のネットワークの端末11のインタフェースについ
て、エラー認識機能の故障か、またはこのインタフェー
スがロックしているという問題が有ることを確認できる
(ステップS310)。
If the content of the definition of the transmitted test packet 12 is different from the content indicated by the reply packet (NO in step S306), the error recognition function of the interface of the terminal 11 of the normal network to which the test packet 12 has been transmitted. It can be confirmed that there is a failure or a problem that this interface is locked (step S310).

【0053】次に、テスト機能I/Fを設けた端末13
が、ネットワークの物理的環境の調査を行う場合の処理
を図4のフローチャートを参照して説明する。
Next, the terminal 13 provided with the test function I / F
However, the process when the physical environment of the network is investigated will be described with reference to the flowchart of FIG.

【0054】テスト機能I/Fを設けた端末13は、F
CSエラーテストパケットを通常のネットワークの端末
11に送信する。テスト機能I/Fを設けた端末13
は、テストパケット12を送信した通常のネットワーク
の端末11からテストパケット12に対する返信パケッ
トが送信されるのを待つ。通常のネットワークの端末1
1は、図2のフローチャートの処理により、返信パケッ
トを作成しテスト機能I/Fを設けた端末13へ送信す
る(ステップS402)。
The terminal 13 provided with the test function I / F
A CS error test packet is transmitted to the terminal 11 in a normal network. Terminal 13 provided with test function I / F
Waits for a reply packet to the test packet 12 to be transmitted from the terminal 11 of the normal network that has transmitted the test packet 12. Normal network terminal 1
1 generates a reply packet and transmits it to the terminal 13 provided with the test function I / F by the processing of the flowchart of FIG. 2 (step S402).

【0055】テスト機能I/Fを設けた端末13は、返
信パケットを受信したら(ステップS404)、上記返
信パケットが示す内容とを比較する。ここで、送信した
テストパケット12のエラー、性質であるFCSエラー
パケットが、アライメントエラーパケットと認識された
か否かを判断する(ステップS406)。
Upon receiving the reply packet (step S404), the terminal 13 provided with the test function I / F compares the content indicated by the reply packet. Here, it is determined whether an FCS error packet, which is an error or a property of the transmitted test packet 12, has been recognized as an alignment error packet (step S406).

【0056】アライメントエラーパケットと認識された
場合(ステップS406のYES)、これは、テスト機
能I/Fを設けた端末13から通常のネットワークの端
末11までのネットワークの物理的に悪い状態にある
為、またはルータ、ハブの故障によって、FCSエラー
にビットが付加されたことを意味する(ステップS41
0)。
If the packet is recognized as an alignment error packet (YES in step S406), this is because the network from the terminal 13 having the test function I / F to the terminal 11 of the normal network is in a physically bad state. Or that a bit has been added to the FCS error due to the failure of the router or hub (step S41).
0).

【0057】これにより、以下の問題点が確認できる。Thus, the following problems can be confirmed.

【0058】・ネットワークが物理的に悪い環境にある
可能性。
The possibility that the network is in a physically bad environment.

【0059】・ルータ、ハブの故障の可能性同様に、ビ
ット付加テストパケット35を送信すれば、7ビット、
6ビット付加させたパケットがFCSエラーパケットと
して認識されないか確認することで、同様の確認が可能
である。
Similarly, if the bit addition test packet 35 is transmitted, similarly to the possibility of the failure of the router and the hub, 7 bits,
The same check can be made by checking whether the packet added with 6 bits is recognized as an FCS error packet.

【0060】アライメントエラーパケットと認識されな
かった場合(ステップS406のNO)、ここでは、F
CSエラーパケットとして認識された場合とし、これに
より、テスト機能I/Fを設けた端末13から通常のネ
ットワークの端末11までのネットワークの環境に物理
的問題が発生していないことを確認できる(ステップS
408)。
If the packet is not recognized as an alignment error packet (NO in step S406), here F
It is assumed that the packet is recognized as a CS error packet, whereby it can be confirmed that no physical problem has occurred in the network environment from the terminal 13 provided with the test function I / F to the terminal 11 of the normal network (step). S
408).

【0061】最後に、テスト機能I/Fを設けた端末1
3が、通常のネットワークの端末11のテストパケット
の取りこぼしの確率の調査をする場合の処理を図5のフ
ローチャートを参照して説明する。
Finally, the terminal 1 provided with the test function I / F
The process in which the terminal 3 investigates the probability of dropping the test packet of the terminal 11 in the normal network will be described with reference to the flowchart of FIG.

【0062】テスト機能I/Fを設けた端末13が、通
常のネットワークの端末11へテストパケットをm本送
信する(ステップS502)。通常のネットワークの端
末11は、図2のフローチャートの処理により受け取っ
たテストパケット12の数1つに付き1つの返信パケッ
ト(n本)をテスト機能I/Fを設けた端末13へ返信
する(ステップS504)。但し、図2でも説明したよ
うにテストパケット12を取りこぼした場合は、返信パ
ケットは作成されず返信されない。
The terminal 13 provided with the test function I / F transmits m test packets to the terminal 11 on the normal network (step S502). The terminal 11 of the normal network returns one return packet (n pieces) for each one of the test packets 12 received by the processing of the flowchart of FIG. 2 to the terminal 13 provided with the test function I / F (step). S504). However, when the test packet 12 is dropped as described with reference to FIG. 2, no reply packet is created and no reply is made.

【0063】テスト機能I/Fを設けた端末13は、送
信したテストパケット12の数であるm本と受信した返
信パケットの数であるn本とを比較する(ステップS5
06)。
The terminal 13 provided with the test function I / F compares the number m of the transmitted test packets 12 with the number n of the received reply packets (step S5).
06).

【0064】m=nの場合(ステップS506のYE
S)、送信先の通常のネットワークの端末11にパケッ
トの取りこぼし等の問題がないことが確認できる(ステ
ップS508)。
If m = n (YE in step S506)
S), it can be confirmed that there is no problem such as packet loss in the terminal 11 of the normal network of the transmission destination (step S508).

【0065】一方、m=nではない場合(ステップS5
06のNO)、(m−n)/(m)を演算する(ステッ
プS510)。この値が、送信先の通常のネットワーク
の端末11のテストパケットの取りこぼしの確率とな
る。
On the other hand, when m = n is not satisfied (step S5)
(NO in 06), (mn) / (m) is calculated (step S510). This value is the probability of dropping the test packet of the terminal 11 of the normal destination network.

【0066】これにより、以下の問題が確認できる。As a result, the following problems can be confirmed.

【0067】・通常のネットワークの端末11のテスト
パケットの取りこぼしの確率。
The probability of dropping of the test packet of the terminal 11 of the normal network.

【0068】・通常のネットワークの端末11がロック
していないかが判断できる。 (第2実施形態)図6は、本発明第2実施形態に係わる
ネットワークシステムの概略構成を示したブロック図で
ある。
It is possible to determine whether or not the terminal 11 of the ordinary network is locked. (Second Embodiment) FIG. 6 is a block diagram showing a schematic configuration of a network system according to a second embodiment of the present invention.

【0069】通常のネットワークの端末21は、図1の
通常のネットワークの端末11と同様の機能を備えるも
のとする。テストパケット22は、図1のテストパケッ
ト12と同様の機能を備えるものとする。テスト機能を
備えたネットワークのI/Fを設けた端末23(テスト
機能I/Fを設けた端末と称す)は、図1のテスト機能
I/Fを設けた端末13と同様の機能を備えるものとす
る。
It is assumed that the terminal 21 of the normal network has the same function as the terminal 11 of the normal network in FIG. The test packet 22 has the same function as the test packet 12 in FIG. A terminal 23 provided with a network I / F having a test function (referred to as a terminal provided with a test function I / F) has a function similar to that of the terminal 13 provided with a test function I / F in FIG. And

【0070】テストパケット対応ハブ、ルータ24は、
テストパケット22が送信された場合、その性質を損な
わないで、所定の通常のネットワークの端末21へ送信
する機能を備える。ルータ、ハブによっては、エラーパ
ケットを認識すると、その時点でそのパケットの送信を
中断するものや(例:スイッチングハブ)、また、エラ
ーが発生している場合、そのエラーの要因を取り除いて
送信するものもあるが(ビットの付加や、プレアンブル
の長さの修正等)、本実施形態のネットワークシステム
では、エラーパケットをテストパケット22として意識
して送信するので、テストパケット対応ハブ、ルータ2
4は、通常のネットワークの端末21のインタフェース
の機能をテストする為、テストパケット22であること
を認識できたならば、エラーの性質をそのまま残してそ
のテストパケット22を所定の通常のネットワークの端
末へ送信する。
The test packet compatible hub and router 24 are
When the test packet 22 is transmitted, it has a function of transmitting the test packet 22 to the terminal 21 of a predetermined ordinary network without deteriorating its properties. Depending on the router or hub, when an error packet is recognized, transmission of the packet is interrupted at that point (eg, a switching hub). If an error occurs, the error factor is removed and transmitted. Although there are some packets (addition of bits, modification of the length of the preamble, etc.), the network system of the present embodiment transmits an error packet as a test packet 22 consciously.
In order to test the function of the interface of the terminal 21 of the ordinary network, if the test packet 22 can be recognized as a test packet, the nature of the error is left as it is and the test packet 22 is transmitted to the terminal of the ordinary network. Send to

【0071】本実施形態のネットワークシステムは、上
記第1実施形態のネットワークシステムのネットワーク
10をテストパケット対応ハブ、ルータ24に変更した
ものである(他の構成は、第1実施形態と同様の機能を
備える)。
The network system of the present embodiment is obtained by changing the network 10 of the network system of the first embodiment described above to a test packet compatible hub and router 24 (other structures are the same as those of the first embodiment. With).

【0072】従って、本実施の形態のネットワークシス
テムに於ける通常のネットワークの端末21の故障や異
常等の障害を調査する処理動作は、第1実施形態のネッ
トワークシステムに於ける処理動作(図2乃至図5)と
同様であるので、その詳細は省略する。
Therefore, the processing operation for investigating a failure such as a failure or abnormality of the terminal 21 of the normal network in the network system according to the present embodiment is the processing operation (FIG. 2) in the network system according to the first embodiment. 5 to FIG. 5), and the details are omitted.

【0073】[0073]

【発明の効果】以上詳記したように本発明によれば、ネ
ットワーク上の端末に於いて、障害発生していないか、
またはネットワーク上の端末が異常に多くパケットを取
りこぼしていないか、或いはネットワークの環境がエラ
ーパケットを発生し易い状況にないか(物理的環境が悪
条件にないか)を検出することができるものである。し
かも、各端末のテストはネットワークに接続したままで
よく、特別なメンテナンスの必要がない。更に、この機
能そのものは、エラーパケットを利用しているので、下
位階層(MAC層)にて処理ができるものであり、上位
階層に影響がない。また、端末の方にテストパケットを
認識する機能がない場合であっても、単なるエラーパケ
ットなので、下位階層で破棄するので、上位階層に影響
を及ぼさないものである。
As described above in detail, according to the present invention, whether a failure has occurred in a terminal on a network,
Alternatively, it is possible to detect whether an abnormally large number of packets are dropped by terminals on the network, or whether the network environment is in a state where error packets are likely to occur (whether the physical environment is under unfavorable conditions). is there. In addition, each terminal test can be connected to the network without any special maintenance. Furthermore, since this function itself uses an error packet, it can be processed in the lower layer (MAC layer), and does not affect the upper layer. Even if the terminal does not have a function of recognizing the test packet, the error packet is merely an error packet and is discarded in the lower layer, so that the upper layer is not affected.

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

【図1】本発明の第1実施形態に係わるネットワークシ
ステムの概略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a network system according to a first embodiment of the present invention.

【図2】本発明の実施形態に係わる通常のネットワーク
端末に於ける処理動作を示すフローチャート。
FIG. 2 is a flowchart showing a processing operation in a normal network terminal according to the embodiment of the present invention.

【図3】同実施形態に係わり、インターフェース故障検
出の処理動作を示すフローチャート。
FIG. 3 is an exemplary flowchart showing a processing operation of interface failure detection according to the embodiment;

【図4】同実施形態に係わり、ネットワークの物理的調
査の処理動作を示すフローチャート。
FIG. 4 is a flowchart showing a processing operation of a physical investigation of the network according to the embodiment;

【図5】同実施形態に係わり、パケットの取りこぼしの
確率の調査の処理動作を示すフローチャート。
FIG. 5 is a flowchart showing a processing operation of investigating a probability of missing packets according to the embodiment;

【図6】本発明の第2実施形態に係わるネットワークシ
ステムの概略構成を示すブロック図。
FIG. 6 is a block diagram showing a schematic configuration of a network system according to a second embodiment of the present invention.

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

10…ネットワーク、11…通常のネットワークの端
末、12…テストパケット、13…テスト機能を備えた
ネットワークのI/Fを設けた端末、21…通常のネッ
トワークの端末、22…テストパケット、23…テスト
機能を備えたネットワークのI/Fを設けた端末。
DESCRIPTION OF SYMBOLS 10 ... Network, 11 ... Normal network terminal, 12 ... Test packet, 13 ... Terminal provided with network I / F provided with test function, 21 ... Normal network terminal, 22 ... Test packet, 23 ... Test A terminal provided with a network I / F with functions.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B048 AA05 5B089 GA21 GA31 GA33 GB02 HB02 JB17 JB19 JB22 KA12 KB04 KB06 KC47 MC17 MD02 5K033 AA05 CA08 CB04 CC01 DA15 DB20 EA03 EA05 EA07 5K035 AA03 BB03 CC10 DD01 EE02 FF04 GG03 GG04 GG05 HH02 HH07 JJ01 MM03  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) HH07 JJ01 MM03

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク並びにこのネットワークに
接続される端末機器の故障や異常を検出するよう構成し
たネットワークシステムに於いて、 上記ネットワークに接続され、各種のエラーパケットを
出力し当該エラーパケットの種類を示すエラーパケット
情報と当該エラーパケットの送信元アドレス情報とテス
トパケットであることを示すテストパケット情報とを包
含し、上記エラーパケット情報に基づいたエラーパケッ
トの性質を有するテストパケットを生成して当該テスト
パケットを上記ネットワーク上の上記端末機器に送信し
てテストする機能を備えたインタフェースを有するテス
ト機能保持端末を設け、 上記端末機器のインタフェースは、上記テスト機能保持
端末から上記テストパケットを受信した際、上記テスト
パケット情報に基きテストパケットか否かを認識し、 テストパケットと認識した場合、上記エラーパケット情
報に基づきエラーパケットの種類を認識し、 この認識したエラーパケットの種類と上記テストパケッ
トの示す実際のエラーパケットの種類が一致するか否か
を判断し、 この判断結果情報と、上記端末機器のアドレス情報と、
エラーパケットの種類が不一致の場合、実際に認識した
エラーパケットの種類の情報とを含む返信パケットを生
成して上記テスト機能保持端末へ上記返信パケットを返
信し、 上記テスト機能保持端末のインタフェースは、上記返信
パケットの情報に基づき上記端末機器または上記端末機
器と上記テスト機能保持端末間のネットワークの故障/
異常を検知するようにしたことを特徴とするネットワー
クシステムに於ける異常診断方法。
In a network system configured to detect a failure or abnormality of a network and a terminal device connected to the network, the network system is connected to the network, outputs various error packets, and determines the type of the error packet. And generating a test packet having the nature of the error packet based on the error packet information, the test packet including the error packet information indicating the error packet, the source address information of the error packet, and the test packet information indicating the test packet. Providing a test function holding terminal having an interface with a function of transmitting a packet to the terminal device on the network and testing, the interface of the terminal device, when receiving the test packet from the test function holding terminal, The above test packet information Based on whether the packet is a test packet or not, if the packet is recognized as a test packet, the type of the error packet is recognized based on the error packet information. The type of the recognized error packet and the type of the actual error packet indicated by the test packet are recognized. Is determined, and whether or not the determination result information, the address information of the terminal device,
If the type of the error packet does not match, a reply packet including the information of the type of the actually recognized error packet is generated, and the reply packet is returned to the test function holding terminal. Based on the information of the reply packet, a failure / failure of the terminal device or a network between the terminal device and the test function holding terminal.
An abnormality diagnosis method in a network system, wherein an abnormality is detected.
【請求項2】 ハブまたはルータ、このハブまたはルー
タに接続された端末機器の故障や異常を検出するネット
ワークシステムに於いて、 上記ハブまたはルータに接続され、各種のエラーパケッ
トを出力しこのエラーパケットの種類を示すエラーパケ
ット情報とこのエラーパケットの送信元アドレス情報と
テストパケットであることを示すテストパケット情報と
を包含し上記エラーパケット情報に基づいたエラーパケ
ットの性質を有したテストパケットを生成してこのテス
トパケットをハブまたはルータに接続された上記端末機
器に送信してテストする機能を備えたインタフェースを
設けたテスト機能保持端末を設け、 上記ハブまたはルータは、上記テストパケットを受信し
た際、このテストパケットの性質を損なわないで上記端
末機器へ送信し、 上記端末機器のインタフェースは、上記テスト機能保持
端末から上記テストパケットを受信した際、上記テスト
パケット情報に基づきテストパケットか否かを認識し、 テストパケットと認識した場合、上記エラーパケット情
報に基づきエラーパケットの種類を認識し、 この認識したエラーパケットの種類と上記テストパケッ
トの示す実際のエラーパケットの種類が一致するか否か
を判断し、 この判断結果の情報と、上記端末機器のアドレス情報
と、エラーパケットの種類が不一致の場合、実際に認識
したエラーパケットの種類の情報とを含む返信パケット
を生成して上記テスト機能保持端末へ上記返信パケット
を返信し、 上記テスト機能保持端末のインタフェースは、上記返信
パケットの情報に基づき上記端末機器または上記端末機
器と上記テスト機能保持端末間のネットワークの故障/
異常を検出することを特徴とするネットワークシステム
に於ける異常診断方法。
2. In a network system for detecting a failure or abnormality of a hub or a router and a terminal device connected to the hub or the router, the error packet is connected to the hub or the router and outputs various error packets. And generating a test packet including the error packet information indicating the type of the error packet, the source address information of the error packet, and the test packet information indicating that the packet is a test packet, and having the characteristics of the error packet based on the error packet information. A test function holding terminal provided with an interface having a function of transmitting a test packet to the terminal device connected to the hub or the router and performing a test, the hub or the router, when receiving the test packet, This test packet is sent to the above terminal equipment without impairing the properties. When receiving the test packet from the test function holding terminal, the interface of the terminal device recognizes whether or not the test packet is a test packet based on the test packet information. The type of the error packet is recognized based on the error packet, and it is determined whether the type of the recognized error packet matches the type of the actual error packet indicated by the test packet. The information of the determination result and the address of the terminal device are determined. If the information and the type of the error packet do not match, a reply packet including the information of the type of the actually recognized error packet is generated, and the reply packet is returned to the test function holding terminal. The interface communicates with the terminal device or the terminal device based on the information of the reply packet. Network failure between the tester and the test function holding terminal
An abnormality diagnosis method in a network system, comprising detecting an abnormality.
【請求項3】 上記テスト機能保持端末のインタフェー
スは、上記テストパケットを送信した数mと、上記返信
パケットの数nとを比較し、 m=nではない場合、(m−n)/mにより上記端末機
器がパケットを取りこぼす確率を演算するようにしたこ
とを特徴とする請求項1または請求項2記載のネットワ
ークシステムに於ける異常診断方法。
3. The interface of the test function holding terminal compares the number m of the test packets transmitted with the number n of the return packets, and when m = n is not satisfied, the interface is determined by (mn) / m. 3. The abnormality diagnosis method according to claim 1, wherein the terminal device calculates a probability of dropping a packet.
【請求項4】 上記エラーパケットの種類は、 アライメントエラー、ロングフレームエラー、FCSエ
ラー、ショートフレームエラーのいずれか1つであるこ
とを特徴とする請求項1、請求項2または請求項3に記
載のネットワークシステムに於ける異常診断方法。
4. The error packet according to claim 1, wherein the type of the error packet is one of an alignment error, a long frame error, an FCS error, and a short frame error. For diagnosing abnormalities in network systems.
【請求項5】 上記テストパケットは、上記エラーパケ
ット情報を包含せず、当該テストパケットにNビットが
付加されていることを示すビット付加情報を包含し、 上記端末機器のインタフェースは、上記テストパケット
を認識した際、上記ビット付加情報に基づき、この認識
したビット付加情報と上記テストパケットの示す実際の
ビット付加数が一致するか否かを判断してこの判断結果
の情報と、上記端末機器のアドレス情報と、上記ビット
付加数が不一致の場合、実際に認識したビット付加数の
情報とを包含する返信パケットを生成して、上記テスト
機能保持端末へ上記返信パケットを返信するようにした
ことを特徴とする請求項1、請求項2または請求項3に
記載のネットワークシステムに於ける異常診断方法。
5. The test packet does not include the error packet information, but includes bit additional information indicating that N bits are added to the test packet. The terminal device interface includes the test packet Is recognized, based on the bit addition information, it is determined whether or not the recognized bit addition information and the actual number of bit additions indicated by the test packet match, and the information of the determination result and the information of the terminal device When the address information does not match the number of added bits, a reply packet including the information of the actually recognized number of added bits is generated, and the reply packet is returned to the test function holding terminal. The method for diagnosing an abnormality in a network system according to claim 1, 2 or 3, wherein:
JP11105020A 1999-04-13 1999-04-13 Abnormality diagnostic method for network system Pending JP2000299696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11105020A JP2000299696A (en) 1999-04-13 1999-04-13 Abnormality diagnostic method for network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11105020A JP2000299696A (en) 1999-04-13 1999-04-13 Abnormality diagnostic method for network system

Publications (1)

Publication Number Publication Date
JP2000299696A true JP2000299696A (en) 2000-10-24

Family

ID=14396387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11105020A Pending JP2000299696A (en) 1999-04-13 1999-04-13 Abnormality diagnostic method for network system

Country Status (1)

Country Link
JP (1) JP2000299696A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003198592A (en) * 2001-12-21 2003-07-11 Kyushu Ando Denki Kk Inter-lan connector
CN100365994C (en) * 2004-06-17 2008-01-30 国际商业机器公司 Method and system for regulating ethernet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003198592A (en) * 2001-12-21 2003-07-11 Kyushu Ando Denki Kk Inter-lan connector
CN100365994C (en) * 2004-06-17 2008-01-30 国际商业机器公司 Method and system for regulating ethernet

Similar Documents

Publication Publication Date Title
US7738461B2 (en) Communication apparatus and switching device
US10404560B2 (en) Disconnection diagnosis
CN112737871A (en) Link fault detection method and device, computer equipment and storage medium
US8116212B2 (en) Line status monitoring circuit, node, communication system, and failure occurrence determining method
CN112260922A (en) Method and system for quickly positioning network loop problem
US6463037B1 (en) Looping detection apparatus
US20100309908A1 (en) Method and system for communicating with a network device
US8111625B2 (en) Method for detecting a message interface fault in a communication device
JP2000299696A (en) Abnormality diagnostic method for network system
JP3416604B2 (en) Network monitoring equipment
JP3850841B2 (en) Method and apparatus for monitoring safe transmission of data packet
US7170908B2 (en) System and method of selecting sources for a network element having redundant sources
CN112825501A (en) Signal degradation processing method, device and system
CN112637051A (en) Path detection message forwarding method and device
JP5542730B2 (en) Communication system and switching device
JP5367002B2 (en) Monitoring server and monitoring program
KR100630051B1 (en) Data packet damage and loss detection method for data communication system
JP2021064843A (en) Network management device, failure section determination method, and program
JP7417773B1 (en) Network interface card and transmission performance monitoring method
WO2014057610A1 (en) Communication apparatus
JP6662486B1 (en) Network management device, failure section determination method, and program
JPH11168527A (en) Transmission line fault detection system
CN116866153A (en) Network fault processing method and device, storage medium and electronic equipment
WO2024056184A1 (en) Ethernet device with safety features at the physical layer and method for a bi-directional data transfer between two ethernet devices
JPH0369227A (en) Node fault decision system