JP2007256210A - Correction device for sensor data detection time - Google Patents

Correction device for sensor data detection time Download PDF

Info

Publication number
JP2007256210A
JP2007256210A JP2006084199A JP2006084199A JP2007256210A JP 2007256210 A JP2007256210 A JP 2007256210A JP 2006084199 A JP2006084199 A JP 2006084199A JP 2006084199 A JP2006084199 A JP 2006084199A JP 2007256210 A JP2007256210 A JP 2007256210A
Authority
JP
Japan
Prior art keywords
time
sensor
detection time
value
acquired
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
JP2006084199A
Other languages
Japanese (ja)
Other versions
JP4550758B2 (en
Inventor
Yukihiro Nakamura
幸博 中村
Yoshito Nanjo
義人 南條
Yoshimasa Yanagihara
義正 柳原
Hirohisa Tezuka
博久 手塚
Norifumi Katabuchi
典史 片渕
Tamotsu Machino
保 町野
Satoshi Iwaki
敏 岩城
Yoshiyuki Iwata
義行 岩田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2006084199A priority Critical patent/JP4550758B2/en
Publication of JP2007256210A publication Critical patent/JP2007256210A/en
Application granted granted Critical
Publication of JP4550758B2 publication Critical patent/JP4550758B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Recording Measured Values (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a correction device for a sensor data detection time, capable of accurately correcting the sensor data detection time of sensor value. <P>SOLUTION: This correction device accurately calculates correction amount for the sensor data detection time, by dividing the correction amount for the sensor data detection time with the time elapsed until the sensor data detection time, by using the time corrected the last time as a reference. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、センサデータの検知時刻を補正するセンサデータ検知時刻補正装置に関する。   The present invention relates to a sensor data detection time correction apparatus that corrects the detection time of sensor data.

監視対象の異常や日常の現象を解析するために、対象のセンサデータを解析することが行なわれている。この際、センサデータにはその検知時刻が付与されていれば、この検知時刻を参照することにより、複数のセンサデータと合わせて経時的な解析を行なうことができる。   In order to analyze abnormalities and daily phenomena in the monitoring target, the target sensor data is analyzed. At this time, if the detection time is given to the sensor data, it is possible to perform analysis with time by combining the plurality of sensor data by referring to the detection time.

一般に、この検知時刻にはシステム時刻が使用されるため、各システムがNTP(Network Time Protocol)サーバから標準的な時刻を取得し、個々のシステム時間を補正してから、センサデータに検出時刻を付与している(非特許文献1参照。)。   In general, since the system time is used as the detection time, each system acquires a standard time from an NTP (Network Time Protocol) server, corrects the individual system time, and then sets the detection time in the sensor data. (See Non-Patent Document 1).

”画像センシングによる視聴映像の注目度推定システム”、片渕、山本、薮内、中山、下倉、情報処理学会研究報告、p.p. 267-272"Attention level estimation system for viewing video by image sensing", Katakuma, Yamamoto, Kuchiuchi, Nakayama, Shimokura, Information Processing Society of Japan Research Report, p.p. 267-272

”PCにおける時刻精度の精密計測とその評価”、北口、町澤、中川、西村、日迫、箱崎、電子情報通信学会技術研究報告、VOL.103,NO.444 (CQ2003 63-85)"Precise measurement and evaluation of time accuracy on PC", Kitaguchi, Machizawa, Nakagawa, Nishimura, Nisako, Hakozaki, IEICE Technical Report, VOL.103, NO.444 (CQ2003 63-85)

しかし、コンピュータの時刻を司る水晶発振子は、温度変化に影響を受け、一旦、NTPサーバでシステム時間を補正しても時間がずれてしまうという問題があった(非特許文献2参照。)。
本発明は、上記実情に鑑みてなされたものであり、標準時刻を参照して精度良くセンサ検知時刻の補正を行うことができるセンサデータ検知時刻補正装置を提供することを目的とする。
However, the crystal oscillator that controls the computer time is affected by a temperature change, and there is a problem that even if the system time is corrected once by the NTP server, the time is shifted (see Non-Patent Document 2).
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a sensor data detection time correction apparatus capable of correcting a sensor detection time with reference to a standard time with high accuracy.

本発明の第1の発明によれば、外部センサから送られてくるセンサ値を取得する手段と、前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、前記取得されたセンサ値と、前記付与されたセンサ検知時刻との組を格納する手段と、外部から標準時刻を取得する手段と、前回センサ検知時刻を補正した時刻以降のセンサ値とセンサ検知時刻との組を抽出する手段と、前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻及び前記前回センサ検知時刻を補正した時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出する手段と、前記算出したセンサ検知時刻の補正量を前記取得されたセンサ値と関連付けて格納する手段とを具備することを特徴とするセンサデータ検知時刻補正装置、である。   According to the first aspect of the present invention, a means for acquiring a sensor value sent from an external sensor, and a system time when the sensor value is acquired is assigned to the acquired sensor value as a sensor detection time. Means for storing a set of the acquired sensor value and the assigned sensor detection time, a means for acquiring a standard time from the outside, and a sensor value after the time when the previous sensor detection time is corrected Based on the time of correcting the acquired standard time, the system time when the standard time is acquired, the extracted sensor detection time and the previous sensor detection time Means for calculating the correction amount of the extracted sensor detection time, and means for storing the calculated correction amount of the sensor detection time in association with the acquired sensor value. A sensor data detection time correction device, which is characterized in that.

本発明の第2の発明によれば、第1の発明において、前記補正量は、標準時刻と標準時刻を取得した際のシステム時刻との差を前回センサ検知時刻を補正した時刻を基点とした前記抽出されたセンサ検知時刻の経過時間に按分して決定されることを特徴とするセンサデータ検知時刻補正装置、である。
本発明の第3の発明によれば、外部センサから送られてくるセンサ値を取得する手段と、前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、前記取得されたセンサ値と前記付与されたセンサ検知時刻との組を格納する手段と、システムの処理負荷値を検知する手段と、前記検知された処理負荷値に、前記処理負荷値を検知した際のシステム時刻を負荷検知時刻として付与する手段と、前記検知された処理負荷値と、前記付与された負荷検知時刻との組を格納する手段と、外部から標準時刻を取得する手段と、前記格納された処理負荷値と、前記負荷検知時刻との組から、処理負荷値が所定の閾値以上となっている組の処理負荷検知時刻の開始時刻及び終了時刻を抽出する手段と、前記格納されたセンサ値とセンサ検知時刻との組から、前記抽出された開始時刻から終了時刻に含まれるセンサ検知時刻を抽出する手段と、前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻、前記抽出された開始時刻及び終了時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出する手段とを具備することを特徴とするセンサデータ検知時刻補正装置、である。
According to a second aspect of the present invention, in the first aspect, the correction amount is based on a time obtained by correcting the previous sensor detection time as a difference between the standard time and the system time when the standard time is acquired. A sensor data detection time correction apparatus, wherein the sensor data detection time correction apparatus is determined in proportion to the elapsed time of the extracted sensor detection time.
According to the third aspect of the present invention, a means for acquiring a sensor value sent from an external sensor, and a system time when the sensor value is acquired is added to the acquired sensor value as a sensor detection time. Means for storing the set of the acquired sensor value and the assigned sensor detection time, means for detecting a processing load value of the system, and the detected processing load value includes the processing load. A means for assigning a system time when a value is detected as a load detection time, a means for storing a set of the detected processing load value and the assigned load detection time, and obtaining a standard time from the outside Means for extracting a start time and an end time of a processing load detection time of a set having a processing load value equal to or greater than a predetermined threshold from a set of the stored processing load value and the load detection time; , Means for extracting the sensor detection time included in the end time from the extracted start time, and the acquired standard time and the standard time from the set of stored sensor value and sensor detection time Means for calculating a correction amount of the extracted sensor detection time based on the system time, the extracted sensor detection time, and the extracted start time and end time. A detection time correction device;

本発明によれば、標準時刻を参照して精度良くセンサ検知時刻の補正を行うことができるセンサデータ検知時刻補正装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the sensor data detection time correction apparatus which can correct | amend a sensor detection time accurately with reference to standard time can be provided.

以下、図面を参照して、本発明の実施の形態に係るセンサデータ検知時刻補正装置について説明する。
<第1の実施例>
図1は、本発明の第1の実施の形態に係るセンサデータ検知時刻補正装置の構成を示す図である。
同図に示すように、本発明の実施の形態に係るデータ収集器1は、センサデータ取得部11、システム時刻付与部12、システム時刻管理部13、センサ検知時刻補正量算出部14及びデータベース15を有している。
Hereinafter, a sensor data detection time correction apparatus according to an embodiment of the present invention will be described with reference to the drawings.
<First embodiment>
FIG. 1 is a diagram showing a configuration of a sensor data detection time correction apparatus according to the first embodiment of the present invention.
As shown in the figure, the data collector 1 according to the embodiment of the present invention includes a sensor data acquisition unit 11, a system time giving unit 12, a system time management unit 13, a sensor detection time correction amount calculation unit 14, and a database 15. have.

センサデータ取得部11は、外部の監視対象を監視する圧力センサ2からセンサ値を取得し、システム時刻付与部12へ出力する。なお、本実施の形態においては、圧力センサについて説明するが他の種類のセンサであっても本発明を適用することができることはいうまでもない。   The sensor data acquisition unit 11 acquires a sensor value from the pressure sensor 2 that monitors an external monitoring target, and outputs the sensor value to the system time giving unit 12. In this embodiment, a pressure sensor will be described, but it goes without saying that the present invention can be applied to other types of sensors.

システム時刻付与部12は、センサデータ取得部11から送られてくるセンサ値を受信し、センサ値を受信した際のシステム時刻管理部13から送られてくるシステム時刻をセンサ検知時刻として受信したセンサ値に付与して、データベース15に格納する。   The system time giving unit 12 receives the sensor value sent from the sensor data acquisition unit 11 and receives the system time sent from the system time management unit 13 when the sensor value is received as the sensor detection time. Assigned to the value and stored in the database 15.

センサ検知時刻補正量算出部14は、外部の時刻サーバ3から送られてくる標準時刻と、システム時刻管理部13から送られてくるシステム時刻などに基づいて、本発明の実施の形態に係るセンサデータ検知時刻補正量の算出処理を行う。この検知時刻補正量の算出処理については後述する。   The sensor detection time correction amount calculation unit 14 is based on the standard time sent from the external time server 3, the system time sent from the system time management unit 13, and the like according to the embodiment of the present invention. A calculation process of the data detection time correction amount is performed. This detection time correction amount calculation process will be described later.

データベース15は、センサデータ検知時刻、センサタイプ、センサID、センサ値、センサ補正量などの組からなるセンサデータテーブル(図4及び図5)を格納する。
以下、図2及び図3のフローチャートを参照して、本発明の第1の実施の形態に係るセンサデータ検知時刻補正装置の動作について説明する。
The database 15 stores a sensor data table (FIGS. 4 and 5) including a set of sensor data detection time, sensor type, sensor ID, sensor value, sensor correction amount, and the like.
Hereinafter, the operation of the sensor data detection time correction apparatus according to the first embodiment of the present invention will be described with reference to the flowcharts of FIGS.

図2は、システム時刻付与部12の動作を説明するためのフローチャートである。
センサデータ取得部11が外部の圧力センサ2から送られてくるセンサデータのセンサ値の取得を開始すると(S1)、システム時刻付与部12はセンサデータ取得部11からセンサ値を取得する(S2)。
FIG. 2 is a flowchart for explaining the operation of the system time giving unit 12.
When the sensor data acquisition unit 11 starts acquiring the sensor value of the sensor data sent from the external pressure sensor 2 (S1), the system time giving unit 12 acquires the sensor value from the sensor data acquisition unit 11 (S2). .

そして、システム時刻付与部12は、システム時刻管理部13からシステム時刻を取得して、取得したセンサ値にセンサ検知時刻として付与し(S3)、センサ値及びセンサ検知時刻(システム時刻)の組をデータベース15のセンサデータテーブルに追加する(S4)。図4は、データベース15に格納されるセンサデータテーブルを示す図である。   Then, the system time giving unit 12 acquires the system time from the system time managing unit 13, gives the acquired sensor value as the sensor detection time (S3), and sets a combination of the sensor value and the sensor detection time (system time). It adds to the sensor data table of database 15 (S4). FIG. 4 is a diagram showing a sensor data table stored in the database 15.

同図に示すように、センサデータテーブルには、センサ検知時刻、センサタイプ、センサID、センサ値及びセンサ検知時刻補正量の組が格納される。センサ検知時刻補正量は、後述する補正量算出処理によって算出されるものであって、システム時刻管理部13から格納されるデータは、センサ検知時刻、センサタイプ、センサID及びセンサ値となる。   As shown in the figure, the sensor data table stores a set of sensor detection time, sensor type, sensor ID, sensor value, and sensor detection time correction amount. The sensor detection time correction amount is calculated by a correction amount calculation process to be described later, and data stored from the system time management unit 13 includes a sensor detection time, a sensor type, a sensor ID, and a sensor value.

同図においては、センサ検知時刻「9:55:00」のセンサ値は前回の時刻補正量算出処理によって補正量が算出されており、センサ検知時刻「10:02:04」以降のセンサ値が新たに追加されたものとなる。なお、センサタイプとセンサIDについては、センサデータに含まれているものを使用しても良いし、予め設定しておいてもよく、その方法は問わない。   In the figure, the sensor value at the sensor detection time “9:55:00” has been calculated by the previous time correction amount calculation process, and the sensor values after the sensor detection time “10:02:04” are calculated. Newly added. In addition, about the sensor type and sensor ID, you may use what is contained in sensor data, and you may set beforehand, and the method is not ask | required.

図3は、センサ検知時刻補正量算出部14の動作を説明するためのフローチャートである。
時刻補正処理が開始されると、センサ検知時刻補正量算出部14は時刻サーバ3から定期的に標準時刻を取得し、システム時刻管理部13からのシステム時刻のシステム時刻補正量を下記式(1)に基づいて算出する(S11)。
FIG. 3 is a flowchart for explaining the operation of the sensor detection time correction amount calculation unit 14.
When the time correction process is started, the sensor detection time correction amount calculation unit 14 periodically acquires the standard time from the time server 3, and the system time correction amount of the system time from the system time management unit 13 is expressed by the following equation (1). ) Based on ().

T = Tst −Tsys … (1)
ここで、T:システム時刻補正量、Tsys:システム時刻、Tst:標準時刻である。本実施の形態においては、例えば、Tsys=10:20:00、Tst=10:30:00、T=10(分)とする。
次に、前回補正した時刻以降のセンサ検知時刻をセンサデータテーブルから抽出する(S12)。本実施の形態においては、例えば、前回補正時刻Tbf=10:00:00とすると、図4においては、センサ検知時刻「10:02:04」以降のセンサ検知時刻が抽出されることになる。
T = Tst−Tsys (1)
Here, T: system time correction amount, Tsys: system time, Tst: standard time. In the present embodiment, for example, Tsys = 10: 20: 00, Tst = 10: 30: 30, and T = 10 (minutes).
Next, the sensor detection time after the previously corrected time is extracted from the sensor data table (S12). In the present embodiment, for example, if the previous correction time Tbf = 10: 00: 00: 00, sensor detection times after the sensor detection time “10:02:04” are extracted in FIG.

その後、抽出された各センサ検知時刻についてセンサ検知時刻補正量を下記式(2)に基づいて算出し、この算出した補正量をセンサデータテーブルに追加する(S13)。図5は、図4において追加されたセンサ値に対してセンサ検知時刻補正量が追記されたセンサデータテーブルを示す図である。   Thereafter, a sensor detection time correction amount is calculated for each extracted sensor detection time based on the following equation (2), and the calculated correction amount is added to the sensor data table (S13). FIG. 5 is a diagram showing a sensor data table in which a sensor detection time correction amount is added to the sensor value added in FIG.

dTsense(t)
= T × (Tsense(t)−Tbf)/(Tsys−Tbf) …(2)
ここで、
dTsense(t):時刻tにおけるセンサ検知時刻の補正量
Tsys :標準時刻を取得した際のシステム時刻
Tsense(t):抽出された時刻tにおけるセンサ検知時刻
Tbf :前回補正した時刻
である。
dTsense (t)
= T * (Tsense (t) -Tbf) / (Tsys-Tbf) (2)
here,
dTsense (t): correction amount of sensor detection time at time t Tsys: system time when standard time is acquired Tsense (t): sensor detection time at extracted time t Tbf: time corrected last time.

式(2)からわかるように、補正量は前回補正した時刻を基点とした経過時間に按分される。
したがって、本発明の実施の形態によれば、センサ検知時刻補正量を、前回補正した時刻を基点として経過時間に按分して決定することにより、精度良く補正量を算出することができる。
<第2の実施の形態>
次に、本発明の第2の実施の形態に係るセンサデータ検知時刻補正装置について説明する。
As can be seen from Equation (2), the correction amount is apportioned to the elapsed time based on the previously corrected time.
Therefore, according to the embodiment of the present invention, the correction amount can be calculated with high accuracy by determining the sensor detection time correction amount proportionally to the elapsed time with the previously corrected time as a base point.
<Second Embodiment>
Next, a sensor data detection time correction apparatus according to the second embodiment of the present invention will be described.

図6は、本発明の第2の実施の形態に係るセンサデータ検知時刻補正装置の構成を示す図である。なお、図1と同一部分には同一符号を付し、その説明を省略し、ここでは異なる部分について述べる。すなわち、本実施の形態においては、センサ検知時刻補正量算出部21における補正量算出処理及び処理負荷値監視部22を新たに設けたことが異なる。   FIG. 6 is a diagram showing a configuration of a sensor data detection time correction apparatus according to the second embodiment of the present invention. The same parts as those in FIG. 1 are denoted by the same reference numerals, description thereof is omitted, and different parts are described here. That is, the present embodiment is different in that a correction amount calculation process and a processing load value monitoring unit 22 in the sensor detection time correction amount calculation unit 21 are newly provided.

処理負荷値監視部22は、データ収集器1の処理負荷値を定期的に監視し、処理負荷値を負荷検知の際のシステム時刻(負荷検知時刻)と関連付けてデータベース内の処理負荷値テーブルに記憶する。図9は処理負荷値テーブルの一例を示す図であり、図10はセンサデータテーブルの一例を示す図である。本実施の形態においては、図9に示すように、処理負荷値の検知は例えば5分ごとに行われるものとする。   The processing load value monitoring unit 22 periodically monitors the processing load value of the data collector 1 and associates the processing load value with the system time (load detection time) at the time of load detection in the processing load value table in the database. Remember. FIG. 9 is a diagram illustrating an example of a processing load value table, and FIG. 10 is a diagram illustrating an example of a sensor data table. In the present embodiment, as shown in FIG. 9, the processing load value is detected every 5 minutes, for example.

図7は、処理負荷値監視部の動作を説明するためのフローチャートである。
同図に示すように、処理負荷値監視部22ではデータ収集器の処理負荷値を取得すると(S21)、システム時刻管理部13からシステム時刻を取得し、負荷検知時刻として、処理負荷値に付与する(S22)。そして、取得した処理負荷値及び付与された負荷検知時刻を、図9に示すデータベース上の処理負荷値テーブルに追加し(S23)、S21の処理に戻る。
FIG. 7 is a flowchart for explaining the operation of the processing load value monitoring unit.
As shown in the figure, when the processing load value monitoring unit 22 acquires the processing load value of the data collector (S21), it acquires the system time from the system time management unit 13, and assigns it to the processing load value as the load detection time. (S22). Then, the acquired processing load value and the assigned load detection time are added to the processing load value table on the database shown in FIG. 9 (S23), and the processing returns to S21.

次に、本発明の実施の形態に係るセンサ検知時刻補正量算出部の動作について、図8のフローチャートを参照して説明する。
時刻補正処理が開始されると、センサ検知時刻補正量算出部21は時刻サーバ3から定期的に標準時刻を取得し、システム時刻管理部13からのシステム時刻のシステム時刻補正量を式(1)に基づいて算出する(S31)。
Next, the operation of the sensor detection time correction amount calculation unit according to the embodiment of the present invention will be described with reference to the flowchart of FIG.
When the time correction process is started, the sensor detection time correction amount calculation unit 21 periodically acquires the standard time from the time server 3, and the system time correction amount of the system time from the system time management unit 13 is expressed by equation (1). (S31).

次に、処理負荷値テーブルから処理負荷値が閾値以上となっている処理負荷検知時刻の開始時刻、終了時刻及び経過時間を算出する(S32)。ここで、経過時間とは処理負荷値が閾値以上となっている処理負荷検知時刻の開始時刻から終了時刻までの時間を意味する。   Next, the start time, end time, and elapsed time of the processing load detection time when the processing load value is equal to or greater than the threshold value are calculated from the processing load value table (S32). Here, the elapsed time means the time from the start time to the end time of the processing load detection time when the processing load value is equal to or greater than the threshold value.

本実施の形態においては、図9の処理負荷値テーブルに示すように、開始時間Tmod_st=10:10:00、終了時間Tmod_fin=10:20:00、経過時間Tmod=10分である。なお、本実施の形態においては、開始、終了時刻は1つしかないが、処理負荷が閾値以上となる時刻が複数ある場合は、開始終了時刻は複数となることはいうまでもない。   In the present embodiment, as shown in the processing load value table of FIG. 9, the start time Tmod_st = 10: 10: 00, the end time Tmod_fin = 10: 20: 00, and the elapsed time Tmod = 10 minutes. In the present embodiment, there is only one start and end time. However, when there are a plurality of times when the processing load is equal to or greater than the threshold, it goes without saying that the start and end times are plural.

次に、センサデータテーブルから、センサ検知時刻がS32において算出された開始時刻から終了時刻の間となっているセンサ検知時刻を検索し(S33)、前回補正した時刻以降かつ、処理負荷値が閾値以上となっている時刻のセンサ検知時刻を有するセンサの値を検索する(S34)。図10に、S34において検索されるセンサ値を示す。   Next, a sensor detection time in which the sensor detection time is between the start time and end time calculated in S32 is searched from the sensor data table (S33), and the processing load value is a threshold value after the previously corrected time. The value of the sensor having the sensor detection time at the above time is searched (S34). FIG. 10 shows sensor values searched in S34.

次に、補正対象のセンサ値、すなわち、前回補正した時刻以降かつ、処理負荷値が閾値以上となっている時刻(開始時間Tmod_stから終了時間Tmod_fin)のセンサ検知時刻のセンサ値に対してセンサ検知時刻補正値を下記式(3)に基づいて算出する。   Next, the sensor detection is performed on the sensor value to be corrected, that is, the sensor value at the sensor detection time at the time (start time Tmod_st to end time Tmod_fin) after the last corrected time and the processing load value is equal to or greater than the threshold value. A time correction value is calculated based on the following equation (3).

dTsense(t)
= T × (Tsense(t)−Tmod_st)/Tmod
Tmod = Tmod_fin − Tmod_st …(3)
ここで、
dTsense(t):時刻tにおけるセンサ検知時刻の補正量
T:システム時刻補正量(=Tst(標準時刻) −Tsys(システム時刻))
Tst :標準時刻
Tsys :標準時刻を取得した際のシステム時刻
Tsense(t):検索された時刻tにおけるセンサ検知時刻
Tmod_st :処理負荷値が閾値以上となっている処理負荷検知時刻の開始時刻
Tmod_fin :処理負荷値が閾値以上となっている処理負荷検知時刻の終了時刻
Tbf :前回補正した時刻
である。
dTsense (t)
= T * (Tsense (t) -Tmod_st) / Tmod
Tmod = Tmod_fin−Tmod_st (3)
here,
dTsense (t): sensor detection time correction amount at time t T: system time correction amount (= Tst (standard time) −Tsys (system time))
Tst: Standard time Tsys: System time when the standard time is acquired Tsense (t): Sensor detection time at the searched time t Tmod_st: Start time of the processing load detection time when the processing load value is equal to or greater than the threshold Tmod_fin: End time Tbf of the processing load detection time when the processing load value is equal to or greater than the threshold value Tbf: Time corrected last time.

その後、算出した補正量をセンサデータテーブルに追加する(S36)。図11は、図10において検索されたセンサ検知時刻を有するセンサ値に対して算出されたセンサ検知時刻補正量をセンサデータテーブルへ追加した例を示す図である。
なお、本実施の形態においては、処理負荷量を基準として、センサ検知時刻補正量を算出する対象となるセンサ値を抽出する場合について説明したが、基準となる対象はこれに限られるものではなく、例えば、温度センサによる温度値を基準としてもよい。
Thereafter, the calculated correction amount is added to the sensor data table (S36). FIG. 11 is a diagram illustrating an example in which the sensor detection time correction amount calculated for the sensor value having the sensor detection time searched in FIG. 10 is added to the sensor data table.
In the present embodiment, a case has been described in which a sensor value that is a target for calculating a sensor detection time correction amount is extracted using a processing load amount as a reference. However, the reference target is not limited to this. For example, a temperature value by a temperature sensor may be used as a reference.

したがって、本発明の実施の形態によれば、処理負荷量などを参照することにより、補正が必要なセンサ値の検知時刻のみを補正することができ、その結果、画一的に補正を行う場合に比して、より正確にセンサ検知時刻の補正を行うことができる。
なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。
Therefore, according to the embodiment of the present invention, it is possible to correct only the detection time of the sensor value that needs to be corrected by referring to the processing load amount and the like, and as a result, when correcting uniformly As compared with this, the sensor detection time can be corrected more accurately.
Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

また、実施形態に記載した手法は、計算機(コンピュータ)に実行させることができるプログラム(ソフトウエア手段)として、例えば磁気ディスク(ハードディスク等)、光ディスク(CD−ROM、DVD、MO等)、半導体メモリ(ROM、RAM、フラッシュメモリ等)等の記録媒体に格納し、また通信媒体により伝送して頒布することもできる。なお、媒体側に格納されるプログラムには、計算機に実行させるソフトウエア手段(実行プログラムのみならずテーブルやデータ構造も含む)を計算機内に構成させる設定プログラムをも含む。本装置を実現する計算機は、記録媒体に記録されたプログラムを読み込み、また場合により設定プログラムによりソフトウエア手段を構築し、このソフトウエア手段によって動作が制御されることにより上述した処理を実行する。なお、本明細書でいう記録媒体は、頒布用に限らず、計算機内部あるいはネットワークを介して接続される機器に設けられた磁気ディスクや半導体メモリ等の記憶媒体を含むものである。   In addition, the method described in the embodiment uses, as a program (software means) that can be executed by a computer (computer), for example, a magnetic disk (hard disk, etc.), an optical disk (CD-ROM, DVD, MO, etc.), a semiconductor memory, etc. It can also be stored in a recording medium such as (ROM, RAM, flash memory, etc.), or transmitted and distributed via a communication medium. The program stored on the medium side includes a setting program that configures in the computer software means (including not only the execution program but also a table and data structure) to be executed by the computer. A computer that implements this apparatus reads a program recorded on a recording medium, constructs software means by a setting program as the case may be, and executes the above-described processing by controlling the operation by this software means. The recording medium referred to in this specification is not limited to the distribution, but includes a storage medium such as a magnetic disk or a semiconductor memory provided in a computer or a device connected via a network.

本発明の第1の実施の形態に係るセンサデータ検知時刻補正装置の構成を示す図である。It is a figure which shows the structure of the sensor data detection time correction apparatus which concerns on the 1st Embodiment of this invention. システム時刻付与部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of a system time provision part. センサ検知時刻補正量算出部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of a sensor detection time correction amount calculation part. データベースに格納されるセンサデータテーブルを示す図である。It is a figure which shows the sensor data table stored in a database. 図4において追加されたセンサ値に対してセンサ検知時刻補正量が追記されたセンサデータテーブルを示す図である。FIG. 5 is a diagram showing a sensor data table in which a sensor detection time correction amount is added to the sensor value added in FIG. 4. 本発明の第2の実施の形態に係るセンサデータ検知時刻補正装置の構成を示す図である。It is a figure which shows the structure of the sensor data detection time correction apparatus which concerns on the 2nd Embodiment of this invention. 処理負荷値監視部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of a process load value monitoring part. センサ検知時刻補正量算出部の動作について説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of a sensor detection time correction amount calculation part. 処理負荷値テーブルを示す図である。It is a figure which shows a processing load value table. 補正対象となるセンサ値を示したセンサデータテーブルを示す図である。It is a figure which shows the sensor data table which showed the sensor value used as correction | amendment object. 補正対象となるセンサ値に対してセンサ検知時刻補正量を書き込んだセンサデータテーブルを示す図である。It is a figure which shows the sensor data table which wrote sensor detection time correction amount with respect to the sensor value used as correction | amendment object.

符号の説明Explanation of symbols

1…データ収集器、2…圧力センサ、3…時刻サーバ、11…センサデータ取得部、12…システム時刻付与部、13…システム時刻管理部、14…センサ検知時刻補正量算出部、15…データベース、22…処理負荷値監視部。   DESCRIPTION OF SYMBOLS 1 ... Data collector, 2 ... Pressure sensor, 3 ... Time server, 11 ... Sensor data acquisition part, 12 ... System time provision part, 13 ... System time management part, 14 ... Sensor detection time correction amount calculation part, 15 ... Database 22 ... Processing load value monitoring unit.

Claims (7)

外部センサから送られてくるセンサ値を取得する手段と、
前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、
前記取得されたセンサ値と、前記付与されたセンサ検知時刻との組を格納する手段と、
外部から標準時刻を取得する手段と、
前回センサ検知時刻を補正した時刻以降のセンサ値とセンサ検知時刻との組を抽出する手段と、
前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻及び前記前回センサ検知時刻を補正した時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出する手段と、
前記算出したセンサ検知時刻の補正量を前記取得されたセンサ値と関連付けて格納する手段と
を具備することを特徴とするセンサデータ検知時刻補正装置。
Means for acquiring a sensor value sent from an external sensor;
Means for providing the acquired sensor value with a system time when the sensor value is acquired as a sensor detection time;
Means for storing a set of the acquired sensor value and the assigned sensor detection time;
Means for obtaining the standard time from the outside;
Means for extracting a set of sensor value and sensor detection time after the time when the previous sensor detection time was corrected;
Based on the acquired standard time, the system time when the standard time is acquired, the extracted sensor detection time, and the time when the previous sensor detection time is corrected, the correction amount of the extracted sensor detection time is calculated. Means for calculating;
A sensor data detection time correction apparatus comprising: means for storing the calculated correction amount of the sensor detection time in association with the acquired sensor value.
前記補正量は、標準時刻と標準時刻を取得した際のシステム時刻との差を前回センサ検知時刻を補正した時刻を基点とした前記抽出されたセンサ検知時刻の経過時間に按分して決定されることを特徴とする請求項1記載のセンサデータ検知時刻補正装置。   The correction amount is determined by dividing the difference between the standard time and the system time when the standard time is acquired by dividing the elapsed time of the extracted sensor detection time based on the time obtained by correcting the previous sensor detection time. The sensor data detection time correction apparatus according to claim 1. 外部センサから送られてくるセンサ値を取得する手段と、
前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、
前記取得されたセンサ値と前記付与されたセンサ検知時刻との組を格納する手段と、
システムの処理負荷値を検知する手段と、
前記検知された処理負荷値に、前記処理負荷値を検知した際のシステム時刻を負荷検知時刻として付与する手段と、
前記検知された処理負荷値と、前記付与された負荷検知時刻との組を格納する手段と、
外部から標準時刻を取得する手段と、
前記格納された処理負荷値と、前記負荷検知時刻との組から、処理負荷値が所定の閾値以上となっている組の処理負荷検知時刻の開始時刻及び終了時刻を抽出する手段と、
前記格納されたセンサ値とセンサ検知時刻との組から、前記抽出された開始時刻から終了時刻に含まれるセンサ検知時刻を抽出する手段と、
前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻、前記抽出された開始時刻及び終了時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出する手段と
を具備することを特徴とするセンサデータ検知時刻補正装置。
Means for acquiring a sensor value sent from an external sensor;
Means for providing the acquired sensor value with a system time when the sensor value is acquired as a sensor detection time;
Means for storing a set of the acquired sensor value and the assigned sensor detection time;
Means for detecting the processing load value of the system;
Means for giving the detected processing load value a system time when the processing load value is detected as a load detection time;
Means for storing a set of the detected processing load value and the assigned load detection time;
Means for obtaining the standard time from the outside;
Means for extracting a start time and an end time of a processing load detection time of a set whose processing load value is equal to or greater than a predetermined threshold from a set of the stored processing load value and the load detection time;
Means for extracting a sensor detection time included in an end time from the extracted start time from the set of the stored sensor value and sensor detection time;
Based on the acquired standard time, the system time when the standard time is acquired, the extracted sensor detection time, the extracted start time and end time, the correction amount of the extracted sensor detection time is calculated. A sensor data detection time correction apparatus comprising: means for calculating.
前記補正量の算出は、標準時刻と標準時刻を取得した際のシステム時刻との差を前記抽出された開始時刻から終了時刻の間の経過時間に按分して決定されることを特徴とする請求項3記載のセンサデータ検知時刻補正装置。   The calculation of the correction amount is determined by dividing a difference between a standard time and a system time when the standard time is acquired into an elapsed time between the extracted start time and an end time. Item 4. The sensor data detection time correction device according to Item 3. 外部センサから送られてくるセンサ値を取得する手段と、
前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、
前記取得されたセンサ値と、前記付与されたセンサ検知時刻との組を格納する手段と、
外部から標準時刻を取得する手段とを具備するセンサデータ検知時刻補正装置におけるセンサデータ検知時刻補正方法において、
前回センサ検知時刻を補正した時刻以降のセンサ値とセンサ検知時刻との組を抽出し、
前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻及び前記前回センサ検知時刻を補正した時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出し、
前記算出したセンサ検知時刻の補正量を前記取得されたセンサ値と関連付けて格納することを特徴とするセンサデータ検知時刻補正方法。
Means for acquiring a sensor value sent from an external sensor;
Means for providing the acquired sensor value with a system time when the sensor value is acquired as a sensor detection time;
Means for storing a set of the acquired sensor value and the assigned sensor detection time;
In a sensor data detection time correction method in a sensor data detection time correction device comprising means for acquiring a standard time from the outside,
Extract a set of sensor value and sensor detection time after the time when the previous sensor detection time was corrected,
Based on the acquired standard time, the system time when the standard time is acquired, the extracted sensor detection time, and the time when the previous sensor detection time is corrected, the correction amount of the extracted sensor detection time is calculated. Calculate
A sensor data detection time correction method, wherein the calculated sensor detection time correction amount is stored in association with the acquired sensor value.
前記補正量は、標準時刻と標準時刻を取得した際のシステム時刻との差を前回センサ検知時刻を補正した時刻を基点とした前記抽出されたセンサ検知時刻の経過時間に按分して決定されることを特徴とする請求項5記載のセンサデータ検知時刻補正方法。   The correction amount is determined by dividing the difference between the standard time and the system time when the standard time is acquired by dividing the elapsed time of the extracted sensor detection time based on the time obtained by correcting the previous sensor detection time. 6. The sensor data detection time correction method according to claim 5. 外部センサから送られてくるセンサ値を取得する手段と、
外部から標準時刻を取得する手段と、
前記取得されたセンサ値に、前記センサ値を取得した際のシステム時刻をセンサ検知時刻として付与する手段と、
前記取得されたセンサ値と前記付与されたセンサ検知時刻との組を格納する手段とを具備するセンサデータ検知時刻補正装置におけるセンサデータ検知時刻補正方法において、
システムの処理負荷値を検知し、
前記検知された処理負荷値に、前記処理負荷値を検知した際のシステム時刻を負荷検知時刻として付与し、
前記検知された処理負荷値と、前記付与された負荷検知時刻との組を格納し、
前記格納された処理負荷値と、前記負荷検知時刻との組から、処理負荷値が所定の閾値以上となっている組の処理負荷検知時刻の開始時刻及び終了時刻を抽出し、
前記格納されたセンサ値とセンサ検知時刻との組から、前記抽出された開始時刻から終了時刻に含まれるセンサ検知時刻を抽出し、
前記取得された標準時刻、前記標準時刻を取得した際のシステム時刻、前記抽出されたセンサ検知時刻、前記抽出された開始時刻及び終了時刻に基づいて、前記抽出されたセンサ検知時刻の補正量を算出することを特徴とするセンサデータ検知時刻補正方法。
Means for acquiring a sensor value sent from an external sensor;
Means for obtaining the standard time from the outside;
Means for providing the acquired sensor value with a system time when the sensor value is acquired as a sensor detection time;
In a sensor data detection time correction method in a sensor data detection time correction device comprising means for storing a set of the acquired sensor value and the assigned sensor detection time,
Detect the processing load value of the system,
A system time when the processing load value is detected is assigned to the detected processing load value as a load detection time,
A set of the detected processing load value and the assigned load detection time is stored,
From the set of the stored processing load value and the load detection time, the start time and the end time of the processing load detection time of the set whose processing load value is equal to or greater than a predetermined threshold are extracted,
From the stored sensor value and sensor detection time, extract the sensor detection time included in the end time from the extracted start time,
Based on the acquired standard time, the system time when the standard time is acquired, the extracted sensor detection time, the extracted start time and end time, the correction amount of the extracted sensor detection time is calculated. A sensor data detection time correction method comprising calculating the sensor data detection time.
JP2006084199A 2006-03-24 2006-03-24 Sensor data detection time correction device Expired - Fee Related JP4550758B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006084199A JP4550758B2 (en) 2006-03-24 2006-03-24 Sensor data detection time correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006084199A JP4550758B2 (en) 2006-03-24 2006-03-24 Sensor data detection time correction device

Publications (2)

Publication Number Publication Date
JP2007256210A true JP2007256210A (en) 2007-10-04
JP4550758B2 JP4550758B2 (en) 2010-09-22

Family

ID=38630593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006084199A Expired - Fee Related JP4550758B2 (en) 2006-03-24 2006-03-24 Sensor data detection time correction device

Country Status (1)

Country Link
JP (1) JP4550758B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011208957A (en) * 2010-03-29 2011-10-20 Metawater Co Ltd Analog integration processing device and program
JP2013024796A (en) * 2011-07-25 2013-02-04 Toda Constr Co Ltd Time correction method of time bases for data recording and system therefor
JP2015126275A (en) * 2013-12-25 2015-07-06 一般財団法人電力中央研究所 Counter synchronization method for sensor terminal, synchronization device, and synchronization program
JP2018173938A (en) * 2017-03-31 2018-11-08 西日本電信電話株式会社 Time estimation system, sensor, server, time estimation method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11223686A (en) * 1998-02-05 1999-08-17 Seiko Epson Corp Electronic equipment
JP2002258942A (en) * 2001-03-01 2002-09-13 Mitsubishi Electric Corp Monitor data collecting and recording device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11223686A (en) * 1998-02-05 1999-08-17 Seiko Epson Corp Electronic equipment
JP2002258942A (en) * 2001-03-01 2002-09-13 Mitsubishi Electric Corp Monitor data collecting and recording device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011208957A (en) * 2010-03-29 2011-10-20 Metawater Co Ltd Analog integration processing device and program
JP2013024796A (en) * 2011-07-25 2013-02-04 Toda Constr Co Ltd Time correction method of time bases for data recording and system therefor
JP2015126275A (en) * 2013-12-25 2015-07-06 一般財団法人電力中央研究所 Counter synchronization method for sensor terminal, synchronization device, and synchronization program
JP2018173938A (en) * 2017-03-31 2018-11-08 西日本電信電話株式会社 Time estimation system, sensor, server, time estimation method, and program

Also Published As

Publication number Publication date
JP4550758B2 (en) 2010-09-22

Similar Documents

Publication Publication Date Title
JP4550758B2 (en) Sensor data detection time correction device
JP5589724B2 (en) Measurement data synchronization system and measurement data synchronization method
JP6077042B2 (en) Notch coefficient estimation method, notch coefficient estimation system, and notch coefficient estimation device
JP2011139375A5 (en) Direction calculation apparatus, direction calculation method, and program
WO2015196474A1 (en) Method and device for temperature sensor value compensation and air quality detector
CN104067120A (en) Humidity sensor numerical value compensation method, device, and air quality detector
JP2015039131A (en) Measurement device and method
US9696219B2 (en) Method for calibrating a measuring device in a mobile terminal
JP5853780B2 (en) Harvest time prediction method and program
JP2007188152A (en) Clock skew correction system, clock skew correction method and clock skew correction program
CN114440866B (en) Sensor data calibration method and calibration system
JP2012128736A (en) Standard time formulation device, standard time formulation system, standard time formulation method, and program
JP2017091463A (en) Calibration device, method and program
JP5516192B2 (en) Model creation device, model creation program, and model creation method
JP5702269B2 (en) Parallel video analysis device, parallel video analysis method, and parallel video analysis program
JP2004172753A (en) Method and apparatus for objectively evaluating video / audio quality
JP2010113527A (en) Bug extraction prediction system
JP5531670B2 (en) Data processing apparatus and program
TW201342048A (en) Server and method of recording environment parameters thereof
US10587838B2 (en) Image processing apparatus capable of acquiring position information, control method for the image processing apparatus, and recording medium
US8630826B2 (en) Electronic device and method for controlling probe measurements
JP5811663B2 (en) Time correction apparatus, time correction method, and program
TWI288231B (en) Compensation systems and methods for temperature drift
JP2004187040A (en) Method and system for determining event generation sequence in network system
JP6070102B2 (en) Deviation calculation program, program, information processing apparatus, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100303

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100708

R150 Certificate of patent or registration of utility model

Ref document number: 4550758

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees