JP5074216B2 - Sensor network server and sensor network system - Google Patents

Sensor network server and sensor network system Download PDF

Info

Publication number
JP5074216B2
JP5074216B2 JP2008010193A JP2008010193A JP5074216B2 JP 5074216 B2 JP5074216 B2 JP 5074216B2 JP 2008010193 A JP2008010193 A JP 2008010193A JP 2008010193 A JP2008010193 A JP 2008010193A JP 5074216 B2 JP5074216 B2 JP 5074216B2
Authority
JP
Japan
Prior art keywords
value
sensor
time
time series
observation
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.)
Expired - Fee Related
Application number
JP2008010193A
Other languages
Japanese (ja)
Other versions
JP2009171497A (en
Inventor
雄大 浦野
室  啓朗
信夫 佐藤
俊之 小高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Ltd filed Critical Hitachi Ltd
Priority to JP2008010193A priority Critical patent/JP5074216B2/en
Publication of JP2009171497A publication Critical patent/JP2009171497A/en
Application granted granted Critical
Publication of JP5074216B2 publication Critical patent/JP5074216B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、省電力化のために一定時間間隔で起動状態と停止状態を繰り返す間欠動作を行うセンサノードから送られる観測値に対し、特に、時系列データをユーザの指示に基づき構造を変換し、解析する技術に関する。   In order to save power, the present invention converts the structure of the time series data based on the user's instruction, especially for the observation value sent from the sensor node that performs intermittent operation that repeats the start state and the stop state at regular time intervals. , Relating to analysis technology.

近年、センサ機能を搭載した小型無線センサノード (以下、センサノード)、中継機、基地局、及びセンサネットサーバ(以下、管理サーバ)から構成されるセンサネットシステムの開発が進められている。センサノードは、人又は場所の状態等(センサデータ)を観測し、観測したセンサデータを中継機によりマルチホップに中継し、基地局を経由して管理サーバに送信する。管理サーバは、受信したセンサデータに基づいて、各種処理を実行する。   In recent years, development of a sensor network system including a small wireless sensor node (hereinafter referred to as a sensor node), a repeater, a base station, and a sensor network server (hereinafter referred to as a management server) equipped with a sensor function has been promoted. The sensor node observes the state of a person or a place (sensor data), relays the observed sensor data in a multi-hop by a relay, and transmits it to the management server via the base station. The management server executes various processes based on the received sensor data.

センサネットワークにおけるキーデバイスは、小型、低電力を特徴とするセンサノードである。小型であるが故に環境や人を含むあらゆるモノへ付けることが可能となり、低電力であるが故に外部給電することなく電池で数年間稼動させることができる。さらに無線で通信するが故に、基地局または中継機を介して広範囲へ配置することが可能である。   A key device in a sensor network is a sensor node characterized by small size and low power. Because it is small in size, it can be attached to everything including the environment and people, and because of its low power, it can be operated for several years with a battery without external power supply. Furthermore, since it communicates by radio | wireless, it is possible to arrange | position to a wide range via a base station or a relay machine.

センサノードにおける特徴的な動作として、間欠動作がある。これは、センシングやデータ送信のようなタスクを実行する時のみ必要なハードウェアを駆動し、実行すべきタスクがない時はセンサ、RF等の周辺ハードウェアは完全に停止し、マイコンも低電力モードで休眠させるという動作である。間欠動作を行うことにより、センサノードは、限られたバッテリの下で長時間動作が可能となる。   As a characteristic operation in the sensor node, there is an intermittent operation. This drives the necessary hardware only when executing tasks such as sensing and data transmission. When there are no tasks to be executed, peripheral hardware such as sensors and RF are completely stopped, and the microcomputer is also low power. It is an operation to sleep in the mode. By performing the intermittent operation, the sensor node can operate for a long time under a limited battery.

センサノードを用いることで,広範囲の観測値を収集するシステムのみならず,長期間にわたり収集した時系列の観測値を解析することにより、現実世界の変化に意味づけ・可視化を行い,より付加価値の高い情報を生成することによる付加価値の高いシステムが求められており,衛生管理,予防保全,組織のアクティビティ可視化など、様々なアプリケーションへ適用され始めている。   By using sensor nodes, not only a system that collects a wide range of observations, but also analysis of time-series observations collected over a long period of time makes sense and visualization of changes in the real world more value-added. High-value-added systems that generate high-level information are demanded and are beginning to be applied to various applications such as hygiene management, preventive maintenance, and visualization of organizational activities.

なお、特許文献1にあっては、医療用の検査装置を同一設定で検査するため、データベースに測定データを格納すると共に、測定モード等の設定値をメタデータとして格納する技術を開示し、特許文献2では、現在の事象に関するデータを収集および統合、分析、意味づけし、解析結果をタグとして付与する技術が開示されている。しかし、これらの特許文献で対象とするデータは、時系列パターンを有していないデータである。   Patent Document 1 discloses a technique for storing measurement data in a database and storing setting values such as a measurement mode as metadata in order to inspect a medical inspection apparatus with the same settings. Document 2 discloses a technique for collecting, integrating, analyzing, and meaning data related to a current event, and assigning an analysis result as a tag. However, the data targeted in these patent documents is data that does not have a time-series pattern.

特開2006-162484号公報JP 2006-162484 A 特表2004-533034号公報Special Table 2004-533034

上記従来技術と異なり、センサネットは時系列の観測値を解析対象とし、且つそのアプリケーションは多岐に亘るため、使用するセンサの種類やセンサノード数、観測間隔は、アプリケーションの違いにより様々である。そのため、以下に述べる課題がある。   Unlike the above-described prior art, the sensor network analyzes time-series observation values and has a wide variety of applications. Therefore, the type of sensor used, the number of sensor nodes, and the observation interval vary depending on the application. Therefore, there are problems described below.

第一の課題として、センサノードの観測および観測値の送信の動作パターンが様々であるため、該センサノードから得られる時系列の観測値も様々である課題がある。例えば、衛生管理において温度や湿度を観測する場合、10分に一度という低頻度で観測をすれば良い。この時、センサノードは10分に一度起動し、観測し、観測値をサーバに送る動作を繰り返す。一方、人間の発話を認識するために音声を観測する場合、8000Hzという高頻度な観測が必要である。しかしながら、観測の度に送信を行っていては通信回数が増大し、無線帯域を逼迫する。そのため、1度の通信で送信できるデータ量分の観測値を、まとめて1パケットとして送る必要がある。   As a first problem, since there are various operation patterns for sensor node observation and observation value transmission, there are various time-series observation values obtained from the sensor node. For example, when observing temperature and humidity in hygiene management, it may be observed at a low frequency of once every 10 minutes. At this time, the sensor node starts once every 10 minutes, observes, and repeats the operation of sending the observation value to the server. On the other hand, when observing speech in order to recognize human utterances, high-frequency observation of 8000 Hz is necessary. However, if transmission is performed at each observation, the number of communications increases, and the wireless band is tight. Therefore, it is necessary to send the observation values for the amount of data that can be transmitted in one communication as a single packet.

以上のように、センサノードから得られる時系列の観測値の種類が様々であるため、多数のアプリケーションに共通の解析であっても、観測と送信の動作パターン毎に解析プログラムを作成する必要がある。   As described above, there are various types of time-series observation values obtained from sensor nodes, so it is necessary to create an analysis program for each observation and transmission operation pattern even for analysis common to many applications. is there.

第二の課題として、該時系列の観測値の種類が様々であるため、該観測値を格納するデータベースの構造も様々である。   As a second problem, since the types of observation values in the time series are various, the structures of databases for storing the observation values are also various.

第三の課題として、該観測値をデータベースに格納する際、観測値を観測時刻毎にレコードを作成して観測値を格納した場合、観測回数と同数のレコードを作成するため容量が増大し、検索に時間がかかる課題がある。   As a third problem, when storing the observation values in the database, if the observation values are created for each observation time and the observation values are stored, the capacity increases to create the same number of records as the number of observations, There is an issue that takes time to search.

第四の課題として、センサノードが無線にて観測値をセンサネットサーバへと送信するが、無線が一時的に遮断され、観測値が欠損する課題がある。   As a fourth problem, the sensor node transmits the observation value wirelessly to the sensor network server, but there is a problem that the wireless communication is temporarily interrupted and the observation value is lost.

第五の課題として、複数のセンサノードを用いて観測を行う場合、観測のタイミングがセンサノード毎にずれてしまう課題がある。   As a fifth problem, when observation is performed using a plurality of sensor nodes, there is a problem that the observation timing is shifted for each sensor node.

本発明においては、第一の課題を解決する手段として、センサノードから得られる時系列の観測値を保持するデータ部と、該データ部の観測時刻や観測間隔といった時系列情報を説明する値を保持するメタ部からなる汎用的なデータ構造を定義する。また、この汎用的なデータ構造を観測値から作成し、アプリケーションへと配送する手段を提供する。   In the present invention, as means for solving the first problem, a data part for holding a time series observation value obtained from a sensor node, and a value for explaining time series information such as an observation time and an observation interval of the data part are provided. Define a general-purpose data structure consisting of meta parts to be retained. It also provides a means for creating this general data structure from observations and delivering it to the application.

また、第二の課題を解決する手段として、前記のデータ構造を作成する手段として、観測値と共にセンサノードID、観測時刻、観測時間、観測間隔、休眠時間という時系列のメタ部を格納しているデータベースに対し、ユーザは該データ構造の時系列パターンを識別するための識別子とセンサノードIDと観測開始時刻、および観測時間を指定してセンサネットサーバに要求することにより、該サーバはデータベースを検索して、検索結果を該識別子にて識別されるデータ構造へと変換するルールが記載されたテーブルを参照し、該識別子に対応する該データ構造を作成するデータ構造作成手段を提供する。   As a means for solving the second problem, as a means for creating the data structure, a time-series meta part including a sensor node ID, an observation time, an observation time, an observation interval, and a sleep time is stored together with the observation value. The user designates an identifier for identifying a time-series pattern of the data structure, a sensor node ID, an observation start time, and an observation time, and requests the sensor network server, so that the server There is provided a data structure creation means for creating a data structure corresponding to the identifier by referring to a table in which a rule for searching and converting a search result into a data structure identified by the identifier is described.

更に、第三の課題を解決する手段として、前記データ構造はデータ部にセンサノードから送信される観測時刻が連続している複数の観測値をバイナリの配列の状態で保持する。そして、該観測値を該バイナリの配列のままデータベースに格納する。これにより、観測時刻毎に分割してデータベースに格納する方式と比較しレコード数が少なくなるため省容量であり、アクセス回数が減らせるため高速な格納を可能とする、データベース格納手段を提供する。   Further, as a means for solving the third problem, the data structure holds a plurality of observation values in which the observation times transmitted from the sensor node in the data portion are continuous in a binary array state. Then, the observed values are stored in the database as the binary array. Thus, there is provided a database storage means that saves capacity because the number of records is reduced as compared with a method of storing in a database divided at each observation time, and enables high-speed storage because the number of accesses can be reduced.

また更に、第四の課題を解決する手段として、前記データ構造を作成する際に観測値に欠損がある場合の補完手段として、ユーザはデータベースに対してデータ構造を要求する際にNULL補完、線形補完、最近値補完の欠損補完手段を指定してセンサネットサーバに要求することにより、該サーバはデータベースを検索し、検索結果内に欠損が存在する場合には該欠損補完手段を用いて欠損を補完する、欠損補完方法選択手段を提供する。   Furthermore, as a means for solving the fourth problem, as a supplement means when there is a missing value in the observation value when the data structure is created, when the user requests the data structure from the database, NULL completion, linear By requesting the sensor network server by specifying the missing / complementing means for complementing and nearest value complementing, the server searches the database, and if there is a defect in the search result, the missing complementing means is used to detect the missing data. Provided is a defect complement method selection means for complementing.

更にまた、第五の課題を解決する手段として、複数のセンサノードから得られる観測値から前記データ構造を作成する際に、観測タイミングのずれを補正する手段として、ユーザはセンサネットサーバに対して複数のノードIDと観測時刻、観測開始時間およびデータ構造のパターンを記載した識別子と、最新値補正ないし最近値補正のいずれかの補正手段を指定し、該サーバに要求することにより、該サーバはデータベースを検索し、複数ノード間の観測時刻がずれている場合、指定の方法により補正を行う観測時刻補正方法選択手段を提供する。   Furthermore, as a means for solving the fifth problem, when creating the data structure from observation values obtained from a plurality of sensor nodes, as a means for correcting a shift in observation timing, the user can By specifying a plurality of node IDs and identifiers describing observation times, observation start times, and data structure patterns, and correcting means for either the latest value correction or the latest value correction, and requesting the server, the server An observation time correction method selection unit that performs a correction by a designated method when a database is searched and observation times between a plurality of nodes are shifted is provided.

前記のデータ構造に従って作成された解析プログラム、欠損値の補完プログラム、および観測時刻修正プログラムの選択および実行手順を記載することにより、プログラムを自由に組みかえ、かつ異なる観測値間でも共通に使用することが出来る、プログラム実行指定手段を提供する。   By describing the selection and execution procedure of the analysis program, missing value supplement program, and observation time correction program created according to the above data structure, the program can be freely reconfigured and used in common between different observation values Provide program execution designation means that can.

なお、本件明細書において、「時系列情報を説明する値」とは、ある時点での状態、及びその時点から一定期間におけるその状態の変化を示す値を意味することとする。   In the present specification, “value describing time-series information” means a value indicating a state at a certain time point and a change in the state over a certain period from that point.

本発明によれば、ユーザはセンサノードの観測および観測値の送信の動作パターンによらずアプリケーションや解析プログラムを作成することができる。また、欠損の補完や観測タイミングのずれを修正するプログラム等、観測対象が異なる場合でも共通に使用することができるため、開発工数の削減をすることができる。   According to the present invention, the user can create an application and an analysis program regardless of the operation pattern of sensor node observation and observation value transmission. In addition, since it can be used in common even when the observation target is different, such as a program for correcting defects or correcting a deviation in observation timing, it is possible to reduce development man-hours.

以下、本発明の数々の実施形態を添付図面に基づいて説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

図1は、本発明の第1の実施例であるセンサネットシステムの構成のブロック図である。   FIG. 1 is a block diagram of a configuration of a sensor network system according to a first embodiment of the present invention.

センサネットシステムは、センサネットサーバ(Sensor-net Server)101、ゲートウェイ(Gateway, GW)102、ルータノード(Router Node, RT)103、センサノード(Sensor Node, SS)104、管理計算機(Management Computer)105、クライアント計算機(Client Computer)106、有線センサ(Wired Sensor)107、RFIDリーダ(Radio Frequency Identification Reader)108及びLAN(Local Area Network)109を備える。   The sensor network system consists of sensor-net server 101, gateway (GW) 102, router node (Router Node, RT) 103, sensor node (Sensor Node, SS) 104, management computer (Management Computer) 105, a client computer 106, a wired sensor 107, an RFID reader (Radio Frequency Identification Reader) 108, and a LAN (Local Area Network) 109.

LAN109は、センサネットサーバ101、ゲートウェイ102、管理計算機105、クライアント計算機106及び有線センサ107を相互に接続する。   The LAN 109 connects the sensor network server 101, the gateway 102, the management computer 105, the client computer 106, and the wired sensor 107 to each other.

センサノード104は、当該センサネットシステムに分散されて設置される。本実施例のセンサネットシステムには、9個のセンサノード104が設置されているが、いくつ設置されてもよい。センサノードに関する詳細は図4および図5にて説明する。   The sensor nodes 104 are distributed and installed in the sensor network system. In the sensor network system of the present embodiment, nine sensor nodes 104 are installed, but any number may be installed. Details regarding the sensor node will be described with reference to FIGS. 4 and 5. FIG.

ルータノード103は、ZigBee(登録商標)通信部(ZigBee Communicator)122及びルーティングマネージャ(Routing Manager)121を備える。ZigBee通信部122は、ZigBeeプロトコルを用いて、ゲートウェイ102、センサノード104又は他のルータノード103と通信する。ルーティングマネージャ121は、外部から受信した情報の転送先を判定する。   The router node 103 includes a ZigBee (registered trademark) communication unit (ZigBee Communicator) 122 and a routing manager 121. The ZigBee communication unit 122 communicates with the gateway 102, the sensor node 104, or another router node 103 using the ZigBee protocol. The routing manager 121 determines a transfer destination of information received from the outside.

ルータノード103は、センサノード104によって観測された環境情報又はセンサネットサーバ101から発行された要求等を受信し、ゲートウェイ102、センサノード104又は他のルータノード103に転送する。   The router node 103 receives environmental information observed by the sensor node 104 or a request issued from the sensor net server 101 and transfers it to the gateway 102, the sensor node 104, or another router node 103.

ゲートウェイ102は、LAN通信部(LAN Communicator)120、ルーティングマネージャ121、ZigBee通信部122及びPAN制御部(PAN Controller)123を備える。   The gateway 102 includes a LAN communication unit (LAN Communicator) 120, a routing manager 121, a ZigBee communication unit 122, and a PAN control unit (PAN Controller) 123.

LAN通信部120は、LAN109を介して、センサネットサーバ101と通信する。ルーティングマネージャ121は、外部から受信した情報の転送先を判定する。ZigBee通信部122は、ZigBeeプロトコルを用いて、ルータノード103又はセンサノード104と通信する。PAN制御部123は、当該ゲートウェイ102から構成されるPAN(Personal Area Network)を制御する。   The LAN communication unit 120 communicates with the sensor network server 101 via the LAN 109. The routing manager 121 determines a transfer destination of information received from the outside. The ZigBee communication unit 122 communicates with the router node 103 or the sensor node 104 using the ZigBee protocol. The PAN control unit 123 controls a PAN (Personal Area Network) configured from the gateway 102.

ゲートウェイ102は、センサノード104によって観測された環境情報又はセンサネットサーバ101から発行された要求等を受信し、センサネットサーバ101、ゲートウェイ102、ルータノード103又はセンサノード104に転送する。   The gateway 102 receives environmental information observed by the sensor node 104 or a request issued from the sensor network server 101, and transfers it to the sensor network server 101, the gateway 102, the router node 103, or the sensor node 104.

センサネットサーバ101は、LAN109を介して,基地局102,管理計算機105,クライアント計算機106及び有線センサ107と通信する。また、基地局を介してセンサノードからの観測値の受信や、センサノードの制御を行う。センサネットサーバの詳細に関しては、図2および図3にて説明する。   The sensor network server 101 communicates with the base station 102, the management computer 105, the client computer 106, and the wired sensor 107 via the LAN 109. In addition, it receives observation values from the sensor node via the base station and controls the sensor node. Details of the sensor net server will be described with reference to FIGS.

管理計算機105は、当該センサネットシステムの管理者によって操作される。管理計算機105は、管理者の操作を契機に、各種要求をセンサネットサーバ101に送信する。   The management computer 105 is operated by an administrator of the sensor network system. The management computer 105 transmits various requests to the sensor network server 101 in response to an operation by the administrator.

クライアント計算機106は、当該センサネットシステムのクライアントによって操作される。クライアント計算機106は、各種アプリケーションを実行する。また、クライアント計算機106は、センサノード104によって観測された環境情報を、センサネットサーバ101から受信する。クライアント計算機106は、受信した環境情報に基づいて、各種処理を行う。   The client computer 106 is operated by a client of the sensor network system. The client computer 106 executes various applications. In addition, the client computer 106 receives environment information observed by the sensor node 104 from the sensor network server 101. The client computer 106 performs various processes based on the received environment information.

有線センサ107は、環境情報を観測する。そして、有線センサ107は、観測した環境情報を、LAN109を介してセンサネットサーバ101に送信する。   The wired sensor 107 observes environmental information. Then, the wired sensor 107 transmits the observed environment information to the sensor network server 101 via the LAN 109.

図4はセンサノード104のハードウェア構成を、図5はセンサノード104の機能構成を図示したブロック図である。   4 is a block diagram illustrating a hardware configuration of the sensor node 104, and FIG. 5 is a block diagram illustrating a functional configuration of the sensor node 104. As illustrated in FIG.

センサノードは無線送受信を行うRF トランシーバ(RF Transceiver)401、表示部(Display)402、操作ボタン(Button)403、センサ(Sensor(s))404、マイコン(MicroProcessor)405、絶対時刻を持つリアルタイムクロック(Real-time Clock)406、揮発性メモリ(Volatile Memory)407、フラッシュメモリ(Flash Memory)等の不揮発メモリ(Nonvolatile Memory)408、読み出し専用メモリ(Read-Only Memory)409、ノードの各部に電力を供給するバッテリ(Battery)410とから構成される。   The sensor node is an RF transceiver 401 that performs wireless transmission / reception, a display 402, an operation button (Button) 403, a sensor (Sensor (s)) 404, a microcomputer (MicroProcessor) 405, and a real-time clock with absolute time (Real-time Clock) 406, volatile memory (Volatile Memory) 407, non-volatile memory (Nonvolatile Memory) 408 such as flash memory (Flash Memory), read-only memory (Read-Only Memory) 409, power to each part of the node A battery 410 to be supplied.

センサノード104は、ハードウェアにおいてReal-Time Clock406以外の電源をOFF状態にする休眠状態と、全ての回路の電源をON状態にする起動状態の2つの動作を一定周期ごとに使い分ける。センサノード104は起動状態において、様々なセンサ404を用いてセンシングを行う。センシングされた情報はReal-Time Clock406の時刻情報と共にMicroProcessor405にてパケットに格納され、RF Transceiver401から基地局及び中継機に無線で送信されると共に、Nonvolatile Memory408へ格納される。   The sensor node 104 uses two operations, ie, a sleep state in which the power other than the Real-Time Clock 406 is turned off in hardware and a start-up state in which the power of all the circuits is turned on at regular intervals. The sensor node 104 performs sensing using various sensors 404 in the activated state. The sensed information is stored in a packet by the MicroProcessor 405 together with the time information of the Real-Time Clock 406, transmitted wirelessly from the RF Transceiver 401 to the base station and the relay station, and stored in the Nonvolatile Memory 408.

MicroProcessor405は中央処理部(Central Processing Unit, CPU)414、およびRAM、ROM、不揮発性のメモリであるフラッシュメモリ413を備えている。CPU414は,不揮発性メモリ408に記録されているプログラムをメモリ413に格納して実行することによって,各種処理を行う。   The MicroProcessor 405 includes a central processing unit (CPU) 414 and a flash memory 413 that is a RAM, a ROM, and a nonvolatile memory. The CPU 414 performs various processes by storing the program recorded in the nonvolatile memory 408 in the memory 413 and executing it.

操作ボタン(Button)403は、ユーザの操作を受け付ける入力デバイスであり、特定のボタン操作により、センサノード104の特定の動作を起動したり、動作パラメータを設定したりすることができる。   An operation button (Button) 403 is an input device that receives a user operation, and can activate a specific operation of the sensor node 104 or set an operation parameter by a specific button operation.

表示部(Display)402は、ユーザに対して情報を表示するための出力デバイスである。例えば、センサノードが環境計測用に室内または室外に設置する用途である場合には、センサ部404により計測した最新の測定値を表示することができる。その際、低電力化のために、通常時は何も表示せず、特定のボタン操作を行った時のみ、該最新測定値を表示するといった活用が好適である。また、センサノードが名札型や腕時計型等の携帯端末である場合には、通常時は時刻情報を表示し、センサネットサーバ101からテキストメッセージを受信した場合には該メッセージを表示したり、音声メッセージを受信した際には該着信情報を表示したりするといった活用が好適である。また、ユーザのボタン操作に連動して、階層化された操作メニューを表示することができる。該操作メニューに従ってボタン操作を行うことにより、アプリケーションユーザ(Application User)やシステム管理者(System Manager)は、センサノードの動作パラメータを設定したり、通信失敗時のエラー情報を確認したりすることができる。   A display unit (Display) 402 is an output device for displaying information to the user. For example, when the sensor node is used indoors or outdoors for environmental measurement, the latest measured value measured by the sensor unit 404 can be displayed. At this time, in order to reduce power consumption, it is preferable to display nothing at normal time and display the latest measured value only when a specific button operation is performed. When the sensor node is a portable terminal such as a name tag type or a wristwatch type, the time information is normally displayed, and when a text message is received from the sensor network server 101, the message is displayed or a voice message is displayed. When receiving a message, it is preferable to display the incoming call information. A hierarchical operation menu can be displayed in conjunction with the user's button operation. By performing button operations according to the operation menu, an application user (Application User) or a system administrator (System Manager) may set operation parameters of the sensor node or check error information when communication fails. it can.

なお、ルータノード103及びゲートウェイ102は、センサノード104と同様のハードウェア構成を有し、通信機能等を有する通常の計算機で構成される。よって、ルータノード及びゲートウェイの構成については、説明を省略する。   Note that the router node 103 and the gateway 102 have the same hardware configuration as that of the sensor node 104, and are configured by ordinary computers having a communication function and the like. Therefore, the description of the configuration of the router node and the gateway is omitted.

図5に示すように、センサノード104の機能は、観測や観測値蓄積やイベント発行を管理するMain部503と、センサを用いて観測を行う観測部502と、観測値などのイベントを発行するイベント発行部504と、イベントを無線にて送信するあるいはコマンドを無線にて受信する通信部505と、外部記憶部408への観測値の蓄積を管理する観測値蓄積管理部507と、親中継機ないし親基地局より受信したコマンドを処理するコマンド処理部511がある。これらの機能は不揮発性メモリ408に格納されており、CPU414は不揮発性メモリ408に記録されているプログラムをメモリ413に格納して実行することによって,各種処理を行う。   As shown in FIG. 5, the function of the sensor node 104 is a main unit 503 that manages observation, observation value accumulation, and event issuance, an observation unit 502 that performs observation using sensors, and issues events such as observation values. An event issuing unit 504, a communication unit 505 that transmits an event wirelessly or receives a command wirelessly, an observation value accumulation management unit 507 that manages accumulation of observation values in the external storage unit 408, and a parent relay device There is also a command processing unit 511 that processes commands received from the parent base station. These functions are stored in the nonvolatile memory 408, and the CPU 414 performs various processes by storing the program recorded in the nonvolatile memory 408 in the memory 413 and executing it.

図3はセンサネットサーバ101のハードウェアを表すブロック図である。センサネットサーバ101は、中央処理部(CPU)301、外部通信部302、電源303、ハードディスクドライブ(HDD)304、入力部であるキーボード305、出力部であるディスプレイ306、およびメモリ307からなる。
センサネットサーバ101は、外部通信部302を経由し基地局からデータの受信および基地局へコマンドの送信を行う。また、外部通信部302を通じて、クライアントコンピュータ106からの要求を受信する。CPU301は、キーボード305から入力されたユーザコマンドの解釈を行い、外部通信部302を通じて基地局へと配信する。また、CPU301は,HDD304などの外部記憶装置に記録されているプログラムをメモリ307に格納して実行することによって、プログラムの指示に従って外部通信部302を通じて取得したデータの加工を行い、HDD304へデータを蓄積したり、ディスプレイ306に表示したりする。
FIG. 3 is a block diagram showing the hardware of the sensor network server 101. As shown in FIG. The sensor network server 101 includes a central processing unit (CPU) 301, an external communication unit 302, a power source 303, a hard disk drive (HDD) 304, a keyboard 305 as an input unit, a display 306 as an output unit, and a memory 307.
The sensor network server 101 receives data from the base station via the external communication unit 302 and transmits commands to the base station. In addition, a request from the client computer 106 is received through the external communication unit 302. The CPU 301 interprets the user command input from the keyboard 305 and distributes it to the base station through the external communication unit 302. In addition, the CPU 301 stores the program recorded in the external storage device such as the HDD 304 in the memory 307 and executes it, thereby processing the data acquired through the external communication unit 302 in accordance with the instructions of the program and transferring the data to the HDD 304. Accumulated or displayed on the display 306.

図2はセンサネットサーバ101のCPU301が実行する機能を表すブロック図である。センサネットサーバ101の機能は、外部要求受付部201、解析管理部204、観測値加工部208、観測時刻修正部209、欠損補完部210からなる解析マネージャ127と、解析モジュール群202などからなる。また、データベースアクセス機能113内のデータベース書出し部205およびデータベース読込み部206を介して、HDD304に蓄積されるデータベース207の観測値データベース116や加工値データベース217にアクセスしている。また、イベント受付部203を介して、センサノードからのタイマイベント213や観測イベント214を受信している。なお、これらの機能は通常CPU301で実行されるプログラムで構成される。   FIG. 2 is a block diagram illustrating functions executed by the CPU 301 of the sensor network server 101. The functions of the sensor network server 101 include an external request receiving unit 201, an analysis management unit 204, an observation value processing unit 208, an observation time correction unit 209, an analysis manager 127 including a defect complementing unit 210, an analysis module group 202, and the like. Further, the observation value database 116 and the processing value database 217 of the database 207 stored in the HDD 304 are accessed via the database writing unit 205 and the database reading unit 206 in the database access function 113. In addition, a timer event 213 and an observation event 214 from the sensor node are received via the event reception unit 203. Note that these functions are usually configured by programs executed by the CPU 301.

センサノード104からの観測イベント214は、イベント受付部114にて受信する。受信したイベントはInformation212という汎用的なデータ構造を用いることにより、センサネットサーバの各機能間で共通に扱うことができる。Information212の詳細な説明については図8にて述べる。解析マネージャ127は、ユーザからの要求211や、センサノードからのイベント214、あるいはタイマイベント213が到来したタイミングで解析を行う。ユーザは、解析に必要なInformationおよび解析の手順を解析要求スクリプト211により指示を行う。   The event reception unit 114 receives the observation event 214 from the sensor node 104. The received event can be handled in common among the functions of the sensor network server by using a general-purpose data structure called Information212. Details of Information 212 will be described with reference to FIG. The analysis manager 127 performs analysis at the timing when the request 211 from the user, the event 214 from the sensor node, or the timer event 213 arrives. The user instructs the information required for analysis and the analysis procedure using the analysis request script 211.

ユーザからの指示は、外部要求受付部201にて受信し、解析管理部204において解釈を行う。解析管理部204は、該スクリプトに記載の解析に必要なInformationを確認し、センサノード104から必要な観測値を得られるまで待機するか、必要なデータをデータベース読込み部206より取得する。データベース読込み部206は、HDD304上にあるデータベース207を検索し、必要なデータを取得し、観測値加工部208にて欠損の補完および観測時刻の修正を行なった後ユーザ要求のInformationに変換し、解析管理部204へと返戻する。解析管理部204は該返戻を受け取ると、解析モジュール群202より該スクリプトに記載の解析モジュールを選択し、該Informationを解析モジュールへ配送する。また、該スクリプトにInformation内のデータを加工値データベース117へ格納する指示が有る場合、解析管理部204はデータベース書出し部205に該Informationを配送し、データベース書出し部205はスクリプトに記載の、データベース207内の加工値テーブル1400へとデータを書き込む。   The instruction from the user is received by the external request reception unit 201 and interpreted by the analysis management unit 204. The analysis management unit 204 confirms the information necessary for the analysis described in the script and waits until a necessary observation value is obtained from the sensor node 104 or acquires the necessary data from the database reading unit 206. The database reading unit 206 searches the database 207 on the HDD 304, acquires necessary data, and after the missing value correction and correction of the observation time are performed in the observation value processing unit 208, it is converted into the information requested by the user, It returns to the analysis management unit 204. Upon receiving the return, the analysis management unit 204 selects an analysis module described in the script from the analysis module group 202 and delivers the information to the analysis module. If the script has an instruction to store the data in Information in the machining value database 117, the analysis management unit 204 delivers the Information to the database writing unit 205, and the database writing unit 205 stores the database 207 described in the script. Data is written in the machining value table 1400 in the table.

図8に、図2で説明したInformationのメモリ上でのデータ保持形式を示す。Information212は、観測値を保持するデータ部802と、データ部の時系列情報を説明する値を保持するメタ部801からなる。データ部802には、イベント受付部203にて得られたセンサノードからの観測値を、バイナリのまま保持する。メタ部801はデータ名(name)809、時系列のタイプ(type)810、軸(axis)811、単位(uom)812を持ち、更にこのメタ部801は、データ部802の時系列情報を説明する値として、観測開始時刻(startTime)1402、観測時間(totalTime)1403、サンプリングレート(SamplingRate)1404、1つの観測値群に何秒間の観測値が存在するかを示すデュレーション(Duration)1405、休眠時間を示すインターバル(Interval)1406を保持する。メタ部801のこれらの時系列を説明する情報を組み合わせることにより、様々な観測パターンによる時系列データを共通に扱うことができる。この観測パターンとInformationの対応に関しては、後で説明する具体例にて述べる。   FIG. 8 shows a data holding format in the Information memory described in FIG. Information 212 includes a data part 802 that holds an observed value and a meta part 801 that holds a value that describes time-series information of the data part. The data unit 802 holds the observed value from the sensor node obtained by the event receiving unit 203 as binary. The meta part 801 has a data name (name) 809, a time series type (type) 810, an axis (axis) 811, and a unit (uom) 812. The meta part 801 further describes time series information of the data part 802. The observation start time (startTime) 1402, the observation time (totalTime) 1403, the sampling rate (SamplingRate) 1404, the duration (Duration) 1405 indicating how many observations exist in one observation value group, and sleep An interval 1406 indicating time is held. By combining information describing these time series in the meta unit 801, time series data with various observation patterns can be handled in common. The correspondence between this observation pattern and Information will be described in a specific example described later.

図14は、Informationを格納するデータベースのテーブル定義を示した図である。データベース内にはどのノードで観測された値かを識別するためのID1401、時系列のタイプを示すType810、観測開始時刻を表すStartTime1402、1つのレコードに格納したデータの時間を記載するためのTotalTime1403、1秒間にいくつのデータがあるかを示すためのSampling Rate1404、1つの観測値群に何秒間の観測値が存在するかを示すDuration1405、休眠時間を示すInterval1406を持ち、これらはメタ部801として扱われる。メタ部801を示すカラムには、該格納するInformationに付属のカラムのみ代入される。また、データベースにはデータ部802を格納するデータカラム(Data)1407を持ち、データをバイナリとして格納する。データ部802に要素が複数存在する場合、要素毎のメタ情報を算出し、一つの要素を1レコードとして格納する。   FIG. 14 is a diagram illustrating a table definition of a database that stores Information. In the database, ID1401 for identifying the observed value at which node, Type810 indicating the time series type, StartTime1402 indicating the observation start time, TotalTime1403 for describing the time of the data stored in one record, Sampling Rate 1404 to indicate how many data per second, Duration 1405 to indicate how many observations exist in one observation value group, Interval 1406 to indicate sleep time, these are handled as meta part 801 Is called. For the column indicating the meta part 801, only the column attached to the stored information is substituted. Further, the database has a data column (Data) 1407 for storing the data portion 802, and stores data as binary. When there are a plurality of elements in the data part 802, meta information for each element is calculated, and one element is stored as one record.

以上説明してきた実施例1の一つの具体例として、センサノードおよびセンサネットサーバを用いたシステムにて得られる観測値をInformationへと加工し、このInformationをデータベースへ格納する例を示す。   As a specific example of the first embodiment described above, an example is shown in which an observation value obtained by a system using sensor nodes and sensor network servers is processed into Information, and this Information is stored in a database.

センサノード104は、観測対象の違い、通信帯域の制限、および電池寿命の兼ね合いから、様々な観測および観測値の送信の動作パターンを取る。図6に、センサノード104における観測と観測値送信の動作のパターンを表すシーケンス図を示す。   The sensor node 104 takes various observation and observation value transmission operation patterns in consideration of the difference in the observation target, the limitation of the communication band, and the battery life. FIG. 6 shows a sequence diagram representing an operation pattern of observation and observation value transmission in the sensor node 104.

図6の601は一定間隔で観測を行うがイベント発生時のみ観測値を送信する動作を表す図であり、例えば人感センサを用いて人が居るか居ないかを10秒間隔で検知し、人が居ない状態から居る状態に変化した時、あるいは人が居る状態から居ない状態に変化した時のみ送信を行う動作である。センサノードは起動後観測を行い(605)、イベントの有無を判定し(606)、イベントが発生した場合は該イベントを基地局に対し送信し(607)、休眠する。センサを起動し観測を行うまでは10ミリ秒程度であり、送信を行った場合でも50ミリ秒程度である。従って、センサノードはほぼ休眠状態にあるため、長寿命の動作が可能である。   601 in FIG. 6 is a diagram showing an operation of performing observation at a constant interval but transmitting an observation value only when an event occurs. For example, a human sensor is used to detect whether a person is present at 10-second intervals. This is an operation of performing transmission only when the state changes from a state where there is no person to a state where there is no person or when the state changes from a state where there is no person to a state where there is no person. The sensor node performs observation after activation (605), determines the presence or absence of an event (606), and when an event occurs, transmits the event to the base station (607) and sleeps. It takes about 10 milliseconds to activate the sensor and perform observations, and even about 50 milliseconds for transmission. Accordingly, since the sensor node is almost in a dormant state, it can operate with a long life.

602は、単一の観測値を観測の度に送信するシーケンスを表す。センサノードは起動後観測を行い(609)、基地局に対し観測値を送信し(610)、休眠する。センサ起動から再び休眠に入るまでは10ミリ秒から50ミリ秒程度である。   Reference numeral 602 represents a sequence for transmitting a single observation value for each observation. The sensor node performs observation after activation (609), transmits the observation value to the base station (610), and sleeps. It takes about 10 to 50 milliseconds from when the sensor is activated until it enters sleep again.

603は、一定期間連続で観測した観測値を結合して一つのパケットとして送信する動作を繰り返すシーケンスを表す。センサノードは起動中常に観測を行ない(611)、同時に不揮発性メモリへと観測値を蓄積する。該観測値を一つのパケットとして結合し(612)、基地局に対して送信する(613)。例として10個の観測値を送信する場合を考える。1回観測する毎に送信を行なった場合、通信回数は10回であり、通信時間の累計は500ミリ秒である。一方、本方式にて送信する場合、通信回数は1回であり、通信時間は50ミリ秒であるため、通信帯域の節約することができる。ただし、センサノードは休眠することが無いため、最も短寿命である。   Reference numeral 603 represents a sequence for repeating the operation of combining observation values observed continuously for a certain period and transmitting them as one packet. The sensor node always observes during activation (611), and at the same time accumulates the observation value in the nonvolatile memory. The observed values are combined as one packet (612) and transmitted to the base station (613). As an example, consider the case of sending 10 observations. If transmission is performed for each observation, the number of communication is 10 times, and the total communication time is 500 milliseconds. On the other hand, in the case of transmission by this method, the number of communication is one and the communication time is 50 milliseconds, so the communication band can be saved. However, since the sensor node never sleeps, it has the shortest life.

604は、一定期間連続で観測(614)した観測値を結合(615)して一つのパケットとして送信(616)した後、休眠する動作を繰り返すデータを表す。本方式では高頻度の観測を行うことができ、通信帯域を節約し、且電池寿命を長くすることが可能である。   Reference numeral 604 represents data that repeats a sleep operation after combining (615) the observation values observed (614) continuously for a certain period and transmitting (616) as one packet. In this method, high-frequency observation can be performed, communication bandwidth can be saved, and battery life can be extended.

以上の観測パターンにおいてサーバが受信し得る観測値と観測値のデータベースへの格納形式、およびデータベースから値を取得した際のメモリ上での保持形式等のデータ形式を整理した図を、図7のデータベース内の観測値表現と、データベース検索結果に示す。また、各々の観測パターンのInformationを図8に示す。   Fig. 7 shows the data format such as the observation values that can be received by the server in the above observation pattern, the storage format of the observation values in the database, and the retention format in the memory when the values are acquired from the database. It is shown in the observation value expression in the database and the database search result. Information of each observation pattern is shown in FIG.

図7において、601に示す、イベント発生時のみ観測値を送信するパターンでは、イベント発生から終了まで一定の観測値709がある期間Δd持続するデータ構造701として示される。本観測値群を説明するメタ情報として、観測開始時刻T、観測時間Δdが必要である。本動作のInformationを図8の805に示す。データ部時系列を説明する情報として、ノードID<id>1401、観測開始時刻<startTime>1402、観測時間<totalTime>1403が必要である。各々の観測値803をデータ部802に、観測時刻<time>をメタ部801に保持する。   In FIG. 7, a pattern indicated by 601 in which an observation value is transmitted only when an event occurs is shown as a data structure 701 that lasts a certain observation value 709 for a certain period Δd from the event occurrence to the end. As meta information describing this observation value group, an observation start time T and an observation time Δd are required. Information of this operation is shown at 805 in FIG. Node ID <id> 1401, observation start time <startTime> 1402, and observation time <totalTime> 1403 are required as information describing the data part time series. Each observation value 803 is stored in the data unit 802 and the observation time <time> is stored in the meta unit 801.

602に示す、単一の観測値710を観測と共に送信し休眠する動作を繰り返すパターンは、観測値と観測時刻で表現されるデータ構造702に示される。本観測値を説明するメタ情報として、観測時刻Tを必要とする。本観測値をデータベースより取得した結果は、706に示す通り、それぞれの観測値に観測時刻Tが付与する形である。本動作のInformationを806に示す。データ部時系列を説明する情報として、ノードID<id>1401、観測開始時刻<startTime>1402があり、各々の観測値803をデータ部802に、観測時刻<time>をメタ部801に保持する。   A pattern that repeats the operation of transmitting a single observation value 710 together with the observation and sleeping as shown in 602 is shown in a data structure 702 expressed by the observation value and the observation time. The observation time T is required as meta-information explaining this observation value. The result of obtaining this observation value from the database is a form in which the observation time T is given to each observation value, as indicated by 706. Information of this operation is shown at 806. As information describing the data part time series, there are a node ID <id> 1401 and an observation start time <startTime> 1402, and each observation value 803 is held in the data part 802 and the observation time <time> is held in the meta part 801. .

603に示す、連続して観測し一定時間毎にまとめて送信する動作を繰り返すパターンは、観測値群、観測間隔、および観測期間で表現されるデータ構造703に示される。703のデータ部を説明するメタ情報として、観測開始時刻T、観測時間ΔT、観測間隔Δdが必要である。データベースへの観測値群の格納は、無線にて取得したペイロードを1つのレコードとしてそのまま格納する。これにより、例えば50Hzで観測される1秒間の3軸加速度をデータベースに格納する場合、観測時刻毎にカラムを分割して格納するとデータベースへのアクセスが20回必要であるが、ペイロードをまとめて1つのレコードとして格納する場合は1回のアクセスでデータベースへの格納が可能である。これにより、観測値群の高速な格納および取得が可能である。本動作のInformationを807に示す。データ部の時系列情報を説明する値として、ノードID<id>1401、観測開始時刻<startTime>1402、観測時間<totalTime>1403、観測間隔<observationInterval>1404をメタ部801に持つ。データ部には複数の観測値をまとめて観測値群804として、バイナリの配列として保持する。   A pattern 603 shown in Fig. 603 is a data structure 703 represented by an observation value group, an observation interval, and an observation period. As meta information describing the data portion 703, observation start time T, observation time ΔT, and observation interval Δd are required. The observation value group is stored in the database as it is as a single record of the payload acquired wirelessly. Thus, for example, when storing 1-axis 3-axis acceleration observed at 50 Hz in the database, if the column is divided and stored for each observation time, access to the database is required 20 times, but the payload is 1 When storing as one record, it can be stored in the database with one access. As a result, the observation value group can be stored and acquired at high speed. Information 807 of this operation is shown. The meta unit 801 has a node ID <id> 1401, an observation start time <startTime> 1402, an observation time <totalTime> 1403, and an observation interval <observationInterval> 1404 as values that describe time-series information in the data part. In the data part, a plurality of observed values are collectively stored as an observed value group 804 as a binary array.

604に示す、連続して観測し一定時間後に送信し、その後休眠するパターンは、データ構造704に示される。データベースでのデータ保持形式は、703に示されるデータ構造と同一にし、休眠期間のデータを保持しないことにより、容量を節約することが可能である。本観測値群を説明するメタ情報として、観測時刻T、観測間隔Δd、観測継続期間Δd2、休眠間隔Δtが必要である。本動作のInformationを808に示す。データ部時系列を説明する情報として、ノードID<id>1401、観測開始時刻<startTime>1402、観測時間<totalTime>1403、観測間隔<observationInterval>1404、観測継続期間<duration>1405、休眠間隔<sleepInterval>1406をメタ部801に持つ。観測値は、複数をまとめて観測値群804として<Data>以下のデータ部802に持つ。   The data structure 704 shows the pattern shown in 604, which is continuously observed, transmitted after a certain time, and then sleeping. The data holding format in the database is the same as the data structure shown in 703, and it is possible to save the capacity by not holding the data of the sleep period. As meta information describing this observation value group, an observation time T, an observation interval Δd, an observation duration Δd2, and a sleep interval Δt are required. Information of this operation is shown at 808. Information that describes the data part time series, node ID <id> 1401, observation start time <startTime> 1402, observation time <totalTime> 1403, observation interval <observationInterval> 1404, observation duration <duration> 1405, sleep interval < The meta section 801 has sleepInterval> 1406. A plurality of observation values are collectively stored in the data portion 802 below <Data> as an observation value group 804.

本実施例のシステムにおいては、以上の種々のデータ形式を相互に変換するロジックを提供することにより、ユーザは任意のInformationを取得することができるため、センサの種類によるInformationの違いを意識することなく解析モジュールやアプリケーションを作成することが可能である。   In the system of the present embodiment, by providing logic that mutually converts the various data formats described above, the user can acquire any information, and therefore be aware of the difference in information depending on the type of sensor. It is possible to create an analysis module and an application without any problem.

次に、本実施例において、上述したInformationのデータ形式を相互変換する具体例を示す。   Next, in this embodiment, a specific example of mutual conversion of the information data format described above will be shown.

センサノード104より送信される観測イベントないし観測値が蓄えられたデータベース207の観測値データベース116から、Informationを作成するシーケンスを、図9に示す。   FIG. 9 shows a sequence for creating information from the observation value database 116 of the database 207 in which observation events or observation values transmitted from the sensor node 104 are stored.

910はセンサから観測イベントが到来したタイミングでInformationを作成するシーケンスを示す図である。管理サーバ101は、ユーザから「センサ#1001から到来する10分間の観測値を変換し、フーリエ変換せよ」というスクリプト1802を、外部要求受付部201にて受信する(S901)。解析管理部204は、センサからの観測値を待つ観測値待機状態S902になる。観測値が到来する(S903)と、解析管理部204はスクリプトに記載されている識別子を確認し(S904)、Information作成に必要な10分間のデータが揃っているか確認する(S905)。10分間のデータが揃っていない場合、再び観測値待機状態になる。10分間のデータが揃った時点で、Informationの定義に従い、観測開始時刻、観測時間、観測間隔を抽出し(S906)、メタ部としてデータに添付し、Informationを作成し(S907)、該スクリプトに記載の解析モジュールへと配信する(S908)。   910 is a diagram showing a sequence for creating Information at the timing when an observation event arrives from the sensor. The management server 101 receives, from the user, the script 1802 “convert the observed value for 10 minutes coming from the sensor # 1001 and perform Fourier transform” in the external request reception unit 201 (S901). The analysis management unit 204 enters an observation value waiting state S902 that waits for an observation value from the sensor. When the observation value arrives (S903), the analysis management unit 204 confirms the identifier described in the script (S904), and confirms whether 10-minute data necessary for information creation is available (S905). If the 10-minute data is not available, the observation value standby state is entered again. When the 10-minute data is available, the observation start time, observation time, and observation interval are extracted according to the definition of Information (S906), attached to the data as a meta part, and Information is created (S907). Distribute to the analysis module described (S908).

図9の920は、タイマにより定期的に解析を実行する場合のInformation作成シーケンスを示す図である。管理サーバ101は、ユーザから「毎日2時にデータベースからデータを取得して解析用Informationに変換し、フーリエ変換を行い、結果をデータベースへ格納せよ」というスクリプト1803を、外部要求受付部201にて受信する(S921)。解析管理部204は、タイマを起動する(S921)。解析管理部204は、タイマからの観測値変換命令を受信(S922)すると、データベース207の観測値データベース116を検索し、スクリプトにより指定された時間分の観測値を取得する(S924)。観測値が揃っているか否かを確認し(S925)、揃っていない場合、図16に示す、欠損データ補完の種類の中からユーザの指定した方法によりデータを補完する(S926)。データが揃った場合、図7に示したInformationの定義に従い、観測開始時刻、観測時間、観測間隔などのメタ情報を抽出し(S927)、メタ部としてデータ部に添付し、Informationを作成し(S928)、受信スクリプトに記載の解析モジュールへと配信する(S929)。   920 in FIG. 9 is a diagram illustrating an information creation sequence in a case where analysis is periodically performed by a timer. The management server 101 receives a script 1803 from the user, “acquire data from the database at 2 o'clock every day, convert it to information for analysis, perform Fourier transform, and store the result in the database” at the external request reception unit 201 (S921). The analysis management unit 204 starts a timer (S921). Upon receipt of the observation value conversion command from the timer (S922), the analysis management unit 204 searches the observation value database 116 of the database 207 and acquires observation values for the time specified by the script (S924). It is confirmed whether or not the observation values are aligned (S925). If they are not aligned, the data is complemented by the method designated by the user from the types of missing data interpolation shown in FIG. 16 (S926). When the data is available, meta information such as observation start time, observation time, observation interval, etc. is extracted according to the definition of Information shown in FIG. 7 (S927), attached to the data part as a meta part, and information is created ( S928), and distributes to the analysis module described in the received script (S929).

例として、706から707へと変換する加工は、以下の通り行う。   As an example, processing for converting from 706 to 707 is performed as follows.

ユーザから変換指示を記述した、図18に示すスクリプト1802を外部要求受付部201にて受信する。1802は、ノードID#1001の観測イベントを600秒分用い、ID#1のInformationとして生成し、高速フーリエ変換(FFT: Fast Fourier Transform)を行うスクリプトである。観測値加工部208は該スクリプトに記載の識別子を確認し、イベント受付部114に対し観測値待機を指示する。イベント受付部114は、センサノード104から送られる観測イベントを受信する度にスクリプトに記載の識別子を確認し、要求のデータが揃っているか否かを確認する。データが揃っている場合、受信したイベントより観測開始時刻T、観測間隔ΔTを算出し、観測値をバイナリの配列に纏め、解析管理部204へと配信する。   The external request reception unit 201 receives the script 1802 shown in FIG. 1802 is a script that uses the observation event of node ID # 1001 for 600 seconds, generates it as Information of ID # 1, and performs Fast Fourier Transform (FFT). The observation value processing unit 208 confirms the identifier described in the script and instructs the event reception unit 114 to wait for the observation value. Each time the event reception unit 114 receives an observation event sent from the sensor node 104, the event reception unit 114 checks the identifier described in the script to check whether the requested data is available. When the data is available, the observation start time T and the observation interval ΔT are calculated from the received event, and the observation values are collected into a binary array and distributed to the analysis management unit 204.

図10は、図2の観測値加工部208の機能ブロック図を表す。観測値加工部208は、観測値加工管理部1001と、加工要求受付部1002と、加工結果出力部1003からなる。これらは、観測値加工部208同様、CPU301で実行されるプログラムとして構成されることは言うまでもない。加工要求受付部1002では、ユーザからの変換指示やセンサノード104からの通信が到来したタイミングで、観測値の加工を行う。観測値加工部208は、加工要求を加工要求受付部1002にて受け取る。観測値加工部1001において、解析要求スクリプト211に記載のInformationを確認し、該スクリプト211に記載の910或いは920の方法にて、観測値をInformationへと加工する。作成したInformationは、スクリプト211に記載の解析モジュールへ、加工結果出力部1003から出力される。また、スクリプト211の指示に従い、Informationはデータベース書き出し部205よりデータベース207の加工値データベース117へと出力される。   FIG. 10 shows a functional block diagram of the observation value processing unit 208 of FIG. The observation value processing unit 208 includes an observation value processing management unit 1001, a processing request reception unit 1002, and a processing result output unit 1003. Needless to say, these are configured as programs executed by the CPU 301, like the observed value processing unit 208. The processing request receiving unit 1002 processes the observation value at the timing when the conversion instruction from the user or the communication from the sensor node 104 arrives. The observation value processing unit 208 receives the processing request at the processing request receiving unit 1002. The observation value processing unit 1001 confirms the information described in the analysis request script 211, and processes the observation value into information by the method 910 or 920 described in the script 211. The created information is output from the processing result output unit 1003 to the analysis module described in the script 211. Information is output from the database writing unit 205 to the processing value database 117 of the database 207 in accordance with the instructions of the script 211.

図11は、図2の解析管理部204の機能ブロック図を表す図である。解析管理部204は、解析実行管理部1101と、解析モジュール選択部1102と、解析手順解釈部1103と、解析結果出力部1104と、解析用データ入力部1105からなる。解析実行管理部1101は、解析要求スクリプト1802を外部要求受付部201にて受け取るか、ないしスクリプト1803に記載のタイマイベントや観測イベントをイベント受付部203にて受け取ったタイミングで解析を行う。これらは、CPU301で実行されるプログラムとして構成されることは言うまでもない。   FIG. 11 is a functional block diagram of the analysis management unit 204 in FIG. The analysis management unit 204 includes an analysis execution management unit 1101, an analysis module selection unit 1102, an analysis procedure interpretation unit 1103, an analysis result output unit 1104, and an analysis data input unit 1105. The analysis execution management unit 1101 analyzes the analysis request script 1802 at the external request reception unit 201 or at the timing at which the timer reception or observation event described in the script 1803 is received by the event reception unit 203. Needless to say, these are configured as programs executed by the CPU 301.

解析手順解釈部1103においてスクリプトに記載の解析手順の解釈を行う。また、解析用データ入力部1105はデータベース読込み部206と通信し、データベース207より解析に必要なデータを取得する。解析モジュール選択部1102は、図18の1802又は1803に記載の解析モジュールを選択し、解析用データ入力部1105より取得したデータを解析モジュールへと配信し、解析結果を取得する。取得した解析結果は、解析結果出力部1104よりデータベース書出し部205へと出力され、データベース207へと格納される。   The analysis procedure interpretation unit 1103 interprets the analysis procedure described in the script. The analysis data input unit 1105 communicates with the database reading unit 206 and acquires data necessary for analysis from the database 207. The analysis module selection unit 1102 selects the analysis module described in 1802 or 1803 in FIG. 18, distributes the data acquired from the analysis data input unit 1105 to the analysis module, and acquires the analysis result. The acquired analysis result is output from the analysis result output unit 1104 to the database writing unit 205 and stored in the database 207.

図12は、解析用Information作成のためのデータをデータベース207から読み込む、データベース読込み部206の機能を表す図である。データベース読込み部206は、データベース読込み管理部1201、読込み要求受付部1202、データベース選択部1203からなる。これらも、CPU301で実行されるプログラムとして構成されることは言うまでもない。   FIG. 12 is a diagram illustrating a function of the database reading unit 206 that reads data for creating information for analysis from the database 207. The database reading unit 206 includes a database reading management unit 1201, a reading request receiving unit 1202, and a database selecting unit 1203. Needless to say, these are also configured as programs executed by the CPU 301.

データベース読込み部206は、解析管理部204から観測値または加工値の読込み要求を読み込み要求受付部1202にて受信する。データベース読込み管理部1201は、読込み要求受付部1202にて受け取った該要求1802を解釈し、データベース選択部1203にて該当するデータベース207を選択し、データを取得する。取得したデータは、該要求1802に記載の加工を行うため、観測値加工部208へと送られる。観測値加工部208は該要求1802に従い欠損補完部210にて補完し、読込み結果受付部1202より観測値加工部208へと出力される。   The database reading unit 206 receives an observation value or processing value reading request from the analysis management unit 204 at the reading request receiving unit 1202. The database read management unit 1201 interprets the request 1802 received by the read request reception unit 1202, selects the corresponding database 207 by the database selection unit 1203, and acquires data. The acquired data is sent to the observation value processing unit 208 in order to perform the processing described in the request 1802. The observation value processing unit 208 is supplemented by the defect complementation unit 210 in accordance with the request 1802 and is output from the reading result reception unit 1202 to the observation value processing unit 208.

図13は、解析結果をデータベース207に出力するための、データベース書出し部205の機能を表す図である。データベース書出し部205は、データベース書込み管理部1301と、解析管理部204から解析結果を取得する解析結果取得部1302と、解析結果のInformationを判断するデータ構造判断部1303と、データ格納先を選択するデータベース選択部1304からなる。   FIG. 13 is a diagram showing the function of the database writing unit 205 for outputting the analysis result to the database 207. The database writing unit 205 selects a database writing management unit 1301, an analysis result acquisition unit 1302 that acquires an analysis result from the analysis management unit 204, a data structure determination unit 1303 that determines information of the analysis result, and a data storage destination A database selection unit 1304 is included.

解析結果は解析結果取得部1302において解析管理部204より受取り、データベース書込み管理部1301へと配送される。データ構造判断部1303は、受取った該解析結果の識別子とデータベース書込み要求スクリプトに記載のInformationの識別子を比較し、一致する場合はデータベース書込み管理部1301へと該解析結果を返戻する。該識別子が一致しない場合はデータ加工部208へと配送し、加工結果800を受取り、データベース書込み管理部1301へと該加工結果を返戻する。データベース書込み管理部1301は、該加工結果800をデータベース選択部1304へと配送する。該加工結果を受取った該データベース選択部1304は、該スクリプトに記載のデータベース207へと該加工結果を出力する。   The analysis result is received by the analysis result acquisition unit 1302 from the analysis management unit 204 and delivered to the database write management unit 1301. The data structure determination unit 1303 compares the received identifier of the analysis result with the information identifier described in the database write request script, and if they match, returns the analysis result to the database write management unit 1301. If the identifiers do not match, the data is delivered to the data processing unit 208, receives the processing result 800, and returns the processing result to the database write management unit 1301. The database write management unit 1301 delivers the processing result 800 to the database selection unit 1304. The database selection unit 1304 that has received the processing result outputs the processing result to the database 207 described in the script.

図15は、欠損補完部210におけるデータ欠損時の補完を表すシーケンス図である。   FIG. 15 is a sequence diagram showing complementation at the time of data loss in the loss complementation unit 210.

図15の左部に示す1501は、観測値を受信する毎に欠損の補完を行う場合のシーケンス図である。サーバはイベント受付部203において観測値を受信すると(S1501)、データ部を確認し、欠落の有無を確認する(S1502)。その後、ユーザからの要求1800に従い図16から補完方法を選択し(S1503)、欠損値の補完を行い(S1504)、Informationを作成し、このInformationを観測値入力部へと送信する(S1505)。   Reference numeral 1501 shown in the left part of FIG. 15 is a sequence diagram in the case of performing defect complementation every time an observation value is received. When the server receives the observation value at the event reception unit 203 (S1501), the server confirms the data part and confirms whether there is any missing (S1502). Thereafter, a complementing method is selected from FIG. 16 according to a request 1800 from the user (S1503), missing value compensation is performed (S1504), information is created, and this information is transmitted to the observation value input unit (S1505).

図15の右部に示す1502は、定期的ないしユーザが指定したタイミングでデータベースから観測値を取得する際に、欠損データを補完するシーケンスを表す図である。欠損補完部210は、観測値要求を受信する(S1521)とデータベースを検索する(S1522)。データベースより取得した観測値の欠損の有無を確認し(S1523)、欠損がある場合は該スクリプトに記載の補完方法を確認し(S1524)、値を補完する(S1525)。補完結果はInformationに加工され、該Informationを観測値入力部へと送信する。   1502 shown in the right part of FIG. 15 is a diagram showing a sequence for complementing missing data when acquiring observation values from the database periodically or at a timing designated by the user. The missing complement unit 210 receives the observation value request (S1521) and searches the database (S1522). The observation value acquired from the database is confirmed to be missing (S1523). If there is a defect, the complementing method described in the script is confirmed (S1524), and the value is complemented (S1525). The complement result is processed into Information, and the Information is transmitted to the observation value input unit.

図16は、欠損補完部210における欠損値の補完方法を示す。1600は欠損の観測値および欠損の状態を表し、1604は観測値が存在することを示し、1605は観測値が欠損していることをそれぞれ示している。   FIG. 16 shows a missing value complementing method in the missing complement unit 210. 1600 represents a missing observation value and a missing state, 1604 indicates that the observation value exists, and 1605 indicates that the observation value is missing.

1601は欠損箇所を空の値で補完することを示している。Information利用者は、データを利用する際に欠損値に応じて対応する必要がある。1602は、欠損箇所を欠損以前に最後に取得した値により補完することを示している。1603は、欠損箇所を前後の関係から推定して補間することを示している。推定方法は、線形補間、移動平均による補間がある。   1601 indicates that a missing portion is complemented with an empty value. Information users need to respond according to missing values when using data. 1602 indicates that the missing part is complemented by the last value acquired before the missing part. Reference numeral 1603 indicates that a missing portion is estimated and interpolated from the preceding and following relationships. The estimation method includes linear interpolation and moving average interpolation.

図17は、複数ノードが同時に観測している際の観測時刻のずれを補正する動作を表す図である。図17上部の1701は、要求時刻以前に到来した観測値(時系列値の最新値)を用いて補正を行うことを示している。同図下部の1702は、要求時刻前後において最も近い観測値(時系列値の最近値)を用いて補正を行うことを示している。   FIG. 17 is a diagram illustrating an operation for correcting a shift in observation time when a plurality of nodes are simultaneously observing. 1701 in the upper part of FIG. 17 indicates that correction is performed using an observed value (latest value of the time series value) that arrived before the request time. 1702 in the lower part of the figure indicates that correction is performed using the closest observed value (the latest value of the time series value) before and after the request time.

次に、センサネットサーバの機能構成の一部である解析管理部の第2の実施例を説明する。   Next, a second embodiment of the analysis management unit, which is a part of the functional configuration of the sensor network server, will be described.

図19A、19B、19Cは、組織のアクティビティを可視化する場合の解析管理部の具体的実施例を説明する図である。   19A, 19B, and 19C are diagrams illustrating a specific example of the analysis management unit in the case where the activity of the organization is visualized.

組織のアクティビティ可視化には、組織のアクティビティである,位置・歩行・電話・在席といったメンバの活動状態や,業務における会話・影響・親密さといったコミュニケーション関係を検出する必要があるが、その一つの方法が、センサネットワークを活用することである。このコミュニケーションを検出するためにセンサによって取得する物理量には、対面状態を検出する赤外線、発話や環境を検出する音声、人の動作を検出する加速度がある。   In order to visualize the activity of an organization, it is necessary to detect the activity status of members such as position, walking, telephone, and presence, and communication relationships such as conversation, influence, and intimacy in business. The method is to make use of a sensor network. The physical quantity acquired by the sensor to detect this communication includes infrared rays for detecting the face-to-face state, voice for detecting speech and environment, and acceleration for detecting human movement.

これらセンサにより得られる物理量から、人の動きや人と人とのコミュニケーションを検出し、組織の状態を可視化することで組織の改善に役立てるためのシステムが、ビジネス顕微鏡システムである。   A business microscope system is a system for detecting the movement of a person and communication between people from the physical quantities obtained by these sensors and visualizing the state of the organization to help improve the organization.

図19Aに示すように、2人の人物が、センサ#1とセンサ#2を装着している。前記センサにはコミュニケーションを検知するため、加速度センサ1901、音声センサ1902、赤外線送受信による対面センサ1903がそれぞれ設置されており、加速度センサにおいて人の動きを、音声センサおよび対面センサにおいてコミュニケーションを、それぞれ検出する。   As shown in FIG. 19A, two people wear sensor # 1 and sensor # 2. In order to detect communication, the sensor is equipped with an acceleration sensor 1901, an audio sensor 1902, and a face-to-face sensor 1903 by infrared transmission / reception, each detecting human movement in the acceleration sensor and communication in the voice sensor and face-to-face sensor. To do.

図19B上部に、加速度センサ1901、音声センサ1902、および対面センサ1903の観測と観測値送信のタイミングを示している。加速度センサ1901は602の形式にて観測および送信を繰り返す。音声センサ1902は、人間の音声を認識するため8000Hzという高頻度での観測が必要である。そのため、高頻度かつ低消費容量の604の形式にて観測および送信を行う。対面センサ1903は、赤外線にて通信した相手のIDを602の形式にて送信する。ただし、赤外線の通信がいない場合、null値を送信する。   In the upper part of FIG. 19B, the observation timing of the acceleration sensor 1901, the voice sensor 1902, and the face-to-face sensor 1903 and the transmission timing of the observation value are shown. The acceleration sensor 1901 repeats observation and transmission in the form of 602. The voice sensor 1902 needs to be observed at a high frequency of 8000 Hz in order to recognize a human voice. Therefore, observation and transmission are performed in the form of 604 with high frequency and low consumption capacity. The face-to-face sensor 1903 transmits the ID of the other party that communicated with infrared rays in the format 602. However, if there is no infrared communication, a null value is transmitted.

図19下部に以上の観測値を用いて動作、対面、および発話を認識した結果を1904として示す。また、センサ#1の解析結果を1905に、センサ#2の解析結果を1906にそれぞれ示す。1904は、センサ#1所有者が歩いてセンサ#2所有者の所へ行き会話したことを示す。解析結果1904のデータ構造は、図7の601および602で表現することが可能である。   The result of recognizing motion, face-to-face, and speech using the above observed values is shown as 1904 in the lower part of FIG. Also, the analysis result of sensor # 1 is shown in 1905, and the analysis result of sensor # 2 is shown in 1906. 1904 indicates that the owner of sensor # 1 walked to the owner of sensor # 2 and had a conversation. The data structure of the analysis result 1904 can be expressed by 601 and 602 in FIG.

図19Cに、加速度センサの観測値を用いて動作解析を行うフローチャートを示す。加速度センサの観測値解析は、1時間置きにデータベースから1時間分の観測値を取得し、1分置きの動作解析結果として出力する。   FIG. 19C shows a flowchart for performing motion analysis using the observation values of the acceleration sensor. The observation value analysis of the acceleration sensor acquires the observation value for one hour from the database every other hour and outputs it as the operation analysis result every other minute.

同図左部の1905は、解析管理部204においてデータベースから観測値を取得し、解析モジュール202へと配送するフローチャートである。ユーザは外部通信部302を介して解析管理部204に対し、「1時間分の加速度観測値を取得せよ」というスクリプトを送信する。解析管理部204は該スクリプトを受信し(S1901)、該スクリプトに記載のデータ型および解析時間を確認し、1時間置きに起動するタイマを起動する(S1902)。解析管理部は、タイマからの観測値取得命令を受信すると(S1903)、データベースより加速度を1時間分取得する(S1905)。その後取得した観測値が1時間分そろっているかを確認し(S1906)、そろっていない場合、空白はNULLにより埋められる(S1907)。データが全て揃った時点で、観測間隔などのメタ情報を抽出し(S1908)、Informationを作成し(S1909)、解析モジュール202へと配送する(S1910)。   1905 in the left part of the figure is a flowchart in which the analysis management unit 204 acquires observation values from the database and delivers them to the analysis module 202. The user transmits a script “acquire acceleration observation values for one hour” to the analysis management unit 204 via the external communication unit 302. The analysis management unit 204 receives the script (S1901), checks the data type and analysis time described in the script, and starts a timer that starts every other hour (S1902). When receiving the observation value acquisition command from the timer (S1903), the analysis management unit acquires the acceleration for one hour from the database (S1905). Thereafter, it is confirmed whether or not the acquired observation values are aligned for one hour (S1906). If they are not aligned, the blank is filled with NULL (S1907). When all the data is collected, meta information such as observation intervals is extracted (S1908), information is created (S1909), and delivered to the analysis module 202 (S1910).

同図右部の1906は、解析モジュール202にて、Informationを受信し、動作解析をするフローチャートである。解析モジュールは、Informationを受信すると(S1911)、スクリプトに記載の型の定義に従いデータ部を抽出し(S1912)、1分置きのデータを用いて判別分析を行う(S1913)。判別分析は、1時間分の観測値全てに対して行う。1時間分の解析が終了しているかを確認し(S1914)、終了していない場合は前回分析した次の観測値を分析する。全データの解析が終了すると、解析結果をデータ部とするInformationを作成し(S1915)、解析管理部へと配信する(S1906)
以上の手順により、加速度観測値から動作の解析が可能である。本手順で用いた判別分析は汎用的な手法である。そのため、入力されるデータが音声観測値の場合でも、加速度観測値とInformationを統一することにより、解析を行うことが可能である。
1906 in the right part of the figure is a flowchart in which the analysis module 202 receives information and analyzes the operation. When receiving the information (S1911), the analysis module extracts a data part according to the type definition described in the script (S1912), and performs a discriminant analysis using the data every other minute (S1913). Discriminant analysis is performed on all observations for one hour. It is confirmed whether the analysis for one hour has been completed (S1914), and if it has not been completed, the next observation value analyzed last time is analyzed. When the analysis of all data is completed, information with the analysis result as the data part is created (S1915) and distributed to the analysis management part (S1906)
According to the above procedure, the motion can be analyzed from the observed acceleration value. The discriminant analysis used in this procedure is a general technique. Therefore, even when the input data is a voice observation value, it is possible to perform analysis by unifying the acceleration observation value and Information.

続いて、センサネットサーバ101のCPU301で実行される機能である解析管理部204の第3の実施例を図20、12を用いて説明する。   Next, a third embodiment of the analysis management unit 204, which is a function executed by the CPU 301 of the sensor network server 101, will be described with reference to FIGS.

図20は、配管継目や配管サポート部の振動予防保全に対する実施例である。   FIG. 20 is an embodiment for vibration preventive maintenance of a pipe joint and a pipe support part.

図20に原子力プラントにおける配管系統の概略図を示す。配管系統は,ポンプ2001や弁2002,それらを繋ぐ配管2003と,配管2003を支えるサポート部2007から構成される。配管の障害は次の原因で発生すると考えられる。第一の原因としては,振動により配管継目に加えられる応力の繰り返し回数が,配管の疲労限界回数を超えて加えられることにより配管継目2006にクラックが発生し,水漏れが発生する。第二の原因としては,配管サポート部2007に加えられる応力の繰り返し回数が,配管サポート部2007の疲労限界回数を超えて加えられることにより配管サポート部2007が破壊され,それにより配管2003自体に想定外の応力が加わり,配管破断が発生し,水漏れが発生する。第三の原因としては,ポンプのキャビテーション等の影響により配管内部に繰り返し流体による衝撃が加えられ,それにより配管内部の肉厚が減じられる。配管肉厚が閾値を超えて小さくなった時点で水漏れが発生する。   FIG. 20 shows a schematic diagram of a piping system in a nuclear power plant. The piping system includes a pump 2001 and a valve 2002, a piping 2003 connecting them, and a support unit 2007 that supports the piping 2003. The failure of piping is thought to occur for the following reasons. The first cause is that the number of repetitions of stress applied to the pipe joint due to vibration exceeds the fatigue limit of the pipe, causing cracks in the pipe joint 2006 and water leakage. The second cause is that the pipe support part 2007 is destroyed when the number of repeated stresses applied to the pipe support part 2007 exceeds the fatigue limit number of the pipe support part 2007, thereby causing the pipe 2003 itself to be assumed. External stress is applied, pipe breakage occurs, and water leaks. The third cause is that the impact of the fluid is repeatedly applied to the inside of the pipe due to the effects of pump cavitation, etc., thereby reducing the wall thickness inside the pipe. Water leakage occurs when the pipe wall thickness becomes smaller than the threshold value.

配管継目や配管サポート部の破壊を予測するためには,定期的に配管系統の複数箇所に振動センサ2008を設置して配管振動の観測を行い,これにより配管系統全体の応力解析を行い,配管継目2006ないし配管サポート部2007に加えられる応力を計算する。配管の破断を引き起こす振動の周波数は,最大200Hz程度とされている。   In order to predict the breakage of pipe joints and pipe support parts, vibration sensors 2008 are periodically installed at multiple locations in the piping system to observe piping vibrations, thereby conducting stress analysis of the entire piping system and piping. Calculate the stress applied to seam 2006 or pipe support 2007. The frequency of vibration that causes pipe breakage is about 200 Hz at maximum.

プラントにおける配管の総数は5万本あり、全ての配管にノードを設置し200Hzの加速度を送付した場合、転送帯域が逼迫する問題がある。前記問題を解決するため、図21に示す通り、ノードは観測値を全て送信するわけではなく、観測値2100をノード内の不揮発性メモリ408に保存した後、ノードがリサイズしたデータを送信する。リサイズ方法は、時間枠で区切ってリサイズを行う方法2101、観測値を間引いてリサイズする方法2102、分解能を下げてリサイズする方法2103がある。   The total number of pipes in the plant is 50,000. When nodes are installed in all pipes and 200Hz acceleration is sent, there is a problem that the transfer bandwidth becomes tight. In order to solve the above problem, as shown in FIG. 21, the node does not transmit all the observed values, but stores the observed value 2100 in the nonvolatile memory 408 in the node, and then transmits the resized data. As the resizing method, there are a method 2101 for resizing by dividing by a time frame, a method 2102 for resizing by thinning observation values, and a method 2103 for reducing the resolution and resizing.

ユーザは、解析管理部204で実行される応力解析や振動波形表示用の上位プログラムを作成し、外部要求受付部201へと観測値取得要求を送信する。センサネットサーバ101は、該要求を受信後、ノードからリサイズ後の観測値をイベント受付部114にて受信し、観測値加工部208にて該要求に記載の加工を行い、Information800を作成し、応力解析2014や振動波形表示用2015の上位アプリケーション2016へと配送する。これにより、上位プログラムの改変無しに、リサイズされたデータを扱うことが可能である。   The user creates a higher-order program for stress analysis and vibration waveform display executed by the analysis management unit 204 and transmits an observation value acquisition request to the external request reception unit 201. After receiving the request, the sensor network server 101 receives the resized observation value from the node at the event reception unit 114, performs the processing described in the request at the observation value processing unit 208, and creates the Information 800, Delivered to top-level applications 2016 for stress analysis 2014 and vibration waveform display 2015. Thereby, it is possible to handle the resized data without modifying the upper program.

以上、本発明の種々の実施の形態を詳述してきたが、本発明これらの実施形態に限定されるものでないこと言うまでもない。   While various embodiments of the present invention have been described in detail above, it goes without saying that the present invention is not limited to these embodiments.

本発明が実施されるセンサネットの一システム構成を表す図である。1 is a diagram illustrating a system configuration of a sensor network in which the present invention is implemented. 実施例1のセンサネットサーバの機能構成を示したブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of a sensor network server according to the first embodiment. 実施例1のセンサネットサーバのハードウェア構成を示したブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of a sensor network server according to the first embodiment. 実施例1のセンサノードのハードウェア構成を示したブロック図である。FIG. 3 is a block diagram illustrating a hardware configuration of a sensor node according to the first embodiment. 実施例1のセンサノードの機能構成を示したブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of a sensor node according to the first embodiment. 実施例1のセンサノードの動作の種類を示した図である。FIG. 6 is a diagram illustrating the types of operation of the sensor node according to the first embodiment. 実施例1の観測値のInformationの種類を示した図である。It is the figure which showed the kind of information of the observed value of Example 1. FIG. 実施例1のInformationをXMLで表現した図である。It is the figure which expressed Information of Example 1 with XML. 実施例1のInformationを作成するフローチャートである。3 is a flowchart for creating information of the first embodiment. 実施例1の観測値加工部の機能構成を示したブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of an observation value processing unit according to the first embodiment. 実施例1の解析管理部の機能構成を示したブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of an analysis management unit according to the first embodiment. 実施例1のデータベース読込み部の機能構成を示したブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of a database reading unit according to the first embodiment. 実施例1のデータベース書出し部の機能構成を示したブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of a database writing unit according to the first embodiment. 実施例1のデータベース内のデータ保持形式を示した図である。It is the figure which showed the data holding | maintenance format in the database of Example 1. FIG. 実施例1の欠損値を補完する処理のフローチャートである。It is a flowchart of the process which complements the missing value of Example 1. 実施例1の欠損値の補完方法の種類を示す図である。It is a figure which shows the kind of complement method of the missing value of Example 1. 実施例1の複数ノード存在する場合の観測時刻の補正方法を示す図である。It is a figure which shows the correction method of the observation time in case the some node of Example 1 exists. 実施例1のInformationを作成するためのスクリプト例を表す図である。FIG. 6 is a diagram illustrating a script example for creating Information of the first embodiment. 実施例2の組織のアクティビティ可視化を説明するための図(その1)である。FIG. 10 is a diagram (part 1) for explaining the visualization of the activity of the organization according to the second embodiment. 実施例2の組織のアクティビティ可視化を説明するための図(その2)である。FIG. 10 is a diagram (part 2) for explaining the visualization of the activity of the organization according to the second embodiment. 実施例2の組織のアクティビティ可視化を説明するための図(その3)である。FIG. 13 is a third diagram illustrating visualization of an activity of an organization according to the second embodiment. 実施例3の配管の予防保全を説明するための図である。It is a figure for demonstrating the preventive maintenance of piping of Example 3. FIG. 実施例3のノードによりリサイズされた観測値をInformationに変換する機能を表す図である。It is a figure showing the function which converts the observation value resized by the node of Example 3 into Information.

符号の説明Explanation of symbols

101…センサネットサーバ、102…ゲートウェイ、103…ルータノード、104…センサノード、105…管理計算機、106…ライアント計算機、107…有線センサ、108…RFIDリーダ、109…LAN、114…イベント受付部、116…観測値データベース、117…加工値データベース、127…解析マネージャー、201…外部要求受付部、202…解析モジュー群、204…解析管理部、205…データベース書出し部、206…データベース読込み部、208…観測値加工部、209…観測時刻修正部、210…欠損補完部、211…解析要求受付部、212…データ構造Information、213…タイマ、214…観測イベント。   101 ... Sensor network server, 102 ... Gateway, 103 ... Router node, 104 ... Sensor node, 105 ... Management computer, 106 ... Client computer, 107 ... Wired sensor, 108 ... RFID reader, 109 ... LAN, 114 ... Event reception unit, 116 ... Observation value database, 117 ... Processing value database, 127 ... Analysis manager, 201 ... External request reception unit, 202 ... Analysis module group, 204 ... Analysis management unit, 205 ... Database writing unit, 206 ... Database reading unit, 208 ... Observation value processing unit, 209... Observation time correction unit, 210... Defect missing unit, 211... Analysis request reception unit, 212.

Claims (13)

間欠的に観測を行う複数のセンサノードとネットワークを介して接続されるセンサネットサーバであって、
通信部と処理部と記憶部を有し、
前記処理部は、前記通信部を介して受信した、同一の前記センサノードで観測された複数の時系列値に基づき、前記時系列値を時系列情報として保持するデータ部と、前記時系列情報を説明する値を保持するメタ部とからなるデータ構造を作成し、
前記メタ部の前記時系列情報を説明する値に基づき、前記データ部の前記時系列情報を解釈し、前記複数のセンサノードから異なる表現形式で受信した前記時系列情報に対して、時刻補正及び時刻補完を行い、ユーザから指定されるデータ形式の時系列情報に変換する
ことを特徴とするセンサネットサーバ。
A sensor network server connected via a network to a plurality of sensor nodes that perform intermittent observation,
A communication unit, a processing unit, and a storage unit;
The processing unit is configured to receive the time series value as time series information based on a plurality of time series values observed at the same sensor node received via the communication unit, and the time series information. Create a data structure that consists of a meta part that holds the values that describe
Based on the value describing the time-series information in the meta part, the time-series information in the data part is interpreted, time correction is performed on the time-series information received in a different expression form from the plurality of sensor nodes, and Perform time interpolation and convert to time-series information in the data format specified by the user .
A sensor net server characterized by that.
請求項1記載のセンサネットサーバであって、
前記データ部は、前記時系列値を複数種類のデータ形式で保持し、
前記メタ部は、前記時系列値の前記データ形式の種類を示す識別子と、前記時系列情報を説明する値との集合を保持する
ことを特徴とするセンサネットサーバ。
The sensor network server according to claim 1,
The data portion holds the time series values in a plurality of types of data formats,
The meta unit holds a set of an identifier indicating the type of the data format of the time series value and a value describing the time series information .
A sensor net server characterized by that.
請求項1記載のセンサネットサーバであって、
前記処理部は、
複数の前記センサノード毎の前記時系列値の時間軸上のずれを、ユーザからの指定に基づき、前記時系列値の最新値、又は最近値のいずれかにより補正して前記時刻補正を行う
ことを特徴とするセンサネットサーバ。
The sensor network server according to claim 1,
The processor is
The time correction is performed by correcting the time-series deviation of the time-series values for each of the plurality of sensor nodes on the basis of designation from the user based on the latest value or the latest value of the time-series values .
A sensor net server characterized by that.
請求項1記載のセンサネットサーバであって、
前記処理部は、
前記時系列値が欠損している場合、ユーザからの指定に基づき、NULL値、直前の前記時系列値、或いは前後関係からの予測値のいずれかの方法により、前記時系列値を補完して前記時刻補完を行う
ことを特徴とするセンサネットサーバ。
The sensor network server according to claim 1,
The processor is
When the time series value is missing, the time series value is complemented by a null value, the immediately preceding time series value, or the predicted value from the context based on designation from the user. Performing the time completion ,
A sensor net server characterized by that.
請求項1記載のセンサネットサーバであって、
前記記憶部は、複数種類の前記時系列値を変換する変換方法を記載したテーブルを持ち、
前記処理部は、ユーザの指定した種類の前記時系列値の種類と、前記記憶部に格納した前記時系列値の種類を比較し、前記テーブルに記載された対応する前記変換方法により前記時系列値の種類を変換する
ことを特徴とするセンサネットサーバ。
The sensor network server according to claim 1,
The storage unit has a table describing a conversion method for converting a plurality of types of the time series values,
The processing unit compares the type of the time series value specified by the user with the type of the time series value stored in the storage unit, and performs the time series by the corresponding conversion method described in the table. Convert value types ,
A sensor net server characterized by that.
請求項1記載のセンサネットサーバであって、
前記処理部は、
前記データ構造の前記データ形式の変換手順、或いは前記データ構造の解析手順を指定するスクリプトを受け付け、前記スクリプトに基づき、ユーザが指定する前記変換手順を組み替えられる、
ことを特徴するセンサネットサーバ。
The sensor network server according to claim 1,
The processor is
Accepting a script that specifies the data format conversion procedure of the data structure or the data structure analysis procedure, and based on the script, the conversion procedure specified by the user can be rearranged.
A sensor net server characterized by that.
請求項2に記載のセンサネットサーバであって、
前記記憶部は、
前記時系列値を複数種類のデータ形式で保持した前記データ部と、前記時系列値の前記データ形式の種類を示す前記識別子と前記時系列情報を説明する値との集合を保持する前記メタ部とからなる前記データ構造を格納する
ことを特徴とするセンサネットサーバ。
The sensor net server according to claim 2,
The storage unit
The data part that holds the time series value in a plurality of types of data formats, and the meta part that holds a set of the identifier that indicates the type of the data format of the time series value and a value that describes the time series information Storing the data structure consisting of :
A sensor net server characterized by that.
センサによる観測値を解析するセンサネットシステムであって、
間欠的に観測を行う、複数のセンサノードと、
前記複数のセンサノードとネットワークを介して接続されるセンサネットサーバとを備え、
前記センサネットサーバは、
前期ネットワークを介して受信した、同一の前記センサノードで観測された複数の時系列値に基づき、前記時系列値を時系列情報として保持するデータ部と、前記時系列情報を説明する値を保持するメタ部からなるデータ構造を管理し、
前記メタ部の前記時系列情報を説明する値に基づき、前記データ部の前記時系列情報を解釈し、前記複数のセンサノードから異なる表現形式で受信した前記時系列情報に対して、時刻補正及び時刻補完を行い、ユーザから指定されるデータ形式の時系列情報に変換する
ことを特徴とするセンサネットシステム
A sensor network system for analyzing observation values from sensors ,
A plurality of sensor nodes that perform intermittent observations;
A sensor network server connected to the plurality of sensor nodes via a network;
The sensor net server is
Based on a plurality of time series values observed at the same sensor node received via the previous period network, a data part for holding the time series values as time series information, and a value for explaining the time series information are held. Manage the data structure consisting of meta parts
Based on the value describing the time-series information in the meta part, the time-series information in the data part is interpreted, time correction is performed on the time-series information received in a different expression form from the plurality of sensor nodes, and Perform time interpolation and convert to time-series information in the data format specified by the user .
A sensor network system characterized by this.
請求項8記載のセンサネットシステムであって、
前記センサネットサーバは、
前記データ部に、複数種類のデータ形式で前記時系列値を保持し、
前記メタ部に、前記時系列値の前記データ形式の種類を示す識別子と、前記時系列情報を説明する値との集合を保持する
ことを特徴とするセンサネットシステム。
The sensor network system according to claim 8 ,
The sensor net server is
In the data portion, the time series values are held in a plurality of types of data formats,
The meta part holds a set of an identifier indicating the type of the data format of the time series value and a value describing the time series information .
A sensor network system characterized by this.
請求項記載のセンサネットシステムであって、
前記センサネットサーバは、
ユーザからの要求が入力される入力部を有し、
複数の前記センサノード毎の前記時系列値の時間軸上のずれを、前記入力部を介して入力される前記要求に基づき、前記時系列値の最新値、或いは最近値のいずれかにより補正して前記時刻補正を行う
ことを特徴とするセンサネットシステム。
The sensor network system according to claim 8 ,
The sensor net server is
It has an input part where a request from the user is input,
Based on the request input via the input unit, the time series value of each of the plurality of sensor nodes is corrected based on either the latest value or the latest value of the time series value. To correct the time ,
A sensor network system characterized by this.
請求項記載のセンサネットシステムであって、
前記センサネットサーバは、
ユーザからの要求が入力される入力部を有し、
前記時系列値が欠損している場合、前記入力部を介して入力される前記要求に基づき、NULL値、直前の前記時系列値、或いは前後関係からの予測値のいずれかの方法により、前記時系列値を補完して前記時刻補完を行う
ことを特徴とするセンサネットシステム。
The sensor network system according to claim 8 ,
The sensor net server is
It has an input part where a request from the user is input,
When the time series value is missing, based on the request input through the input unit, the null value, the immediately preceding time series value, or the predicted value from the context, the method Complementing the time series value and performing the time completion ,
A sensor network system characterized by this.
請求項記載のセンサネットシステムであって、
前記センサネットサーバは、
ユーザからの要求が入力される入力部と、
複数種類の前記時系列値を変換する変換方法を記載したテーブルを蓄積する記憶部を有し、
前記入力部からの前記要求による前記時系列値の種類と、前記記憶部に格納した前記時系列値の種類を比較し、前記テーブルに記載された対応する前記変換方法により前記時系列値を変換する
ことを特徴とするセンサネットシステム。
The sensor network system according to claim 8 ,
The sensor net server is
An input unit for inputting a request from the user ;
A storage unit for storing a table describing a conversion method for converting a plurality of types of time series values;
The type of the time series value according to the request from the input unit is compared with the type of the time series value stored in the storage unit, and the time series value is converted by the corresponding conversion method described in the table. To
A sensor network system characterized by this.
請求項記載のセンサネットシステムであって、
前記センサネットサーバは、
ユーザからの要求スクリプトを受け付ける外部要求受け付け部を有し、
前記要求スクリプトにより、前記データ構造のデータ形式の変換手順、或いは前記データ構造の解析手順を組み替える
ことを特徴するセンサネットシステム。
The sensor network system according to claim 8 ,
The sensor net server is
It has an external request reception unit that receives request scripts from users ,
According to the request script, the conversion procedure of the data format of the data structure or the analysis procedure of the data structure is rearranged .
A sensor network system characterized by that.
JP2008010193A 2008-01-21 2008-01-21 Sensor network server and sensor network system Expired - Fee Related JP5074216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010193A JP5074216B2 (en) 2008-01-21 2008-01-21 Sensor network server and sensor network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008010193A JP5074216B2 (en) 2008-01-21 2008-01-21 Sensor network server and sensor network system

Publications (2)

Publication Number Publication Date
JP2009171497A JP2009171497A (en) 2009-07-30
JP5074216B2 true JP5074216B2 (en) 2012-11-14

Family

ID=40972130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010193A Expired - Fee Related JP5074216B2 (en) 2008-01-21 2008-01-21 Sensor network server and sensor network system

Country Status (1)

Country Link
JP (1) JP5074216B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019029808A (en) * 2017-07-28 2019-02-21 リンナイ株式会社 Communication system

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010062114A2 (en) * 2008-11-25 2010-06-03 Sung Jong-Woo Device and method for sensor node management based on metadata
KR101411120B1 (en) 2010-06-18 2014-06-25 미쓰비시덴키 가부시키가이샤 Data processing apparatus, data processing method, and computer readable recording medium having program recorded therein
JP5270623B2 (en) * 2010-08-19 2013-08-21 日本電信電話株式会社 Sensor node, sensor data processing method, and program
JP5900947B2 (en) * 2011-08-05 2016-04-06 日本電気株式会社 Sensor network system, sensor network control method, sensor node, sensor node control method, and sensor node control program
JP5642038B2 (en) * 2011-09-28 2014-12-17 株式会社東芝 System, apparatus, and program for hierarchical information collection
JPWO2013145254A1 (en) * 2012-03-30 2015-08-03 富士通株式会社 Program, apparatus, and method for executing distributed processing
WO2013145254A1 (en) * 2012-03-30 2013-10-03 富士通株式会社 Program, device, and method for executing distributed processing
JP2014191807A (en) * 2013-03-28 2014-10-06 Toshiba Mitsubishi-Electric Industrial System Corp General-purpose communication system magnetometric sensor and magnetic information collection system using the same
JP6098458B2 (en) * 2013-09-19 2017-03-22 株式会社デンソー Information processing device
JP6088403B2 (en) * 2013-11-25 2017-03-01 日本電信電話株式会社 Wireless transmission system
US10871994B2 (en) 2017-07-31 2020-12-22 Mitsubishi Electric Corporation Information processing device and information processing method
JP6919596B2 (en) * 2018-03-01 2021-08-18 オムロン株式会社 Measurement system and method
JP7454565B2 (en) 2018-10-04 2024-03-22 ウッドサイド エナジー テクノロジーズ プロプライエタリー リミテッド sensor device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002165210A (en) * 2000-08-04 2002-06-07 Matsushita Electric Ind Co Ltd Data-transmitting source and data transmitter/receiver
JP2006214767A (en) * 2005-02-01 2006-08-17 Kansai Electric Power Co Inc:The Measurement apparatus, measurement method, measurement program, and computer-readable storage medium storing measurement program
US7982603B2 (en) * 2006-03-28 2011-07-19 Hitachi, Ltd. Sensor net system, sensor net system data managing method, and sensor net system data managing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019029808A (en) * 2017-07-28 2019-02-21 リンナイ株式会社 Communication system

Also Published As

Publication number Publication date
JP2009171497A (en) 2009-07-30

Similar Documents

Publication Publication Date Title
JP5074216B2 (en) Sensor network server and sensor network system
RU2698422C1 (en) Intelligent communication device or device for collecting and evaluating information on equipment distributed over large territory, for example over large industrial enterprise or oil deposit
JP4885463B2 (en) Sensor network system, sensor data processing method and program
US20190332514A1 (en) Mobile application interactive user interface for a remote computing device monitoring a test device
JP2019220189A (en) Supervisor engine for process control
US20180204165A1 (en) Maintenance operation support device, maintenance operation support method, and non-transitory computer readable storage medium
CN106506213B (en) A kind of internet of things equipment visualization interface display methods and system
US9319843B2 (en) Adaptive acceleration-based reminders
US9825818B2 (en) Device hierarchy building for a remote terminal unit
WO2009076203A1 (en) System and methods for facilitating collaboration of a group
JP2017174127A (en) Maintenance information sharing device, maintenance information sharing method, maintenance information sharing program, and recording medium
TWI601089B (en) Systems and methods for event attendance notification
KR20060128597A (en) Sensor network system, method for data processing of a sensor network system
JP2013527957A5 (en)
Wang et al. Remote machine maintenance system through Internet and mobile communication
WO2013146082A1 (en) Information processing system, information processing method, information processing device, and control method and control program therefor
US20160026977A1 (en) Calendar Event Scheduling Based on Sensor-Detected Events
JP2023510091A (en) Asset management system
JP2017062685A (en) Inspection work support device, system, and method
US20180156695A1 (en) Maintenance managing apparatus, maintenance managing method, and non-transitory computer readable storage medium
EP3893126A1 (en) Data retrieval device, data retrieval method and program, and edge server and program thereof
KR20100025941A (en) Wireless sensor node for production management system and sensor server and production management system and method for production management
JP2006252207A (en) Action history management system, action history management device, display application program and schedule management program
JP2011215813A (en) External device characteristic display system, display apparatus and external device characteristic display method
CN107273219B (en) Apparatus control method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120229

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120702

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120731

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120823

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150831

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees