JP2005229537A - Network fault isolation method, network fault isolation tool and program - Google Patents

Network fault isolation method, network fault isolation tool and program Download PDF

Info

Publication number
JP2005229537A
JP2005229537A JP2004038809A JP2004038809A JP2005229537A JP 2005229537 A JP2005229537 A JP 2005229537A JP 2004038809 A JP2004038809 A JP 2004038809A JP 2004038809 A JP2004038809 A JP 2004038809A JP 2005229537 A JP2005229537 A JP 2005229537A
Authority
JP
Japan
Prior art keywords
communication
network
fault isolation
packet
packet 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.)
Withdrawn
Application number
JP2004038809A
Other languages
Japanese (ja)
Inventor
Seiji Futamura
誠示 二村
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2004038809A priority Critical patent/JP2005229537A/en
Publication of JP2005229537A publication Critical patent/JP2005229537A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network fault isolation method by which even a user having no high skill capable of understanding a communication protocol can deal with a fault at the time of the construction/formation of a network without requiring perfect protocol analysis at an application level, and to provide a network fault isolation tool and a program. <P>SOLUTION: A packet capture section 11 captures packet data PD from communication data DA that are received by a receiving port 10, on a communication line L and a communication connection/disconnection judging section 14 judges normality/abnormality from packet data PD that are captured by the packet capture section 11, in a predetermined region based on a connection status judging table 13, and presents a result of the judgement via a GUI section 16. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明はネットワーク障害切り分け方法、ネットワーク障害切り分けツール及びプログラムに関するものである。   The present invention relates to a network fault isolation method, a network fault isolation tool, and a program.

シリアル通信を用いたバス接続ローカルネットワークは、例えばテレビスタジオ調光システムやオンサイト発電システム等に用いられている。このバス接続ローカルネットワークを施工・構築する際にはネットワークの状態を調べてネットワーク障害の切り分けを行う必要がある。このネットワーク障害切り分け方法としては、次のような方法が従来用いられていた。   A bus connection local network using serial communication is used in, for example, a television studio dimming system, an on-site power generation system, and the like. When constructing and constructing this bus connection local network, it is necessary to investigate the state of the network and isolate the network fault. As this network fault isolation method, the following method has been conventionally used.

その方法としては、図13に示すようにネットワークの通信線L上に流れる通信データDAを監視するラインモニタ100を用いる方法である。ラインモニタ100はパケットキャプチャ部100aが取り込んだ通信データDAからパケットデータPDを抽出し、このパケットデータPDをそのままバイト列として表示部100bで表示するものであり、施工者やシステム管理者はこの表示されるバイト列からネットワーク状態を把握し、障害切り分けを切り分けを行うのである。   As the method, as shown in FIG. 13, a line monitor 100 for monitoring communication data DA flowing on the communication line L of the network is used. The line monitor 100 extracts the packet data PD from the communication data DA captured by the packet capture unit 100a, and displays the packet data PD as a byte string on the display unit 100b as it is. The network status is ascertained from the generated byte sequence, and fault isolation is performed.

また他の方法としては、通信プロトコルをアプリケーションレベルまで解析できる障害発見ツールを持ち、この障害発見ツールによってネットワークの障害切り分けを行う方法である。   As another method, there is a failure detection tool that can analyze the communication protocol up to the application level, and a network failure is isolated by using this failure detection tool.

例えば前記のバイト列表示の代わりにシリアル通信データに基づいて通信シーケンス図を表示させる通信プロトコルアナライザも提供されている(例えば特許文献1)
特開2003−273963号公報(図1)
For example, a communication protocol analyzer that displays a communication sequence diagram based on serial communication data instead of the byte string display is also provided (for example, Patent Document 1).
Japanese Patent Laying-Open No. 2003-273963 (FIG. 1)

前記のラインモニタ100を用いてパケットデータPDから障害切り分けを行う場合には、通信の上位プロトコルまで理解する高いスキルが施工者やシステム管理者に要求され、通信の知識がない者がネットワーク障害の切り分けを行うのは非常に難しいという問題があった。   When performing fault isolation from the packet data PD using the line monitor 100 described above, a high skill for understanding up to the upper protocol of communication is required of the installer and system administrator, and those who do not have communication knowledge can There was a problem that it was very difficult to perform carving.

また、障害発見ツールを用いる方法は、アプリケーションレベルの解析が完全にできるツールさえあれば、ネットワーク障害の切り分けを容易に行えるが、個々のシステムに個別に対応した解析ソフトウェアの開発が必要なため、コスト高で実用的でなかった。   In addition, the method using the failure detection tool can easily isolate the network failure as long as there is a tool that can complete the analysis at the application level, but it is necessary to develop analysis software individually corresponding to each system. It was expensive and not practical.

本発明は、前記の点に鑑みて為されたもので、アプリケーションレベルでの完全なプロトコル解析を必要とせず、通信プロトコルを理解できる高いスキルを持った人でなくてもネットワークの構築・施工時の障害に対応することができるネットワーク障害切り分け方法、ネットワーク障害切り分けツール及びプログラムを提供することにある。   The present invention has been made in view of the above points, and does not require a complete protocol analysis at the application level, and it is not necessary to have a highly skilled person who can understand communication protocols. It is an object of the present invention to provide a network fault isolation method, a network fault isolation tool, and a program that can deal with the faults of the network.

前記目的を達成するために、請求項1のネットワーク障害切り分け方法の発明では、シリアル通信を用いたバス接続のネットワークにおける障害切り分け方法において、ネットワークの通信線上の通信データを受信して通信データからパケットデータを取り込む過程と、予め通信フォーマット中のパケットデータの所定領域に対応付けて接続状況の正常や異常を判断するための定義付けを登録している接続状態判断用テーブルに基づいて、前記過程にて取り込んだパケットデータの所定領域の内容から正常/異常を判断する過程と、その判断結果を提示する過程と、前回取り込んだパケットデータに基づいて正常と判断されてから、次に正常と判断されるパケットデータが、前記接続状態判断用テーブルに登録されている一定時間以内に取り込まれなかった場合に異常と判断する過程とを含むことを特徴とする。   In order to achieve the above object, according to the invention of a network fault isolation method of claim 1, in the fault isolation method in a bus-connected network using serial communication, communication data on a communication line of the network is received and packets are transmitted from the communication data. Based on the process of capturing data and the connection state determination table in which the definition for determining whether the connection status is normal or abnormal is registered in advance in association with a predetermined area of the packet data in the communication format. The process of judging normality / abnormality from the contents of the predetermined area of the packet data fetched in this way, the process of presenting the judgment result, and the judgment of normality based on the previously fetched packet data, and then the judgment of normality Packet data within a certain period of time registered in the connection status determination table. Characterized in that it comprises a step of determining as abnormal if no rare.

請求項1のネットワーク障害切り分け方法の発明によれば、通信線上の通信データをモニタリングするに当たって、通信プロトコルのアプリケーションプロトコルを完全に理解することなしでも、通信障害の切り分けを可能とし、ネットワークの構築・施工時において、アプリケーションレベルの通信プロトコルが理解できる高いスキルを持った人でなくとも、構築・施工時のネットワーク障害に対応することができる
請求項2のネットワーク障害切り分け方法の発明では、請求項1の発明において、前記接続状態判断用テーブルを外部設定ファイルから読み込む過程を含むことを特徴とする。
According to the invention of the network fault isolation method of claim 1, it is possible to isolate a communication fault without monitoring the communication protocol on the communication line without completely understanding the application protocol of the communication protocol. Even if the person is not a highly skilled person who can understand the communication protocol at the application level at the time of construction, it can cope with the network trouble at the time of construction and construction. In the invention, the method includes a step of reading the connection state determination table from an external setting file.

請求項2のネットワーク障害切り分け方法の発明によれば、外部設定ファイルのカスタマイズによって種々の通信プロトコルに対応させることができる。   According to the invention of the network fault isolation method of claim 2, it is possible to cope with various communication protocols by customizing the external setting file.

請求項3の発明のネットワーク障害切り分けツールの発明では、シリアル通信を用いたバス接続のネットワークにおける障害切り分けに用いるネットワーク障害切り分けツールにおいて、ネットワークの通信線上の通信データを受信して通信データからパケットデータを取り込む取込手段と、予め通信フォーマット中のパケットデータの所定領域に対応付けて接続状況の正常や異常を判断するための定義付けを登録している接続状態判断用テーブルと、該接続状態判断用テーブルに基づき、前記取込手段で取り込んだパケットデータの所定領域の内容から正常/異常を判断するとともに、前回の判断で正常と判断してから次に正常と判断されるパケットデータが前記接続状態判断用テーブルに登録されている一定時間以内に取り込まれなかった場合に異常と判断する判断手段と、該判断手段の判断結果を提示する提示手段とを備えることを特徴とする。   According to the invention of the network fault isolation tool of the invention of claim 3, in the network fault isolation tool used for fault isolation in the bus connection network using serial communication, the communication data on the communication line of the network is received and the packet data is obtained from the communication data. A connection state determination table in which a definition for determining whether the connection status is normal or abnormal is registered in advance in association with a predetermined area of the packet data in the communication format, and the connection state determination Based on the table for use, the normality / abnormality is judged from the contents of the predetermined area of the packet data fetched by the fetching means, and the packet data that is judged as normal after the previous judgment is judged as normal Not captured within a certain time registered in the status judgment table Determining means for determining an abnormality when, and a presenting means for presenting the result of the judgment of the judgment means.

請求項3のネットワーク障害切り分けツールの発明によれば、通信線上の通信データをモニタリングするに当たって、通信プロトコルのアプリケーションレベルの通信プロトコルを完全に理解することなしでも、通信障害の切り分けを可能とし、ネットワークの構築・施工時において、アプリケーションプロトコルが理解できる高いスキルを持った人でなくとも、構築・施工時のネットワーク障害に対応することを可能とするネットワーク障害切り分けツールを提供することができる。   According to the invention of the network fault isolation tool of claim 3, the communication fault can be isolated without fully understanding the application level communication protocol of the communication protocol in monitoring the communication data on the communication line. It is possible to provide a network fault isolation tool that can cope with a network fault at the time of construction / construction even if it is not a highly skilled person who can understand the application protocol at the time of construction / construction.

請求項4のネットワーク障害切り分けツールの発明では、請求項3の発明において、前記接続状態判断用テーブルを外部設定ファイルから読み込む設定ファイル読み込み手段を備えていることを特徴とする。   According to a fourth aspect of the present invention, there is provided a network fault isolation tool according to the third aspect, further comprising setting file reading means for reading the connection state determination table from an external setting file.

請求項4のネットワーク障害切り分けツールの発明によれば、外部設定ファイルのカスタマイズによって種々の通信プロトコルに対応させることが可能なネットワーク障害切り分けツールを提供することができる。   According to the invention of the network fault isolation tool of claim 4, it is possible to provide a network fault isolation tool that can be adapted to various communication protocols by customizing the external setting file.

請求項5のプログラムの発明では、コンピュータ上で実行されることで、該コンピュータを請求項3又は4のネットワーク障害切り分けツールの前記判断手段、前記提示手段として機能させることを特徴とする。   The invention of the program according to claim 5 is characterized in that, when executed on a computer, the computer functions as the determination means and the presentation means of the network fault isolation tool according to claim 3 or 4.

請求項5のプログラムの発明によれば、該コンピュータを用いてネットワーク障害切り分けツールを実現できる。   According to the program invention of claim 5, a network fault isolation tool can be realized using the computer.

本発明は、通信線上の通信データをモニタリングするに当たって、通信プロトコルのアプリケーションレベルの通信プロトコルを完全に理解することなしでも、通信障害の切り分けを可能とし、ネットワークの構築・施工時において、アプリケーションプロトコルが理解できる高いスキルを持った人でなくとも、構築・施工時のネットワーク障害に対応することができるという効果がある。   The present invention makes it possible to isolate communication faults without monitoring the communication data on the communication line without completely understanding the communication protocol application level communication protocol. Even if it is not a person with high skills that can be understood, there is an effect that it is possible to cope with a network failure at the time of construction and construction.

以下本発明を実施形態により説明する。
(実施形態1)
図1に示す本実施形態のネットワーク障害切り分けツール(以下ツールという)1は図2に示すように端末21、22…2nが接続されたネットワークの通信線Lに接続する受信ポート10と、受信ポート10で受信する通信線L上の通信データDAからパケットデータPDを取り込む取込手段たるパケットキャプチャ部11と、当該ツール1の各構成要素間のデータの授受や制御を行うアプリケーション管理部(以下管理部という)12と、前記パケットキャプチャ部11で取り込んだパケットデータPDから後述する接続状況判断用テーブル13に登録されている接続状況通知パケット定義に基づいてデータネットワーク通信状態を判断する判断手段たる通信接続/切断判断部14と、モニタ装置17(図9参照)の表示画面のアイコンとポィンティングデバイスを利用して、ユーザーから処理の開始/停止命令を受け取って管理部12に渡したり、管理部12からネットワーク通信状態の判断結果を表示データとして受け取ってモニタ装置17で提示(表示)させるためのグラフィカル・ユーザー・インターフェース部(以下GUI部という)15と、前記接続状況判断用テーブル13を格納するメモリ部16とで構成されたものである。
Embodiments of the present invention will be described below.
(Embodiment 1)
A network fault isolation tool (hereinafter referred to as a tool) 1 according to the present embodiment shown in FIG. 1 includes a reception port 10 connected to a communication line L of a network to which terminals 21, 22... 2n are connected as shown in FIG. 10, a packet capture unit 11 serving as a capturing unit that captures packet data PD from the communication data DA on the communication line L received at 10, and an application management unit (hereinafter referred to as management) that exchanges and controls data between the components of the tool 1. 12) and communication as a determination means for determining the data network communication state based on the connection status notification packet definition registered in the connection status determination table 13 described later from the packet data PD captured by the packet capture unit 11 Icons of display screens of the connection / disconnection determination unit 14 and the monitor device 17 (see FIG. 9) Using a pointing device, a process start / stop command is received from the user and transferred to the management unit 12, or the determination result of the network communication state is received from the management unit 12 as display data and presented (displayed) on the monitor device 17. A graphical user interface unit (hereinafter referred to as a GUI unit) 15 and a memory unit 16 for storing the connection status determination table 13.

ここで本実施形態のツール1は、パーソナルコンピュータ等の汎用のコンピュータの中央演算装置上でネットワーク障害切り分けツール用のアプリケーションソフトウェアを実行することで、前記パケットキャプチャ部11、管理部12、通信接続/切断判断部14、GUI部15の各機能を中央演算装置に持たせたものであり、アプリケーションソフトウェアは記憶媒体により提供され、コンピュータに備わっている対応するドライブ装置(図示せず)から主メモリ上にロードされて実行される。またアプリケーションソフトウェアのロード時にアプリケーションソフトウェアとともにコンパイルされて一体となった接続状況判断用テーブル13もメモリ16上にロードされる。また通信設定データ(ボーレート、ストップビット、パリティ、バイトサイズ、受信ポート10のポート名)もロードされてパケットキャプチャ部11に読み込まれることになる。   Here, the tool 1 of the present embodiment executes the application software for the network fault isolation tool on the central processing unit of a general-purpose computer such as a personal computer, whereby the packet capture unit 11, the management unit 12, the communication connection / Each function of the disconnection determination unit 14 and the GUI unit 15 is provided in the central processing unit. Application software is provided by a storage medium, and is stored in a main memory from a corresponding drive device (not shown) provided in the computer. It is loaded and executed. In addition, a connection status determination table 13 that is compiled together with the application software when the application software is loaded is also loaded on the memory 16. Communication setting data (baud rate, stop bit, parity, byte size, port name of the receiving port 10) is also loaded and read into the packet capture unit 11.

尚通信接続/切断判断部14は図3に示すように端末識別部140と、通信状況判断部141に機能が分かれており、端末識別部140ではパケットデータPDのバイト列中の端末番号を示す所定領域から端末番号を識別する機能を有し、通信状況判断部141は後述する方法で端末2が正常接続されているか、異常が起きているかを判断して接続/切断の判断結果(通信状態)を管理部12へ出力する機能をそれぞれ有する。   As shown in FIG. 3, the communication connection / disconnection determination unit 14 is divided into a terminal identification unit 140 and a communication status determination unit 141. The terminal identification unit 140 indicates the terminal number in the byte string of the packet data PD. The communication status determination unit 141 has a function of identifying a terminal number from a predetermined area. The communication status determination unit 141 determines whether the terminal 2 is normally connected or abnormal by a method to be described later, and determines a connection / disconnection determination result (communication state). ) To the management unit 12.

前記接続状況判断用テーブル13に登録される接続状況通知パケットの内容定義は次のような動作に基づいて作成されている。   The content definition of the connection status notification packet registered in the connection status determination table 13 is created based on the following operation.

まず正常に端末間で通信が行われている場合の確認方法としては次の2通りの方法がある。   First, there are the following two methods as a confirmation method when communication is normally performed between terminals.

つまり図4(a)に示すように、例えば端末21から端末22に対して何らかの要求を行った場合に、この要求に対する応答が端末22から端末21にあった場合には正常な通信が行われていると判断できる。   That is, as shown in FIG. 4A, when a request is made from the terminal 21 to the terminal 22, for example, if a response to the request is received from the terminal 22 to the terminal 21, normal communication is performed. Can be judged.

また図4(b)に示すように、例えば端末21に対して端末22から一定時間おきに生存確認通知が為されている場合にも正常であると判断できる。   Further, as shown in FIG. 4B, for example, it can be determined that the terminal 21 is normal even when a survival confirmation notification is given to the terminal 21 from the terminal 22 at regular intervals.

一方、ある端末、或いはある端末に至るノードに異常が発生している場合の通信は図4(c)〜(f)の4通りの何れかになる。   On the other hand, communication in the case where an abnormality has occurred in a certain terminal or a node leading to a certain terminal is any one of the four types shown in FIGS.

つまり図4(c)に示すように、例えば端末22から端末21へ異常発生を示す異常通知を行う場合、或いは図4(d)に示すように、例えば端末21と端末22との間で何のやりとりもない場合、更に図4(e)に示すように、例えば端末21から端末22へある要求が為された場合において端末22から要求に対する応答がない場合、また更に図4(f)に示すように、例えば端末21に対して端末22から一定時間おきに生存確認通知が為されるべきところ、生存確認通知が為されなくなった場合も異常と判断できる。   That is, as shown in FIG. 4C, for example, when the abnormality notification indicating the occurrence of an abnormality is performed from the terminal 22 to the terminal 21, or between the terminal 21 and the terminal 22, as shown in FIG. 4 (e), when a request is made from the terminal 21 to the terminal 22, for example, there is no response to the request from the terminal 22, and further in FIG. 4 (f). As shown in the figure, for example, a survival confirmation notification should be given from the terminal 22 to the terminal 21 at regular intervals, but even when the survival confirmation notification is not given, it can be determined as abnormal.

以上の点からある端末から正常通信を通知するパケットデータPDが送信される(図4(a)、(b))場合は端末は正常に通信を行える状態にあると判断でき、またある端末から異常を通知するパケットデータPDが送信される場合(図4(c))や、端末から正常通信を示すパケットデータPDが一定時間経っても送信されない場合(図4(d)〜(f))には端末2が通信を行うのを妨げる障害(異常)が発生していると、判断できる。   From the above point, when packet data PD for notifying normal communication is transmitted from a certain terminal (FIGS. 4A and 4B), it can be determined that the terminal is in a state where communication can be normally performed, and from a certain terminal When packet data PD for notifying abnormality is transmitted (FIG. 4C), or when packet data PD indicating normal communication is not transmitted even after a certain period of time (FIGS. 4D to 4F) It can be determined that a failure (abnormality) that prevents the terminal 2 from communicating has occurred.

而して本実施形態では、前記各場合において接続状況を示すパケットデータPDの所定領域の内容定義や時間設定を行って前記の接続状況判断用テーブル13に登録し、この定義内容や設定された時間に基づいて判断処理を行うのである。   Thus, in this embodiment, the contents of the predetermined area of the packet data PD indicating the connection status in each case and the time setting are performed and registered in the connection status determination table 13, and the definition contents and the setting are set. Judgment processing is performed based on time.

次に本実施形態のツール1の動作を図5(a)、(b)のフローチャートに基づいて説明する。   Next, operation | movement of the tool 1 of this embodiment is demonstrated based on the flowchart of Fig.5 (a), (b).

まず図5(a)は端末からのパケットデータPDにより接続状態を判断するフローチャートを示し、図5(b)は正常通知のパケットが送信されてからの経過時間により接続状態を判断するフローチャートを示しており、図5(a)の判断処理では、まず受信ポート10で受信される通信線L上の通信データDAからパケットキャプチャ部11が管理部12のデータ受信開始命令に基づいてパケットデータPDを取り込み、管理部12を介して通信接続/切断判断部14へ送る(ステップS1)。   First, FIG. 5A shows a flowchart for determining the connection state based on the packet data PD from the terminal, and FIG. 5B shows a flowchart for determining the connection state based on the elapsed time after the normal notification packet is transmitted. In the determination process of FIG. 5A, first, the packet capture unit 11 obtains packet data PD from the communication data DA on the communication line L received by the reception port 10 based on the data reception start command of the management unit 12. Capture and send to the communication connection / disconnection determination unit 14 via the management unit 12 (step S1).

次に通信接続/切断判断部14は前記接続状況判断用テーブル13に登録されている接続状況通知パケットのパケットデータPDの所定領域に対応する内容定義を読み出して、内容定義に基づいて正常通知のパケットか否かを判断し(ステップS2)、正常通知のパケットであれば、内蔵する経過時間タイマ(図示せず)がカウントしている経過時間をリセットし(ステップS3)、正常な通信状態を示す判断結果を管理部12へ送る(ステップS4)。   Next, the communication connection / disconnection determination unit 14 reads a content definition corresponding to a predetermined area of the packet data PD of the connection status notification packet registered in the connection status determination table 13 and performs normal notification based on the content definition. It is determined whether or not it is a packet (step S2). If it is a normal notification packet, the elapsed time counted by a built-in elapsed time timer (not shown) is reset (step S3), and the normal communication state is changed. The determination result shown is sent to the management unit 12 (step S4).

管理部12は通信状態が正常であるとする判断結果を受け取ると、接続正常を提示するための表示データをGUI部15を通じてモニタ装置17に送り、その画面に接続正常であることを表示させる。   Upon receiving the determination result that the communication state is normal, the management unit 12 sends display data for presenting normal connection to the monitor device 17 through the GUI unit 15 and displays that the connection is normal on the screen.

また前記のステップS2で正常通知のパケットでないと判断されると、通信接続/切断判断部14は、当該パケットが異常通知パケットであるか否かの判断を当該パケットのパケットデータPDの所定領域の内容定義に基づいて行う(ステップS5)。ここで異常通知パケットと判断された場合には、異常な通知状態を示す判断結果を管理部12へ送る(ステップS6)。   If it is determined in step S2 that the packet is not a normal notification packet, the communication connection / disconnection determination unit 14 determines whether or not the packet is an abnormality notification packet in a predetermined area of the packet data PD of the packet. Based on the content definition (step S5). If it is determined that the packet is an abnormality notification packet, a determination result indicating an abnormal notification state is sent to the management unit 12 (step S6).

この判断結果を受け取った管理部12は接続異常を提示するための表示データをGUI部15を通じてモニタ装置17に送り、その画面に接続異常であることを表示させる。   Receiving this determination result, the management unit 12 sends display data for presenting the connection abnormality to the monitor device 17 through the GUI unit 15 and displays that the connection is abnormal on the screen.

一方前記のステップS5で、異常通知パケットでないと判断された場合には、通信接続/切断判断部14は接続変化なしを示す判断結果を管理部12へ送る(ステップS7)。この判断結果を受け取った管理部12は接続変化なしを提示する表示データをGUI部15を通じてモニタ装置17へ送り、その画面に接続変化なしであることを表示させる。   On the other hand, if it is determined in step S5 that the packet is not an abnormality notification packet, the communication connection / disconnection determination unit 14 sends a determination result indicating no connection change to the management unit 12 (step S7). Upon receiving this determination result, the management unit 12 sends display data indicating that there is no connection change to the monitor device 17 through the GUI unit 15 and displays on the screen that there is no connection change.

ところで前記ステップS2(又はS5)において、受信したパケットデータが正常(又は異常)通知パケットであるかどうかを判断する方法について説明する。   Now, a method for determining whether or not the received packet data is a normal (or abnormal) notification packet in step S2 (or S5) will be described.

本実施形態のツール1を用いるシリアル通信では、全てのパケットに通信状況が含まれているわけではなく、通信状況情報が含まれているパケットにおいても、パケットデータPDの全バイト列を確認する必要はなく、例えば図6に示すように通信状況が含まれているパケットにおいてもパケットデータPDの所定領域のバイトをチェックすれば、ほしい情報が得られる。   In serial communication using the tool 1 of the present embodiment, not all packets include a communication status, and it is necessary to check all byte sequences of packet data PD even in a packet including communication status information. For example, as shown in FIG. 6, even in a packet including the communication status, the desired information can be obtained by checking the bytes in the predetermined area of the packet data PD.

この図6の場合には、パケットの先頭から3バイト目のデータ(例えば0x03)がパケットの種類(端末状態を示す種類)を示し、7バイト目から2バイト分のデータ(例えば0x0010)が端末の生存を示しており、従ってこのパケットが端末状態を示すものであって、このパケットを端末から通信されたとき、当該端末が正常に接続されていると判断できるのである。   In the case of FIG. 6, the third byte data (for example, 0x03) from the head of the packet indicates the packet type (type indicating the terminal status), and the data for two bytes (for example, 0x0010) from the seventh byte is the terminal. Therefore, when this packet is communicated from the terminal, it can be determined that the terminal is normally connected.

図7はステップS2での判断処理のフローチャートを示しており、通信接続/切断判断部14は、管理部12を通じてパケットデータPDを受け取る(ステップS1)と、ステップS2内の処理を行う。つまり、ステップS20では、接続状況判断用テーブル13から定義内容を読み出す。   FIG. 7 shows a flowchart of the determination process in step S2, and the communication connection / disconnection determination unit 14 receives the packet data PD through the management unit 12 (step S1), and performs the process in step S2. That is, in step S20, the definition content is read from the connection status determination table 13.

ここで接続状況判断用テーブル13に登録されている定義内容の具体例を表1に基づいて説明する。   A specific example of the definition contents registered in the connection status determination table 13 will be described with reference to Table 1.

Figure 2005229537
Figure 2005229537

この表1中、[Position]欄は接続の状況と特徴付けるコードのパケットデータPD中での位置を表し、パケットデータPDの先頭から何バイト目かを記述する。[Size]欄は[Position]欄で記述された位置にある接続の状況を特徴付けるコードのサイズ(バイト数)を記述する。[Mask]欄はコードをビット単位まで検証するためのにかけるマスクで16進表記される。[Code]欄はマスクをかけたあとのコードの値と比較するためのデータを記述する。[Type]欄はパケット中コードと、テーブル中コードが一致すればいいのか、しなければよいのかを「True」と、「False」とで記述する。   In Table 1, the [Position] column represents the connection status and the position of the character to be characterized in the packet data PD, and describes the number of bytes from the beginning of the packet data PD. The [Size] column describes the size (number of bytes) of the code that characterizes the connection status at the position described in the [Position] column. The [Mask] field is expressed in hexadecimal with a mask applied to verify the code to the bit unit. [Code] column describes data to be compared with the code value after masking. In the [Type] column, “True” and “False” describe whether the code in the packet should match the code in the table or not.

さて前記のステップS20で接続状況判断用テーブル13から定義内容を読み出すと、通信接続/切断判断部14は、次のステップS21でパケット中の指定位置の切り出しを行う。つまり接続状況判断用テーブル13の[Position]欄の記述と、[Size]欄の記述に従い、特定領域のバイト列を取り出す処理を行う。   When the definition content is read from the connection status determination table 13 in step S20, the communication connection / disconnection determination unit 14 cuts out the designated position in the packet in the next step S21. That is, processing for extracting a byte string of a specific area is performed according to the description in the [Position] column of the connection status determination table 13 and the description in the [Size] column.

この取り出し処理後、ステップS22で、取り出した特定領域のバイト列と、接続状況判断用テーブル13の[Mask]に記述した16進データの論理積演算を行い、次のステップS23でパケットデータPDの所定領域のデータと接続状況判断用テーブル13のコードとの比較を行う。つまり接続状況判断用テーブル13の[Type]欄の記述が「True」であれば、マスク処理で得られたデータと、接続状況判断用テーブル13の「Code」の欄の16進データが一致しているときにはステップS25へ遷移し、接続状況判断用テーブル13の[Type]欄の記述が「False」であれば、マスク処理で得られたデータと、接続状況判断用テーブル13の[Code]欄の16進データが一致しなかったときには同様にステップS25へ遷移する。ステップS25では未比較コードがあるか否かの判断を行う。つまり接続状況判断用テーブル13の1行目から検証を行い、接続状況判断用テーブル13中に未だ検証されていない行のデータがあればステップS21へ戻る。ステップS24で[No」の場合には図4(a)のステップS5へ、またステップ25で「No」の場合には図4(a)のステップS3へそれぞれ遷移する。   After this extraction process, in step S22, the AND operation of the extracted byte sequence of the specific area and the hexadecimal data described in [Mask] of the connection status determination table 13 is performed. In the next step S23, the packet data PD is calculated. The data in the predetermined area is compared with the code in the connection status determination table 13. In other words, if the description in the [Type] column of the connection status determination table 13 is “True”, the data obtained by the mask processing matches the hexadecimal data in the “Code” column of the connection status determination table 13. If the description in the [Type] column of the connection status determination table 13 is “False”, the data obtained by the mask process and the [Code] column of the connection status determination table 13 are displayed. Similarly, when the hexadecimal data does not match, the process proceeds to step S25. In step S25, it is determined whether there is an uncompared code. That is, verification is performed from the first row of the connection status determination table 13, and if there is data in a row that has not been verified yet in the connection status determination table 13, the process returns to step S21. If “No” in step S24, the process proceeds to step S5 in FIG. 4A, and if “No” in step 25, the process proceeds to step S3 in FIG.

実際にパケットデータPDの取り込みを行った場合、図7のフローチャートをどのように遷移するのかを表2の接続状況判断用テーブル13と、図8のパケットデータPDを用いて説明する。   7 will be described with reference to the connection status determination table 13 of Table 2 and the packet data PD of FIG. 8 when the packet data PD is actually captured.

Figure 2005229537
Figure 2005229537

まずステップS20のパケット指定位置切り出しを行う。この場合表2の接続状況判断用テーブル13の[Position]欄及び[Size]欄の記述内容に基づいて5バイト目から1バイト分のキャラクタを切り出す(→0x00)。   First, the packet designated position is cut out in step S20. In this case, a 1-byte character is cut out from the 5th byte based on the description contents of the [Position] field and the [Size] field of the connection status determination table 13 in Table 2 (→ 0x00).

次にステップS21において指定位置のバイト列に対するマスク処理を行う。この場合切り出したバイト列に[Mask]欄の16進データによりマスクをかける(0x00&0xFF)=0x00)。   In step S21, a mask process is performed on the byte string at the designated position. In this case, the cut-out byte string is masked with hexadecimal data in the [Mask] field (0x00 & 0xFF) = 0x00).

次のステップS23において接続状況判断用テーブル13の[Code]欄のコードと比較を行う。この場合[Code]欄のコードとマスク処理をしたパケットデータを比較して、[Type]欄の記述内容によって「Yes」<ステップS24>に遷移するか、「No」<ステップS4>へ遷移するかを決定する。この場合一致したときに「Yes」へ遷移するのが「True」であり、一致しないときに「Yes」へ遷移するのが「False」である。表2の場合、Code=0x00なので、一致しており、またType=Trueなので、「Yes」へ遷移する。   In the next step S23, a comparison is made with the code in the [Code] column of the connection status determination table 13. In this case, the code in the [Code] field is compared with the masked packet data, and the process proceeds to “Yes” <Step S24> or “No” <Step S4> depending on the description in the [Type] field. To decide. In this case, the transition to “Yes” is “True” when they match, and “False” is the transition to “Yes” when they do not match. In the case of Table 2, since Code = 0x00, they match, and since Type = True, the transition is made to “Yes”.

さてステップS24へ遷移すると、未比較コードの有無が判定される。つまり、接続状況判断用テーブル13の最終行でなければ、「Yes」<ステップS21>へ遷移し、最終行であれば「No」<ステップS3>へ遷移する。この場合2行目があるので、「Yes」へ遷移する。   When the process proceeds to step S24, it is determined whether or not there is an uncompared code. That is, if it is not the last line of the connection status determination table 13, the process proceeds to “Yes” <Step S21>, and if it is the last line, the process proceeds to “No” <Step S3>. In this case, since there is a second line, transition is made to “Yes”.

この遷移により再度ステップS21で指定位置切り出し処理を行う。この場合[Position]欄は12バイト、[Size]欄は2バイトを示しているため、先頭から12バイト目から2バイト分のキャラクタ(→0x0040)を切り出す。次にステップS22で指定位置バイト列マスク処理を行う。この場合[Mask]欄はFF80が記入されているため、0x0040&0xFF80=0x0000となる。   With this transition, the designated position cut-out process is performed again in step S21. In this case, since the [Position] field indicates 12 bytes and the [Size] field indicates 2 bytes, 2 bytes of characters (→ 0x0040) are cut out from the 12th byte from the top. In step S22, a designated position byte string mask process is performed. In this case, since FF80 is entered in the [Mask] column, 0x0040 & 0xFF80 = 0x0000.

次のステップS23で接続状況判断用テーブル13の[Code]欄の記入内容と比較する。この場合0x0080≠0x0000であり、しかも[Type]欄は「False」であるので「Yes」へ遷移する。   In the next step S23, it is compared with the contents entered in the [Code] column of the connection status determination table 13. In this case, 0x0080 ≠ 0x0000, and since the [Type] column is “False”, the process proceeds to “Yes”.

ステップS24へ遷移すると、未比較コードの有無が判定される。つまり、接続状況判断用テーブル13の最終行でなければ、「Yes」<ステップS21>へ遷移し、最終行であれば「No」<ステップS3>へ遷移する。この場合3行目があるので、「Yes」へ遷移する。   When the process proceeds to step S24, it is determined whether or not there is an uncompared code. That is, if it is not the last line of the connection status determination table 13, the process proceeds to “Yes” <Step S21>, and if it is the last line, the process proceeds to “No” <Step S3>. In this case, since there is a third line, transition to “Yes”.

この遷移により上述と同様にステップS21で指定位置切り出し処理を行う。この場合[Position]欄は17バイト、[Size]欄は2バイトを示しているため、先頭から17バイト目から2バイト分のキャラクタ(→0x5540)を切り出す。次にステップS22で指定位置バイト列マスク処理を行う。この場合[Mask]欄は0101が記入されているため、0x5540&0x0101=0x0100となる。   With this transition, the designated position cut-out process is performed in step S21 as described above. In this case, since the [Position] field indicates 17 bytes and the [Size] field indicates 2 bytes, a 2-byte character (→ 0x5540) is extracted from the 17th byte from the top. In step S22, a designated position byte string mask process is performed. In this case, since 0101 is entered in the [Mask] field, 0x5540 & 0x0101 = 0x0100.

次のステップS23で接続状況判断用テーブル13の[Code]欄の記入内容と比較する。この場合0x0100≠0x0101であり、しかも[Type]欄は「True」であるので「No」へ遷移する。   In the next step S23, it is compared with the contents entered in the [Code] column of the connection status determination table 13. In this case, 0x0100 ≠ 0x0101, and since the [Type] field is “True”, the state transitions to “No”.

従って通信接続/切断判断部14から管理部12へ送る判断結果は「切断」つまり「異常」となる。   Accordingly, the determination result sent from the communication connection / disconnection determination unit 14 to the management unit 12 is “disconnection”, that is, “abnormal”.

ところで、正常通知パケットを取り込んでから通信接続/切断判断部14は図5(b)に示すように経過時間タイマで時間カウント(ステップ10)を行っており、ステップ11において次の正常通知パケットが一定時間経過(タイムアウト)するまでに取り込まれるか否かをチェックしており、タイムアウトした場合には、接続異常と判断し(ステップS12)、またタイムアウトするまでに受け取った場合に接続変化なしと判断し(ステップ13)する処理を行い、判断結果を管理部12へ送り、管理部12はこの判断結果に基づいた表示データをGUI部15を介してモニタ装置17に送って表示させるようなっている。   By the way, after capturing the normal notification packet, the communication connection / disconnection determination unit 14 counts time with the elapsed time timer (step 10) as shown in FIG. 5B. In step 11, the next normal notification packet is received. It is checked whether or not the data is taken in before a certain time elapses (timeout). If timed out, it is determined that the connection is abnormal (step S12). (Step 13), the determination result is sent to the management unit 12, and the management unit 12 sends display data based on the determination result to the monitor device 17 via the GUI unit 15 for display. .

而して通信接続/切断判断部15の判断結果に基づいて管理部12はGUI部15を通じてモニタ装置17の画面に例えば図9に示すように各端末21…の端末番号と、端末名と、接続状況を表形式で表示する。つまり従来のようにバイト列の表示ではなく、直感的に正常に接続されている端末と、切断され動作していない端末とがわかる形で表示される。つまり管理部12、GUI部15及びモニタ装置17が提示手段を構成する。   Thus, based on the determination result of the communication connection / disconnection determination unit 15, the management unit 12 displays on the screen of the monitor device 17 through the GUI unit 15 the terminal number of each terminal 21..., As shown in FIG. Displays the connection status in a table format. That is, instead of displaying a byte string as in the prior art, it is displayed in a form in which a terminal that is normally connected intuitively and a terminal that is disconnected and not operating are understood. That is, the management unit 12, the GUI unit 15, and the monitor device 17 constitute presentation means.

以上の本実施形態のツール1を用いれば、モニタリングする通信プロトコルをアプリケーションレベルまで完全に理解することなしでも、ネットワークの構築・施工時において、障害の切り分けができることになる。   By using the tool 1 of the present embodiment as described above, it is possible to isolate a failure at the time of network construction / construction without fully understanding the communication protocol to be monitored up to the application level.

また端末が生存確認を行うパケット内容、生存確認パケットが流れる時間間隔、端末以上を通知するパケット内容、パケットデータPD中の端末番号を識別する領域がわかることで、どの端末(までのノード)が通信障害を起こしているのか、という情報を得ることができる。   In addition, it is possible to know which terminal (up to the node) by identifying the contents of the packet that the terminal confirms the existence of, the time interval through which the existence confirmation packet flows, the contents of the packet that notifies the terminal or more, and the area for identifying the terminal number in the packet data PD Information indicating whether a communication failure has occurred can be obtained.

(実施形態2)
前記実施形態1ではツール1の機能を実現するためのアプリケーションソフトウェアのロード時にメモリ16内に格納される接続状況判断用テーブル13から定義内容を通信接続/切断判断部14が読み出して判断処理を行うようになっていたが、本実施形態では図10に示すように通信設定データと、通信における障害切り分け用の接続状況通知パケットの内容定義を登録している接続状況判断用テーブルデータを書き込んだテキストファイルからなる外部設定ファイル18を所定の記憶媒体に格納しておき、ツール1を用いて障害切り分けを行う場合に、外部設定ファイル18から通信設定データ及び接続状況判断用テーブルデータを記憶媒体から設定ファイル読み込み部19を通じて読み取る点に特徴があり、管理部12は設定読み込み命令を設定ファイル読み込み部19に与えて各種設定データを設定ファイル読み込み部19を通じて受け取り、通信設定データ(ボーレート、ストップビット、パリティ、バイトサイズ、受信ポート10のポート名)はパケットキャプチャ部11へ、接続状況通知パケット定義(正常通知パケットの定義、異常通知パケットの定義、生存確認パケットの送信時間間隔及びパケット中の端末番号識別領域手定義)を通信接続/切断判断部14へ渡すようになっている。尚記憶媒体からデータ読み取りのための装置は記憶媒体に対応したものを用いる。
(Embodiment 2)
In the first embodiment, the communication connection / disconnection determination unit 14 reads the definition contents from the connection status determination table 13 stored in the memory 16 when the application software for realizing the function of the tool 1 is loaded, and performs determination processing. However, in this embodiment, as shown in FIG. 10, the communication setting data and the text in which the connection status determination table data in which the content definition of the connection status notification packet for communication fault isolation is registered are written. When the external setting file 18 composed of files is stored in a predetermined storage medium and the failure isolation is performed using the tool 1, communication setting data and connection status determination table data are set from the storage medium. It is characterized in that it is read through the file reading unit 19, and the management unit 12 reads the settings. An instruction is given to the setting file reading unit 19 to receive various setting data through the setting file reading unit 19, and communication setting data (baud rate, stop bit, parity, byte size, port name of the receiving port 10) is sent to the packet capture unit 11. Connection status notification packet definition (definition of normal notification packet, definition of abnormality notification packet, transmission time interval of survival confirmation packet and terminal number identification area manual definition in packet) is passed to communication connection / disconnection determination unit 14. Yes. An apparatus for reading data from a storage medium is used corresponding to the storage medium.

尚その他の構成は実施形態1と同じであるので、同じ構成要素には同じ符号を付して説明を省略する。   Since other configurations are the same as those of the first embodiment, the same components are denoted by the same reference numerals and description thereof is omitted.

図11は本実施形態に用いる外部設定ファイルの書式例(モニタ装置16の画面上で表示させた状態)を示す。   FIG. 11 shows a format example of the external setting file used in the present embodiment (a state displayed on the screen of the monitor device 16).

この書式例において、[Communication]欄は、通信の設定を行う欄であって、欄中、BaudRateはモニタリングする通信のボーレートを示し、Stopbitはモニタリングする通信のストップビットを示し、Parityはモニタリングする通信のパリティ設定を示し、またByteSizeがモニタリングするバイトサイズを示す。   In this format example, the [Communication] column is a column for setting communication, in which BaudRate indicates the baud rate of the monitored communication, Stopbit indicates the stop bit of the monitored communication, and Parity indicates the communication to be monitored. The parity setting of ByteSize indicates the byte size to be monitored.

また[Device]欄は、端末番号を識別するための、パケット内端末番号領域の定義を行う欄であって、欄中のDev_Posは端末番号識別領域の先頭位置、Dev_Sizeは端末番号識別領域のサイズを示す。   The [Device] column is a column for defining a terminal number area in a packet for identifying a terminal number, and Dev_Pos in the column is the start position of the terminal number identification area, Dev_Size is the size of the terminal number identification area Indicates.

更に[Connect]欄は、接続正常通知パケットの定義を行う欄であって、欄中Code#_Posは正常通知パケットを特徴付ける領域(バイト列)の先頭位置を示し、またCode#_Sizeは正常通知パケットを特徴付ける領域のサイズを示し、Code#_Maskはパケットデータ内の正常通知パケットを識別するための領域を評価するためにかけるマスクを示し、更にCode#_Typeはパケット中コードと外部設定ファイル中コードが一致すればいいのか、しなければいいのかを論理値”1”又は”0”で記述する項目を示し、更にCode#は正常通知パケットを特徴付ける領域のバイト列を16進で表記する項目を示す。   Further, the [Connect] column is a column for defining a connection normal notification packet. In the column, Code # _Pos indicates the start position of an area (byte string) characterizing the normal notification packet, and Code # _Size is a normal notification packet. Code # _Mask indicates the mask applied to evaluate the area for identifying the normal notification packet in the packet data, and Code # _Type indicates the code in the packet and the code in the external setting file. An item describing whether it should match or not should be indicated by a logical value “1” or “0”, and Code # indicates an item indicating a byte string of an area characterizing a normal notification packet in hexadecimal. .

また更に[Connect_Timeout]欄は、Timeoutで設定した秒数の間、[Connect]欄で定義したパケットが送信されないと、接続状態を異常とする定義を行う欄であって、マイナスの値を設定すると、タイムアウトの設定を行わないようになっている。   Furthermore, the [Connect_Timeout] field is a field for defining that the connection status is abnormal if the packet defined in the [Connect] field is not transmitted for the number of seconds set in Timeout. The timeout setting is not made.

また[Disconnect]欄は接続異常通知パケットの定義を行う欄であって、その記述内容は[Connect]欄と同じとなっている。   The [Disconnect] field is a field for defining a connection error notification packet, and the description content is the same as the [Connect] field.

而して本実施形態では、通信設定データ及び定義データをテキストファイルからなる外部設定ファイル2を用いるためカスタマイズができ、アプリケーションソフトウェアを構成するプログラムとともにコンパイルする必要がないため、異なる通信プロトコルを用いたネットワークシステムに容易に適用させることができる。またアプリケーションプロトコルを理解したシステム開発者が施工調整する必要もあったが、システム開発者は定義ファイルを用意するだけでよくなる。   Thus, in this embodiment, the communication setting data and the definition data can be customized because the external setting file 2 made up of text files is used, and it is not necessary to compile with the program constituting the application software. It can be easily applied to a network system. Also, the system developer who understands the application protocol had to adjust the construction, but the system developer only needs to prepare the definition file.

(実施形態3)
本実施形態のツール1は、実施形態2の構成に、図10において破線で示す帯域占有率計算部20を加えたものである。帯域占有率計算部20は、管理部12からボーレートやバイトサイズ等の通信設定と、パケットデータPDとを受け取り、次式によって、各端末21…や通信コマンド毎の帯域占有率を計算する機能を有するものである。
(Embodiment 3)
The tool 1 of the present embodiment is obtained by adding a bandwidth occupancy rate calculation unit 20 indicated by a broken line in FIG. 10 to the configuration of the second embodiment. The bandwidth occupancy rate calculation unit 20 receives a communication setting such as a baud rate and a byte size from the management unit 12 and packet data PD, and calculates a bandwidth occupancy rate for each terminal 21. It is what you have.

Figure 2005229537
Figure 2005229537

ここで帯域占有率計算部20は、図12(a)に示すように指定されたパケット内の端末番号領域情報を帯域占有率計算機能部21へ与え、端末番号毎の帯域占有率を計算させる端末識別機能部20と、図12(b)で示すよう指定されたパケット内の通信コマンド領域情報を帯域占有率計算機能部21へ与え、通信コマンド毎の帯域占有率を計算させるコマンド識別機能部20’とを備え、パケット内の指定した情報毎の帯域占有率を計算することができるようになっている。この計算された帯域占有率は管理部12及びGUI部15を通じてモニタ装置17で表示される。   Here, the bandwidth occupancy rate calculation unit 20 gives the terminal number area information in the designated packet to the bandwidth occupancy rate calculation function unit 21 as shown in FIG. 12A, and calculates the bandwidth occupancy rate for each terminal number. A terminal identification function unit 20 and a command identification function unit that gives the communication command area information in the packet designated as shown in FIG. 12B to the bandwidth occupancy rate calculation function unit 21 and calculates the bandwidth occupancy rate for each communication command. 20 ′, and the bandwidth occupancy for each piece of information specified in the packet can be calculated. The calculated bandwidth occupancy is displayed on the monitor device 17 through the management unit 12 and the GUI unit 15.

而して、どの端末ノードの通信負荷が高いかを知りたければ端末21…毎の帯域占有率を調べることができ、また通信コマンド毎の帯域占有率を調べることで、正常時にはある通信コマンドの帯域占有率が高いのに、異常時は別のコマンドの帯域占有率が高い等の情報を得ることができる。尚この計算された帯域占有率は管理部12及びGUI部15を通じてモニタ装置17で表示される。   Therefore, if you want to know which terminal node has a high communication load, you can check the bandwidth occupancy for each terminal 21 ..., and by checking the bandwidth occupancy for each communication command, Even when the bandwidth occupancy is high, information such as a high bandwidth occupancy of another command can be obtained at the time of abnormality. The calculated bandwidth occupancy is displayed on the monitor device 17 through the management unit 12 and the GUI unit 15.

尚この帯域占有率計算部20は実施形態1の構成に加えても勿論よい。   Of course, the bandwidth occupancy rate calculation unit 20 may be added to the configuration of the first embodiment.

実施形態1のネットワーク障害切り分けツールの構成図である。It is a block diagram of the network fault isolation tool of Embodiment 1. 実施形態1のネットワーク障害切り分けツールを接続した状態のネットワークのシステム構成図である。It is a system configuration | structure figure of the network of the state which connected the network failure isolation tool of Embodiment 1. FIG. 実施形態1の通信接続/切断判断部の構成図である。FIG. 3 is a configuration diagram of a communication connection / disconnection determination unit according to the first embodiment. 実施形態1の正常、異常の判断方法の説明図である。FIG. 3 is an explanatory diagram of a normal / abnormal judgment method according to the first embodiment. 実施形態1の動作説明用フローチャートで、(a)は正常通知パケット、異常通知パケットに対応する判断処理のフローチャート、(b)はパケットデータの一定時間毎の受信に対応する判断処理のフローチャートである。FIG. 2 is a flowchart for explaining the operation of the first embodiment, wherein (a) is a flowchart of a determination process corresponding to a normal notification packet and an abnormality notification packet, and (b) is a flowchart of a determination process corresponding to reception of packet data at regular intervals. . 実施形態1の正常、異常を判断する方法を説明するためのパケットデータ例図である。FIG. 3 is a packet data example diagram for explaining a method of determining normality or abnormality of the first embodiment. 実施形態1の正常通知パケット、異常通知パケットに対応する判断処理の詳細を示すフローチャートである。6 is a flowchart illustrating details of determination processing corresponding to a normal notification packet and an abnormality notification packet according to the first exemplary embodiment. 実施形態1の具体的な判断処理説明用のパケットデータ例図である。6 is a packet data example diagram for explaining specific determination processing according to the first embodiment; FIG. 実施形態1のモニタ装置の画面表示例図である。FIG. 3 is a screen display example diagram of the monitor device according to the first embodiment. 実施形態2(及び実施形態3)のネットワーク障害切り分けツールの構成図であるIt is a block diagram of the network fault isolation tool of Embodiment 2 (and Embodiment 3). 実施形態2の外部設定ファイルの書式例図である。FIG. 10 is a format example diagram of an external setting file according to the second embodiment. 実施形態3の帯域占有率計算部の構成を示し、(a)は端末識別に対応する構成図、(b)は通信コマンド識別に対応する構成図である。The structure of the bandwidth utilization ratio calculation part of Embodiment 3 is shown, (a) is a block diagram corresponding to terminal identification, (b) is a block diagram corresponding to communication command identification. 従来例のラインモニタの構成図である。It is a block diagram of the line monitor of a prior art example.

符号の説明Explanation of symbols

1 ネットワーク障害切り分けツール
10 受信ポート
11 パケットキャプチャ部
12 アプリケーション管理部
13 接続状況判断用テーブル
14 通信接続/切断判断部
15 GUI部
16 メモリ
L 通信線
DA 通信データ
PD パケットデータ
DESCRIPTION OF SYMBOLS 1 Network failure isolation tool 10 Reception port 11 Packet capture part 12 Application management part 13 Connection status judgment table 14 Communication connection / disconnection judgment part 15 GUI part 16 Memory L Communication line DA Communication data PD Packet data

Claims (5)

シリアル通信を用いたバス接続のネットワークにおける障害切り分け方法において、ネットワークの通信線上の通信データを受信して通信データからパケットデータを取り込む過程と、予め通信フォーマット中のパケットデータの所定領域に対応付けて接続状況の正常や異常を判断するための定義付けを登録している接続状態判断用テーブルに基づいて、前記過程にて取り込んだパケットデータの所定領域の内容から正常/異常を判断する過程と、その判断結果を提示する過程と、前回取り込んだパケットデータに基づいて正常と判断されてから、次に正常と判断されるパケットデータが、前記接続状態判断用テーブルに登録されている一定時間以内に取り込まれなかった場合に異常と判断する過程とを含むことを特徴とするネットワーク障害切り分け方法。 In a fault isolation method in a bus connection network using serial communication, a process of receiving communication data on a communication line of the network and capturing packet data from the communication data, and a predetermined area of the packet data in the communication format in advance A process of determining normality / abnormality from the contents of a predetermined area of the packet data captured in the above process based on a connection state determination table in which a definition for determining normality or abnormality of the connection status is registered; The process of presenting the determination result, and the packet data determined to be normal based on the previously acquired packet data within a predetermined time registered in the connection state determination table after being determined normal A network failure characterized by including a process of determining an abnormality when it is not captured Cut method. 前記接続状態判断用テーブルを外部設定ファイルから読み込む過程を含むことを特徴とする請求項1記載のネットワーク障害切り分け方法。 2. The network fault isolation method according to claim 1, further comprising a step of reading the connection state determination table from an external setting file. シリアル通信を用いたバス接続のネットワークにおける障害切り分けに用いるネットワーク障害切り分けツールにおいて、ネットワークの通信線上の通信データを受信して通信データからパケットデータを取り込む取込手段と、予め通信フォーマット中のパケットデータの所定領域に対応付けて接続状況の正常や異常を判断するための定義付けを登録している接続状態判断用テーブルと、該接続状態判断用テーブルに基づき、前記取込手段で取り込んだパケットデータの所定領域の内容から正常/異常を判断するとともに、前回の判断で正常と判断してから次に正常と判断されるパケットデータが前記接続状態判断用テーブルに登録されている一定時間以内に取り込まれなかった場合に異常と判断する判断手段と、該判断手段の判断結果を提示する提示手段とを備えることを特徴とするネットワーク障害切り分けツール。 In a network fault isolation tool used for fault isolation in a bus-connected network using serial communication, capture means for receiving communication data on a network communication line and capturing packet data from the communication data, and packet data in a communication format in advance A connection state determination table in which a definition for determining whether the connection status is normal or abnormal is registered in association with the predetermined area, and packet data acquired by the acquisition unit based on the connection state determination table The normal / abnormal is determined from the contents of the predetermined area of the packet, and the packet data that is determined to be normal next time after being determined to be normal in the previous determination is captured within a predetermined time registered in the connection state determination table. If there is a failure, the judgment means for judging the abnormality and the judgment result of the judgment means are provided. Network fault isolation tools and a presenting means for. 前記接続状態判断用テーブルを外部設定ファイルから読み込む設定ファイル読み込み手段を備えていることを特徴とする請求項3記載のネットワーク障害切り分けツール。 4. The network fault isolation tool according to claim 3, further comprising setting file reading means for reading the connection state determination table from an external setting file. コンピュータ上で実行されることで、該コンピュータを請求項3又は4のネットワーク障害切り分けツールの前記判断手段、前記提示手段として機能させることを特徴とするプログラム。 A program that, when executed on a computer, causes the computer to function as the determination unit and the presentation unit of the network fault isolation tool according to claim 3 or 4.
JP2004038809A 2004-02-16 2004-02-16 Network fault isolation method, network fault isolation tool and program Withdrawn JP2005229537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004038809A JP2005229537A (en) 2004-02-16 2004-02-16 Network fault isolation method, network fault isolation tool and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004038809A JP2005229537A (en) 2004-02-16 2004-02-16 Network fault isolation method, network fault isolation tool and program

Publications (1)

Publication Number Publication Date
JP2005229537A true JP2005229537A (en) 2005-08-25

Family

ID=35003888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004038809A Withdrawn JP2005229537A (en) 2004-02-16 2004-02-16 Network fault isolation method, network fault isolation tool and program

Country Status (1)

Country Link
JP (1) JP2005229537A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080062817A (en) * 2006-12-29 2008-07-03 한전케이디엔주식회사 Zigbee sensor network analysis system
WO2012144300A1 (en) * 2011-04-19 2012-10-26 株式会社 東芝 Synchronization control system
JP2014093625A (en) * 2012-11-02 2014-05-19 Yamaha Corp Music system control method
JP2022500963A (en) * 2018-09-19 2022-01-04 マグデータ インクMagdata Inc. Network security monitoring methods, network security monitoring devices and systems

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080062817A (en) * 2006-12-29 2008-07-03 한전케이디엔주식회사 Zigbee sensor network analysis system
WO2012144300A1 (en) * 2011-04-19 2012-10-26 株式会社 東芝 Synchronization control system
JP2012227688A (en) * 2011-04-19 2012-11-15 Toshiba Corp Synchronous control system
JP2014093625A (en) * 2012-11-02 2014-05-19 Yamaha Corp Music system control method
JP2022500963A (en) * 2018-09-19 2022-01-04 マグデータ インクMagdata Inc. Network security monitoring methods, network security monitoring devices and systems
JP7178646B2 (en) 2018-09-19 2022-11-28 マグデータ インク Network security monitoring method, network security monitoring device and system

Similar Documents

Publication Publication Date Title
CN109981747B (en) Device control method, device, electronic device and storage medium
WO2007085832A1 (en) Methods and apparatus for monitoring software systems
CN111052087B (en) Control system, information processing apparatus, and recording medium
CN105530220B (en) The interface method of two kinds of different agreement system communications is realized based on OPC
CN110557274A (en) Network device modification via augmented reality user interface
US11516229B2 (en) Control device and control system
CN107147546A (en) Double net heartbeat inspecting method and system
CN106803792A (en) Data transfer equipment, electric equipment and electric equipment fault diagnosis system
JP6124612B2 (en) Engineering apparatus and engineering method
JP2005229537A (en) Network fault isolation method, network fault isolation tool and program
US9686128B2 (en) Wireless network adapter and self-configuration method of same
CN101136756B (en) Electric self-checking method, system and BMC chip on network long-range control host machine
KR101104048B1 (en) Radio device testing system
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
JP2017158081A (en) Network equipment monitoring device
CN103391303A (en) Service fault noticing method and server using same
CN100588161C (en) Information processing device, method and programme
Cisco Cisco ONS 15194 Release Notes Release 1.1
Cisco Troubleshooting
CN107276796B (en) Network detection method and device
JP5847064B2 (en) Simple monitoring and control device
KR101680736B1 (en) Process for checking status of network device
CN109391544A (en) The crash of 2G/3G/4G router is restarted automatically method and circuit
CN109727309A (en) A kind of apparatus failure display methods, device, storage medium and terminal
CN116955093B (en) CPU state monitoring method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070501