JP2008107976A - Network environment monitoring system - Google Patents

Network environment monitoring system Download PDF

Info

Publication number
JP2008107976A
JP2008107976A JP2006288740A JP2006288740A JP2008107976A JP 2008107976 A JP2008107976 A JP 2008107976A JP 2006288740 A JP2006288740 A JP 2006288740A JP 2006288740 A JP2006288740 A JP 2006288740A JP 2008107976 A JP2008107976 A JP 2008107976A
Authority
JP
Japan
Prior art keywords
monitoring
packet
missing
sequence number
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.)
Pending
Application number
JP2006288740A
Other languages
Japanese (ja)
Inventor
Takeshi Imai
毅 今井
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.)
Kawamura Electric Inc
Original Assignee
Kawamura Electric Inc
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 Kawamura Electric Inc filed Critical Kawamura Electric Inc
Priority to JP2006288740A priority Critical patent/JP2008107976A/en
Publication of JP2008107976A publication Critical patent/JP2008107976A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network environment monitoring system which needs neither a CPU of high performance nor a memory with large capacity for an environment monitoring device or monitoring software and can build a system inexpensively and easily and is high in reliability in transmission and reception. <P>SOLUTION: The network environment monitoring system S is provided with a missing detector 13 which detects missing of packets of monitoring data, and a retransmission request section 15 which requests retransmission of packets of missing sequence numbers in monitoring software C<SB>1</SB>, C<SB>2</SB>, ... and C<SB>n</SB>, and also is provided with a packet retransmission section 8 which transmits missing packets again based on the retransmission request of the missing packet from the monitoring software C in environment monitoring devices G<SB>1</SB>, G<SB>2</SB>, ... and G<SB>n</SB>. Packet transmission of monitoring data from the environment monitoring devices G<SB>1</SB>, G<SB>2</SB>, ... G<SB>n</SB>to the monitoring software C<SB>1</SB>, C<SB>2</SB>, ... C<SB>n</SB>is carried out by using UDP. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、温度、湿度、電力等の監視や、電気錠、換気装置等の電気機器の制御を行う環境監視装置と、その環境監視装置を遠隔で監視・制御するためのコンピュータとが、ネットワークを介して接続されたネットワーク環境監視システムに関するものである。   The present invention relates to an environment monitoring device that monitors temperature, humidity, power, etc., and controls electrical devices such as electric locks and ventilation devices, and a computer for remotely monitoring and controlling the environment monitoring device. The present invention relates to a network environment monitoring system connected via a network.

近年、温度、湿度、電力、扉の開閉状態等を監視したり、電気錠や換気装置等の電気機器を制御したりするための環境監視装置が、インターネットやLAN等のネットワークを介してコンピュータと接続されており、そのコンピュータによって環境監視装置を遠隔地で監視・制御するネットワーク環境監視システムが開発されている(特許文献1)。   In recent years, environmental monitoring devices for monitoring temperature, humidity, power, door open / closed state, etc., and controlling electric devices such as electric locks and ventilators have been connected to computers via networks such as the Internet and LAN. A network environment monitoring system that is connected and monitors and controls the environment monitoring apparatus remotely by using the computer has been developed (Patent Document 1).

図6は、従来のネットワーク環境監視システムの概要を示すブロック図であり、このネットワーク環境監視システムにおいては、環境監視装置1,2,・・・nが、インターネット網を介して監視ソフトウェア(コンピュータ)1,2,・・・nと接続されている。そして、各環境監視装置1,2,・・・nには、インターネット網を介してパケット通信(送信)を行うためのパケット送信部が設けられており、そのパケット送信部に、送信先のIPアドレスを格納するためのIPアドレステーブルと、温度、湿度、電力、扉の開閉状態等を監視するための環境監視部とが設けられている。一方、各監視ソフトウェアには、インターネット網を介してパケット通信(受信)を行うためのパケット受信部が設けられており、そのパケット受信部に状態表示部が接続されている。   FIG. 6 is a block diagram showing an outline of a conventional network environment monitoring system. In this network environment monitoring system, the environment monitoring devices 1, 2,... N are monitored software (computer) via the Internet network. 1, 2,..., N. Each of the environmental monitoring devices 1, 2,... N is provided with a packet transmission unit for performing packet communication (transmission) via the Internet network. An IP address table for storing addresses and an environment monitoring unit for monitoring temperature, humidity, power, door open / closed state, and the like are provided. On the other hand, each monitoring software is provided with a packet receiving unit for performing packet communication (reception) via the Internet network, and a status display unit is connected to the packet receiving unit.

上記した従来のネットワーク環境監視システムにおいては、環境監視装置は、環境監視部によって温度、電圧、接点等を監視する。そして、その監視状態(監視データ)を、パケット送信部によって、予め送信先IPアドレステーブルに登録されている監視ソフトウェアのIPアドレスへ、TCP/IP(Transmission Control Protocol/Internet Protocol)方式によって定期的にパケット送信する。一方、監視ソフトウェアは、環境監視装置からの監視データ(TCP/IPパケットデータ)を、パケット受信部によって受信し、受信したTCP/IPパケットから監視データを取り出して状態表示部の画面に表示する。かかるネットワーク環境監視システムにおいては、エラー訂正、再送機能を有したTCP/IPを利用して監視データの送受信が実行されるため、監視データが欠落したまま、監視動作が続けられる、という事態が起こらない。   In the above-described conventional network environment monitoring system, the environment monitoring device monitors temperature, voltage, contacts, and the like by the environment monitoring unit. Then, the monitoring state (monitoring data) is periodically transmitted by the packet transmission unit to the IP address of the monitoring software registered in the transmission destination IP address table by the TCP / IP (Transmission Control Protocol / Internet Protocol) method. Send a packet. On the other hand, the monitoring software receives monitoring data (TCP / IP packet data) from the environmental monitoring device by the packet receiving unit, extracts the monitoring data from the received TCP / IP packet, and displays it on the screen of the status display unit. In such a network environment monitoring system, transmission / reception of monitoring data is executed using TCP / IP having an error correction and retransmission function, so that the monitoring operation may be continued with the monitoring data missing. Absent.

特開2005−70926号公報JP-A-2005-70926

しかしながら、上記した従来のネットワーク環境監視システムは、TCP/IP方式を利用して監視データの送受信を実行するため、環境監視装置に高性能のCPUや容量の大きいメモリ(記憶手段)が不可欠である。加えて、多数の環境監視装置の状態を監視する場合には、監視ソフトウェアのコンピュータにも高性能のCPUや容量の大きいメモリが必要とされる。それゆえ、安価にシステムを構築することができない、という不具合がある。加えて、上記従来のネットワーク環境監視システムは、TCP/IP方式を利用して監視データの送受信を実行するため、所謂マルチキャストに対応することができず、1台の環境監視装置を複数の監視ソフトウェアで監視する場合には、監視ソフトウェア1台毎に監視データの送信処理を行わなければならない、という不具合もある。   However, since the conventional network environment monitoring system described above executes transmission / reception of monitoring data using the TCP / IP method, a high-performance CPU and a large capacity memory (storage means) are indispensable for the environment monitoring apparatus. . In addition, when monitoring the status of a large number of environmental monitoring devices, a high-performance CPU and a large-capacity memory are also required for the monitoring software computer. Therefore, there is a problem that the system cannot be constructed at low cost. In addition, since the conventional network environment monitoring system performs transmission / reception of monitoring data using the TCP / IP method, it cannot cope with so-called multicast, and one environment monitoring device can be connected to a plurality of monitoring software. In the case of monitoring with the monitoring software, there is also a problem that monitoring data transmission processing must be performed for each monitoring software.

本発明の目的は、上記従来のネットワーク環境監視システムの問題点を解消し、環境監視装置や監視ソフトウェアに高性能のCPUや容量の大きいメモリを必要とせず、安価かつ容易にシステムを構築することができ、1台の環境監視装置を複数の監視ソフトウェアで監視する場合でも、各監視ソフトウェアへ一斉に監視データの送信処理を実行することができる上、監視データの欠落がなく、送受信の信頼性が高いネットワーク環境監視システムを提供することにある。   An object of the present invention is to solve the problems of the above-described conventional network environment monitoring system, and to construct a system easily and inexpensively without requiring a high-performance CPU or a large-capacity memory for the environment monitoring device or monitoring software. Even when one environmental monitoring device is monitored by multiple monitoring software, it is possible to execute monitoring data transmission processing to each monitoring software at the same time, and there is no missing monitoring data, and transmission and reception reliability It is to provide a high network environment monitoring system.

かかる本発明の内、請求項1に記載された発明は、各種センサによる温度、電圧、接点等の監視および/または各種電気機器の制御を行うための環境監視装置が、ネットワークを介して監視コンピュータに接続されており、前記環境監視装置が、パケット送信部により、ネットワークを介して、送信先IPアドレステーブルに登録されている監視コンピュータのIPアドレスに、定期的に温度、電圧、接点等の監視データをパケット送信する一方、監視コンピュータが、パケット受信部により、環境監視装置から送信された監視データを受信し、所定の方法により、その監視データの内容を出力するネットワーク環境監視システムであって、前記監視コンピュータに、前記環境監視装置から送信される監視データのパケットの欠落を検出する欠落検出部と、前記欠落検出部により欠落パケットがあると判断された場合に、環境監視装置に対して欠落しているシーケンス番号のパケットの再送を要求する再送要求部とが設けられているとともに、前記環境監視装置に、前記監視コンピュータからの欠落パケットの再送要求に基づいて欠落パケットを再度送信するパケット再送部が設けられており、環境監視装置から監視コンピュータへの監視データのパケット送信がUDPを利用して行われることを特徴とするものである。   Among the present inventions, the invention described in claim 1 is that an environment monitoring device for monitoring temperature, voltage, contact, etc. by various sensors and / or controlling various electric devices is a monitoring computer via a network. The environmental monitoring device periodically monitors the IP address of the monitoring computer registered in the transmission destination IP address table via the network by the packet transmission unit for the temperature, voltage, contact, etc. A network environment monitoring system in which a monitoring computer receives monitoring data transmitted from an environment monitoring device by a packet receiving unit and outputs the contents of the monitoring data by a predetermined method while transmitting data in a packet, The monitoring computer detects a missing packet of monitoring data transmitted from the environmental monitoring device. A drop detection unit, and a retransmission request unit that requests retransmission of a packet with a missing sequence number to the environment monitoring device when the missing detection unit determines that there is a missing packet. The environmental monitoring device is provided with a packet retransmission unit for retransmitting the lost packet based on the retransmission request of the lost packet from the monitoring computer, and the packet transmission of the monitoring data from the environmental monitoring device to the monitoring computer is performed by UDP. It is characterized by being performed using.

請求項2に記載された発明は、請求項1に記載された発明において、監視コンピュータに、受信した監視データのパケットに付されたシーケンス番号を一時的に格納するためのシーケンス番号保持部が設けられており、欠落検出部が、シーケンス番号保持部にすでに格納されているシーケンス番号と受信した監視データのパケットに付されたシーケンス番号とからパケットの欠落を検出することを特徴とするものである。   The invention described in claim 2 is the invention described in claim 1, wherein the monitoring computer is provided with a sequence number holding unit for temporarily storing the sequence number attached to the received monitoring data packet. The loss detection unit detects a packet loss from the sequence number already stored in the sequence number holding unit and the sequence number attached to the received monitoring data packet. .

請求項3に記載された発明は、請求項1、または請求項2に記載された発明において、環境監視装置に、送信した監視データのパケット毎にシーケンス番号を付して格納するパケット履歴格納部が設けられており、監視コンピュータから再送要求を受信した場合に、そのパケット履歴格納部から再送要求されたシーケンス番号が付された監視データのパケットを削除することを特徴とするものである。   The invention described in claim 3 is the packet history storage unit according to the invention described in claim 1 or claim 2, wherein the environmental monitoring device stores a sequence number for each transmitted monitoring data packet. When a retransmission request is received from the monitoring computer, the monitoring data packet with the sequence number requested for retransmission from the packet history storage unit is deleted.

請求項4に記載された発明は、請求項1〜3のいずれかに記載された発明において、環境監視装置から監視コンピュータへ送信される監視データのパケットがUDPパケットであることを特徴とするものである。   The invention described in claim 4 is the invention described in any one of claims 1 to 3, wherein the monitoring data packet transmitted from the environmental monitoring device to the monitoring computer is a UDP packet. It is.

請求項1に記載されたネットワーク環境監視システムは、監視コンピュータに、欠落検出部と再送要求部とが設けられているとともに、環境監視装置にパケット再送部が設けられており、環境監視装置から監視コンピュータへの監視データのパケット送信がUDPを利用して行われるため、従来のネットワーク環境監視システムに比べて、環境監視装置や監視コンピュータのCPUの性能、メモリの容量を低減させることが可能であるため、安価かつ容易にシステムを構築することができる。また、1台の環境監視装置を複数の監視コンピュータで監視する場合でも、各監視コンピュータへ一斉に監視データの送信処理を実行することができる。さらに、欠落した監視データが再送されるので、データ通信の信頼性が高い。   In the network environment monitoring system according to claim 1, the monitoring computer is provided with a missing detection unit and a retransmission request unit, and the environment monitoring device is provided with a packet retransmission unit. Since packet transmission of monitoring data to the computer is performed using UDP, it is possible to reduce the performance of the CPU and the memory capacity of the environment monitoring device and the monitoring computer as compared with the conventional network environment monitoring system. Therefore, a system can be constructed inexpensively and easily. Further, even when one environmental monitoring device is monitored by a plurality of monitoring computers, it is possible to simultaneously execute monitoring data transmission processing to each monitoring computer. Furthermore, since the missing monitoring data is retransmitted, the reliability of data communication is high.

請求項2に記載されたネットワーク環境監視システムは、監視コンピュータにシーケンス番号保持部が設けられており、欠落検出部が、シーケンス番号保持部の情報に基づいてパケットの欠落を検出するため、監視データの欠落が確実に検出されて環境監視装置から監視コンピュータへ再送されるので、データ通信の信頼性がきわめて高い。   In the network environment monitoring system according to claim 2, the monitoring computer is provided with a sequence number holding unit, and the loss detection unit detects a packet loss based on information in the sequence number holding unit. Is reliably detected and retransmitted from the environmental monitoring device to the monitoring computer, so the reliability of data communication is extremely high.

請求項3に記載されたネットワーク環境監視システムは、監視コンピュータから再送要求を受信した場合に、環境監視装置のパケット履歴格納部から再送要求されたシーケンス番号が付された監視データのパケットを削除するため、環境監視装置が必要以上のデータを保持しないので、環境監視装置のメモリの容量、CPUの性能をより低減させることができ、非常に安価に構築することができる上、通信エラーが発生しにくい。   When the network environment monitoring system according to claim 3 receives a retransmission request from a monitoring computer, the network environment monitoring system deletes a packet of monitoring data to which the sequence number requested for retransmission from the packet history storage unit of the environment monitoring apparatus is attached. Therefore, since the environmental monitoring device does not hold more data than necessary, the memory capacity and CPU performance of the environmental monitoring device can be further reduced, and it can be constructed at a very low cost and a communication error occurs. Hateful.

以下、本発明のネットワーク環境監視システムの一実施形態について、図面に基づいて詳細に説明する。図1は、本発明のネットワーク環境監視システムの概要を示すブロック図であり、ネットワーク環境監視システムにおいては、複数の(n個の)環境監視装置G,G,・・・Gnが、インターネット網21を介して、複数の(n個の)監視ソフトウェア(コンピュータ)C,C,・・・Cnと接続されている。そして、各環境監視装置G,G,・・・Gnが監視した温度、電圧、接点等に関するデータを、インターネット網21を介して、各監視ソフトウェアC,C,・・・Cnへ、UDP/IP(User Datagram Protocol/Internet Protocol)方式によってパケット通信するようになっている。また、各監視ソフトウェアC,C,・・・Cnにおいてパケットデータの欠落が検知された場合には、各監視ソフトウェアC,C,・・・Cnから、環境監視装置G,G,・・・Gnへ、パケットデータの再送が要求され、その再送要求に対して、環境監視装置G,G,・・・Gnが各監視ソフトウェアC,C,・・・Cnへ、欠落したパケットデータを再送するようになっている。 Hereinafter, an embodiment of a network environment monitoring system of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an overview of a network environment monitoring system according to the present invention. In the network environment monitoring system, a plurality (n) of environment monitoring devices G 1 , G 2 ,. A plurality of (n) monitoring software (computers) C 1 , C 2 ,... Cn are connected via the network 21. And the data regarding the temperature, voltage, contact point, etc. monitored by each environmental monitoring device G 1 , G 2 ,... Gn are sent to each monitoring software C 1 , C 2 ,. The packet communication is performed by the UDP / IP (User Datagram Protocol / Internet Protocol) system. Also, each monitoring software C 1, C 2, when the loss of packet data is detected in · · · Cn, each monitoring software C 1, C 2, from · · · Cn, environmental monitoring device G 1, G 2 ,... Gn is requested to retransmit the packet data. In response to the retransmission request, the environmental monitoring devices G 1 , G 2 ,... Gn receive the monitoring software C 1 , C 2 ,. In this case, the lost packet data is retransmitted.

各環境監視装置G,G,・・・Gnには、インターネット網21を介してパケット通信を行うためのパケット送信部3と、送信先のIPアドレスを格納するためのIPアドレステーブル4と、温度、湿度、電力、扉の開閉状態等を監視するための環境監視部5と、各監視ソフトウェアC,C,・・・Cnに送信するパケットデータ(監視データ)を格納(記憶)するためのパケット履歴格納部6と、各監視ソフトウェアC,C,・・・Cnに送信するパケットデータ(監視データ)に付すシーケンス番号を保持するためのシーケンス番号保持部7と、各監視ソフトウェアC,C,・・・Cnからのパケット再送要求に基づいてパケットデータ(監視データ)を再送するためのパケット再送部8とが設けられている。そして、環境監視部5とパケット履歴格納部6とシーケンス番号保持部7とが、パケット送信部3に接続され、パケット再送部8がパケット履歴格納部6に接続された状態になっている。 Each of the environmental monitoring devices G 1 , G 2 ,... Gn includes a packet transmission unit 3 for performing packet communication via the Internet network 21 and an IP address table 4 for storing a destination IP address. Stores (stores) packet data (monitoring data) to be transmitted to the monitoring software C 1 , C 2 ,... Cn and the environment monitoring unit 5 for monitoring temperature, humidity, power, door open / closed state, etc. Packet history storage unit 6 for monitoring, sequence number holding unit 7 for holding sequence numbers attached to packet data (monitoring data) transmitted to each monitoring software C 1 , C 2 ,... Cn, and each monitoring A packet retransmission unit 8 for retransmitting packet data (monitoring data) based on a packet retransmission request from software C 1 , C 2 ,... Cn is provided. . The environment monitoring unit 5, the packet history storage unit 6, and the sequence number holding unit 7 are connected to the packet transmission unit 3, and the packet retransmission unit 8 is connected to the packet history storage unit 6.

一方、各監視ソフトウェアC,C,・・・Cnには、インターネット網21を介してパケット通信を行うためのパケット受信部11と、パケット受信部11が受信したデータ(監視データ)に基づいて監視状態を表示するための状態表示部12と、環境監視装置Gから受信したパケットデータの欠落を検出するための欠落検出部13と、環境監視装置Gから受信したパケットデータ(監視データ)に付されたシーケンス番号を保持するためのシーケンス番号保持部14と、環境監視装置Gへパケットデータ(監視データ)の再送を要求するための再送要求部15とが設けられている。そして、パケット受信部11に、状態表示部12と欠落検出部13とが接続され、欠落検出部13とシーケンス番号保持部14と再送要求部15とが互いに接続された状態になっている。 On the other hand, each monitoring software C 1 , C 2 ,... Cn includes a packet receiving unit 11 for performing packet communication via the Internet network 21 and data (monitoring data) received by the packet receiving unit 11. The status display unit 12 for displaying the monitoring status, the missing detection unit 13 for detecting the missing packet data received from the environment monitoring device G, and the packet data (monitoring data) received from the environment monitoring device G. A sequence number holding unit 14 for holding the attached sequence number and a retransmission request unit 15 for requesting the environment monitoring apparatus G to retransmit the packet data (monitoring data) are provided. Then, the state display unit 12 and the loss detection unit 13 are connected to the packet reception unit 11, and the loss detection unit 13, the sequence number holding unit 14, and the retransmission request unit 15 are connected to each other.

また、図2は、各環境監視装置G,G,・・・Gnに設けられたIPアドレステーブル4を示す説明図であり、IPアドレステーブル4内には、各監視ソフトウェアC,C,・・・CnのIPアドレスが番号と対応付けられた状態で格納(記憶)されている。一方、図3は、各環境監視装置G,G,・・・Gnに設けられたパケット履歴格納部6を示す説明図であり、パケット履歴格納部6には、送信済みのデータ(監視データ)がシーケンス番号と対応付けられた状態で格納(記憶)されている。 FIG. 2 is an explanatory diagram showing the IP address table 4 provided in each of the environmental monitoring devices G 1 , G 2 ,... Gn, and in the IP address table 4, each monitoring software C 1 , C 2 ,... Are stored (stored) in a state where the IP addresses of Cn are associated with numbers. 3 is an explanatory diagram showing the packet history storage unit 6 provided in each of the environmental monitoring devices G 1 , G 2 ,... Gn. Data) is stored (stored) in a state associated with the sequence number.

以下、上記の如く構成されたネットワーク環境監視システムSにおける各監視ソフトウェアC,C,・・・Cnの処理内容について、図4のフローチャートにしたがって説明する。 Hereinafter, processing contents of the monitoring software C 1 , C 2 ,... Cn in the network environment monitoring system S configured as described above will be described with reference to the flowchart of FIG.

各監視ソフトウェアC,C,・・・Cnにおいては、まず、S(ステップ)1で、環境監視装置GからUDP/IP方式によるパケットデータ(すなわち、監視データ)を受信したか否か繰り返し判断され、パケットデータを受信したと判断された場合には、S2で、受信したパケットデータからIPアドレスを取得する。しかる後に、S3で、S2において取得したIPアドレスがすでに登録されているIPアドレスか否か判断され、すでに登録されているアドレスであると判断された場合には、S4で、受信したパケットデータからシーケンス番号を取得する。一方、S3で、取得したIPアドレスがすでに登録されているIPアドレスではないと判断された場合には、以下のステップを実行することなく処理を終了する。 Each of the monitoring software C 1 , C 2 ,... Cn first repeats whether or not packet data (that is, monitoring data) by the UDP / IP method is received from the environment monitoring device G in S (step) 1. If it is determined that the packet data is received, an IP address is acquired from the received packet data in S2. Thereafter, in S3, it is determined whether or not the IP address acquired in S2 is an already registered IP address. If it is determined that the IP address is already registered, the received packet data is determined in S4. Get the sequence number. On the other hand, if it is determined in S3 that the acquired IP address is not an already registered IP address, the process is terminated without executing the following steps.

S4で、受信したパケットデータからシーケンス番号を取得した後には、S5で、その取得したシーケンス番号と、シーケンス番号保持部14にすでに格納されているシーケンス番号とが参照されて、シーケンス番号に欠落があるか否かが判断される。そして、S5で、欠落があると判断された場合には、S6で、欠落したシーケンス番号を付した再送要求信号を送信して処理を終了する。一方、S5で、シーケンス番号に欠落がないと判断された場合には、受信したパケットデータに基づいて、監視環境装置Gの状態を状態表示部12に表示して処理を終了する。   After obtaining the sequence number from the received packet data in S4, in S5, the obtained sequence number and the sequence number already stored in the sequence number holding unit 14 are referred to, and the sequence number is missing. It is determined whether or not there is. If it is determined in S5 that there is a loss, the retransmission request signal with the missing sequence number is transmitted in S6, and the process ends. On the other hand, if it is determined in S5 that the sequence number is not missing, the state of the monitoring environment device G is displayed on the state display unit 12 based on the received packet data, and the process is terminated.

また、ネットワーク環境監視システムSにおける環境監視装置G,G,・・・Gnの処理内容について、図5のフローチャートにしたがって説明する。 The processing contents of the environment monitoring devices G 1 , G 2 ,... Gn in the network environment monitoring system S will be described with reference to the flowchart of FIG.

環境監視装置G,G,・・・Gnにおいては、まず、S11で、シーケンス番号保持部7からシーケンス番号を取得した後に、S12で、環境監視部5によって得られた温度、湿度、電力、扉の開閉状態等に関連した監視データを作成する。そして、S13で、その監視データにS11で取得したシーケンス番号を付して、そのシーケンス番号の付された監視データを、予めIPアドレスが登録されている各監視ソフトウェアC,C,・・・Cnへ、UDP/IP方式によって送信する。しかる後、S14で、その送信した監視データをパケット履歴格納部6に格納する。 In the environmental monitoring devices G 1 , G 2 ,... Gn, first, the sequence number is acquired from the sequence number holding unit 7 in S11, and then the temperature, humidity, and power obtained by the environmental monitoring unit 5 in S12. Create monitoring data related to door open / closed state. Then, in S13, denoted by the sequence number acquired in S11 to the monitoring data, the monitoring data that is attached with its sequence number, previously each monitoring IP address is registered software C 1, C 2, · ·・ Send to Cn by UDP / IP method. Thereafter, the transmitted monitoring data is stored in the packet history storage unit 6 in S14.

S14で、送信した監視データをパケット履歴格納部6に格納した後には、S15で、いずれかの監視ソフトウェアCから再送要求信号(シーケンス番号が付されたもの)を受信したか否か判断される。そして、S15で、再送要求信号を受信したと判断された場合には、S16で、再送要求信号に付されたシーケンス番号と同一のシーケンス番号の付されたパケットデータを監視ソフトウェアCへ再送する。一方、S15で、再送要求信号を受信していないと判断された場合には、一連の監視データの送受信においてパケットデータの欠落がなかったと判断して、S17で、パケット履歴格納部6から、送信済みの監視データを削除する。   After the transmitted monitoring data is stored in the packet history storage unit 6 in S14, it is determined in S15 whether a retransmission request signal (with a sequence number) is received from any monitoring software C. . If it is determined in S15 that the retransmission request signal has been received, the packet data having the same sequence number as the sequence number added to the retransmission request signal is retransmitted to the monitoring software C in S16. On the other hand, if it is determined in S15 that the retransmission request signal has not been received, it is determined that no packet data has been lost in the series of monitoring data transmission / reception, and in S17, the packet history storage unit 6 transmits the packet data. Delete the existing monitoring data.

上記の如く、S16で再送要求されたパケットデータを再送した後、あるいは、S17でパケット履歴格納部6から送信済みの監視データを削除した後には、S18で、すべての監視ソフトウェアC,C,・・・Cnに対して監視データが送信されたか否か判断され、送信されたと判断された場合には、S19で、シーケンス番号保持部7内のシーケンス番号を更新して処理を終了する。一方、S18で、監視データが送信されていない監視ソフトウェアCが存在すると判断された場合には、S13以降のステップが繰り返し実行される。 As described above, after retransmitting the packet data requested to be retransmitted in S16, or after deleting the transmitted monitoring data from the packet history storage unit 6 in S17, in S18, all the monitoring software C 1 , C 2 ,... It is determined whether or not the monitoring data has been transmitted to Cn. If it is determined that the monitoring data has been transmitted, the sequence number in the sequence number holding unit 7 is updated in S19 and the process is terminated. On the other hand, if it is determined in S18 that there is monitoring software C to which no monitoring data is transmitted, the steps after S13 are repeatedly executed.

ネットワーク環境監視システムSは、上記の如く、監視ソフトウェア(コンピュータ)C,C,・・・Cnに、環境監視装置G,G,・・・Gnから送信される監視データのパケットの欠落を検出する欠落検出部13と、欠落検出部13により欠落パケットがあると判断された場合に、環境監視装置Gに対して欠落しているシーケンス番号のパケットの再送を要求する再送要求部15とが設けられているとともに、環境監視装置G,G,・・・Gnに、監視ソフトウェアCからの欠落パケットの再送要求に基づいて欠落パケットを再度送信するパケット再送部8が設けられており、環境監視装置G,G,・・・Gnから監視ソフトウェアC,C,・・・Cnへの監視データのパケット送信がUDPを利用して行われる。したがって、ネットワーク環境監視システムSは、従来のネットワーク環境監視システムに比べて、環境監視装置G,G,・・・Gnや監視ソフトウェアC,C,・・・CnのCPUの性能、メモリの容量を低減させることが可能であるため、安価かつ容易にシステムを構築することができる。また、1台の環境監視装置Gを複数の監視ソフトウェアC,C,・・・Cnで監視する場合でも、各監視ソフトウェアC,C,・・・Cnへ一斉に監視データの送信処理を実行することができる。さらに、欠落した監視データが再送されるので、データ通信の信頼性が高い。 As described above, the network environment monitoring system S transmits the monitoring data packets transmitted from the environment monitoring devices G 1 , G 2 ,... Gn to the monitoring software (computers) C 1 , C 2 ,. A drop detection unit 13 that detects a drop, and a retransmission request unit 15 that requests the environmental monitoring device G to retransmit a packet with a missing sequence number when the drop detection unit 13 determines that there is a missing packet. And the environment monitoring devices G 1 , G 2 ,... Gn are provided with a packet retransmission unit 8 for retransmitting the lost packet based on the retransmission request of the lost packet from the monitoring software C. cage, utilizing the environmental monitoring apparatus G 1, G 2, monitored from · · · Gn software C 1, C 2, the packet transmission monitoring data to · · · Cn is UDP It is performed Te. Therefore, the network environment monitoring system S has a CPU performance of the environment monitoring devices G 1 , G 2 ,... Gn and the monitoring software C 1 , C 2 ,. Since the memory capacity can be reduced, a system can be constructed inexpensively and easily. In addition, even when one environmental monitoring device G is monitored by a plurality of monitoring software C 1 , C 2 ,... Cn, monitoring data is transmitted to the monitoring software C 1 , C 2 ,. Processing can be executed. Furthermore, since the missing monitoring data is retransmitted, the reliability of data communication is high.

また、ネットワーク環境監視システムSは、監視ソフトウェアC,C,・・・Cnに、受信した監視データのパケットに付されたシーケンス番号を一時的に格納するためのシーケンス番号保持部14が設けられており、欠落検出部13が、シーケンス番号保持部14にすでに格納されているシーケンス番号と受信した監視データのパケットに付されたシーケンス番号とからパケットの欠落を検出するため、監視データの欠落が確実に検出されて環境監視装置Gから監視ソフトウェアCへ再送されるので、データ通信の信頼性がきわめて高い。 In addition, the network environment monitoring system S is provided with a sequence number holding unit 14 for temporarily storing the sequence numbers assigned to the received monitoring data packets in the monitoring software C 1 , C 2 ,... Cn. Since the missing detection unit 13 detects the missing packet from the sequence number already stored in the sequence number holding unit 14 and the sequence number attached to the received monitoring data packet, the missing monitoring data Is reliably detected and retransmitted from the environmental monitoring device G to the monitoring software C, the reliability of data communication is extremely high.

さらに、ネットワーク環境監視システムSは、環境監視装置G,G,・・・Gnに、送信した監視データのパケット毎にシーケンス番号を付して格納するパケット履歴格納部6が設けられており、監視ソフトウェアCから再送要求を受信した場合に、そのパケット履歴格納部6から再送要求されたシーケンス番号が付された監視データのパケットを削除するため、環境監視装置G,G,・・・Gnが必要以上のデータを保持しないので、環境監視装置G,G,・・・Gnのメモリの容量、CPUの性能をより低減させることができ、非常に安価に構築することができる上、通信エラーが発生しにくい。 Furthermore, the network environment monitoring system S is provided with a packet history storage unit 6 for storing the environment monitoring devices G 1 , G 2 ,... Gn with a sequence number assigned to each transmitted monitoring data packet. When the retransmission request is received from the monitoring software C, the environment monitoring devices G 1 , G 2 ,... Are deleted in order to delete the monitoring data packet with the sequence number requested for retransmission from the packet history storage unit 6. Since Gn does not hold more data than necessary, the capacity of the environmental monitoring devices G 1 , G 2 ,... Gn and the performance of the CPU can be further reduced, and can be constructed at a very low cost. In addition, communication errors are unlikely to occur.

なお、本発明のネットワーク環境監視システムの構成は、上記実施形態の態様に何ら限定されるものではなく、環境監視装置、監視コンピュータ(監視ソフトウェア)等の構成を、本発明の趣旨を逸脱しない範囲で、必要に応じて適宜変更できる。   Note that the configuration of the network environment monitoring system of the present invention is not limited to the aspect of the above-described embodiment, and the configuration of the environment monitoring device, the monitoring computer (monitoring software), etc., does not depart from the spirit of the present invention. Thus, it can be appropriately changed as necessary.

たとえば、監視ソフトウェアは、監視データを受信したときに、その情報を状態表示部に表示するばかりでなく、所定の監視データ(たとえば、予め定められた閾値を外れた監視データ)を外部の警報手段に出力するもの等に変更することも可能である。また、本発明のネットワーク環境監視システムは、インターネット等の公衆通信網を介して、環境監視装置と監視コンピュータとの間で通信を行うものに限定されず、所定のエリアに限定されたLANを介して、環境監視装置と監視コンピュータとの間で通信を行うものに変更することも可能である。   For example, when the monitoring software receives the monitoring data, the monitoring software not only displays the information on the status display unit, but also outputs predetermined monitoring data (for example, monitoring data that exceeds a predetermined threshold) to an external alarm means. It is also possible to change to what is output in Further, the network environment monitoring system of the present invention is not limited to a communication between the environment monitoring apparatus and the monitoring computer via a public communication network such as the Internet, but via a LAN limited to a predetermined area. Thus, it is also possible to change to the one that communicates between the environmental monitoring device and the monitoring computer.

本発明のネットワーク環境監視システムは、上記の如く優れた効果を奏するものであるので、温度、湿度、電力等の監視や電気機器の制御を行う環境監視装置を、ネットワークを介して遠隔地のコンピュータによって監視、制御するためのシステムとして好適に用いることができる。   Since the network environment monitoring system of the present invention has excellent effects as described above, an environment monitoring device that monitors temperature, humidity, power, etc. and controls electric devices is connected to a remote computer via a network. Therefore, it can be suitably used as a system for monitoring and controlling.

本発明のネットワーク環境監視システムの概要を示すブロック図である。It is a block diagram which shows the outline | summary of the network environment monitoring system of this invention. 環境監視装置のIPアドレステーブルを示す説明図である。It is explanatory drawing which shows the IP address table of an environmental monitoring apparatus. パケット履歴格納部の送信データの記憶領域を示す説明図である。It is explanatory drawing which shows the memory area of the transmission data of a packet history storage part. 監視ソフトウェアの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of monitoring software. 環境監視装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of an environment monitoring apparatus. 従来のネットワーク環境監視システムの概要を示すブロック図である。It is a block diagram which shows the outline | summary of the conventional network environment monitoring system.

符号の説明Explanation of symbols

6・・パケット履歴格納部、8・・パケット再送部、13・・欠落検出部、14・・シーケンス番号保持部、15・・再送要求部、21・・インターネット網、G・・環境監視装置、C・・監視ソフトウェア、S・・ネットワーク環境監視システム。   6 .. Packet history storage unit, 8 .. Packet retransmission unit, 13 .. Missing detection unit, 14 .. Sequence number holding unit, 15 .. Retransmission request unit, 21 .. Internet network, G. C ・ ・ Monitoring software, S ・ ・ Network environment monitoring system.

Claims (3)

各種センサによる温度、電圧、接点等の監視および/または各種電気機器の制御を行うための環境監視装置が、ネットワークを介して監視コンピュータに接続されており、
前記環境監視装置が、パケット送信部により、ネットワークを介して、送信先IPアドレステーブルに登録されている監視コンピュータのIPアドレスに、定期的に温度、電圧、接点等の監視データをパケット送信する一方、監視コンピュータが、パケット受信部により、環境監視装置から送信された監視データを受信し、所定の方法により、その監視データの内容を出力するネットワーク環境監視システムであって、
前記監視コンピュータに、
前記環境監視装置から送信される監視データのパケットの欠落を検出する欠落検出部と、
前記欠落検出部により欠落パケットがあると判断された場合に、環境監視装置に対して欠落しているシーケンス番号のパケットの再送を要求する再送要求部とが設けられているとともに、
前記環境監視装置に、
前記監視コンピュータからの欠落パケットの再送要求に基づいて欠落パケットを再度送信するパケット再送部が設けられており、
環境監視装置から監視コンピュータへの監視データのパケット送信がUDPを利用して行われることを特徴とするネットワーク環境監視システム。
An environmental monitoring device for monitoring temperature, voltage, contacts, etc. by various sensors and / or controlling various electric devices is connected to a monitoring computer via a network.
While the environmental monitoring device periodically transmits monitoring data such as temperature, voltage, contact point, etc. to the IP address of the monitoring computer registered in the transmission destination IP address table via the network by the packet transmission unit. The monitoring computer receives the monitoring data transmitted from the environment monitoring device by the packet receiver, and outputs the contents of the monitoring data by a predetermined method,
In the monitoring computer,
A missing detector that detects missing packets of monitoring data transmitted from the environmental monitoring device;
When it is determined by the missing detection unit that there is a missing packet, a retransmission request unit that requests retransmission of the packet with the missing sequence number to the environmental monitoring device is provided,
In the environmental monitoring device,
A packet retransmission unit is provided for retransmitting the missing packet based on the retransmission request of the missing packet from the monitoring computer,
A network environment monitoring system, wherein packet transmission of monitoring data from an environment monitoring apparatus to a monitoring computer is performed using UDP.
監視コンピュータに、受信した監視データのパケットに付されたシーケンス番号を一時的に格納するためのシーケンス番号保持部が設けられており、
欠落検出部が、シーケンス番号保持部にすでに格納されているシーケンス番号と受信した監視データのパケットに付されたシーケンス番号とからパケットの欠落を検出することを特徴とする請求項1に記載のネットワーク環境監視システム。
The monitoring computer is provided with a sequence number holding unit for temporarily storing the sequence number attached to the received monitoring data packet,
2. The network according to claim 1, wherein the missing detection unit detects a missing packet from the sequence number already stored in the sequence number holding unit and the sequence number attached to the received monitoring data packet. Environmental monitoring system.
環境監視装置に、送信した監視データのパケット毎にシーケンス番号を付して格納するパケット履歴格納部が設けられており、監視コンピュータから再送要求を受信した場合に、そのパケット履歴格納部から再送要求されたシーケンス番号が付された監視データのパケットを削除することを特徴とする請求項1、または請求項2に記載のネットワーク環境監視システム。   The environment monitoring device is provided with a packet history storage unit that stores a sequence number for each transmitted monitoring data packet. When a retransmission request is received from a monitoring computer, a retransmission request is sent from the packet history storage unit. 3. The network environment monitoring system according to claim 1, wherein the monitoring data packet to which the sequence number assigned is deleted.
JP2006288740A 2006-10-24 2006-10-24 Network environment monitoring system Pending JP2008107976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006288740A JP2008107976A (en) 2006-10-24 2006-10-24 Network environment monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006288740A JP2008107976A (en) 2006-10-24 2006-10-24 Network environment monitoring system

Publications (1)

Publication Number Publication Date
JP2008107976A true JP2008107976A (en) 2008-05-08

Family

ID=39441294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006288740A Pending JP2008107976A (en) 2006-10-24 2006-10-24 Network environment monitoring system

Country Status (1)

Country Link
JP (1) JP2008107976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013246141A (en) * 2012-05-29 2013-12-09 Hioki Ee Corp Measurement data recorder and measurement data recording system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013246141A (en) * 2012-05-29 2013-12-09 Hioki Ee Corp Measurement data recorder and measurement data recording system

Similar Documents

Publication Publication Date Title
JP4557028B2 (en) Information processing apparatus, information processing method, client device, information processing system
US8583831B2 (en) Thin client discovery
US7496038B2 (en) Method for faster detection and retransmission of lost TCP segments
JP5867188B2 (en) Information processing apparatus, congestion control method, and congestion control program
JP2005287045A (en) Method for discovery of device connected to ip network and device to carry out the method
JP5935940B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION PROGRAM
JP6193185B2 (en) Communication device, terminal device, and program
US20100125901A1 (en) Automatic invocation of dtn bundle protocol
JP6745821B2 (en) Method and device for resending hypertext transfer protocol request, and client terminal
WO2014100933A1 (en) Providing multiple content items for display on multiple devices
JP4158585B2 (en) Survival confirmation method of remote device monitoring control system and remote device monitoring control system
US20060268851A1 (en) Method and apparatus for address resolution protocol persistent in a network data processing system
US10033489B1 (en) Managing communications based on network conditions
JP2008107976A (en) Network environment monitoring system
JP6089518B2 (en) Transfer device, transfer method, and transfer program
AU2021230848B2 (en) Communication apparatus, program, communication method, information processing method, information processing apparatus, and communication system
JP6213059B2 (en) Relay program, relay device, and relay method
JP5680978B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
US9742819B2 (en) System and method for reliable messaging between application sessions across volatile networking conditions
JP4029898B2 (en) Network equipment
JP6308295B2 (en) COMMUNICATION DEVICE, SERVER, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP2009246855A (en) Communicating system
JP4945793B2 (en) Electronic device, name resolution method, and name resolution control program
JP4350640B2 (en) Terminal device
JP2006352586A (en) Communication management device and communication system