JP2011142439A - Data collection system and data collection server thereof - Google Patents

Data collection system and data collection server thereof Download PDF

Info

Publication number
JP2011142439A
JP2011142439A JP2010001167A JP2010001167A JP2011142439A JP 2011142439 A JP2011142439 A JP 2011142439A JP 2010001167 A JP2010001167 A JP 2010001167A JP 2010001167 A JP2010001167 A JP 2010001167A JP 2011142439 A JP2011142439 A JP 2011142439A
Authority
JP
Japan
Prior art keywords
sensor
data
data collection
sensor data
collection server
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
JP2010001167A
Other languages
Japanese (ja)
Other versions
JP5430411B2 (en
Inventor
Yasutaka Nishimura
康孝 西村
Shinji Mogi
信二 茂木
Takahito Yoshihara
貴仁 吉原
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.)
KDDI Research Inc
Original Assignee
KDDI R&D Laboratories Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI R&D Laboratories Inc filed Critical KDDI R&D Laboratories Inc
Priority to JP2010001167A priority Critical patent/JP5430411B2/en
Publication of JP2011142439A publication Critical patent/JP2011142439A/en
Application granted granted Critical
Publication of JP5430411B2 publication Critical patent/JP5430411B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data collection system which can do collection as data collection server repeats sensor data from a lot of sensor nodes in concentration without causing an excessive load in a network and the data collection server, and also to provide the data collection server thereof. <P>SOLUTION: The average value of sensor data D1 transmitted from one sensor node 1a and sensor data D2 received from another sensor node 1b is obtained as statistics Ds, and future transitions are predicted, for example, by extrapolation (extrapolation), regression analysis, or a least squares method on the basis of transition results up to the present time t0 of the statistics Ds. Then, a time tx when a deviation &Delta;Ds between statistics Ds(t0) at the present time and a predicted value Ds(tx) exceeds a predetermined threshold Ds_ref is calculated, and the time tx is determined as communication timing tp of sensor data D. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、物理量を検出するセンサを備えた複数のセンサノードからセンサデータを繰り返し収集するデータ収集システムおよびそのデータ収集サーバに関する。   The present invention relates to a data collection system that repeatedly collects sensor data from a plurality of sensor nodes including sensors that detect physical quantities, and a data collection server thereof.

携帯電話、PDAあるいはポケットコンピュータなどの無線式携帯端末に、歩数センサ、測位センサ、温度センサ、加速度センサ等の各種センサを設けてセンサノードとして機能させ、各センサで計測されたセンサデータをネットワーク経由でデータ収集サーバへ送信して統計的に処理する技術が知られている。   Various types of sensors such as step sensors, positioning sensors, temperature sensors, and acceleration sensors are provided in wireless portable terminals such as mobile phones, PDAs, and pocket computers to function as sensor nodes, and sensor data measured by each sensor is sent via a network. A technique for performing statistical processing by transmitting to a data collection server is known.

特許文献1には、ホストサーバおよび利用者携帯端末をインターネットに接続し、利用者が所持する利用者携帯端末を通じて、測定器および心電図測定器が測定した利用者の心拍数データ、血圧データ、体温データ、歩数データおよび心電図データをホストサーバ(データ収集サーバ)に送信し、ホストサーバでは、受信したこれらのデータの蓄積および分析を行う技術が開示されている。   In Patent Document 1, a host server and a user portable terminal are connected to the Internet, and the user's heart rate data, blood pressure data, and body temperature measured by the measuring device and the electrocardiograph through the user portable terminal possessed by the user. Data, step count data, and electrocardiogram data are transmitted to a host server (data collection server), and the host server discloses a technique for storing and analyzing the received data.

特許文献2には、競技管理サーバ1(データ収集サーバ)が、競技者Hの参加を競技者Hの端末装置2から通信回線を介して受け付けて登録し、この競技者Hに対して固有の競技者コードを発行すると、競技者コードが競技者Hの端末装置2を介して記録され、かつ競技者Hに装着されたICチップを用いて取得された競技タイムに関するタイム情報を、競技者Hの端末装置2から通信回線を介して受信し、このタイム情報に基づいて各競技者Hの競技順位を決定する技術が開示されている。   In Patent Document 2, the competition management server 1 (data collection server) receives and registers the participation of the player H from the terminal device 2 of the player H via the communication line, and is unique to the player H. When the athlete code is issued, the athlete code is recorded through the terminal device 2 of the athlete H, and time information on the competition time acquired using the IC chip attached to the athlete H is given to the athlete H. Is received from the terminal device 2 via a communication line, and a technique for determining the competition ranking of each athlete H based on this time information is disclosed.

しかしながら、上記の従来技術では、利用者が所持するセンサノード(利用者携帯端末,端末装置)からデータ収集サーバへのセンサデータの送信が所定の一定周期で繰り返される。したがって、例えば多数のランナーが参加する市民マラソンや、地理的に分散している多数のジョガーが仮想的に競い合うバーチャルマラソンのように、多数の利用者からセンサデータを集中的に繰り返し収集する利用形態では、ネットワークの輻輳やデータ収集サーバの処理負荷が一時的に過大になることがあった。   However, in the above prior art, transmission of sensor data from a sensor node (user portable terminal, terminal device) possessed by the user to the data collection server is repeated at a predetermined constant cycle. Therefore, for example, a citizen marathon where a large number of runners participate, and a virtual marathon where a large number of geographically dispersed joggers compete virtually to collect sensor data from many users intensively and repeatedly. However, network congestion and processing load on the data collection server may temporarily become excessive.

このような技術課題に対して、本発明の発明者等は、各センサノードにおいてセンサデータの変化を監視し、センサデータが変化予測範囲を逸脱しない限りはデータ収集サーバへの送信を控えてセンサデータを蓄積し、センサデータが変化予測範囲を逸脱すると、それまでに蓄積されていたデータをデータ収集サーバへ一括して送信することで、通信トラヒックの増加を防いでデータ収集サーバの処理負荷を軽減できるシステムを発明し、特許出願した(特許文献3)。   In response to such a technical problem, the inventors of the present invention monitor changes in sensor data at each sensor node, and refrain from sending to the data collection server unless the sensor data deviates from the change prediction range. When data is accumulated and the sensor data deviates from the change prediction range, the accumulated data is sent to the data collection server at a time, thereby preventing an increase in communication traffic and reducing the processing load on the data collection server. We have invented a system that can be reduced and applied for a patent (Patent Document 3).

特開2003−52648号公報JP 2003-52648 A 特開2008−299535号公報JP 2008-299535 A 特願2009−46423号Japanese Patent Application No. 2009-46423

データ収集サーバが、各センサノードから収集したセンサデータの統計量として、例えば平均値を得たい場合、図14に一例を示したように、2つのセンサノードA,Bで検出されたセンサデータDa,Dbが逆位相であれば、その平均値は一定値を示すので、データ収集サーバでは各センサノードA,BからセンサデータDa,Dbを頻繁に収集する必要がない。   When the data collection server wants to obtain, for example, an average value as a statistic of sensor data collected from each sensor node, sensor data Da detected by the two sensor nodes A and B as shown in FIG. , Db are in antiphase, the average value indicates a constant value, so the data collection server does not need to frequently collect sensor data Da, Db from each sensor node A, B.

しかしながら、特許文献3では各センサノードが自身のセンサデータDの変化に基づいてデータ送信の要否を判定するので、図14のようにセンサデータDが周期的に大きく変化すると、各センサノードA,Bからデータ収集サーバへのデータ送信が頻繁に行われてしまう。   However, in Patent Document 3, each sensor node determines the necessity of data transmission based on a change in its own sensor data D. Therefore, when the sensor data D periodically changes greatly as shown in FIG. , B frequently sends data to the data collection server.

例えば、各センサノードA,Bにおいて、「センサデータDの変化量が「1」以上になると送信する」というルールが設定されていれば、時刻t1,t2,t3,t4…で各センサノードA,Bからデータ送信が行われてしまう。   For example, in each sensor node A, B, if the rule “transmit when the change amount of sensor data D is“ 1 ”or more” is set, each sensor node A at time t1, t2, t3, t4. , B will send data.

本発明の目的は、上記した従来技術の課題を解決し、ネットワークやデータ収集サーバに過大な負荷を生じさせることなく、データ収集サーバが多数のセンサノードからセンサデータを集中的に繰り返し収集できるデータ収集システムおよびそのデータ収集サーバを提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art and to enable the data collection server to collect sensor data from a large number of sensor nodes intensively and repeatedly without causing an excessive load on the network or data collection server. It is to provide a collection system and a data collection server thereof.

上記の目的を達成するために、本発明は、物理量を検出するセンサを備えた複数のセンサノードがデータ収集サーバへセンサデータを送信するデータ収集システムおよびそのデータ収集サーバにおいて、以下のような手段を講じた点に特徴がある。   In order to achieve the above object, the present invention provides a data collection system in which a plurality of sensor nodes each having a sensor for detecting a physical quantity transmit sensor data to a data collection server, and the following means in the data collection server There is a feature in the point that I took.

(1)本発明のデータ収集システムは、センサノードが、物理量を検出してセンサデータを出力するセンサと、センサデータを送信する通信タイミングを前記データ収集サーバから取得する手段と、センサデータを前記通信タイミングでデータ収集サーバへ送信する手段とを具備している。また、データ収集サーバが、各センサノードからセンサデータを受信する手段と、センサデータを統計的に処理して統計量を算出する手段と、統計量に基づいて、センサデータを収集する通信タイミングを決定する手段と、通信タイミングをセンサノードへ通知する手段とを具備している。   (1) In the data collection system of the present invention, a sensor node detects a physical quantity and outputs sensor data, means for acquiring communication timing for transmitting sensor data from the data collection server, and sensor data Means for transmitting to the data collection server at the communication timing. The data collection server also includes means for receiving sensor data from each sensor node, means for statistically processing the sensor data to calculate statistics, and communication timing for collecting sensor data based on the statistics. Means for determining, and means for notifying the sensor timing of the communication timing.

(2)本発明のデータ収集サーバは、各センサノードからセンサデータを受信する手段と、センサデータを統計的に処理して統計量を算出する手段と、統計量に基づいて、センサデータを収集する通信タイミングを決定する手段と、通信タイミングをセンサノードへ通知する手段とを具備している。   (2) The data collection server of the present invention collects sensor data on the basis of means for receiving sensor data from each sensor node, means for statistically processing sensor data to calculate statistics, and statistics Means for determining the communication timing to be performed, and means for notifying the sensor node of the communication timing.

(3)本発明のデータ収集サーバにおいて、前記通信タイミングを決定する手段は、統計量の推移を予測する手段と、統計量の予測値が所定の条件を満足する通信タイミングを算出する手段とを具備している。   (3) In the data collection server of the present invention, the means for determining the communication timing includes means for predicting a statistic transition, and means for calculating a communication timing at which the predicted value of the statistic satisfies a predetermined condition. It has.

(4)本発明のデータ収集サーバにおいて、前記通信タイミングを算出する手段は、統計量の現在値と予測値との差分が所定の閾値を超える時刻を算出する。   (4) In the data collection server of the present invention, the means for calculating the communication timing calculates a time when the difference between the current value of the statistic and the predicted value exceeds a predetermined threshold.

本発明によれば、以下のような効果が達成される。   According to the present invention, the following effects are achieved.

(1)データ収集サーバでは、各センサノードで検出されるセンサデータの変化にかかわらず、各センサデータに基づいて算出される統計量に基づいて、各センサノードからセンサデータを収集する通信タイミングが決定されるので、センサデータが変化しても、その統計量が変化しなければ各センサノードからセンサデータを収集するための通信が行われない。したがって、センサデータの通信に係るトラヒックおよびデータ収集サーバへのアクセスを減ぜられるようになる。   (1) In the data collection server, regardless of changes in sensor data detected at each sensor node, the communication timing for collecting sensor data from each sensor node is based on the statistics calculated based on each sensor data. Therefore, even if the sensor data changes, communication for collecting the sensor data from each sensor node is not performed unless the statistics change. Therefore, it is possible to reduce traffic related to sensor data communication and access to the data collection server.

(2)データ収集サーバにおいて、各センサノードから収集したセンサデータに基づいて算出される統計量が所定の閾値を超えて変化すると予測されるまでは、各センサノードからセンサデータを収集するための通信が行われないので、統計量の精度を大きく損なうことなく、通信トラヒックおよびデータ収集サーバへのアクセスを減ぜられるようになる。   (2) In the data collection server, until the statistic calculated based on the sensor data collected from each sensor node is predicted to change beyond a predetermined threshold, it is necessary to collect sensor data from each sensor node. Since communication is not performed, access to the communication traffic and the data collection server can be reduced without greatly reducing the accuracy of the statistics.

本発明の一実施形態に係る情報収集システムの構成を示したブロック図である。It is the block diagram which showed the structure of the information collection system which concerns on one Embodiment of this invention. センサノードの主要部の構成を示したブロック図である。It is the block diagram which showed the structure of the principal part of a sensor node. データ収集サーバの主要部の構成を示したブロック図である。It is the block diagram which showed the structure of the principal part of a data collection server. 通信タイミングの決定方法の一例を模式的に表現した図である。It is the figure which expressed typically an example of the determination method of communication timing. センサノードの動作を示したフローチャートである。It is the flowchart which showed operation | movement of a sensor node. データ収集サーバの動作を示したフローチャートである。It is the flowchart which showed operation | movement of the data collection server. 各センサノードとデータ収集サーバとの間で行われるデータ通信のシーケンスフローである。It is a sequence flow of data communication performed between each sensor node and a data collection server. 誤差(error)を説明するための図である。It is a figure for demonstrating an error (error). 5台のセンサノードで検出されたセンサデータDの推移を示した図である。It is the figure which showed transition of the sensor data D detected by five sensor nodes. 図9に示したセンサデータDの統計量Ds_realの推移を示した図である。It is the figure which showed transition of statistics Ds_real of the sensor data D shown in FIG. 図9の各センサデータDから算出される統計量Ds_realと各センサデータDを所定の周期で取得して最小二乗法により予測される統計量Ds_calとの誤差を、その取得周期ごとに示した図である。The figure which showed the difference | error between the statistics Ds_real calculated from each sensor data D of FIG. 9, and the statistics Ds_cal estimated by the least square method by acquiring each sensor data D with a predetermined period for every acquisition period It is. 統計量Ds_real,Ds_calの差分が所定の閾値を越えるタイミングでセンサデータDを取得する場合の誤差を示した図である。It is the figure which showed the error in the case of acquiring sensor data D at the timing when the difference of statistics Ds_real and Ds_cal exceeds a predetermined threshold. 従来手法および本発明のデータ収集方式に関して、センサデータDの送信回数と誤差errorとの関係を示した図である。It is the figure which showed the relationship between the frequency | count of transmission of the sensor data D, and the error error regarding the conventional method and the data collection system of this invention. 従来技術の課題を説明するための図である。It is a figure for demonstrating the subject of a prior art.

以下、図面を参照して本発明の実施形態について詳細に説明する。図1は、本発明の一実施形態に係るデータ収集システムの主要部の構成を示したブロック図であり、歩数センサ、温度センサ、湿度センサ、加速度センサ、照度センサ、測位システム等の各種のセンサを搭載した複数の無線式センサノード1と、自身の無線エリア内に位置しているセンサノード1を収容する無線基地局2と、各無線基地局2およびインターネットを介して前記各センサノード1からセンサの検出結果(センサデータ)を収集し、これを統計的に処理するデータ収集サーバ3とを主要な構成としている。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a main part of a data collection system according to an embodiment of the present invention, and various sensors such as a step sensor, a temperature sensor, a humidity sensor, an acceleration sensor, an illuminance sensor, and a positioning system. A plurality of wireless sensor nodes 1 equipped with a wireless base station 2 accommodating the sensor node 1 located in its own wireless area, each wireless base station 2 and each sensor node 1 via the Internet A data collection server 3 that collects sensor detection results (sensor data) and statistically processes them is the main configuration.

図2は、前記センサノード1の主要部の構成を示したブロック図であり、歩数センサP1、温度センサP2、湿度センサP2、加速度センサP3、照度センサP4あるいは測位システムP5等の各種センサは、検出対象の物理量を出力する。センサデータ取得部101は、各センサPxで検出された物理量をセンサデータDに変換して出力する。センサデータ蓄積部102には、前記センサデータDが時系列で蓄積される。   FIG. 2 is a block diagram showing the configuration of the main part of the sensor node 1, and various sensors such as a step sensor P1, a temperature sensor P2, a humidity sensor P2, an acceleration sensor P3, an illuminance sensor P4, or a positioning system P5, Outputs the physical quantity to be detected. The sensor data acquisition unit 101 converts the physical quantity detected by each sensor Px into sensor data D and outputs it. The sensor data storage unit 102 stores the sensor data D in time series.

通信タイミング取得部103は、前記センサデータDをデータ収集サーバ3へ送信する通信タイミングtsに関して前記データ収集サーバ3から通知されるメッセージを取得する。センサデータ送信部104は、前記通知された通信タイミングtsを待って、前記センサデータ蓄積部102に蓄積されている未送信のセンサデータDをデータ収集サーバ3へ一括送信する。   The communication timing acquisition unit 103 acquires a message notified from the data collection server 3 regarding the communication timing ts for transmitting the sensor data D to the data collection server 3. The sensor data transmission unit 104 waits for the notified communication timing ts, and transmits untransmitted sensor data D stored in the sensor data storage unit 102 to the data collection server 3 at a time.

図3は、前記データ収集サーバ3の主要部の構成を示したブロック図であり、センサデータ受信部301は、各センサノード1から送信されるセンサデータDを受信する。センサデータ蓄積部302には、前記センサデータDが時系列で蓄積される。統計量算出部303は、前記センサデータDを統計的に処理して統計量Dsを算出する。   FIG. 3 is a block diagram showing the configuration of the main part of the data collection server 3. The sensor data receiving unit 301 receives sensor data D transmitted from each sensor node 1. The sensor data storage unit 302 stores the sensor data D in time series. The statistic calculation unit 303 statistically processes the sensor data D to calculate the statistic Ds.

通信タイミング決定部304において、予測部304aは、前記統計量Dsの履歴に基づいて、その推移を外挿(補外)、回帰分析あるいは最小二乗法により予測する。算出部304bは、統計量Dsの予測値が所定のデータ収集条件を満足する将来時刻tpを算出し、これを前記センサノード1からセンサデータDを収集する通信タイミングtsに決定する。通信タイミング通知部305は、前記通信タイミングtsを前記センサノード1へ通知する。   In the communication timing determination unit 304, the prediction unit 304a predicts the transition by extrapolation (extrapolation), regression analysis, or least squares method based on the history of the statistic Ds. The calculation unit 304b calculates a future time tp when the predicted value of the statistic Ds satisfies a predetermined data collection condition, and determines this as the communication timing ts for collecting the sensor data D from the sensor node 1. The communication timing notification unit 305 notifies the sensor node 1 of the communication timing ts.

図4は、前記通信タイミング決定部304による通信タイミングtpの決定方法の一例を模式的に表現した図である。   FIG. 4 is a diagram schematically representing an example of a method for determining the communication timing tp by the communication timing determination unit 304.

本実施形態では、一のセンサノード1aから送信されたセンサデータD1および他の一のセンサノード1bから受信されたセンサデータD2の平均値が統計量Dsとして求められ、当該統計量Dsの現在時刻t0までの推移実績に基づいて、今後の推移が例えば外挿、回帰分析あるいは最小二乗法により予測される。そして、現在時刻t0における統計量Ds(t0)と予測値Ds(tx)との偏差ΔDsが所定の閾値Ds_refを越える時刻txが次回の通信タイミングtpに決定される。   In the present embodiment, the average value of the sensor data D1 transmitted from one sensor node 1a and the sensor data D2 received from the other sensor node 1b is obtained as the statistic Ds, and the current time of the statistic Ds Based on the transition results up to t0, future transitions are predicted by, for example, extrapolation, regression analysis, or least squares method. Then, a time tx at which the deviation ΔDs between the statistic Ds (t0) and the predicted value Ds (tx) at the current time t0 exceeds a predetermined threshold value Ds_ref is determined as the next communication timing tp.

次いで、フローチャートを参照して本発明の一実施形態の動作を詳細に説明する。図5は、前記センサノード1の動作を示したフローチャートであり、図6は、前記データ収集サーバ3の動作を示したフローチャートである。図7は、各センサノード1とデータ収集サーバ3との間で行われるデータ通信の手順を示したシーケンスフローである。   Next, the operation of the embodiment of the present invention will be described in detail with reference to a flowchart. FIG. 5 is a flowchart showing the operation of the sensor node 1, and FIG. 6 is a flowchart showing the operation of the data collection server 3. FIG. 7 is a sequence flow showing a procedure of data communication performed between each sensor node 1 and the data collection server 3.

図5において、センサノード1では、ステップS1において最初のセンサデータDがセンサデータ送信部104からデータ収集サーバ3へ送信される。本実施形態では、前記センサデータDがTCPパケットまたはUDPパケットに記述されて送信される。ステップS2では、データ収集サーバ3から次の通信タイミングtpが通知されたか否かが判定される。通知されていなければステップS5へ進み、各センサPxにおいて所定のサンプリング周期でサンプリングされたセンサデータDがセンサデータ蓄積部102に時系列で一時記憶され、これが繰り返される。   In FIG. 5, in the sensor node 1, the first sensor data D is transmitted from the sensor data transmission unit 104 to the data collection server 3 in step S <b> 1. In the present embodiment, the sensor data D is described in a TCP packet or a UDP packet and transmitted. In step S2, it is determined whether or not the next communication timing tp is notified from the data collection server 3. If not notified, the process proceeds to step S5, and sensor data D sampled at a predetermined sampling period in each sensor Px is temporarily stored in the sensor data storage unit 102 in time series, and this is repeated.

図6において、データ収集サーバ3は、各センサノード1から送信されたセンサデータDがステップS21において前記センサデータ受信部301により受信されるとステップS22へ進む。ステップS22では、各センサデータDがセンサデータ蓄積部302に時系列で蓄積される。ステップS23では、前記センサデータ蓄積部302に蓄積されているセンサデータDに基づいて、その統計量Dsが前記統計量算出部303により算出される。本実施形態では、前記図4に関して説明したように、各センサデータDの平均値が算出されて統計量Dsとされる。   In FIG. 6, when the sensor data D transmitted from each sensor node 1 is received by the sensor data receiving unit 301 in step S21, the data collection server 3 proceeds to step S22. In step S22, each sensor data D is stored in the sensor data storage unit 302 in time series. In step S <b> 23, the statistic Ds is calculated by the statistic calculation unit 303 based on the sensor data D stored in the sensor data storage unit 302. In the present embodiment, as described with reference to FIG. 4, the average value of each sensor data D is calculated and used as the statistic Ds.

ステップS24では、前記統計量Dsの履歴に基づいて、その推移が前記予測部304aにより外挿、回帰分析あるいは最小二乗法により予測される。ステップS25では、前記統計量Dsが所定のデータ収集条件を満足する将来時刻txが前記算出部304bにより予測される。本実施形態では、現在時刻t0における統計量Ds(t0)と予測値Ds(tx)との差分が所定の閾値Ds_refを越える将来時刻txが予測される。   In step S24, based on the history of the statistic Ds, the transition is predicted by the prediction unit 304a by extrapolation, regression analysis, or least square method. In step S25, the calculation unit 304b predicts a future time tx when the statistic Ds satisfies a predetermined data collection condition. In the present embodiment, a future time tx at which the difference between the statistic Ds (t0) and the predicted value Ds (tx) at the current time t0 exceeds a predetermined threshold Ds_ref is predicted.

ステップS26では、前記現在時刻t0から将来時刻txまでの期間(tx−t0)が所定の上限値tmaxと比較される。(tx−t0)≧tmaxであればステップS27へ進み、将来時刻txが上限値tmaxに更新される。ステップS28では、前記将来時刻txが前記通信タイミング通知部305から各センサノード1へ、次回の通信タイミングtpとして通知される。   In step S26, a period (tx−t0) from the current time t0 to the future time tx is compared with a predetermined upper limit value tmax. If (tx−t0) ≧ tmax, the process proceeds to step S27, and the future time tx is updated to the upper limit value tmax. In step S28, the future time tx is notified from the communication timing notification unit 305 to each sensor node 1 as the next communication timing tp.

なお、前記次回の通信タイミングtpは、新規にメッセージパケットを生成して送信しても良いが、直前のステップS21で各センサノード1から受信したセンサデータDに対する確認応答パケットに記述して返信するようにしても良い。すなわち、前記センサデータDをTCPパケットで受信していれば、前記次回の通信タイミングtpをTCP ACKパケットに記述して返信し、UDPパケットで受信していればUDP ACKパケットに記述して返信しても良い。このようにすれば、次回の通信タイミングtpを通知するために新たなトラヒックを発生させてしまうことがない。   The next communication timing tp may be generated and transmitted a new message packet, but is described and returned in the confirmation response packet for the sensor data D received from each sensor node 1 in the immediately preceding step S21. You may do it. That is, if the sensor data D is received as a TCP packet, the next communication timing tp is described in a TCP ACK packet and returned, and if received as a UDP packet, it is described in a UDP ACK packet and returned. May be. In this way, no new traffic is generated to notify the next communication timing tp.

図5へ戻り、センサノード1では、前記通信タイミングtpがステップS2において前記通信タイミング取得部103により受信されるとステップS3へ進む。ステップS3では、前記通信タイミングtpであるか否かが判定され、通信タイミングtpまではステップS6へ進んでセンサデータDのサンプリングおよびその蓄積が継続される。   Returning to FIG. 5, in the sensor node 1, when the communication timing tp is received by the communication timing acquisition unit 103 in step S2, the process proceeds to step S3. In step S3, it is determined whether or not it is the communication timing tp. Until the communication timing tp, the process proceeds to step S6, and sampling and accumulation of sensor data D are continued.

その後、通信タイミングtpを迎えるとステップS4へ進み、前記センサデータ蓄積部102に蓄積されている未送信のセンサデータD、すなわち前回の通信タイミングから今回の通信タイミングまでの間にサンプリングされたセンサデータDが読み出される。このセンサデータDは、ステップS1においてデータ収集サーバ3へ送信される。   Thereafter, when the communication timing tp is reached, the process proceeds to step S4, where untransmitted sensor data D stored in the sensor data storage unit 102, that is, sensor data sampled between the previous communication timing and the current communication timing. D is read. This sensor data D is transmitted to the data collection server 3 in step S1.

次いで、本発明のシミュレーション結果について説明する。ここでのシミュレーション条件は以下の通りである。   Next, the simulation result of the present invention will be described. The simulation conditions here are as follows.

(1)センサノード数:5台
(2)シミュレーション時間(duration):5000秒
(3)統計量Dsの予測モデル:最小二乗法
(1) Number of sensor nodes: 5
(2) Simulation time (duration): 5000 seconds
(3) Prediction model for statistics Ds: least squares method

なお、前記予測モデルとしての最小二乗法では、次数が「2」であり、使用する履歴データ数は「3」である。また、評価指標は以下の通りである。   In the least square method as the prediction model, the order is “2” and the number of history data to be used is “3”. The evaluation indexes are as follows.

(1)通信回数:センサノード1台あたりの総通信回数
(2)誤差(error):全てのセンサデータDが既知として求まる統計量Ds_realと、各センサデータDに基づいて最小二乗法により予測される統計量Ds_calとの差分である。当該誤差errorは、図8において実線(Ds_real)と点線(Ds_cal)とで囲まれた各三角形領域の面積に相当し、次式(1)で与えられる。
(1) Number of communications: Total number of communications per sensor node
(2) Error: A difference between a statistic Ds_real obtained by knowing that all sensor data D is known and a statistic Ds_cal predicted by the least square method based on each sensor data D. The error error corresponds to the area of each triangular area surrounded by a solid line (Ds_real) and a dotted line (Ds_cal) in FIG. 8, and is given by the following equation (1).

Figure 2011142439
Figure 2011142439

図9は、各センサノード1でサンプリングされたセンサデータDの推移を示した図であり、図10は、全センサデータDの統計量Ds_realの推移を示した図である。ここでは、統計量Ds_realがセンサデータDの平均値である。   FIG. 9 is a diagram illustrating the transition of the sensor data D sampled by each sensor node 1, and FIG. 10 is a diagram illustrating the transition of the statistic Ds_real of all the sensor data D. Here, the statistic Ds_real is the average value of the sensor data D.

図11は、図9の各センサデータDから算出される統計量Ds_realと、図9の各センサデータDを所定の周期で取得して最小二乗法により予測される統計量Ds_calとの誤差を通信タイミングの周期ごとに示した図であり、通信タイミングの周期が短くなるほど誤差が減少することがわかる。   11 communicates an error between the statistic Ds_real calculated from each sensor data D in FIG. 9 and the statistic Ds_cal predicted by the least square method by acquiring each sensor data D in FIG. 9 at a predetermined cycle. It is a figure shown for every cycle of timing, and it can be seen that the error decreases as the cycle of communication timing becomes shorter.

これに対して、図12は、本発明を適用して統計量Ds_real,Ds_calの差分が所定の閾値を越える通信タイミングtpでセンサデータDを取得する場合の誤差を示した図であり、図13は、従来手法および本発明のデータ収集方式に関して、センサデータDの送信回数と誤差errorとの関係を示した図である。いずれの方式でも送信回数が増えるほど誤差が減少するものの、本発明では従来手法に較べて同等の誤差を少ない通信回数で達成できることが判る。   On the other hand, FIG. 12 is a diagram showing an error when the sensor data D is acquired at the communication timing tp in which the difference between the statistics Ds_real and Ds_cal exceeds a predetermined threshold by applying the present invention. These are the figures which showed the relationship between the frequency | count of transmission of the sensor data D, and the error error regarding the conventional method and the data collection system of this invention. In either method, the error decreases as the number of transmissions increases, but it can be seen that the present invention can achieve the same error with a smaller number of communications compared to the conventional method.

1…無線式センサノード,2…無線基地局,3…データ収集サーバ,101…センサデータ取得部,102…センサデータ蓄積部,103…通信タイミング取得部,104…センサデータ送信部,301…センサデータ受信部,302…センサデータ蓄積部,303…統計量算出部,304…通信タイミング決定部,305…通信タイミング通知部 DESCRIPTION OF SYMBOLS 1 ... Wireless sensor node, 2 ... Wireless base station, 3 ... Data collection server, 101 ... Sensor data acquisition part, 102 ... Sensor data storage part, 103 ... Communication timing acquisition part, 104 ... Sensor data transmission part, 301 ... Sensor Data receiving unit, 302 ... sensor data storage unit, 303 ... statistic calculation unit, 304 ... communication timing determination unit, 305 ... communication timing notification unit

Claims (5)

物理量を検出するセンサを備えた複数のセンサノードがデータ収集サーバへセンサデータを送信するデータ収集システムにおいて、
前記センサノードが、
物理量を検出してセンサデータを出力するセンサと、
センサデータを送信する通信タイミングを前記データ収集サーバから取得する手段と、
センサデータを前記通信タイミングでデータ収集サーバへ送信する手段とを具備し、
前記データ収集サーバが、
各センサノードからセンサデータを受信する手段と、
センサデータを統計的に処理して統計量を算出する手段と、
前記統計量に基づいて、センサデータを収集する通信タイミングを決定する手段と、
前記通信タイミングを前記センサノードへ通知する手段とを具備したことを特徴とするデータ収集システム。
In a data collection system in which a plurality of sensor nodes having sensors for detecting physical quantities transmit sensor data to a data collection server,
The sensor node is
A sensor that detects physical quantities and outputs sensor data;
Means for acquiring communication timing for transmitting sensor data from the data collection server;
Means for transmitting sensor data to a data collection server at the communication timing,
The data collection server is
Means for receiving sensor data from each sensor node;
Means for statistically processing sensor data to calculate statistics;
Means for determining a communication timing for collecting sensor data based on the statistics;
Means for notifying the sensor node of the communication timing.
複数のセンサノードからセンサデータを収集するデータ収集サーバにおいて、
各センサノードからセンサデータを受信する手段と、
前記センサデータを統計的に処理して統計量を算出する手段と、
前記統計量に基づいて、センサデータを収集する通信タイミングを決定する手段と、
前記通信タイミングを前記センサノードへ通知する手段とを具備したことを特徴とするデータ収集サーバ。
In a data collection server that collects sensor data from multiple sensor nodes,
Means for receiving sensor data from each sensor node;
Means for statistically processing the sensor data to calculate statistics;
Means for determining a communication timing for collecting sensor data based on the statistics;
A data collection server comprising: means for notifying the sensor timing of the communication timing.
前記通信タイミングを決定する手段は、
前記統計量の推移を予測する手段と、
前記統計量の予測値が所定の条件を満足する通信タイミングを算出する手段とを具備したことを特徴とする請求項2に記載のデータ収集サーバ。
The means for determining the communication timing is:
Means for predicting the transition of the statistics,
The data collection server according to claim 2, further comprising means for calculating a communication timing at which the predicted value of the statistic satisfies a predetermined condition.
前記通信タイミングを算出する手段は、前記統計量の現在値と予測値との差分が所定の閾値を超える時刻を算出することを特徴とする請求項3に記載のデータ収集サーバ。   4. The data collection server according to claim 3, wherein the means for calculating the communication timing calculates a time at which a difference between a current value and a predicted value of the statistic exceeds a predetermined threshold value. 前記通信タイミングを前記センサノードへ通知する手段は、各センサノードから受信したセンサデータに対する確認応答パケットに前記通信タイミングを記述して返信することを特徴とする請求項2ないし4のいずれかに記載のデータ収集サーバ。   5. The means for notifying the sensor timing of the communication node returns the communication timing by describing the communication timing in an acknowledgment packet for sensor data received from each sensor node. 6. Data collection server.
JP2010001167A 2010-01-06 2010-01-06 Data collection server Expired - Fee Related JP5430411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010001167A JP5430411B2 (en) 2010-01-06 2010-01-06 Data collection server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010001167A JP5430411B2 (en) 2010-01-06 2010-01-06 Data collection server

Publications (2)

Publication Number Publication Date
JP2011142439A true JP2011142439A (en) 2011-07-21
JP5430411B2 JP5430411B2 (en) 2014-02-26

Family

ID=44457999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010001167A Expired - Fee Related JP5430411B2 (en) 2010-01-06 2010-01-06 Data collection server

Country Status (1)

Country Link
JP (1) JP5430411B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015001891A (en) * 2013-06-17 2015-01-05 日本電信電話株式会社 Sensor data collecting system, base station apparatus, sensor node device, sampling rate control method, and program
US9380108B2 (en) 2013-01-17 2016-06-28 Hitachi Solutions, Ltd. Computer system
CN107710294A (en) * 2015-05-27 2018-02-16 日本电气株式会社 Message processing device, information processing method, message handling program and information processing system
JPWO2018180369A1 (en) * 2017-03-28 2020-01-16 日本電気株式会社 Sensor network system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272506A (en) * 2003-03-07 2004-09-30 Japan Radio Co Ltd Sensor data transmission system, and its observation station device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272506A (en) * 2003-03-07 2004-09-30 Japan Radio Co Ltd Sensor data transmission system, and its observation station device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9380108B2 (en) 2013-01-17 2016-06-28 Hitachi Solutions, Ltd. Computer system
JP2015001891A (en) * 2013-06-17 2015-01-05 日本電信電話株式会社 Sensor data collecting system, base station apparatus, sensor node device, sampling rate control method, and program
CN107710294A (en) * 2015-05-27 2018-02-16 日本电气株式会社 Message processing device, information processing method, message handling program and information processing system
US20180139270A1 (en) * 2015-05-27 2018-05-17 Nec Corporation Information processing apparatus, information processing method, information processing program, and information process system
EP3306584A4 (en) * 2015-05-27 2019-01-09 Nec Corporation Information processing device, information processing method, information processing program, and information processing system
JPWO2018180369A1 (en) * 2017-03-28 2020-01-16 日本電気株式会社 Sensor network system
US11102123B2 (en) 2017-03-28 2021-08-24 Nec Corporation Sensor network system

Also Published As

Publication number Publication date
JP5430411B2 (en) 2014-02-26

Similar Documents

Publication Publication Date Title
KR102376358B1 (en) Methods and apparatuses for actively switching between available networks
CN109428759A (en) A kind of network quality appraisal procedure and device
JP6819888B2 (en) Data collection systems, data collection methods, gateway devices, server devices, and programs
JP6047794B2 (en) Relay device, relay system, and relay method
JP5430411B2 (en) Data collection server
CN102316496A (en) Data merging method based on Kalman filtering in wireless sensor network
US8102271B2 (en) Apparatus and method for asset tracking based on ubiquitous sensor network using motion sensing
CN109728981A (en) A kind of cloud platform fault monitoring method and device
EP3264696B1 (en) Control device, traffic control method, and recording medium onto which computer program is recorded
US7342900B2 (en) Apparatus and method for estimating device availability
Nikzad et al. Model-driven adaptive wireless sensing for environmental healthcare feedback systems
JP2010193303A (en) Radio communication system
CN115884213A (en) Resource scheduling method and device and electronic equipment
KR101482145B1 (en) Apparatus and method for energy-saving and reliable data communication in Wireless Sensor Networks
JP6454133B2 (en) Quality analysis method, quality analysis apparatus, and network system
JP2004007339A (en) Method and system for measuring packet communication quality
JP5624954B2 (en) Fault detection device, fault detection method, and fault detection program
TW200937913A (en) Network gateway and relocation method thereof
JP3866647B2 (en) Packet loss rate measuring method and system
JP6848678B2 (en) Communication equipment, data processing systems, communication methods and programs
KR20180002442A (en) Apparatus for transmitting of data and method determining data transmission period using the same
KR20220070706A (en) Energy smart farm sensing data error identification method
CN108076086A (en) A kind of long-distance monitoring method and equipment
CN110490266A (en) A kind of sensing data uploads, Transducer-fault Detecting Method and device
KR101290166B1 (en) Communication method of communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131105

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131203

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5430411

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees