JP2001211106A - Transmission system with abnormality monitor function, terminal device with abnormality monitor function, and recording medium storing processing program for terminal device with abnormality monitor function - Google Patents

Transmission system with abnormality monitor function, terminal device with abnormality monitor function, and recording medium storing processing program for terminal device with abnormality monitor function

Info

Publication number
JP2001211106A
JP2001211106A JP2000018847A JP2000018847A JP2001211106A JP 2001211106 A JP2001211106 A JP 2001211106A JP 2000018847 A JP2000018847 A JP 2000018847A JP 2000018847 A JP2000018847 A JP 2000018847A JP 2001211106 A JP2001211106 A JP 2001211106A
Authority
JP
Japan
Prior art keywords
socket
abnormality
monitoring
terminal device
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.)
Granted
Application number
JP2000018847A
Other languages
Japanese (ja)
Other versions
JP3992895B2 (en
Inventor
Kazuhiko Kimijima
和彦 君島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000018847A priority Critical patent/JP3992895B2/en
Publication of JP2001211106A publication Critical patent/JP2001211106A/en
Application granted granted Critical
Publication of JP3992895B2 publication Critical patent/JP3992895B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a transmission system equipped with an abnormality monitor function which can detect abnormality for each socket by sending monitor data for each socket in a prescribed cycle and monitoring a transmission line, with respect to socket communication carried out between terminal devices having the TCP/IP protocol. SOLUTION: This transmission system 1 is a transmission system which can monitor abnormality during socket communication between terminal devices having the TCP/IP protocol by connecting the terminal devices by a LAN and is characterized in that the terminal devices 2 and 3 send and receive transmit data to and from each other and also send and receive monitor data for each socket in a proscribed cycle and it decides that abnormality occurred in the line if the monitor data cannot be sent and received for a prescribed time to close and then reconnect the line.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、TCP/IP(Tr
ansmission Control Protocol/Internet Protocol)プ
ロトコルを実装した端末装置間でソケット通信を行う伝
送システムに関し、特に一定周期の監視データをソケッ
ト毎に送信して異常を監視することにより、ソケット毎
に異常を検知することのできる異常監視機能を備えた伝
送システム、異常監視機能を備えた端末装置、及び異常
監視機能を備えた端末装置における処理プログラムを記
録した記録媒体に関する。
TECHNICAL FIELD The present invention relates to a TCP / IP (Tr
A transmission system that performs socket communication between terminal devices that implements an Ansmission Control Protocol / Internet Protocol). In particular, an abnormality is detected for each socket by transmitting monitoring data of a fixed period for each socket and monitoring the abnormality. The present invention relates to a transmission system having an abnormality monitoring function, a terminal device having an abnormality monitoring function, and a recording medium recording a processing program in a terminal device having an abnormality monitoring function.

【0002】[0002]

【従来の技術】従来からパソコンやPLC(Programabl
e Logic Controler)、ワークステーションなどの端末
装置の間をイーサネット(Ethernet)などのLAN(Lo
cal Area Network)によって接続してソケット通信が行
われていた。
2. Description of the Related Art Conventionally, personal computers and PLCs (Programmable
e Logic Controler) and LAN (Loss) such as Ethernet between terminal devices such as workstations.
cal Area Network) for socket communication.

【0003】このような通信の一例として、水道事業に
おけるポンプ所と処理場との間で従来から行われている
一般的な伝送システムについて、図4に基づいて説明す
る。
[0003] As an example of such communication, a general transmission system conventionally performed between a pump station and a treatment plant in a water supply business will be described with reference to FIG.

【0004】図4に示すように、従来の伝送システム1
01は、処理場102の監視装置103に接続されたP
LC104と、ポンプ所105のポンプ106に接続さ
れたPLC107と、処理場102とポンプ所105と
の間を接続する伝送路108とから構成されている。
[0004] As shown in FIG.
01 is the P connected to the monitoring device 103 of the processing plant 102
It comprises an LC 104, a PLC 107 connected to a pump 106 of a pump station 105, and a transmission line 108 connecting between the processing station 102 and the pump station 105.

【0005】ここで、PLC104、107は、TCP
/IPプロトコルを実装し、ソケット通信により伝送デ
ータを送受信する。ソケットは複数あり、デジタルデー
タ、アナログデータ、パルスデータ、デジタル出力、設
定値出力などの伝送を行うソケットが用意されている。
Here, the PLCs 104 and 107 are TCP
/ IP protocol is implemented, and transmission data is transmitted and received by socket communication. There are a plurality of sockets, and sockets for transmitting digital data, analog data, pulse data, digital output, set value output, and the like are provided.

【0006】また、伝送路108はイーサネットなどの
LANによる伝送路であって、とくにイーサネットであ
る場合には、トランシーバケーブル、トランシーバ、イ
ーサネット同軸ケーブルを介して各PLC104、10
7間は接続されている。またATMルータを介して下水
道管内に設置された光ファイバーケーブルで接続される
場合もある。
The transmission path 108 is a transmission path using a LAN such as Ethernet. In the case of Ethernet, in particular, each of the PLCs 104, 10 is connected via a transceiver cable, a transceiver, and an Ethernet coaxial cable.
7 are connected. In some cases, the connection is made by an optical fiber cable installed in a sewer pipe via an ATM router.

【0007】この従来の伝送システムによるTCP伝送
をフローチャートに基づいて説明する。
The TCP transmission by the conventional transmission system will be described with reference to a flowchart.

【0008】まず、送信側のPLC104における処理
を図5のフローチャートに基づいて説明する。送信側で
は、まず複数のソケットのうち伝送データを送信するソ
ケットをアクティブオープンして受信側にコネクション
の確立を要求する(S501)。このとき、受信側の該
当するソケットがパッシブオープンされていなければ、
コネクションは確立されないのでステップS501に戻
ってコネクションを要求し続け、受信側のソケットがパ
ッシブオープンされているときにはコネクションを確立
する(S502)。コネクションが確立されると、その
後はオペレータによるポンプの操作命令や各機器の作動
状況などの伝送データがあれば、随時伝送することがで
きる。そこで、オペレータによって伝送データが入力さ
れたか否かを判断し(S503)、伝送データが入力さ
れたときにはその伝送データを送信する(S504)。
そして、ステップS503で伝送データが入力されてい
ないと判断されたとき、あるいはステップS504で入
力された伝送データが送信されたときにはコネクション
を確立し続けるか否かを判断する(S505)。ここ
で、コネクションを終了するときにはソケットをクロー
ズして(S506)伝送を終了し、コネクションを確立
し続けるときにはステップS503に戻って伝送を続け
る。
First, the processing in the PLC 104 on the transmitting side will be described with reference to the flowchart of FIG. The transmitting side first actively opens a socket for transmitting transmission data among a plurality of sockets, and requests the receiving side to establish a connection (S501). At this time, if the corresponding socket on the receiving side is not passively opened,
Since the connection is not established, the process returns to step S501 to continue requesting the connection, and establishes the connection when the socket on the receiving side is passively opened (S502). After the connection is established, if there is transmission data such as an operation instruction of the pump by the operator or the operation status of each device, the transmission can be performed at any time. Then, it is determined whether or not transmission data has been input by the operator (S503), and when the transmission data has been input, the transmission data is transmitted (S504).
Then, when it is determined in step S503 that the transmission data has not been input, or when the transmission data input in step S504 has been transmitted, it is determined whether or not to continue the connection (S505). Here, to terminate the connection, the socket is closed (S506) to terminate the transmission, and to continue to establish the connection, the process returns to step S503 to continue the transmission.

【0009】次に、受信側のPLC107における処理
を図6のフローチャートに基づいて説明する。受信側で
は、まずデータが伝送されてくるソケットをパッシブオ
ープンして送信側のPLC104にコネクションの確立
を要求する(S601)。このとき、送信側がアクティ
ブオープンされていなければ、コネクションは確立され
ないのでステップS601に戻ってコネクションの確立
を要求し続け、送信側がアクティブオープンされている
ときにはコネクションを確立する(S602)。コネク
ションが確立されたら、伝送データが送信されてきてい
るか否かを判断し(S603)、伝送データが送信され
てきているときには伝送データを受信する(S60
4)。そして、ステップS603で伝送データが送信さ
れていないと判断したとき、あるいはステップS604
で送信されてきた伝送データを受信したときには、コネ
クションを確立し続けるか否かを判断し(S605)、
コネクションを終了するときにはソケットをクローズし
て(S606)伝送を終了し、コネクションを確立し続
けるときにはステップS603に戻って伝送データの受
信を続ける。
Next, the processing in the PLC 107 on the receiving side will be described with reference to the flowchart of FIG. The receiving side first passively opens the socket from which data is transmitted, and requests the PLC 104 on the transmitting side to establish a connection (S601). At this time, if the transmission side is not actively open, the connection is not established because the connection is not established, and the process returns to step S601 to continue requesting the establishment of the connection. If the transmission side is actively open, the connection is established (S602). When the connection is established, it is determined whether or not transmission data is being transmitted (S603). If the transmission data is being transmitted, the transmission data is received (S60).
4). If it is determined in step S603 that the transmission data has not been transmitted, or if it is determined in step S604
When the transmission data transmitted in step (1) is received, it is determined whether or not to continue the connection (S605).
When ending the connection, the socket is closed (S606) to end the transmission, and when continuing to establish the connection, the process returns to step S603 to continue receiving the transmission data.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述し
た従来の伝送システムでは、例えば伝送路上のケーブル
の切断や端末装置の電源断のような異常が発生したとき
には、送信側のPLC104では伝送データを送信する
ことができなくなり、受信側のPLC107でも伝送デ
ータを受信することができなくなる。
However, in the above-described conventional transmission system, when an abnormality such as disconnection of a cable on a transmission line or power supply of a terminal device occurs, the transmission-side PLC 104 transmits transmission data. Therefore, the receiving-side PLC 107 cannot receive the transmission data.

【0011】ところが、異常が発生して伝送データの送
受信ができなくなっているにも関わらず、TCP/IP
プロトコルによる伝送では、一度正常にコネクションが
確立されてしまうと、コネクションは確立したままとな
り、切断されることがなかった。したがって、各PLC
104、107では異常を検知することができず、あた
かも正常に伝送しているような状態に陥ることがあっ
た。とくに、PLC104、107のアプリケーション
ソフトが正常である判断してしまうので、異常を検知す
ることができなかった。したがって、この状態に陥ると
オペレータは伝送データを実際に送信するまで異常に気
がつくことができず、水道事業における処理施設では安
全面で問題になることが発生していた。例えば、遠隔地
にあるポンプ所105と処理場102の監視装置103
との間の通信では、TCP/IPプロトコル伝送を使用
するのは、ポンプなどの機器の操作信号を伝送するとき
に多く、この操作信号はオペレータが監視装置103に
命令を入力したときに発生するものである。ところが、
オペレータが一日などの長時間機器を操作しないことも
あり、このときには故障してから長時間経過した後にオ
ペレータが実際に機器を操作しようとしたときに初めて
異常に気が付くことになる。もし、このときの操作がポ
ンプを非常停止させるような緊急を要する操作であった
場合には、操作したときに異常を発見したのでは、断水
や送水停止、雨水の氾濫、処理場の冠水などの重大な事
態を引き起こすという問題点があった。
[0011] However, despite the fact that the transmission data cannot be transmitted and received due to the occurrence of an error, the TCP / IP
In the transmission by the protocol, once a connection has been normally established, the connection remains established and is not disconnected. Therefore, each PLC
In 104 and 107, no abnormality can be detected, and a situation may occur as if transmission is normal. In particular, since it is determined that the application software of the PLCs 104 and 107 is normal, no abnormality can be detected. Therefore, if the operator falls into this state, the operator cannot notice the abnormality until the transmission data is actually transmitted, which may cause a safety problem in a treatment facility in a water supply business. For example, the monitoring device 103 of the pump station 105 and the processing station 102 at a remote location
In the communication between the two, the TCP / IP protocol transmission is often used when transmitting an operation signal of a device such as a pump, and this operation signal is generated when an operator inputs a command to the monitoring device 103. Things. However,
The operator may not operate the device for a long time such as one day. At this time, an abnormality will be noticed only when the operator actually attempts to operate the device after a long time has elapsed since the failure. If the operation at this time was an urgent operation such as an emergency stop of the pump, if an abnormality was found during the operation, cutoff of water, transmission of water, flooding of rainwater, flooding of the treatment plant, etc. There was a problem that caused a serious situation.

【0012】さらに、PLC104、107が動作しな
くなる無応答状態に陥ることもあり、この場合にはそれ
を復旧するための仕組みも確立していなかったので、安
全性の面でさらに問題点があった。
Further, the PLCs 104 and 107 may fall into a non-response state in which they do not operate. In this case, a mechanism for restoring the situation has not been established. Was.

【0013】また、回線上の異常を監視するための別の
方法として、インターネット制御メッセージ・プロトコ
ルICMP(Internet Control Message Protcol)のp
ingコマンドを利用する方法も考えられる。このpi
ngコマンドはICMPにおいて通信が正常に行われて
いるか否かを検証するためのコマンドである。
As another method for monitoring an abnormality on a line, the Internet Control Message Protocol (ICMP) is used.
A method using the ing command is also conceivable. This pi
The ng command is a command for verifying whether communication is normally performed in ICMP.

【0014】このpingコマンドでは、送信側のPL
C104からエコーリクエスト・メッセージが作成され
て送信され、受信側のPLC107ではそのメッセージ
を受信するとエコーリプライ・メッセージを送り返す。
このエコーリプライ・メッセージを送信側のPLC10
4で受信することができれば、回線上に障害がないこと
が確認できる。
In the ping command, the transmission side PL
An echo request message is created and transmitted from C104, and the PLC 107 on the receiving side returns an echo reply message when receiving the message.
This echo reply message is transmitted to the PLC 10 on the transmission side.
If it can be received at 4, it can be confirmed that there is no obstacle on the line.

【0015】しかしながら、この場合には回線の障害を
監視するための専用のソケットを設けて回線の障害を監
視するので、すべてのソケットが異常になるような障害
が発生したときには、確かにこのpingコマンドを利
用する方法で検知することができるが、監視用のソケッ
ト以外のソケットのみに異常が発生したような場合には
pingコマンドを利用する方法では異常を検知するこ
とができなかった。
However, in this case, a dedicated socket for monitoring a line failure is provided to monitor the line failure. Therefore, when a failure occurs in which all sockets become abnormal, the ping is surely performed. Although it can be detected by a method using a command, when a failure occurs only in a socket other than the monitoring socket, the failure cannot be detected by a method using the ping command.

【0016】また、UDPプロトコルで定周期データを
送信することによって回線を監視する方法もよく用いら
れているが、この方法の場合にも、監視用のUDPソケ
ットを設けて回線の異常を監視するので、TCPソケッ
トに異常が発生していたとしても、UDPソケットが正
常に伝送されていると、TCPソケットの異常を検知す
ることができなかった。
Also, a method of monitoring a line by transmitting fixed-cycle data according to the UDP protocol is often used. In this method, too, a monitoring UDP socket is provided to monitor an abnormality of the line. Therefore, even if an abnormality has occurred in the TCP socket, if the UDP socket is normally transmitted, the abnormality in the TCP socket cannot be detected.

【0017】したがって、pingコマンドを利用した
場合でも、UDPプロトコルを使用した場合でも回線全
体に障害が発生したような場合には異常を検知すること
ができるが、回線監視用のソケット以外のソケットのみ
に異常が発生したような場合にはその異常を検知するこ
とができないという問題点があった。
Therefore, even when the ping command is used or the UDP protocol is used, an abnormality can be detected when a failure occurs in the entire line. However, only the sockets other than the line monitoring socket can be detected. However, when an abnormality occurs, the abnormality cannot be detected.

【0018】また逆に、回線監視用のソケットを設けた
場合には、回線監視用のソケットで異常が発生すると、
すべてのソケットが停止させられてしまうので、正常に
伝送が行われているソケットまでもが停止させられてし
まうという問題点もあった。
Conversely, when a line monitoring socket is provided, if an abnormality occurs in the line monitoring socket,
Since all the sockets are stopped, there is also a problem that even the sockets where transmission is normally performed are stopped.

【0019】本発明は上記事情に鑑みてなされたもので
あり、その目的は、一定周期の監視データをソケット毎
に送信して伝送路を監視することにより、ソケット毎に
異常を検知することのできる異常監視機能を備えた伝送
システム、異常監視機能を備えた端末装置、及び異常監
視機能を備えた端末装置における処理プログラムを記録
した記録媒体を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to detect abnormalities for each socket by transmitting monitoring data of a fixed period for each socket and monitoring a transmission path. It is an object of the present invention to provide a transmission system having an abnormality monitoring function, a terminal device having an abnormality monitoring function, and a recording medium recording a processing program in a terminal device having an abnormality monitoring function.

【0020】[0020]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明である異常監視機能を備えた
伝送システムは、TCP/IPプロトコルを実装した端
末装置の間をLANによって接続し、この端末装置間で
ソケット通信により伝送データの送受信を行っていると
きの異常を監視する異常監視機能を備えた伝送システム
であって、前記伝送データと、異常を監視するために一
定の周期で送信される監視データとをソケット毎に送信
し、前記監視データを一定時間送信できなかったときに
は、送信できなかったソケットをクローズしてから初期
化する第1の端末装置と、この第1の端末装置で送信さ
れた前記伝送データと前記監視データとを伝送する伝送
路と、この伝送路によって伝送された前記伝送データと
前記監視データとをソケット毎に受信し、前記監視デー
タを一定時間受信しなかったときには、受信しなかった
ソケットをクローズしてから初期化する第2の端末装置
とから構成されることを特徴とする。
In order to achieve the above object, a transmission system having an abnormality monitoring function according to the first aspect of the present invention uses a LAN to connect terminal devices equipped with a TCP / IP protocol. Connected, a transmission system having an abnormality monitoring function of monitoring an abnormality when transmitting and receiving transmission data by socket communication between the terminal devices, wherein the transmission data, a certain amount to monitor the abnormality A first terminal device for transmitting, on a socket-by-socket basis, monitoring data transmitted periodically, and, when the monitoring data has not been transmitted for a certain period of time, closing and initializing the failed socket; A transmission path for transmitting the transmission data and the monitoring data transmitted by the terminal device, and the transmission data and the monitoring data transmitted by the transmission path. Received in each socket, wherein when the monitoring data is not received a certain time, characterized in that it is composed of the second terminal device to be initialized after closing the not received socket.

【0021】この請求項1の発明によれば、監視データ
が一定時間送受信できなかったときには異常が発生した
と判断して該当するソケットをクローズして初期化する
ので、異常が発生していることに気付かずにコネクショ
ンが確立したままになることを防止することができ、回
線の異常を速やかに検知することができる。
According to the first aspect of the present invention, when monitoring data cannot be transmitted / received for a certain period of time, it is determined that an abnormality has occurred and the corresponding socket is closed and initialized, so that the abnormality has occurred. It is possible to prevent the connection from being kept established without noticing the error, and it is possible to quickly detect an abnormality in the line.

【0022】また、ソケット毎に監視データを送受信し
て各ソケット毎に異常を監視するので、回線の障害を監
視するための専用のソケットを設ける必要がなくなると
ともに、すべての回線が異常となるような障害だけでな
く、1つのソケットのみが異常となるような障害が発生
した場合でも、その異常を検知することができる。さら
に、1つのソケットで異常が発生した場合でも、その他
の正常に伝送しているソケットを停止させる必要がなく
なった。
Further, since monitoring data is transmitted and received for each socket and an abnormality is monitored for each socket, it is not necessary to provide a dedicated socket for monitoring a line failure, and all the lines become abnormal. Even if a failure occurs such that only one socket becomes abnormal, the abnormality can be detected. Furthermore, even when an abnormality occurs in one socket, it is no longer necessary to stop other normally transmitting sockets.

【0023】請求項2に記載の発明である異常監視機能
を備えた端末装置は、TCP/IPプロトコルを実装し
て、LANによって接続された他の端末装置とソケット
通信により伝送データの送受信を行っているときの異常
を監視する異常監視機能を備えた端末装置であって、前
記伝送データを前記他の端末装置に送信するときには、
前記伝送データを送信するとともに、異常を監視するた
めの監視データを一定の周期でソケット毎に送信し、前
記監視データを一定時間送信できなかったときには、送
信できなかったソケットをクローズしてから初期化し、
前記他の端末装置から伝送データを受信するときには、
前記伝送データを受信するとともに、前記他の端末装置
から一定の周期で送信された監視データをソケット毎に
受信し、前記監視データを一定時間受信しなかったとき
には、受信しなかったソケットをクローズしてから初期
化することを特徴とする。
The terminal device having the abnormality monitoring function according to the second aspect of the present invention implements the TCP / IP protocol and transmits and receives transmission data by socket communication with another terminal device connected by a LAN. When the terminal device has an abnormality monitoring function of monitoring an abnormality when the transmission data is transmitted to the other terminal device,
In addition to transmitting the transmission data, monitoring data for monitoring an abnormality is transmitted for each socket at a fixed cycle, and when the monitoring data cannot be transmitted for a predetermined time, the socket that could not be transmitted is closed and then initialized. And
When receiving transmission data from the other terminal device,
While receiving the transmission data, receive the monitoring data transmitted from the other terminal device at a constant cycle for each socket, and when the monitoring data has not been received for a predetermined time, close the socket that has not been received. It is characterized in that the initialization is performed after the initialization.

【0024】この請求項2の発明によれば、異常が発生
していることに気付かずにコネクションが確立したまま
になることを防止することができ、回線の異常を速やか
に検知することができる。
According to the second aspect of the present invention, it is possible to prevent a connection from being left unestablished without noticing that an abnormality has occurred, and it is possible to quickly detect a line abnormality. .

【0025】また、回線の障害を監視するための専用の
ソケットを設ける必要がなくなるとともに、すべての回
線が異常となるような障害だけでなく、1つのソケット
のみが異常となるような障害が発生した場合でも、その
異常を検知することができる。さらに、1つのソケット
で異常が発生した場合でも、その他の正常に伝送してい
るソケットを停止させる必要がなくなった。
Further, it is not necessary to provide a dedicated socket for monitoring a line failure, and not only a failure that causes all the lines to become abnormal, but also a failure that causes only one socket to become abnormal. Even if it does, the abnormality can be detected. Furthermore, even when an abnormality occurs in one socket, it is no longer necessary to stop other normally transmitting sockets.

【0026】請求項3に記載の発明である異常監視機能
を備えた端末装置における処理プログラムを記録した記
録媒体は、TCP/IPプロトコルを実装して、LAN
によって接続された他の端末装置とソケット通信により
伝送データの送受信を行っているときの異常を監視する
異常監視機能を備えた端末装置における処理プログラム
を記録した記録媒体であって、前記伝送データを前記他
の端末装置に送信するときには、前記伝送データを送信
する処理と、異常を監視するための監視データを一定の
周期でソケット毎に送信する処理と、前記監視データを
一定時間送信できなかったときには送信できなかったソ
ケットをクローズしてから初期化する処理とを含み、前
記他の端末装置から前記伝送データを受信するときに
は、前記伝送データを受信する処理と、前記他の端末装
置から一定の周期で送信された監視データをソケット毎
に受信する処理と、前記監視データを一定時間受信しな
かったときには受信しなかったソケットをクローズして
から初期化する処理とを含むことを特徴とする。
A recording medium for recording a processing program in a terminal device having an abnormality monitoring function according to the third aspect of the present invention implements a TCP / IP protocol,
A recording medium recording a processing program in a terminal device having an abnormality monitoring function of monitoring an abnormality when transmitting and receiving transmission data by socket communication with another terminal device connected by the communication device, wherein the transmission data is When transmitting to the other terminal device, a process of transmitting the transmission data, a process of transmitting monitoring data for monitoring an abnormality for each socket at a fixed cycle, and the monitoring data could not be transmitted for a fixed time Sometimes includes a process of closing the socket that could not be transmitted and then initializing, and when receiving the transmission data from the other terminal device, a process of receiving the transmission data and a certain process from the other terminal device A process of receiving monitoring data transmitted periodically for each socket, and receiving the monitoring data if the monitoring data has not been received for a predetermined time. Characterized in that it comprises a process of initializing the close the never been socket.

【0027】この請求項3の発明によれば、異常が発生
していることに気付かずにコネクションが確立したまま
になることを防止することができ、回線の異常を速やか
に検知することができる。
According to the third aspect of the present invention, it is possible to prevent a connection from being left unestablished without noticing that an abnormality has occurred, and it is possible to quickly detect a line abnormality. .

【0028】また、回線の障害を監視するための専用の
ソケットを設ける必要がなくなるとともに、すべての回
線が異常となるような障害だけでなく、1つのソケット
のみが異常となるような障害が発生した場合でも、その
異常を検知することができる。さらに、1つのソケット
で異常が発生した場合でも、その他の正常に伝送してい
るソケットを停止させる必要がなくなった。
Further, it is not necessary to provide a dedicated socket for monitoring a line failure, and not only a failure that causes all the lines to become abnormal but also a failure that causes only one socket to become abnormal occurs. Even if it does, the abnormality can be detected. Furthermore, even when an abnormality occurs in one socket, it is no longer necessary to stop other normally transmitting sockets.

【0029】[0029]

【発明の実施の形態】以下、本発明に係る異常監視機能
を備えた伝送システムの実施形態を図面に基づいて説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a transmission system having an abnormality monitoring function according to the present invention will be described below with reference to the drawings.

【0030】図1に示すように、本発明の異常監視機能
を備えた伝送システム1は、送信側の端末装置2と受信
側の端末装置3とがイーサネットなどのLAN(Local
AreaNetwork)で形成された伝送路によって接続されて
いる。
As shown in FIG. 1, in a transmission system 1 having an abnormality monitoring function according to the present invention, a transmitting terminal device 2 and a receiving terminal device 3 are connected to a LAN (Local Area Network) such as Ethernet.
AreaNetwork).

【0031】この送信側の端末装置2は、パソコンやワ
ークステーション、PLC(Programable Logic Contro
ler)などのTCP/IP(Transmission Control Prot
ocol/Internet Protocol)プロトコルの実装されたコン
ピュータであって、ソケット通信を行うことができ、イ
ーサネットなどのLANを介して伝送データを送信する
とともに、各ソケット毎に一定の周期で監視データを送
信する。このソケットは複数あり、例えば水道事業にお
ける処理場とポンプ所との間の伝送では、デジタルデー
タ、アナログデータ、パルスデータ、デジタル出力、設
定値出力などの伝送を行うソケットが用意されている。
The terminal device 2 on the transmitting side includes a personal computer, a workstation, and a PLC (Programmable Logic Control).
ler) and other TCP / IP (Transmission Control Prot)
ocomp / Internet Protocol) is a computer that can perform socket communication, transmits transmission data via a LAN such as Ethernet, and transmits monitoring data at a constant period for each socket. . There are a plurality of such sockets. For example, for transmission between a treatment plant and a pump station in a water supply business, sockets for transmitting digital data, analog data, pulse data, digital output, set value output, and the like are prepared.

【0032】同様に、受信側の端末装置3もパソコンや
ワークステーション、PLCなどのTCP/IPプロト
コルの実装されたコンピュータであって、ソケット通信
を行うことができ、イーサネットなどのLANを介して
伝送データを受信するとともに、ソケット毎に一定の周
期で送られてくる監視データを受信する。
Similarly, the terminal device 3 on the receiving side is a computer on which the TCP / IP protocol such as a personal computer, a workstation, or a PLC is mounted, can perform socket communication, and is transmitted via a LAN such as Ethernet. In addition to receiving data, it also receives monitoring data sent at a fixed cycle for each socket.

【0033】なお、端末装置2、3は、各種の処理を行
うためのCPUと、この処理の命令を記憶する記憶手段
とを含む通常のコンピュータシステムが含まれ、端末装
置2、3で行われる各処理の命令やタイミング制約は記
憶手段に保持されており、必要に応じてCPUにロード
され、実行がなされる。
The terminal devices 2 and 3 include a normal computer system including a CPU for performing various processes and a storage unit for storing instructions for the processes, and are performed by the terminal devices 2 and 3. Instructions and timing constraints for each process are stored in a storage unit, and are loaded into the CPU and executed as needed.

【0034】また、送信側の端末装置2と受信側の端末
装置3とを接続する伝送路はLANによって構成され、
とくにLANがイーサネットである場合には、送信側の
端末装置2はトランシーバケーブル4及びトランシーバ
5を介してイーサネット同軸ケーブル6に接続され、受
信側も同様に端末装置3はトランシーバケーブル7及び
トランシーバ8介してイーサネット同軸ケーブル6に接
続されている。さらに、トランシーバに代えてATMル
ータを用いることによって、イーサネット同軸ケーブル
の代わりに光ファイバーケーブルを使用して伝送路とし
てもよい。
A transmission path connecting the transmitting-side terminal device 2 and the receiving-side terminal device 3 is constituted by a LAN,
Particularly when the LAN is Ethernet, the terminal device 2 on the transmitting side is connected to the Ethernet coaxial cable 6 via the transceiver cable 4 and the transceiver 5, and the terminal device 3 on the receiving side is similarly connected via the transceiver cable 7 and the transceiver 8. Connected to the Ethernet coaxial cable 6. Further, by using an ATM router instead of the transceiver, an optical fiber cable may be used instead of the Ethernet coaxial cable to provide a transmission path.

【0035】次に、図2及び図3のフローチャートに基
づいて本実施形態の異常監視機能を備えた伝送システム
によるデータの伝送及び異常の監視について説明する。
Next, transmission of data and monitoring of abnormalities by the transmission system having the abnormality monitoring function of the present embodiment will be described with reference to the flowcharts of FIGS.

【0036】まず、送信側の端末装置2における処理を
図2のフローチャートに基づいて説明する。送信側で
は、まず初期化処理として複数のソケットのうちデータ
を伝送するソケットをアクティブオープンして受信側に
コネクションの確立を要求する(S201)。このと
き、受信側の該当するソケットがパッシブオープンされ
ていなければ、コネクションは確立されないのでステッ
プS201に戻ってコネクションの確立を要求し続け、
受信側のソケットがパッシブオープンされているときに
はコネクションを確立する(S202)。コネクション
が確立されると、その後はオペレータによるポンプの操
作命令や各機器の作動状況などの伝送データがあれば、
随時伝送することができる。そこで、オペレータから伝
送データが入力されたか否かを判断し(S203)、伝
送データが入力されたときにはその伝送データを送信す
る(S204)。そして、伝送データが受信側の端末装
置3に送信されたか否かを確認し(S205)、送信さ
れたときにはコネクションを確立し続けるか否かを判断
する(S206)。ここで、コネクションを終了すると
きにはソケットをクローズして(S207)伝送が終了
する。
First, the processing in the terminal device 2 on the transmitting side will be described with reference to the flowchart of FIG. On the transmitting side, first, as initialization processing, a socket for transmitting data among a plurality of sockets is actively opened, and a request is made to the receiving side to establish a connection (S201). At this time, if the corresponding socket on the receiving side is not passively opened, the connection is not established, so the process returns to step S201 and continues to request the establishment of the connection.
When the socket on the receiving side is passively opened, a connection is established (S202). After the connection is established, if there is transmission data such as the operation instruction of the pump by the operator and the operation status of each device,
It can be transmitted at any time. Then, it is determined whether or not transmission data is input from the operator (S203), and when the transmission data is input, the transmission data is transmitted (S204). Then, it is confirmed whether or not the transmission data has been transmitted to the terminal device 3 on the receiving side (S205), and if it has been transmitted, it is determined whether or not to continue the connection (S206). Here, when terminating the connection, the socket is closed (S207), and the transmission is terminated.

【0037】一方、ステップS203で伝送データが未
だ入力されていないとき、ステップS205で伝送デー
タが送信されていないとき、あるいはステップS206
でコネクションを確立し続けるときには、回線が正常で
あることを監視するための監視データを送信する。この
監視データは一定の周期、例えば30秒間隔で送信され
るものなので、その周期に相当する一定の時間(例えば
30秒)が経過したか否かを判断し(S208)、一定
の時間が経過したときには監視データを送信する(S2
09)。ここで、この監視データが受信側の端末装置3
に送信されたか否かを確認し(S210)、送信されて
いるときにはステップS203に戻って次の伝送データ
の有無を判断して伝送が続けられる。一方、監視データ
が送信されていないときには一定時間、例えば数分間監
視データを送信し続け(S211)、その間に監視デー
タが送信されたときには正常であると判断してステップ
S203に戻って伝送が続けられるが、一定の時間監視
データが受信側に送信されないときには異常が発生した
と判断してオペレータに異常の発生を知らせてソケット
をクローズする(S213)。そして、再びステップS
201に戻ってアクティブオープンして再コネクション
の要求をして初期化し、再び伝送データの送信を開始す
るようにする。
On the other hand, when transmission data has not been input yet in step S203, when transmission data has not been transmitted in step S205, or when step S206
When the connection is continued to be established, the monitoring data for monitoring that the line is normal is transmitted. Since this monitoring data is transmitted at a fixed cycle, for example, at intervals of 30 seconds, it is determined whether or not a fixed time (for example, 30 seconds) corresponding to the cycle has elapsed (S208). When this is done, the monitoring data is transmitted (S2
09). Here, this monitoring data is transmitted to the terminal device 3 on the receiving side.
It is confirmed whether or not the data has been transmitted (S210). If the data has been transmitted, the process returns to step S203 to determine the presence or absence of the next transmission data and the transmission is continued. On the other hand, when the monitoring data is not transmitted, the monitoring data is continuously transmitted for a predetermined time, for example, several minutes (S211). When the monitoring data is transmitted during that time, it is determined that the monitoring data is normal, and the process returns to step S203 to continue the transmission. However, when the monitoring data is not transmitted to the receiving side for a certain period of time, it is determined that an abnormality has occurred and the operator is notified of the occurrence of the abnormality and the socket is closed (S213). And, again, step S
Returning to step 201, active open is performed, a reconnection request is made, initialization is performed, and transmission of transmission data is started again.

【0038】このように、本発明の異常監視機能を備え
た伝送システムでは、一定時間監視データを送信し続け
ても、受信側に送信されないときには異常が発生したと
判断して回線を一端クローズしてから、再コネクション
を要求する。
As described above, in the transmission system having the abnormality monitoring function of the present invention, even if monitoring data is continuously transmitted for a certain period of time, if it is not transmitted to the receiving side, it is determined that an abnormality has occurred and the line is closed once. And then request a reconnection.

【0039】これによって、異常が発生しているにも関
わらずコネクションが確立したままになることを防止す
ることができるので、速やかに異常を検知することがで
き、さらに水道事業における伝送ではオペレータが操作
命令を入力するまで異常に気付かないという事態を防止
することができる。
[0039] Thus, it is possible to prevent a connection from being maintained even though an abnormality has occurred, so that the abnormality can be detected promptly. It is possible to prevent a situation in which an abnormality is not noticed until an operation command is input.

【0040】次に、受信側の端末装置3における処理を
図3のフローチャートに基づいて説明する。受信側で
は、まず初期化処理として伝送データが送信されてくる
ソケットをパッシブオープンして送信側にコネクション
の確立を要求する(S301)。このとき、送信側の該
当するソケットがアクティブオープンされていなけれ
ば、コネクションは確立されないのでステップS301
に戻ってコネクションを要求し続け、送信側の該当する
ソケットがアクティブオープンされているときにはコネ
クションを確立する(S302)。コネクションが確立
されると、その後はオペレータによるポンプの操作命令
や各機器の作動状況などの伝送データが送信側の端末装
置2に入力されれば、随時受信側に伝送されてくる。そ
こで、コネクションが確立されたら、伝送データが送ら
れてきているか否かを判断し(S303)、伝送データ
が送られてきたときには伝送データを受信する(S30
4)。伝送データを受信したらコネクションを確立し続
けるか否かを判断し(S305)、コネクションを終了
するときにはソケットをクローズして(S306)伝送
を終了する。
Next, the processing in the terminal device 3 on the receiving side will be described with reference to the flowchart of FIG. The receiving side first passively opens a socket from which transmission data is transmitted as an initialization process, and requests the transmitting side to establish a connection (S301). At this time, if the corresponding socket on the transmitting side is not actively opened, the connection is not established, so that step S301 is performed.
Then, the connection is continuously requested, and when the corresponding socket on the transmission side is actively open, the connection is established (S302). After the connection is established, if transmission data such as an operation command of the pump by the operator or the operation status of each device is input to the terminal device 2 on the transmission side, the data is transmitted to the reception side as needed. Then, when the connection is established, it is determined whether or not the transmission data has been transmitted (S303), and when the transmission data has been transmitted, the transmission data is received (S30).
4). Upon receiving the transmission data, it is determined whether or not to continue the connection (S305). When the connection is to be terminated, the socket is closed (S306) and the transmission is terminated.

【0041】一方、ステップS303で伝送データが送
られてきていないとき、あるいはステップS305でコ
ネクションを確立し続けるときには、回線が正常である
ことを監視するために送信側の端末装置2から送信され
た監視データを受信する。この監視データは一定の周
期、例えば30秒間隔で送信されるものなので、一定の
時間間隔(例えば30秒)で監視データを受信したか否
かを判断し(S307)、受信しているときにはステッ
プS303に戻って次の伝送データの有無を判断して伝
送が続けられる。一方、監視データを一定の時間間隔で
受信していないときには一定時間、例えば数分間監視デ
ータが送信されてくるのを待つ(S308)。ここで、
監視データを受信したときには正常であると判断してス
テップS303に戻って伝送を続けるが、受信しないと
きには異常が発生したと判断してオペレータに異常の発
生を知らせてソケットをクローズする(S310)。そ
して、再びステップS301に戻ってパッシブオープン
して再コネクションの要求をして初期化し、再び伝送デ
ータの受信を開始する。
On the other hand, when transmission data is not transmitted in step S303, or when connection is continued to be established in step S305, transmission is performed from the terminal device 2 on the transmission side to monitor that the line is normal. Receive monitoring data. Since this monitoring data is transmitted at a fixed period, for example, every 30 seconds, it is determined whether the monitoring data is received at a certain time interval (for example, 30 seconds) (S307). Returning to S303, the presence or absence of the next transmission data is determined, and the transmission is continued. On the other hand, when the monitoring data is not received at regular time intervals, it waits for the monitoring data to be transmitted for a fixed time, for example, several minutes (S308). here,
When the monitoring data is received, it is determined that it is normal and the process returns to step S303 to continue the transmission. However, when it is not received, it is determined that an abnormality has occurred and the operator is notified of the occurrence of the abnormality and the socket is closed (S310). Then, the process returns to step S301 again, passively opens, requests reconnection, initializes, and starts receiving transmission data again.

【0042】このように、本発明の異常監視機能を備え
た伝送システムでは、一定時間監視データを受信しなか
ったときには異常が発生したと判断して回線を一端クロ
ーズして、再コネクションを要求する。
As described above, in the transmission system having the abnormality monitoring function of the present invention, when monitoring data is not received for a certain period of time, it is determined that an abnormality has occurred, the line is closed once, and a reconnection is requested. .

【0043】これによって、異常が発生しているにも関
わらずコネクションが確立したままになることを防止す
ることができるので、速やかに異常を検知することがで
きる。
As a result, it is possible to prevent the connection from being kept established despite the occurrence of an abnormality, so that the abnormality can be quickly detected.

【0044】さらに、本発明の端末装置ではソケット毎
に監視データを送信して各ソケット毎に異常を監視する
ので、どれか1つのソケットのみに異常が発生した場合
でもその異常を検知することができるとともに、異常の
発生したソケットのみを停止させることもできる。
Further, in the terminal device of the present invention, monitoring data is transmitted for each socket and an abnormality is monitored for each socket. Therefore, even if an abnormality occurs in only one of the sockets, the abnormality can be detected. In addition to this, it is possible to stop only the socket where an error has occurred.

【0045】したがって、1つのソケットの異常によっ
て他の正常に伝送しているソケットまで停止させるとい
う事態を防止することができる。
Therefore, it is possible to prevent a situation in which one socket that normally transmits data is stopped due to an abnormality of one socket.

【0046】また、水道事業における遠隔地にあるポン
プ所と処理場との間の通信では、オペレータが実際に機
器を操作しようとしたときになって初めて異常に気付く
ということがなくなるので、ポンプを非常停止させるよ
うな緊急を要する操作が操作不能になることがなくな
り、断水や送水停止、雨水の氾濫、処理場の冠水などの
重大な事態を引き起こすことがなくなった。
Further, in the communication between the pumping station and the treatment plant located in a remote place in the water supply business, the operator does not notice the abnormality only when actually trying to operate the equipment. An emergency operation such as an emergency stop is no longer inoperable, and no serious situations such as water cutoff, water supply stoppage, rainwater flooding, and treatment plant flooding are prevented.

【0047】なお、上述した異常監視機能を備えた端末
装置の各処理を実現するためのプログラムは記録媒体に
保存することができ、この記録媒体をコンピュータシス
テムによって読み込ませることにより、前記プログラム
を実行してコンピュータを制御しながら上述した端末装
置の各処理を実現することができる。ここで、前記記録
媒体とは、メモリ装置、磁気ディスク装置、光ディスク
装置等、プログラムを記録することができるような装置
が含まれる。
A program for realizing each process of the terminal device having the above-described abnormality monitoring function can be stored in a recording medium, and the recording medium is read by a computer system to execute the program. Thus, each process of the terminal device described above can be realized while controlling the computer. Here, the recording medium includes a device capable of recording a program, such as a memory device, a magnetic disk device, and an optical disk device.

【0048】[0048]

【発明の効果】以上説明してきたように、本発明の異常
監視機能を備えた伝送システム、異常監視機能を備えた
端末装置、及び異常監視機能を備えた端末装置における
処理プログラムを記録した記録媒体は、一定の周期の監
視データを送受信し、この監視データを一定時間送受信
できなかったときには異常が発生したと判断して該当す
るソケットをクローズして再コネクションを確立するの
で、異常が発生していることに気付かずにコネクション
が確立したままになることを防止することができる。
As described above, the transmission system having the abnormality monitoring function according to the present invention, the terminal device having the abnormality monitoring function, and the recording medium storing the processing program in the terminal device having the abnormality monitoring function according to the present invention. Sends and receives monitoring data at a fixed cycle, and if this monitoring data cannot be sent and received for a certain period of time, it determines that an error has occurred and closes the corresponding socket to establish a reconnection. It is possible to prevent a connection from being established without noticing that the connection is established.

【0049】これによって、回線の異常を速やかに検知
することができ、端末装置が動作しなくなる無応答状態
に陥ることを防止することができる。
As a result, it is possible to quickly detect a line abnormality and prevent a terminal device from falling into a non-response state in which it does not operate.

【0050】さらに、ソケット毎に監視データを送受信
して各ソケット毎に異常を監視するので、回線の障害を
監視するための専用のソケットを設ける必要がなくなる
とともに、すべての回線が異常となるような障害だけで
なく、1つのソケットのみが異常となるような障害が発
生した場合でも、その異常を検知することができる。ま
た、各ソケット毎に異常を監視しているので、1つのソ
ケットで異常が発生した場合でも、その他の正常に伝送
しているソケットを停止させる必要がなくなった。
Further, since monitoring data is transmitted and received for each socket and an abnormality is monitored for each socket, it is not necessary to provide a dedicated socket for monitoring a line failure, and all the lines become abnormal. Even if a failure occurs such that only one socket becomes abnormal, the abnormality can be detected. Further, since the abnormality is monitored for each socket, even when an abnormality occurs in one socket, it is not necessary to stop other normally transmitting sockets.

【0051】また、水道事業における遠隔地にあるポン
プ所と処理場との間の通信に本発明の伝送システムを利
用した場合には、オペレータが実際に機器を操作しよう
としたときになって初めて異常に気付くということがな
くなるので、ポンプを非常停止させるような緊急を要す
る操作が操作不能になることがなくなり、断水や送水停
止、雨水の氾濫、処理場の冠水などの重大な事態を引き
起こす可能性がなくなった。
When the transmission system of the present invention is used for communication between a remote pumping station and a treatment plant in a water supply business, it is only when an operator actually tries to operate the equipment. Since no abnormality is noticed, emergency operations such as emergency stop of the pump will not become inoperable, and serious situations such as water cutoff, water supply stoppage, rainwater flooding, and treatment plant flooding may be caused. Sex has gone.

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

【図1】本発明による異常監視機能を備えた伝送システ
ムの一実施形態の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an embodiment of a transmission system having an abnormality monitoring function according to the present invention.

【図2】本発明の異常監視機能を備えた伝送システムの
送信側端末装置の処理を説明するためのフローチャート
である。
FIG. 2 is a flowchart for explaining a process of a transmission-side terminal device of the transmission system having the abnormality monitoring function of the present invention.

【図3】本発明の異常監視機能を備えた伝送システムの
受信側端末装置の処理を説明するためのフローチャート
である。
FIG. 3 is a flowchart for explaining processing of a receiving-side terminal device of the transmission system having the abnormality monitoring function of the present invention.

【図4】従来の伝送システムを利用した水道事業におけ
る処理場とポンプ所との間の伝送を説明するためのブロ
ック図である。
FIG. 4 is a block diagram for explaining transmission between a treatment plant and a pumping station in a water supply business using a conventional transmission system.

【図5】従来の伝送システムの送信側端末装置の処理を
説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining processing of a transmission-side terminal device of a conventional transmission system.

【図6】従来の伝送システムの受信側端末装置の処理を
説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining processing of a receiving terminal device of a conventional transmission system.

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

1、101 伝送システム 2、3 端末装置 4、7 トランシーバケーブル 5、8 トランシーバ 6 イーサネット同軸ケーブル 102 処理場 103 監視装置 104、107 PLC 105 ポンプ所 106 ポンプ 108 伝送路 DESCRIPTION OF SYMBOLS 1, 101 Transmission system 2, 3 Terminal device 4, 7, Transceiver cable 5, 8, Transceiver 6, Ethernet coaxial cable 102 Processing plant 103 Monitoring device 104, 107 PLC 105 Pump station 106 Pump 108 Transmission line

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04Q 9/00 311 H04L 11/00 310D 13/00 313 Fターム(参考) 5K033 AA05 BA08 CB03 DA01 DB14 EA01 EA05 EB08 EC01 5K035 AA03 CC08 CC10 DD01 FF04 GG01 JJ03 LL07 MM06 5K042 AA01 AA08 CA05 DA18 DA35 EA02 EA09 EA10 FA14 FA15 LA11 NA02 5K048 BA30 DA05 DC07 FA07 FC01 GB05 GB10 HA01 HA02 5K101 KK13 LL01 LL05 Continuation of the front page (51) Int.Cl. 7 Identification code FI Theme coat II (reference) H04Q 9/00 311 H04L 11/00 310D 13/00 313 F term (reference) 5K033 AA05 BA08 CB03 DA01 DB14 EA01 EA05 EB08 EC01 5K035 AA03 CC08 CC10 DD01 FF04 GG01 JJ03 LL07 MM06 5K042 AA01 AA08 CA05 DA18 DA35 EA02 EA09 EA10 FA14 FA15 LA11 NA02 5K048 BA30 DA05 DC07 FA07 FC01 GB05 GB10 HA01 HA02 5K101 KK13 LL01 LL05

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 TCP/IPプロトコルを実装した端末
装置の間をLANによって接続し、この端末装置間でソ
ケット通信により伝送データの送受信を行っているとき
の異常を監視する異常監視機能を備えた伝送システムで
あって、 前記伝送データと、異常を監視するために一定の周期で
送信される監視データとをソケット毎に送信し、前記監
視データを一定時間送信できなかったときには、送信で
きなかったソケットをクローズしてから初期化する第1
の端末装置と、 この第1の端末装置で送信された前記伝送データと前記
監視データとを伝送する伝送路と、 この伝送路によって伝送された前記伝送データと前記監
視データとをソケット毎に受信し、前記監視データを一
定時間受信しなかったときには、受信しなかったソケッ
トをクローズしてから初期化する第2の端末装置とから
構成されることを特徴とする異常監視機能を備えた伝送
システム。
1. An abnormality monitoring function is provided for connecting terminal devices equipped with a TCP / IP protocol via a LAN, and monitoring abnormalities when transmitting and receiving transmission data by socket communication between the terminal devices. A transmission system, wherein the transmission data and the monitoring data transmitted at a constant cycle for monitoring an abnormality are transmitted for each socket, and when the monitoring data cannot be transmitted for a predetermined time, the transmission data cannot be transmitted. First to close and initialize the socket
A transmission path for transmitting the transmission data and the monitoring data transmitted by the first terminal apparatus; and receiving the transmission data and the monitoring data transmitted by the transmission path for each socket. And a second terminal device that closes and then initializes a socket that has not received the monitoring data for a predetermined period of time, the transmission system having an abnormality monitoring function. .
【請求項2】 TCP/IPプロトコルを実装して、L
ANによって接続された他の端末装置とソケット通信に
より伝送データの送受信を行っているときの異常を監視
する異常監視機能を備えた端末装置であって、 前記伝送データを前記他の端末装置に送信するときに
は、前記伝送データを送信するとともに、異常を監視す
るための監視データを一定の周期でソケット毎に送信
し、前記監視データを一定時間送信できなかったときに
は、送信できなかったソケットをクローズしてから初期
化し、 前記他の端末装置から伝送データを受信するときには、
前記伝送データを受信するとともに、前記他の端末装置
から一定の周期で送信された監視データをソケット毎に
受信し、前記監視データを一定時間受信しなかったとき
には、受信しなかったソケットをクローズしてから初期
化することを特徴とする異常監視機能を備えた端末装
置。
2. Implementing the TCP / IP protocol,
A terminal device having an abnormality monitoring function for monitoring an abnormality when transmitting and receiving transmission data by socket communication with another terminal device connected by an AN, wherein the transmission data is transmitted to the other terminal device. When transmitting, the transmission data is transmitted, and monitoring data for monitoring an abnormality is transmitted for each socket at a fixed cycle, and when the monitoring data cannot be transmitted for a predetermined time, the socket that cannot be transmitted is closed. When receiving transmission data from the other terminal device,
While receiving the transmission data, receive the monitoring data transmitted from the other terminal device at a constant cycle for each socket, and when the monitoring data has not been received for a predetermined time, close the socket that has not been received. A terminal device provided with an abnormality monitoring function, wherein the terminal device is initialized after waiting.
【請求項3】 TCP/IPプロトコルを実装して、L
ANによって接続された他の端末装置とソケット通信に
より伝送データの送受信を行っているときの異常を監視
する異常監視機能を備えた端末装置における処理プログ
ラムを記録した記録媒体であって、 前記伝送データを前記他の端末装置に送信するときに
は、前記伝送データを送信する処理と、異常を監視する
ための監視データを一定の周期でソケット毎に送信する
処理と、前記監視データを一定時間送信できなかったと
きには送信できなかったソケットをクローズしてから初
期化する処理とを含み、 前記他の端末装置から前記伝送データを受信するときに
は、前記伝送データを受信する処理と、前記他の端末装
置から一定の周期で送信された監視データをソケット毎
に受信する処理と、前記監視データを一定時間受信しな
かったときには受信しなかったソケットをクローズして
から初期化する処理とを含むことを特徴とする異常監視
機能を備えた端末装置における処理プログラムを記録し
た記録媒体。
3. Implementing the TCP / IP protocol, and
A recording medium recording a processing program in a terminal device having an abnormality monitoring function for monitoring an abnormality when transmitting and receiving transmission data by socket communication with another terminal device connected by an AN, wherein the transmission data When transmitting to the other terminal device, a process of transmitting the transmission data, a process of transmitting monitoring data for monitoring an abnormality for each socket at a fixed cycle, and the monitoring data cannot be transmitted for a certain period of time. When the transmission data is received from the other terminal device, the process includes receiving the transmission data, and performing a process of receiving the transmission data from the other terminal device. Receiving the monitoring data transmitted in a cycle of every socket, and when the monitoring data has not been received for a certain period of time. Recording medium storing a processing program in the terminal device having the abnormality monitoring functions, which comprises a process of initializing after closing the not received socket.
JP2000018847A 2000-01-27 2000-01-27 Transmission system having abnormality monitoring function, terminal device having abnormality monitoring function, and recording medium recording processing program in terminal device having abnormality monitoring function Expired - Lifetime JP3992895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000018847A JP3992895B2 (en) 2000-01-27 2000-01-27 Transmission system having abnormality monitoring function, terminal device having abnormality monitoring function, and recording medium recording processing program in terminal device having abnormality monitoring function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000018847A JP3992895B2 (en) 2000-01-27 2000-01-27 Transmission system having abnormality monitoring function, terminal device having abnormality monitoring function, and recording medium recording processing program in terminal device having abnormality monitoring function

Publications (2)

Publication Number Publication Date
JP2001211106A true JP2001211106A (en) 2001-08-03
JP3992895B2 JP3992895B2 (en) 2007-10-17

Family

ID=18545636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000018847A Expired - Lifetime JP3992895B2 (en) 2000-01-27 2000-01-27 Transmission system having abnormality monitoring function, terminal device having abnormality monitoring function, and recording medium recording processing program in terminal device having abnormality monitoring function

Country Status (1)

Country Link
JP (1) JP3992895B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077155A (en) * 2000-09-04 2002-03-15 Nippon Telegr & Teleph Corp <Ntt> Communication apparatus monitoring and controlling method and association refresh system device
JP2006345397A (en) * 2005-06-10 2006-12-21 Noritsu Koki Co Ltd Data transmission system
US7533162B2 (en) 2002-04-16 2009-05-12 Thomson Licensing Method, apparatus and system for supporting multiple collaborative sessions in a bi-directional communication device
JP2009238098A (en) * 2008-03-28 2009-10-15 Hitachi Ltd Session management method, storage device, and computer system
JP2010161494A (en) * 2009-01-06 2010-07-22 Howa Mach Ltd Data reception system
JP2017183905A (en) * 2016-03-29 2017-10-05 Necプラットフォームズ株式会社 Communication device, method for recovering from communication failure, and program for recovering from communication failure
US20200257278A1 (en) * 2019-02-12 2020-08-13 Wistron Corp. Monitoring method and system for data transmission

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077155A (en) * 2000-09-04 2002-03-15 Nippon Telegr & Teleph Corp <Ntt> Communication apparatus monitoring and controlling method and association refresh system device
US7533162B2 (en) 2002-04-16 2009-05-12 Thomson Licensing Method, apparatus and system for supporting multiple collaborative sessions in a bi-directional communication device
JP2010218572A (en) * 2002-04-16 2010-09-30 Thomson Licensing Method, apparatus and system coping with multiple collaborative sessions in bi-directional communication device
JP2006345397A (en) * 2005-06-10 2006-12-21 Noritsu Koki Co Ltd Data transmission system
JP2009238098A (en) * 2008-03-28 2009-10-15 Hitachi Ltd Session management method, storage device, and computer system
JP2010161494A (en) * 2009-01-06 2010-07-22 Howa Mach Ltd Data reception system
JP2017183905A (en) * 2016-03-29 2017-10-05 Necプラットフォームズ株式会社 Communication device, method for recovering from communication failure, and program for recovering from communication failure
US20200257278A1 (en) * 2019-02-12 2020-08-13 Wistron Corp. Monitoring method and system for data transmission

Also Published As

Publication number Publication date
JP3992895B2 (en) 2007-10-17

Similar Documents

Publication Publication Date Title
US20060026292A1 (en) Data communication method and information processing apparatus for acknowledging signal reception by using low-layer protocol
KR100449010B1 (en) Bypassing apparatus of gateway
CN102843238B (en) Energy-conservation in the network node of automated network
JPH1011369A (en) Communication system and information processor with hot standby switching function
JP2011188072A (en) Fault detection and recovery system, fault detection and recovery method, and recovery program therefor
CN101330422A (en) Method for avoiding broadcast storm in an ether looped network and transmission switch for the ether looped network
JP2001211106A (en) Transmission system with abnormality monitor function, terminal device with abnormality monitor function, and recording medium storing processing program for terminal device with abnormality monitor function
JP2001103062A (en) Method for notifying detection of fault
KR100794520B1 (en) Securtioy system and method for controlling a traffic using the same
CN115022384B (en) HSMS communication connection method and device
US7079481B2 (en) Redundant network controller management system
KR100525677B1 (en) Apparatus and method for duplication of communication control module
US8023403B2 (en) Information processing apparatus, information processing method, and program
KR102464345B1 (en) Network interface module system
JP2008287632A (en) Control device recovery system
KR101565348B1 (en) Remote power control method of ethernet switch using poe injector
CN1767442A (en) Automatized monitoring system and method for protecting data communication between devices
KR101873713B1 (en) System for Power over Ethernet device fault monitoring and hardware resetting
JP3915313B2 (en) LAN communication system in PLC
KR960001045B1 (en) Connection detection method and circuit of controller
JP2002026932A (en) Monitor control system
KR200379364Y1 (en) Communication module device with line redundant function in digital protection relay
JPH10105490A (en) Method for monitoring server fault and its countermeasure method
JP2002344460A (en) Power grid monitor control system and record medium with connection establishment state monitoring control program recorded thereon
JP2574546B2 (en) Building management system using subscriber telephone line

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040903

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050308

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070725

R151 Written notification of patent or utility model registration

Ref document number: 3992895

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: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 6

EXPY Cancellation because of completion of term