JP2014071495A - Data management method, information processor, and program - Google Patents

Data management method, information processor, and program Download PDF

Info

Publication number
JP2014071495A
JP2014071495A JP2012214928A JP2012214928A JP2014071495A JP 2014071495 A JP2014071495 A JP 2014071495A JP 2012214928 A JP2012214928 A JP 2012214928A JP 2012214928 A JP2012214928 A JP 2012214928A JP 2014071495 A JP2014071495 A JP 2014071495A
Authority
JP
Japan
Prior art keywords
sensor
data
determination
sensor data
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012214928A
Other languages
Japanese (ja)
Other versions
JP6020004B2 (en
Inventor
幹篤 ▲角▼岡
Motoshi Sumioka
Masahiko Murakami
雅彦 村上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012214928A priority Critical patent/JP6020004B2/en
Publication of JP2014071495A publication Critical patent/JP2014071495A/en
Application granted granted Critical
Publication of JP6020004B2 publication Critical patent/JP6020004B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To appropriately classify sensor data received from a plurality of sensor devices.SOLUTION: A receiving section 11 receives, from each of sensor devices 21 and 22, sensor data to which identification information is added by the sensor device. On the basis of a determination rule stored in a determination information storage section for storing the determination rule indicating the regularity of the sensor data to which the same identification information is added, a data processing section 12 determines whether or not two or more sensor devices use the same identification information, and, according to the result of the determination, classifies the sensor data to which the same identification information is added.

Description

本発明はデータ管理方法、情報処理装置およびプログラムに関する。   The present invention relates to a data management method, an information processing apparatus, and a program.

現在、複数のセンサ装置で生成されたセンサデータを収集して分析するセンサネットワークシステムが提案されている。センサデータは、各種センサによって検出された物理状態を示す。例えば、電源タップに搭載されたセンサ装置から消費電力を示すセンサデータを収集して監視し、消費電力の変動に応じて電源タップや当該電源タップに接続された電子機器を制御するシステムが考えられる。また、携帯端末装置に搭載されたセンサ装置から現在位置を示すセンサデータを収集して監視し、許可された範囲を超えて移動した携帯端末装置が検出されると当該携帯端末装置の使用を制限するシステムが考えられる。   Currently, a sensor network system that collects and analyzes sensor data generated by a plurality of sensor devices has been proposed. The sensor data indicates physical states detected by various sensors. For example, a system that collects and monitors sensor data indicating power consumption from a sensor device mounted on a power strip and controls a power strip or an electronic device connected to the power strip according to fluctuations in power consumption can be considered. . Also, sensor data indicating the current position is collected and monitored from the sensor device mounted on the mobile terminal device, and if a mobile terminal device that has moved beyond the permitted range is detected, use of the mobile terminal device is restricted. A system that can be considered.

なお、移動管理に関して、高速道路の入口で車両の車載器にID(Identification)を付与し、高速道路の途中や出口で車載器が発信するIDを監視してIDの重複や消失を検出することで、車載器の不正利用を検出するシステムが提案されている。また、IDの重複に関して、複数のコンテンツ送出装置を制御する放送局システムであって、番組時刻表に同じイベントIDをもつ異なる番組情報が登録されているとき、イベントIDを一時的にリネームすることで正常に送出制御を行うシステムが提案されている。   Regarding mobility management, ID (Identification) is given to the vehicle-mounted device at the entrance of the expressway, and IDs transmitted by the vehicle-mounted device are monitored in the middle of the expressway or at the exit to detect duplication or disappearance of IDs. Therefore, a system for detecting unauthorized use of the vehicle-mounted device has been proposed. In addition, regarding a duplicated ID, a broadcast station system that controls a plurality of content transmission devices, and when different program information having the same event ID is registered in the program timetable, the event ID is temporarily renamed. Has proposed a system that performs normal transmission control.

特開2001−67584号公報JP 2001-67584 A 特開2009−182610号公報JP 2009-182610 A

ところで、複数のセンサ装置からセンサデータを収集するシステムでは、同一のセンサ装置が生成したセンサデータの集合を識別できるように、各センサ装置がセンサデータに一貫した識別情報を付与することが考えられる。各センサ装置が使用する識別情報は、そのセンサ装置に割り当てられた通信アドレスとは異なることが好ましい。通信アドレスとは異なる識別情報を使用することで、センサ装置の通信アドレスが変化することを許容することができ、ネットワーク設計の自由度を大きくすることができる。例えば、センサ装置がDHCP(Dynamic Host Configuration Protocol)サーバから動的にIP(Internet Protocol)アドレスを取得することや、センサ装置がネットワークアドレスの異なる複数のネットワークセグメントに跨がって移動することを許容できる。   By the way, in a system that collects sensor data from a plurality of sensor devices, each sensor device may give consistent identification information to the sensor data so that a set of sensor data generated by the same sensor device can be identified. . The identification information used by each sensor device is preferably different from the communication address assigned to that sensor device. By using identification information different from the communication address, the communication address of the sensor device can be allowed to change, and the degree of freedom in network design can be increased. For example, the sensor device can dynamically acquire an IP (Internet Protocol) address from a DHCP (Dynamic Host Configuration Protocol) server, or the sensor device can move across multiple network segments with different network addresses. it can.

しかし、各センサ装置が自主的に識別情報をセンサデータに付与する場合、2以上のセンサ装置が同一の識別情報を使用してしまうことが生じ得るという問題がある。例えば、異なるユーザによって偶然に同一の識別情報が異なるセンサ装置に設定されてしまう可能性がある。また、悪意によって(例えば、システムを混乱させるため)識別情報が重複するようにセンサ装置に設定された識別情報が改竄される可能性もある。収集されたセンサデータの中に、異なるセンサ装置によって生成されたにもかかわらず同一の識別情報が付与されたセンサデータが混在していると、センサデータの活用が容易でなくなる。   However, when each sensor device voluntarily gives identification information to sensor data, there is a problem that two or more sensor devices may use the same identification information. For example, the same identification information may be accidentally set in different sensor devices by different users. Further, there is a possibility that the identification information set in the sensor device is falsified so that the identification information is duplicated due to malicious intention (for example, to confuse the system). If the collected sensor data includes sensor data to which the same identification information is given despite being generated by different sensor devices, the sensor data cannot be used easily.

一側面では、本発明は、複数のセンサ装置から受信されるセンサデータを適切に分類するデータ管理方法、情報処理装置およびプログラムを提供することを目的とする。   In one aspect, an object of the present invention is to provide a data management method, an information processing device, and a program for appropriately classifying sensor data received from a plurality of sensor devices.

一つの態様では、情報処理システムが実行するデータ管理方法が提供される。データ管理方法では、複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信する。同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定する。判定の結果に応じて、同一の識別情報が付加されたセンサデータを分類する。   In one aspect, a data management method executed by an information processing system is provided. In the data management method, sensor data to which identification information is added by the sensor device is received from each of the plurality of sensor devices. Two or more sensor devices that use the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added Determine if there is. The sensor data to which the same identification information is added is classified according to the determination result.

また、一つの態様では、受信部とデータ処理部とを有する情報処理装置が提供される。受信部は、複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信する。データ処理部は、同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定し、判定の結果に応じて同一の識別情報が付加されたセンサデータを分類する。   In one aspect, an information processing apparatus having a receiving unit and a data processing unit is provided. The receiving unit receives sensor data to which identification information is added by the sensor device from each of the plurality of sensor devices. The data processing unit uses the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added. It is determined whether there are two or more sensor devices, and the sensor data to which the same identification information is added is classified according to the determination result.

また、一つの態様では、コンピュータに実行させるプログラムが提供される。プログラムを実行するコンピュータは、複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信する。同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定する。判定の結果に応じて、同一の識別情報が付加されたセンサデータを分類する。   In one embodiment, a program to be executed by a computer is provided. A computer that executes the program receives sensor data to which identification information is added by each of the plurality of sensor devices. Two or more sensor devices that use the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added Determine if there is. The sensor data to which the same identification information is added is classified according to the determination result.

一側面では、複数のセンサ装置から受信されるセンサデータを適切に分類できる。   In one aspect, sensor data received from a plurality of sensor devices can be appropriately classified.

第1の実施の形態の情報処理装置を示す図である。It is a figure which shows the information processing apparatus of 1st Embodiment. 第2の実施の形態の情報処理システムを示す図である。It is a figure which shows the information processing system of 2nd Embodiment. 電源タップのハードウェア例を示すブロック図である。It is a block diagram which shows the hardware example of a power strip. データ管理サーバのハードウェア例を示すブロック図である。It is a block diagram which shows the hardware example of a data management server. 電源タップおよびサーバの機能例を示すブロック図である。It is a block diagram which shows the function example of a power strip and a server. センサデータテーブルの例を示す図である。It is a figure which shows the example of a sensor data table. 重複判定テーブルの例を示す図である。It is a figure which shows the example of a duplication determination table. データ登録の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of data registration. 判定情報更新の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of determination information update. 判定情報更新の手順例を示すフローチャート(続き)である。It is a flowchart (continuation) which shows the example of a procedure of determination information update. アドレス特徴統合の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of address feature integration. 重複判定テーブルの第1の更新結果例を示す図である。It is a figure which shows the 1st update result example of a duplication determination table. 重複判定テーブルの第2の更新結果例を示す図である。It is a figure which shows the 2nd update result example of a duplication determination table. データ抽出の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of data extraction. データ管理サーバの変形例を示すブロック図である。It is a block diagram which shows the modification of a data management server. 移動特性テーブルと解析結果テーブルの例を示す図である。It is a figure which shows the example of a movement characteristic table and an analysis result table. 抽出条件テーブルの例を示す図である。It is a figure which shows the example of an extraction condition table. アクセス履歴テーブルの例を示す図である。It is a figure which shows the example of an access history table.

以下、本実施の形態を図面を参照して説明する。
[第1の実施の形態]
図1は、第1の実施の形態の情報処理装置を示す図である。第1の実施の形態の情報処理装置10は、センサ装置21,22を含む複数のセンサ装置と通信する。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating the information processing apparatus according to the first embodiment. The information processing apparatus 10 according to the first embodiment communicates with a plurality of sensor devices including the sensor devices 21 and 22.

センサ装置21,22は、センサデバイスや通信インタフェースを備える。センサデバイスは、物理状態を検出するデバイスであり、例えば、電源タップの消費電力を検出する電力センサや携帯端末装置の現在位置を検出する位置センサなどである。センサ装置21,22は、検出された物理状態を示す値(例えば、数値)を含むセンサデータを生成し、ネットワークを介して情報処理装置10に送信する。センサ装置21,22は、継続的に(例えば、定期的または不定期に)センサデータを送信する。センサ装置21,22が備える通信インタフェースは、有線インタフェースでも無線インタフェースでもよい。   The sensor devices 21 and 22 include a sensor device and a communication interface. The sensor device is a device that detects a physical state, and is, for example, a power sensor that detects power consumption of a power tap or a position sensor that detects a current position of a mobile terminal device. The sensor devices 21 and 22 generate sensor data including a value (for example, a numerical value) indicating the detected physical state, and transmit the sensor data to the information processing device 10 via the network. The sensor devices 21 and 22 transmit sensor data continuously (for example, regularly or irregularly). The communication interface provided in the sensor devices 21 and 22 may be a wired interface or a wireless interface.

センサ装置21が送信する一連のセンサデータには、センサ装置21が生成するセンサデータの集合を識別可能にするために、センサ装置21によって一貫した識別情報が付加される。同様に、センサ装置22が送信する一連のセンサデータには、センサ装置22によって一貫した識別情報が付加される。センサ装置21,22を含む複数のセンサ装置が使用する識別情報は、互いに異なることが好ましい。しかし、複数のセンサ装置のうちの2以上のセンサ装置が同一の識別情報を使用する可能性がある。例えば、センサ装置21,22が共に識別情報=IDaを使用する可能性がある。   Consistent identification information is added to the series of sensor data transmitted by the sensor device 21 so that the set of sensor data generated by the sensor device 21 can be identified. Similarly, consistent identification information is added to the series of sensor data transmitted by the sensor device 22 by the sensor device 22. The identification information used by the plurality of sensor devices including the sensor devices 21 and 22 is preferably different from each other. However, two or more sensor devices out of a plurality of sensor devices may use the same identification information. For example, the sensor devices 21 and 22 may both use identification information = IDa.

情報処理装置10は、センサ装置21,22を含む複数のセンサ装置からセンサデータを収集して管理する。情報処理装置10は、例えば、ネットワークに常時接続されたサーバコンピュータである。情報処理装置10が収集するセンサデータは、情報処理装置10または他の情報処理装置で実行されるアプリケーションソフトウェアから利用され得る。当該アプリケーションソフトウェアは、例えば、消費電力に応じて電源タップまたはその電源タップに接続された電子機器を制御するソフトウェアや、現在位置に応じて携帯端末装置を制御するソフトウェアなどである。なお、第1の実施の形態では、1つの情報処理装置(情報処理装置10)を用いてセンサデータの収集および管理の機能を実現しているが、複数の情報処理装置の集合を用いて当該機能を実現してもよい。   The information processing apparatus 10 collects and manages sensor data from a plurality of sensor devices including the sensor devices 21 and 22. The information processing apparatus 10 is, for example, a server computer that is always connected to a network. The sensor data collected by the information processing apparatus 10 can be used from application software executed by the information processing apparatus 10 or another information processing apparatus. The application software is, for example, software for controlling a power strip or an electronic device connected to the power strip according to power consumption, software for controlling a mobile terminal device according to the current position, and the like. In the first embodiment, the function of collecting and managing sensor data is realized by using one information processing device (information processing device 10). A function may be realized.

情報処理装置10は、受信部11およびデータ処理部12を有する。
受信部11は、センサ装置21,22を含む複数のセンサ装置それぞれから、ネットワークを介して上記の識別情報が付加されたセンサデータを継続的に受信する。受信部11は、例えば、有線ネットワークに接続される通信インタフェースである。
The information processing apparatus 10 includes a receiving unit 11 and a data processing unit 12.
The receiving unit 11 continuously receives sensor data to which the identification information is added from each of a plurality of sensor devices including the sensor devices 21 and 22 via a network. The receiving unit 11 is a communication interface connected to a wired network, for example.

データ処理部12は、受信部11が受信したセンサデータを識別情報に基づいて分類する。データ処理部12は、例えば、プロセッサを含む。「プロセッサ」は、CPU(Central Processing Unit)やDSP(Digital Signal Processor)でもよいし、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの電子回路を含んでもよい。また、「プロセッサ」は、複数のプロセッサの集合(マルチプロセッサ)であってもよい。プロセッサは、例えば、RAM(Random Access Memory)などのメモリに記憶されたプログラムを実行する。   The data processing unit 12 classifies the sensor data received by the receiving unit 11 based on the identification information. The data processing unit 12 includes, for example, a processor. The “processor” may be a CPU (Central Processing Unit) or a DSP (Digital Signal Processor), or may include an electronic circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). The “processor” may be a set of multiple processors (multiprocessor). The processor executes a program stored in a memory such as a RAM (Random Access Memory).

上記の通り、データ処理部12は、センサデータを識別情報に応じて分類する。このとき、データ処理部12は、同一の識別情報が付加されたセンサデータの集合の規則性を確認することで、当該同一の識別情報を使用しているセンサ装置が2以上存在するかを判定する。2以上のセンサ装置が同一の識別情報を使用していると判定した場合、データ処理部12は、当該同一の識別情報が付与されたセンサデータを更に複数の集合に分類する。   As described above, the data processing unit 12 classifies the sensor data according to the identification information. At this time, the data processing unit 12 determines whether there are two or more sensor devices using the same identification information by checking the regularity of the set of sensor data to which the same identification information is added. To do. When it is determined that two or more sensor devices use the same identification information, the data processing unit 12 further classifies the sensor data to which the same identification information is assigned into a plurality of sets.

センサデータの規則性として、例えば、センサデータに含まれるタイムスタンプの規則性が用いられる。同じセンサ装置は、規則的なタイミングでセンサデータを生成する可能性が高いためである。データ処理部12は、例えば、同一の識別情報をもつセンサデータの集合の中に、毎時0分に生成されるセンサデータと毎時15分に生成されるセンサデータとが含まれる場合、2つのセンサ装置が当該同一の識別情報を使用していると判定する。この場合、データ処理部12は、当該同一の識別情報をもつセンサデータの集合を、毎時0分に生成されるセンサデータの集合と毎時15分に生成されるセンサデータの集合とに分類する。また、データ処理部12は、例えば、ある識別情報をもつセンサデータが10分周期で生成されていた後に、その周期に適合しないタイミングで生成されたセンサデータを受信した場合は、同じ識別情報を使用する別のセンサ装置が現れたと判定する。   As the regularity of the sensor data, for example, the regularity of the time stamp included in the sensor data is used. This is because the same sensor device is likely to generate sensor data at regular timing. For example, when a set of sensor data having the same identification information includes sensor data generated at 0 minutes per hour and sensor data generated at 15 minutes per hour, the data processing unit 12 includes two sensors. It is determined that the device is using the same identification information. In this case, the data processing unit 12 classifies the set of sensor data having the same identification information into a set of sensor data generated at 0 minutes per hour and a set of sensor data generated at 15 minutes per hour. In addition, for example, when sensor data having certain identification information is generated at a period of 10 minutes and the sensor data generated at a timing that does not conform to the period is received, the data processing unit 12 receives the same identification information. It is determined that another sensor device to be used has appeared.

また、センサデータの規則性として、例えば、センサデータに含まれるタイムスタンプとそのセンサデータが情報処理装置10で受信された時刻との差(遅延時間)の規則性が用いられる。センサデータが生成されてから情報処理装置10に到達するまでの時間は、同じセンサ装置に関しては大きく変動しないことが多いためである。データ処理部12は、例えば、ある識別情報をもつセンサデータを遅延時間1秒以内に受信していた後に、遅延時間が1秒を大きく超えるセンサデータを受信した場合、同じ識別情報を使用する別のセンサ装置が現れたと判定する。この場合、データ処理部12は、当該同一の識別情報をもつセンサデータの集合を、遅延時間に応じて2つのセンサデータの集合に分類する。   Further, as the regularity of the sensor data, for example, the regularity of the difference (delay time) between the time stamp included in the sensor data and the time when the sensor data is received by the information processing apparatus 10 is used. This is because the time from the generation of sensor data to the arrival of the information processing device 10 often does not vary greatly for the same sensor device. For example, when sensor data having certain identification information is received within a delay time of 1 second and sensor data having a delay time greatly exceeding 1 second is received, the data processing unit 12 uses the same identification information. It is determined that the sensor device has appeared. In this case, the data processing unit 12 classifies the set of sensor data having the same identification information into two sets of sensor data according to the delay time.

また、センサデータの規則性として、例えば、センサデータの送信元のセンサ装置が使用するアドレスの変動特性が用いられる。アドレスが変化するか否かは、そのセンサ装置がどのような種類の装置に搭載されているかによって決まることが多く、途中で変わること少ないためである。データ処理部12は、例えば、ある識別情報をもつセンサデータが同じ送信元アドレスのセンサ装置から継続的に送信されていた後に、異なる送信元アドレスのセンサ装置からセンサデータを受信した場合、同じ識別情報を使用する別のセンサ装置が現れたと判定する。この場合、データ処理部12は、新たな送信元アドレスを用いて送信されたセンサデータの集合を、従来の送信元アドレスを用いて送信されたセンサデータの集合から分離することで、同一の識別情報をもつセンサデータの集合を分類する。   Further, as the regularity of the sensor data, for example, an address variation characteristic used by the sensor device that is the sensor data transmission source is used. This is because whether or not the address changes is often determined depending on what kind of device the sensor device is mounted on, and hardly changes during the process. For example, when sensor data having certain identification information is continuously transmitted from a sensor device having the same source address and then received from the sensor device having a different source address, the data processing unit 12 performs the same identification. It is determined that another sensor device that uses the information has appeared. In this case, the data processing unit 12 separates the set of sensor data transmitted using the new source address from the set of sensor data transmitted using the conventional source address, thereby identifying the same Classify a set of sensor data with information.

以上、センサデータの規則性として、タイムスタンプの規則性、受信時刻に関する規則性および送信元アドレスの規則性の例を挙げた。データ処理部12は、以上説明したような複数の種類の規則性のうち何れか1つを用いてセンサデータを分類してもよいし、2以上の種類の規則性をAND条件で用いてセンサデータを分類してもよい。   As described above, examples of the regularity of the sensor data include the regularity of the time stamp, the regularity regarding the reception time, and the regularity of the source address. The data processing unit 12 may classify the sensor data using any one of a plurality of types of regularity as described above, or may use two or more types of regularity in an AND condition. Data may be classified.

第1の実施の形態の情報処理装置10によれば、センサ装置21とセンサ装置22とが同一の識別情報をセンサデータに付加している場合であっても、センサデータの規則性から、2以上のセンサ装置が同一の識別情報を使用していることが検出される。そして、規則性に基づいて、識別情報に基づいて抽出されたセンサデータの集合が、センサ装置21が生成したセンサデータの集合とセンサ装置22が生成したセンサデータの集合とに更に分類されることが期待される。これにより、情報処理装置10によって収集されたセンサデータを活用することが容易となる。例えば、センサデータに含まれる値の集計や異常値の検出などのデータ処理をセンサ装置毎に行うアプリケーションソフトウェアに、適切に分類されたセンサデータの集合を提供することが容易となる。   According to the information processing apparatus 10 of the first embodiment, even if the sensor device 21 and the sensor device 22 add the same identification information to the sensor data, 2 It is detected that the above sensor devices use the same identification information. Based on the regularity, the set of sensor data extracted based on the identification information is further classified into a set of sensor data generated by the sensor device 21 and a set of sensor data generated by the sensor device 22. There is expected. Thereby, it becomes easy to utilize the sensor data collected by the information processing apparatus 10. For example, it becomes easy to provide a set of appropriately classified sensor data to application software that performs data processing such as aggregation of values included in sensor data and detection of abnormal values for each sensor device.

なお、以下に説明する第2の実施の形態では、電源タップに搭載されたセンサ装置が消費電力を示すセンサデータを生成するセンサネットワークシステムの例を挙げる。
[第2の実施の形態]
図2は、第2の実施の形態の情報処理システムを示す図である。第2の実施の形態の情報処理システムでは、消費電力を監視し消費電力の変化に応じて電子機器を制御するサービスが、クラウドコンピューティング技術を用いて提供される。
In the second embodiment described below, an example of a sensor network system in which a sensor device mounted on a power strip generates sensor data indicating power consumption is given.
[Second Embodiment]
FIG. 2 illustrates an information processing system according to the second embodiment. In the information processing system according to the second embodiment, a service for monitoring power consumption and controlling an electronic device according to a change in power consumption is provided using cloud computing technology.

この情報処理システムは、ネットワーク31,32、電源タップ100,100aを含む複数の電源タップ、データ管理サーバ200およびアプリケーションサーバ300を含む。ネットワーク31はインターネットなどの広域ネットワークであり、ネットワーク32はデータセンタ内のローカルネットワークである。電源タップ100,100aは、ネットワーク31に接続される。データ管理サーバ200およびアプリケーションサーバ300は、ネットワーク32に接続される。電源タップ100,100aからデータ管理サーバ200に、ネットワーク31,32を介してアクセスすることができる。なお、データ管理サーバ200は、第1の実施の形態の情報処理装置10の一例である。   The information processing system includes networks 31, 32, a plurality of power strips including power strips 100, 100a, a data management server 200, and an application server 300. The network 31 is a wide area network such as the Internet, and the network 32 is a local network in the data center. The power strips 100 and 100a are connected to the network 31. The data management server 200 and the application server 300 are connected to the network 32. The data management server 200 can be accessed through the networks 31 and 32 from the power strips 100 and 100a. The data management server 200 is an example of the information processing apparatus 10 according to the first embodiment.

電源タップ100,100aは、複数の電源ソケットを備え、それら電源ソケットに接続された複数のコンピュータなどの電子機器に電力を分配する。電源タップ100,100aには、消費電力を測定して測定値を含むセンサデータを生成するセンサ装置が設けられている。電源タップ100,100aは、それぞれ規則的なタイミングで、ネットワーク31,32を介してデータ管理サーバ200に継続的にセンサデータを送信する。   The power strips 100 and 100a include a plurality of power sockets and distribute power to a plurality of electronic devices such as computers connected to the power sockets. The power strips 100 and 100a are provided with sensor devices that measure power consumption and generate sensor data including measurement values. The power strips 100 and 100a continuously transmit sensor data to the data management server 200 via the networks 31 and 32 at regular timings, respectively.

ここで、電源タップ100,100aに割り当てられるIPアドレスは、変化する可能性がある。例えば、電源タップ100,100aには、DHCPサーバ(図示せず)から動的にIPアドレスが割り当てられる。また、例えば、電源タップ100,100aを配置する場所が変更されたとき、変更後の場所のネットワークセグメントで使用可能なIPアドレスが電源タップ100,100aに割り当てられる。そこで、電源タップ100,100aそれぞれのセンサ装置は、センサデータを送信するにあたり、IPアドレスとは異なる識別情報であるセンサIDをセンサデータに付加する。同じセンサ装置から送信されるセンサデータには、原則として同じセンサIDが一貫して付加される。   Here, the IP addresses assigned to the power strips 100 and 100a may change. For example, the power strips 100 and 100a are dynamically assigned IP addresses from a DHCP server (not shown). For example, when the location where the power strips 100 and 100a are arranged is changed, an IP address that can be used in the network segment at the changed location is assigned to the power strips 100 and 100a. Therefore, each of the sensor devices of the power strips 100 and 100a adds sensor ID, which is identification information different from the IP address, to the sensor data when transmitting the sensor data. In principle, the same sensor ID is consistently added to sensor data transmitted from the same sensor device.

データ管理サーバ200は、センサデータを管理するサーバコンピュータである。データ管理サーバ200は、ネットワーク31,32を介して電源タップ100,100aから継続的にセンサデータを受信する。データ管理サーバ200は、収集したセンサデータを、各電源タップについてのセンサデータを他の電源タップについてのセンサデータと区別できるように、センサIDに基づいて分類する。また、データ管理サーバ200は、アプリケーションサーバ300からの要求に応じて、センサデータの集合を提供する。   The data management server 200 is a server computer that manages sensor data. The data management server 200 continuously receives sensor data from the power strips 100 and 100 a via the networks 31 and 32. The data management server 200 classifies the collected sensor data based on the sensor ID so that the sensor data for each power strip can be distinguished from the sensor data for other power strips. Further, the data management server 200 provides a set of sensor data in response to a request from the application server 300.

ここで、複数の電源タップのセンサ装置に設定されるセンサIDは、互いに異なることが好ましい。しかし、ユーザの間違いまたは悪意により、ある電源タップ(例えば、電源タップ100a)のセンサ装置に、他の電源タップ(例えば、電源タップ100)のセンサ装置が既に使用しているセンサIDを重複して設定してしまう可能性がある。そこで、データ管理サーバ200は、同じセンサIDが付加されたセンサデータがもつ規則性を監視し、規則性に基づいて新たなセンサ装置が既存のセンサIDを重複して使用し始めたことを検出する。センサIDの重複が検出された場合、データ管理サーバ200は、規則性に基づいて同じセンサIDが付加されたセンサデータを分類する。   Here, the sensor IDs set in the sensor devices of the plurality of power strips are preferably different from each other. However, the sensor ID already used by the sensor device of another power strip (for example, the power strip 100) is duplicated in the sensor device of a certain power strip (for example, the power strip 100a) due to a user's mistake or malicious intention. There is a possibility of setting. Therefore, the data management server 200 monitors the regularity of the sensor data to which the same sensor ID is added, and detects that a new sensor device has started to use the existing sensor ID based on the regularity. To do. When duplicate sensor IDs are detected, the data management server 200 classifies sensor data to which the same sensor ID is added based on regularity.

アプリケーションサーバ300は、センサデータを分析するアプリケーションソフトウェアを実行するサーバコンピュータである。アプリケーションサーバ300は、データ管理サーバ200から電源タップ毎にセンサデータの集合を取得し、消費電力の測定値が異常でないか確認する。例えば、ある電源タップの消費電力が閾値を超えた場合、アプリケーションサーバ300は、その電源タップに接続された電子機器に、消費電力を抑制するよう指示し、または、代替の電源を利用するよう指示する。   The application server 300 is a server computer that executes application software for analyzing sensor data. The application server 300 acquires a set of sensor data for each power tap from the data management server 200 and checks whether the measured value of power consumption is abnormal. For example, when the power consumption of a certain power strip exceeds a threshold value, the application server 300 instructs the electronic device connected to the power strip to suppress power consumption or to use an alternative power source. To do.

図3は、電源タップのハードウェア例を示すブロック図である。電源タップ100は、複数の電源ソケットを備え、外部の電源から供給された電力をこれら複数の電源ソケットに接続された電子機器に分配する。電源タップ100が備えるセンサ装置は、センサデバイス101、演算部102、メモリ103および通信インタフェース104を有する。電源タップ100aも、電源タップ100と同様のハードウェア構成によって実現できる。   FIG. 3 is a block diagram illustrating a hardware example of the power strip. The power strip 100 includes a plurality of power sockets and distributes power supplied from an external power source to electronic devices connected to the plurality of power sockets. The sensor device included in the power tap 100 includes a sensor device 101, a calculation unit 102, a memory 103, and a communication interface 104. The power strip 100a can also be realized by the same hardware configuration as the power strip 100.

センサデバイス101は、現在の消費電力を測定する電力センサである。センサデバイス101は、電源ソケット毎(すなわち、電源タップ100に接続された電子機器毎)に消費電力を測定してもよいし、電源タップ100全体の消費電力を測定してもよい。   The sensor device 101 is a power sensor that measures current power consumption. The sensor device 101 may measure the power consumption for each power socket (that is, for each electronic device connected to the power tap 100), or may measure the power consumption of the entire power tap 100.

演算部102は、センサデバイス101によって測定された消費電力の数値を含むセンサデータを、規則的なタイミング(例えば、10分間隔)で継続的に生成する。センサデータには、電源タップ100のセンサ装置に設定されたセンサIDが演算部102によって付加される。なお、演算部102は、プロセッサであってもよく、プログラムを実行するプロセッサとプログラムを格納する揮発性メモリを備えてもよい。   The calculation unit 102 continuously generates sensor data including a numerical value of power consumption measured by the sensor device 101 at regular timing (for example, every 10 minutes). A sensor ID set in the sensor device of the power strip 100 is added to the sensor data by the calculation unit 102. Note that the arithmetic unit 102 may be a processor, and may include a processor that executes a program and a volatile memory that stores the program.

メモリ103は、センサIDを記憶する不揮発性メモリである。ユーザ操作を通じてメモリ103にセンサIDを書き込むことを許容してもよい。メモリ103に格納されたセンサIDが、演算部102によってセンサデータに付加される。   The memory 103 is a non-volatile memory that stores the sensor ID. It may be allowed to write the sensor ID into the memory 103 through a user operation. The sensor ID stored in the memory 103 is added to the sensor data by the calculation unit 102.

通信インタフェース104は、演算部102が生成したセンサデータを、IPパケットとしてネットワーク31を介してデータ管理サーバ200に送信する。通信インタフェース104は、無線でネットワーク31に接続する無線インタフェースでもよいし、ケーブルでネットワーク31に接続する有線インタフェースでもよい。通信方法として電力線通信(PLC:Power Line Communication)を利用する場合、外部の電源から電力を受け取る電力線に通信インタフェース104が接続される。通信インタフェース104が送信元アドレスとして使用するIPアドレスは変更することができる。   The communication interface 104 transmits the sensor data generated by the calculation unit 102 to the data management server 200 via the network 31 as an IP packet. The communication interface 104 may be a wireless interface that connects to the network 31 wirelessly, or a wired interface that connects to the network 31 using a cable. When power line communication (PLC) is used as a communication method, the communication interface 104 is connected to a power line that receives power from an external power source. The IP address used as the source address by the communication interface 104 can be changed.

図4は、データ管理サーバのハードウェア例を示すブロック図である。データ管理サーバ200は、CPU201、RAM202、HDD(Hard Disk Drive)203、画像信号処理部204、入力信号処理部205、ディスクドライブ206および通信インタフェース207を有する。上記の各ユニットはバス208に接続される。アプリケーションサーバ300も、データ管理サーバ200と同様のハードウェア構成によって実現できる。   FIG. 4 is a block diagram illustrating a hardware example of the data management server. The data management server 200 includes a CPU 201, a RAM 202, an HDD (Hard Disk Drive) 203, an image signal processing unit 204, an input signal processing unit 205, a disk drive 206, and a communication interface 207. Each of the above units is connected to the bus 208. The application server 300 can also be realized by the same hardware configuration as the data management server 200.

CPU201は、プログラムの命令を実行する演算器を備えるプロセッサである。CPU201は、HDD203に記憶されているプログラムやデータの少なくとも一部をRAM202にロードし、プログラムを実行する。なお、CPU201は複数のプロセッサコアを備えてもよく、データ管理サーバ200は複数のプロセッサを備えてもよく、以下で説明する処理を複数のプロセッサまたはプロセッサコアを用いて並列実行してもよい。また、2以上のプロセッサの集合を「プロセッサ」と呼んでもよい(マルチプロセッサ)。   The CPU 201 is a processor including an arithmetic unit that executes program instructions. The CPU 201 loads at least a part of the program and data stored in the HDD 203 into the RAM 202 and executes the program. The CPU 201 may include a plurality of processor cores, the data management server 200 may include a plurality of processors, and the processes described below may be executed in parallel using a plurality of processors or processor cores. A set of two or more processors may be called a “processor” (multiprocessor).

RAM202は、CPU201が実行するプログラムや演算に用いられるデータを一時的に記憶する揮発性メモリである。なお、データ管理サーバ200は、RAM以外の種類のメモリを備えてもよく、複数の揮発性メモリを備えてもよい。   The RAM 202 is a volatile memory that temporarily stores programs executed by the CPU 201 and data used for calculations. Note that the data management server 200 may include a type of memory other than the RAM, and may include a plurality of volatile memories.

HDD203は、OS(Operating System)やファームウェアやアプリケーションソフトウェアなどのソフトウェアのプログラムおよびデータを記憶する不揮発性の記憶装置である。なお、データ管理サーバ200は、SSD(Solid State Drive)などの他の種類の記憶装置を備えてもよく、複数の不揮発性の記憶装置を備えてもよい。   The HDD 203 is a non-volatile storage device that stores software programs and data such as an OS (Operating System), firmware, and application software. The data management server 200 may include other types of storage devices such as an SSD (Solid State Drive), and may include a plurality of nonvolatile storage devices.

画像信号処理部204は、CPU201の命令に従って、データ管理サーバ200に接続されたディスプレイ41に画像を出力する。ディスプレイ41としては、CRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ、有機EL(Electro-Luminescence)ディスプレイ、プラズマディスプレイなどの各種のディスプレイを用いることができる。また、ディスプレイ41がデータ管理サーバ200の筐体と一体に形成されていてもよい。   The image signal processing unit 204 outputs an image to the display 41 connected to the data management server 200 in accordance with an instruction from the CPU 201. As the display 41, various displays such as a CRT (Cathode Ray Tube) display, a liquid crystal display, an organic EL (Electro-Luminescence) display, and a plasma display can be used. Further, the display 41 may be formed integrally with the housing of the data management server 200.

入力信号処理部205は、データ管理サーバ200に接続された入力デバイス42から入力信号を取得し、CPU201に通知する。入力デバイス42としては、マウスやタッチパネルなどのポインティングデバイス、キーボードなどの各種の入力デバイスを用いることができる。データ管理サーバ200に、複数の入力デバイスを接続してもよい。また、入力デバイス42がデータ管理サーバ200の筐体と一体に形成されていてもよい。   The input signal processing unit 205 acquires an input signal from the input device 42 connected to the data management server 200 and notifies the CPU 201 of the input signal. As the input device 42, various input devices such as a pointing device such as a mouse and a touch panel and a keyboard can be used. A plurality of input devices may be connected to the data management server 200. Further, the input device 42 may be formed integrally with the housing of the data management server 200.

ディスクドライブ206は、記録媒体43に記録されたプログラムやデータを読み取る駆動装置である。記録媒体43として、例えば、フレキシブルディスク(FD:Flexible Disk)やHDDなどの磁気ディスク、CD(Compact Disc)やDVD(Digital Versatile Disc)などの光ディスク、光磁気ディスク(MO:Magneto-Optical disk)を使用できる。ディスクドライブ206は、CPU201からの命令に従って、記録媒体43から読み取ったプログラムやデータをRAM202またはHDD203に格納する。   The disk drive 206 is a drive device that reads programs and data recorded on the recording medium 43. As the recording medium 43, for example, a magnetic disk such as a flexible disk (FD) or HDD, an optical disk such as a CD (Compact Disc) or a DVD (Digital Versatile Disc), or a magneto-optical disk (MO). Can be used. The disk drive 206 stores the program and data read from the recording medium 43 in the RAM 202 or the HDD 203 in accordance with an instruction from the CPU 201.

ただし、データ管理サーバ200は、ディスクドライブ206を備えていなくてもよく、ユーザが操作する端末装置(例えば、クライアントコンピュータ)からアクセス可能である場合には、画像信号処理部204や入力信号処理部205を備えていなくてもよい。なお、CPU201とRAM202の集合は第1の実施の形態のデータ処理部12の一例であり、通信インタフェース207は第1の実施の形態の受信部11の一例である。   However, the data management server 200 does not have to include the disk drive 206. When the data management server 200 is accessible from a terminal device (for example, a client computer) operated by the user, the image signal processing unit 204 or the input signal processing unit 205 may not be provided. The set of the CPU 201 and the RAM 202 is an example of the data processing unit 12 according to the first embodiment, and the communication interface 207 is an example of the receiving unit 11 according to the first embodiment.

図5は、電源タップおよびサーバの機能例を示すブロック図である。
電源タップ100は、データ生成部110およびデータ送信部120を有する。演算部102が行う処理をソフトウェアによって制御する場合、データ生成部110およびデータ送信部120はソフトウェアのモジュールとして実現し得る。電源タップ100aも、電源タップ100と同様のソフトウェア構成によって実現し得る。
FIG. 5 is a block diagram illustrating an example of functions of the power strip and the server.
The power strip 100 includes a data generation unit 110 and a data transmission unit 120. When the processing performed by the calculation unit 102 is controlled by software, the data generation unit 110 and the data transmission unit 120 can be realized as software modules. The power strip 100a can also be realized by a software configuration similar to that of the power strip 100.

データ生成部110は、ハードウェアタイマまたはソフトウェアタイマを用いて、センサデータを送信するタイミングを判定する。所定条件を満たすタイミング(例えば、毎時10分・20分・30分・40分・50分)が到来すると、データ生成部110はセンサデータを生成する。センサデータは、センサデバイス101で測定された消費電力(電源タップ100全体または電源タップ100に接続された電子機器毎の消費電力)の数値、現在時刻を示すタイムスタンプおよびメモリ103に記憶されたセンサIDを含む。   The data generation unit 110 determines the timing for transmitting sensor data using a hardware timer or a software timer. When a timing that satisfies a predetermined condition (for example, 10 minutes / 20 minutes / 30 minutes / 40 minutes / 50 minutes per hour) arrives, the data generation unit 110 generates sensor data. Sensor data includes numerical values of power consumption measured by the sensor device 101 (power consumption of the entire power tap 100 or each electronic device connected to the power tap 100), a time stamp indicating the current time, and a sensor stored in the memory 103. Includes ID.

データ送信部120は、データ生成部110によって生成されたセンサデータをデータ管理サーバ200に送信するよう、通信インタフェース104に指示する。センサデータは、電源タップ100のIPアドレスが送信元アドレスとして用いられ、データ管理サーバ200のIPアドレスが宛先アドレスとして用いられて、パケット形式で送信される。   The data transmission unit 120 instructs the communication interface 104 to transmit the sensor data generated by the data generation unit 110 to the data management server 200. The sensor data is transmitted in a packet format using the IP address of the power strip 100 as a transmission source address and the IP address of the data management server 200 as a destination address.

データ管理サーバ200は、データ記憶部210、判定情報記憶部220、データ受信部230、重複判定部240、判定情報更新部250およびデータ提供部260を有する。データ記憶部210、判定情報記憶部220は、RAM102またはHDD103に確保した記憶領域として実現し得る。データ受信部230、重複判定部240、判定情報更新部250およびデータ提供部260は、ソフトウェアのモジュールとして実現し得る。   The data management server 200 includes a data storage unit 210, a determination information storage unit 220, a data reception unit 230, a duplication determination unit 240, a determination information update unit 250, and a data provision unit 260. The data storage unit 210 and the determination information storage unit 220 can be realized as a storage area secured in the RAM 102 or the HDD 103. The data receiving unit 230, the duplication determining unit 240, the determination information updating unit 250, and the data providing unit 260 can be realized as software modules.

データ記憶部210は、電源タップ100,100aを含む複数の電源タップから収集したセンサデータを記憶する。データ記憶部210に格納されるセンサデータには、データ管理サーバ200がセンサデータを分類するための管理情報が付加される。   The data storage unit 210 stores sensor data collected from a plurality of power strips including the power strips 100 and 100a. Management information for the data management server 200 to classify the sensor data is added to the sensor data stored in the data storage unit 210.

判定情報記憶部220は、センサIDの重複を判定するための判定ルールを記憶する。判定ルールは、同じセンサ装置によって生成されるセンサデータの規則性を示す。判定情報記憶部220に記憶される判定ルールは、後述するように重複判定部240や判定情報更新部250によって自動的に作成され得るほか、ユーザ操作によって作成される可能性もある。判定ルールは、1つのセンサIDについて1つ以上作成される。あるセンサIDが1つのセンサ装置のみで使用されていると判定される間は、そのセンサIDに対して1つの判定ルールが作成される。既存のセンサIDを重複して使用する新たなセンサ装置が現れたと判定されると、そのセンサIDに対して新たな判定ルールが追加される。   The determination information storage unit 220 stores a determination rule for determining duplication of sensor IDs. The determination rule indicates regularity of sensor data generated by the same sensor device. The determination rule stored in the determination information storage unit 220 can be automatically created by the duplication determination unit 240 and the determination information update unit 250 as described later, and may be created by a user operation. One or more determination rules are created for one sensor ID. While it is determined that a certain sensor ID is used by only one sensor device, one determination rule is created for that sensor ID. If it is determined that a new sensor device that uses an existing sensor ID in an overlapping manner appears, a new determination rule is added to the sensor ID.

データ受信部230は、電源タップ100,100aを含む複数の電源タップからセンサデータを継続的に受信する。データ受信部230は、センサデータを受信すると、そのセンサデータの受信時刻と送信元アドレスを確認する。そして、データ受信部230は、受信時刻および送信元アドレスを付加したセンサデータを重複判定部240に渡す。   The data receiving unit 230 continuously receives sensor data from a plurality of power strips including the power strips 100 and 100a. When receiving the sensor data, the data receiving unit 230 checks the reception time and the transmission source address of the sensor data. Then, the data reception unit 230 passes the sensor data to which the reception time and the transmission source address are added to the duplication determination unit 240.

重複判定部240は、センサデータに含まれるセンサIDに対応する判定ルールを判定情報記憶部220から検索する。受信されたセンサデータの特徴が検索された何れかの判定ルールに適合する場合、重複判定部240は、センサIDの新たな重複使用は生じていないと判断し、適合した判定ルールを示すID(重複解決ID)をセンサデータに付加する。一方、受信されたセンサデータの特徴が検索された何れの判定ルールにも適合しない場合、重複判定部240は、センサIDの新たな重複使用が生じたと判断し、新たな判定ルールを仮に作成してその判定ルールの重複解決IDをセンサデータに付加する。重複判定部240は、重複解決IDを付加したセンサデータをデータ記憶部210に格納する。   The duplication determination unit 240 searches the determination information storage unit 220 for a determination rule corresponding to the sensor ID included in the sensor data. When the feature of the received sensor data matches any one of the retrieved determination rules, the duplication determination unit 240 determines that no new duplicate use of the sensor ID has occurred, and the ID ( Duplicate resolution ID) is added to the sensor data. On the other hand, if the feature of the received sensor data does not match any of the retrieved determination rules, the duplication determination unit 240 determines that a new duplicate use of the sensor ID has occurred, and creates a new determination rule temporarily. The duplicate resolution ID of the determination rule is added to the sensor data. The duplication determination unit 240 stores the sensor data to which the duplication resolution ID is added in the data storage unit 210.

判定情報更新部250は、判定情報記憶部220に記憶された判定ルールを整理する。判定情報更新部250は、例えば、バッチ処理を行うソフトウェアモジュールとして実装される。判定情報更新部250は、例えば、1日1回夜間など、データ管理サーバ200の負荷が小さい時間帯に定期的に以下の処理を実行する。判定情報更新部250は、受信されたセンサデータのうち既存の判定ルールに適合しないと判定されたセンサデータの規則性を算出する。規則性には、タイムスタンプの周期性やタイムスタンプと受信時刻との差の類似性が含まれる。判定情報更新部250は、規則性をもつセンサデータの集合を特定できるように、重複判定部240によって仮に作成された判定ルールを統合する。   The determination information update unit 250 organizes the determination rules stored in the determination information storage unit 220. The determination information update unit 250 is implemented as a software module that performs batch processing, for example. The determination information update unit 250 periodically executes the following processing in a time zone where the load on the data management server 200 is small, for example, once a day at night. The determination information update unit 250 calculates the regularity of the sensor data that is determined not to conform to the existing determination rule in the received sensor data. Regularity includes the periodicity of time stamps and the similarity between the time stamp and the reception time. The determination information update unit 250 integrates the determination rules temporarily created by the duplication determination unit 240 so that a set of sensor data having regularity can be specified.

データ提供部260は、アプリケーションサーバ300から抽出要求を受け付け、データ記憶部210からセンサデータの集合を抽出してアプリケーションサーバ300に送信する。抽出要求では、センサIDが指定される。また、抽出要求では、センサIDに加えてセンサID以外の抽出条件が指定されることもある。データ提供部260は、センサIDまたはセンサIDと抽出条件の組に基づいて、センサデータの集合を抽出する。   The data providing unit 260 receives an extraction request from the application server 300, extracts a set of sensor data from the data storage unit 210, and transmits it to the application server 300. In the extraction request, the sensor ID is specified. In the extraction request, an extraction condition other than the sensor ID may be specified in addition to the sensor ID. The data providing unit 260 extracts a set of sensor data based on the sensor ID or the combination of the sensor ID and the extraction condition.

アプリケーションサーバ300は、データ分析部310を有する。データ分析部310は、ソフトウェアのモジュールとして実現し得る。データ分析部310は、予め設定されたタイミング条件またはユーザ操作に応じて、データ管理サーバ200に抽出要求を送信しセンサデータの集合を取得する。上記のように、抽出要求にはセンサIDを含め、更にセンサID以外の抽出条件(例えば、送信元アドレスなど)を含めることもできる。データ分析部310は、取得したセンサデータに含まれる消費電力の数値を分析する。例えば、データ分析部310は、ある電源タップの消費電力が閾値を超えたことを検出すると、その電源タップまたはその電源タップに接続された電子機器に電力抑制命令を送信する。   The application server 300 has a data analysis unit 310. The data analysis unit 310 can be realized as a software module. The data analysis unit 310 transmits an extraction request to the data management server 200 in accordance with a preset timing condition or user operation, and acquires a set of sensor data. As described above, the extraction request may include a sensor ID, and may further include an extraction condition other than the sensor ID (for example, a transmission source address). The data analysis unit 310 analyzes the power consumption value included in the acquired sensor data. For example, when the data analysis unit 310 detects that the power consumption of a certain power strip exceeds a threshold value, the data analysis unit 310 transmits a power suppression command to the power strip or an electronic device connected to the power strip.

図6は、センサデータテーブルの例を示す図である。センサデータテーブル211は、データ記憶部210に記憶されている。センサデータテーブル211は、タイムスタンプ、センサID、アドレス、測定値、受信時刻および重複解決IDの項目を含む。   FIG. 6 is a diagram illustrating an example of a sensor data table. The sensor data table 211 is stored in the data storage unit 210. The sensor data table 211 includes items of time stamp, sensor ID, address, measurement value, reception time, and duplicate resolution ID.

タイムスタンプの項目には、センサデータにタイムスタンプとして含まれる時刻が設定される。タイムスタンプは、そのセンサデータが生成された時刻と推定される。センサIDの項目には、センサデータに含まれるセンサIDが設定される。1つのセンサIDが異なる2以上のセンサ装置によって重複して使用されている可能性がある。アドレスの項目には、センサデータを送信するセンサ装置のIPアドレス(送信元IPアドレス)が設定される。センサ装置が使用するIPアドレスは変化する可能性がある。   In the time stamp item, a time included in the sensor data as a time stamp is set. The time stamp is estimated as the time when the sensor data is generated. The sensor ID included in the sensor data is set in the item of sensor ID. One sensor ID may be used by two or more different sensor devices. In the address item, the IP address (source IP address) of the sensor device that transmits the sensor data is set. The IP address used by the sensor device may change.

測定値の項目には、センサデータに含まれる消費電力を示す数値が設定される。受信時刻の項目には、データ受信部230がセンサデータを受信した時刻が設定される。重複解決IDの項目には、センサデータが適合した判定ルールのIDが設定される。重複解決IDは、センサIDとセンサID以外の文字列とを含む。重複解決IDを参照することで、同じセンサIDを使用する2以上のセンサ装置のセンサデータを互いに区別できる。   In the measurement value item, a numerical value indicating power consumption included in the sensor data is set. In the item of the reception time, a time when the data reception unit 230 receives the sensor data is set. In the duplicate resolution ID item, the ID of a determination rule that matches the sensor data is set. The duplicate resolution ID includes a sensor ID and a character string other than the sensor ID. By referring to the overlap resolution ID, sensor data of two or more sensor devices using the same sensor ID can be distinguished from each other.

図7は、重複判定テーブルの例を示す図である。重複判定テーブル221は、判定情報記憶部220に記憶されている。重複判定テーブル221は、センサID、重複解決ID、アドレス特徴、タイムスタンプ特徴、受信時刻特徴および開始時刻の項目を含む。   FIG. 7 is a diagram illustrating an example of a duplication determination table. The duplication determination table 221 is stored in the determination information storage unit 220. The duplication determination table 221 includes items of sensor ID, duplication resolution ID, address feature, time stamp feature, reception time feature, and start time.

センサIDの項目には、判定ルールの適用対象となるセンサデータのセンサIDが設定される。重複解決IDの項目には、判定ルールを識別するためのIDが設定される。重複解決IDは、例えば、「IDa::0」のように、センサID+「::」+センサID内での項番と表記される。あるセンサIDについての項番=0の判定ルールは、そのセンサIDについて最初に作成されたもの、すなわち、そのセンサIDを含むセンサデータが出現し始めた当初のセンサデータの規則性を示す判定ルールである。項番=0以外の判定ルールが存在するセンサIDは、複数のセンサ装置により重複使用されている可能性がある。なお、項番=0の判定ルールは、ユーザ操作によって作成されてもよい。   In the sensor ID item, a sensor ID of sensor data to which the determination rule is applied is set. An ID for identifying a determination rule is set in the duplicate resolution ID item. The duplicate resolution ID is expressed as the item number in the sensor ID + “::” + sensor ID, for example, “IDa :: 0”. The determination rule of item number = 0 for a certain sensor ID is the determination rule indicating the regularity of the initial sensor data that has been created for the sensor ID, that is, the sensor data including the sensor ID has started to appear. It is. There is a possibility that a sensor ID in which a determination rule other than item number = 0 exists is used by a plurality of sensor devices. Note that the determination rule of item number = 0 may be created by a user operation.

アドレス特徴の項目には、センサデータの送信元アドレスまたは送信元アドレスの範囲が設定される。送信元アドレスが変化しない場合は、1つのIPアドレスが設定される。送信元アドレスが過去に変化したと判定された場合は、複数のIPアドレスまたはIPアドレスの範囲が設定される。タイムスタンプ特徴の項目には、センサデータに含まれるタイムスタンプの周期が設定される。例えば、タイムスタンプ特徴が「10分間隔」であることは、同じセンサ装置から受信される一のセンサデータとその次のセンサデータとの間のタイムスタンプの差が、約10分になることを示している。   In the address feature item, a transmission source address of the sensor data or a range of the transmission source address is set. If the source address does not change, one IP address is set. When it is determined that the transmission source address has changed in the past, a plurality of IP addresses or IP address ranges are set. In the item of the time stamp feature, a cycle of the time stamp included in the sensor data is set. For example, a time stamp feature of “10 minute intervals” means that the time stamp difference between one sensor data received from the same sensor device and the next sensor data is about 10 minutes. Show.

受信時刻特徴の項目には、センサデータに含まれるタイムスタンプと当該センサデータの受信時刻との差の範囲が設定される。例えば、受信時刻特徴が「1秒以内」であることは、センサ装置がセンサデータを生成してからそのセンサデータがデータ管理サーバ200に到達するまでの遅延時間が一貫して1秒以内であることを示している。開始時刻の項目には、判定ルールに最初に該当したセンサデータのタイムスタンプ(または受信時刻)が設定される。なお、受信されたセンサデータに適合する判定ルールが存在しないために仮に生成された判定ルールは、タイムスタンプ特徴と受信時刻特徴が空欄となる。   In the item of the reception time feature, a range of a difference between the time stamp included in the sensor data and the reception time of the sensor data is set. For example, when the reception time feature is “within 1 second”, the delay time from when the sensor device generates sensor data until the sensor data reaches the data management server 200 is consistently within 1 second. It is shown that. In the start time item, the time stamp (or reception time) of the sensor data first corresponding to the determination rule is set. Note that since there is no determination rule that matches the received sensor data, the time stamp feature and the reception time feature are blank in the determination rule that is temporarily generated.

図8は、データ登録の手順例を示すフローチャートである。図8に示す処理は、データ管理サーバ200がセンサデータを受信する毎に実行される。
(ステップS11)データ受信部230は、センサデータを受信する。
FIG. 8 is a flowchart illustrating an example of a data registration procedure. The process shown in FIG. 8 is executed every time the data management server 200 receives sensor data.
(Step S11) The data receiving unit 230 receives sensor data.

(ステップS12)データ受信部230は、パケット通信に用いられた送信元アドレスと受信時刻を確認し、センサデータに送信元アドレスと受信時刻を付加する。
(ステップS13)重複判定部240は、判定情報記憶部220に記憶された重複判定テーブル221から、受信されたセンサデータに含まれるセンサIDに対応する判定ルールを検索する。ここでは、1またはそれ以上の判定ルールが検索され得る。
(Step S12) The data receiving unit 230 confirms the transmission source address and reception time used for packet communication, and adds the transmission source address and reception time to the sensor data.
(Step S13) The duplication determination unit 240 searches the duplication determination table 221 stored in the determination information storage unit 220 for a determination rule corresponding to the sensor ID included in the received sensor data. Here, one or more decision rules can be searched.

(ステップS14)重複判定部240は、検索された判定ルールを1つ選択する。
(ステップS15)重複判定部240は、センサデータが選択した判定ルールのアドレス特徴に適合するか判断する。すなわち、重複判定部240は、センサデータに付加された送信元アドレスがアドレス特徴として記載されたアドレスのリストまたはアドレス範囲に含まれるか判断する。センサデータがアドレス特徴に適合する場合は処理をステップS16に進め、アドレス特徴に適合しない場合は処理をステップS19に進める。
(Step S14) The duplication determination unit 240 selects one searched determination rule.
(Step S15) The duplication determination unit 240 determines whether the sensor data matches the address feature of the selected determination rule. That is, the duplication determination unit 240 determines whether the transmission source address added to the sensor data is included in the address list or address range described as the address feature. If the sensor data matches the address feature, the process proceeds to step S16. If the sensor data does not match the address feature, the process proceeds to step S19.

(ステップS16)重複判定部240は、センサデータが選択した判定ルールのタイムスタンプ特徴に適合するか判断する。タイムスタンプ特徴の判断は、例えば、以下のような手順で行う。重複判定部240は、センサデータに含まれるタイムスタンプと判定ルールの開始時刻との差(継続時間)を算出し、継続時間をタイムスタンプ特徴として記載された周期で割ったときの余りを算出する。重複判定部240は、余りが閾値(例えば、周期の1%)未満であればタイムスタンプ特徴に適合すると判断し、余りが閾値以上であればタイムスタンプ特徴に適合しないと判断する。ただし、重複判定部240は、選択した判定ルールに該当する前回受信されたセンサデータをデータ記憶部210から抽出し、タイムスタンプの差がタイムスタンプ特徴として記載された周期に合致するか判断してもよい。センサデータがタイムスタンプ特徴に適合する場合は処理をステップS17に進め、タイムスタンプ特徴に適合しない場合は処理をステップS19に進める。なお、タイムスタンプ特徴が空欄である場合は適合しないと判断する。   (Step S16) The duplication determination unit 240 determines whether the sensor data matches the time stamp feature of the selected determination rule. The determination of the time stamp characteristic is performed by the following procedure, for example. The overlap determination unit 240 calculates the difference (duration) between the time stamp included in the sensor data and the start time of the determination rule, and calculates the remainder when the duration is divided by the period described as the time stamp feature. . If the remainder is less than a threshold value (for example, 1% of the period), the overlap determination unit 240 determines that the time stamp feature is suitable, and determines that the remainder does not match the time stamp feature if the remainder is equal to or greater than the threshold value. However, the duplication determination unit 240 extracts the previously received sensor data corresponding to the selected determination rule from the data storage unit 210, and determines whether the time stamp difference matches the period described as the time stamp feature. Also good. If the sensor data matches the time stamp feature, the process proceeds to step S17. If the sensor data does not match the time stamp feature, the process proceeds to step S19. If the time stamp feature is blank, it is determined that the time stamp feature is not suitable.

(ステップS17)重複判定部240は、センサデータが選択した判定ルールの受信時刻特徴に適合するか判断する。すなわち、重複判定部240は、センサデータに含まれるタイムスタンプと受信時刻との差(遅延時間)を算出し、遅延時間が受信時刻特徴として記載された条件を具備するか判断する。受信時刻特徴が「不定」である場合は、受信時刻特徴に適合すると見なす。センサデータが受信時刻特徴に適合する場合は処理をステップS18に進め、受信時刻特徴に適合しない場合は処理をステップS19に進める。なお、受信時刻特徴が空欄である場合は適合しないと判断する。   (Step S17) The duplication determination unit 240 determines whether the sensor data matches the reception time feature of the selected determination rule. That is, the duplication determination unit 240 calculates the difference (delay time) between the time stamp included in the sensor data and the reception time, and determines whether the delay time satisfies the condition described as the reception time feature. When the reception time feature is “indefinite”, it is considered to be suitable for the reception time feature. If the sensor data matches the reception time feature, the process proceeds to step S18. If the sensor data does not match the reception time feature, the process proceeds to step S19. Note that if the reception time feature is blank, it is determined that it is not suitable.

(ステップS18)重複判定部240は、受信されたセンサデータがステップS14で選択した判定ルールに該当する、すなわち、センサIDの新たな重複使用は発生していないと判断する。重複判定部240は、選択した判定ルールの重複解決IDを選択する。   (Step S18) The duplication determination unit 240 determines that the received sensor data corresponds to the determination rule selected in step S14, that is, no new duplication of sensor IDs has occurred. The duplication determination unit 240 selects the duplication resolution ID of the selected determination rule.

(ステップS19)重複判定部240は、検索された判定ルールの全てをステップS14で選択したか判断する。全ての判定ルールを選択した場合は処理をステップS20に進め、未選択の判定ルールがある場合は処理をステップS14に進める。   (Step S19) The duplication determination unit 240 determines whether all of the retrieved determination rules have been selected in step S14. If all the determination rules are selected, the process proceeds to step S20. If there is an unselected determination rule, the process proceeds to step S14.

(ステップS20)重複判定部240は、受信されたセンサデータが何れの判定ルールにも該当しない、すなわち、センサIDの新たな重複使用が発生したと判断する。重複判定部240は、重複判定テーブル221に仮の判定ルールを登録する。仮の判定ルールのセンサIDは受信されたセンサデータのセンサIDであり、重複解決IDは既存の重複解決IDと異なるIDであり、開始時刻は受信されたセンサデータのタイムスタンプ(または受信時刻)である。また、仮の判定ルールのアドレス特徴は受信されたセンサデータの送信元アドレスであり、タイムスタンプ特徴と受信時刻特徴は空欄である。   (Step S20) The duplication determination unit 240 determines that the received sensor data does not correspond to any determination rule, that is, a new duplication use of the sensor ID has occurred. The duplication determination unit 240 registers a temporary determination rule in the duplication determination table 221. The sensor ID of the provisional determination rule is the sensor ID of the received sensor data, the duplicate resolution ID is an ID different from the existing duplicate resolution ID, and the start time is the time stamp (or reception time) of the received sensor data. It is. Further, the address feature of the provisional determination rule is the source address of the received sensor data, and the time stamp feature and the reception time feature are blank.

(ステップS21)重複判定部240は、ステップS20で重複判定テーブル221に登録した判定ルールの重複解決IDを選択する。
(ステップS22)重複判定部240は、ステップS18またはステップS21で選択した重複解決IDをセンサデータに付加する。そして、重複判定部240は、データ記憶部210に記憶されたセンサデータテーブル211にセンサデータを登録する。
(Step S21) The duplication determination unit 240 selects the duplication resolution ID of the determination rule registered in the duplication determination table 221 in step S20.
(Step S22) The duplication determination unit 240 adds the duplication resolution ID selected in step S18 or step S21 to the sensor data. Then, the duplication determination unit 240 registers sensor data in the sensor data table 211 stored in the data storage unit 210.

なお、図8では、アドレス特徴・タイムスタンプ特徴・受信時刻特徴の3つをAND条件として用いて、センサデータが判定ルールに該当するか判定している。しかし、上記3つの特徴の何れか1つのみを用いてもよく、何れか2つをAND条件として用いてもよい。また、上記ステップS15〜S17の処理は任意の順序で実行してよい。   In FIG. 8, it is determined whether the sensor data corresponds to the determination rule by using three of the address feature, the time stamp feature, and the reception time feature as AND conditions. However, only one of the above three features may be used, or any two may be used as an AND condition. Moreover, you may perform the process of said step S15-S17 in arbitrary orders.

図9は、判定情報更新の手順例を示すフローチャートである。図9に示す処理は、例えば、データ管理サーバ200の負荷が小さい時間帯にバッチ処理として実行される。
(ステップS31)判定情報更新部250は、1つのセンサIDを選択し、選択したセンサIDについての判定ルールを、判定情報記憶部220に記憶された重複判定テーブル221から検索する。ここでは、複数の判定ルールが検索され得る。
FIG. 9 is a flowchart illustrating an exemplary procedure for updating the determination information. The process illustrated in FIG. 9 is executed as a batch process, for example, during a time period when the load on the data management server 200 is small.
(Step S <b> 31) The determination information update unit 250 selects one sensor ID and searches the determination rule for the selected sensor ID from the duplication determination table 221 stored in the determination information storage unit 220. Here, a plurality of determination rules can be searched.

(ステップS32)判定情報更新部250は、アドレス特徴を1つ選択し、ステップS31で検索された判定ルールの中から、そのアドレス特徴をもつ判定ルールを抽出する。
(ステップS33)判定情報更新部250は、ステップS32で抽出された判定ルールの中から、タイムスタンプ特徴が空欄である判定ルールを抽出する。
(Step S32) The determination information updating unit 250 selects one address feature and extracts a determination rule having the address feature from the determination rules searched in step S31.
(Step S33) The determination information update unit 250 extracts a determination rule whose time stamp feature is blank from the determination rules extracted in step S32.

(ステップS34)判定情報更新部250は、ステップS33で抽出された判定ルールの何れかに該当するセンサデータ(何れかの重複解決IDが付与されたセンサデータ)の集合を、データ記憶部210に記憶されたセンサデータテーブル211から検索する。   (Step S <b> 34) The determination information update unit 250 stores a set of sensor data (sensor data to which any duplicate resolution ID is assigned) corresponding to any of the determination rules extracted in Step S <b> 33 in the data storage unit 210. Search from the stored sensor data table 211.

(ステップS35)判定情報更新部250は、ステップS34で検索されたセンサデータをタイムスタンプに従ってソートし、時刻に対する受信回数の分布を算出する。時刻については、タイムスタンプの誤差を考慮して丸め処理を行ってもよい。そして、判定情報更新部250は、時刻に対する受信回数の分布を離散フーリエ変換によりスペクトル解析する。これにより、周波数スペクトル(周波数成分の分布)を算出できる。   (Step S35) The determination information update unit 250 sorts the sensor data retrieved in Step S34 according to the time stamp, and calculates the distribution of the number of receptions with respect to time. The time may be rounded in consideration of time stamp errors. Then, the determination information update unit 250 performs spectrum analysis on the distribution of the number of receptions with respect to time by discrete Fourier transform. Thereby, the frequency spectrum (frequency component distribution) can be calculated.

(ステップS36)判定情報更新部250は、ステップS35で算出された周波数スペクトルからレベルが閾値以上である周波数を検出する。レベルの閾値は、例えば、ステップS34で検索されたセンサデータの総数の一定割合(3分の1など)とする。   (Step S36) The determination information updating unit 250 detects a frequency whose level is equal to or higher than a threshold value from the frequency spectrum calculated in Step S35. The level threshold is, for example, a certain ratio (such as one third) of the total number of sensor data searched in step S34.

(ステップS37)判定情報更新部250は、ステップS36でレベルが閾値以上の周波数が検出されたか判断する。レベルが閾値以上の周波数が検出された場合は処理をステップS38に進め、検出されなかった場合は処理をステップS47に進める。   (Step S37) The determination information updating unit 250 determines whether or not a frequency whose level is equal to or higher than the threshold value is detected in Step S36. If a frequency whose level is equal to or higher than the threshold is detected, the process proceeds to step S38. If not detected, the process proceeds to step S47.

(ステップS38)判定情報更新部250は、ステップS36で検出された周波数fの逆数=1/fを、タイムスタンプの周期ωとして算出する。なお、上記のタイムスタンプの周期の算出方法は一例であり、これ以外の方法で周期を算出してもよい。   (Step S38) The determination information updating unit 250 calculates the reciprocal of the frequency f detected in Step S36 = 1 / f as the time stamp period ω. Note that the method for calculating the period of the time stamp described above is an example, and the period may be calculated by other methods.

図10は、判定情報更新の手順例を示すフローチャート(続き)である。
(ステップS41)判定情報更新部250は、ステップS34で検索されたセンサデータの中から、ステップS38で算出した周期ωに該当するセンサデータを抽出する。例えば、ステップS35で算出した時刻に対する受信回数の分布をf(t)とすると、判定情報更新部250は、sin(ωt+θ)とf(t)との間の畳み込み積分の値が最大となるような位相θを求めることで、周期性をもつセンサデータの集合を特定する。
FIG. 10 is a flowchart (continued) illustrating an example of the procedure for updating the determination information.
(Step S41) The determination information updating unit 250 extracts sensor data corresponding to the cycle ω calculated in Step S38 from the sensor data searched in Step S34. For example, if the distribution of the number of receptions with respect to the time calculated in step S35 is f (t), the determination information update unit 250 may maximize the value of the convolution integral between sin (ωt + θ) and f (t). By obtaining the correct phase θ, a set of sensor data having periodicity is specified.

(ステップS42)判定情報更新部250は、ステップS33で抽出された判定ルールの中から、ステップS41で抽出された各センサデータに付加されている重複解決IDを含む判定ルールを抽出する。ここでは、複数の判定ルールが抽出され得る。   (Step S42) The determination information update unit 250 extracts a determination rule including the duplicate resolution ID added to each sensor data extracted in step S41 from the determination rules extracted in step S33. Here, a plurality of determination rules can be extracted.

(ステップS43)判定情報更新部250は、ステップS42で抽出された判定ルールを統合する。すなわち、判定情報更新部250は、残す判定ルールとして開始時刻が最も古い判定ルールを選択し、選択した判定ルールのタイムスタンプ特徴としてステップS38で算出した周期を登録する。そして、判定情報更新部250は、抽出された判定ルールのうち選択しなかった判定ルールを重複判定テーブル221から削除する。   (Step S43) The determination information update unit 250 integrates the determination rules extracted in Step S42. That is, the determination information update unit 250 selects the determination rule with the oldest start time as the determination rule to be left, and registers the period calculated in step S38 as the time stamp feature of the selected determination rule. Then, the determination information update unit 250 deletes the determination rule that is not selected from the extracted determination rules from the duplication determination table 221.

(ステップS44)判定情報更新部250は、ステップS41で抽出されたセンサデータの重複解決IDを、ステップS43で選択した判定ルールの重複解決IDに更新する。
(ステップS45)判定情報更新部250は、ステップS41で抽出されたセンサデータの受信時刻特徴を算出し、ステップS43で選択した判定ルールの受信時刻特徴として登録する。例えば、判定情報更新部250は、タイムスタンプと受信時刻との差(遅延時間)の分布を算出し、遅延時間の分布が平均遅延時間から所定範囲に収まっているか判断する。判定情報更新部250は、所定範囲に収まっている場合は受信時刻特徴をその範囲とし、収まっていない場合は受信時刻特徴を「不定」とする。なお、上記の遅延時間の範囲の算出方法は一例であり、これ以外の方法で範囲を算出してもよい。
(Step S44) The determination information update unit 250 updates the duplicate resolution ID of the sensor data extracted in Step S41 to the duplicate resolution ID of the determination rule selected in Step S43.
(Step S45) The determination information updating unit 250 calculates the reception time feature of the sensor data extracted in Step S41 and registers it as the reception time feature of the determination rule selected in Step S43. For example, the determination information update unit 250 calculates the distribution of the difference (delay time) between the time stamp and the reception time, and determines whether the delay time distribution is within a predetermined range from the average delay time. The determination information updating unit 250 sets the reception time feature as the range when it is within the predetermined range, and sets the reception time feature as “undefined” when it is not within the predetermined range. The method for calculating the range of the delay time is an example, and the range may be calculated by a method other than this.

(ステップS46)判定情報更新部250は、ステップS33で抽出した判定ルールのうちステップS43で統合されずに残った判定ルールがあるか判断する。残りの判定ルールがある場合は処理をステップS35に進め、残りの判定ルールに該当するセンサデータをスペクトル解析する。残りの判定ルールがない場合は処理をステップS47に進める。   (Step S46) The determination information updating unit 250 determines whether there is a determination rule remaining unintegrated in Step S43 among the determination rules extracted in Step S33. If there are remaining determination rules, the process proceeds to step S35, and the sensor data corresponding to the remaining determination rules is subjected to spectrum analysis. If there are no remaining determination rules, the process proceeds to step S47.

(ステップS47)判定情報更新部250は、ステップS32で全てのアドレス特徴を選択したか判断する。全てのアドレス特徴を選択した場合は処理をステップS48に進め、未選択のアドレス特徴がある場合は処理をステップS32に進める。   (Step S47) The determination information update unit 250 determines whether all address features have been selected in step S32. If all address features have been selected, the process proceeds to step S48. If there is an unselected address feature, the process proceeds to step S32.

(ステップS48)判定情報更新部250は、ステップS31で全てのセンサIDを選択したか判断する。全てのセンサIDを選択した場合は処理を終了し、未選択のセンサIDがある場合は処理をステップS31に進める。   (Step S48) The determination information updating unit 250 determines whether all sensor IDs have been selected in Step S31. If all sensor IDs have been selected, the process ends. If there is an unselected sensor ID, the process proceeds to step S31.

以上説明したように、既存の判定ルールに該当しないセンサデータが受信される毎に、仮の判定ルールが作成される。仮の判定ルールはタイムスタンプ特徴と受信時刻特徴が不明であるため、他のセンサデータが仮の判定ルールに該当するとは判断されない。このため、センサIDの重複使用が新たに検出されるとしばらくの間は仮の判定ルールが増加していく。その後、判定情報更新部250は、複数の仮の判定ルールを統合して、タイムスタンプ特徴と受信時刻特徴とが決定された判定ルールを生成する。   As described above, a provisional determination rule is created every time sensor data that does not correspond to an existing determination rule is received. Since the time stamp feature and the reception time feature are unknown in the provisional determination rule, it is not determined that other sensor data corresponds to the provisional determination rule. For this reason, when duplicate use of the sensor ID is newly detected, provisional determination rules increase for a while. Thereafter, the determination information update unit 250 integrates a plurality of provisional determination rules to generate a determination rule in which the time stamp feature and the reception time feature are determined.

なお、上記説明では、判定情報更新部250は、タイムスタンプの周期性からセンサデータの集合を特定し、特定したセンサデータの集合について遅延時間の規則性を判定している。しかし、判定情報更新部250は、遅延時間の規則性からセンサデータの集合を特定し、特定したセンサデータの集合についてタイムスタンプの周期性を判定してもよい。   In the above description, the determination information update unit 250 identifies a set of sensor data from the periodicity of the time stamp, and determines the regularity of the delay time for the identified set of sensor data. However, the determination information update unit 250 may specify a set of sensor data from the regularity of the delay time, and may determine the periodicity of the time stamp for the specified set of sensor data.

また、上記説明では、判定情報更新部250は、既存の判定ルールに該当しないセンサデータをまず送信元アドレスに基づいて分類し、送信元アドレスが同じセンサデータをタイムスタンプ特徴に基づいて分類している。ここで、タイムスタンプ特徴と受信時刻特徴が同じでありアドレス特徴が異なる2以上の判定ルールが生成された場合、同じセンサ装置のIPアドレスが変化している可能性がある。そこで、判定情報更新部250は、図9,10の処理によって生成された判定ルールを更に統合してもよい。   In the above description, the determination information update unit 250 first classifies sensor data not corresponding to the existing determination rule based on the transmission source address, and classifies sensor data having the same transmission source address based on the time stamp feature. Yes. Here, when two or more determination rules having the same time stamp characteristic and reception time characteristic but different address characteristics are generated, there is a possibility that the IP address of the same sensor device has changed. Therefore, the determination information update unit 250 may further integrate the determination rules generated by the processes of FIGS.

図11は、アドレス特徴統合の手順例を示すフローチャートである。
(ステップS51)判定情報更新部250は、重複判定テーブル221から、センサIDとタイムスタンプ特徴と受信時刻特徴とが同じ2以上の判定ルールを検索する。
FIG. 11 is a flowchart illustrating an exemplary procedure for address feature integration.
(Step S51) The determination information updating unit 250 searches the duplication determination table 221 for two or more determination rules having the same sensor ID, time stamp characteristic, and reception time characteristic.

(ステップS52)判定情報更新部250は、ステップS51で検索された判定ルールに該当するセンサデータをセンサデータテーブル211から検索する。
(ステップS53)判定情報更新部250は、ステップS51で検索された判定ルールを統合する。すなわち、判定情報更新部250は、残す判定ルールとして開始時刻が最も古い判定ルールを選択し、選択しなかった判定ルールのアドレス特徴として記載されたIPアドレスを選択した判定ルールのアドレス特徴に追加する。そして、判定情報更新部250は、選択しなかった判定ルールを重複判定テーブル221から削除する。
(Step S52) The determination information update unit 250 searches the sensor data table 211 for sensor data corresponding to the determination rule searched in step S51.
(Step S53) The determination information update unit 250 integrates the determination rules searched in Step S51. That is, the determination information update unit 250 selects the determination rule having the oldest start time as the determination rule to be left, and adds the IP address described as the address feature of the determination rule that has not been selected to the address feature of the selected determination rule. . Then, the determination information update unit 250 deletes the determination rule that has not been selected from the duplication determination table 221.

(ステップS54)判定情報更新部250は、ステップS52で検索されたセンサデータの重複解決IDを、ステップS53で選択した判定ルールの重複解決IDに更新する。
(ステップS55)判定情報更新部250は、ステップS51の条件を満たす判定ルールが残っているか判断する。条件を満たす判定ルールが残っている場合は処理をステップS51に進め、残っていない場合は処理を終了する。
(Step S54) The determination information updating unit 250 updates the duplicate resolution ID of the sensor data searched in Step S52 to the duplicate resolution ID of the determination rule selected in Step S53.
(Step S55) The determination information update unit 250 determines whether there are any remaining determination rules that satisfy the condition of Step S51. If a determination rule that satisfies the condition remains, the process proceeds to step S51; otherwise, the process ends.

図12は、重複判定テーブルの第1の更新結果例を示す図である。
センサID=IDaを含み重複解決ID=IDa::0の判定ルールに該当しないセンサデータが受信されると、重複判定部240は、重複解決ID=IDa::1の仮の判定ルールを作成し、そのセンサデータに重複解決ID=IDa::1を付与する。センサID=IDaを含み重複解決ID=IDa::0の判定ルールに該当しないセンサデータが更に受信されると、重複判定部240は、重複解決ID=IDa::2の仮の判定ルールを作成し、そのセンサデータに重複解決ID=IDa::2を付与する。
FIG. 12 is a diagram illustrating a first update result example of the duplication determination table.
When sensor data including sensor ID = IDa and not corresponding to the determination rule of duplicate resolution ID = IDa :: 0 is received, the duplicate determination unit 240 creates a temporary determination rule of duplicate resolution ID = IDa :: 1. The duplicate resolution ID = IDa :: 1 is assigned to the sensor data. When sensor data that includes sensor ID = IDa and does not correspond to the determination rule of duplicate resolution ID = IDa :: 0 is further received, the duplicate determination unit 240 creates a temporary determination rule of duplicate resolution ID = IDa :: 2. Then, the duplicate resolution ID = IDa :: 2 is assigned to the sensor data.

このようにして、センサID=IDaを含み重複解決ID=IDa::0の判定ルールに該当しないセンサデータが7回受信された場合、7つの仮の判定ルールが作成される。これら7つの仮の判定ルールのタイムスタンプ特徴は空欄である。図12に示すように、ここでは、重複解決ID=IDa::6の判定ルールのアドレス特徴(送信元アドレス)はAD4であり、他の6つの判定ルールのアドレス特徴はAD2であるとする。   In this way, when sensor data that includes sensor ID = IDa and does not correspond to the determination rule of duplicate resolution ID = IDa :: 0 is received seven times, seven temporary determination rules are created. The time stamp characteristics of these seven provisional determination rules are blank. As shown in FIG. 12, it is assumed here that the address feature (source address) of the determination rule of duplicate resolution ID = IDa :: 6 is AD4, and the address features of the other six determination rules are AD2.

判定ルールを統合するとき、判定情報更新部250は、センサID=IDa,アドレス特徴=AD2,タイムスタンプ特徴=空である6つの判定ルールを抽出する。すると、判定情報更新部250は、これら6つの判定ルールに該当する6回分のセンサデータを抽出し、抽出したセンサデータのタイムスタンプ特徴を算出する。図12の例ではタイムスタンプ特徴=5分間隔と算出される。これにより、6つの仮の判定ルールが重複解決ID=IDa::1の判定ルールに統一される。重複解決ID=IDa::6の判定ルールは他の判定ルールと統合されず、タイムスタンプ特徴が不明のままである。   When integrating the determination rules, the determination information update unit 250 extracts six determination rules with sensor ID = IDa, address feature = AD2, and time stamp feature = empty. Then, the determination information update unit 250 extracts sensor data for six times corresponding to these six determination rules, and calculates a time stamp characteristic of the extracted sensor data. In the example of FIG. 12, time stamp feature = 5 minute intervals is calculated. As a result, the six temporary determination rules are unified into the determination rule of duplicate resolution ID = IDa :: 1. The determination rule of duplicate resolution ID = IDa :: 6 is not integrated with other determination rules, and the time stamp characteristic remains unknown.

図13は、重複判定テーブルの第2の更新結果例を示す図である。ここでは、図12に示すような処理の結果、アドレス特徴=AD2,タイムスタンプ特徴=5分間隔,受信時刻特徴=不定という判定ルールと、アドレス特徴=AD3,タイムスタンプ特徴=5分間隔,受信時刻特徴=不定という判定ルールが生成されたとする。すると、判定情報更新部250は、タイムスタンプ特徴と受信時刻特徴が同じ2つの判定ルールを統合し、統合後の判定ルールのアドレス特徴をAD2,AD3とする。これは、統合後の判定ルールに該当するセンサデータが、IPアドレスの変化するセンサ装置で生成されることを示す。   FIG. 13 is a diagram illustrating a second update result example of the duplication determination table. Here, as a result of the processing shown in FIG. 12, a determination rule that address feature = AD2, time stamp feature = 5-minute interval, reception time feature = indeterminate, address feature = AD3, time stamp feature = 5-minute interval, reception It is assumed that a determination rule that time feature = indefinite is generated. Then, the determination information update unit 250 integrates two determination rules having the same time stamp characteristics and reception time characteristics, and sets the address characteristics of the determination rules after integration as AD2 and AD3. This indicates that sensor data corresponding to the determination rule after integration is generated by a sensor device whose IP address changes.

図14は、データ抽出の手順例を示すフローチャートである。図14に示す処理は、データ管理サーバ200が抽出要求を受け付ける毎に実行される。
(ステップS61)データ提供部260は、ネットワーク32を介して、アプリケーションサーバ300のデータ分析部310から抽出要求を受け付ける。抽出要求には、少なくともセンサIDが含まれている。抽出要求には、更にセンサID以外の抽出条件(例えば、送信元アドレスやタイムスタンプ周期など)が含まれることもある。
FIG. 14 is a flowchart illustrating an exemplary procedure for data extraction. The process shown in FIG. 14 is executed every time the data management server 200 receives an extraction request.
(Step S61) The data providing unit 260 receives an extraction request from the data analysis unit 310 of the application server 300 via the network 32. The extraction request includes at least a sensor ID. The extraction request may further include extraction conditions other than the sensor ID (for example, a transmission source address, a time stamp cycle, etc.).

(ステップS62)データ提供部260は、ステップS61で受け付けた抽出要求に、センサID以外の抽出条件が含まれるか判断する。抽出条件が含まれる場合は処理をステップS64に進め、含まれない場合は処理をステップS63に進める。   (Step S62) The data providing unit 260 determines whether the extraction request received in step S61 includes an extraction condition other than the sensor ID. If the extraction condition is included, the process proceeds to step S64; otherwise, the process proceeds to step S63.

(ステップS63)データ提供部260は、重複判定テーブル221から、抽出要求に含まれるセンサIDに対応する判定ルールのうち開始時刻が最も古い判定ルール(項番=0の判定ルール)を検索する。そして、処理をステップS67に進める。   (Step S63) The data providing unit 260 searches the duplication determination table 221 for a determination rule with the oldest start time (determination rule with item number = 0) among the determination rules corresponding to the sensor ID included in the extraction request. Then, the process proceeds to step S67.

(ステップS64)データ提供部260は、重複判定テーブル221から、抽出要求に含まれるセンサIDおよび抽出条件に対応する判定ルールを検索する。
(ステップS65)データ提供部260は、ステップS64で条件に合う判定ルールが見つかったか判断する。条件に合う判定ルールが見つかった場合は処理をステップS67に進め、見つからなかった場合は処理をステップS66に進める。
(Step S64) The data providing unit 260 searches the duplication determination table 221 for a determination rule corresponding to the sensor ID and the extraction condition included in the extraction request.
(Step S65) The data providing unit 260 determines whether a determination rule that meets the conditions is found in step S64. If a determination rule that meets the conditions is found, the process proceeds to step S67; otherwise, the process proceeds to step S66.

(ステップS66)データ提供部260は、重複判定テーブル221から、抽出要求に含まれるセンサIDに対応する判定ルールを全て検索する。
(ステップS67)データ提供部260は、ステップS63,S64,S66の何れかで検索された判定ルールの重複解決IDを選択する。ステップS66で複数の判定ルールが検索された場合は、複数の重複解決IDが選択される。
(Step S66) The data providing unit 260 searches the duplication determination table 221 for all determination rules corresponding to the sensor ID included in the extraction request.
(Step S67) The data providing unit 260 selects the duplicate resolution ID of the determination rule searched in any of steps S63, S64, and S66. If a plurality of determination rules are searched in step S66, a plurality of duplicate resolution IDs are selected.

(ステップS68)データ提供部260は、センサデータテーブル211から、ステップS67で選択した重複解決IDが付与されたセンサデータの集合を抽出し、抽出したセンサデータの集合をデータ分析部310に送信する。   (Step S68) The data providing unit 260 extracts from the sensor data table 211 a set of sensor data to which the duplicate resolution ID selected in step S67 is assigned, and transmits the extracted set of sensor data to the data analysis unit 310. .

このように、アプリケーションサーバ300は、センサIDのみを指定した場合、そのセンサIDを含むセンサデータが収集され始めた当初の規則性をもつセンサデータのみを取得する。すなわち、項番=0の判定ルールに該当するセンサデータのみを取得する。後にセンサIDの重複使用を開始したセンサ装置のセンサデータを取得したい場合、アプリケーションサーバ300は送信元アドレスなどの抽出条件を指定すればよい。   As described above, when only the sensor ID is designated, the application server 300 acquires only the sensor data having the original regularity at which the sensor data including the sensor ID has started to be collected. That is, only sensor data corresponding to the determination rule of item number = 0 is acquired. If it is desired to acquire sensor data of a sensor device that has started to use the sensor ID later, the application server 300 may specify an extraction condition such as a transmission source address.

次に、第2の実施の形態のデータ管理サーバの変形例を説明する。
変形例に係るデータ管理サーバ200aは、各センサIDに対応する送信元アドレスの集合を監視し、送信元アドレスの特性が変化した(例えば、それまで1つに固定されていた送信元アドレスが変化した)ことを検出すると、ユーザに警告する。また、データ管理サーバ200aは、アプリケーションサーバ300が抽出要求で指定する抽出条件を、データ管理サーバ200aに定義された抽出条件のリストの中から選択できるようにする。また、データ管理サーバ200aは、アプリケーションサーバ300で実行されるデータ分析ソフトウェア毎に、データ管理サーバ200aに最初にアクセスした時刻(アクセス開始時刻)を管理する。そして、データ管理サーバ200aは、アクセス開始時刻と判定ルールの開始時刻の関係から、提供するセンサデータの集合を制御する。
Next, a modification of the data management server of the second embodiment will be described.
The data management server 200a according to the modified example monitors a set of transmission source addresses corresponding to each sensor ID, and the characteristics of the transmission source address have changed (for example, the transmission source address that has been fixed to one has changed). If it is detected, the user is warned. In addition, the data management server 200a allows the extraction conditions specified by the application server 300 in the extraction request to be selected from the list of extraction conditions defined in the data management server 200a. Further, the data management server 200a manages the time when the data management server 200a is first accessed (access start time) for each data analysis software executed by the application server 300. Then, the data management server 200a controls a set of sensor data to be provided from the relationship between the access start time and the determination rule start time.

図15は、データ管理サーバの変形例を示すブロック図である。データ管理サーバ200aは、データ記憶部210、判定情報記憶部220、データ受信部230、重複判定部240、判定情報更新部250a、データ提供部260a、移動情報記憶部270、抽出条件記憶部280および履歴記憶部290を有する。判定情報更新部250aおよびデータ提供部260aは、データ管理サーバ200の判定情報更新部250およびデータ提供部260に対応する。移動情報記憶部270、抽出条件記憶部280および履歴記憶部290は、RAM102またはHDD103に確保した記憶領域として実現し得る。   FIG. 15 is a block diagram illustrating a modification of the data management server. The data management server 200a includes a data storage unit 210, a determination information storage unit 220, a data reception unit 230, a duplication determination unit 240, a determination information update unit 250a, a data provision unit 260a, a movement information storage unit 270, an extraction condition storage unit 280, and A history storage unit 290 is included. The determination information updating unit 250a and the data providing unit 260a correspond to the determination information updating unit 250 and the data providing unit 260 of the data management server 200. The movement information storage unit 270, the extraction condition storage unit 280, and the history storage unit 290 can be realized as a storage area secured in the RAM 102 or the HDD 103.

移動情報記憶部270は、各センサIDに対応する送信元アドレスの集合の特性(移動特性)を示す移動情報を記憶する。移動特性としては、送信元アドレスが変化しない、送信元アドレスが1つのネットワークセグメント内で変化する、送信元アドレスが複数のネットワークセグメントに跨がって変換するという3種類が挙げられる。移動情報記憶部270に記憶される移動情報は、判定情報更新部250aによって作成される。   The movement information storage unit 270 stores movement information indicating characteristics (movement characteristics) of a set of transmission source addresses corresponding to each sensor ID. There are three types of mobility characteristics: the source address does not change, the source address changes within one network segment, and the source address is converted across multiple network segments. The movement information stored in the movement information storage unit 270 is created by the determination information update unit 250a.

抽出条件記憶部280は、アプリケーションサーバ300が抽出要求で指定することができる抽出条件のリストを記憶する。この抽出条件のリストを利用する場合、アプリケーションサーバ300は、指定する抽出条件の識別名を抽出要求に挿入すればよい。抽出条件記憶部280に記憶される抽出条件のリストは、ユーザ操作によって作成される。   The extraction condition storage unit 280 stores a list of extraction conditions that can be specified by the application server 300 in the extraction request. When using this list of extraction conditions, the application server 300 may insert the identification name of the specified extraction condition into the extraction request. The list of extraction conditions stored in the extraction condition storage unit 280 is created by a user operation.

履歴記憶部290は、アプリケーションサーバ300で実行されるデータ分析ソフトウェアとセンサIDの組毎に、そのセンサIDを指定した抽出要求を最初に受け付けた時刻(アクセス開始時刻)を示す履歴情報を記憶する。履歴記憶部290に記憶される履歴情報は、データ提供部260aによって作成される。   The history storage unit 290 stores history information indicating the time (access start time) when an extraction request specifying the sensor ID is first received for each set of data analysis software and sensor ID executed by the application server 300. . The history information stored in the history storage unit 290 is created by the data providing unit 260a.

判定情報更新部250aは、重複判定テーブル221に登録された判定ルールを統合した後、センサID毎にアドレス特徴として記載された送信元アドレスの集合を算出する。そして、判定情報更新部250aは、移動情報記憶部270に記憶された移動情報を参照して、判定ルールの統合を前回行ったときから移動特性が変化したセンサIDがあるか判定する。移動特性が変化したセンサIDが検出された場合、判定情報更新部250aは、その旨をユーザ(データ管理サーバ200aの管理者でもよい)に警告する。   After integrating the determination rules registered in the duplication determination table 221, the determination information update unit 250a calculates a set of transmission source addresses described as address features for each sensor ID. Then, the determination information update unit 250a refers to the movement information stored in the movement information storage unit 270, and determines whether there is a sensor ID whose movement characteristics have changed since the previous integration of the determination rules. When a sensor ID whose movement characteristics have changed is detected, the determination information update unit 250a warns the user (may be an administrator of the data management server 200a) to that effect.

警告を受けたユーザは、センサ装置の使用状態を確認し、重複判定テーブル221を適宜編集する。例えば、センサ装置の使用方法の変更に起因して送信元アドレスが変化することになった場合、ユーザは、判定ルールのアドレス特徴を固定のIPアドレスからアドレス範囲に書き換える。また、例えば、センサ装置の使用方法を変更しておらずセンサIDの重複使用が発生したと考えられる場合、ユーザは、そのセンサIDについては送信元アドレスの異なる2以上の判定ルールを統合せずに分離しておく。なお、判定情報更新部250aは、移動特性の変化が最初に検出されてから一定期間(例えば3日間)は、学習期間としてユーザに対して警告しないようにしてもよい。学習期間経過後も移動特性の変化が継続している場合に、判定情報更新部250aはユーザに警告する。   The user who has received the warning confirms the usage state of the sensor device and edits the duplication determination table 221 as appropriate. For example, when the transmission source address changes due to a change in the usage method of the sensor device, the user rewrites the address characteristic of the determination rule from a fixed IP address to an address range. In addition, for example, when it is considered that the usage of the sensor device is not changed and the duplicate use of the sensor ID has occurred, the user does not integrate two or more determination rules having different transmission source addresses for the sensor ID. Separated into Note that the determination information update unit 250a may not warn the user as a learning period for a certain period (for example, 3 days) after the change of the movement characteristic is first detected. If the change in the movement characteristics continues even after the learning period has elapsed, the determination information update unit 250a warns the user.

データ提供部260aは、センサIDと抽出条件の識別名とを含む抽出要求をアプリケーションサーバ300から受け付けることを許容する。この場合、データ提供部260aは、抽出条件記憶部280に記憶された抽出条件のリストから指定された識別名に対応する抽出条件を選択し、センサIDと抽出条件に従ってセンサデータの集合を抽出する。   The data providing unit 260a allows the extraction request including the sensor ID and the identification name of the extraction condition to be received from the application server 300. In this case, the data providing unit 260a selects an extraction condition corresponding to the specified identification name from the list of extraction conditions stored in the extraction condition storage unit 280, and extracts a set of sensor data according to the sensor ID and the extraction condition. .

また、データ提供部260aは、センサIDを含み抽出条件(または、抽出条件の識別名)を含まない抽出要求をアプリケーションサーバ300から受け付けることを許容する。この場合、データ提供部260aは、抽出要求を発行したデータ分析ソフトウェアを確認し、データ分析ソフトウェアとセンサIDの組に対応するアクセス開始時刻を、履歴記憶部290に記憶された履歴情報から検索する。そして、データ提供部260aは、アクセス開始時刻と各判定ルールの開始時刻との関係から、センサデータの抽出を制御する。   In addition, the data providing unit 260a permits the application server 300 to accept an extraction request that includes the sensor ID but does not include the extraction condition (or the identification name of the extraction condition). In this case, the data providing unit 260a confirms the data analysis software that has issued the extraction request, and searches the history information stored in the history storage unit 290 for the access start time corresponding to the combination of the data analysis software and the sensor ID. . And the data provision part 260a controls extraction of sensor data from the relationship between access start time and the start time of each determination rule.

例えば、データ提供部260aは、指定されたセンサIDについて、開始時刻がアクセス開始時刻より古い判定ルールが1つしか存在しない(項番=0の判定ルールのみである)場合、その判定ルールに該当するセンサデータのみを抽出する。かかる条件を満たす場合、抽出要求を発行したデータ分析ソフトウェアの意図するセンサデータの集合が明確であるためである。一方、データ提供部260aは、開始時刻がアクセス開始時刻より古い判定ルールが2以上存在する場合、エラーをデータ分析ソフトウェアに通知する。かかる条件を満たす場合、データ分析ソフトウェアの意図するセンサデータの集合が、2以上の判定ルールの何れに該当するセンサデータの集合であるか明確でないためである。   For example, if there is only one determination rule whose start time is older than the access start time for the specified sensor ID (only the determination rule with item number = 0), the data providing unit 260a corresponds to that determination rule. Only sensor data to be extracted. This is because, when such a condition is satisfied, a set of sensor data intended by the data analysis software that has issued the extraction request is clear. On the other hand, if there are two or more determination rules whose start time is older than the access start time, the data providing unit 260a notifies the data analysis software of an error. This is because, when such a condition is satisfied, it is not clear which sensor data set intended by the data analysis software corresponds to one of two or more determination rules.

図16は、移動特性テーブルと解析結果テーブルの例を示す図である。
移動特性テーブル271は、移動情報記憶部270に記憶されている。移動特性テーブル271は、移動特性名、移動特性およびパラメータ名の項目を含む。移動特性名の項目には、移動特性の識別名が登録される。移動特性の項目には、移動特性の内容が記載される。移動特性には、アドレスが1つに固定(特性1=移動なし)、アドレスが1つのネットワークセグメント内で変化(特性2=セグメント内で移動)、アドレスが複数のネットワークセグメントに跨がって変化(特性3=移動範囲が不定)の3つがある。パラメータ名の項目には、各特性に対して設定すべきパラメータが登録される。特性1のパラメータは1つのアドレスであり、特性2,3のパラメータは2以上のアドレスである。
FIG. 16 is a diagram illustrating an example of the movement characteristic table and the analysis result table.
The movement characteristic table 271 is stored in the movement information storage unit 270. The movement characteristic table 271 includes items of movement characteristic name, movement characteristic, and parameter name. In the item of the movement characteristic name, an identification name of the movement characteristic is registered. In the item of the movement characteristic, the content of the movement characteristic is described. In the movement characteristics, the address is fixed to one (characteristic 1 = no movement), the address changes within one network segment (characteristic 2 = moves within the segment), and the address changes across multiple network segments. There are three (characteristic 3 = movement range is indefinite). Parameters to be set for each characteristic are registered in the parameter name item. The parameter of characteristic 1 is one address, and the parameters of characteristics 2 and 3 are two or more addresses.

解析結果テーブル272は、移動情報記憶部270に記憶されている。解析結果テーブル272は、センサID、解析時刻および解析結果の項目を含む。解析時刻の項目には、判定情報更新部250aが重複判定テーブル221を解析した時刻が登録される。解析結果の項目には、各センサIDの移動特性とパラメータとが登録される。   The analysis result table 272 is stored in the movement information storage unit 270. The analysis result table 272 includes items of sensor ID, analysis time, and analysis result. In the analysis time item, the time when the determination information update unit 250a analyzes the duplication determination table 221 is registered. In the analysis result item, the movement characteristics and parameters of each sensor ID are registered.

例えば、あるセンサIDに対応する送信元アドレスがAD1のみである場合、移動特性=特性1,パラメータ=AD1となる。また、例えば、送信元アドレスがAD1,AD2であり2つの送信元アドレスが同じネットワークセグメントのアドレスである場合、移動特性=特性2,パラメータ=AD1,AD2となる。また、例えば、送信元アドレスがAD1,AD2であり2つの送信元アドレスが異なるネットワークセグメントのアドレスである場合、移動特性=特性3,パラメータ=AD1,AD2となる。   For example, when the source address corresponding to a certain sensor ID is only AD1, the movement characteristic = characteristic 1, parameter = AD1. For example, when the transmission source addresses are AD1 and AD2, and the two transmission source addresses are addresses of the same network segment, mobility characteristic = characteristic 2, parameter = AD1, AD2. For example, when the source addresses are AD1 and AD2 and the two source addresses are addresses of different network segments, mobility characteristics = characteristic 3 and parameters = AD1, AD2.

このように、判定情報更新部250aは、センサID毎にそのセンサIDを含むセンサデータの送信に用いられたアドレスを抽出して解析結果テーブル272に登録する。そして、判定情報更新部250aは、前回の解析結果と今回の解析結果とを比較することで、移動特性が変化したセンサIDを検出することができる。なお、移動特性の変化には、特性1から特性2、特性2から特性3、特性1から特性3の3通りの変化がある。   In this manner, the determination information update unit 250a extracts the address used for transmitting the sensor data including the sensor ID for each sensor ID and registers the address in the analysis result table 272. And the determination information update part 250a can detect sensor ID from which the movement characteristic changed by comparing the last analysis result and this analysis result. Note that there are three types of changes in the movement characteristics: characteristics 1 to 2, characteristics 2 to 3, and characteristics 1 to 3.

図17は、抽出条件テーブルの例を示す図である。抽出条件テーブル281は、抽出条件記憶部280に記憶されている。抽出条件テーブル281は、条件名および条件の項目を含む。条件名の項目には、抽出条件の識別名が登録される。条件の項目には、抽出条件の内容が記載される。図17の例では、3つの抽出条件が登録されている。   FIG. 17 is a diagram illustrating an example of the extraction condition table. The extraction condition table 281 is stored in the extraction condition storage unit 280. The extraction condition table 281 includes condition name and condition items. In the condition name item, an identification name of the extraction condition is registered. The condition item describes the contents of the extraction condition. In the example of FIG. 17, three extraction conditions are registered.

条件1(最初に登録されたアドレス)は、抽出するセンサデータを、最初のセンサデータと同じ送信元アドレスを用いて送信されたものに限定する抽出条件である。条件1が指定されると、データ提供部260aは、項番=0の判定ルールに該当するセンサデータを検索する。条件2(登録から所定期間以上経過したアドレス)は、抽出するセンサデータを、重複判定テーブル221に登録されてから所定期間以上経過した送信元アドレスを用いて送信されたものに限定する抽出条件である。条件2が指定されると、データ提供部260aは、開始時刻と現在時刻との差が閾値(例えば、3ヶ月)以上である判定ルールに該当するセンサデータを検索する。条件3(全てのアドレス)は、センサID以外の抽出条件を指定しないことを示す。条件3が指定されると、データ提供部260aは、センサIDに対応する全ての判定ルールを使用してセンサデータを検索する。   Condition 1 (the first registered address) is an extraction condition that limits the sensor data to be extracted to those transmitted using the same source address as the first sensor data. When condition 1 is designated, the data providing unit 260a searches for sensor data corresponding to the determination rule of item number = 0. Condition 2 (address that has passed a predetermined period since registration) is an extraction condition that limits sensor data to be extracted to those that have been transmitted using a source address that has passed a predetermined period since registration in the duplication determination table 221. is there. When condition 2 is specified, the data providing unit 260a searches for sensor data corresponding to a determination rule in which the difference between the start time and the current time is equal to or greater than a threshold (for example, three months). Condition 3 (all addresses) indicates that no extraction condition other than the sensor ID is designated. When condition 3 is specified, the data providing unit 260a searches for sensor data using all the determination rules corresponding to the sensor ID.

図18は、アクセス履歴テーブルの例を示す図である。アクセス履歴テーブル291は、履歴記憶部290に記憶されている。アクセス履歴テーブル291は、アプリケーション名、センサIDおよびアクセス開始時刻の項目を含む。アプリケーション名の項目には、データ分析ソフトウェアの名称が登録される。アプリケーション名は、抽出要求に含まれ得る。センサIDの項目には、データ分析ソフトウェアから指定されたことのあるセンサIDが登録される。アクセス開始時刻の項目には、データ分析ソフトウェアとセンサIDの組に対して、そのデータ分析ソフトウェアからそのセンサIDを含む抽出要求をデータ管理サーバ200が最初に受け付けた時刻が登録される。   FIG. 18 is a diagram illustrating an example of an access history table. The access history table 291 is stored in the history storage unit 290. The access history table 291 includes items of application name, sensor ID, and access start time. The name of the data analysis software is registered in the application name item. The application name can be included in the extraction request. A sensor ID that has been designated by the data analysis software is registered in the sensor ID item. In the access start time item, the time at which the data management server 200 first received an extraction request including the sensor ID from the data analysis software is registered for the set of the data analysis software and the sensor ID.

ここで、図18の例では、ソフトウェアαは、重複解決ID=IDa::0の判定ルール(判定ルール0)が登録された後、重複解決ID=IDa::1の判定ルール(判定ルール1)が登録される前に、データ分析を開始している。また、ソフトウェアβは、判定ルール1が登録された後にデータ分析を開始している。この場合、ソフトウェアαは判定ルール0に該当するセンサデータを分析するものと推定され、判定ルール0に該当するセンサデータがソフトウェアαに提供される。一方、ソフトウェアβは、判定ルール0と判定ルール1の何れに該当するセンサデータを分析するものであるか不明なため、センサIDのみではセンサデータを絞り込めない。ソフトウェアβは、センサID以外の抽出条件を指定することでセンサデータを絞り込むことになる。   Here, in the example of FIG. 18, the software α registers the determination rule (determination rule 0) of the duplicate resolution ID = IDa :: 0, and then determines the determination rule (determination rule 1) of the conflict resolution ID = IDa :: 1. ) Has started data analysis before it is registered. In addition, the software β starts data analysis after the determination rule 1 is registered. In this case, it is presumed that the software α analyzes the sensor data corresponding to the determination rule 0, and the sensor data corresponding to the determination rule 0 is provided to the software α. On the other hand, since it is unclear whether the software β analyzes the sensor data corresponding to the determination rule 0 or the determination rule 1, the software β cannot narrow down the sensor data only by the sensor ID. The software β narrows down the sensor data by designating extraction conditions other than the sensor ID.

第2の実施の形態の情報処理システムによれば、電源タップ100aのセンサ装置が電源タップ100のセンサ装置と同一のセンサIDを重複して使用し始めても、センサデータの規則性から、センサIDの重複使用が発生したことを検出することができる。そして、センサデータの規則性に基づいて、電源タップ100のセンサデータと電源タップ100aのセンサデータとを区別することができる。よって、収集されたセンサデータを用いて電源タップ100,100aそれぞれの消費電力を監視することが容易となる。   According to the information processing system of the second embodiment, even if the sensor device of the power strip 100a starts to use the same sensor ID as that of the sensor device of the power strip 100, the sensor ID becomes regular due to the regularity of the sensor data. It is possible to detect the occurrence of duplicate use. And based on the regularity of sensor data, the sensor data of the power strip 100 and the sensor data of the power strip 100a can be distinguished. Therefore, it becomes easy to monitor the power consumption of each of the power taps 100 and 100a using the collected sensor data.

また、電源タップ100,100aのセンサ装置に割り当てられるIPアドレスが変化する場合でも、タイムスタンプ特徴などからセンサデータを適切に分類し得る。よって、センサ装置のIPアドレスを固定する場合と比べてネットワーク設計の自由度が大きくなる。また、各センサ装置に設定されたセンサIDを改竄できないようにする(例えば、センサIDを暗号化して変更不可にする)場合と比べて、各センサ装置の回路が複雑になるのを抑制でき、また、データ管理サーバ200,200aの負荷を抑制できる。   Further, even when the IP address assigned to the sensor device of the power strip 100, 100a changes, the sensor data can be appropriately classified based on the time stamp characteristics. Therefore, the degree of freedom in network design is greater than in the case where the IP address of the sensor device is fixed. Moreover, compared with the case where the sensor ID set in each sensor device cannot be tampered (for example, the sensor ID is encrypted and cannot be changed), the circuit of each sensor device can be prevented from becoming complicated, Moreover, the load of the data management servers 200 and 200a can be suppressed.

なお、前述のように、第1の実施の形態の機能は、情報処理装置10にプログラムを実行させることで実現できる。また、第2の実施の形態の機能は、データ管理サーバ200,200aやアプリケーションサーバ300にプログラムを実行させることで実現できる。プログラムは、コンピュータ読み取り可能な記録媒体(例えば、記録媒体43)に記録しておくことができる。記録媒体としては、例えば、磁気ディスク、光ディスク、光磁気ディスク、半導体メモリなどを使用できる。磁気ディスクには、FDおよびHDDが含まれる。光ディスクには、CD、CD−R(Recordable)/RW(Rewritable)、DVDおよびDVD−R/RWが含まれる。プログラムは、可搬型の記録媒体に記録されて配布されることがある。その場合、可搬型の記録媒体からHDDなどの他の記録媒体にプログラムを複製してから(インストールしてから)実行してもよい。   As described above, the functions of the first embodiment can be realized by causing the information processing apparatus 10 to execute a program. The functions of the second embodiment can be realized by causing the data management servers 200 and 200a and the application server 300 to execute a program. The program can be recorded on a computer-readable recording medium (for example, the recording medium 43). As the recording medium, for example, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like can be used. Magnetic disks include FD and HDD. Optical discs include CD, CD-R (Recordable) / RW (Rewritable), DVD, and DVD-R / RW. The program may be recorded and distributed on a portable recording medium. In that case, the program may be copied from a portable recording medium to another recording medium such as an HDD and then executed.

10 情報処理装置
11 受信部
12 データ処理部
21,22 センサ装置
DESCRIPTION OF SYMBOLS 10 Information processing apparatus 11 Receiving part 12 Data processing part 21, 22 Sensor apparatus

Claims (7)

情報処理システムが実行するデータ管理方法であって、
複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信し、
同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定し、
前記判定の結果に応じて、前記同一の識別情報が付加されたセンサデータを分類する、
データ管理方法。
A data management method executed by an information processing system,
From each of a plurality of sensor devices, sensor data to which identification information is added by the sensor device is received,
Two or more sensor devices that use the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added Determine if there is
Classifying the sensor data to which the same identification information is added according to the result of the determination;
Data management method.
各センサデータにはタイムスタンプが含まれており、前記判定ルールは前記タイムスタンプの周期性を用いる、請求項1記載のデータ管理方法。   The data management method according to claim 1, wherein each sensor data includes a time stamp, and the determination rule uses periodicity of the time stamp. 各センサデータにはタイムスタンプが含まれており、前記判定ルールは前記タイムスタンプと前記情報処理システムでの受信時刻との差の規則性を用いる、請求項1記載のデータ管理方法。   The data management method according to claim 1, wherein each sensor data includes a time stamp, and the determination rule uses a regularity of a difference between the time stamp and a reception time in the information processing system. 前記判定ルールは、各センサデータが送信されたときの送信元アドレスの変動特性を用いる、請求項1記載のデータ管理方法。   The data management method according to claim 1, wherein the determination rule uses a variation characteristic of a source address when each sensor data is transmitted. センサデータの集合の抽出要求であって前記同一の識別情報を指定した抽出要求を受け付けた場合、前記分類によって得られた2以上のセンサデータの集合のうち、生成されたタイミングが最も古いセンサデータを含む集合を抽出する、請求項1記載のデータ管理方法。   When a request for extracting a set of sensor data is received and the extraction request specifying the same identification information is received, the sensor data with the oldest timing generated among the sets of two or more sensor data obtained by the classification The data management method according to claim 1, wherein a set including the data is extracted. 複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信する受信部と、
同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定し、前記判定の結果に応じて前記同一の識別情報が付加されたセンサデータを分類するデータ処理部と、
を有する情報処理装置。
A receiving unit that receives sensor data to which identification information is added by each of the plurality of sensor devices,
Two or more sensor devices that use the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added A data processing unit that classifies sensor data to which the same identification information is added according to the determination result;
An information processing apparatus.
コンピュータに、
複数のセンサ装置それぞれから、当該センサ装置によって識別情報が付加されたセンサデータを受信し、
同一の識別情報が付加されたセンサデータの規則性を示す判定ルールを記憶する判定情報記憶部に記憶された当該判定ルールに基づいて、当該同一の識別情報を使用しているセンサ装置が2以上あるか判定し、
前記判定の結果に応じて、前記同一の識別情報が付加されたセンサデータを分類する、
処理を実行させるプログラム。
On the computer,
From each of a plurality of sensor devices, sensor data to which identification information is added by the sensor device is received,
Two or more sensor devices that use the same identification information based on the determination rule stored in the determination information storage unit that stores the determination rule indicating the regularity of the sensor data to which the same identification information is added Determine if there is
Classifying the sensor data to which the same identification information is added according to the result of the determination;
A program that executes processing.
JP2012214928A 2012-09-27 2012-09-27 Data management method, information processing apparatus, and program Expired - Fee Related JP6020004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012214928A JP6020004B2 (en) 2012-09-27 2012-09-27 Data management method, information processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012214928A JP6020004B2 (en) 2012-09-27 2012-09-27 Data management method, information processing apparatus, and program

Publications (2)

Publication Number Publication Date
JP2014071495A true JP2014071495A (en) 2014-04-21
JP6020004B2 JP6020004B2 (en) 2016-11-02

Family

ID=50746677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012214928A Expired - Fee Related JP6020004B2 (en) 2012-09-27 2012-09-27 Data management method, information processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP6020004B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014115794A (en) * 2012-12-10 2014-06-26 Hitachi Ltd Radio communication system, radio communication device, and time correction method
JP2018124852A (en) * 2017-02-02 2018-08-09 沖電気工業株式会社 Information processing system, information processing method, and program
CN108604239A (en) * 2015-12-30 2018-09-28 华睿泰科技有限责任公司 System and method for effective grouped data object
US11761798B2 (en) 2020-03-23 2023-09-19 Canon Kabushiki Kaisha Information processing system, information processing method, recording medium, node device, gateway device, manufacturing system, method of manufacturing product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005100100A (en) * 2003-09-25 2005-04-14 Toyota Motor Corp Wheel information processing device and method
JP2012515481A (en) * 2009-01-15 2012-07-05 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and apparatus for performing cell search

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005100100A (en) * 2003-09-25 2005-04-14 Toyota Motor Corp Wheel information processing device and method
JP2012515481A (en) * 2009-01-15 2012-07-05 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and apparatus for performing cell search

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014115794A (en) * 2012-12-10 2014-06-26 Hitachi Ltd Radio communication system, radio communication device, and time correction method
CN108604239A (en) * 2015-12-30 2018-09-28 华睿泰科技有限责任公司 System and method for effective grouped data object
JP2019502998A (en) * 2015-12-30 2019-01-31 ベリタス テクノロジーズ エルエルシー System and method for efficiently classifying data objects
US10706368B2 (en) 2015-12-30 2020-07-07 Veritas Technologies Llc Systems and methods for efficiently classifying data objects
CN108604239B (en) * 2015-12-30 2022-01-28 华睿泰科技有限责任公司 System and method for efficiently classifying data objects
JP2018124852A (en) * 2017-02-02 2018-08-09 沖電気工業株式会社 Information processing system, information processing method, and program
US11761798B2 (en) 2020-03-23 2023-09-19 Canon Kabushiki Kaisha Information processing system, information processing method, recording medium, node device, gateway device, manufacturing system, method of manufacturing product

Also Published As

Publication number Publication date
JP6020004B2 (en) 2016-11-02

Similar Documents

Publication Publication Date Title
US10164847B2 (en) Data transfer monitor system, data transfer monitor method and base system
JP6152788B2 (en) Failure sign detection method, information processing apparatus, and program
US8645769B2 (en) Operation management apparatus, operation management method, and program storage medium
JP5541130B2 (en) Management device, management method, and management program
US20160378583A1 (en) Management computer and method for evaluating performance threshold value
WO2012066650A1 (en) Information processing device, message extracting method and message extracting program
US20070011745A1 (en) Recording medium recording worm detection parameter setting program, and worm detection parameter setting device
JP6020004B2 (en) Data management method, information processing apparatus, and program
JP2018045403A (en) Abnormality detection system and abnormality detection method
WO2015136624A1 (en) Application performance monitoring method and device
CN110399722B (en) Virus family generation method, device, server and storage medium
WO2015198425A1 (en) Building management device, wide-area management system, data acquisition method, and program
JP2011258057A (en) Analysis program, analysis method, and analyzer
JP7311350B2 (en) MONITORING DEVICE, MONITORING METHOD, AND MONITORING PROGRAM
US20200374199A1 (en) Techniques for correlating service events in computer network diagnostics
JP6457777B2 (en) Automated generation and dynamic update of rules
JP6252309B2 (en) Monitoring omission identification processing program, monitoring omission identification processing method, and monitoring omission identification processing device
US20190362010A1 (en) Epsilon-closure for frequent pattern analysis
US8812659B2 (en) Feedback-based symptom and condition correlation
US9276826B1 (en) Combining multiple signals to determine global system state
JP6283001B2 (en) Information processing apparatus, information processing method, and information processing program
JP7100607B2 (en) Anomaly detection system and anomaly detection method
JPWO2015071978A1 (en) Event management program, event management method, and distributed system
JP2020009202A (en) Storage device, storage system, and performance evaluation method
US20230177152A1 (en) Method, apparatus, and computer-readable recording medium for performing machine learning-based observation level measurement using server system log and performing risk calculation using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160615

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160919

R150 Certificate of patent or registration of utility model

Ref document number: 6020004

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees