JP4868212B2 - Time information communication system - Google Patents
Time information communication system Download PDFInfo
- Publication number
- JP4868212B2 JP4868212B2 JP2005361168A JP2005361168A JP4868212B2 JP 4868212 B2 JP4868212 B2 JP 4868212B2 JP 2005361168 A JP2005361168 A JP 2005361168A JP 2005361168 A JP2005361168 A JP 2005361168A JP 4868212 B2 JP4868212 B2 JP 4868212B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- server
- information
- clients
- error
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 50
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000005259 measurement Methods 0.000 claims description 13
- 238000012937 correction Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Description
本発明は、基準となる内部時計を有する時刻サーバと、通信経路を介して前記時刻サーバと接続され、前記内部時計の時刻情報を取得して自己の内部時計の時刻を補正する時刻クライアントとよりなる時刻情報通信システムに関するものである。 The present invention includes a time server having a reference internal clock, and a time client connected to the time server via a communication path to acquire time information of the internal clock and correct the time of the internal clock. The present invention relates to a time information communication system.
同一ネットワーク内の高精度時刻同期方式としては、SNTP(Simple Network Time Protocol)を用いた時刻サーバと時刻クライアント間の通信による方式が一般的である。 As a high-accuracy time synchronization method in the same network, a method based on communication between a time server and a time client using SNTP (Simple Network Time Protocol) is generally used.
図3は、従来の時刻情報通信システムの構成例を示す機能ブロック図である。10は時刻サーバ、20は時刻クライアント、30はこれらを接続する通信経路である。時刻クライアントは、1台の時刻サーバに対して複数台が接続されている。 FIG. 3 is a functional block diagram showing a configuration example of a conventional time information communication system. 10 is a time server, 20 is a time client, and 30 is a communication path for connecting them. A plurality of time clients are connected to one time server.
時刻サーバ10において、11はネットワーク内で基準となる時刻を発生する内部時計、12は通信経路30に接続された通信インターフェースである。13は要求受信手段であり、時刻クライアント20からの時刻誤差測定要求を受け付け、内部時計11を参照した受信時刻情報を保持する。
In the
14は応答送信手段であり、時刻誤差測定要求に対して、内部時計11の時刻を参照した送信時刻情報及び要求受信手段13から取得する受信時刻情報をクライアント20に送信する。
時刻クライアント20において、21はクライアント側の内部時計、22は通信経路30に接続された通信インターフェースである。23は要求送信手段であり、所定の周期で時刻サーバ10に対して時刻誤差測定要求を送信し、内部時計21の時刻を参照した送信時刻情報を保持する。
In the
24は時刻誤差算出手段であり、時刻サーバ10から渡される時刻情報及び内部時計21の時刻を参照した受信時刻情報に基づいて時刻誤差時間t11を算出する。25は時刻補正手段であり、算出された時刻誤差時間t11により内部時計21の時刻を補正する。
Reference numeral 24 denotes time error calculation means for calculating the time error time t11 based on the time information passed from the
図4は、SNTPによる時刻サーバ10と時刻クライアント20間の時刻誤差算出の通信手順である。時刻クライアント20からの時刻誤差測定要求の送信時刻をT1、この要求に対する時刻サーバ10の受信時刻をT2、時刻サーバ10の応答時刻をT3、この応答に対する時刻クライアント20の受信時刻をT4で示す。
FIG. 4 is a communication procedure for calculating a time error between the
時刻クライアント20の時刻誤差算出手段24は、要求送信手段23から時刻T1の情報を取得し、時刻サーバ10より時刻T2,T3の情報を取得し、内部時計21より時刻T4の情報を取得して時刻誤差時間t11を次式により算出する。
t11=((T2−T1)+(T3−T4))/2 (1)
The time error calculation unit 24 of the
t11 = ((T2-T1) + (T3-T4)) / 2 (1)
特許文献1には、分散配置された複数の制御装置の時刻をマスター時計の時刻に同期させる分散型制御装置が記載されている。 Patent Literature 1 describes a distributed control device that synchronizes the time of a plurality of control devices arranged in a distributed manner with the time of a master clock.
従来システムでは、経路遅延による時刻誤差は排除できるが、高い時刻同期の精度を保つためには、時刻クライアントから時刻サーバに対して時刻誤差測定要求を高頻度に行なわなければならない。従って、この方式では時刻クライアント数が増加するに従い、ネットワーク負荷及び時刻サーバの時刻同期のための応答処理負荷が増加する。 In the conventional system, the time error due to the path delay can be eliminated, but in order to maintain high time synchronization accuracy, time error measurement requests from the time client to the time server must be made frequently. Therefore, in this method, as the number of time clients increases, the network processing load and the response processing load for time synchronization of the time server increase.
本発明は上述した問題点を解決するためになされたものであり、時刻クライアント数が増加した場合でも、高い時刻同期精度を保持しながら、ネットワーク負荷及び時刻サーバの処理負荷を軽減した時刻情報通信システムを実現することを目的としている。 The present invention has been made in order to solve the above-described problems, and even when the number of time clients increases, time information communication that reduces network load and time server processing load while maintaining high time synchronization accuracy. The purpose is to realize the system.
このような課題を達成するために、本発明は次の通りの構成になっている。
(1)基準となる内部時計を有する時刻サーバと、通信経路を介して前記時刻サーバと接続され、前記内部時計の時刻情報を取得して自己の内部時計の時刻を補正する複数の時刻クライアントとよりなる時刻情報通信システムにおいて、
前記複数の時刻クライアントは、
前記時刻サーバに所定の周期で送信した経路誤差時間測定要求に対する応答に基づいて、経路誤差時間を算出する経路誤差時間算出手段と、
前記時刻サーバから所定の周期で送信される時刻通知情報と前記経路誤差時間に基づいて、時刻差分情報を算出する時刻差分算出手段と、
前記時刻差分情報に基づいて自己の内部時計の時刻を補正する時刻補正手段と、
を備え、
前記時刻サーバは、所定の周期で前記複数の時刻クライアント全てに対して一斉に前記時刻通知情報を送信すると共に、前記時刻サーバからの前記時刻通知情報の送信周期は、前記複数の時刻クライアントからの経路誤差時間測定要求の送信周期よりも短く設定されていることを特徴とする時刻情報通信システム。
In order to achieve such a subject, the present invention has the following configuration.
(1) a time server having a reference internal clock, and a plurality of time clients connected to the time server via a communication path to obtain time information of the internal clock and correct the time of the internal clock; In a time information communication system comprising:
The plurality of time clients are:
Route error time calculating means for calculating a route error time based on a response to the route error time measurement request transmitted at a predetermined period to the time server;
Time difference calculation means for calculating time difference information based on the time notification information transmitted from the time server in a predetermined cycle and the path error time;
Time correction means for correcting the time of its own internal clock based on the time difference information;
Equipped with a,
The time server simultaneously transmits the time notification information to all the plurality of time clients at a predetermined cycle, and the transmission period of the time notification information from the time server is determined by the plurality of time clients. A time information communication system, characterized in that the time information communication system is set shorter than a transmission cycle of a path error time measurement request .
(2)前記経路誤差時間測定要求の送信時刻をT1、この要求に対する前記時刻サーバの受信時刻をT2、前記時刻サーバの応答時刻をT3、この応答に対する前記複数の時刻クライアントの受信時刻をT4、前記時刻サーバの時刻通知情報の送信時刻をT5、この通知に対する前記複数の時刻クライアントの受信時刻をT6とするとき、
前記経路誤差時間t1は、
t1=((T4−T1)−(T3−T2))/2
で算出され、前記時刻差分tは、
t=(T6−T5)−t1
で算出されることを特徴とする請求項1に記載の時刻情報通信システム。
(2) The transmission time of the path error time measurement request is T1, the reception time of the time server for the request is T2, the response time of the time server is T3, the reception times of the plurality of time clients for the response are T4, When the transmission time of the time notification information of the time server is T5, and the reception times of the plurality of time clients for this notification are T6,
The path error time t1 is
t1 = ((T4-T1)-(T3-T2)) / 2
And the time difference t is
t = (T6-T5) -t1
The time information communication system according to claim 1, wherein the time information communication system is calculated by:
(3)前記時刻サーバと前記複数の時刻クライアント間の通信は、SNTP規格に準拠することを特徴とする(1)または(2)のいずれかに記載の時刻情報通信システム。
( 3 ) The time information communication system according to any one of (1) and (2) , wherein communication between the time server and the plurality of time clients conforms to an SNTP standard.
以上説明したことから明らかなように、本発明によれば次のような効果がある。
(1)経路誤差時間は、時刻サーバと時刻クライアントの関係が崩れなければ特に変化するものではないので、経路誤差時間算出の通信は高頻度で行なう必要はない。
As is apparent from the above description, the present invention has the following effects.
(1) The route error time does not change unless the relationship between the time server and the time client is broken, so that communication for route error time calculation need not be performed frequently.
(2)時刻差分通信は、確保すべき時刻精度に従って高頻度で実施しなければならないが、時刻サーバがマルチキャスト通信等で全時刻クライアントへ送ることができるので、時刻サーバの処理負荷は小さい。 (2) Time difference communication must be performed with high frequency according to the time accuracy to be secured, but the time server can send to all time clients by multicast communication or the like, so the processing load on the time server is small.
(3)上記(1),(2)により、従来システムでは時刻クライアント数が増加するに従って、ネットワーク負荷及び時刻クライアントの処理負荷が増加していたが、本発明によりこれらの負荷を軽減することが可能である。 (3) According to the above (1) and (2), in the conventional system, the network load and the processing load of the time client increased as the number of time clients increased. However, these loads can be reduced by the present invention. Is possible.
以下、本発明を図面により詳細に説明する。図1は本発明を適用した時刻情報通信システムの一実施形態を示す機能ブロック図である。図3で説明した従来システムと同一要素には同一符号を付して説明を省略する。 Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram showing an embodiment of a time information communication system to which the present invention is applied. The same elements as those of the conventional system described with reference to FIG.
図1において、100は本発明が適用された時刻サーバである。内部時計101、通信インターフェース102、要求受信手段103、要求送信手段104の構成要素は、従来システムの時刻サーバ10の対応する構成要素と同一機能である。
In FIG. 1, reference numeral 100 denotes a time server to which the present invention is applied. The components of the
時刻サーバ100における本発明の特徴部は、時刻通知手段105を備える点にある。この時刻通知手段105は、経路誤差時間算出の通信周期よりも短い周期で、内部時計101を参照した時刻T5を、マルチキャスト通信等で接続された全ての時刻クライアントに一斉に送信する。
The characteristic part of the present invention in the time server 100 is that a time notification means 105 is provided. The time notification unit 105 transmits the time T5 referring to the
200は本発明が適用された時刻クライアントである。内部時計201、通信インターフェース202、要求送信手段203の構成要素は、図3の従来システムの内部時計21、通信インターフェース22、要求送信手段23とそれぞれ同一機能である。
時刻クライアント200における本発明の特徴部は、時刻差分算出手段206を備える点にある。この時刻差分算出手段206は、時刻サーバ100の時刻通知手段105より送信される時刻情報T5、内部時計201を参照したこの送信時刻情報の受信時刻T6及び経路誤差時間算出手段204より渡される経路誤差時間t1を取得し、誤差時間tを算出する。
A feature of the present invention in the
経路誤差時間算出手段204は、次式により経路誤差時間t1を算出する。
t1=((T4−T1)−(T3−T2))/2
The route error
t1 = ((T4-T1)-(T3-T2)) / 2
時刻差分算出手段206は、誤差時間tを次式により算出する。
t=(T6−T5)−t1 (2)
時刻補正手段205は、算出された誤差時間tに基づいてより内部時計201の時刻を補正する。
The time difference calculation means 206 calculates the error time t by the following equation.
t = (T6-T5) -t1 (2)
The time correction unit 205 corrects the time of the
図2は、SNTPによる時刻サーバ100と時刻クライアント200間の誤差時間算出の通信手順である。図2(A)は、経路誤差時間測定の通信手順であり、時刻クライアント200からの経路誤差時間測定要求の送信時刻をT1、この要求に対する時刻サーバ100の受信時刻をT2、時刻サーバ100の応答時刻をT3、この応答に対する時刻クライアント200の受信時刻をT4で示す。
FIG. 2 is a communication procedure for calculating an error time between the time server 100 and the
図2(B)は、時刻差分算出の通信手順であり、時刻サーバ100から全ての時刻クライアントへの一斉送信時刻をT5、この送信に対する時刻クライアント200の受信時刻をT6で示す。
FIG. 2B shows a communication procedure for calculating the time difference, and T5 indicates the simultaneous transmission time from the time server 100 to all the time clients, and T6 indicates the reception time of the
バス多重化方式の通信装置等では、上記通信を多重化バスの各々で行ない、時刻誤差を記録しておき、その時刻誤差が設定値の範囲内であれば時刻調整を実施し、範囲外であれば通信を阻害する何らかのトランジェントエラーが発生したと判断し、時刻調整を実施しない。本発明を適用することにより、時刻誤差の誤算出を防ぐことが可能となる。 In a bus multiplexing communication device, etc., the above communication is performed on each of the multiplexed buses, the time error is recorded, and if the time error is within the set value range, the time adjustment is performed. If there is, it is determined that some kind of transient error that hinders communication has occurred, and time adjustment is not performed. By applying the present invention, it is possible to prevent erroneous calculation of time error.
30 通信経路
100 時刻サーバ
101 内部時計
102 通信インターフェース
103 要求受信手段
104 応答送信手段
105 時刻通知手段
200 時刻クライアント
201 内部時計
202 通信インターフェース
123 要求送信手段
204 経路誤差時間算出手段
205 時刻補正手段
206 時刻差分算出手段
DESCRIPTION OF SYMBOLS 30 Communication path 100
Claims (3)
前記複数の時刻クライアントは、
前記時刻サーバに所定の周期で送信した経路誤差時間測定要求に対する応答に基づいて、経路誤差時間を算出する経路誤差時間算出手段と、
前記時刻サーバから所定の周期で送信される時刻通知情報と前記経路誤差時間に基づいて、時刻差分情報を算出する時刻差分算出手段と、
前記時刻差分情報に基づいて自己の内部時計の時刻を補正する時刻補正手段と、
を備え、
前記時刻サーバは、所定の周期で前記複数の時刻クライアント全てに対して一斉に前記時刻通知情報を送信すると共に、前記時刻サーバからの前記時刻通知情報の送信周期は、前記複数の時刻クライアントからの経路誤差時間測定要求の送信周期よりも短く設定されていることを特徴とする時刻情報通信システム。 Time formed by a time server having a reference internal clock and a plurality of time clients connected to the time server via a communication path and acquiring time information of the internal clock to correct the time of the internal clock In an information communication system,
The plurality of time clients are:
Route error time calculating means for calculating a route error time based on a response to the route error time measurement request transmitted at a predetermined period to the time server;
Time difference calculation means for calculating time difference information based on the time notification information transmitted from the time server in a predetermined cycle and the path error time;
Time correction means for correcting the time of its own internal clock based on the time difference information;
Equipped with a,
The time server simultaneously transmits the time notification information to all the plurality of time clients at a predetermined cycle, and the transmission period of the time notification information from the time server is determined by the plurality of time clients. A time information communication system, characterized in that the time information communication system is set shorter than a transmission cycle of a path error time measurement request .
前記経路誤差時間t1は、
t1=((T4−T1)−(T3−T2))/2
で算出され、前記時刻差分tは、
t=(T6−T5)−t1
で算出されることを特徴とする請求項1に記載の時刻情報通信システム。 The transmission time of the path error time measurement request is T1, the reception time of the time server for the request is T2, the response time of the time server is T3, the reception times of the plurality of time clients for the response are T4, and the time server When the transmission time of the time notification information is T5 and the reception times of the plurality of time clients for this notification are T6,
The path error time t1 is
t1 = ((T4-T1)-(T3-T2)) / 2
And the time difference t is
t = (T6-T5) -t1
The time information communication system according to claim 1, wherein the time information communication system is calculated by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005361168A JP4868212B2 (en) | 2005-12-15 | 2005-12-15 | Time information communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005361168A JP4868212B2 (en) | 2005-12-15 | 2005-12-15 | Time information communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007163330A JP2007163330A (en) | 2007-06-28 |
JP4868212B2 true JP4868212B2 (en) | 2012-02-01 |
Family
ID=38246387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005361168A Active JP4868212B2 (en) | 2005-12-15 | 2005-12-15 | Time information communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4868212B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5332421B2 (en) * | 2008-09-05 | 2013-11-06 | 横河電機株式会社 | Measurement recorder system |
US10191509B2 (en) | 2016-04-01 | 2019-01-29 | Fujitsu Limited | Information processing device, information processing method, and computer readable storage medium |
CN109946420A (en) * | 2017-12-21 | 2019-06-28 | 智能城市网络有限公司 | For sending the device and method of atmospheric environment data |
CN113746588A (en) * | 2021-08-26 | 2021-12-03 | 中国舰船研究设计中心 | Ethernet network-based equipment clock error detection method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60214291A (en) * | 1984-04-11 | 1985-10-26 | Nec Corp | Timepiece control system |
JPH05107372A (en) * | 1991-10-18 | 1993-04-27 | Fujitsu Ltd | Method for setting time in transmission device |
JPH05167589A (en) * | 1991-12-16 | 1993-07-02 | Hitachi Cable Ltd | Time control system for lan |
JPH05241681A (en) * | 1992-02-27 | 1993-09-21 | Yokogawa Electric Corp | Distributed controller |
JP2000101597A (en) * | 1998-09-24 | 2000-04-07 | Nec Corp | Inter-node frame phase synchronization system and method |
JP2005195507A (en) * | 2004-01-08 | 2005-07-21 | Yamaha Corp | Method for time synchronization via network |
-
2005
- 2005-12-15 JP JP2005361168A patent/JP4868212B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2007163330A (en) | 2007-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11218238B2 (en) | Method, computer-readable medium, system, and vehicle comprising the system for validating a time function of a master and the clients in a network of a vehicle | |
JP4767178B2 (en) | System and method for maintaining a common sense of time on a network segment | |
US20090086764A1 (en) | System and method for time synchronization on network | |
US20110051754A1 (en) | Measurement and adjustment of real-time values according to residence time in networking equipment without access to real time | |
WO2016168063A1 (en) | Methods, systems, and computer readable media for synchronizing timing among network interface cards (nics) in a network equipment test device | |
JP2007060400A (en) | Method and system for controlling communication timing | |
US9665524B2 (en) | Method and device for coupling a first sensor to at least one second sensor | |
US11349587B2 (en) | Generating a timestamp | |
US8649303B2 (en) | Method and device for synchronizing and time-stamping for equipment items of a communication network of AFDX type | |
JP4868212B2 (en) | Time information communication system | |
US7877648B2 (en) | Fault tolerant data processing | |
JP2007529163A (en) | Network node | |
JP6281603B2 (en) | Information processing system, information processing method, and information processing program | |
CN107666360B (en) | Train system time synchronization control method and device | |
CN110933096A (en) | Software-defined network time service system and time service method | |
CN111357243B (en) | User equipment of bus system, operation method and bus system | |
US20170117980A1 (en) | Time synchronization for network device | |
US20150106647A1 (en) | Method and a Device for Maintaining a Synchronized Local Timer Using a Periodic Signal | |
US11438857B2 (en) | Transmission device, time transmission system, and delay measurement method | |
JP7070387B2 (en) | Time comparison device and time quality monitoring method | |
JP2009128174A (en) | Time synchronization system | |
US20200403770A1 (en) | System and method for date-stamping an event detected in an automotive vehicle | |
US20230421282A1 (en) | Communication apparatus, control method for communication apparatus, and storage medium | |
US20140241344A1 (en) | Direct updating of network delay in synchronization packets | |
EP2398173A1 (en) | Remote I/O system and synchronization method in the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080612 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101021 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101028 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101217 |
|
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: 20111020 |
|
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: 20111102 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4868212 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: 20141125 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |