JP2013029340A - Time correction device, time correction method, and program - Google Patents

Time correction device, time correction method, and program Download PDF

Info

Publication number
JP2013029340A
JP2013029340A JP2011163911A JP2011163911A JP2013029340A JP 2013029340 A JP2013029340 A JP 2013029340A JP 2011163911 A JP2011163911 A JP 2011163911A JP 2011163911 A JP2011163911 A JP 2011163911A JP 2013029340 A JP2013029340 A JP 2013029340A
Authority
JP
Japan
Prior art keywords
time
communication
model
communication time
distribution
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
JP2011163911A
Other languages
Japanese (ja)
Other versions
JP5811663B2 (en
Inventor
Kazuho Maeda
一穂 前田
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 JP2011163911A priority Critical patent/JP5811663B2/en
Publication of JP2013029340A publication Critical patent/JP2013029340A/en
Application granted granted Critical
Publication of JP5811663B2 publication Critical patent/JP5811663B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a time correction device, a time correction method, and a program for exactly performing time correction on the basis of upload information from a sensor.SOLUTION: A time correction device has: a receiving part; a clock part; a communication time calculation part; a model holding part; a model update part; and a time correction part. The receiving part receives information including transmission time based on internal time of an external device. The clock part holds reference time. The communication time calculation part calculates communication time to receiving time when information based on the reference time is received from the transmission time. The model holding part holds a communication time distribution model in which distribution of the communication time is predicted. The model update part updates a communication time distribution model on the basis of the calculated communication time. The time correction part corrects deviation of the transmission time on the basis of the updated communication time distribution model.

Description

本発明は、時刻補正装置、時刻補正方法、およびプログラムに関する。   The present invention relates to a time correction device, a time correction method, and a program.

近年、センサの小型化・低価格化やネットワークの発達により、様々なセンシングデータの蓄積が可能となってきており、そのようなセンシングデータを、様々なソリューションに役立てたいという要望が高まっている。   In recent years, various sensor data can be accumulated due to the downsizing and cost reduction of sensors and the development of networks, and there is an increasing demand for using such sensor data for various solutions.

一方、ネットワークに接続され、サーバに情報をアップロードするセンサの数、種類は増加している。例えば、Personal Computer(PC)の使用状況収集ツールのように、他人の装置にソフトをインストールすることによりセンサとして機能させるものもある。このように、他人の装置にソフトをインストールした場合等には、基本的にシステム設定は変更できない。また、PCから携帯端末まで端末の種類やリソースの大小も様々である。このような状況では、センサを一つ一つ管理するのは手間がかかるので、運用時には個々のセンサは出来る限り手を入れる必要がない状態にしておきたいという要望が存在する。   On the other hand, the number and types of sensors connected to a network and uploading information to a server are increasing. For example, there is a device that functions as a sensor by installing software in another person's device, such as a personal computer (PC) usage status collection tool. In this way, when software is installed in another person's device, the system settings cannot basically be changed. Also, the types of terminals and the size of resources vary from PCs to portable terminals. In such a situation, it is time-consuming to manage the sensors one by one, and there is a desire to keep each sensor as small as possible during operation.

しかしながら、サーバが様々なセンサのデータを統合して扱うには、サーバとセンサとの内部時刻のずれが出来るだけ小さいことが望ましい。このため、各センサの内部時刻をサーバに一致するよう自動的に補正したい。   However, in order for the server to handle data from various sensors in an integrated manner, it is desirable that the internal time difference between the server and the sensor be as small as possible. For this reason, I would like to automatically correct the internal time of each sensor to match the server.

このような内部時刻の自動補正の例としては、センサがサーバに送信を行い、サーバが受信時の内部時刻を返送することにより、センサとサーバの内部時刻のずれを計測して補正する技術が知られている。別の例としては、Flooding Time Synchronization Protocol(FTSP)を用いた方法が知られている。   As an example of such automatic correction of the internal time, there is a technique in which the sensor transmits to the server, and the server returns the internal time at the time of reception, thereby measuring and correcting the difference between the internal time of the sensor and the server. Are known. As another example, a method using a Flooding Time Synchronization Protocol (FTSP) is known.

特開2008−209995号公報JP 2008-209995 A

M. Maroti、 B. Kusy、 G. Simon and A. Ledeczi著 The Flooding Time Synchronization Protocol Proceedings of the 2nd ACM Conference on Embedded Networked Sensor Systems (SenSys’04), Baltimore、Maryland (2004).The Flooding Time Synchronization Protocol Proceedings of the 2nd ACM Conference on Embedded Networked Sensor Systems (SenSys’04), Baltimore, Maryland (2004), by M. Maroti, B. Kusy, G. Simon and A. Ledeczi.

しかし、センサからの通信にサーバが返信する方式では、双方向通信が必要であるとともに、センサ側で時刻を修正するため、センサ側にも手を入れる必要がある。また、FTSPを用いる方法は、無線用の特殊なプロトコルを用いるため、センサ側のMedia Access Control(MAC)レイヤに手を入れ、タイムスタンプをとるようにしなければならない。   However, in the method in which the server replies to the communication from the sensor, two-way communication is necessary, and the time is corrected on the sensor side, so it is necessary to put a hand on the sensor side. In addition, since the method using FTSP uses a special protocol for wireless communication, the media access control (MAC) layer on the sensor side must be touched to take a time stamp.

このように、センサ一つ一つに手を入れて補正するのは手間がかかる。そこで、特殊な同期プロトコルは使わず、センサ・サーバ間の通信はセンサ情報(センサ内部時刻とセンサ値)のアップロードのみで時刻のずれを補正できることが望ましい。しかし、各センサの内部時刻の進み方にはばらつきがあるため、センサ情報のアップロードのみの通信では、精度よくセンサの内部時刻を補正することが困難であった。   In this way, it is troublesome to put a hand in each sensor and correct it. Therefore, it is desirable that communication between the sensor and the server can correct the time lag only by uploading sensor information (sensor internal time and sensor value) without using a special synchronization protocol. However, since the way in which the internal time of each sensor advances varies, it is difficult to correct the internal time of the sensor with high accuracy in communication only by uploading sensor information.

上記課題に鑑み、センサからのアップロード情報に基づき正確な時刻の補正を行うことが可能な時刻補正装置、時刻補正方法、およびプログラムを提供する。   In view of the above problems, a time correction apparatus, a time correction method, and a program capable of performing accurate time correction based on upload information from a sensor are provided.

ひとつの態様である時刻補正装置は、受信部、計時部、通信時間計算部、モデル保持部、モデル更新部、および時刻補正部を有している。受信部は、外部の装置の内部時刻に基づく送信時刻を含む情報を受信することを特徴としている。計時部は、基準時刻を保持する。通信時間計算部は、送信時刻から基準時刻に基づく情報を受信した受信時刻までの通信時間を計算する。モデル保持部は、通信時間の分布を予測した通信時間分布モデルを保持する。モデル更新部は、計算された通信時間に基づき通信時間分布モデルを更新する。時刻補正部は、更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する。   The time correction apparatus which is one aspect has a receiving part, a time measuring part, a communication time calculation part, a model holding part, a model update part, and a time correction part. The reception unit receives information including a transmission time based on an internal time of an external device. The timekeeping unit holds the reference time. The communication time calculation unit calculates the communication time from the transmission time to the reception time when the information based on the reference time is received. The model holding unit holds a communication time distribution model in which the communication time distribution is predicted. The model updating unit updates the communication time distribution model based on the calculated communication time. The time correction unit corrects the transmission time deviation based on the updated communication time distribution model.

別の態様である時刻補正方法においては、時刻補正装置の外部の装置の内部時刻に基づく送信時刻を含む情報を受信し、前記送信時刻から前記時刻補正装置内の基準時刻に基づく前記情報を受信した受信時刻までの通信時間を算出する。また、前記通信時間の分布を予測した通信時間分布モデルを、前記通信時間に基づき更新し、更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正することを特徴としている。   In the time correction method according to another aspect, information including a transmission time based on an internal time of a device external to the time correction device is received, and the information based on a reference time in the time correction device is received from the transmission time. The communication time until the received time is calculated. The communication time distribution model in which the communication time distribution is predicted is updated based on the communication time, and the transmission time deviation is corrected based on the updated communication time distribution model.

なお、上述した本発明に係る方法をコンピュータに行わせるためのプログラムであっても、このプログラムを当該コンピュータによって実行させることにより、上述した本発明に係る方法と同様の作用・効果を奏するので、前述した課題が解決される。   In addition, even if it is a program for causing a computer to perform the method according to the present invention described above, since the program is executed by the computer, the same operations and effects as the method according to the present invention described above are achieved. The aforementioned problems are solved.

上述した態様の時刻補正装置、時刻補正方法、およびプログラムによれば、センサからのアップロード情報に基づき正確な時刻の補正を行うことが可能となる。   According to the time correction apparatus, the time correction method, and the program of the above-described aspect, it is possible to correct the time accurately based on the upload information from the sensor.

一実施の形態による時刻補正システムの構成を示すブロック図である。It is a block diagram which shows the structure of the time correction system by one embodiment. 一実施の形態による時刻補正システムにおけるサーバの機能を示すブロック図である。It is a block diagram which shows the function of the server in the time correction system by one Embodiment. 一実施の形態による通信時間の予測される分布の一例を示す図である。It is a figure which shows an example of distribution with which communication time by one embodiment is estimated. 一実施の形態による内部時刻の予測されるずれの一例を示す図である。It is a figure which shows an example of the estimated shift | offset | difference of the internal time by one Embodiment. 一実施の形態による送信時刻と通信時間との関係の一例を示す図である。It is a figure which shows an example of the relationship between the transmission time by one embodiment, and communication time. 一実施の形態による時刻補正システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the time correction system by one Embodiment. 一実施の形態による時刻補正システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the time correction system by one Embodiment. 一実施の形態による通信時間履歴の一例を示す図である。It is a figure which shows an example of the communication time log | history by one embodiment. 一実施の形態によるセンサ情報の一例を示す図である。It is a figure which shows an example of the sensor information by one embodiment. 一実施の形態による通信時間履歴の一例を示す図である。It is a figure which shows an example of the communication time log | history by one embodiment. 一実施の形態による時刻補正後のセンサ情報の一例を示す図である。It is a figure which shows an example of the sensor information after the time correction by one Embodiment. 一実施の形態によるNTP発生推定時刻が設定し直された後の通信時間履歴の一例を示す図である。It is a figure which shows an example of the communication time log | history after the NTP generation | occurrence | production estimated time by one Embodiment is reset. 標準的なコンピュータの構成の一例を示す図である。It is a figure which shows an example of a structure of a standard computer.

以下、一実施の形態による時刻補正システムについて図面を参照しながら説明する。図1は、時刻補正システム1の構成を示すブロック図である。図1に示すように、時刻補正システム1は、サーバ3、少なくとも一つのセンサ20およびNetwork Time Protocol(NTP)サーバ37が、ネットワーク35を介して接続されたシステムである。サーバ3は、ネットワーク35を介して少なくとも一つのセンサ20から各種の計測値を取得する情報処理装置である。センサ20は、各種の計測値を取得し、ネットワーク35を介してサーバ3に送信する計測装置である。ネットワーク35は、インターネット、Local Area Network等の通信網である。   Hereinafter, a time correction system according to an embodiment will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the time correction system 1. As shown in FIG. 1, the time correction system 1 is a system in which a server 3, at least one sensor 20, and a network time protocol (NTP) server 37 are connected via a network 35. The server 3 is an information processing apparatus that acquires various measurement values from at least one sensor 20 via the network 35. The sensor 20 is a measuring device that acquires various measurement values and transmits them to the server 3 via the network 35. The network 35 is a communication network such as the Internet or a Local Area Network.

サーバ3は、Central Processing Unit(CPU)5、記憶装置9、時計11、入出力装置13、通信装置15を有しており、互いにバス17を介して接続されている。   The server 3 includes a central processing unit (CPU) 5, a storage device 9, a clock 11, an input / output device 13, and a communication device 15, which are connected to each other via a bus 17.

CPU5は、サーバ3全体の動作を制御する演算処理装置である。記憶装置9は、例えば、Read Only Memory(ROM)、Random Access Memory(RAM)、およびハードディスクなどの記憶装置およびその駆動装置を含む。記憶装置9は、例えばサーバ3の動作を制御するプログラム等各種制御プログラムを予め記憶したり、プログラムを実行する際に必要に応じて作業領域として使用したりするための記憶部である。CPU5は、記憶装置9に記録されている所定の制御プログラムを読み出して実行することによって、各種の制御処理を行うようにすることができる。   The CPU 5 is an arithmetic processing device that controls the operation of the entire server 3. The storage device 9 includes, for example, a storage device such as a read only memory (ROM), a random access memory (RAM), and a hard disk and a driving device thereof. The storage device 9 is a storage unit for storing various control programs such as a program for controlling the operation of the server 3 in advance or using it as a work area as necessary when executing the program. The CPU 5 can perform various control processes by reading and executing a predetermined control program recorded in the storage device 9.

時計11は、NTPサーバ37による時刻(以下、基準時刻という)を保持する計時装置である。時計11は、NTPサーバ37に例えば所定時間毎にアクセスして時刻を更新することが好ましい。この更新を行う間隔を、時計11が基準時刻を保持するのに十分な時間に短く設定することにより、時計11が基準時刻を保持するように構成する。   The clock 11 is a time measuring device that holds time (hereinafter referred to as reference time) by the NTP server 37. The clock 11 preferably updates the time by accessing the NTP server 37 at predetermined time intervals, for example. The time interval for performing this update is set to be short enough for the timepiece 11 to hold the reference time, so that the timepiece 11 holds the reference time.

入出力装置13は、入力装置および出力装置の総称である。入力装置は、サーバ3の使用者により操作されると、その操作内容に対応付けられている使用者からの各種情報の入力を取得し、取得した入力情報をCPU7に送付する装置であり、例えばキーボード装置、マウス装置などである。出力装置は、サーバ3による処理結果を出力する装置であり、表示装置などが含まれる。例えば表示装置は、CPU5により送付される表示データに応じてテキストや画像を表示する。   The input / output device 13 is a general term for an input device and an output device. The input device is a device that, when operated by the user of the server 3, acquires input of various information from the user associated with the operation content, and sends the acquired input information to the CPU 7. Keyboard device, mouse device, etc. The output device is a device that outputs a processing result by the server 3, and includes a display device and the like. For example, the display device displays text and images according to display data sent by the CPU 5.

通信装置15は、有線または無線により外部との間で行われる各種データの授受の管理を行うインタフェース装置である。バス17は、上記各装置等を互いに接続し、データのやり取りを行う通信経路である。   The communication device 15 is an interface device that manages transmission / reception of various types of data performed externally by wire or wireless. The bus 17 is a communication path for connecting the above devices and the like to exchange data.

センサ20は、例えばROM、RAM等を含む記憶装置21、CPU23、検出部25、時計27、通信装置29を有し、互いにバス31を介して接続されている。センサ20は、各種の計測を行い、ネットワーク35を介して計測値および送信時刻を送信する計測装置である。   The sensor 20 includes a storage device 21 including, for example, a ROM and a RAM, a CPU 23, a detection unit 25, a clock 27, and a communication device 29, which are connected to each other via a bus 31. The sensor 20 is a measuring device that performs various measurements and transmits a measurement value and a transmission time via the network 35.

CPU23は、センサ20全体の動作を制御する演算処理装置である。記憶装置21は、例えばセンサ20の動作を制御する各種制御プログラムを予め記憶したり、プログラムを実行する際に必要に応じて作業領域として使用したりするための記憶装置である。CPU23は、記憶装置21に記録されている所定の制御プログラムを読み出して実行することによって、各種の制御処理を行うようにすることもできる。   The CPU 23 is an arithmetic processing unit that controls the operation of the entire sensor 20. The storage device 21 is a storage device for storing, for example, various control programs for controlling the operation of the sensor 20 in advance or using them as a work area as necessary when executing the programs. The CPU 23 can perform various control processes by reading and executing a predetermined control program recorded in the storage device 21.

検出部25は、各種の計測値を検出するセンサである。通信装置29は、有線または無線により外部との間で行われる各種データの授受の管理を行うインタフェース装置である。バス31は、上記各装置等を互いに接続し、データのやり取りを行う通信経路である。   The detection unit 25 is a sensor that detects various measurement values. The communication device 29 is an interface device that manages transmission / reception of various types of data performed externally by wire or wireless. The bus 31 is a communication path for connecting the above devices and the like to exchange data.

図2は、時刻補正システム1におけるサーバ3の機能を示すブロック図である。図2に示すように、サーバ3のCPU5は、通信時間計算部41、モデル更新部43、発生確率計算部45、NTP時刻更新部47、および時刻補正部49の機能を有している。記憶装置9は、通信時間履歴記憶部51および通信時間モデル記憶部53を有している。   FIG. 2 is a block diagram illustrating functions of the server 3 in the time correction system 1. As shown in FIG. 2, the CPU 5 of the server 3 has functions of a communication time calculation unit 41, a model update unit 43, an occurrence probability calculation unit 45, an NTP time update unit 47, and a time correction unit 49. The storage device 9 includes a communication time history storage unit 51 and a communication time model storage unit 53.

通信時間計算部41は、通信装置15がセンサ20から受信したセンサ情報61に含まれる送信時刻と、情報を受信した受信時刻とから、通信時間を計算する。また、通信時間計算部41は、計算した結果を通信時間履歴記憶部51に記憶させる。   The communication time calculation unit 41 calculates the communication time from the transmission time included in the sensor information 61 received from the sensor 20 by the communication device 15 and the reception time when the information is received. Further, the communication time calculation unit 41 stores the calculated result in the communication time history storage unit 51.

モデル更新部43は、通信時間計算部41で計算された通信時間のモデルを更新する。また、モデル更新部43は、更新したモデルを通信時間モデル記憶部53に記憶させる。モデルについては後述する。   The model update unit 43 updates the communication time model calculated by the communication time calculation unit 41. Further, the model update unit 43 stores the updated model in the communication time model storage unit 53. The model will be described later.

発生確率計算部45は、モデル更新部43で更新され、通信時間モデル記憶部53に記憶されたモデルに基づいて、通信時間計算部41で計算され、通信時間履歴記憶部51に記憶された通信時間の発生確率を計算する。   The occurrence probability calculation unit 45 is calculated by the communication time calculation unit 41 based on the model updated by the model update unit 43 and stored in the communication time model storage unit 53, and stored in the communication time history storage unit 51. Calculate the occurrence probability of time.

NTP時刻更新部47は、発生確率計算部45で計算された発生確率が所定の閾値以下の時には、センサ20においてNTP時刻更新が行われたと判断し、通信時間履歴記憶部51および通信時間モデル記憶部53においてNTP時刻の更新を行う。以下、NTP時刻更新が行われたと推定される時刻を、NTP発生推定時刻という。   The NTP time update unit 47 determines that the NTP time has been updated in the sensor 20 when the occurrence probability calculated by the occurrence probability calculation unit 45 is equal to or less than a predetermined threshold, and the communication time history storage unit 51 and the communication time model storage. The unit 53 updates the NTP time. Hereinafter, the time estimated that the NTP time is updated is referred to as the NTP generation estimated time.

時刻補正部49は、発生確率計算部45で計算された発生確率が所定の閾値より大きい場合に、NTP時刻更新は行われていないと判断し、内部時刻を補正する。また、時刻補正部49は、補正された時刻補正済みのセンサ情報63を出力し、通信時間履歴Sを更新する。   The time correction unit 49 determines that the NTP time is not updated when the occurrence probability calculated by the occurrence probability calculation unit 45 is greater than a predetermined threshold, and corrects the internal time. In addition, the time correction unit 49 outputs the corrected time-corrected sensor information 63 and updates the communication time history S.

通信時間履歴記憶部51は、通信時間履歴Sを保持している。通信時間履歴Sは、前回のNTP発生推定時刻tNTP以降にアップロードされたセンサ情報61と通信時間とを保持している。センサ情報61とは、センサ20の検出部25が検出した計測値と、センサ20からサーバ3へのセンサ情報61の送信時刻(センサ20の内部時刻の下での送信時刻)を含む情報である。 The communication time history storage unit 51 holds a communication time history S. The communication time history S holds sensor information 61 and communication time uploaded after the previous estimated NTP generation time t NTP . The sensor information 61 is information including the measurement value detected by the detection unit 25 of the sensor 20 and the transmission time of the sensor information 61 from the sensor 20 to the server 3 (transmission time under the internal time of the sensor 20). .

ここで、図3から図5を参照しながら、内部時刻の補正に用いるモデルについて説明する。一組のセンサ20とサーバ3を考える。まず、センサ20の内部時刻がサーバ3内部の時刻と一致していると仮定した場合の、センサ20からサーバ3への通信時間xを考える。通信時間xは、「最適ケースの通信時間」と、確率的に長さが決定される「通信時間ノイズ」の和であると考えられる。   Here, a model used for correcting the internal time will be described with reference to FIGS. Consider a set of sensors 20 and a server 3. First, consider the communication time x from the sensor 20 to the server 3 when it is assumed that the internal time of the sensor 20 coincides with the internal time of the server 3. The communication time x is considered to be the sum of the “optimum case communication time” and the “communication time noise” whose length is determined probabilistically.

図3は、通信時間の予測される分布の一例を示す図、図4は、内部時刻の予測されるずれの一例を示す図である。このとき、通信時間xの分布は、確率分布p(x)に従うと予測される。図3において、横軸は通信時間x、縦軸は、通信時間xの確率分布p(x)を示す。図3に示すように、予測される通信時間の分布は、下記の式1で表すことができる。
p(x)=c(γ)exp(−(x−δ)/γ) (x≧δ)・・・(式1)
但し、
δ:最適ケースの通信時間を表すパラメータ
γ:通信時間ノイズのばらつき具合を表すパラメータ
c(γ):p(x)の総和を1にするための係数
である。このモデルでは、c(γ)=1/γとなる。このとき、p(x)の総和が常に1であることは簡単に計算できる。
FIG. 3 is a diagram illustrating an example of a predicted distribution of communication time, and FIG. 4 is a diagram illustrating an example of a predicted deviation in internal time. At this time, the distribution of the communication time x is predicted to follow the probability distribution p (x). In FIG. 3, the horizontal axis represents the communication time x, and the vertical axis represents the probability distribution p (x) of the communication time x. As shown in FIG. 3, the predicted communication time distribution can be expressed by Equation 1 below.
p (x) = c (γ) exp (− (x−δ) / γ) (x ≧ δ) (Expression 1)
However,
δ: a parameter indicating the communication time in the optimum case γ: a parameter indicating the degree of variation in communication time noise c (γ): a coefficient for setting the sum of p (x) to 1. In this model, c (γ) = 1 / γ. At this time, it can be easily calculated that the sum of p (x) is always 1.

次に、時刻t(ここでは、t≧tTNP)における、サーバ3に対するセンサの内部時刻のずれy(t)を考える。図4においては、横軸はセンサ20の内部時刻t、縦軸は、センサ20の内部時刻tのサーバ3の内部時刻に対するずれy(t)を示している。図4に示すように、ずれy(t)は、センサでのNTP発生時(t=tNTP)に0であり、NTPからの経過時刻に比例すると考えられ、下記の式2で表すことができる。
y(t)=α(t−tNTP)・・・(式2)
NTP:前回のNTP発生時刻
α:センサの内部時刻のずれの広がり方を表すパラメータ
Next, consider the deviation y (t) of the internal time of the sensor with respect to the server 3 at time t (here, t ≧ t TNP ). In FIG. 4, the horizontal axis represents the internal time t of the sensor 20, and the vertical axis represents the deviation y (t) of the internal time t of the sensor 20 with respect to the internal time of the server 3. As shown in FIG. 4, the deviation y (t) is 0 when NTP occurs in the sensor (t = t NTP ), and is considered to be proportional to the elapsed time from NTP. it can.
y (t) = α (t−t NTP ) (Formula 2)
t NTP : Last NTP occurrence time α: Parameter indicating how the time lag of the sensor's internal time spreads

最後に、サーバ3で計測される通信時間(サーバ3の受信時刻とセンサ20の送信時刻との差)zを考える。ここで、サーバ3の受信時刻はサーバ3の内部時刻に基づいて測定され、センサの送信時刻はセンサ20の内部時刻に基づいて測定されたものである。よって、通信時間zは「最適ケースの通信時間」と「通信時間ノイズ」と「サーバに対するセンサの内部時刻のずれ」の和であると考えられる。したがって、通信時間zは、確率分布q(t、z)に従う。
q(t、z)=1/γ・exp(−(z−αt−β))/γ)(z≧αt+β)・・・(式3)
但し、β=δ−αtNTPである。
Finally, consider the communication time (difference between the reception time of the server 3 and the transmission time of the sensor 20) z measured by the server 3. Here, the reception time of the server 3 is measured based on the internal time of the server 3, and the transmission time of the sensor is measured based on the internal time of the sensor 20. Therefore, the communication time z is considered to be the sum of “the communication time in the optimum case”, “the communication time noise”, and “the deviation of the internal time of the sensor relative to the server”. Therefore, the communication time z follows the probability distribution q (t, z).
q (t, z) = 1 / γ · exp (− (z−αt−β)) / γ) (z ≧ αt + β) (Equation 3)
However, β = δ−αt NTP .

このモデルを用いた時刻補正の概要は以下のとおりである。すなわち、サーバ3で計測される通信時間zの通信時間履歴Sを式3の確率分布q(t、z)にあてはめ、その発生確率を計算する。発生確率が十分小さくなったら、すなわち、通信時間履歴Sが確率分布q(t、z)にあてはまらなくなったら、その時刻をセンサ20でNTPが発生したNTP発生時刻tNTPとみなす。NTP発生時刻tNTPが分かれば、サーバ3の内部時刻に対するセンサ20の内部時刻のずれはα(t−tNTP)で推定できるので、センサ20の内部時刻を補正できる。 The outline of time correction using this model is as follows. That is, the communication time history S of the communication time z measured by the server 3 is applied to the probability distribution q (t, z) of Equation 3, and the occurrence probability is calculated. When the occurrence probability becomes sufficiently small, that is, when the communication time history S does not fit in the probability distribution q (t, z), the time is regarded as the NTP occurrence time t NTP at which the sensor 20 has generated NTP . If the NTP generation time t NTP is known, the deviation of the internal time of the sensor 20 relative to the internal time of the server 3 can be estimated by α (t−t NTP ), so that the internal time of the sensor 20 can be corrected.

図5は、送信時刻t(センサ20の内部時刻tに基づく時刻であるので、同一の符号で表す)と通信時間zとの関係の一例を示す図である。図5において、横軸は送信時刻t、縦軸は、通信時間zである。折れ線グラフ72は、送信時刻t(i)(iは、データの送信順を表す整数)と対応する通信時間z(i)とを表す点(t(i)、z(i))を互いに結んだグラフである。   FIG. 5 is a diagram illustrating an example of the relationship between the transmission time t (which is the time based on the internal time t of the sensor 20 and is represented by the same symbol) and the communication time z. In FIG. 5, the horizontal axis represents transmission time t, and the vertical axis represents communication time z. The line graph 72 connects points (t (i), z (i)) representing the transmission time t (i) (i is an integer representing the data transmission order) and the corresponding communication time z (i). It is a graph.

図5に示すように、通信時間zは、送信時刻tに対し、例えば点P1、P2において、突然大きく変動しており、NTP時刻更新が行われたと考えられる。また、点P1〜P2の間は、通信時間zの最低値を結んだ包絡線70(破線で表している)が直線に近い関係を示している。   As shown in FIG. 5, the communication time z suddenly fluctuates greatly with respect to the transmission time t, for example, at points P1 and P2, and it is considered that the NTP time has been updated. Further, between the points P1 and P2, an envelope 70 (represented by a broken line) connecting the minimum values of the communication time z indicates a relationship close to a straight line.

点P1、P2は、上述のように、センサ20内部においてNTPサーバ37へのアクセスによる内部時刻の補正が行われたことを示していると考えられ、このとき、センサ20の内部時刻とサーバ3の内部時刻は、合致していると考えられる。また、点P1〜P2の間は、センサ20の内部時刻が、サーバ3の内部時刻に対して、一定の割合で変化していると考えられる。すなわち、上述のように、この間の通信時間zは、下記の式で表されると考えられる。
z=α(t−tNTP)+δ・・・(式4)
よって、このとき、センサ20の内部時刻とサーバ3内部で保持されている基準時刻とのずれは、α(t−tNTP)と推定される。
The points P1 and P2 are considered to indicate that the internal time is corrected by accessing the NTP server 37 inside the sensor 20 as described above. At this time, the internal time of the sensor 20 and the server 3 are corrected. The internal time is considered to be in agreement. Further, it is considered that the internal time of the sensor 20 changes at a constant rate with respect to the internal time of the server 3 between the points P1 and P2. That is, as described above, the communication time z during this period is considered to be expressed by the following equation.
z = α (t−t NTP ) + δ (Expression 4)
Therefore, at this time, the difference between the internal time of the sensor 20 and the reference time held in the server 3 is estimated to be α (t−t NTP ).

次に、図6から図10を参照しながら、本実施の形態による時刻補正システム1の動作について説明する。図6、図7は、時刻補正システム1の動作を示すフローチャートである。時刻補正システム1においては、センサ20からサーバ3に、センサ情報61が不定期にアップロードされているとする。   Next, the operation of the time correction system 1 according to the present embodiment will be described with reference to FIGS. 6 and 7 are flowcharts showing the operation of the time correction system 1. In the time correction system 1, it is assumed that sensor information 61 is irregularly uploaded from the sensor 20 to the server 3.

図6に示すように、まずCPU5は、通信時間履歴記憶部51の通信時間履歴Sを空にする。すなわち、履歴の数n=0である。通信装置15は、センサ情報61を受信する(S102)。一方、CPU5は、受信が行われたことを判別するまで判別を繰り返す(S103:NO)。   As shown in FIG. 6, first, the CPU 5 empties the communication time history S in the communication time history storage unit 51. That is, the number of histories n = 0. The communication device 15 receives the sensor information 61 (S102). On the other hand, the CPU 5 repeats the determination until it is determined that the reception has been performed (S103: NO).

CPU5が、通信装置15によりセンサ情報61の受信が行われたことを判別すると(S103:YES)、通信時間計算部41は、センサ情報61を取得する。また、通信時間計算部41は、センサ情報61に含まれたセンサ20の内部時刻に基づく送信時刻と、サーバ3における受信時刻とに基づき、通信時間zを計算する(S104)。さらに通信時間計算部41は、取得したセンサ情報61、および計算結果を通信時間履歴Sに追加する。   When the CPU 5 determines that the sensor information 61 has been received by the communication device 15 (S103: YES), the communication time calculation unit 41 acquires the sensor information 61. The communication time calculation unit 41 calculates the communication time z based on the transmission time based on the internal time of the sensor 20 included in the sensor information 61 and the reception time in the server 3 (S104). Further, the communication time calculation unit 41 adds the acquired sensor information 61 and the calculation result to the communication time history S.

以降では、通信時間履歴Sはn個の情報を保持しており、保持している中でi番目にアップロードされた情報の送信時刻をt(i)、そのときの通信時間をz(i)とする。通信時間計算部41は、サーバ3の内部時刻の下での受信時刻u(i)を計測するとともに、通信時間z(i)をz(i)=u(i)−t(i)により計算する。   Thereafter, the communication time history S holds n pieces of information, and the transmission time of the i-th uploaded information is t (i), and the communication time at that time is z (i). And The communication time calculation unit 41 measures the reception time u (i) under the internal time of the server 3 and calculates the communication time z (i) by z (i) = u (i) −t (i). To do.

図8に、n=2の場合の通信時間履歴Sの例を示す。図8に示すように、n=1において、送信時刻t(1)=2011/4/1 0:00:00、このとき通信時間z(1)=200(ミリ秒)である。ここで、NTP発生時刻tNTP=t(1)である。n=2においては、送信時刻t(2)=2011/4/1 0:01:00、このとき通信時間z(2)=400(ミリ秒)である。 FIG. 8 shows an example of the communication time history S when n = 2. As shown in FIG. 8, when n = 1, transmission time t (1) = 2011/4/1 0:00:00, and at this time, communication time z (1) = 200 (milliseconds). Here, NTP generation time t NTP = t (1). When n = 2, transmission time t (2) = 2011/4/1 0:01:00, and at this time, communication time z (2) = 400 (milliseconds).

図9に、センサ情報61の一例を示す。図9に示すように、通信装置15は、n=3において、例えば、センサ値=10000、送信時刻t(3)=2011/4/1 0:02:00を含むセンサ情報61を受信したとする。このとき、通信時間計算部41は、上記センサ情報61の受信時刻を受信時刻u(3)=2011/4/1 0:02:00.300であると取得する。   FIG. 9 shows an example of sensor information 61. As illustrated in FIG. 9, the communication device 15 receives sensor information 61 including, for example, sensor value = 10000 and transmission time t (3) = 2011/4/1 0:02:00 at n = 3. To do. At this time, the communication time calculation unit 41 acquires the reception time of the sensor information 61 as reception time u (3) = 2011/4/1 0: 02: 00: 00.

この例では、受信時刻と送信時刻との差は300ミリ秒であるから、z(3)=300(ミリ秒)であり、通信時間計算部41は、算出した結果を通信時間履歴Sに記憶する。図10は、n=3の場合の通信時間履歴Sの一例を示している。図10に示すように、通信時間履歴Sには、n=3に関するデータが一行追加されることになる(S105)。   In this example, since the difference between the reception time and the transmission time is 300 milliseconds, z (3) = 300 (milliseconds), and the communication time calculation unit 41 stores the calculated result in the communication time history S. To do. FIG. 10 shows an example of the communication time history S when n = 3. As shown in FIG. 10, one line of data related to n = 3 is added to the communication time history S (S105).

通信時間計算部41は、ここで、n>1であるか否か判別する(S106)。n>1でない場合には(S106:YES)、S102に戻って、次のセンサ情報61の受信を待つ。n>1の場合には(S106:YES)、CPU5は処理を107に進める。   Here, the communication time calculation unit 41 determines whether or not n> 1 (S106). If n> 1 is not satisfied (S106: YES), the process returns to S102 and waits for reception of the next sensor information 61. If n> 1 (S106: YES), the CPU 5 advances the process to 107.

以下、モデル更新部43は、通信時間モデルの確率分布q(t、z)のパラメータα、β、γを推定し直す。パラメータα、β、γは、以下の方法で推定できる。まず、モデル更新部43は、S107において、図5の折れ線グラフ72のような、複数の送信時刻t(i)とそれぞれより計算された通信時間z(i)とにより、例えば点P1〜P2において最小二乗法で得られる傾きをパラメータαとみなす。   Hereinafter, the model update unit 43 re-estimates the parameters α, β, and γ of the probability distribution q (t, z) of the communication time model. The parameters α, β, and γ can be estimated by the following method. First, in S107, the model update unit 43 uses, for example, points P1 to P2 based on a plurality of transmission times t (i) and the communication times z (i) calculated from the respective transmission times t (i) as in the line graph 72 of FIG. The slope obtained by the least square method is regarded as the parameter α.

ここで、モデル更新部43は、NTP時刻更新が既に発生しているか否かを判別する(S121)。NTP時刻更新が発生しているか否かは、後述するS127において、通信時間履歴Sの発生確率が閾値以下であると判別された際に、NTP時刻更新が発生していることを示すフラグを立てるなどの記録を行うことにより、判別することができる。   Here, the model update unit 43 determines whether NTP time update has already occurred (S121). Whether or not an NTP time update has occurred is determined by setting a flag indicating that an NTP time update has occurred when it is determined in S127, which will be described later, that the occurrence probability of the communication time history S is less than or equal to a threshold value. It is possible to discriminate them by recording such as.

例えば上記フラグなどにより、NTP時刻更新が発生済みと判別された場合には(S121:YES)、モデル更新部43は、得られたパラメータαのもとで、通信時間履歴Sの全てのx(i)=z(i)−α(t(i)−tNTP)の最小値をδとする(式6)。 For example, when it is determined that the NTP time update has been generated by the above flag or the like (S121: YES), the model update unit 43 determines that all x ( i) = Minimum value of z (i) −α (t (i) −t NTP ) is represented by δ (Formula 6).

なお、NTP時刻更新の発生が推定されていない場合は(S121:NO)、モデル更新部43は、δ=0と仮定して(S123)、NTP発生推定時刻tNTPを下記の式7により更新する(S124、式7)。 If the occurrence of the NTP time update is not estimated (S121: NO), the model updating unit 43 assumes that δ = 0 (S123), and updates the NTP occurrence estimated time t NTP according to the following Expression 7. (S124, Formula 7).

さらに、モデル更新部43は、得られたパラメータα、δのもとで、モデル更新部43は、i=1〜nにおける確率分布q(t、z)の発生確率を最大にするγを求める(S125、式8)。   Further, the model update unit 43 obtains γ that maximizes the probability of occurrence of the probability distribution q (t, z) in i = 1 to n based on the obtained parameters α and δ. (S125, Formula 8).

ただし、D(i)=−(z(i)−α(t(i)−tNTP)−δ)である。
このγは下記の式9により簡単に求めることができる。
However, D (i) = − (z (i) −α (t (i) −tNTP) −δ).
This γ can be easily obtained by the following equation (9).

例えば、図10の通信時間履歴Sの場合、以下のα、δ、γが得られる。
α=0.05
δ=200(ミリ秒)
γ=50(ミリ秒)
For example, in the case of the communication time history S in FIG. 10, the following α, δ, and γ are obtained.
α = 0.05
δ = 200 (milliseconds)
γ = 50 (milliseconds)

ここで図5を再び参照する。上記のようにしてモデル更新部43で得られたパラメータα、γ、δを用いて表される、z=α(t−tNTP)+δは、図5の直線70となる。なお、図5に示した例は、図10の通信時間履歴Sの例とは別の数値例となっている。 Reference is now made again to FIG. As described above, z = α (t−t NTP ) + δ represented by the parameters α, γ, and δ obtained by the model updating unit 43 is a straight line 70 in FIG. The example shown in FIG. 5 is a numerical example different from the example of the communication time history S of FIG.

直線70において、点P1では送信時刻t=tNTP、通信時間z=δである。また、z=α(t−tNTP)+δは、「サーバに対するセンサの内部時刻のずれ」と「最適ケースの通信時間」の和を表しており、点(t(i)、z(i))と直線70との差が「通信時間ノイズ」を表している。 On the straight line 70, at the point P1, the transmission time t = t NTP and the communication time z = δ. Further, z = α (t−tNTP) + δ represents the sum of “the internal time difference of the sensor with respect to the server” and “the communication time in the optimum case”, and points (t (i), z (i) ) And the straight line 70 represent “communication time noise”.

次に、発生確率計算部45は、推定し直したパラメータα、β、γのもとで、通信時間履歴Sにおける確率分布q(t(i)、z(i))による発生確率を計算する(S126)。この発生確率は、例えば、以下の計算式で求めることができる。   Next, the occurrence probability calculation unit 45 calculates the occurrence probability based on the probability distribution q (t (i), z (i)) in the communication time history S under the reestimated parameters α, β, γ. (S126). This occurrence probability can be obtained by the following calculation formula, for example.

ここで、確率分布q(t、z)の最大値は1/γであるから、γq(t、z)の最大値は1であり、単に確率分布q(t(i)、z(i))の積をとるのと比較すると、パラメータγやセンサ情報61の数nの影響を受けにくい発生確率になっていることが分かる。例えば、図10の通信時間履歴Sの場合には、発生確率として0.05が得られる。   Here, since the maximum value of the probability distribution q (t, z) is 1 / γ, the maximum value of γq (t, z) is 1, and the probability distribution q (t (i), z (i) ), The probability of occurrence is less likely to be affected by the parameter γ and the number n of the sensor information 61. For example, in the case of the communication time history S of FIG. 10, 0.05 is obtained as the occurrence probability.

次に、発生確率計算部45は、求めた発生確率が予め与えられた閾値を上回っているか否か判別する(S127)。発生確率が閾値を上回っている場合には(S127:YES)、時刻補正部49は、センサ情報61に含まれる送信時刻t(i)からα(t(i)−tNTP)を減ずることで、センサ20から受け取ったセンサ情報61の送信時刻t(i)を補正し(S129)、図6の処理に戻る。 Next, the occurrence probability calculation unit 45 determines whether or not the obtained occurrence probability exceeds a predetermined threshold value (S127). When the occurrence probability exceeds the threshold (S127: YES), the time correction unit 49 subtracts α (t (i) −t NTP ) from the transmission time t (i) included in the sensor information 61. Then, the transmission time t (i) of the sensor information 61 received from the sensor 20 is corrected (S129), and the processing returns to FIG.

例えば、図10の例では、NTP時刻更新部47における閾値が0.01の場合、発生確率=0.05であるため、NTP発生推定時刻tNTPの設定し直しは発生しない。この場合、時刻補正部49は発信時刻t(i)からα(t(i)−tNTP)=100(ミリ秒)を減ずることで、センサ20から受け取ったセンサ情報61の発信時刻t(i)を補正するとともに、補正した発信時刻t(i)を出力する。 For example, in the example of FIG. 10, when the threshold value in the NTP time update unit 47 is 0.01, the occurrence probability = 0.05, so that the NTP occurrence estimated time t NTP is not reset. In this case, the time correction unit 49 subtracts α (t (i) −t NTP ) = 100 (milliseconds) from the transmission time t (i), thereby transmitting the transmission time t (i of the sensor information 61 received from the sensor 20. ) And the corrected transmission time t (i) is output.

図11は、時刻補正後の補正済センサ情報63の一例を示す図である。図11に示すように、時刻補正部49は、送信時刻を100(ミリ秒)補正する。時刻補正部49は、送信時刻2011/4/1 0:01:59.900、センサ値=10000を含む補正済センサ情報63を出力する。また、CPU5は、送信時刻を補正した補正済センサ情報63により、通信時間履歴記憶部51の通信時間履歴Sを更新する。   FIG. 11 is a diagram illustrating an example of corrected sensor information 63 after time correction. As shown in FIG. 11, the time correction unit 49 corrects the transmission time by 100 (milliseconds). The time correction unit 49 outputs corrected sensor information 63 including transmission time 2011/4/1 0: 01: 59.900 and sensor value = 10000. Further, the CPU 5 updates the communication time history S of the communication time history storage unit 51 with the corrected sensor information 63 obtained by correcting the transmission time.

発生確率が閾値を上回っていない場合には(S127:NO)、NTP時刻更新部47は、NTP発生推定時刻tNTPを最新のセンサ情報61の発信時刻t(i)に更新する(S130)。この場合、時刻補正部49がセンサ情報61の発信時刻t(i)を補正する必要はない。このとき、センサ20においてNTP時刻更新が発生したと推定し、通信時間履歴Sの最終行以外を削除したのち、NTP発生推定時刻tNTP=t(1)に設定し直す(S131)。 When the occurrence probability does not exceed the threshold value (S127: NO), the NTP time update unit 47 updates the NTP generation estimated time t NTP to the transmission time t (i) of the latest sensor information 61 (S130). In this case, the time correction unit 49 does not have to correct the transmission time t (i) of the sensor information 61. At this time, it is presumed that the NTP time update has occurred in the sensor 20, and after deleting all but the last line of the communication time history S, the NTP generation estimated time t NTP = t (1) is set again (S131).

図12は、NTP発生推定時刻tNTPが設定し直された後の通信時間履歴Sの一例を示す図である。図10の例において、仮に閾値が0.1であった場合、通信時間履歴Sは図12に示すように、i=1に対応するデータのみに更新される。なおこの例では、t(1)=tNTP=2011/4/1 0:02:00である。そのときは、センサ20から受け取ったセンサ情報61がそのままセンサ内部時刻補正システムの出力となる。そしてCPU5は、処理を図6のS102に戻す。 FIG. 12 is a diagram illustrating an example of the communication time history S after the estimated NTP generation time t NTP is reset. In the example of FIG. 10, if the threshold value is 0.1, the communication time history S is updated only to data corresponding to i = 1 as shown in FIG. In this example, t (1) = t NTP = 2011/4/1 0:02:00. At that time, the sensor information 61 received from the sensor 20 becomes the output of the sensor internal time correction system as it is. Then, the CPU 5 returns the process to S102 of FIG.

以上説明したように、本実施の形態による時刻補正システム1によれば、センサ20からのセンサ情報61の通信時間は、「サーバに対するセンサの内部時刻のずれ」、「最適ケースの通信時間」および「通信時間ノイズ」の和であるとしたモデルを採用している。通信時間計算部41は、センサ20からサーバ3がセンサ情報61を受信するたび通信時間を計算して、通信時間履歴Sに追加する。通信時間履歴Sには、前回のNTP発生以降のセンサ情報61が記録される。モデル更新部43は、センサ20からのセンサ情報61が受信されると、通信時間履歴Sを参照して通信時間分布モデルにおける各パラメータを更新する。   As described above, according to the time correction system 1 according to the present embodiment, the communication time of the sensor information 61 from the sensor 20 is “the deviation of the internal time of the sensor with respect to the server”, “the communication time of the optimal case” and A model that is the sum of “communication time noise” is adopted. The communication time calculation unit 41 calculates the communication time each time the server 3 receives the sensor information 61 from the sensor 20 and adds it to the communication time history S. In the communication time history S, sensor information 61 since the last occurrence of NTP is recorded. When the sensor information 61 from the sensor 20 is received, the model update unit 43 refers to the communication time history S and updates each parameter in the communication time distribution model.

発生確率計算部45は、算出された通信時間について、更新された通信時間分布モデルを用いて発生確率を計算する。発生確率が所定の閾値以下の場合には、NTP時刻更新が発生したとみなして、NTP時刻更新部47は、NTP発生推定時刻を更新する。発生確率が所定の閾値を超えている場合には、時刻補正部49は、通信時間分布モデルの各パラメータとNTP発生推定時刻を用いて、最新のセンサ情報61の内部時刻のずれを推定する。   The occurrence probability calculation unit 45 calculates the occurrence probability for the calculated communication time using the updated communication time distribution model. If the occurrence probability is less than or equal to a predetermined threshold, it is assumed that NTP time update has occurred, and the NTP time update unit 47 updates the estimated NTP occurrence time. When the occurrence probability exceeds a predetermined threshold, the time correction unit 49 estimates the internal time shift of the latest sensor information 61 using each parameter of the communication time distribution model and the estimated NTP generation time.

以上のように、時刻補正システム1によれば、センサ20からサーバ3へセンサ20の内部時刻に基づく送信時刻を含むセンサ情報61のみを送信することにより、センサ情報61の送信時刻を、サーバ3の内部時刻に基づく時刻に補正することが可能になる。時刻補正システム1においては、センサ20からサーバ3への通信を行うだけで時刻の補正が可能であるため、通信を増加させることがない。   As described above, according to the time correction system 1, by transmitting only the sensor information 61 including the transmission time based on the internal time of the sensor 20 from the sensor 20 to the server 3, the transmission time of the sensor information 61 is changed to the server 3. It is possible to correct the time based on the internal time of In the time correction system 1, since the time can be corrected only by performing communication from the sensor 20 to the server 3, communication is not increased.

また、センサ20に何らかの変更を加えたり、管理を行ったりする必要がなく、センサ20の数や種類にかかわらず、ずれ時間の推定を行うことが可能である。また、例えば式10を用いることにより、時刻補正システム1は、センサ20からサーバ3にセンサ情報61を送信する際のネットワークの混雑等の状況や、センサ情報61のデータ数に影響されずに時刻補正を行なうことができる。このように、時刻補正システム1によれば、簡便な方法で、センサ20とサーバ3との内部時刻のずれを推定し、補正することができる。   In addition, it is not necessary to make any changes to the sensor 20 or perform management, and it is possible to estimate the shift time regardless of the number or type of the sensors 20. Further, for example, by using Equation 10, the time correction system 1 is able to perform the time without being affected by the network congestion situation when the sensor information 61 is transmitted from the sensor 20 to the server 3 or the number of data of the sensor information 61. Correction can be performed. As described above, according to the time correction system 1, it is possible to estimate and correct the deviation of the internal time between the sensor 20 and the server 3 by a simple method.

各センサのNTP時刻更新を推定することが可能になるため、内部時刻の進み方にばらつきがあり、NTPにより突然時刻が進んだり遅れたりしても、センサ20とサーバ3との内部時刻のずれを推定することが可能になる。また、NTP時刻更新を行うセンサと行わないセンサとが混在していても、それぞれのセンサに応じた送信時刻の補正を行なうことができる。   Since it is possible to estimate the NTP time update of each sensor, there is a variation in how the internal time advances, and even if the time is suddenly advanced or delayed due to NTP, the internal time difference between the sensor 20 and the server 3 Can be estimated. Further, even if sensors that perform NTP time update and sensors that do not perform are mixed, transmission time correction according to each sensor can be performed.

上記実施の形態において、通信装置15は、受信部の一例であり、時計11は、計時部の一例であり、発生確率計算部45は、確率計算部およびずれ推定部の一例である。また、通信時間モデル記憶部53は、モデル保持部の一例であり、NTP時刻更新部47は、時刻更新部の一例である。   In the above embodiment, the communication device 15 is an example of a receiving unit, the clock 11 is an example of a time measuring unit, and the occurrence probability calculating unit 45 is an example of a probability calculating unit and a deviation estimating unit. The communication time model storage unit 53 is an example of a model holding unit, and the NTP time update unit 47 is an example of a time update unit.

ここで、上記実施の形態による時刻補正方法の動作をコンピュータに行わせるために共通に適用されるコンピュータの例について説明する。図13は、標準的なコンピュータのハードウエア構成の一例を示すブロック図である。図13に示すように、コンピュータ300は、Central Processing Unit(CPU)302、メモリ304、入力装置306、出力装置308、外部記憶装置312、媒体駆動装置314、ネットワーク接続装置等がバス310を介して接続されている。   Here, an example of a computer that is commonly applied to cause a computer to perform the operation of the time correction method according to the above embodiment will be described. FIG. 13 is a block diagram illustrating an example of a hardware configuration of a standard computer. As illustrated in FIG. 13, a computer 300 includes a central processing unit (CPU) 302, a memory 304, an input device 306, an output device 308, an external storage device 312, a medium driving device 314, a network connection device, and the like via a bus 310. It is connected.

CPU302は、コンピュータ300全体の動作を制御する演算処理装置である。メモリ304は、コンピュータ300の動作を制御するプログラムを予め記憶したり、プログラムを実行する際に必要に応じて作業領域として使用したりするための記憶部である。メモリ304は、例えばRandom Access Memory(RAM)、Read Only Memory(ROM)等である。入力装置306は、コンピュータの使用者により操作されると、その操作内容に対応付けられている使用者からの各種情報の入力を取得し、取得した入力情報をCPU302に送付する装置であり、例えばキーボード装置、マウス装置などである。出力装置308は、コンピュータ300による処理結果を出力する装置であり、表示装置などが含まれる。例えば表示装置は、CPU302により送付される表示データに応じてテキストや画像を表示する。   The CPU 302 is an arithmetic processing unit that controls the operation of the entire computer 300. The memory 304 is a storage unit for storing in advance a program for controlling the operation of the computer 300 or using it as a work area when necessary when executing the program. The memory 304 is, for example, a random access memory (RAM), a read only memory (ROM), or the like. The input device 306 is a device that, when operated by a computer user, acquires various information input from the user associated with the operation content and sends the acquired input information to the CPU 302. Keyboard device, mouse device, etc. The output device 308 is a device that outputs a processing result by the computer 300, and includes a display device and the like. For example, the display device displays text and images according to display data sent by the CPU 302.

外部記憶装置312は、例えば、ハードディスクなどの記憶装置であり、CPU302により実行される各種制御プログラムや、取得したデータ等を記憶しておく装置である。媒体駆動装置314は、可搬記録媒体316に書き込みおよび読み出しを行うための装置である。CPU302は、可搬型記録媒体316に記録されている所定の制御プログラムを、記録媒体駆動装置314を介して読み出して実行することによって、各種の制御処理を行うようにすることもできる。可搬記録媒体316は、例えばConpact Disc(CD)−ROM、Digital Versatile Disc(DVD)、Universal Serial Bus(USB)メモリ等である。ネットワーク接続装置318は、有線または無線により外部との間で行われる各種データの授受の管理を行うインタフェース装置である。バス310は、上記各装置等を互いに接続し、データのやり取りを行う通信経路である。   The external storage device 312 is a storage device such as a hard disk, and stores various control programs executed by the CPU 302, acquired data, and the like. The medium driving device 314 is a device for writing to and reading from the portable recording medium 316. The CPU 302 can read out and execute a predetermined control program recorded on the portable recording medium 316 via the recording medium driving device 314 to perform various control processes. The portable recording medium 316 is, for example, a Compact Disc (CD) -ROM, a Digital Versatile Disc (DVD), a Universal Serial Bus (USB) memory, or the like. The network connection device 318 is an interface device that manages transmission / reception of various data performed between the outside by wired or wireless. A bus 310 is a communication path for connecting the above devices and the like to exchange data.

上記実施の形態による時刻補正方法をコンピュータに実行させるプログラムは、例えば外部記憶装置312に記憶させる。CPU302は、外部記憶装置312からプログラムを読み出し、コンピュータ300に時刻補正の動作を行なわせる。このとき、まず、時刻補正の処理をCPU302に行わせるための制御プログラムを作成して外部記憶装置312に記憶させておく。そして、入力装置306から所定の指示をCPU302に与えて、この制御プログラムを外部記憶装置312から読み出させて実行させるようにする。また、このプログラムは、可搬記録媒体316に記憶するようにしてもよい。   A program that causes a computer to execute the time correction method according to the above embodiment is stored in, for example, the external storage device 312. The CPU 302 reads the program from the external storage device 312 and causes the computer 300 to perform a time correction operation. At this time, first, a control program for causing the CPU 302 to perform time correction processing is created and stored in the external storage device 312. Then, a predetermined instruction is given from the input device 306 to the CPU 302 so that the control program is read from the external storage device 312 and executed. The program may be stored in the portable recording medium 316.

なお、本発明は、以上に述べた実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の構成または実施形態を採ることができる。例えば、上記通信時間分布モデルは、「サーバに対するセンサの内部時刻のずれ」、「最適ケースの通信時間」および「通信時間ノイズ」に基づくものであれば上記に限定されず、他の形態でもよい。例えば、通信時間の確率分布のモデルは式時刻補正システム1に示した分布に必ずしも限られず、通信時間xがある所定の値δ以上の範囲に分布し、しかも、通信時間xの増加に応じて減少するような分布であれば、他の式で表される分布を用いるようにしてもよい。   The present invention is not limited to the embodiments described above, and various configurations or embodiments can be adopted without departing from the gist of the present invention. For example, the communication time distribution model is not limited to the above as long as it is based on “deviation of the internal time of the sensor relative to the server”, “optimum case communication time”, and “communication time noise”, and may take other forms. . For example, the communication time probability distribution model is not necessarily limited to the distribution shown in the formula time correction system 1, and the communication time x is distributed in a range of a predetermined value δ or more, and as the communication time x increases. As long as the distribution decreases, a distribution represented by another formula may be used.

サーバ3およびセンサ20の構成は、同様の機能を有するものであれば、本発明の範囲である。また、センサ20は、NTP時刻更新を行わないセンサでもよい。この場合、S121において常に「NO」と判定され、δ=0の条件で時刻が補正される。また、上記実施の形態においては、センサを例にして説明したが、内部時刻に基づく送信時刻を送信できるものであれば、センサ以外の、例えば汎用性のあるコンピュータなど他の装置の時刻補正にも適用が可能である。   The configurations of the server 3 and the sensor 20 are within the scope of the present invention as long as they have similar functions. The sensor 20 may be a sensor that does not perform NTP time update. In this case, it is always determined as “NO” in S121, and the time is corrected under the condition of δ = 0. In the above embodiment, the sensor has been described as an example. However, if the transmission time based on the internal time can be transmitted, the time correction of other devices other than the sensor, such as a general-purpose computer, is possible. Is also applicable.

以上の実施形態に関し、さらに以下の付記を開示する。
(付記1)
外部の装置の内部時刻に基づく送信時刻を含む情報を受信する受信部と、
基準時刻を保持する計時部と、
前記送信時刻から前記基準時刻に基づく前記情報を受信した受信時刻までの通信時間を計算する通信時間計算部と、
前記外部の装置との通信時間の分布を表す通信時間分布モデルを保持するモデル保持部と、
計算された前記通信時間に基づき前記通信時間分布モデルを更新するモデル更新部と、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する時刻補正部と、
を有することを特徴とする時刻補正装置。
(付記2)
前記モデル更新部により更新された前記通信時間分布モデルに基づき、計算された前記通信時間の発生確率を計算する確率計算部と、
前記発生確率が所定の値以下の場合に、前記外部の装置における前記内部時刻を前記基準時刻と一致させる時刻更新処理の発生時刻を更新する時刻更新部とと、
を有することを特徴とする付記1に記載の時刻補正装置。
(付記3)
前記確率計算部は、前記発生確率が所定の値以下の場合には、前記時刻更新処理が行われたと推定し、
前記時刻更新部は、前記時刻更新処理が行われた時刻を更新し、
前記確率計算部は、前記発生確率が所定の値を超えている場合には、前記時刻更新処理は行われていないと推定し、
前記時刻補正部は、直前の前記時刻更新処理が発生した時刻に基づき前記送信時刻を補正する
ことを特徴とする付記2に記載の時刻補正装置。
(付記4)
前記通信時間分布モデルは、前記外部の装置における前記内部時刻のずれを表す第1のモデルと、前記内部時刻のずれを含まない前記通信時間のばらつきの分布を表す第2のモデルとに基づくことを特徴とする付記3に記載の時刻補正装置。
(付記5)
前記通信時間分布モデルにおける通信時間は、前記第1のモデルによる前記内部時刻のずれと、前記第2のモデルによる前記通信時間の分布と、前記内部時刻のずれおよび前記通信時間の差異を含まない場合の真の通信時間との和であることを特徴とする付記4に記載の時刻補正装置。
(付記6)
前記第2のモデルによる前記通信時間の分布は、確率的に長さが決定されるノイズによるものであり、確率分布に従うことを特徴とする付記4または付記5に記載の時刻補正装置。
(付記7)
前記第1のモデルによる前記内部時刻のずれは、前記時刻更新処理が発生した時刻からの経過時間に比例することを特徴とする付記4から付記6のいずれかに記載の時刻補正装置。
(付記8)
時刻補正装置の外部の装置の内部時刻に基づく送信時刻を含む情報を受信し、
前記送信時刻から前記時刻補正装置内の基準時刻に基づく前記情報を受信した受信時刻までの通信時間を算出し、
前記通信時間の分布を予測した通信時間分布モデルを、前記通信時間に基づき更新し、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する
ことを特徴とする時刻補正方法。
(付記9)
前記モデル更新部により更新された前記通信時間分布モデルに基づき、計算された前記通信時間の発生確率を計算し、
前記発生確率が所定の値以下の場合に、前記外部の装置における前記内部時刻を前記基準時刻と一致させる時刻更新処理の発生時刻を更新する、
ことを特徴とする付記8に記載の時刻補正方法。
(付記10)
前記発生確率が所定の値以下の場合には、前記時刻更新処理が行われたと推定し、
前記時刻更新処理が行われた時刻を更新し、
前記発生確率が所定の値を超えている場合には、前記時刻更新処理は行われていないと推定し、
直前の前記時刻更新処理が発生した時刻に基づき前記送信時刻を補正する
ことを特徴とする付記9に記載の時刻補正方法。
(付記11)
前記通信時間分布モデルは、前記外部の装置における前記内部時刻のずれを表す第1のモデルと、前記内部時刻のずれを含まない前記通信時間のばらつきの分布を表す第2のモデルとに基づくことを特徴とする付記10に記載の時刻補正方法。
(付記12)
前記通信時間分布モデルにおける通信時間は、前記第1のモデルによる前記内部時刻のずれと、前記第2のモデルによる前記通信時間の分布と、前記内部時刻のずれおよび前記通信時間の差異を含まない場合の真の通信時間との和であることを特徴とする付記9に記載の時刻補正方法。
(付記13)
前記第2のモデルによる前記通信時間の分布は、確率的に長さが決定されるノイズによるものであり、確率分布に従うことを特徴とする付記11または付記12に記載の時刻補正方法。
(付記14)
前記第1のモデルによる前記内部時刻のずれは、前記時刻更新処理が発生した時刻からの経過時間に比例することを特徴とする付記11から付記13のいずれかに記載の時刻補正方法。
(付記15)
時刻補正装置の外部の装置の内部時刻に基づく送信時刻を含む情報を受信し、
前記送信時刻から前記時刻補正装置内の基準時刻に基づく前記情報を受信した受信時刻までの通信時間を算出し、
前記通信時間の前記内部時刻に対する予測される分布を表す通信時間分布モデルを、前記通信時間に基づき更新し、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する処理をコンピュータに実行させるためのプログラム。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
A receiving unit for receiving information including a transmission time based on an internal time of an external device;
A timekeeping section that holds a reference time;
A communication time calculation unit for calculating a communication time from the transmission time to the reception time when the information based on the reference time is received;
A model holding unit for holding a communication time distribution model representing a distribution of communication time with the external device;
A model updating unit for updating the communication time distribution model based on the calculated communication time;
Based on the updated communication time distribution model, a time correction unit that corrects the deviation of the transmission time;
A time correction apparatus comprising:
(Appendix 2)
Based on the communication time distribution model updated by the model update unit, a probability calculation unit that calculates the occurrence probability of the communication time calculated,
A time update unit that updates a generation time of a time update process that matches the internal time with the reference time in the external device when the occurrence probability is a predetermined value or less;
The time correction apparatus according to appendix 1, wherein:
(Appendix 3)
The probability calculation unit estimates that the time update process has been performed when the occurrence probability is equal to or less than a predetermined value,
The time update unit updates the time when the time update process was performed,
The probability calculation unit estimates that the time update process is not performed when the occurrence probability exceeds a predetermined value,
The time correction apparatus according to claim 2, wherein the time correction unit corrects the transmission time based on a time at which the previous time update process has occurred.
(Appendix 4)
The communication time distribution model is based on a first model that represents the internal time lag in the external device and a second model that represents the distribution of the communication time variation that does not include the internal time lag. The time correction apparatus according to Supplementary Note 3, characterized by:
(Appendix 5)
The communication time in the communication time distribution model does not include the internal time lag according to the first model, the communication time distribution according to the second model, the internal time lag and the communication time difference. The time correction apparatus according to appendix 4, wherein the time correction apparatus is a sum of the case and the true communication time.
(Appendix 6)
6. The time correction apparatus according to appendix 4 or appendix 5, wherein the communication time distribution according to the second model is due to noise whose length is stochastically determined and follows the probability distribution.
(Appendix 7)
The time correction apparatus according to any one of appendix 4 to appendix 6, wherein the shift of the internal time due to the first model is proportional to an elapsed time from the time when the time update process occurs.
(Appendix 8)
Receive information including the transmission time based on the internal time of the device outside the time correction device,
Calculating a communication time from the transmission time to the reception time when the information is received based on the reference time in the time correction device;
Update the communication time distribution model predicting the distribution of the communication time based on the communication time,
A time correction method for correcting a shift in the transmission time based on the updated communication time distribution model.
(Appendix 9)
Based on the communication time distribution model updated by the model update unit, to calculate the occurrence probability of the communication time calculated,
When the occurrence probability is less than or equal to a predetermined value, update the occurrence time of the time update process for matching the internal time with the reference time in the external device,
The time correction method according to Supplementary Note 8, wherein
(Appendix 10)
If the occurrence probability is less than or equal to a predetermined value, it is estimated that the time update process has been performed,
Update the time when the time update process was performed,
When the occurrence probability exceeds a predetermined value, it is estimated that the time update process is not performed,
The time correction method according to appendix 9, wherein the transmission time is corrected based on the time at which the immediately preceding time update process occurred.
(Appendix 11)
The communication time distribution model is based on a first model that represents the internal time lag in the external device and a second model that represents the distribution of the communication time variation that does not include the internal time lag. The time correction method according to appendix 10, characterized by:
(Appendix 12)
The communication time in the communication time distribution model does not include the internal time lag according to the first model, the communication time distribution according to the second model, the internal time lag and the communication time difference. The time correction method according to appendix 9, wherein the time correction method is a sum of the case and the true communication time.
(Appendix 13)
The time correction method according to appendix 11 or appendix 12, wherein the communication time distribution according to the second model is due to noise whose length is stochastically determined and follows the probability distribution.
(Appendix 14)
14. The time correction method according to any one of appendix 11 to appendix 13, wherein the shift of the internal time due to the first model is proportional to an elapsed time from the time when the time update process occurs.
(Appendix 15)
Receive information including the transmission time based on the internal time of the device outside the time correction device,
Calculating a communication time from the transmission time to the reception time when the information is received based on the reference time in the time correction device;
Updating a communication time distribution model representing a predicted distribution of the communication time with respect to the internal time based on the communication time;
A program for causing a computer to execute a process of correcting a shift in the transmission time based on the updated communication time distribution model.

1 時刻補正システム
3 サーバ
5 CPU
9 記憶装置
11 時計
13 入出力装置
15 通信装置
17 バス
20 センサ
21 記憶装置
23 CPU
25 検出部
27 時計
29 通信装置
31 バス
35 ネットワーク
37 NTPサーバ
41 通信時間計算部
43 モデル更新部
45 発生確率計算部
47 NTP時刻更新部
49 時刻補正部
51 通信時間履歴記憶部
53 通信時間モデル記憶部
61 センサ情報
63 補正済センサ情報
1 Time correction system 3 Server 5 CPU
9 Storage Device 11 Clock 13 Input / Output Device 15 Communication Device 17 Bus 20 Sensor 21 Storage Device 23 CPU
25 Detection unit 27 Clock 29 Communication device 31 Bus 35 Network 37 NTP server 41 Communication time calculation unit 43 Model update unit 45 Occurrence probability calculation unit 47 NTP time update unit 49 Time correction unit 51 Communication time history storage unit 53 Communication time model storage unit 61 Sensor information 63 Corrected sensor information

Claims (9)

外部の装置の内部時刻に基づく送信時刻を含む情報を受信する受信部と、
基準時刻を保持する計時部と、
前記送信時刻から前記基準時刻に基づく前記情報を受信した受信時刻までの通信時間を計算する通信時間計算部と、
前記外部の装置との通信時間の分布を表す通信時間分布モデルを保持するモデル保持部と、
計算された前記通信時間に基づき前記通信時間分布モデルを更新するモデル更新部と、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する時刻補正部と、
を有することを特徴とする時刻補正装置。
A receiving unit for receiving information including a transmission time based on an internal time of an external device;
A timekeeping section that holds a reference time;
A communication time calculation unit for calculating a communication time from the transmission time to the reception time when the information based on the reference time is received;
A model holding unit for holding a communication time distribution model representing a distribution of communication time with the external device;
A model updating unit for updating the communication time distribution model based on the calculated communication time;
Based on the updated communication time distribution model, a time correction unit that corrects the deviation of the transmission time;
A time correction apparatus comprising:
前記モデル更新部により更新された前記通信時間分布モデルに基づき、計算された前記通信時間の発生確率を計算する確率計算部と、
前記発生確率が所定の値以下の場合に、前記外部の装置における前記内部時刻を前記基準時刻と一致させる時刻更新処理の発生時刻を更新する時刻更新部と、
を有することを特徴とする請求項1に記載の時刻補正装置。
Based on the communication time distribution model updated by the model update unit, a probability calculation unit that calculates the occurrence probability of the communication time calculated,
A time update unit that updates a generation time of a time update process that matches the internal time with the reference time in the external device when the occurrence probability is a predetermined value or less;
The time correction apparatus according to claim 1, further comprising:
前記確率計算部は、前記発生確率が所定の値以下の場合には、前記時刻更新処理が行われたと推定し、
前記時刻更新部は、前記時刻更新処理が行われた時刻を更新し、
前記確率計算部は、前記発生確率が所定の値を超えている場合には、前記時刻更新処理は行われていないと推定し、
前記時刻補正部は、直前の前記時刻更新処理が発生した時刻に基づき前記送信時刻を補正する
ことを特徴とする請求項2に記載の時刻補正装置。
The probability calculation unit estimates that the time update process has been performed when the occurrence probability is equal to or less than a predetermined value,
The time update unit updates the time when the time update process was performed,
The probability calculation unit estimates that the time update process is not performed when the occurrence probability exceeds a predetermined value,
The time correction apparatus according to claim 2, wherein the time correction unit corrects the transmission time based on a time at which the immediately preceding time update process has occurred.
前記通信時間分布モデルは、前記外部の装置における前記内部時刻のずれを表す第1のモデルと、前記内部時刻のずれを含まない前記通信時間のばらつきの分布を表す第2のモデルとに基づくことを特徴とする請求項3に記載の時刻補正装置。   The communication time distribution model is based on a first model that represents the internal time lag in the external device and a second model that represents the distribution of the communication time variation that does not include the internal time lag. The time correction apparatus according to claim 3. 前記通信時間分布モデルにおける通信時間は、前記第1のモデルによる前記内部時刻のずれと、前記第2のモデルによる前記通信時間の分布と、前記内部時刻のずれおよび前記通信時間の差異を含まない場合の真の通信時間との和であることを特徴とする請求項4に記載の時刻補正装置。   The communication time in the communication time distribution model does not include the internal time lag according to the first model, the communication time distribution according to the second model, the internal time lag and the communication time difference. The time correction apparatus according to claim 4, wherein the time correction apparatus is a sum of a case and a true communication time. 前記第2のモデルによる前記通信時間の分布は、確率的に長さが決定されるノイズによるものであり、確率分布に従うことを特徴とする請求項4または請求項5に記載の時刻補正装置。   6. The time correction apparatus according to claim 4, wherein the communication time distribution according to the second model is due to noise whose length is determined stochastically, and follows the probability distribution. 前記第1のモデルによる前記内部時刻のずれは、前記時刻更新処理が発生した時刻からの経過時間に比例することを特徴とする請求項4から請求項6のいずれかに記載の時刻補正装置。   The time correction apparatus according to claim 4, wherein the deviation of the internal time due to the first model is proportional to an elapsed time from the time when the time update process occurs. 時刻補正装置の外部の装置の内部時刻に基づく送信時刻を含む情報を受信し、
前記送信時刻から前記時刻補正装置内の基準時刻に基づく前記情報を受信した受信時刻までの通信時間を算出し、
前記通信時間の分布を予測した通信時間分布モデルを、前記通信時間に基づき更新し、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する
ことを特徴とする時刻補正方法。
Receive information including the transmission time based on the internal time of the device outside the time correction device,
Calculating a communication time from the transmission time to the reception time when the information is received based on the reference time in the time correction device;
Update the communication time distribution model predicting the distribution of the communication time based on the communication time,
A time correction method for correcting a shift in the transmission time based on the updated communication time distribution model.
時刻補正装置の外部の装置の内部時刻に基づく送信時刻を含む情報を受信し、
前記送信時刻から前記時刻補正装置内の基準時刻に基づく前記情報を受信した受信時刻までの通信時間を算出し、
前記通信時間の前記内部時刻に対する予測される分布を表す通信時間分布モデルを、前記通信時間に基づき更新し、
更新された前記通信時間分布モデルに基づき、前記送信時刻のずれを補正する処理をコンピュータに実行させるためのプログラム。
Receive information including the transmission time based on the internal time of the device outside the time correction device,
Calculating a communication time from the transmission time to the reception time when the information is received based on the reference time in the time correction device;
Updating a communication time distribution model representing a predicted distribution of the communication time with respect to the internal time based on the communication time;
A program for causing a computer to execute a process of correcting a shift in the transmission time based on the updated communication time distribution model.
JP2011163911A 2011-07-27 2011-07-27 Time correction apparatus, time correction method, and program Expired - Fee Related JP5811663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011163911A JP5811663B2 (en) 2011-07-27 2011-07-27 Time correction apparatus, time correction method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011163911A JP5811663B2 (en) 2011-07-27 2011-07-27 Time correction apparatus, time correction method, and program

Publications (2)

Publication Number Publication Date
JP2013029340A true JP2013029340A (en) 2013-02-07
JP5811663B2 JP5811663B2 (en) 2015-11-11

Family

ID=47786523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011163911A Expired - Fee Related JP5811663B2 (en) 2011-07-27 2011-07-27 Time correction apparatus, time correction method, and program

Country Status (1)

Country Link
JP (1) JP5811663B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11329744B2 (en) 2019-07-09 2022-05-10 Kabushiki Kaisha Toshiba Sensor system, transmission terminal, time information processing device, and synchronization method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127269A (en) * 1997-07-01 1999-01-29 Nippon Telegr & Teleph Corp <Ntt> Clock synchronization method, device and recording medium
JP2000253466A (en) * 1999-02-25 2000-09-14 Osaka Gas Co Ltd Road survey system, central device and terminal equipment
JP2005069749A (en) * 2003-08-21 2005-03-17 Yokogawa Electric Corp Method of correcting time and method and apparatus for evaluating network quality
JP2007178226A (en) * 2005-12-27 2007-07-12 Hitachi Ltd Time control device, method, and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127269A (en) * 1997-07-01 1999-01-29 Nippon Telegr & Teleph Corp <Ntt> Clock synchronization method, device and recording medium
JP2000253466A (en) * 1999-02-25 2000-09-14 Osaka Gas Co Ltd Road survey system, central device and terminal equipment
JP2005069749A (en) * 2003-08-21 2005-03-17 Yokogawa Electric Corp Method of correcting time and method and apparatus for evaluating network quality
JP2007178226A (en) * 2005-12-27 2007-07-12 Hitachi Ltd Time control device, method, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11329744B2 (en) 2019-07-09 2022-05-10 Kabushiki Kaisha Toshiba Sensor system, transmission terminal, time information processing device, and synchronization method

Also Published As

Publication number Publication date
JP5811663B2 (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN110337679B (en) Sensing system and timestamp correction method
US8347197B2 (en) Terminal device, time adjusting method of terminal device and communication system
US9176498B2 (en) Control that estimates delayed manipulated variables
US10139253B2 (en) Adjustment of interrupt timestamps of signals from a sensor based on an estimated sampling rate of the sensor
JP6487386B2 (en) Server, method, program, recording medium, and system for maintaining time accuracy
JP2008525772A (en) How to monitor sensor functions
JP6465787B2 (en) Data processing apparatus, device, data processing method, and data processing program
JP6158859B2 (en) Prediction device, terminal, prediction method, and prediction program
CN104517178B (en) Method and system for dynamic workflow prioritization and task allocation
JP2017138262A (en) Position estimation system
CN112395120A (en) Abnormal point detection method, device, equipment and storage medium
JP2007214670A (en) Client device and program
JP6605863B2 (en) Electronic device, method, program, and protection system
JP5811663B2 (en) Time correction apparatus, time correction method, and program
US8307120B2 (en) Resource information managing device, system, method, and program
JP2015039131A (en) Measurement device and method
JP5372315B2 (en) Telemeter system slave station equipment
WO2019235101A1 (en) Time-adding method, time-adding device, and program
JP5814761B2 (en) CO2 concentration baseline correction apparatus and method
CN109286461B (en) Method for adapting time stamps in the detection of sensor data
US11281430B2 (en) Random number generation device, information processing device, and random number generation method
JP2010033279A (en) Device for monitoring operation of air conditioner, operation-monitoring system, and operation-monitoring method
JP2007256210A (en) Correction device for sensor data detection time
JP2012132746A (en) Data logger, measurement processing method of data logger and program
JP6778760B2 (en) Control devices, control methods, and control programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150324

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150907

R150 Certificate of patent or registration of utility model

Ref document number: 5811663

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees