JP2010200063A - Transmission line fault detecting method and program - Google Patents
Transmission line fault detecting method and program Download PDFInfo
- Publication number
- JP2010200063A JP2010200063A JP2009043413A JP2009043413A JP2010200063A JP 2010200063 A JP2010200063 A JP 2010200063A JP 2009043413 A JP2009043413 A JP 2009043413A JP 2009043413 A JP2009043413 A JP 2009043413A JP 2010200063 A JP2010200063 A JP 2010200063A
- Authority
- JP
- Japan
- Prior art keywords
- failure detection
- detection signal
- computer
- log file
- communication device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、通信機器間の伝送路の故障を定期的に検出する方法と、この方法をコンピュータに実行させるプログラムに関する。 The present invention relates to a method for periodically detecting a failure in a transmission path between communication devices, and a program for causing a computer to execute this method.
通信機器や計測機器などをコンピュータにより制御する場合、両者の接続はRS−232C規格のケーブルで行うのが一般的である。その場合、ポーリングに対するレスポンスの有無で伝送路の故障を検出している(特許文献1参照)。 When a communication device, a measurement device, or the like is controlled by a computer, the connection between the two is generally performed using an RS-232C standard cable. In that case, a failure in the transmission path is detected based on the presence or absence of a response to polling (see Patent Document 1).
しかし、ポーリングはデータ送信の開始に先立って行われるため、データ送信の休止期間は伝送路の故障検出ができなくなる。 However, since polling is performed prior to the start of data transmission, it becomes impossible to detect a failure in the transmission line during the pause period of data transmission.
本発明は、このような事情に鑑み、データ送信の休止期間でも、伝送路の故障検出が可能な伝送路故障検出方法の提供を目的とする。 In view of such circumstances, it is an object of the present invention to provide a transmission path failure detection method capable of detecting a transmission path failure even during a data transmission suspension period.
前記目的を達成するため、本発明は、通信機器間の伝送路の故障を検出する方法において、一の通信機器が他の通信機器に対し故障検出信号を所定の時間間隔をおいて送信するステップと、前記他の通信機器が前記故障検出信号の送信間隔よりも長い時間間隔でログファイルを監視するステップと、前回のログファイル監視時以降の故障検出信号の受信記録がある場合、前記他の通信機器が伝送路正常であると判定する一方、前回のログファイル監視時以降の故障検出信号の受信記録がない場合には、前記他の通信機器が伝送路故障であると判定するステップとからなることを特徴とする。 To achieve the above object, the present invention provides a method for detecting a failure in a transmission path between communication devices, wherein one communication device transmits a failure detection signal to another communication device at a predetermined time interval. And when the other communication device monitors the log file at a time interval longer than the transmission interval of the failure detection signal, and when there is a reception record of the failure detection signal after the previous log file monitoring, While determining that the communication device is normal on the transmission path, if there is no reception record of the failure detection signal after the previous log file monitoring, from the step of determining that the other communication device is a transmission path failure It is characterized by becoming.
前記目的を達成するため、本発明は、通信機器と結ばれる伝送路の故障を判定すべくコンピュータに実行させるプログラムであって、前記通信機器がコンピュータに対し故障検出信号を所定の時間間隔をおいて送信する際に、前記コンピュータが前記故障検出信号の送信間隔よりも長い時間間隔でログファイルを監視するステップと、前回のログファイル監視時以降の故障検出信号の受信記録がある場合、前記コンピュータが伝送路正常であると判定する一方、前回のログファイル監視時以降の故障検出信号の受信記録がない場合には、前記コンピュータが伝送路故障であると判定するステップとを実行させることを特徴とする。 In order to achieve the above object, the present invention is a program for causing a computer to execute a failure determination of a transmission path connected to a communication device, wherein the communication device sends a failure detection signal to the computer at a predetermined time interval. The computer monitors the log file at a time interval longer than the transmission interval of the failure detection signal, and if there is a reception record of the failure detection signal after the previous log file monitoring, the computer The computer determines that the transmission path is faulty when there is no reception record of the failure detection signal after the previous log file monitoring. And
本発明によれば、送信データの有無に係わらず、一の通信機器が他の通信機器に対し故障検出信号を所定の時間間隔をおいて送信しているので、データ送信の休止期間でも伝送路の故障を検出することが可能になる。
さらに、他の通信機器はログファイルの故障検出信号の受信記録により伝送路の故障を判定しているので、故障検出信号の受信の有無で故障判定する場合に必要となる、受信信号の振り分ける処理を行わなくて済み、制御が容易である。
According to the present invention, since one communication device transmits a failure detection signal to another communication device at a predetermined time interval regardless of the presence or absence of transmission data, a transmission line can be transmitted even during a data transmission suspension period. It becomes possible to detect the failure of the.
In addition, since other communication devices determine the failure of the transmission path based on the reception record of the failure detection signal in the log file, the received signal distribution process required when determining failure based on whether or not the failure detection signal is received Is easy to control.
(第1の実施形態)
以下、本発明の実施形態を添付図面を参照しながら詳細に説明する。
図1に示すように、コンピュータ1と通信機器(被制御機器)2は、非同期シリアル伝送路であるRS−232Cのケーブル3で接続してある。コンピュータ1には、通信機器2からその動作や状態に関するデータが送られる。通信機器2には、その動作を制御するためのコマンドがコンピュータ1から送られる。
(First embodiment)
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
As shown in FIG. 1, a computer 1 and a communication device (controlled device) 2 are connected by a cable 3 of RS-232C which is an asynchronous serial transmission path. Data relating to the operation and state is sent from the communication device 2 to the computer 1. A command for controlling the operation is sent from the computer 1 to the communication device 2.
図2に示すように、コンピュータ1は、通信機器2との間でデータの遣り取りをする送受信部10と、送受信部10に受け渡すデータの処理を実行するデータ処理部11と、送受信部10の送受信記録をログファイルとして記憶する記憶部12と、記憶部12のログファイルを定期的に監視するログファイル監視部13と、ログファイルにある故障検出信号の受信記録により伝送路の故障を判定する故障判定部14と、伝送路の故障を画面表示や音声で知らせる報知部15とを備えてなる。記憶部12はハードディスクやフラッシュメモリなどの不揮発性記憶媒体からなる。
As shown in FIG. 2, the computer 1 includes a transmission /
通信機器2は、コンピュータ1との間でデータの遣り取りをする送受信部20と、送受信部20に受け渡すデータの処理を実行するデータ処理部21と、故障検出信号を発生して送受信部20に送る故障検出信号発生部22とを備えてなる。故障検出信号には、コンピュータ1にてその信号を特定できる文字列が含まれる。
The communication device 2 includes a transmission /
図3は、故障検出信号の発生間隔とログファイルの監視間隔の関係を示すタイムチャートである。
故障検出信号は、一定の時間間隔tで通信機器2から送信され、その受信記録がコンピュータ1にログファイルとして記録される。ログファイル監視部13は、故障検出信号の発生間隔tよりも長い間隔Tでログファイルを監視する。故障検出信号が正常に受信されている場合、図3に示すように、その受信記録がログファイルに順次残されていく。伝送路の故障により故障検出信号が受信されなくなると、ログファイルの故障検出信号の受信記録がなくなるので、故障検出手段14は、ログファイル監視部13がログファイルを監視する都度、前回の監視時以降に受信した故障検出信号の受信記録があるか否かを調べ、この記録がない場合に報知手段15を作動させる。
FIG. 3 is a time chart showing the relationship between the occurrence interval of the failure detection signal and the monitoring interval of the log file.
The failure detection signal is transmitted from the communication device 2 at a constant time interval t, and the reception record is recorded in the computer 1 as a log file. The log
図4はログファイルの一例を示している。
このログファイルには、故障検出信号の受信記録100と通常データの送受信記録200が記載されている。故障検出信号の受信記録100は、受信時刻の表示100aと、故障検出信号である旨の表示100bとを含む。ここでは、故障検出信号の発生間隔tは10分に設定されている。この場合のログファイル監視間隔Tは30分に設定されている。
FIG. 4 shows an example of the log file.
In the log file, a failure detection
通信機器2の送受信部20では、通常の信号と故障検出信号の競合時にFIFO(First In First Out)制御が行われるため、故障検出信号の遅延を生じる場合がある。このため、ログファイルの監視間隔Tは、故障検出信号の発生間隔tよりもある程度、大きくする必要がある。また、故障検出信号の受信時刻がログファイルの監視時刻に接近または一致すると、その受信記録の検出ができなくなるので、ログファイルの監視間隔Tを故障検出信号の発生間隔tの2倍以上にすることで、ログファイルの監視間隔Tの間に少なくても2つの故障検出信号の受信時刻が収まるようにするのが好ましい。なお、ログファイルの監視間隔Tの値はシステム運用上の要求を考慮して決めればよい。
In the transmission /
以上の方法では、通信機器2が故障検出信号を所定の時間間隔で送信しているので、コンピュータ1または通信機器2のデータ送信の休止期間でも伝送路の故障を検出することが可能になる。 In the above method, since the communication device 2 transmits the failure detection signal at a predetermined time interval, it is possible to detect a failure in the transmission path even during the data transmission suspension period of the computer 1 or the communication device 2.
ところで、コンピュータ1は、故障検出信号の受信ができなくなった時点で伝送路の故障を判定することもできるが、その場合、送受信部10から出力される受信信号を、通常の信号と故障検出信号に振り分ける処理を行わなければならず、制御が複雑になる。
By the way, the computer 1 can also determine the failure of the transmission path when it becomes impossible to receive the failure detection signal. In this case, the received signal output from the transmission /
(第2の実施形態)
図5は本実施形態のシステム構成図を示している。
コンピュータ1は、コンソール終端装置30を介して複数の通信機器2と接続されている。コンソール終端装置30は、コンピュータ1と通信機器2との間でやり取りされるデータ形式を変換するインターフェースとして機能するとともに、コンピュータ1からのデータを各通信機器2に分配するルータとして機能する。コンピュータ1とコンソール終端装置30はLANケーブル31で接続されている。各通信機器2とコンソール終端装置30はRS−232Cのケーブル32で接続されている。なお、コンピュータ1と通信機器2の構成は図2と同一であるので、説明を省略する。
(Second Embodiment)
FIG. 5 shows a system configuration diagram of the present embodiment.
The computer 1 is connected to a plurality of communication devices 2 via a console terminal device 30. The console terminator 30 functions as an interface that converts the data format exchanged between the computer 1 and the communication device 2, and also functions as a router that distributes data from the computer 1 to each communication device 2. The computer 1 and the console terminal device 30 are connected by a LAN cable 31. Each communication device 2 and the console terminal device 30 are connected by an RS-232C cable 32. The configurations of the computer 1 and the communication device 2 are the same as those in FIG.
図6は、故障検出信号の発生間隔とログファイルの監視間隔の関係を示すタイムチャートである。
本実施形態でも、各通信機器2は故障検出信号を一定の時間間隔tおいて送信し、コンピュータ1は、故障検出信号の発生間隔tよりも大きな間隔Tでログファイルを監視し、前回の監視時以降に受信した故障検出信号の受信記録の有無で伝送路の故障を判定する。なお、通信機器2間での故障検出信号の同期は取られていないが、故障検出信号はコンソール終端装置30を介してコンピュータ1に送られるため、各通信機器2からの故障検出信号の受信時刻は、少なくてもパケット伝送時間分の遅れを生じ、ログファイル監視間隔Tの間に収まることになる。ログファイルの監視間隔Tは、上述の理由により故障検出信号の発生間隔tの2倍以上にするのが好ましい。
FIG. 6 is a time chart showing the relationship between the occurrence interval of the failure detection signal and the monitoring interval of the log file.
Also in this embodiment, each communication device 2 transmits a failure detection signal at a fixed time interval t, and the computer 1 monitors the log file at an interval T larger than the failure detection signal generation interval t, and the previous monitoring. The failure of the transmission path is determined based on the presence or absence of the reception record of the failure detection signal received after that time. Although the failure detection signal is not synchronized between the communication devices 2, the failure detection signal is sent to the computer 1 via the console terminal device 30, so the reception time of the failure detection signal from each communication device 2 Causes a delay of at least the packet transmission time, and falls within the log file monitoring interval T. The log file monitoring interval T is preferably at least twice the failure detection signal generation interval t for the reasons described above.
各通信機器2からの故障検出信号が正常に受信されている場合、図6に示すように、その受信記録がログファイルに順次残されていく。伝送路の故障により故障検出信号が受信されなくなると、該当する故障検出信号の受信記録がログファイルからなくなるので、故障検出手段14は、ログファイル監視部13がログファイルを監視する都度、前回の監視時以降に受信した故障検出信号の記録があるか否かを調べ、この記録がない場合に報知手段15を作動させる。その際、受信記録のない故障検出信号を発する通信機器2に繋がる伝送路の故障を報知する。
When the failure detection signal from each communication device 2 is normally received, the reception records are sequentially left in the log file as shown in FIG. When a failure detection signal is not received due to a failure in the transmission path, the reception record of the corresponding failure detection signal disappears from the log file, so that the failure detection means 14 causes the log
ところで、コンピュータ1とコンソール終端装置30間の通信はTCP/IPで行われるため、LANケーブル31の故障検出はコンピュータ1のソフトウェアで容易にできるが、コンソール終端装置30と通信機器2間の通信はTCP/IPよりも下層にある物理層のプロトコルで行われるため、RS−232Cのケーブル32の故障をコンピュータ1のソフトウェアで検出するのは難しい。よって、本実施形態の方法によれば、ネットワークを構成する各テーブル31,32の故障の検出が容易になる。その他の効果は第1の実施形態と同じである。 By the way, since the communication between the computer 1 and the console terminal device 30 is performed by TCP / IP, the failure detection of the LAN cable 31 can be easily performed by the software of the computer 1, but the communication between the console terminal device 30 and the communication device 2 is performed. It is difficult to detect the failure of the RS-232C cable 32 with the software of the computer 1 because it is performed using a physical layer protocol below the TCP / IP. Therefore, according to the method of the present embodiment, it is easy to detect a failure in each of the tables 31 and 32 configuring the network. Other effects are the same as those of the first embodiment.
なお、以上の実施形態では、コンピュータ1と通信機器2を接続するケーブルの故障検出について説明したが、ケーブルで接続されるものは通信機器のであれば、その種類は問わない。また、伝送路についても有線、無線の別は問わない。 In the above embodiment, the failure detection of the cable connecting the computer 1 and the communication device 2 has been described. However, the type connected to the cable is not limited as long as it is a communication device. Also, the transmission path may be either wired or wireless.
1 コンピュータ
2 通信機器(被制御機器)
3 RS−232Cのケーブル
10 送受信部
11 データ処理部
12 記憶部12
13 ログファイル監視部
14 故障判定部
15 報知部
20 送受信部
21 データ処理部21
22 故障検出信号発生部
1 Computer 2 Communication equipment (controlled equipment)
3 RS-
13 Log
22 Fault detection signal generator
Claims (7)
一の通信機器が他の通信機器に対し故障検出信号を所定の時間間隔をおいて送信するステップと、
前記他の通信機器が前記故障検出信号の送信間隔よりも長い時間間隔でログファイルを監視するステップと、
前回のログファイル監視時以降の故障検出信号の受信記録がある場合、前記他の通信機器が伝送路正常であると判定する一方、前回のログファイル監視時以降の故障検出信号の受信記録がない場合には、前記他の通信機器が伝送路故障であると判定するステップと、
からなることを特徴とする伝送路故障検出方法。 In a method for detecting a failure in a transmission path between communication devices,
One communication device transmits a failure detection signal to another communication device at a predetermined time interval; and
Monitoring the log file at a time interval longer than the transmission interval of the failure detection signal by the other communication device;
If there is a failure detection signal reception record after the previous log file monitoring, the other communication device determines that the transmission path is normal, but there is no failure detection signal reception record after the previous log file monitoring. In the case, the step of determining that the other communication device has a transmission path failure;
A transmission line fault detection method comprising:
前記通信機器がコンピュータに対し故障検出信号を所定の時間間隔をおいて送信する際に、前記コンピュータが前記故障検出信号の送信間隔よりも長い時間間隔でログファイルを監視するステップと、
前回のログファイル監視時以降の故障検出信号の受信記録がある場合、前記コンピュータが伝送路正常であると判定する一方、前回のログファイル監視時以降の故障検出信号の受信記録がない場合には、前記コンピュータが伝送路故障であると判定するステップと、
を実行させることを特徴とするプログラム。 A program to be executed by a computer to determine a failure of a transmission line connected to a communication device,
When the communication device transmits a failure detection signal to the computer at a predetermined time interval, the computer monitors the log file at a time interval longer than the transmission interval of the failure detection signal;
If there is a failure detection signal reception record since the previous log file monitoring, the computer determines that the transmission path is normal, but there is no failure detection signal reception record since the previous log file monitoring Determining that the computer has a transmission line failure;
A program characterized by having executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009043413A JP2010200063A (en) | 2009-02-26 | 2009-02-26 | Transmission line fault detecting method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009043413A JP2010200063A (en) | 2009-02-26 | 2009-02-26 | Transmission line fault detecting method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010200063A true JP2010200063A (en) | 2010-09-09 |
Family
ID=42824302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009043413A Pending JP2010200063A (en) | 2009-02-26 | 2009-02-26 | Transmission line fault detecting method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010200063A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05324558A (en) * | 1992-05-26 | 1993-12-07 | Fujitsu Ltd | State display device for plural devices |
JPH06252897A (en) * | 1993-02-26 | 1994-09-09 | Nri & Ncc Co Ltd | Method and system for multiple address file transfer |
JPH09289509A (en) * | 1996-04-23 | 1997-11-04 | Matsushita Electric Ind Co Ltd | System and method for network management |
JPH11212836A (en) * | 1997-11-18 | 1999-08-06 | Hitachi Ltd | Fault processing method, execution device for the same and medium recording processing program for the same |
JP2001067293A (en) * | 1999-08-31 | 2001-03-16 | Hitachi Denshi Ltd | Tcp/ip protocol converter |
JP2003273875A (en) * | 2002-03-14 | 2003-09-26 | Omron Corp | Data server |
JP2004102980A (en) * | 2002-07-19 | 2004-04-02 | Rinnai Corp | Bathroom monitoring system |
JP2004320260A (en) * | 2003-04-14 | 2004-11-11 | Matsushita Electric Works Ltd | Remote apparatus supervising/controlling system and its method of validating live status |
JP2005182567A (en) * | 2003-12-22 | 2005-07-07 | Mitsubishi Electric Corp | Communication status monitoring method and device |
JP2008134774A (en) * | 2006-11-28 | 2008-06-12 | Nec Corp | Protocol conversion device |
JP2008228035A (en) * | 2007-03-14 | 2008-09-25 | Hitachi Ltd | Network system, node device and management server |
-
2009
- 2009-02-26 JP JP2009043413A patent/JP2010200063A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05324558A (en) * | 1992-05-26 | 1993-12-07 | Fujitsu Ltd | State display device for plural devices |
JPH06252897A (en) * | 1993-02-26 | 1994-09-09 | Nri & Ncc Co Ltd | Method and system for multiple address file transfer |
JPH09289509A (en) * | 1996-04-23 | 1997-11-04 | Matsushita Electric Ind Co Ltd | System and method for network management |
JPH11212836A (en) * | 1997-11-18 | 1999-08-06 | Hitachi Ltd | Fault processing method, execution device for the same and medium recording processing program for the same |
JP2001067293A (en) * | 1999-08-31 | 2001-03-16 | Hitachi Denshi Ltd | Tcp/ip protocol converter |
JP2003273875A (en) * | 2002-03-14 | 2003-09-26 | Omron Corp | Data server |
JP2004102980A (en) * | 2002-07-19 | 2004-04-02 | Rinnai Corp | Bathroom monitoring system |
JP2004320260A (en) * | 2003-04-14 | 2004-11-11 | Matsushita Electric Works Ltd | Remote apparatus supervising/controlling system and its method of validating live status |
JP2005182567A (en) * | 2003-12-22 | 2005-07-07 | Mitsubishi Electric Corp | Communication status monitoring method and device |
JP2008134774A (en) * | 2006-11-28 | 2008-06-12 | Nec Corp | Protocol conversion device |
JP2008228035A (en) * | 2007-03-14 | 2008-09-25 | Hitachi Ltd | Network system, node device and management server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110808874B (en) | Cross-machine-room service monitoring method and device, storage medium and server | |
US7743274B2 (en) | Administering correlated error logs in a computer system | |
JP2002540751A (en) | Fault data synchronization via peer-to-peer communication networks | |
US20140189103A1 (en) | System for monitoring servers and method thereof | |
CN104067599A (en) | Network state monitoring system | |
JP2010218510A (en) | System and method for monitoring of condition | |
US10721135B1 (en) | Edge computing system for monitoring and maintaining data center operations | |
JP2017508391A (en) | Method for matching data and event gap transmitted / received in network using different communication technologies | |
WO2016086638A1 (en) | Link detection method, device, and computer storage medium | |
JP5770815B2 (en) | Wireless monitoring control method and apparatus | |
JP2013093681A (en) | Monitoring camera device and monitoring camera system | |
US20140125817A1 (en) | Connection problem determination method and connection problem determination apparatus for image input device | |
US9575866B1 (en) | Diagnostic module for monitoring electronic data transmission | |
JP2010200063A (en) | Transmission line fault detecting method and program | |
JP2010147804A (en) | Transmitting apparatus, and unit mounted on the same | |
JP5104549B2 (en) | Network quality measuring device, transmitting device, receiving device, and network quality measuring method | |
JP6919461B2 (en) | Node device and failover control method | |
JP2001346181A (en) | Data storage section common share system and program recording medium | |
JP2015082131A (en) | Monitoring system, monitoring method, monitoring program, and monitoring device | |
JP5523898B2 (en) | Control device | |
TWI423638B (en) | Communication system, test device, communication device, communication method, and test method | |
JP2006195780A (en) | Controller and remote i/o communication method | |
JP2008040680A (en) | Monitoring method, monitoring device, monitoring program and monitoring system | |
KR101627796B1 (en) | Device Indicator Data Transmitting Method for Network based AV System | |
JP7244094B2 (en) | COMMUNICATION MONITORING SYSTEM, COMMUNICATION MONITORING METHOD, AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110217 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111027 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20120813 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130129 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130401 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130820 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131217 |