JP2009260778A - Sensor network gateway, and sensor network system - Google Patents

Sensor network gateway, and sensor network system Download PDF

Info

Publication number
JP2009260778A
JP2009260778A JP2008108849A JP2008108849A JP2009260778A JP 2009260778 A JP2009260778 A JP 2009260778A JP 2008108849 A JP2008108849 A JP 2008108849A JP 2008108849 A JP2008108849 A JP 2008108849A JP 2009260778 A JP2009260778 A JP 2009260778A
Authority
JP
Japan
Prior art keywords
gateway
data
unit
sensor
host computer
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
JP2008108849A
Other languages
Japanese (ja)
Inventor
Koji Tachibana
幸治 立花
Takanori Shimura
隆則 志村
Nobuaki Seta
信明 瀬田
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.)
Hitachi High Tech Control Systems Corp
Original Assignee
Hitachi High Tech Control Systems 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 Hitachi High Tech Control Systems Corp filed Critical Hitachi High Tech Control Systems Corp
Priority to JP2008108849A priority Critical patent/JP2009260778A/en
Publication of JP2009260778A publication Critical patent/JP2009260778A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sensor network system using a gateway which can detect the abnormality of a sensor node in a sensor net system by the gateway and can collect and duplicate data of the sensor node from a host computer by a polling method. <P>SOLUTION: The gateway comprises a table unit for periodically updating measurement data of sensor nodes and a data holding unit for storing data and is configured to monitor the updating cycle of the measurement data of the table unit and to determine abnormality of a sensor node if the cycle is delayed. A host computer comprises an ID setting unit for setting connection information of nodes, a gateway diagnosis unit and a switching unit, and a plurality of gateways can be selected and connected. Furthermore, when duplexed, data of the table are exchanged with each other between gateways and can be backed up mutually. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、間欠的な動作を行うセンサノードからデータを受信するセンサネットワーク用ゲートウェイ、ならびにセンサネットワークシステムに関する。   The present invention relates to a sensor network gateway that receives data from a sensor node that performs intermittent operation, and a sensor network system.

従来、センサノードと呼ばれる端末で測定した温度、湿度などの計測データを数十秒から数分の計測周期毎に間歇的に動作、サンプリングし、無線通信手段を用いてリアルタイムに上位計算機である情報処理装置に取り込むネットワークシステム(以下、センサネットワークシステムという)が検討されている。   Conventionally, information such as temperature and humidity measured by a terminal called a sensor node is intermittently operated and sampled every measurement cycle of several tens of seconds to several minutes, and is a host computer in real time using wireless communication means A network system (hereinafter referred to as a sensor network system) to be taken into a processing apparatus has been studied.

センサネットワークシステムには、計測データを収集する小型で電池動作し、無線通信を行うセンサノードと、センシングされたデータを無線で収集して、インターネットなどの有線ネットワークに接続するデバイス(以下、ゲートウェイと呼ぶ)とセンサノードとゲートウェイ間に距離がある場合などに無線の中継伝送を行う中継器と呼ぶの3種のデバイス(ノードと呼ぶ)で構成される。   A sensor network system is a small battery-operated sensor node that collects measurement data and wirelessly communicates with a sensor node and a device that collects sensed data wirelessly and connects to a wired network such as the Internet (hereinafter referred to as a gateway). And 3 types of devices (called nodes) called repeaters that perform wireless relay transmission when there is a distance between the sensor node and the gateway.

従来、センサネットワークシステムにおいて、センサノードとゲートウェイのハードウェア構成を共有化し、基地局(ゲートウェイ)にセンサノードへのコマンドを順次、表として保持するメモリを設け、センサノードの低消費電力化を図る特開2006−211439号公報(特許文献1)に示す発明がある。   Conventionally, in a sensor network system, the hardware configuration of a sensor node and a gateway is shared, and a memory for sequentially storing commands to the sensor node as a table is provided in the base station (gateway) to reduce the power consumption of the sensor node. There exists invention shown in Unexamined-Japanese-Patent No. 2006-211439 (patent document 1).

また、上位計算機からの一連のコマンドを簡易言語で記述してスクリプト化し、各ノードであるゲートウェイ、ルータ、センサノードでスクリプトを解析し、実行することにより動的にシステムの動作フローを構築する特開2006−344017号公報(特許文献2)に示される発明や無線の通信規格としてジグビー(ZigBee:登録商標)を利用し、複数のセンサネットワークを情報管理サーバで統合するシステムにおけるサービス情報(信号)の授受に関する特開2007−272399号公報(特許文献3)に示す発明が提示されている。   In addition, a series of commands from a host computer is written in a simple language and scripted, and the system operation flow is dynamically constructed by analyzing and executing the script at each node gateway, router, and sensor node. Service information (signals) in a system in which ZigBee (registered trademark) is used as an invention or wireless communication standard disclosed in Japanese Unexamined Patent Application Publication No. 2006-344017 (Patent Document 2) and a plurality of sensor networks are integrated by an information management server The invention shown in Japanese Patent Application Laid-Open No. 2007-272399 (Patent Document 3) related to the transfer of the above-mentioned is presented.

更に、特開2005−328230号公報(特許文献4)には、ゲートウェイにゲートウェイを備えた内容も示されている。   Furthermore, Japanese Patent Laying-Open No. 2005-328230 (Patent Document 4) also shows the contents of the gateway provided with the gateway.

しかし、上記従来技術では以下の問題があった。   However, the above prior art has the following problems.

上位計算機はゲートウェイを介して、計測周期毎に伝送されてくる複数のセンサノードの計測データを非同期にイベントとして処理する必要があり、リアルタイムな処理性能が求められる。このため、適用できるハードウェアの制限と迅速で同時に複数の非同期処理を可能とするイベント処理ソフトが必要という欠点がある。   The host computer needs to process the measurement data of a plurality of sensor nodes transmitted every measurement cycle via the gateway as events asynchronously, and real-time processing performance is required. For this reason, there is a drawback that there is a limitation of applicable hardware and event processing software that enables a plurality of asynchronous processes at the same time quickly.

上位計算機が異常となったときに、ゲートウェイにセンサノードからの計測データを保持する手段がなく、上位計算機が復帰時には再度センサノードから計測データを読み出す必要があり、この読み出しのために余分な消費電流が消費され、電池動作を行うセンサノードの動作時間が減少するという欠点がある。   When the host computer becomes abnormal, there is no means to hold the measurement data from the sensor node in the gateway, and it is necessary to read the measurement data from the sensor node again when the host computer recovers. There is a disadvantage in that current is consumed and the operation time of the sensor node that performs battery operation is reduced.

センサノードが異常になった場合は無線通信がゲートウェイまたは中継器に計測データが伝送されないがゲートウェイでセンサノードの異常を判別する手段が設けられていないため、上位計算機にてセンサノードの異常を検出する必要があり、上位計算機側の処理が煩雑となるという欠点がある。   When a sensor node becomes abnormal, measurement data is not transmitted to the gateway or repeater in the wireless communication, but there is no means to determine the sensor node abnormality in the gateway, so the host computer detects the sensor node abnormality There is a drawback that the processing on the host computer side becomes complicated.

複数のセンサネットワークシステムに於いても、ゲートウェイは1台であり、ゲートウェイの故障などにより停止した場合の考慮されておらず、センサノードからの計測データが上位計算機に伝送されず、停止したゲートウェイ毎のセンサネットワークシステムの停止となる欠点があった。   Even in a plurality of sensor network systems, there is only one gateway, which is not considered when the gateway is stopped due to a gateway failure, etc., and measurement data from the sensor node is not transmitted to the host computer. There was a drawback that would stop the sensor network system.

特開2006−211439号公報JP 2006-211439 A 特開2006−344017号公報JP 2006-344017 A 特開2007−272399号公報JP 2007-272399 A 特開2005−328230号公報JP-A-2005-328230

本発明の解決しようとする課題は、上記従来技術のセンサネットワークシステムのゲートウェイはセンサノードからの計測データの収集を行うが、データの保持および異常判断することなく、イベントとして計測データを上位計算機へ伝送する点、かつ単一のゲートウェイで構成されるためゲートウェイの停止でシステム停止となる点にある。   The problem to be solved by the present invention is that the gateway of the above-described prior art sensor network system collects the measurement data from the sensor node, but does not hold the data and judges the abnormality, and sends the measurement data as an event to the host computer. The point of transmission is that the system is stopped when the gateway stops because it is composed of a single gateway.

本発明は、ゲートウェイでセンサノードの計測データの保持、および周期的な更新により、上位計算機の簡素化や高信頼化したセンサネットワークシステムを提供することにある。
と異常判断を行うことにより、上位計算機の簡素化を図るとともに、複数台のゲートウェイを構成可能とする高信頼化したセンサネットワークシステムを提供することにある。
An object of the present invention is to provide a sensor network system in which a host computer is simplified and highly reliable by holding measurement data of a sensor node and periodically updating the gateway at a gateway.
It is to provide a highly reliable sensor network system capable of simplifying the host computer and configuring a plurality of gateways.

本発明は、複数のセンサノードと、複数のセンサノードが計測する計測データを直接または中継器を介して受信するゲートウェイを有するセンサネットワーク用ゲートウェイにおいて、前記ゲートウェイは、計測時刻情報が含まれる前記計測データを周期的に更新保存するテーブル部を有することを特徴とする。   The present invention relates to a sensor network gateway having a plurality of sensor nodes and a gateway that receives measurement data measured by the plurality of sensor nodes directly or via a relay, wherein the gateway includes the measurement time information. It has a table part which updates and saves data periodically.

本発明によれば、センサネットワーク用ゲートウェイ及びセンサネットワークシステムはセンサノードからの計測データをゲートウェイで処理できる。   According to the present invention, the sensor network gateway and the sensor network system can process measurement data from the sensor node by the gateway.

このため、上位計算機はセンサネットワークシステムのゲートウェイ、中継器、センサノードの各ノード間の伝送手順を意識することなく、ゲートウェイに対するデータ収集などのコマンドの発行と、そのレスポンス受信で処理できるため、上位計算機の負担が軽減され、簡易な上位計算機でデータ収集とノードの異常判定ができる。   For this reason, the host computer can process by issuing commands such as data collection to the gateway and receiving the response without being aware of the transmission procedure between the gateway, repeater, and sensor node of the sensor network system. The burden on the computer is reduced, and it is possible to collect data and determine node abnormalities with a simple host computer.

本発明は、ゲートウェイにセンサノードが計測した計測データを周期的に更新しながら保存するテーブル部と、計測データの更新が周期的に行われらか判定する周期判定部を設け、さらにゲートウェイの上位になる上位計算機にID設定部と診断部と切替部を設けることにより実現した。   The present invention is provided with a table unit for storing measurement data measured by sensor nodes while periodically updating the gateway, a period determination unit for determining whether measurement data is periodically updated, This is realized by providing an ID setting unit, a diagnosis unit, and a switching unit in the upper computer.

以下、図面を用いて、本発明の一実施例について説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1において、複数からなるセンサノード2a,2b,2c,2dは電池で動作し、予め設定した計測周期毎に電池による電源で計測作動が駆動される。電池の電力消耗を抑えるため計測作動は、出来だけ短いのが望ましい。通常、電池の寿命は1年程度を目処にしている。   In FIG. 1, a plurality of sensor nodes 2a, 2b, 2c, and 2d are operated by a battery, and a measurement operation is driven by a power source by the battery every preset measurement cycle. The measurement operation should be as short as possible to reduce battery power consumption. Usually, the battery life is about 1 year.

センサノードは温度、湿度センサを内蔵し、計測周期毎に温度、湿度を計測し、計測データ(温度、湿度)とステータス(電池残量、電波強度(RSSI)、通信品質(LQI)、自己診断情報)を集合してセンサノードデータとし、一つのデータパケットにして、無線(ZigBee)を用い伝送する。   The sensor node has a built-in temperature and humidity sensor, measures temperature and humidity at each measurement cycle, and measures data (temperature, humidity) and status (remaining battery level, radio wave intensity (RSSI), communication quality (LQI), self-diagnosis) Information) is gathered to form sensor node data, which is transmitted as a single data packet using radio (ZigBee).

中継器3a,3bはゲートウェイとセンサノードの間に設置し、センサノード2a,2b,2c,2dからの計測周期毎に伝送されたデータパケットをゲートウェイ1へ中継伝送する。   The repeaters 3a and 3b are installed between the gateway and the sensor node, and relay and transmit data packets transmitted from the sensor nodes 2a, 2b, 2c, and 2d to the gateway 1 at every measurement cycle.

中継器は通常センサノードとゲートウェイ1の間に距離があり、電波が微弱で直接センサノードとゲートウェイが交信できない場合に設置する。ゲートウェイ1は中継器3a,3bまたはセンサノード2a,2b,2c,2dから無線伝送されるデータパケットをZigBee IF7で受信する。   A repeater is usually installed when there is a distance between the sensor node and the gateway 1 and the radio wave is weak and the sensor node and the gateway cannot communicate directly. The gateway 1 receives data packets wirelessly transmitted from the repeaters 3a, 3b or the sensor nodes 2a, 2b, 2c, 2d by the ZigBee IF7.

ゲートウェイ1は、ZigBee・IF7で取り込んだデータパケットをテーブル部5へ格納する。テーブル部5は各ノード毎のID(MACアドレスまたはNWKアドレス)毎に分け、受信したデータパケットから、センサノードデータである計測データ(温度、湿度)とステータスのデータを取り出し、該当するIDへ格納する。   The gateway 1 stores the data packet captured by the ZigBee • IF 7 in the table unit 5. The table unit 5 is divided into IDs (MAC address or NWK address) for each node, extracts measurement data (temperature, humidity) and status data as sensor node data from the received data packet, and stores them in the corresponding ID. To do.

テーブル部5に格納されるセンサノードデータはセンサノードからの計測周期毎のデータパケットが来るたびに更新を行う。このため、過去のデータパケットのセンサノードデータがそのままでは消失し、過去のデータを参照可能とするため、周期的にテーブル部5のデータをデータ保持部6に格納保存する手段を設ける。   The sensor node data stored in the table unit 5 is updated each time a data packet from the sensor node is received for each measurement cycle. For this reason, the sensor node data of the past data packet is lost as it is, and the means for periodically storing the data of the table unit 5 in the data holding unit 6 is provided so that the past data can be referred to.

PC、サーバまたはコントローラで構成する上位計算機4と、ゲートウェイ1はETHERNET(登録商標)などのLANを使用して接続する。各センサノードのセンサノードデータを収集するため、上位計算機4にセンサネットデータ処理部10を設ける。センサネットデータ処理部10はLAN・IF9を介して、センサノードの計測周期とは独立して、上位計算機4の更新周期で周期的にゲートウェイ1へポーリングを行い、データ収集コマンドを発行する。   The host computer 4 composed of a PC, a server, or a controller and the gateway 1 are connected using a LAN such as ETHERNET (registered trademark). In order to collect sensor node data of each sensor node, a sensor network data processing unit 10 is provided in the host computer 4. The sensor network data processing unit 10 periodically polls the gateway 1 at the update cycle of the host computer 4 and issues a data collection command via the LAN / IF 9 independently of the measurement cycle of the sensor node.

ゲートウェイ1はLAN・IF8介してデータ収集コマンドを受け、先にテーブル部5に格納した各センサノードデータ(計測データ、ステータス)を取り出し、レスポンスとしてLAN・IF8を介して上位計算機へ返信する。上位計算機4は返信されたセンサノードデータを一旦内部ファイルへ格納する。   The gateway 1 receives a data collection command via the LAN / IF 8, retrieves each sensor node data (measurement data, status) previously stored in the table unit 5, and returns it as a response to the host computer via the LAN / IF 8. The host computer 4 temporarily stores the returned sensor node data in an internal file.

上位計算機4はGUIの機能としてファイルに格納された各センサノードデータを取り出し、温度、湿度のトレンドの表示、温度、湿度が規定値を超えた場合にアラーム出力、通信状況の表示を行い、上位計算機を使用するオペレータに知らせる。   The host computer 4 retrieves each sensor node data stored in the file as a GUI function, displays the trend of temperature and humidity, displays the alarm output and communication status when the temperature and humidity exceed the specified values, Inform the operator using the calculator.

図2は各ノードと上位計算機の構成を示す。   FIG. 2 shows the configuration of each node and the host computer.

センサノード2aはセンサ部15で温度、湿度を計測する。温度センサはサーミスタ、半導体の順電圧降下の温度依存性を利用したもの、熱電対、測温抵抗体などがある。湿度センサは静電容量変化やインピーダンス変化で捉えるものがある。いずれも温度、湿度の変化を電気信号に変化し、出力する。   The sensor node 2a measures temperature and humidity by the sensor unit 15. Temperature sensors include thermistors, sensors that utilize the temperature dependence of the forward voltage drop of semiconductors, thermocouples, and resistance temperature detectors. Some humidity sensors capture changes in capacitance and impedance. In both cases, changes in temperature and humidity are converted into electrical signals and output.

センサデータ入力部16は温度、湿度データの電気信号を受け、センサ部の出力がアナログ信号で出力するものはAD変換を行い、温度、湿度のデジタル信号に変換する。センサ部でAD変換を行いシリアル通信信号で出力する場合、センサデータ入力部にシリアル通信部を設け、シリアル通信信号から温度、湿度のデジタル信号に変換する。   The sensor data input unit 16 receives electrical signals of temperature and humidity data, and those that output analog signals from the sensor unit perform AD conversion to convert them into digital signals of temperature and humidity. When AD conversion is performed by the sensor unit and a serial communication signal is output, a serial communication unit is provided in the sensor data input unit to convert the serial communication signal into a digital signal of temperature and humidity.

センサデータ伝送IF部17は温度、湿度のデジタル信号から計測データ(温度、湿度)とRTC19から現在の時刻を読込み計測時刻を作成する。またセンサデータ伝送IF部17は電池駆動部19から出力される電池残量信号とZigBee・IF21から出力される電波強度、通信品質のデータとセンサ部の断線、短絡などの自己診断情報からステータスを作成する。   The sensor data transmission IF unit 17 reads the measurement data (temperature, humidity) from the digital signals of temperature and humidity, and reads the current time from the RTC 19 to create a measurement time. Further, the sensor data transmission IF unit 17 obtains the status from the battery remaining signal output from the battery driving unit 19 and the radio wave intensity output from the ZigBee / IF 21, communication quality data, and self-diagnosis information such as disconnection and short circuit of the sensor unit. create.

センサデータ伝送IF部17は計測時刻、計測データ(温度、湿度)とステータスを集合してセンサノードデータとし、データパケットを作成して出力する。ZigBee・IF21はセンサデータ伝送IF部17で作成したデータパケットを送り先アドレス(AddressID)をゲートウェイまたは中継器として無線出力し、データパケットを受信したことを示すACKの受信を待つ。   The sensor data transmission IF unit 17 collects the measurement time, measurement data (temperature, humidity) and status as sensor node data, and creates and outputs a data packet. The ZigBee IF 21 wirelessly outputs the data packet created by the sensor data transmission IF unit 17 using the destination address (AddressID) as a gateway or a repeater, and waits for reception of an ACK indicating that the data packet has been received.

ZigBee・IF21はACKの受信でデータパケットの伝送を終了する。ACKが来ない場合はタイムアウトとなり、ZigBee・IF21はデータパケットの再送を行う。   The ZigBee IF 21 ends the transmission of the data packet upon receipt of the ACK. If no ACK is received, a timeout occurs and the ZigBee IF 21 retransmits the data packet.

センサノードは上記以外に長期間に亘り、電池動作を可能とするため、電池の消費を減らすため、上記計測時の動作以外はセンサ部15、センサデータ入力部16、センサデータ伝送IF部17、ZigBee・IF21を動作停止とし、消費電流を低減させ、間歇的に動作を行う。   In addition to the above, the sensor node enables battery operation for a long period of time, and in order to reduce battery consumption, the sensor unit 15, sensor data input unit 16, sensor data transmission IF unit 17, The ZigBee · IF 21 is stopped, the current consumption is reduced, and the operation is performed intermittently.

電池駆動部19は電池から電気を受け、センサノードの各部に電気を供給するとともに、電池電圧を基準電圧と比較し、例えば3V電池の場合は基準電圧2.8Vと比較し、これより電池電圧が高い場合は電池残量十分、降下した場合は電池残量小とする電池残量信号を出力する。   The battery drive unit 19 receives electricity from the battery, supplies electricity to each part of the sensor node, compares the battery voltage with a reference voltage, for example, a 3V battery, and compares it with a reference voltage of 2.8 V. When the battery level is high, a battery level signal is output indicating that the remaining battery level is sufficient, and when the battery level is low, a low battery level signal is output.

駆動制御部18は計時動作を行うRTC20から出力される時刻と前回動作した時刻の減算を行い、これが予め設定した計測周期(hh:mm:ss)より以上となった場合、センサ部15、センサデータ入力部16、センサデータ伝送IF部17、ZigBee・IF21を起動し、ZigBee・IF21のデータパケットを送信し、ACKの受信で停止を行う。センサノード2b、2c、2dも同様に構成する。   The drive control unit 18 subtracts the time output from the RTC 20 that performs the time measurement operation and the time of the previous operation, and when this exceeds a preset measurement cycle (hh: mm: ss), the sensor unit 15 and the sensor The data input unit 16, the sensor data transmission IF unit 17, and the ZigBee / IF 21 are activated, the ZigBee / IF 21 data packet is transmitted, and the reception is stopped when an ACK is received. The sensor nodes 2b, 2c, and 2d are configured similarly.

中継器3aはZigBee・IF23でセンサノードからのデータパケットを受信し、データパケットを受信したことを示す返信のACKを無線でセンサノードへ返送する。ZigBee・IF23はデータパケットをセンサデータ中継伝送部22へ出力する。センサデータ中継伝送部22はデータパケットの送り先アドレス(AddressID)をゲートウェイにしてデータパケットを作成し、ZigBee・IF23へ出力する。   The repeater 3a receives the data packet from the sensor node by the ZigBee IF 23, and wirelessly returns a reply ACK indicating that the data packet has been received to the sensor node. The ZigBee IF 23 outputs the data packet to the sensor data relay transmission unit 22. The sensor data relay transmission unit 22 creates a data packet using the destination address (AddressID) of the data packet as a gateway and outputs the data packet to the ZigBee / IF 23.

ZigBee・IF23はデータパケットを無線出力する。中継器3aは中継器自身のZigBee・IF23から出力される電波強度、通信品質のデータと自己診断情報をステータスとし、RTC24から現在の時刻を読込み計測時刻として中継器データのデータパケットを作成し、ZigBee・IF23で送信する。中継器3bも同様に構成する。   The ZigBee IF 23 wirelessly outputs a data packet. The repeater 3a uses the radio field intensity, communication quality data and self-diagnosis information output from the ZigBee IF 23 of the repeater as a status, reads the current time from the RTC 24, creates a data packet of repeater data as a measurement time, It is transmitted by ZigBee · IF23. The repeater 3b is configured similarly.

ゲートウェイ1はZigBee・IF7で中継器または直接センサノードからデータパケットを受信し、データパケットを受信したことを示す返信のACKを無線で中継器またはセンサノードへ返送する。ZigBee・IF7は受信したデータパケットを出力する。   The gateway 1 receives the data packet from the repeater or the sensor node directly by the ZigBee IF7, and returns a reply ACK indicating that the data packet has been received to the repeater or the sensor node by radio. The ZigBee IF 7 outputs the received data packet.

テーブル部5はデータパケットを受けてセンサノードデータを取り出し、データパケットに含まれる発信元アドレス(Source・Address)をノードのIDとして、テーブル部内の該当するノードIDへ計測時刻、計測データ(温度、湿度)とステータスを格納する。   The table unit 5 receives the data packet, extracts the sensor node data, uses the source address (Source Address) included in the data packet as the node ID, and sends the measurement time, measurement data (temperature, Humidity) and status.

テーブル部5は一定周期のテーブル保存周期毎にテーブルデータを出力する。データ保持部6は出力されたテーブルデータをバッファに格納する。バッファはゲートウェイのデータ保持容量により決まるn個分のテーブルデータを保持し、これを超える場合は一番古い時刻のテーブルデータを破棄する。   The table unit 5 outputs table data for each table storage cycle having a fixed cycle. The data holding unit 6 stores the output table data in a buffer. The buffer holds n pieces of table data determined by the data holding capacity of the gateway, and when it exceeds this, the table data at the oldest time is discarded.

周期判定部11はノードID毎にテーブル部に格納された計測時刻と計測周期を読出し、計時動作を行うRTC12から出力される時刻を比較し、RTC出力時刻>「計測時刻 + n X 計測周期」(nは2以上で設定する)の判定をする。   The cycle determination unit 11 reads the measurement time stored in the table unit and the measurement cycle for each node ID, compares the time output from the RTC 12 that performs the time measurement operation, and RTC output time> “measurement time + n X measurement cycle”. (N is set to 2 or more).

「計測時刻 + n X 計測周期」がRTC出力時刻を超えた場合、センサノードのセンサデータが更新されないと判定し、センサノードの異常(ERROR)とし、テーブルの各ノードID毎に設けた正常/異常ステータスを異常と出力する。   When “measurement time + n X measurement cycle” exceeds the RTC output time, it is determined that the sensor data of the sensor node is not updated, and an abnormality (ERROR) of the sensor node is detected. The abnormal status is output as abnormal.

RTC出力時刻が超えていない場合は正常/異常ステータスを正常(NORMAL)と出力する。これにより、センサノードの正常/異常が判定される。   When the RTC output time has not exceeded, the normal / abnormal status is output as normal (NORMAL). Thereby, normality / abnormality of the sensor node is determined.

上位計算機4のセンサネットデータ処理部10のセンサデータ収集警報チェック部26は各ノードデータを収集するため、LAN・IF9を介して、収集するノードIDを含むデータ収集コマンドを発行する。ゲートウェイ1はLAN・IF8を介してデータ収集コマンドを受ける。   The sensor data collection alarm check unit 26 of the sensor network data processing unit 10 of the host computer 4 issues a data collection command including a node ID to be collected via the LAN / IF 9 in order to collect each node data. The gateway 1 receives a data collection command via the LAN / IF 8.

LAN・IF8はコマンド処理部14に上位計算機からのデータ収集コマンドを出力する。コマンド処理部14は上位計算機のコマンドの種類を判定し、テーブル部5より該当するノードIDの計測時刻、計測データ(温度、湿度)とステータスを読み出し、LANIF8を介して上位計算機へ返信する。   The LAN / IF 8 outputs a data collection command from the host computer to the command processing unit 14. The command processing unit 14 determines the command type of the host computer, reads the measurement time, measurement data (temperature, humidity) and status of the corresponding node ID from the table unit 5 and returns them to the host computer via the LANIF 8.

センサデータ収集警報チェック部26は返信されたセンサノードデータをLAN・IF9を介し受け取り、温湿度記録ファイル27へ格納する。上位計算機4は温湿度記録ファイル27に格納された各センサノードデータを取り出し、温度、湿度のトレンドの表示を行い、正常/異常ステータスが異常の場合、センサノードの故障のアラーム表示を行う。   The sensor data collection alarm check unit 26 receives the returned sensor node data via the LAN / IF 9 and stores it in the temperature / humidity recording file 27. The host computer 4 takes out each sensor node data stored in the temperature / humidity record file 27 and displays a trend of temperature and humidity. When the normal / abnormal status is abnormal, it displays an alarm of failure of the sensor node.

上位計算機4はノードの接続情報を予め登録し、データ収集を行うため、ID設定部28を設ける。ID設定部28は、上位計算機にGUI30(トレンドグラフ、アラーム)、GUI31を設けているGW/ルータ/センサノードのID新規、追加、削除と計測周期設定からシステムとして構成を行う各ノードの種別とノードIDとセンサノードの計測周期を入力し、ノード登録IDファイル29に格納する。   The host computer 4 is provided with an ID setting unit 28 for registering node connection information in advance and collecting data. The ID setting unit 28 sets the type of each node configured as a system from the ID new, addition, deletion, and measurement cycle setting of the GW / router / sensor node provided with the GUI 30 (trend graph, alarm) and GUI 31 in the host computer. The node ID and sensor node measurement period are input and stored in the node registration ID file 29.

センサデータ収集警報チェック部26はデータを収集するノードIDをID設定部28を介して、ノード登録IDファイル29から読み出す。ID設定部28はノード登録IDファイル29をLAN・IF9を介して、ノード登録IDファイルを含むノード登録コマンドを発行する。ゲートウェイ1はLAN・IF8を介してノード登録コマンドを受ける。   The sensor data collection alarm check unit 26 reads the node ID for collecting data from the node registration ID file 29 via the ID setting unit 28. The ID setting unit 28 issues a node registration ID file 29 including a node registration ID file via the LAN / IF 9. The gateway 1 receives a node registration command via the LAN / IF 8.

LAN・IF8はコマンド処理部14に上位計算機からのノード登録コマンドを出力する。コマンド処理部14は上位計算機のコマンドの種類を判定し、テーブル部5へ、ノード種別とノードIDと計測周期を書き込む。これにより、ゲートウェイの電源ON後の初期化時におけるテーブル部5の各ノードのIDを指定可能とする。また、テーブル部5に書き込まれた計測周期はZigBee・IF7を介して、無線で出力する。   The LAN / IF 8 outputs a node registration command from the host computer to the command processing unit 14. The command processing unit 14 determines the command type of the host computer, and writes the node type, node ID, and measurement cycle in the table unit 5. This makes it possible to specify the ID of each node in the table unit 5 at the time of initialization after powering on the gateway. The measurement cycle written in the table unit 5 is output wirelessly via the ZigBee · IF 7.

センサノードは中継器を介してまたは直接ゲートウェイからZigBee・IF21で受ける。ZigBee・IF21は計測周期を駆動制御部18へ出力する。駆動制御部18は計測周期を保存する。   The sensor node receives the ZigBee • IF 21 via a repeater or directly from the gateway. The ZigBee IF 21 outputs the measurement cycle to the drive control unit 18. The drive control unit 18 stores the measurement cycle.

これにより、センサノードの上位からの計測周期を設定可能とする。また、ID設定部28はRTC25より出力される時刻をLAN・IF9を介して、RTC時刻を含む時刻登録コマンドを発行する。   As a result, the measurement cycle from the upper level of the sensor node can be set. The ID setting unit 28 issues a time registration command including the RTC time to the time output from the RTC 25 via the LAN / IF 9.

ゲートウェイ1はLAN・IF8を介して時刻登録コマンドを受ける。LAN・IF8はコマンド処理部14に上位計算機からの時刻登録コマンドを出力する。コマンド処理部14は上位計算機のコマンドの種類を判定し、RTC12へ時刻を設定する。   The gateway 1 receives a time registration command via the LAN / IF 8. The LAN / IF 8 outputs a time registration command from the host computer to the command processing unit 14. The command processing unit 14 determines the command type of the host computer and sets the time in the RTC 12.

また、ゲートウェイ1はZigBee・IF7を介して、時刻データを無線で出力する。中継器またはセンサノードはZigBee・IF23またはZigBee・IF21を介して受けてRTC24またはRTC20へ時刻データを設定する。これにより、センサノードの初期起動が行なわれるともにシステムで統一した時刻をもつことを可能とする。   Further, the gateway 1 outputs time data wirelessly via the ZigBee / IF 7. The repeater or the sensor node receives the data via the ZigBee • IF 23 or the ZigBee • IF 21 and sets the time data to the RTC 24 or the RTC 20. As a result, the sensor node is initially activated and can have a unified time in the system.

