[go: up one dir, main page]

JP4879926B2 - Diagnostic system, method and program for network system - Google Patents

Diagnostic system, method and program for network system Download PDF

Info

Publication number
JP4879926B2
JP4879926B2 JP2008045024A JP2008045024A JP4879926B2 JP 4879926 B2 JP4879926 B2 JP 4879926B2 JP 2008045024 A JP2008045024 A JP 2008045024A JP 2008045024 A JP2008045024 A JP 2008045024A JP 4879926 B2 JP4879926 B2 JP 4879926B2
Authority
JP
Japan
Prior art keywords
network
data
diagnosis
target device
communication
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.)
Active
Application number
JP2008045024A
Other languages
Japanese (ja)
Other versions
JP2009205296A (en
Inventor
伸夫 住田
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP2008045024A priority Critical patent/JP4879926B2/en
Publication of JP2009205296A publication Critical patent/JP2009205296A/en
Application granted granted Critical
Publication of JP4879926B2 publication Critical patent/JP4879926B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、例えば製鉄業におけるプロセス制御システムを監視及び診断するのに好適なネットワークシステムの診断システム、方法及びプログラムに関する。   The present invention relates to a network system diagnosis system, method, and program suitable for monitoring and diagnosing a process control system in, for example, the steel industry.

24時間操業で高い信頼性が要求される製鉄業等におけるプロセス制御システムでは、これまで重電メーカ専用のコンピュータやネットワークが用いられてきたが、コスト削減や拡張性の点で難点があった。   In process control systems in the steel industry, etc., where high reliability is required for 24-hour operation, computers and networks dedicated to heavy electrical manufacturers have been used so far, but there have been difficulties in terms of cost reduction and expandability.

そのため、近年では、仕様が公開されており、汎用品を利用したオープン系システムの導入が進んでいる。しかしながら、適用規模が大きくなり、操業部門からの最新IT技術を応用した高機能システムを実現したいというニーズに対応すると、汎用品の数量と組み合わせが膨大となってしまう。また、特にネットワークに関しては、一部で発生した障害の影響が全系に及び、現象も非定期で再現性がないため、障害発生時の原因究明と復旧作業の難易度が高くなってしまう。   Therefore, in recent years, specifications have been released, and the introduction of open systems using general-purpose products is progressing. However, the scale of application increases, and the number and combination of general-purpose products becomes enormous when the needs to realize a high-functional system applying the latest IT technology from the operation department are met. In particular, particularly in the case of a network, the influence of a failure that has occurred in a part affects the entire system, and the phenomenon is irregular and non-reproducible, which increases the difficulty of investigating the cause of the failure and recovery work.

また、オープン系システムの導入が進むにつれて、既存の重電メーカ専用のコンピュータ等のうち、オープン系システムのネットワークに直接接続できない機器との伝送が必要となるケースが生じる。そのため、例えば標準・代表的な通信プロトコルであるTCP/IPから個別仕様のシリアル伝送の通信プロトコル(他の通信プロトコル)に変換するプロトコルコンバータをネットワークと既存機器との間に設置するシステム形態が増加している。   Further, as the introduction of open systems progresses, there will be cases where transmission is required with devices that cannot be directly connected to the open system network among existing computers dedicated to heavy electrical equipment manufacturers. For this reason, for example, the number of system configurations in which protocol converters that convert standard / representative communication protocol TCP / IP to individual-specific serial transmission communication protocols (other communication protocols) are installed between the network and existing devices has increased. is doing.

高度な専門性を要するネットワークの専門家が、複数に分散しているプロセス制御システムに24時間待機するのは、作業量が膨大であり非現実的なため、ネットワークの専門家が遠隔で複数のシステムを監視、診断するため専用システムとツールを導入する対処も試みた。しかしながら、プロセス制御システムの監視、診断には、コンピュータ上にはない製造プロセス内の各現場における現場操業者の操作や操作状況のヒアリング、ITVでは限界のある設備の状況を把握しながら実行することが不可欠である。   It is unrealistic for network specialists who require advanced expertise to wait 24 hours in a distributed process control system because the work is huge and unrealistic. Attempts were also made to introduce dedicated systems and tools to monitor and diagnose the system. However, monitoring and diagnosis of the process control system should be performed while grasping the status of facilities that are limited by ITV, hearing the operation of the site operator at each site in the manufacturing process that is not on the computer, and the operation status. Is essential.

特開平8−8998号公報JP-A-8-8998

現場で24時間操業に携わっているオペレータや、設備全体の保全のために待機している整備部門の作業者が、高度なネットワークの専門知識を必要とせずに、現場の状況を見ながら、多様なプロセス制御システムを柔軟に監視、診断できる、安価で汎用性があり使いやすいツールがなかった。特にプロトコルコンバータを導入した場合、障害発生時の原因究明と復旧作業において、TCP/IP側だけの監視・診断では不十分で、他の通信プロトコル側を含めた監視・診断が必要となり、オペレータや整備部門の作業者が、高度なネットワークの専門知識を必要とせずに、現場の状況を見ながら柔軟に監視、診断できる、安価で汎用性があり使いやすいツールが望まれていた。   Operators working 24 hours on site and workers in maintenance departments who are waiting for the maintenance of the entire facility, while looking at the situation at the site, do not require advanced network expertise. There was no inexpensive, versatile and easy-to-use tool that could flexibly monitor and diagnose complex process control systems. In particular, when a protocol converter is installed, monitoring / diagnosis only on the TCP / IP side is not sufficient for investigating the cause and recovery work when a failure occurs, and monitoring / diagnosis including other communication protocols is necessary. An inexpensive, versatile, and easy-to-use tool that allows maintenance workers to flexibly monitor and diagnose while looking at the situation in the field without requiring advanced network expertise was desired.

通信プロトコルに関する技術として、例えば特許文献1に、通信プロトコル障害解析装置が開示されている。しかしながら、特許文献1に開示された技術は、通信プロトコルを指定して障害解析を行うものであり、プロトコルコンバータを経由する、異なる通信プロトコルによる伝送を監視、診断するものではない。   As a technique related to a communication protocol, for example, Patent Document 1 discloses a communication protocol failure analysis apparatus. However, the technique disclosed in Patent Document 1 performs failure analysis by designating a communication protocol, and does not monitor or diagnose transmission using a different communication protocol via a protocol converter.

本発明は上記のような点に鑑みてなされたものであり、プロトコル変換器を導入したネットワークシステムにおいて、高度なネットワークの専門知識を必要とせず、異なる通信プロトコル間の監視、診断を効率的に行えるようにすることを目的とする。   The present invention has been made in view of the above points. In a network system in which a protocol converter is introduced, advanced network expertise is not required, and monitoring and diagnosis between different communication protocols can be efficiently performed. It aims to be able to do it.

本発明のネットワークシステムの診断システムは、複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断するネットワークシステムの診断システムであって、前記ネットワーク上のデータを収集する第1の収集手段と、前記通信対象機器が送受信するデータを収集する第2の収集手段と、前記第1の収集手段で収集した前記ネットワーク上のデータのうち、前記第2の収集手段で収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する伝送診断手段とを備えたことを特徴とする。
本発明のネットワークシステムの診断方法は、複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断するネットワークシステムの診断方法であって、前記ネットワーク上のデータを収集する手順と、前記通信対象機器が送受信するデータを収集する手順と、前記収集した前記ネットワーク上のデータのうち、前記収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する手順とを有することを特徴とする。
本発明のプログラムは、複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断する処理をコンピュータに実行させるためのプログラムであって、前記ネットワーク上のデータを収集する処理と、前記通信対象機器が送受信するデータを収集する処理と、前記収集した前記ネットワーク上のデータのうち、前記収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する処理とをコンピュータに実行させる。
In the network system diagnosis system of the present invention, a network configured by connecting a plurality of devices and a communication target device performing data communication using a communication protocol different from the communication protocol of the network are connected via a protocol converter A network system diagnosis system for monitoring and diagnosing the network system, the first collection means for collecting data on the network, and the second collection means for collecting data transmitted and received by the communication target device; The data on the network collected by the first collecting means is searched for data corresponding to the data transmitted and received by the communication target device collected by the second collecting means on the basis of time, and the table is calculated And a transmission diagnosis means for outputting to a sheet created by software.
In the network system diagnosis method of the present invention, a network configured by connecting a plurality of devices and a communication target device performing data communication using a communication protocol different from the communication protocol of the network are connected via a protocol converter A network system diagnosis method for monitoring and diagnosing a network system, comprising: a procedure for collecting data on the network; a procedure for collecting data transmitted and received by the communication target device; and a method for collecting the data on the collected network And searching the data corresponding to the data transmitted / received by the communication target device among the collected data on the basis of time, and outputting the result to a sheet created by spreadsheet software.
A program of the present invention is a network system in which a network configured by connecting a plurality of devices and a communication target device that performs data communication using a communication protocol different from the communication protocol of the network are connected via a protocol converter. Is a program for causing a computer to execute processing for monitoring and diagnosing data, processing for collecting data on the network, processing for collecting data transmitted and received by the communication target device, and processing on the collected network Among the data, a process corresponding to the collected data to be transmitted / received by the communication target device is searched based on time, and a process of outputting to a sheet created by spreadsheet software is executed by a computer.

本発明によれば、プロトコル変換器を導入したネットワークシステムにおいて、一方の通信プロトコル側のデータと、他方の通信プロトコル側のデータとを時間を基準にして自動的に対応付けるようにしたので、高度なネットワークの専門知識を必要とせず、異なる通信プロトコル間の監視、診断を効率的に行うことができる。これにより、ネットワークの専門家でない現場の作業員でも、現場の状況を把握しながら、臨機応変にネットワークシステムを監視、診断することが容易にできる。さらに、表計算ソフトウェアで作成したシートに出力するので、安価で汎用性があり、複数に分散しているネットワークシステムにも容易に適用可能となる。   According to the present invention, in a network system in which a protocol converter is introduced, data on one communication protocol side and data on the other communication protocol side are automatically associated with each other on the basis of time. It does not require network expertise and can efficiently monitor and diagnose between different communication protocols. As a result, even on-site workers who are not network specialists can easily monitor and diagnose the network system flexibly while grasping the situation of the site. Furthermore, since the data is output to a sheet created by spreadsheet software, it is inexpensive and versatile, and can be easily applied to a plurality of distributed network systems.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
図1に、本発明を適用した診断システムを含むプロセス制御システムの構成例を示す。プロセス全体の制御を行う制御サーバ100には、複数台のスイッチングハブ200が接続する。図1では、制御サーバ100を一つの装置として図示したが、複数の装置により構成される場合もある。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
FIG. 1 shows a configuration example of a process control system including a diagnosis system to which the present invention is applied. A plurality of switching hubs 200 are connected to the control server 100 that controls the entire process. In FIG. 1, the control server 100 is illustrated as a single device, but may be configured by a plurality of devices.

スイッチングハブ200は、例えば製造プロセスの制御系、HMI(Human Machine Interface)系、製造プロセスの制御系を統括する上位系のように系ごとに設置されており、各系のスイッチングハブ200に、各種センサ類、パーソナルコンピュータ、ハブ等のネットワーク機器300が複数台接続する。これら制御サーバ100、スイッチングハブ200、ネットワーク機器300によりTCP/IPネットワークNWが構成される。   The switching hub 200 is installed for each system such as a manufacturing process control system, an HMI (Human Machine Interface) system, and an upper system that supervises the manufacturing process control system. A plurality of network devices 300 such as sensors, personal computers, and hubs are connected. These control server 100, switching hub 200, and network device 300 constitute a TCP / IP network NW.

また、所定のスイッチングハブ200には、プロトコル変換器(プロトコルコンバータ)500及びモデムを介して、既存機器である通信対象機器400が接続する。プロトコル変換器500は、TCP/IPネットワークNWの通信プロトコル(TCP/IP)から、通信対象機器400の個別仕様のシリアル伝送の通信プロトコルに変換するものである。   In addition, a communication target device 400 that is an existing device is connected to a predetermined switching hub 200 via a protocol converter (protocol converter) 500 and a modem. The protocol converter 500 converts the communication protocol (TCP / IP) of the TCP / IP network NW to the serial transmission communication protocol of the individual specification of the communication target device 400.

これらスイッチングハブ200には、スイッチングハブ2を介して、プロセス制御システムを監視及び診断するための診断装置1が接続する。本実施形態では、この診断装置1が本発明でいう伝送診断手段として機能する。   A diagnostic device 1 for monitoring and diagnosing the process control system is connected to these switching hubs 200 via the switching hub 2. In the present embodiment, the diagnostic device 1 functions as a transmission diagnostic means in the present invention.

また、プロトコル変換器500と通信対象機器400との間には、分岐ケーブル600を介してシリアル伝送キャプチャー装置700が接続する。シリアル伝送キャプチャー装置700は、通信対象機器400が送受信するデータを収集し、そのキャプチャーデータに時刻情報を関連付けてキャプチャーデータ格納部800に格納する。また、シリアル伝送キャプチャー装置700は、キャプチャーデータ格納部800に格納したキャプチャーデータを診断装置1に送信する。本実施形態では、このシリアル伝送キャプチャー装置700が本発明でいう第2の収集手段として機能する。   A serial transmission capture device 700 is connected between the protocol converter 500 and the communication target device 400 via the branch cable 600. The serial transmission capture device 700 collects data transmitted / received by the communication target device 400 and associates time information with the capture data and stores it in the capture data storage unit 800. In addition, the serial transmission capture device 700 transmits the capture data stored in the capture data storage unit 800 to the diagnostic device 1. In the present embodiment, the serial transmission capture device 700 functions as the second collection means referred to in the present invention.

これら診断装置1やシリアル伝送キャプチャー装置700等を主要な構成要素とする診断システムは、以下に詳述するように、(1)ping発行監視ツール、(2)CRCエラー監視ツール、(3)パケットキャプチャーツール、(4)シリアル伝送診断ツールとして機能する。   As will be described in detail below, the diagnostic system including the diagnostic device 1 and the serial transmission capture device 700 as the main components includes (1) a ping issue monitoring tool, (2) a CRC error monitoring tool, and (3) a packet. It functions as a capture tool and (4) a serial transmission diagnostic tool.

(診断装置1の機能構成)
図2には、診断装置1の機能構成を示す。11は表示装置である。12はキーボードやポインティングデバイス等の入力装置である。
(Functional configuration of diagnostic device 1)
FIG. 2 shows a functional configuration of the diagnostic apparatus 1. Reference numeral 11 denotes a display device. Reference numeral 12 denotes an input device such as a keyboard or a pointing device.

13はワークシート格納部であり、表計算ソフトウェア(例えばExcel(登録商標))で作成したワークシートを格納する。ワークシートとしては、共通定義シート13a、実行スケジュールシート13b、ネットワーク構成図シート13c、ネットワーク定義シート13d、ping結果シート13e、pingログシート13f、SW一覧シート13g、SW監視ログシート13h、シリアル伝送診断結果シート13i、シリアル伝送診断ログシート13jが作成されている。   A worksheet storage unit 13 stores a worksheet created by spreadsheet software (for example, Excel (registered trademark)). As the worksheet, common definition sheet 13a, execution schedule sheet 13b, network configuration diagram sheet 13c, network definition sheet 13d, ping result sheet 13e, ping log sheet 13f, SW list sheet 13g, SW monitoring log sheet 13h, serial transmission diagnosis A result sheet 13i and a serial transmission diagnosis log sheet 13j are created.

14はping発行部であり、ネットワーク定義シート13dに基づいて、プロセス制御システム上の機器に応答要求を送信する(ping発行)。なお、pingとは一般には、TCP/IPネットワークにおいて、IPパケットが送信先まで届いているかや、IP的に到達可能かどうかを調べるために利用させる最も基本的なコマンドである。   A ping issuing unit 14 transmits a response request to a device on the process control system based on the network definition sheet 13d (ping issuance). Note that ping is generally the most basic command used in a TCP / IP network to check whether an IP packet has reached a destination or is reachable in IP.

15は診断部であり、プロセス制御システムの監視、診断を行う。診断部15は、ping発行部14でのping発行に対するプロセス制御システム上の各機器からの応答に基づいて、各機器の状態を診断する。本実施形態では、応答の有無だけでなく、応答が戻るまでの時間も調べるようにしている。そして、その診断結果をping結果シート13eに出力する。また、診断部15は、TCP/IPネットワークNW上のデータと、通信対象機器400が送受信するデータ(すなわち、シリアル伝送キャプチャー装置700で収集するキャプチャーデータ)とを時系列につき合わせて診断する。そして、その診断結果をシリアル伝送診断結果シート13iに出力する。   Reference numeral 15 denotes a diagnosis unit that monitors and diagnoses the process control system. The diagnosis unit 15 diagnoses the state of each device based on the response from each device on the process control system to the ping issuance by the ping issuing unit 14. In this embodiment, not only the presence / absence of a response but also the time until the response is returned is checked. Then, the diagnosis result is output to the ping result sheet 13e. The diagnosis unit 15 diagnoses data on the TCP / IP network NW and data transmitted / received by the communication target device 400 (that is, capture data collected by the serial transmission capture device 700) in time series. Then, the diagnosis result is output to the serial transmission diagnosis result sheet 13i.

16は表示制御部であり、ping結果シート13eやシリアル伝送診断結果シート13i等を表示装置11に表示したり、診断部15による診断結果をネットワーク構成図シート13cに反映させて表示装置11に表示したりする。例えばネットワーク構成図シート13c上で、応答の無い機器や伝送エラーを検出した機器は赤色、応答の遅かった機器は黄色で囲んで表示する。   Reference numeral 16 denotes a display control unit that displays a ping result sheet 13e, a serial transmission diagnosis result sheet 13i, and the like on the display device 11, and reflects the diagnosis result by the diagnosis unit 15 on the network configuration diagram sheet 13c and displays it on the display device 11. To do. For example, on the network configuration diagram sheet 13c, a device that does not respond or a device that detected a transmission error is displayed in red, and a device that responds slowly is displayed in yellow.

17はCRC(Cyclic Redundancy Check)エラー監視部であり、SW一覧シート13gに基づいて、CRCエラー監視を行う。なお、CRCとは、巡回冗長検査と言われ、データ伝送等でデータが正しく伝送したかをチェックするエラー検出・訂正方式の一つである。プロセス制御システム上にはCRCエラーの発生件数を蓄積する機器、例えば各系のスイッチングハブ200が存在しており、これら機器からトラブルの前兆となるCRCエラーの発生件数を収集する。   Reference numeral 17 denotes a CRC (Cyclic Redundancy Check) error monitoring unit that performs CRC error monitoring based on the SW list sheet 13g. CRC is called cyclic redundancy check, and is one of error detection / correction methods for checking whether data is correctly transmitted by data transmission or the like. On the process control system, there are devices for accumulating the number of occurrences of CRC errors, for example, switching hubs 200 for each system, and the number of occurrences of CRC errors that are a precursor of trouble is collected from these devices.

18はログ出力部であり、ping発行監視の結果がNGであった場合にpingログシート13fにログを出力し、CRCエラー監視中にCRCエラーが発生した場合にSW監視ログシート13hにログを出力し、シリアル伝送エラーを検出した場合にシリアル伝送診断ログシート13jを出力する。   A log output unit 18 outputs a log to the ping log sheet 13f when the result of ping issue monitoring is NG, and logs to the SW monitoring log sheet 13h when a CRC error occurs during CRC error monitoring. When a serial transmission error is detected, a serial transmission diagnostic log sheet 13j is output.

19はキャプチャー部であり、各系のスイッチングハブ200を介してTCP/IPネットワークNW上のデータ(パケット)を収集し、時刻情報を関連付けて保存する。本実施形態では、このキャプチャー部19が本発明でいう第1の収集手段として機能する。   Reference numeral 19 denotes a capture unit that collects data (packets) on the TCP / IP network NW via the switching hubs 200 of each system, and associates and stores time information. In the present embodiment, the capture unit 19 functions as the first collection means referred to in the present invention.

20はシリアル伝送データ取得部であり、キャプチャーデータ格納部800に格納したキャプチャーデータをシリアル伝送キャプチャー装置700から取得する。   Reference numeral 20 denotes a serial transmission data acquisition unit that acquires capture data stored in the capture data storage unit 800 from the serial transmission capture device 700.

なお、監視装置1は、複数の装置により構成されてもよいし、一つの装置により構成されてもよい。例えば(1)ping発行監視ツール及び(2)CRCエラー監視ツールとして機能するパーソナルコンピュータと、(3)パケットキャプチャーツール及び(4)シリアル伝送診断ツールとして機能するパーソナルコンピュータとに分けて構成してもよい。また、図1では、監視装置1とシリアル伝送キャプチャー装置700とを別体として図示したが、一体のものでもよい。   Note that the monitoring device 1 may be configured by a plurality of devices or a single device. For example, (1) a ping issue monitoring tool and (2) a personal computer functioning as a CRC error monitoring tool, and (3) a packet capture tool and (4) a personal computer functioning as a serial transmission diagnostic tool may be configured separately. Good. In FIG. 1, the monitoring device 1 and the serial transmission capture device 700 are illustrated as separate bodies, but may be integrated.

(ワークシート)
共通定義シート13aは、図3に示すように、ping発行デフォルト指定、診断実行モード、シリアル伝送診断のための設定パラメータ、エラー発生時のバッチファイルを設定するためのものである。具体的には、下記の表1にも一部示すように、ping繰り返し回数、実行間隔、ブロックサイズ、タイムアウト、TTL、実行モード、データのfrom-to(送信、受信)、タイムアウト、スキャンタイム、エラー発生時実行ファイル名(パス、バッチファイル、起動回数制限)を設定する。タイムアウトは、シリアル伝送診断においてTCP/IPネットワークNW及び通信対象機器400それぞれでのデータの送受信の許容時刻差を設定する時間である。スキャンタイムは、シリアル伝送診断において、シリアル伝送データに対応するTCP/IPデータを検索するために設定する時間である。
(worksheet)
As shown in FIG. 3, the common definition sheet 13a is used to set a ping issue default designation, a diagnosis execution mode, setting parameters for serial transmission diagnosis, and a batch file when an error occurs. Specifically, as partly shown in Table 1 below, the number of ping repetitions, execution interval, block size, timeout, TTL, execution mode, data from-to (transmission, reception), timeout, scan time, Set the execution file name (path, batch file, startup count limit) when an error occurs. The timeout is a time for setting an allowable time difference of data transmission / reception between the TCP / IP network NW and the communication target device 400 in the serial transmission diagnosis. The scan time is a time set for searching TCP / IP data corresponding to serial transmission data in serial transmission diagnosis.

Figure 0004879926
Figure 0004879926

実行スケジュールシート13bは、図4に示すように、ping発行監視、CRCエラー監視、シリアル伝送診断の実行スケジュールを指定するためのものである。具体的には、下記の表2に示すように、実行周期、実行曜日、起動間隔、開始時刻、実行モードを設定する。また、現在スケジュール実行中であるか、停止中であるかが表示される。   As shown in FIG. 4, the execution schedule sheet 13b is for designating an execution schedule for ping issue monitoring, CRC error monitoring, and serial transmission diagnosis. Specifically, as shown in Table 2 below, the execution cycle, execution day, start interval, start time, and execution mode are set. Also, whether the schedule is currently being executed or stopped is displayed.

Figure 0004879926
Figure 0004879926

ネットワーク構成図シート13cは、図5に示すように、プロセス制御システムの構成を図で表わしたものである。上述したように、表示制御部16は、このネットワーク構成図シート13c上の該当する機器を、診断部15による診断結果に応じた色を囲んで表示するので、その変色させる部分をセル結合で囲んでおく。ネットワーク構成図シート13cは、プロセス制御システムの設計段階で必ず作成され、保守運用段階でも使用されるものであり、それをネットワーク監視用に取り込んでいる。なお、図5の例では、鋼板にマークを付けるマーカーが図1でいう通信対象機器400に相当する。   The network configuration diagram sheet 13c is a diagram showing the configuration of the process control system as shown in FIG. As described above, the display control unit 16 displays the corresponding device on the network configuration diagram sheet 13c by enclosing the color corresponding to the diagnosis result by the diagnosis unit 15, so that the portion to be discolored is surrounded by the cell combination. Leave in. The network configuration diagram sheet 13c is always created at the design stage of the process control system and is also used at the maintenance operation stage, and is taken in for network monitoring. In the example of FIG. 5, the marker for marking the steel plate corresponds to the communication target device 400 shown in FIG.

ネットワーク定義シート13dは、図6に示すように、ネットワーク構成図シート13cに設定した各機器について、ネットワーク情報(ホスト名、IPアドレス、接続機器コード)や機器情報(機器種類、メーカー、機種名)等を定義するためのものである。具体的には、下記の表3に示すように、接続No.、機器コード、ネットワーク情報、機器情報、設計情報(行、列)、設置場所、サイズ、タイムアウトを設定する。上述したように、ping発行部14は、このネットワーク定義シート13dに基づいて、プロセス制御システム上の機器に応答要求を送信する。   As shown in FIG. 6, the network definition sheet 13d has network information (host name, IP address, connected device code) and device information (device type, manufacturer, model name) for each device set in the network configuration diagram sheet 13c. And so on. Specifically, as shown in Table 3 below, the connection number, device code, network information, device information, design information (row, column), installation location, size, and timeout are set. As described above, the ping issuing unit 14 transmits a response request to the device on the process control system based on the network definition sheet 13d.

Figure 0004879926
Figure 0004879926

ping結果シート13eは、図7に示すように、ping発行監視の結果を出力するためのものであり、NG回数、OK回数だけでなく、成功率も表示するようになっている。上述したように、診断部15は、このping結果シート13eに診断結果を出力する。   As shown in FIG. 7, the ping result sheet 13e is for outputting the result of ping issuance monitoring, and displays not only the NG count and OK count but also the success rate. As described above, the diagnosis unit 15 outputs a diagnosis result to the ping result sheet 13e.

pingログシート13fは、具体的に図示しないが、ping発行監視の結果がNGであった場合にログを出力するものであり、結果、日時、対象、IPアドレス、ステータス、備考の項目を設定する。上述したように、ログ出力部18は、ping発行監視の結果がNGであった場合、このpingログシート13fにログを出力する。   Although not specifically illustrated, the ping log sheet 13f outputs a log when the result of ping issue monitoring is NG, and sets the items of the result, date, target, IP address, status, and remarks. . As described above, when the result of ping issue monitoring is NG, the log output unit 18 outputs a log to this ping log sheet 13f.

SW一覧シート13gは、図8に示すように、CRCエラーを監視するスイッチングハブ情報を設定するためのものである。具体的には、CRCエラー監視周期を設定し、各スイッチングハブのIPアドレス、ネットワーク構成図シート13cに配置したスイッチングハブの行、列を設定する。また、CRCエラー件数が格納されているオブジェクトIDを設定する。   The SW list sheet 13g is for setting switching hub information for monitoring a CRC error, as shown in FIG. Specifically, the CRC error monitoring period is set, and the IP address of each switching hub and the row and column of the switching hub arranged in the network configuration diagram sheet 13c are set. Also, an object ID in which the number of CRC errors is stored is set.

SW監視ログシート13hは、具体的に図示しないが、CRCエラー監視中にCRCエラーが発生した場合にログを出力するためのものである。上述したように、ログ出力部18は、CRCエラー監視中にCRCエラーが発生した場合、このSW監視ログシート13hにログを出力する。   Although not specifically shown, the SW monitoring log sheet 13h is for outputting a log when a CRC error occurs during CRC error monitoring. As described above, when a CRC error occurs during CRC error monitoring, the log output unit 18 outputs a log to the SW monitoring log sheet 13h.

シリアル伝送診断結果シート13iは、図9に示すように、シリアル伝送診断の結果を出力するためのものであり、No.年/月/日、時/分/秒、マイクロ秒、送受信側のIPアドレス、Dump等を表示するようになっている。上述したように、診断部15は、このシリアル伝送診断結果シート13iに診断結果を出力する。   The serial transmission diagnosis result sheet 13i is for outputting the result of the serial transmission diagnosis as shown in FIG. Year / month / day, hour / minute / second, microsecond, transmission / reception side IP address, dump, and the like are displayed. As described above, the diagnosis unit 15 outputs a diagnosis result to the serial transmission diagnosis result sheet 13i.

シリアル伝送診断ログシート13jは、図10に示すように、シリアル伝送診断の結果がNGであった場合にログを出力するものであり、結果、日時、対象、IPアドレス、ステータス、サイズ、タイムアウト、備考の項目を設定する。上述したように、ログ出力部18は、シリアル伝送診断の結果がNGであった場合、このシリアル伝送診断ログシート13jにログを出力する。   As shown in FIG. 10, the serial transmission diagnosis log sheet 13j outputs a log when the result of serial transmission diagnosis is NG. The result, date, target, IP address, status, size, timeout, Set the remark items. As described above, if the result of the serial transmission diagnosis is NG, the log output unit 18 outputs a log to the serial transmission diagnosis log sheet 13j.

((1)PING発行監視ツール)
表示装置11上にて不図示のコマンドボタンを操作すると、図11(a)に示すように、表示装置11にping発行操作画面1100が表示される。ping発行操作画面1100において、1101は「全ノード診断(無限)」、「全ノード診断(スケジュール)」、「全ノード診断(1回)」のいずれを実行するか選択するための選択ボタンである。1102は診断の中止を指示するための診断中止ボタンである。1103はトレースルート検索を行う場合に機器コードを設定するための設定欄である。ここで、トレースルートとは、ping実行時の応答を返すためのノードの経路である。1104はトレースルート検索の開始を指示するための検索開始ボタンである。1105はトレースルート検索を行う場合にping実行を指示するためのpingボタンである。1106はping結果シート13eを参照するためボタンである。また、ping発行操作画面1100には、初期状態を白で、ping発行中を青で、異常(応答が無い)を赤で、不安定(応答が遅い)を黄で表わすことが示されている。
((1) PING issue monitoring tool)
When a command button (not shown) is operated on the display device 11, a ping issue operation screen 1100 is displayed on the display device 11, as shown in FIG. In the ping issue operation screen 1100, reference numeral 1101 denotes a selection button for selecting whether to execute “all node diagnosis (infinite)”, “all node diagnosis (schedule)”, or “all node diagnosis (once)”. . Reference numeral 1102 denotes a diagnosis stop button for instructing to stop diagnosis. Reference numeral 1103 denotes a setting field for setting a device code when performing a trace route search. Here, the trace route is a path of a node for returning a response at the time of executing ping. Reference numeral 1104 denotes a search start button for instructing start of trace route search. Reference numeral 1105 denotes a ping button for instructing execution of ping when performing a trace route search. Reference numeral 1106 denotes a button for referring to the ping result sheet 13e. Further, the ping issue operation screen 1100 indicates that the initial state is white, the ping issuance is blue, the abnormality (no response) is red, and the unstable (slow response) is yellow. .

図12には、ping発行処理の流れを示す。まず、ネットワーク定義シート13dのデータを取得する(ステップS1201)。次に、ネットワーク定義シート13dに基づいて、自端末の機器コードを取得する(ステップS1202)。自端末の機器コードが取得できない場合はエラーメッセージを出力し、その後処理を終了する。次に、ネットワーク定義シート13dに基づいて、自端末と他の端末との組み合わせをすべて取得する(ステップS1203)。次に、検索開始ボタン1104、PINGボタン1105の押下があったならば各処理を実行する(ステップS1204(図14を参照)、S1205(図15を参照))。なお、トレースルート検索でない場合は、取得件数分、検索開始ボタン1104、PINGボタン1105の押下がない状態でステップS1204、S1205の処理が繰り返される。そして、PING結果をネットワーク構成図シート13cに反映させて表示し、PINGログシート13fを作成する(ステップS1206)。   FIG. 12 shows the flow of the ping issue process. First, the data of the network definition sheet 13d is acquired (step S1201). Next, the device code of the own terminal is acquired based on the network definition sheet 13d (step S1202). If the device code of the own terminal cannot be acquired, an error message is output, and then the process ends. Next, all combinations of the own terminal and other terminals are acquired based on the network definition sheet 13d (step S1203). Next, if the search start button 1104 and the PING button 1105 are pressed, each process is executed (step S1204 (see FIG. 14), S1205 (see FIG. 15)). If the search is not a trace route search, the processes of steps S1204 and S1205 are repeated for the number of acquisitions without pressing the search start button 1104 and the PING button 1105. Then, the PING result is reflected on the network configuration diagram sheet 13c and displayed, and a PING log sheet 13f is created (step S1206).

ping発行操作画面1100の選択ボタン1101のうち「全ノード診断(1回)」ボタンが押下された場合は、共通定義シート13aに設定されている実行モードがPING又は両方であれば、図13に示すように、PING発行処理を実行する(ステップS1301(図12を参照))。さらに、共通定義シート13aに設定されている実行モードがCRC又は両方のとき、CRCエラー累計を取得する(ステップS1302)。   When the “all node diagnosis (one time)” button is pressed among the selection buttons 1101 on the ping issue operation screen 1100, if the execution mode set in the common definition sheet 13a is PING or both, FIG. As shown, a PING issue process is executed (step S1301 (see FIG. 12)). Further, when the execution mode set in the common definition sheet 13a is CRC or both, the CRC error accumulation is acquired (step S1302).

ping発行操作画面1100の選択ボタン1101のうち「全ノード診断(無限)」ボタンが押下された場合は、診断中止ボタン1102が押下されるまで、図13の処理を繰り返す。   When the “all node diagnosis (infinite)” button among the selection buttons 1101 on the ping issue operation screen 1100 is pressed, the processing of FIG. 13 is repeated until the diagnosis stop button 1102 is pressed.

ping発行操作画面1100の選択ボタン1101のうち「全ノード診断(スケジュール)」ボタンが押下された場合は、診断中止ボタン1102が押下されるまで、実行スケジュールシート13bで設定されているスケジュールに従って図13の処理を繰り返す。   When the “all node diagnosis (schedule)” button among the selection buttons 1101 on the ping issue operation screen 1100 is pressed, the schedule is set according to the schedule set in the execution schedule sheet 13b until the diagnosis stop button 1102 is pressed. Repeat the process.

図14には、ステップS1204の検索開始ボタン1104の押下時の処理を示す。検索開始ボタン1104の押下時には、入力されたping発行元機器コードからping発行先機器コードのトレースルート検索を行う。まず、ping発行操作画面1100の設定欄1103に設定された機器コードがネットワーク構成図シート13cの内部情報に設定されているかをチェックし、発行元の機器コードに入力された機器コードが自端末かをチェックする(ステップS1401)。次に、内部情報よりping発行元機器コードからping発行先機器コードまでのトレースルートを取得する(ステップS1401)。   FIG. 14 shows processing when the search start button 1104 is pressed in step S1204. When the search start button 1104 is pressed, a trace route search of the ping issue destination device code is performed from the input ping issue source device code. First, it is checked whether the device code set in the setting field 1103 of the ping issue operation screen 1100 is set in the internal information of the network configuration diagram sheet 13c, and whether the device code input to the issuer device code is the local terminal. Is checked (step S1401). Next, a trace route from the ping issuing source device code to the ping issuing destination device code is acquired from the internal information (step S1401).

図15には、ステップS1205のpingボタン1105の押下時の処理を示す。pingボタン1105の押下時には、検索開始ボタン1104の押下時の処理により取得したトレースルート間のping発行を行う。まず、検索開始ボタン1104の押下時の処理により取得したping発行元からping発行先のトレースルートをping結果シート13eの検索ルートに出力する(ステップS1501)。次に、内部情報よりping発行先機器コードからIPアドレスを取得する(ステップS1502)。次に、ステップS1502で取得したIPアドレスにping発行を行う(ステップS1503)。次に、出力結果に基づいてネットワーク構成図シート13cを表示し、NGであった場合にpingログシート13fにログを出力する(ステップS1504)。   FIG. 15 shows processing when the ping button 1105 is pressed in step S1205. When the ping button 1105 is pressed, a ping is issued between the trace routes acquired by the processing when the search start button 1104 is pressed. First, the trace route of the ping issue destination is output from the ping issue source acquired by the processing when the search start button 1104 is pressed to the search route of the ping result sheet 13e (step S1501). Next, an IP address is acquired from the ping issue destination device code from the internal information (step S1502). Next, a ping is issued to the IP address acquired in step S1502 (step S1503). Next, the network configuration diagram sheet 13c is displayed based on the output result, and if it is NG, a log is output to the ping log sheet 13f (step S1504).

((2)CRCエラー監視ツール)
表示装置11上にて不図示のコマンドボタンが操作されると、図8に示すように、表示装置11にSW一覧シート13gとともに、SNMP SW監視画面804が表示される。SNMP SW監視画面804には、SW一覧シート13gで設定されたCRCエラーの発生件数を蓄積する機器の一覧が表示される。
((2) CRC error monitoring tool)
When a command button (not shown) is operated on the display device 11, an SNMP SW monitoring screen 804 is displayed on the display device 11 together with the SW list sheet 13g as shown in FIG. The SNMP SW monitoring screen 804 displays a list of devices that accumulate the number of CRC error occurrences set in the SW list sheet 13g.

CRCエラー件数取得ボタン801を押下すると、SW一覧シート13gのCRCエラー件数(カウンター合計値)が更新される。CRCエラー監視ボタン802を押下すると、ネットワーク構成図シート13cが表示され、監視周期毎にCRCエラー監視が開始される。CRCエラー監視中にCRCエラーが検知された場合にはSW監視ログシート13hにログが出力される。監視中止ボタン803を押下すると、CRCエラー監視が中止される。   When the CRC error number acquisition button 801 is pressed, the number of CRC errors (counter total value) in the SW list sheet 13g is updated. When the CRC error monitoring button 802 is pressed, the network configuration diagram sheet 13c is displayed, and CRC error monitoring is started every monitoring period. If a CRC error is detected during CRC error monitoring, a log is output to the SW monitoring log sheet 13h. When the monitoring stop button 803 is pressed, CRC error monitoring is stopped.

((3)パケットキャプチャーツール)
キャプチャー部19では、TCP/IPネットワークNW上のパケットをキャプチャーして得られたデータを用いて、指定条件に合致する伝文を抽出、出力、解析する。解析にはEtherealを使うことができ、Excelによる解析も可能である。Excelによる解析では、csv形式に変換した結果を読み込み、表示することができる。連携機能として、解析結果を伝文トレースツール形式で出力することができる。
((3) Packet capture tool)
The capture unit 19 extracts, outputs, and analyzes a message that matches a specified condition using data obtained by capturing a packet on the TCP / IP network NW. For the analysis, Ethereal can be used, and Excel analysis is also possible. In the analysis by Excel, the result converted into the csv format can be read and displayed. As a linkage function, the analysis result can be output in the message trace tool format.

まず、キャプチャー方法について説明する。図16に示すキャプチャー設定画面1600において、設定欄1601でキャプチャーに使用するネットワークアダプタ1601を選択する。次に、設定欄1602で送信元・送信先のIPアドレスとポート番号を指定する。この場合に、「*」を指定すると、すべての値に対して実行するようになっている。に、設定欄1603でキャプチャーする通信プロトコル(TCP、UDP、すべて)を選択する。次に、ラジオボタン1604で「キャプチャーする」を選択する。次に、設定欄1605でキャプチャー結果の保存先を指定する。その後、キャプチャー実行ボタン1606を押下すると、キャプチャーが実行される。キャプチャーを停止するにはキャプチャー停止ボタン1607を押下する。   First, the capture method will be described. In the capture setting screen 1600 shown in FIG. 16, the network adapter 1601 used for capture is selected in the setting field 1601. Next, the IP address and port number of the transmission source / destination are designated in the setting column 1602. In this case, if "*" is specified, it is executed for all values. In the setting field 1603, the communication protocol (TCP, UDP, all) to be captured is selected. Next, “capture” is selected with the radio button 1604. Next, the save destination of the capture result is designated in the setting field 1605. Thereafter, when a capture execution button 1606 is pressed, capture is executed. To stop the capture, a capture stop button 1607 is pressed.

次に、解析設定方法について説明する。図17に示すように、ラジオボタン1604で「Excel解析する」を選択すると、その設定に応じて以下に説明するように画面が変化する。解析を始めるには、各条件を設定後、解析ボタン1608を押下する。   Next, an analysis setting method will be described. As shown in FIG. 17, when “Analyze Excel” is selected with the radio button 1604, the screen changes according to the setting as described below. To start the analysis, the analysis button 1608 is pressed after setting each condition.

設定欄1603で通信プロトコルを選択すると、図17に示すように、伝文種別のリスト1609が表示される。そこで伝文種別(Csemi標準伝送、Csemi PIO伝送)を選ぶと、フィルター条件設定欄1610が表示される。図17は、Csemi標準伝送が選択されたときのフィルター条件設定欄1610が表示された状態である。なお、Csemiとは「NS SEMI SYSTEM(登録商標)」の略称であり、プロセス制御を行うアプリケーションソフトと、汎用ソフトのWindows(登録商標) NT(登録商標)との間を橋渡しする役割を持つ出願人独自の制御用ミドルウェアである。Csemiについては、本出願人により新日鉄技報 No363 1997及び新日鉄技報 No379 2003に技術が開示されている。   When a communication protocol is selected in the setting field 1603, a message type list 1609 is displayed as shown in FIG. Therefore, when a message type (Csemi standard transmission, Csemi PIO transmission) is selected, a filter condition setting field 1610 is displayed. FIG. 17 shows a state in which a filter condition setting field 1610 is displayed when Csemi standard transmission is selected. Csemi is an abbreviation for “NS SEMI SYSTEM (registered trademark)” and is an application that serves as a bridge between application software for process control and general-purpose software Windows (registered trademark) NT (registered trademark). It is a middleware for human control. With regard to Csemi, the technology is disclosed in Nippon Steel Technical Bulletin No363 1997 and Nippon Steel Technical Bulletin No379 2003 by the present applicant.

本実施形態では、通信プロトコル「TCP」の「Csemi標準伝送」の場合、図17に示すように、出力設定欄1611で、伝文トレースツール用バイナリファイル(.bin)の出力設定(レコードサイズ、論理回線No.、レコード数、送受信種別)ができる。   In this embodiment, in the case of “Csemi standard transmission” of the communication protocol “TCP”, as shown in FIG. 17, in the output setting column 1611, the output setting (record size, binary) for the message trace tool binary file (.bin). Logical line No., number of records, transmission / reception type).

さらに、図17に示すように、Excel解析設定欄1612が有効になるので、そこで解析時のオプションを指定する。ここでは、キャプチャー日時の指定、解析方法、出力形式を選ぶことができる。すなわち、キャプチャー日時(起点)及びキャプチャー日時(終点)を指定する(自動マージの起点及び終点となる)。また、自動起動するか否かをチェックボックスで選択するとともに、解析に使用するソフトを指定する。csvファイル出力時にデータ部のダンプを出力する場合、チェックボックスをオンにする。また、設定欄1605で日時検索する対象ファイル名を指定する。ファイル名の先頭が一致すれば検索対象になる。(条件を満たすファイルは自動マージの対象となる)。   Further, as shown in FIG. 17, an Excel analysis setting field 1612 becomes valid, and options for analysis are designated there. Here, you can select the capture date and time, the analysis method, and the output format. In other words, the capture date and time (start point) and the capture date and time (end point) are designated (beginning and end points of automatic merging). In addition to selecting whether to start automatically or not, the software to be used for analysis is specified. Select the check box to output a dump of the data part when outputting the csv file. In the setting field 1605, the name of the target file to be searched is specified. If the beginning of the file name matches, it becomes a search target. (Files that meet the conditions are subject to automatic merging).

解析用タブの条件でディスプレイフィルターがかけられ、その結果が表示される。Excel解析設定欄1612の自動起動チェックボックスをオンにすると、ExcelかEtherealが自動的に起動させられる。Excel自動起動の場合、csv出力結果を確認することができる。Excel起動後にマクロを有効にするか問い合わせがあるので、それを有効にする。その後、読み込むcsvファイルをブラウズ指定することで、解析データの一覧が表示される(図18を参照)。また、Ethereal自動起動の場合、解析用タブの条件でディスプレイフィルターをかけた結果をEthereal上で確認することができる。   A display filter is applied under the conditions of the analysis tab, and the result is displayed. When the automatic activation check box in the Excel analysis setting field 1612 is turned on, Excel or Ethereal is automatically activated. In the case of Excel automatic activation, the csv output result can be confirmed. Since there is an inquiry about whether to enable the macro after starting Excel, enable it. After that, by browsing the csv file to be read, a list of analysis data is displayed (see FIG. 18). In the case of the automatic startup of Ethereal, the result of applying the display filter under the conditions of the analysis tab can be confirmed on the Ethereal.

次に、伝文トレースツール使用例について説明する。図19(a)に示すように、伝文トレースツール上で、伝文トレース形式で出力したファイル(例:xxx_TraceTool.bin)、定義書の保存先を指定する。伝文の定義書は予め作成しておく必要がある。   Next, an example of using the message trace tool will be described. As shown in FIG. 19A, on the message trace tool, a file output in the message trace format (for example, xxx_TraceTool.bin) and a destination for saving the definition document are designated. A message definition document must be created in advance.

そして、図19(b)に示すように、表示したい伝文を次の要領で選択する。まず、一覧再表示ボタン1901を押下して定義書を読み込み、欄1902でメッセージNo.を選択することにより、欄1903に伝文を一覧表示させる。欄1903で表示させたい伝文を選択すると、図19(c)に示すように、伝文内容が表示される。   And as shown in FIG.19 (b), the message to display is selected in the following way. First, a definition re-read button 1901 is pressed to read a definition document, and a message No. is selected in a column 1902 to display a list of messages in a column 1903. When the message to be displayed in the field 1903 is selected, the message content is displayed as shown in FIG.

((4)シリアル伝送診断ツール)
表示装置11上にて不図示のコマンドボタンを操作すると、図11(b)に示すように、表示装置11にシリアル伝送診断操作画面1107が表示される。シリアル伝送診断操作画面1107において、1108は「無限」、「スケジュール」、「手動(1回)」のいずれを実行するか選択するための選択ボタンである。1109は診断の中止を指示するための診断中止ボタンである。
((4) Serial transmission diagnostic tool)
When a command button (not shown) is operated on the display device 11, a serial transmission diagnosis operation screen 1107 is displayed on the display device 11, as shown in FIG. In the serial transmission diagnosis operation screen 1107, reference numeral 1108 denotes a selection button for selecting whether to execute “infinite”, “schedule”, or “manual (once)”. Reference numeral 1109 denotes a diagnosis stop button for instructing to stop the diagnosis.

図20には、シリアル伝送診断処理の流れを示す。まず、TCP/IPネットワークNW上のデータ(以下、TCP/IPデータと称する)を取得する(ステップS2001)。次に、通信対象機器400が送受信するデータ(以下、シリアル伝送データと称する)を取得する(ステップS2002)。そして、これらステップS2001、S2002で取得したデータを、図9に示したシリアル伝送診断結果シート13iにインポートし、時刻をキーにして並べ替える(ステップS2003)。   FIG. 20 shows the flow of the serial transmission diagnosis process. First, data on the TCP / IP network NW (hereinafter referred to as TCP / IP data) is acquired (step S2001). Next, data (hereinafter referred to as serial transmission data) transmitted and received by the communication target device 400 is acquired (step S2002). Then, the data acquired in steps S2001 and S2002 are imported into the serial transmission diagnosis result sheet 13i shown in FIG. 9, and rearranged using the time as a key (step S2003).

次に、TCP/IPデータとシリアル伝送データとの時刻差ΔTdを判定する(ステップS2004)。時刻差ΔTdは、通信速度等によるTCP/IPデータとシリアル伝送データとの時刻差を補正するためのものであり、この時刻差判定処理については図21により後述する。   Next, a time difference ΔTd between the TCP / IP data and the serial transmission data is determined (step S2004). The time difference ΔTd is for correcting the time difference between the TCP / IP data and the serial transmission data due to the communication speed or the like, and this time difference determination process will be described later with reference to FIG.

次に、シリアル伝送診断結果シート13iにある、シリアル伝送データの時刻データをΔTdだけ減算し、再度並び替える(ステップS2005)。   Next, the time data of the serial transmission data in the serial transmission diagnosis result sheet 13i is subtracted by ΔTd and rearranged again (step S2005).

次に、シリアル伝送診断結果シート13iにある、シリアル伝送データの時刻データの前後、具体的には図3に示した共通定義シート13aで設定されたスキャンタイム時間内で、シリアル伝送データに対応するTCP/IPデータを検索し、時刻の順番が正しくなるようにシート内の行位置を入れ替える(ステップS2006)。図9において、No.の項目に□(受信)、■(送信)が付されているものがシリアル伝送データであり、その前後にあるデータがTCP/IPデータである。   Next, before and after the time data of the serial transmission data in the serial transmission diagnosis result sheet 13i, specifically, within the scan time set in the common definition sheet 13a shown in FIG. The TCP / IP data is searched, and the row position in the sheet is switched so that the time order is correct (step S2006). In FIG. The items with □ (reception) and ■ (transmission) in the item are serial transmission data, and the data before and after that is TCP / IP data.

上記S2006において、シリアル伝送データに対応するTCP/IPデータがないと診断した場合、TCP/IPデータが欠損したと判断し、エラー通知を実行し、ネットワーク構成図シート13cの所定の場所を色変え表示する(ステップS2007)。また、シリアル伝送診断ログシート13jを作成する。   In S2006, when it is diagnosed that there is no TCP / IP data corresponding to the serial transmission data, it is determined that the TCP / IP data is lost, an error notification is executed, and the predetermined location of the network configuration diagram sheet 13c is changed in color. It is displayed (step S2007). Also, a serial transmission diagnosis log sheet 13j is created.

図21(a)には、ステップS2004の時刻差判定処理の流れを示す。まず、共通定義シート13aに設定されているデータのfrom-to(送信、受信)、タイムアウトを取得する(ステップS2101)。この例では、fromデータがENQ、toデータがACKと設定されている。   FIG. 21A shows the flow of the time difference determination process in step S2004. First, from-to (transmission, reception) and timeout of data set in the common definition sheet 13a are acquired (step S2101). In this example, the from data is set to ENQ, and the to data is set to ACK.

次に、TCP/IPデータとシリアル伝送データの両方に対して、fromデータ(ENQ)とtoデータ(ACK)を先頭より探す(ステップS2102)。ステップS2102においてデータがなければ、ステップS2105に進み、次の行のデータのfrom-to(送信、受信)を取得した上で、ステップS2102に戻る。   Next, for both TCP / IP data and serial transmission data, the from data (ENQ) and to data (ACK) are searched from the head (step S2102). If there is no data in step S2102, the process proceeds to step S2105, and after-to (transmission, reception) of the data in the next row is acquired, then the process returns to step S2102.

ステップS2102においてデータがあれば、ステップS2104に進み、ΔTt、ΔTsを計算し、ΔTt、ΔTsともにタイムアウトの範囲内にあるかどうかを判定する。ここで、図21(b)に示すように、ΔTtはTCP/IPネットワークNW側のデータの送受信の時刻差であり、ΔTsは通信対象機器400側のデータの送受信の時刻差である。   If there is data in step S2102, the process proceeds to step S2104, ΔTt and ΔTs are calculated, and it is determined whether both ΔTt and ΔTs are within the timeout range. Here, as shown in FIG. 21B, ΔTt is a time difference in data transmission / reception on the TCP / IP network NW side, and ΔTs is a time difference in data transmission / reception on the communication target device 400 side.

ステップS2104においてΔTt、ΔTsともにタイムアウトの範囲内でなければ、ステップS2105に進み、次の行のデータのfrom-to(送信、受信)を取得した上で、ステップS2102に戻る。ステップS2104においてΔTt、ΔTsともにタイムアウトの範囲内であれば、ステップS2106に進む。ステップS2106では、TCP/IPデータとシリアル伝送データとの時刻差ΔTdを次式により計算する。
ΔTd=(ΔTt+ΔTs)/2
If ΔTt and ΔTs are not within the time-out range in step S2104, the process proceeds to step S2105, and after-to (transmission, reception) of the data in the next row is acquired, then the process returns to step S2102. If ΔTt and ΔTs are both within the timeout range in step S2104, the process proceeds to step S2106. In step S2106, a time difference ΔTd between the TCP / IP data and the serial transmission data is calculated by the following equation.
ΔTd = (ΔTt + ΔTs) / 2

シリアル伝送診断操作画面1107の選択ボタン1108のうち「手動(1回)」ボタンが押下された場合は、図20の処理を実行する。また、選択ボタン1108のうち「無限」ボタンが押下された場合は、診断中止ボタン1109が押下されるまで、図20の処理を繰り返す。また、選択ボタン1108のうち「スケジュール」ボタンが押下された場合は、診断中止ボタン1109が押下されるまで、実行スケジュールシート13bで設定されているスケジュールに従って図20の処理を繰り返す。   When the “manual (once)” button of the selection buttons 1108 on the serial transmission diagnosis operation screen 1107 is pressed, the processing of FIG. 20 is executed. When the “infinity” button is pressed among the selection buttons 1108, the processing in FIG. 20 is repeated until the diagnosis stop button 1109 is pressed. When the “schedule” button among the selection buttons 1108 is pressed, the processing in FIG. 20 is repeated according to the schedule set in the execution schedule sheet 13b until the diagnosis stop button 1109 is pressed.

以上述べたシリアル伝送診断ツールにより、TCP/IPネットワークNW上のデータと、通信対象機器400が送受信するデータとを常時収集しておき、例えばトラブル発生時に、指示した時間帯におけるTCP/IPネットワークNW上のデータと、通信対象機器400が送受信するデータとを時系列につき合わせてマージし、診断することができる。これにより、障害発生時の原因究明と対策実施作業の効率化を図ることができる。   With the serial transmission diagnostic tool described above, data on the TCP / IP network NW and data transmitted and received by the communication target device 400 are always collected. For example, when a trouble occurs, the TCP / IP network NW in the designated time zone is collected. The above data and the data transmitted and received by the communication target device 400 can be merged in time series and diagnosed. Thereby, the cause investigation at the time of failure occurrence and the efficiency of the countermeasure implementation work can be improved.

なお、本発明の目的は、上述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   An object of the present invention is to supply a program of software that realizes the functions of the above-described embodiments to a system or apparatus, and a computer code (or CPU or MPU) of the system or apparatus stored in a storage medium. Needless to say, this can also be achieved by reading and executing.

この場合、記憶媒体から読み出されたプログラム自体が上述した実施形態の機能を実現することになり、プログラム自体及びそのプログラムを記憶した記憶媒体は本発明を構成することになる。プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   In this case, the program itself read from the storage medium realizes the functions of the above-described embodiments, and the program itself and the storage medium storing the program constitute the present invention. As a storage medium for supplying the program, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

本発明を適用した診断システムを含むプロセス制御システムの構成例を示す図である。It is a figure which shows the structural example of the process control system containing the diagnostic system to which this invention is applied. 診断装置の機能構成を示す図である。It is a figure which shows the function structure of a diagnostic apparatus. 共通定義シートを説明するための図である。It is a figure for demonstrating a common definition sheet | seat. 実行スケジュールシートを説明するための図である。It is a figure for demonstrating an execution schedule sheet | seat. ネットワーク構成図シートを説明するための図である。It is a figure for demonstrating a network block diagram sheet. ネットワーク定義シートを説明するための図である。It is a figure for demonstrating a network definition sheet. ping結果シートを説明するための図である。It is a figure for demonstrating a ping result sheet | seat. SW一覧シートを説明するための図である。It is a figure for demonstrating SW list sheet. シリアル伝送診断結果シートを説明するための図である。It is a figure for demonstrating a serial transmission diagnostic result sheet. シリアル伝送診断ログシートを説明するための図である。It is a figure for demonstrating a serial transmission diagnostic log sheet. 操作画面を示す図である。It is a figure which shows an operation screen. ping発行処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a ping issuing process. 「全ノード診断(1回)」ボタンの押下時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of pushing down the "all node diagnosis (once)" button. 検索開始ボタンの押下時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of pressing of a search start button. pingボタンの押下時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of pressing of a ping button. キャプチャー設定画面を示す図である。It is a figure which shows a capture setting screen. キャプチャー設定画面を示す図である。It is a figure which shows a capture setting screen. 解析データの一覧表示画面を示す図である。It is a figure which shows the list display screen of analysis data. 伝文トレースツール使用時の画面を示す図である。It is a figure which shows the screen at the time of message trace tool use. シリアル伝送診断処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a serial transmission diagnostic process. 時刻差判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a time difference determination process.

符号の説明Explanation of symbols

1 診断装置
2 スイッチングハブ
100 制御サーバ
200 スイッチングハブ
300 ネットワーク機器
400 通信対象機器
500 プロトコル変換器
600 分岐ケーブル
700 シリアル伝送キャプチャー装置
800 キャプチャーデータ格納部
11 表示装置
12 入力装置
13 ワークシート格納部
14 ping発行部
15 診断部
16 表示制御部
17 CRCエラー監視部
18 ログ出力部
19 キャプチャー部
20 シリアル伝送データ取得部
DESCRIPTION OF SYMBOLS 1 Diagnosis apparatus 2 Switching hub 100 Control server 200 Switching hub 300 Network apparatus 400 Communication object apparatus 500 Protocol converter 600 Branch cable 700 Serial transmission capture apparatus 800 Capture data storage part 11 Display apparatus 12 Input apparatus 13 Worksheet storage part 14 Ping issue Section 15 Diagnosis section 16 Display control section 17 CRC error monitoring section 18 Log output section 19 Capture section 20 Serial transmission data acquisition section

Claims (6)

複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断するネットワークシステムの診断システムであって、
前記ネットワーク上のデータを収集する第1の収集手段と、
前記通信対象機器が送受信するデータを収集する第2の収集手段と、
前記第1の収集手段で収集した前記ネットワーク上のデータのうち、前記第2の収集手段で収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する伝送診断手段とを備えたことを特徴とするネットワークシステムの診断システム。
A network that monitors and diagnoses a network system in which a network configured by connecting a plurality of devices and a communication target device that performs data communication using a communication protocol different from the communication protocol of the network is connected via a protocol converter A system diagnostic system,
First collecting means for collecting data on the network;
Second collection means for collecting data transmitted and received by the communication target device;
The data corresponding to the data transmitted and received by the communication target device collected by the second collection means among the data on the network collected by the first collection means is searched based on time, and spreadsheet software A diagnostic system for a network system, comprising: a transmission diagnostic means for outputting to a sheet created in (1).
前記伝送診断手段は、前記第1の収集手段で収集した前記ネットワーク上のデータのうち、前記第2の収集手段で収集した前記通信対象機器が送受信するデータに対応するものがないと診断された場合、エラー通知を行うことを特徴とする請求項1に記載のネットワークシステムの診断システム。   The transmission diagnosis unit is diagnosed as having no data on the network collected by the first collection unit corresponding to data transmitted and received by the communication target device collected by the second collection unit. The network system diagnosis system according to claim 1, wherein an error notification is issued in the case. 前記診断手段は、前記第1の収集手段で収集した前記ネットワーク上のデータのうち、前記第2の収集手段で収集した前記通信対象機器が送受信するデータに対応するものがないと診断された場合、表計算ソフトウェアで作成した前記ネットワークシステムの構成を図で表わすネットワーク構成図に反映させて表示装置に表示することを特徴とする請求項1又は2に記載のネットワークシステムの診断システム。   When the diagnosis unit diagnoses that the data on the network collected by the first collection unit does not correspond to the data transmitted and received by the communication target device collected by the second collection unit The network system diagnosis system according to claim 1 or 2, wherein the network system configuration created by spreadsheet software is displayed on a display device by reflecting the configuration on the network configuration diagram. 表計算ソフトウェアで作成した実行スケジュールシートにより、前記伝送診断スケジュールを設定可能としたことを特徴とする請求項1〜3のいずれか1項に記載のネットワークシステムの診断システム。   The network system diagnosis system according to any one of claims 1 to 3, wherein the transmission diagnosis schedule can be set by an execution schedule sheet created by spreadsheet software. 複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断するネットワークシステムの診断方法であって、
前記ネットワーク上のデータを収集する手順と、
前記通信対象機器が送受信するデータを収集する手順と、
前記収集した前記ネットワーク上のデータのうち、前記収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する手順とを有することを特徴とするネットワークシステムの診断方法。
A network that monitors and diagnoses a network system in which a network configured by connecting a plurality of devices and a communication target device that performs data communication using a communication protocol different from the communication protocol of the network is connected via a protocol converter A system diagnostic method comprising:
Collecting data on the network;
A procedure for collecting data transmitted and received by the communication target device;
A step of searching for the data corresponding to the data transmitted and received by the communication target device among the collected data on the network on the basis of time, and outputting to a sheet created by spreadsheet software A network system diagnosis method characterized by the above.
複数の機器が接続して構成されるネットワークと、前記ネットワークの通信プロトコルとは異なる通信プロトコルでデータ通信を行う通信対象機器とがプロトコル変換器を介して接続されたネットワークシステムを監視、診断する処理をコンピュータに実行させるためのプログラムであって、
前記ネットワーク上のデータを収集する処理と、
前記通信対象機器が送受信するデータを収集する処理と、
前記収集した前記ネットワーク上のデータのうち、前記収集した前記通信対象機器が送受信するデータに対応するものを時間を基準にして検索し、表計算ソフトウェアで作成したシートに出力する処理とをコンピュータに実行させるためのプログラム。
A process for monitoring and diagnosing a network system in which a network configured by connecting a plurality of devices and a communication target device that performs data communication using a communication protocol different from the communication protocol of the network is connected via a protocol converter A program for causing a computer to execute
Processing to collect data on the network;
A process of collecting data transmitted and received by the communication target device;
A process of searching the data corresponding to the data transmitted / received by the communication target device among the collected data on the network on the basis of time and outputting the result to a sheet created by spreadsheet software on a computer A program to be executed.
JP2008045024A 2008-02-26 2008-02-26 Diagnostic system, method and program for network system Active JP4879926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008045024A JP4879926B2 (en) 2008-02-26 2008-02-26 Diagnostic system, method and program for network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008045024A JP4879926B2 (en) 2008-02-26 2008-02-26 Diagnostic system, method and program for network system

Publications (2)

Publication Number Publication Date
JP2009205296A JP2009205296A (en) 2009-09-10
JP4879926B2 true JP4879926B2 (en) 2012-02-22

Family

ID=41147508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008045024A Active JP4879926B2 (en) 2008-02-26 2008-02-26 Diagnostic system, method and program for network system

Country Status (1)

Country Link
JP (1) JP4879926B2 (en)

Also Published As

Publication number Publication date
JP2009205296A (en) 2009-09-10

Similar Documents

Publication Publication Date Title
EP2721493B1 (en) Method and apparatus to manage information between a scan tool and networked devices
CN106681930B (en) Distributed automatic detection method and system for abnormal operation of application
CN102650875B (en) Inspection system, management server, inspection device and inspection data managing method
JP2007102644A (en) Production management device, production management method, production management program, recording medium which records production management program and production system
CN111052087B (en) Control system, information processing apparatus, and recording medium
CN111624960A (en) Intelligent remote parameter monitoring system of manned spacecraft manufacturing equipment production line
CN105279919A (en) Electricity utilization information acquiring system
US7575103B2 (en) Elevator supervisory system for managing operating condition data
JP2002278797A (en) Security diagnosis system and security diagnosis method
JP2008171077A (en) Network system monitoring system, method, and computer program
JP4879926B2 (en) Diagnostic system, method and program for network system
CN115202282A (en) Analysis device, analysis system, and control method thereof
US11934168B2 (en) Method and interface for automated loop checking of an industrial process control and automation system
JP5053319B2 (en) Diagnostic system and program for network system
JP4257364B2 (en) COMMUNICATION ERROR INFORMATION OUTPUT PROGRAM, COMMUNICATION ERROR INFORMATION OUTPUT METHOD, AND COMMUNICATION ERROR INFORMATION OUTPUT DEVICE
CN116862196A (en) Robot operation and maintenance method, equipment and storage medium
JP2023110263A (en) Program and programmable logic controller
CN114999477A (en) Interactive employee reporting system
JP6919289B2 (en) Control device, control method and control program
JP3480886B2 (en) Controller failure analyzer
JP2005275713A (en) Maintenance information management system
JP5195332B2 (en) Network system design support system, method, program and network system design support / monitoring system
CN118916069B (en) Automatically implement incremental code walkthrough system and incremental code walkthrough method based on DevOps platform
CN114385488B (en) Blockchain testing method, device, equipment and storage medium
JP4989739B2 (en) Maintenance device, maintenance method and program, and facility management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111031

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111108

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111130

R151 Written notification of patent or utility model registration

Ref document number: 4879926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350