図3は無線のデータパケットとテーブル部5の関係図を示す。   FIG. 3 shows the relationship between the wireless data packet and the table unit 5.

無線のデータパケットは制御フィールドとデータフィールドで構成される。制御フィールドは同期をとるためのPreamblesとパケットの開始を示すSD(Start
of Frame Delimiter)と以下のパケット長を示すFrame Lengthとパケットの種類を示すFrame Controlとパケットの番号を示すSequence Noと送り先アドレスを示すAddress IDとパケットの末尾に付けてFrame Controlからデータフィールドまでのビット誤りチェックを行うためのFCS(frame check sequence)からなる。
A wireless data packet is composed of a control field and a data field. The control field includes preambles for synchronization and SD (Start) indicating the start of the packet.
of Frame Delimiter), Frame Length indicating the following packet length, Frame Control indicating the packet type, Sequence No indicating the packet number, Address ID indicating the destination address, and Frame Control to the data field from the end of the packet. It consists of FCS (frame check sequence) for bit error check.

データフィールドはデータフィールドの以下の長さを示すData Lengthと最終の受け取り手のアドレスを示すTarget Addressとデータパケットの送信元のアドレスを示すSource Addressとデータパケットの種別を示すData Typeと送信元の種別を示すノード種別とセンサデータである計測時刻と計測データ 温度と計測データ 湿度と電池残量と電波強度_通信品質と計測周期と自己診断情報のデータ群とノード種別から自己診断情報までのチェックを行うため、バイト加算または排他的論理和の演算結果のデータを示すSum_checkで構成する。   The data field includes a data length indicating the following length of the data field, a target address indicating the address of the last receiver, a source address indicating the address of the data packet source, a data type indicating the type of the data packet, and the source address Node type indicating sensor type, measurement time and measurement data as sensor data Temperature, measurement data Humidity, remaining battery level, radio wave intensity_communication quality, measurement cycle, data group of self-diagnosis information, check from node type to self-diagnosis information Therefore, Sum_check indicating data of the operation result of byte addition or exclusive OR is formed.

上位計算機のID設定部よりLAN・IFを介してノード登録IDファイル29のノードIDとノード種別と計測周期がテーブル部5に書き込まれる。(1)で無線データパケットの受信でデータパケットのSource Addressと一致するテーブル部5のノードIDを検索する。(2)で一致したノードIDの項番のノード種別と計測周期を確認する。(3)で(2)で一致した項番にデータフィールドの計測時刻から自己診断情報までを書き込む。以下同様に無線データパケットが来る度に処理を実行する。   The node ID, node type, and measurement cycle of the node registration ID file 29 are written in the table unit 5 from the ID setting unit of the host computer via the LAN / IF. In (1), the node ID of the table unit 5 that matches the source address of the data packet is retrieved upon reception of the wireless data packet. The node type and the measurement cycle of the item number of the node ID matched in (2) are confirmed. In (3), the data field measurement time to the self-diagnosis information are written in the item numbers matched in (2). Similarly, the process is executed every time a wireless data packet arrives.

周期判定部11はノードID毎にテーブル部に格納された計測時刻と計測周期を読出し、計時動作を行うRTC12から出力される時刻を比較し、計測時刻の更新チェックを実行する。更新されない場合は正常/異常ステータスを異常(ERROR)に設定する。   The cycle determination unit 11 reads the measurement time stored in the table unit for each node ID and the measurement cycle, compares the time output from the RTC 12 that performs the time measurement operation, and executes an update check of the measurement time. If not updated, the normal / abnormal status is set to abnormal (ERROR).

図4は伝送手順(フロー)を示す。   FIG. 4 shows a transmission procedure (flow).

上位計算機は(1)の起動でイニシャルを実行する。(2)でイニシャル終了後、LANを介して、GWリセットを発行する。ゲートウェイ(以下、図中GWとする)は(1)の電源ONまたは上位計算機からのGWリセットでイニシャルを実行する。中継器は(1)の電源ONでイニシャルを実行する。   The host computer executes the initial by starting (1). After completion of the initial in (2), a GW reset is issued via the LAN. The gateway (hereinafter referred to as GW in the figure) executes the initial by turning on the power of (1) or resetting the GW from the host computer. The repeater executes initial when the power is turned on in (1).

センサノードは(1)の電源ONでイニシャルを実行する。GWは(1)のイニシャル時にテーブル部のクリアを行い、正常/異常ステータスをクリア(Null)とする。GWは(2)でイニシャル終了後、ZigBee・IFで保持しているPAN(Personal Area Netowk)をリセットを行うため、デストロイPANを実行する。   The sensor node executes initialization when the power is turned on in (1). The GW clears the table portion at the initial of (1) and clears the normal / abnormal status (Null). The GW executes the destroy PAN in order to reset the PAN (Personal Area Network) held in the ZigBee • IF after the initial end in (2).

GWは(3)のPAN構築でZigBee・IFで保持するPANを再構築する。PAN構築はGWから中継器またはセンサノードに無線でネットワーク加入コマンドを発行し、これを受けた中継器またはセンサノードは加入応答を返す。GWから無線で直接伝送できないセンサノードは中継器で中継伝送を行う。   The GW reconstructs the PAN held by the ZigBee • IF in the PAN construction of (3). In the PAN construction, a network join command is wirelessly issued from the GW to the repeater or the sensor node, and the repeater or sensor node receiving the reply returns a join response. A sensor node that cannot directly transmit wirelessly from the GW performs relay transmission using a repeater.

GWは中継器またはセンサノードの加入応答から、どの中継器とセンサノードが接続しているかをZigBee・IFで保持し、PANを構築する。GWはGW自身およびこの加入応答のあった中継器またはセンサノードの正常/異常ステータスをINITに設定する。   The GW holds which ZigBee · IF is connected to which repeater and sensor node from the join response of the repeater or sensor node, and constructs a PAN. The GW sets the normal / abnormal status of the GW itself and the repeater or sensor node that has made the join response to INIT.

これにより、上位計算機のノード登録IDファイルの内容とPAN応答で繋がる中継器またはセンサノードとの差異を確認する。また、センサノードが無線で接続可能となったが、まだ計測を開始していないことを判別可能とする。上位計算機は(3)でGWステータス確認をLANを介して行う。   Thereby, the difference between the contents of the node registration ID file of the host computer and the repeater or sensor node connected by the PAN response is confirmed. It is also possible to determine that the sensor node can be connected wirelessly but has not yet started measurement. The host computer confirms the GW status in (3) via the LAN.

GWはテーブル部よりGWの正常/異常ステータスをリードしINITを返す。上位計算機はGWのステータスがINITで以下の(4)、(5)、(6)を実行する。(4)でID設定部からノード登録ファイルを読込みGWへ設定する。GWはノード登録ファイルのデータをテーブル部へ設定する。上位計算機は(5)でRTCより時刻を読出し、GW、中継器、センサノードへ設定する。   The GW reads the normal / abnormal status of the GW from the table section and returns INIT. The host computer executes the following (4), (5), and (6) when the GW status is INIT. In (4), the node registration file is read from the ID setting unit and set in the GW. The GW sets the data of the node registration file in the table part. The host computer reads the time from the RTC in (5) and sets it to the GW, repeater, and sensor node.

GWはRTCへ時刻を設定するとともに中継器、センサノードへ時刻設定を行う。中継器はRTCへ時刻設定するとともに中継伝送でセンサノードへ時刻設定の中継伝送を行う。センサノードはRTCへ時刻設定する。GWはGW自身と中継器の正常/異常ステータスをNORMAL(正常)に設定する。   The GW sets the time to the RTC and sets the time to the repeater and the sensor node. The repeater sets the time to the RTC and relays the time to the sensor node by relay transmission. The sensor node sets the time to the RTC. The GW sets the normal / abnormal status of the GW itself and the repeater to NORMAL (normal).

上位計算機は(6)で(4)で読込んだノード登録IDファイルの計測周期を個々のセンサノードへ設定する。GWは(5)でセンサノードへ計測周期の設定を行う。中継器を経由するセンサノードは中継器で中継伝送を行いセンサノードへ伝送する。センサノードは(4)で駆動制御部に計測周期を設定する。   The host computer sets the measurement cycle of the node registration ID file read in (4) in (6) to each sensor node. The GW sets the measurement cycle to the sensor node in (5). The sensor node that passes through the repeater performs relay transmission with the repeater and transmits it to the sensor node. The sensor node sets a measurement cycle in the drive control unit in (4).

センサノードはRTCの時刻設定と計測周期の設定を受けてセンサデータの収集を開始する。以上で上位計算機からのGW、中継器、センサノードへのイニシャルからの起動を終了する。   The sensor node starts collecting sensor data in response to the RTC time setting and measurement cycle setting. The start from the initial to the GW, the repeater, and the sensor node from the host computer is thus completed.

センサノードは計測周期毎に(6)でセンサのデータを取り込みを行う。(7)でセンサデータをゲートウェイへ伝送する。中継器がある場合は中継器で中継伝送を行い、ゲートウェイへ伝送する。GWは(6)でセンサデータから、該当するIDのテーブルデータを更新する。   The sensor node takes in the sensor data at (6) every measurement cycle. In (7), the sensor data is transmitted to the gateway. If there is a repeater, repeat the relay transmission with the repeater and transmit to the gateway. The GW updates the table data of the corresponding ID from the sensor data in (6).

また、更新したIDのセンサノードの正常/異常ステータスをNORMAL(正常)とする。GWは(7)で周期判定を行う。周期判定部でセンサノードの計測時刻とRTCの比較を行い、RTC出力時刻>(計測時刻 + n × 計測周期)でセンサノードの正常/異常ステータスをERROR(異常)に設定する。   In addition, the normal / abnormal status of the sensor node with the updated ID is set to NORMAL (normal). The GW makes a period determination in (7). The cycle determination unit compares the measurement time of the sensor node with the RTC, and sets the normal / abnormal status of the sensor node to ERROR (abnormal) when RTC output time> (measurement time + n × measurement cycle).

GWは(8)で予め定めたテーブル保存周期毎にテーブルデータをデータ保持部に保存する。GWは(9)で追加加入ノードの検索を周期的に実行する。ネットワーク加入コマンドを発行し、中継器またはセンサノードが新たな追加がないかを確認する。センサノードが追加となる場合は追加センサノードが加入応答を返し、中継器が追加となる場合は中継器が加入応答を返す。   The GW stores the table data in the data holding unit at every table storage cycle predetermined in (8). The GW periodically executes the search for additional joining nodes in (9). A network join command is issued, and the repeater or sensor node checks whether there is a new addition. When a sensor node is added, the additional sensor node returns a join response. When a repeater is added, the repeater returns a join response.

GWはセンサノードが追加となる場合はGW内のRTC時刻とテーブルの計測周期を読み出し、引き続き(4)と(5)を実行し、センサノードをセンサデータ収集開始とする。中継器が追加の場合はGW内のRTC時刻を読出し、引き続き(4)を行い、中継器の正常/異常ステータスをNORMAL(正常)とする。   When a sensor node is added, the GW reads the RTC time in the GW and the measurement cycle of the table, continues to execute (4) and (5), and starts sensor data collection for the sensor node. When the repeater is added, the RTC time in the GW is read, and then (4) is performed, and the normal / abnormal status of the repeater is set to NORMAL (normal).

これにより、GWでのノードの追加を可能とする。GWは(6)〜(9)を周期的に実行する。   Thereby, it is possible to add a node in the GW. The GW periodically executes (6) to (9).

上位計算機はGWのテーブルに格納されたセンサデータを以下の手順で読出し、処理を行う。(7)でGWのステータスを確認する。GWはテーブルのGWの正常/異常ステータスを返す。   The host computer reads the sensor data stored in the GW table according to the following procedure and performs processing. (7) Check the GW status. The GW returns the normal / abnormal status of the GW in the table.

上位計算機はステータスがNORMALの時は(8)を行い、INIT時は(4)、(5)、(6)を実行する。(8)でGWのテーブルのセンサデータをリードする。GWは指定されたIDのテーブルのセンサデータを返信する。(9)でGW、中継器、センサノードの正常/異常ステータスがERROR(異常)でないかチェックし、異常の場合はアラームを出力する。(10)でセンサノードのセンサデータを温湿度記録ファイルへデータを保存する。(11)で温湿度のデータから、トレンド/グラフなどの表示を行う。   The host computer executes (8) when the status is NORMAL, and executes (4), (5), and (6) when it is INIT. The sensor data of the GW table is read in (8). The GW returns the sensor data of the specified ID table. In (9), it is checked whether the normal / abnormal status of the GW, repeater, or sensor node is ERROR (abnormal). If abnormal, an alarm is output. In (10), the sensor node sensor data is stored in a temperature and humidity recording file. In (11), a trend / graph is displayed from the temperature / humidity data.

上位計算機は(7)〜(11)を繰り返す。上位計算機が過去のテーブルデータを参照する場合は(12)でGWからデータ保持部に保存されているテーブルデータを読み出す。GWはデータ保持部よりテーブルデータを読出し、返信する。読出したデータは温湿度記録ファイルへ保存する。   The host computer repeats (7) to (11). When the host computer refers to past table data, the table data stored in the data holding unit is read from the GW in (12). The GW reads the table data from the data holding unit and returns it. The read data is saved in a temperature / humidity record file.

図5はゲートウェイをマスタとスレーブの2台とし、二重化した時の構成を示す。   FIG. 5 shows a configuration in which two gateways, a master and a slave, are used.

ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bは図2で示したゲートウェイ1と同様に構成する。また、ゲートウェイはZigBee・IF7a(マスタ)、ZigBee・IF7b(スレーブ)、周期判定部11a(マスタ)、周期判定部11b(スレーブ)、RTC12a(マスタ)、RTC12b(スレーブ)を有する。   The gateway (master) 1a and the gateway (slave) 1b are configured similarly to the gateway 1 shown in FIG. The gateway includes a ZigBee · IF 7a (master), a ZigBee · IF 7b (slave), a cycle determination unit 11a (master), a cycle determination unit 11b (slave), an RTC 12a (master), and an RTC 12b (slave).

ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bは無線部のアドレスを識別するため、テーブル部5aと5bのGW(マスタ)とGW(スレーブ)のノードIDを変えて設定する。また、LANも同様にGW(マスタ)とGW(スレーブ)と識別するため、(マスタ)1aのLAN IF8aとゲートウェイ(スレーブ)1bのLAN IF8bのIPアドレスを変えて設定する。   The gateway (master) 1a and the gateway (slave) 1b are set by changing the node IDs of the GW (master) and GW (slave) in the table units 5a and 5b in order to identify the addresses of the radio units. Similarly, in order to distinguish the LAN from GW (master) and GW (slave), the LAN IF 8a of the (master) 1a and the IP address of the LAN IF 8b of the gateway (slave) 1b are set differently.

無線の伝送異常が発生した場合、図5において例えばセンサノード2aから中継器3aへ伝送中に再送を含め失敗した場合、センサノード2aは他の中継器3bにアドレスを切替える。これに成功した場合はセンサノード2aは送り先を中継器3aから中継器3bに切替えを実行する。   When a wireless transmission abnormality occurs, in FIG. 5, for example, when a failure including retransmission occurs during transmission from the sensor node 2a to the repeater 3a, the sensor node 2a switches the address to another repeater 3b. If this is successful, the sensor node 2a switches the destination from the repeater 3a to the repeater 3b.

中継器3aも同様にゲートウェイ(マスタ)1aへ伝送中に再送を含め失敗した場合、中継器3aは他のゲートウェイ(スレーブ)1bにアドレスを切替える。これに成功した場合は中継器3aは送り先をゲートウェイ(マスタ)1からゲートウェイ(スレーブ)1bに切替えを実行する。   Similarly, if the repeater 3a also fails during transmission to the gateway (master) 1a, including the retransmission, the repeater 3a switches the address to another gateway (slave) 1b. If this is successful, the repeater 3a switches the destination from the gateway (master) 1 to the gateway (slave) 1b.

これにより、中継器及びゲートウェイが1台故障しても別の中継器及びゲートウェイに切替えることにより、センサノードのセンサデータを伝送可能とする。   As a result, even if one repeater and gateway fail, the sensor data of the sensor node can be transmitted by switching to another repeater and gateway.

上位計算機は複数に設けたゲートウェイに対応するため、センサネットデータ処理部にLAN・IF9とセンサデータ収集警報チェック部26及びID設定部28間に切替部34と診断部32および接続IDファイル33を設ける。   Since the host computer corresponds to a plurality of gateways, a switching unit 34, a diagnosis unit 32, and a connection ID file 33 are provided between the LAN / IF 9 and the sensor data collection alarm check unit 26 and the ID setting unit 28 in the sensor network data processing unit. Provide.

診断部32はID設定部28からゲートウェイへ伝送するノード登録IDファイルを受け、ゲートウェイへLAN・IF9を介して伝送するとともに、接続IDファイル33のノード種類、ノードIDへ書き込み、ゲートウェイ、センサノード、中継器の接続情報を登録する。診断部32は周期的にゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bへ診断コマンドをLAN・IF9を介して伝送する。   The diagnosis unit 32 receives the node registration ID file transmitted from the ID setting unit 28 to the gateway, transmits the node registration ID file to the gateway via the LAN / IF 9, writes the node type and node ID of the connection ID file 33, the gateway, the sensor node, Register repeater connection information. The diagnosis unit 32 periodically transmits a diagnosis command to the gateway (master) 1 a and the gateway (slave) 1 b via the LAN / IF 9.

ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bはLAN・IF8aまたはLAN・IF8bを介してデータ収集コマンドを受ける。LAN・IF8aまたはLAN IF8bはコマンド処理部14aまたはコマンド処理部14bに上位計算機からの診断コマンドを出力する。   The gateway (master) 1a and the gateway (slave) 1b receive a data collection command via the LAN / IF 8a or the LAN / IF 8b. The LAN / IF 8a or the LAN IF 8b outputs a diagnostic command from the host computer to the command processing unit 14a or the command processing unit 14b.

コマンド処理部14aまたはコマンド処理部14bは上位計算機のコマンドの種類を判定し、テーブル部5aまたはテーブル部5bより診断データである全ノードの正常/異常ステータスを一括して読み出し、LAN・IF8aまたはLAN・IF8bを介して上位計算機へ返信する。   The command processing unit 14a or the command processing unit 14b determines the type of command of the host computer, and reads the normal / abnormal status of all nodes as diagnostic data from the table unit 5a or the table unit 5b at a time. -Reply to the host computer via IF8b.

上位計算機の診断部32はLAN・IF9を介して診断データを受ける。ゲートウェイ(マスタ)1aの診断データで正常(NORMAL)のものはGW(マスタ)を接続IDファイルの接続IDに書き込む。またゲートウェイ(スレーブ)1bの診断データで正常(NORMAL)のものはGW(スレーブ)を接続IDファイルの接続IDに書き込む。   The diagnosis unit 32 of the host computer receives diagnosis data via the LAN / IF 9. The normal (NORMAL) diagnostic data of the gateway (master) 1a writes the GW (master) to the connection ID of the connection ID file. In the normal (NORMAL) diagnostic data of the gateway (slave) 1b, GW (slave) is written in the connection ID of the connection ID file.

ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bとも正常(NORMAL)でない場合はゲートウェイ(マスタ)を優先し、GW(マスタ)を書き込む。   If neither the gateway (master) 1a nor the gateway (slave) 1b is normal (NORMAL), the gateway (master) is prioritized and the GW (master) is written.

図5に接続IDファイル構成を示す。   FIG. 5 shows the connection ID file structure.

(1)ゲートウェイ(マスタ)のみで動作していることを示し、(2)ゲートウェイ(スレーブ)はゲートウェイ(マスタ)が故障などにより、停止した場合にゲートウェイ(スレーブ)で動作していることを示し、(3)ゲートウェイ(マスタ/スレーブ)は各ノード間で無線状況が変わり、ゲートウェイ(マスタ/スレーブ)両方で動作していることを示す。   (1) Indicates that the gateway (master) is operating only, (2) Gateway (slave) indicates that the gateway (master) is operating on the gateway (slave) when the gateway (master) stops due to failure, etc. (3) The gateway (master / slave) has a wireless status that changes between the nodes, indicating that both gateways (master / slave) are operating.

これによりこの接続IDにより、各ノードがゲートウェイ(マスタ)1aまたはゲートウェイ(スレーブ)1bのどちらに接続しているのかを示し、接続しているゲートウェイからテーブルのセンサデータの読出しを行う。   Thus, the connection ID indicates whether each node is connected to the gateway (master) 1a or the gateway (slave) 1b, and the sensor data in the table is read from the connected gateway.

上位計算機のセンサデータ収集警報チェック部26は各ノードデータを収集するため、収集するノードIDを含むデータ収集コマンドを発行する。切替部34は診断部32を介して接続IDファイル33を読出し、接続IDファイル33の接続IDから、データ収集コマンドの発行先をゲートウェイ(マスタ)1aまたはゲートウェイ(スレーブ)1bへ切替える。これにより、ゲートウェイが故障や停止時に切替えて動作可能とする。   The sensor data collection alarm check unit 26 of the host computer issues a data collection command including the node ID to be collected in order to collect each node data. The switching unit 34 reads the connection ID file 33 via the diagnosis unit 32, and switches the issue destination of the data collection command from the connection ID of the connection ID file 33 to the gateway (master) 1a or the gateway (slave) 1b. As a result, the gateway can be switched to operate when it fails or stops.

図6はゲートウェイを二重化したときに、ゲートウェイ同士でテーブルのセンサデータの授受を可能とする構成を示す。   FIG. 6 shows a configuration in which the gateway sensor data can be exchanged between the gateways when the gateways are duplicated.

上位計算機4は図5と同様に構成する。テーブルのセンサデータの交換を可能とするため、ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bにデータ交換部35aとデータ交換部35bを設ける。   The host computer 4 is configured in the same manner as in FIG. In order to exchange the sensor data of the table, a data exchange unit 35a and a data exchange unit 35b are provided in the gateway (master) 1a and the gateway (slave) 1b.

ゲートウェイ(マスタ)1a又はゲートウェイ(スレーブ)1bは図2の構成で示したとおり、テーブル部5aまたはテーブル部5bのデータを一定周期のテーブル保存周期毎にデータ保持部6aまたはデータ保持部6bに格納する。   As shown in the configuration of FIG. 2, the gateway (master) 1a or the gateway (slave) 1b stores the data in the table unit 5a or the table unit 5b in the data holding unit 6a or the data holding unit 6b at every fixed table storage cycle. To do.

このときにデータ交換部35aまたはデータ交換部35bはテーブル部5aまたはテーブル部5bの保存するテーブルデータをデータ保持部6aまたはデータ保持部6bを介して読出し、ゲートウェイ(マスタ)1aはゲートウェイ(スレーブ)1bへ、ゲートウェイ(スレーブ)1bはゲートウェイ(マスタ)1aへLAN・IF8aまたはLAN・IF8bを介して伝送する。   At this time, the data exchange unit 35a or the data exchange unit 35b reads the table data stored in the table unit 5a or the table unit 5b via the data holding unit 6a or the data holding unit 6b, and the gateway (master) 1a is the gateway (slave). 1b, the gateway (slave) 1b transmits to the gateway (master) 1a via the LAN / IF 8a or the LAN / IF 8b.

受取側のデータ交換部35aまたはデータ交換部35bは送られたテーブルデータの各ノードの正常/異常ステータスを判別し、正常(NORAML)のノードのセンサデータをデータ保存部6aまたはデータ保存部6bに格納している保存した最新のテーブルデータに書き込む。   The data exchange unit 35a or the data exchange unit 35b on the receiving side discriminates the normal / abnormal status of each node of the transmitted table data, and sends the sensor data of the normal (NORAML) node to the data storage unit 6a or the data storage unit 6b. Write to the latest saved table data.

これにより、ゲートウェイ(マスタ)1aまたはゲートウェイ(スレーブ)1bのいずれかが故障などにより停止しても、停止以前のテーブルデータはデータ保持部に保存されるため、残りのゲートウェイにて、間欠することなく、データのバックアップを可能とする。   As a result, even if either the gateway (master) 1a or the gateway (slave) 1b is stopped due to a failure or the like, the table data before the stop is stored in the data holding unit, so that the remaining gateways are intermittent. Data backup is possible.

図7はゲートウェイ二重化時において、LANの回線がa回線、b回線と二重化されている場合のゲートウェイ同士でテーブルのセンサデータの授受を可能とする構成を示す。   FIG. 7 shows a configuration in which the sensor data of the table can be exchanged between the gateways when the LAN line is duplicated with the a line and the b line when the gateway is duplicated.

ゲートウェイ(マスタ)1aとゲートウェイ(スレーブ)1bは図6と同様に構成する。上位計算機を介してテーブルのセンサデータの授受を可能とするため、上位計算機4にa回線、b回線の各々にLAN・IF9aとLAN・IF9bを設け、かつテーブルデータ中継部36を設ける。   The gateway (master) 1a and the gateway (slave) 1b are configured in the same manner as in FIG. In order to make it possible to exchange the sensor data of the table via the host computer, the host computer 4 is provided with the LAN / IF 9a and the LAN / IF 9b on each of the a line and b line, and the table data relay unit 36 is provided.

ゲートウェイ(マスタ)1aまたはゲートウェイ(スレーブ)1bはデータ交換部35aまたはデータ交換部35bで、相手側へテーブルデータをLAN・IF8aまたはLAN IF8bを介して伝送するが、回線が二重化されている場合は直接接続されていないため、上位計算機4のテーブルデータ中継部36はデータ交換部35aまたはデータ交換部35bで送られてくるテーブルデータをLAN・IF9aまたはLAN・IF9bを介して受ける。   The gateway (master) 1a or the gateway (slave) 1b is a data exchange unit 35a or a data exchange unit 35b, and transmits table data to the other party via the LAN / IF 8a or the LAN IF 8b. Since it is not directly connected, the table data relay unit 36 of the host computer 4 receives the table data sent from the data exchange unit 35a or the data exchange unit 35b via the LAN / IF 9a or the LAN / IF 9b.

テーブルデータ中継部36はa回線で受けたテーブルデータはb回線にb回線で受けたテーブルデータはa回線に各々LAN・IF9aまたはLAN・IF9bを介して送信する。   The table data relay unit 36 transmits the table data received on the a line to the b line and the table data received on the b line to the a line via the LAN / IF 9a or the LAN / IF 9b, respectively.

ゲートウェイ(マスタ)1aまたはゲートウェイ(スレーブ)1bのデータ交換部35aまたはデータ交換部35bは図6で示した構成と同様に受けたテーブルデータをデータ保持部6aまたはデータ保持部6bへ書き込む。これにより、回線が二重化された場合でも間歇することなくバックアップを可能とする。ゲートウェイが3個のときは3回線にする。ゲートウェイの増加にともない、3回線を増すことが望まれる。   The data exchange unit 35a or the data exchange unit 35b of the gateway (master) 1a or the gateway (slave) 1b writes the received table data to the data holding unit 6a or the data holding unit 6b in the same manner as the configuration shown in FIG. As a result, even if the line is duplicated, backup is possible without any interruption. If there are 3 gateways, use 3 lines. As the number of gateways increases, it is desirable to increase three lines.

上述した実施例の主な特徴を列挙する。
(1).ゲートウェイには、計測時刻情報が含まれる計測データを周期的に更新保存するテーブル部を備えたことを特徴とする。
The main features of the embodiment described above are listed.
(1). The gateway includes a table unit that periodically updates and saves measurement data including measurement time information.

ゲートウェイが計測データを周期的に更新保存するので、上位計算機はセンサノードの計測データ更新管理の負担が除かれるため上位計算機を簡易な計算機にすることができる。
(2).ゲートウェイには、更新される以前の計測データを保持するデータ保持部を備えたことを特徴とする。ゲートウェイは、上位計算機の要請に応じて過去の計測データを提供できるようにした。
(3).ゲートウェイには、計測時刻情報が含まれる計測データを周期的に更新保存するテーブル部と、計測データが適正に更新されているか判定する周期判定部を備えたことを特徴とする。
Since the gateway periodically updates and saves measurement data, the host computer is free from the burden of sensor data measurement data update management, so that the host computer can be a simple computer.
(2). The gateway includes a data holding unit that holds measurement data before being updated. The gateway can provide past measurement data according to the request of the host computer.
(3). The gateway includes a table unit that periodically updates and saves measurement data including measurement time information, and a cycle determination unit that determines whether the measurement data is properly updated.

計測データの更新は、周期判定部による適正管理のもとで実行されるので、上位計算機側に適正な計測データを提供できる。
(4).上記周期判定部には、テーブル部が保存する計測データの時刻情報と計時動作をするRTCを備え、RTCに時刻精度の更新管理ができるようにした。
Since the measurement data is updated under proper management by the cycle determination unit, it is possible to provide appropriate measurement data to the host computer side.
(4). The period determination unit is provided with time information of measurement data stored in the table unit and an RTC that performs a timekeeping operation, so that the RTC can perform update management of time accuracy.

計測データの更新管理はRTCの時刻に則って行われるので、更新の時刻精度が向上する。
(5).個々のセンサノードは、複数の接続先の中継器、または複数の接続先のゲートウェイを選択切り替えする切替機能を有し、個々の中継器は、複数の接続先のゲートウェイを選択切り替えする切替機能を備えた。
Since the update management of measurement data is performed according to the RTC time, the time accuracy of the update is improved.
(5). Each sensor node has a switching function for selecting and switching a plurality of connection destination relays or a plurality of connection destination gateways, and each relay node has a switching function for selecting and switching a plurality of connection destination gateways. Prepared.

上記の選択切り替えにより、通信不通等の障害を速やかに解消できる。
(6).上位計算機は、ゲートウェイ、センサノード、中継器の接続情報であるIDを登録するID設定部と、診断フレームを流してゲートウェイに接続しているセンサノード、中継器の接続情報を収集する診断部と、診断部からの切替信号によりデータ収集先のゲートウェイを切替える切替部を備え、ゲートウェイまたは中継器の故障や停止時に切替えて動作可能とした。
By the above selection switching, troubles such as communication interruption can be quickly resolved.
(6). The host computer includes an ID setting unit that registers IDs that are connection information of gateways, sensor nodes, and repeaters, a sensor node that is connected to the gateway through a diagnostic frame, and a diagnosis unit that collects connection information of relays A switching unit that switches the gateway of the data collection destination by a switching signal from the diagnostic unit is provided, and the switching can be performed when the gateway or the repeater fails or is stopped.

故障や停止時の特定診断を的確にして故障や停止時を速やかに解消できる。
(7).複数のゲートウェイは、テーブル部に保存するテーブル情報を互いに相手側でも保存するためのデータ交換部を備え、相手側が故障などにより停止しても間欠することなくバックアップ可能とした。
A specific diagnosis at the time of failure or stop can be accurately performed to quickly resolve the failure or stop.
(7). The plurality of gateways are provided with a data exchanging unit for storing table information stored in the table unit even on the other side, so that backup can be performed without interruption even if the other side stops due to a failure or the like.

データ交換部により計測データのバックアップが行われているので、故障などが生じたときは、他方のゲートウェイに保存したバックアップが速やかに解消できる。
(8)・個々のゲートウェイは、個々の回線を介して上位計算機に接続され、上位計算機はテーブル部データ交換部を設け、回線を介して前記ゲートウェイからテーブル部データ交換部に送られるテーブル部のテーブルデータは、別の回線を介して別のゲートウェイに送信されるようにした。
Since the measurement data is backed up by the data exchange unit, when a failure occurs, the backup stored in the other gateway can be quickly resolved.
(8) Each gateway is connected to a host computer via an individual line, the host computer is provided with a table part data exchange part, and a table part sent from the gateway to the table part data exchange part via the line The table data was sent to another gateway via another line.

いずれかの回線が通信不良になったときは、残りの回線に通信を集約して通信の継続維持ができる。また、回線、テーブル部データ交換部を通じて別のゲートウェイにバックアップを保管したり、取り出したりできる。   When one of the lines fails in communication, the communication can be concentrated on the remaining lines and the communication can be continuously maintained. In addition, backups can be stored and retrieved in another gateway through the line and table data exchange units.

無線を利用し、有線にはない、無線の特徴である配線コストがない、自由な場所に設置可能であることなどを活かして現場の温湿度をセンサで測るセンサネットワークシステムにおいて、簡易に上位計算機と接続および変更可能で二重化により高信頼化したネットワークを構築することが可能となる。   In a sensor network system that measures the temperature and humidity of the site with sensors using wireless, there is no wiring cost, which is a feature of wireless, there is no wiring cost, and it can be installed in a free place, it is simply a host computer It is possible to construct a highly reliable network by duplication and connection and change.

また、センサの種類は温湿度だけだなく、例えば4/20mAの電流信号、加速度センサなど各種センサにもセンサノードのセンサ部を対応することにより適用可能となる。   Further, the sensor type is applicable not only to temperature and humidity but also to various sensors such as a 4/20 mA current signal and an acceleration sensor by corresponding the sensor unit of the sensor node.

センサネットワークの実施方法を示した説明図である(実施例1)。It is explanatory drawing which showed the implementation method of a sensor network (Example 1). 各ノードと上位計算機の実施方法を示した説明図である(実施例2)。It is explanatory drawing which showed the implementation method of each node and a high-order computer (Example 2). 無線のデータパケットとテーブル部5の関係を示した説明図である。4 is an explanatory diagram showing a relationship between a wireless data packet and a table unit 5; FIG. 伝送手順(フロー図)を示した説明図である。It is explanatory drawing which showed the transmission procedure (flow figure). ゲートウェイをマスタとスレーブと二重化した時を示した説明図である(実施例3)。(Example 3) which was the time of duplicating a gateway with a master and a slave. ゲートウェイを二重化した場合、ゲートウェイ同士でテーブルデータの交換を示した説明図である(実施例4)。(Example 4) which is the figure which showed exchange of table data between gateways, when a gateway is duplexed. LANの回線を二重化した場合、ゲートウェイ同士でテーブルデータの交換を示した説明図である(実施例5)。FIG. 10 is an explanatory diagram showing exchange of table data between gateways when a LAN line is duplicated (Example 5).

符号の説明Explanation of symbols

1…ゲートウェイ、1a…ゲートウェイ(マスタ)、1b…ゲートウェイ(スレーブ)、2a…センサノード、2b…センサノード、2c…センサノード、2d…センサノード、3a…中継器、3b…中継器、4…上位計算機、5…テーブル部、5a…テーブル部(マスタ)、5b…テーブル部(スレーブ)、6…データ保持部、6a…データ保持部(マスタ)、6b…データ保持部(スレーブ)、7…ZigBee・IF、7a…ZigBee・IF(マスタ)、7b…ZigBee・IF(スレーブ)、8…LAN・IF、8a…LAN・IF・IF(マスタ)、8b…LAN・IF・IF(スレーブ)、9…LAN・IF、9a…LAN・IF(a回線)、9b…LAN・IF・IF(b回線)、10…センサネットデータ処理部、11…周期判定部、11a…周期判定部(マスタ)、11b…周期判定部(スレーブ)、12…RTC、12a…RTC(マスタ)、12b…RTC(スレーブ)、14…コマンド処理部、14a…コマンド処理部(マスタ)、14b…コマンド処理部(スレーブ)、15…センサ部、16…センサデータ入力部、17…センサデータ伝送IF部、18…駆動制御部、19…電池駆動部、20…RTC、21…ZigBee・IF、22…センサデータ中継伝送部、23…ZigBee・IF、24…RTC、25…RTC、26…センサデータ収集警報チェック部、27…温湿度記録ファイル、28…ID設定部、29…ノード登録IDファイル、30…GUI(トレンドグラフ、アラーム)、31…GUI(GW/ルータ/センサノード:ID新規、追加、削除:計測周期設定)、32…診断部、33…接続IDファイル、34…切替部、35…データ交換部、35a…データ交換部(マスタ)、35b…データ交換部(スレーブ)、36…テーブルデータ中継部。   DESCRIPTION OF SYMBOLS 1 ... Gateway, 1a ... Gateway (master), 1b ... Gateway (slave), 2a ... Sensor node, 2b ... Sensor node, 2c ... Sensor node, 2d ... Sensor node, 3a ... Repeater, 3b ... Repeater, 4 ... Host computer, 5 ... Table unit, 5a ... Table unit (master), 5b ... Table unit (slave), 6 ... Data holding unit, 6a ... Data holding unit (master), 6b ... Data holding unit (slave), 7 ... ZigBee / IF, 7a ... ZigBee / IF (master), 7b ... ZigBee / IF (slave), 8 ... LAN / IF, 8a ... LAN / IF / IF (master), 8b ... LAN / IF / IF (slave), 9 ... LAN / IF, 9a ... LAN / IF (a line), 9b ... LAN / IF / IF (b line), 10 ... sensor network data processing unit, 1 Cycle determining unit 11a Cycle determining unit (master) 11b Cycle determining unit (slave) 12 RTC 12a RTC (master) 12b RTC (slave) 14 Command processing unit 14a Processing unit (master), 14b ... Command processing unit (slave), 15 ... Sensor unit, 16 ... Sensor data input unit, 17 ... Sensor data transmission IF unit, 18 ... Drive control unit, 19 ... Battery drive unit, 20 ... RTC 21 ... ZigBee / IF, 22 ... Sensor data relay transmission unit, 23 ... ZigBee / IF, 24 ... RTC, 25 ... RTC, 26 ... Sensor data collection alarm check unit, 27 ... Temperature / humidity recording file, 28 ... ID setting unit 29 ... Node registration ID file, 30 ... GUI (trend graph, alarm), 31 ... GUI (GW / router / sensor node: D new, addition, deletion: measurement cycle setting), 32 ... diagnostic unit, 33 ... connection ID file, 34 ... switching unit, 35 ... data exchange unit, 35a ... data exchange unit (master), 35b ... data exchange unit (slave) ), 36... Table data relay unit.

Claims (8)

複数のセンサノードと、複数のセンサノードが計測する計測データを直接または中継器を介して受信するゲートウェイを有するセンサネットワーク用ゲートウェイにおいて、
前記ゲートウェイは、計測時刻情報が含まれる前記計測データを周期的に更新保存するテーブル部を有することを特徴とするセンサネットワーク用ゲートウェイ。
In a sensor network gateway having a plurality of sensor nodes and a gateway for receiving measurement data measured by the plurality of sensor nodes directly or via a relay,
The gateway for a sensor network, wherein the gateway includes a table unit that periodically updates and stores the measurement data including measurement time information.
請求項1記載のセンサネットワーク用ゲートウェイにおいて、
前記ゲートウェイは、更新される以前の前記計測データを保持するデータ保持部を有することを特徴とするセンサネットワーク用ゲートウェイ。
The gateway for sensor networks according to claim 1,
The gateway for a sensor network, wherein the gateway includes a data holding unit that holds the measurement data before being updated.
複数のセンサノードと、前記複数のセンサノードからの計測データを直接または中継器を介して受信するゲートウェイと、前記ゲートウェイに設けられ、計測時刻情報が含まれる前記計測データを周期的に更新保存するテーブル部と、前記ゲートウェイに設けられ、前記テーブル部に保存されている前記計測データが適正に更新されているか判定する周期判定部を有することを特徴とするセンサネットワーク用ゲートウェイ。   A plurality of sensor nodes, a gateway that receives measurement data from the plurality of sensor nodes directly or via a relay, and the measurement data that is provided in the gateway and includes measurement time information is periodically updated and stored. A sensor network gateway, comprising: a table unit; and a period determination unit that is provided in the gateway and determines whether the measurement data stored in the table unit is properly updated. 請求項3に記載のセンサネットワーク用ゲートウェイにおいて、
前記ゲートウェイは計時動作をするRTCを有し、
前記周期判定部は、前記テーブル部が保存する前記計測データの時刻情報と前記RTCの時刻情報を基に前記計測データの更新が適正に行われているか判定することを特徴とするセンサネットワーク用ゲートウェイ。
In the sensor network gateway according to claim 3,
The gateway has an RTC for clocking operation,
The period determining unit determines whether the measurement data is properly updated based on time information of the measurement data stored in the table unit and time information of the RTC. .
パソコン、サーバ、コントローラを含む上位計算機と、前記上位計算機に接続される複数のゲートウェイと、個々の前記ゲートウェイに直接または中継器を介して無線で接続される複数のセンサノードを有するセンサネットシステムにおいて、
個々の前記センサノードは、複数の接続先の前記中継器、または複数の接続先の前記ゲートウェイを選択切り替えする切替機能を有し、
個々の前記中継器は、複数の接続先の前記ゲートウェイを選択切り替えする切替機能を有することを特徴とするセンサネットワークシステム。
In a sensor network system having a host computer including a personal computer, a server, a controller, a plurality of gateways connected to the host computer, and a plurality of sensor nodes connected to each of the gateways directly or via a relay ,
Each of the sensor nodes has a switching function of selectively switching the relays of a plurality of connection destinations or the gateways of a plurality of connection destinations,
Each of the repeaters has a switching function for selecting and switching the gateways of a plurality of connection destinations.
パソコン、サーバ、コントローラを含む上位計算機と、前記上位計算機に接続される複数のゲートウェイと、個々の前記ゲートウェイに直接または中継器を介して無線で接続される複数のセンサノードを有するセンサネットシステムにおいて、
上位計算機は、前記ゲートウェイ、前記センサノード、前記中継器の接続情報であるIDを登録するID設定部と、診断フレームを流して前記ゲートウェイに接続している前記センサノード、前記中継器の接続情報を収集する診断部と、前記診断部からの切替信号によりデータ収集先の前記ゲートウェイを切替える切替部を備え、
前記ゲートウェイまたは前記中継器の故障や停止時に切替えて動作可能とすることを特徴とするセンサネットワークシステム。
In a sensor network system having a host computer including a personal computer, a server, a controller, a plurality of gateways connected to the host computer, and a plurality of sensor nodes connected to each of the gateways directly or via a relay ,
The host computer includes an ID setting unit that registers an ID that is connection information of the gateway, the sensor node, and the repeater, and the sensor node that is connected to the gateway through a diagnostic frame and connection information of the repeater And a switching unit that switches the gateway of the data collection destination by a switching signal from the diagnostic unit,
A sensor network system, which can be switched and operated when the gateway or the repeater fails or stops.
パソコン、サーバ、コントローラを含む上位計算機と、前記上位計算機に接続される複数のゲートウェイと、個々の前記ゲートウェイに直接または中継器を介して無線で接続される複数のセンサノードを有するセンサネットシステムにおいて、
前記複数のゲートウェイは、テーブル部に保存するテーブル情報を互いに相手側でも保存するためのデータ交換部を備え、
相手側が故障などにより停止しても間欠することなくバックアップ可能とすることを特徴とするセンサネットワークシステム。
In a sensor network system having a host computer including a personal computer, a server, a controller, a plurality of gateways connected to the host computer, and a plurality of sensor nodes connected to each of the gateways directly or via a relay ,
The plurality of gateways include a data exchange unit for storing table information stored in the table unit on the other side as well,
A sensor network system that enables backup without interruption even if the other party stops due to a failure or the like.
請求項7に記載のセンサネットワークシステムにおいて、
個々の前記ゲートウェイは、個々の回線を介して前記上位計算機に接続され、
前記上位計算機はテーブル部データ交換部を設け、
前記回線を介して前記ゲートウェイからテーブル部データ交換部に送られるテーブル部のテーブルデータは、別の前記回線を介して別の前記ゲートウェイに送信されることを特徴とするセンサネットワークシステム。
The sensor network system according to claim 7,
The individual gateways are connected to the host computer via individual lines,
The host computer is provided with a table data exchange unit,
The table data of the table unit sent from the gateway to the table unit data exchange unit via the line is transmitted to another gateway via another line.
JP2008108849A 2008-04-18 2008-04-18 Sensor network gateway, and sensor network system Pending JP2009260778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008108849A JP2009260778A (en) 2008-04-18 2008-04-18 Sensor network gateway, and sensor network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008108849A JP2009260778A (en) 2008-04-18 2008-04-18 Sensor network gateway, and sensor network system

Publications (1)

Publication Number Publication Date
JP2009260778A true JP2009260778A (en) 2009-11-05

Family

ID=41387608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008108849A Pending JP2009260778A (en) 2008-04-18 2008-04-18 Sensor network gateway, and sensor network system

Country Status (1)

Country Link
JP (1) JP2009260778A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012140760A1 (en) * 2011-04-14 2012-10-18 株式会社日立製作所 Relay device and relay method
KR101256945B1 (en) 2010-12-17 2013-04-25 한전케이디엔주식회사 Remote meter-reading system and its management method
JP2013172428A (en) * 2012-02-22 2013-09-02 Nippon Telegr & Teleph Corp <Ntt> Gateway system
JP2013538494A (en) * 2012-02-27 2013-10-10 ファーウェイ デバイス カンパニー リミテッド Electrical gateway and communication method of electrical gateway
JP2014021811A (en) * 2012-07-20 2014-02-03 Hioki Ee Corp Measuring instrument
CN103607734A (en) * 2013-11-22 2014-02-26 上海交通大学 Abnormal event monitoring and locating method based on compressed sensing
JP2014519736A (en) * 2011-07-27 2014-08-14 ゼットティーイー コーポレーション Networking method for personal network and internal gateway
CN104102150A (en) * 2013-04-09 2014-10-15 亚德诺半导体股份有限公司 Sensor polling unit for microprocessor integration
JP2015532563A (en) * 2012-10-17 2015-11-09 ゼットティーイー コーポレーションZte Corporation Fault elimination method and system for Internet gateway of things
JP2015216841A (en) * 2009-11-17 2015-12-03 アップル インコーポレイテッド Wireless power utilization in local computing environment
JP2015220712A (en) * 2014-05-21 2015-12-07 株式会社日立産機システム Computer system, center device, terminal, and communication control method
CN105545364A (en) * 2016-01-26 2016-05-04 桂林电子科技大学 Communication device and method for underground explosion-suppression-switch remote fault diagnosis
JP2016522492A (en) * 2013-05-17 2016-07-28 エフワイビーアール Distributed remote sensing system gateway
JP2017046139A (en) * 2015-08-26 2017-03-02 矢崎エナジーシステム株式会社 Radio device connecting to meter for meter reading
JP2017117098A (en) * 2015-12-22 2017-06-29 ローム株式会社 Gateway device and sensor network system
WO2017154166A1 (en) * 2016-03-10 2017-09-14 富士通株式会社 Control device, data processing device, control system, control method, data processing method, control program, and data processing program
US10937317B2 (en) 2013-05-17 2021-03-02 fybr Distributed remote sensing system component interface
WO2021166261A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system and data collection method
WO2021166260A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system, and data collection method
JP6965473B1 (en) * 2021-07-13 2021-11-10 東京瓦斯株式会社 Sensor network maintenance system
WO2022070295A1 (en) * 2020-09-30 2022-04-07 日本電信電話株式会社 System and method for collecting metadata, and sensor terminal

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10199873B2 (en) 2009-11-17 2019-02-05 Apple Inc. Wireless power utilization in a local computing environment
JP2015216841A (en) * 2009-11-17 2015-12-03 アップル インコーポレイテッド Wireless power utilization in local computing environment
KR101256945B1 (en) 2010-12-17 2013-04-25 한전케이디엔주식회사 Remote meter-reading system and its management method
WO2012140760A1 (en) * 2011-04-14 2012-10-18 株式会社日立製作所 Relay device and relay method
JP2014519736A (en) * 2011-07-27 2014-08-14 ゼットティーイー コーポレーション Networking method for personal network and internal gateway
JP2013172428A (en) * 2012-02-22 2013-09-02 Nippon Telegr & Teleph Corp <Ntt> Gateway system
US9177467B2 (en) 2012-02-27 2015-11-03 Huawei Device Co., Ltd. Electrical gateway and communication method of electrical gateway
JP2013538494A (en) * 2012-02-27 2013-10-10 ファーウェイ デバイス カンパニー リミテッド Electrical gateway and communication method of electrical gateway
JP2014021811A (en) * 2012-07-20 2014-02-03 Hioki Ee Corp Measuring instrument
JP2015532563A (en) * 2012-10-17 2015-11-09 ゼットティーイー コーポレーションZte Corporation Fault elimination method and system for Internet gateway of things
CN104102150A (en) * 2013-04-09 2014-10-15 亚德诺半导体股份有限公司 Sensor polling unit for microprocessor integration
JP2019125380A (en) * 2013-05-17 2019-07-25 エフワイビーアール Distributed remote sensing system gateway
US11081005B2 (en) 2013-05-17 2021-08-03 fybr Distributed remote sensing system gateway
JP2016522492A (en) * 2013-05-17 2016-07-28 エフワイビーアール Distributed remote sensing system gateway
US10565878B2 (en) 2013-05-17 2020-02-18 fybr Distributed remote sensing system gateway
US10937317B2 (en) 2013-05-17 2021-03-02 fybr Distributed remote sensing system component interface
CN103607734A (en) * 2013-11-22 2014-02-26 上海交通大学 Abnormal event monitoring and locating method based on compressed sensing
CN103607734B (en) * 2013-11-22 2016-08-17 上海交通大学 The monitoring of anomalous event based on compressed sensing and localization method
JP2015220712A (en) * 2014-05-21 2015-12-07 株式会社日立産機システム Computer system, center device, terminal, and communication control method
JP2017046139A (en) * 2015-08-26 2017-03-02 矢崎エナジーシステム株式会社 Radio device connecting to meter for meter reading
JP2017117098A (en) * 2015-12-22 2017-06-29 ローム株式会社 Gateway device and sensor network system
CN105545364A (en) * 2016-01-26 2016-05-04 桂林电子科技大学 Communication device and method for underground explosion-suppression-switch remote fault diagnosis
JPWO2017154166A1 (en) * 2016-03-10 2018-10-04 富士通株式会社 Control device, data processing device, control system, control method, data processing method, control program, and data processing program
WO2017154166A1 (en) * 2016-03-10 2017-09-14 富士通株式会社 Control device, data processing device, control system, control method, data processing method, control program, and data processing program
JP7367840B2 (en) 2020-02-21 2023-10-24 日本電信電話株式会社 Data collection system and data collection method
WO2021166260A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system, and data collection method
JPWO2021166260A1 (en) * 2020-02-21 2021-08-26
WO2021166261A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Data collection system and data collection method
JP7388534B2 (en) 2020-02-21 2023-11-29 日本電信電話株式会社 Data collection system and data collection method
US11979462B2 (en) 2020-02-21 2024-05-07 Nippon Telegraph And Telephone Corporation Data collection system and data collection method
WO2022070295A1 (en) * 2020-09-30 2022-04-07 日本電信電話株式会社 System and method for collecting metadata, and sensor terminal
JP7435810B2 (en) 2020-09-30 2024-02-21 日本電信電話株式会社 System and method for collecting metadata and sensor terminal
JP6965473B1 (en) * 2021-07-13 2021-11-10 東京瓦斯株式会社 Sensor network maintenance system
JP2023012151A (en) * 2021-07-13 2023-01-25 東京瓦斯株式会社 Maintenance system of sensor network

Similar Documents

Publication Publication Date Title
JP2009260778A (en) Sensor network gateway, and sensor network system
CN102144382B (en) Method and system for the transfer of redundant server automatic fault
JP2010282269A (en) Radio network process monitoring system
JP4428099B2 (en) Relay master device and remote monitoring system
JP5572064B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RING NETWORK MONITORING METHOD
WO2012070274A1 (en) Communication system and network malfunction detection method
JP3914072B2 (en) Network failure monitoring method, communication system, and line switching apparatus
JP2001237889A (en) Bypass control method and system in data communication network
JP6112552B2 (en) Information collection system
JP6745106B2 (en) Gateway device and sensor network system
JP4639675B2 (en) Device monitoring device and device monitoring system
JP4858524B2 (en) Remote control monitoring system
JP2018085576A (en) Remote control system and remote control method
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
JP3246409B2 (en) Fault monitoring method
WO2017135226A1 (en) Information processing system and information processing method
JPS641987B2 (en)
JP5642596B2 (en) Wireless communication system
JP2014110620A (en) Network operation system
JPH05304528A (en) Multiplex communication node
JP2004213412A (en) Duplex controller
JP4483458B2 (en) Device monitoring device and device monitoring system
CN114257500B (en) Fault switching method, system and device for super-fusion cluster internal network
JPH10164060A (en) Monitoring system in data communication equipment
JP2002026908A (en) Monitor management system limited time monitor of communication