JP7063000B2 - Time setting device, time update method and program - Google Patents
Time setting device, time update method and program Download PDFInfo
- Publication number
- JP7063000B2 JP7063000B2 JP2018028644A JP2018028644A JP7063000B2 JP 7063000 B2 JP7063000 B2 JP 7063000B2 JP 2018028644 A JP2018028644 A JP 2018028644A JP 2018028644 A JP2018028644 A JP 2018028644A JP 7063000 B2 JP7063000 B2 JP 7063000B2
- Authority
- JP
- Japan
- Prior art keywords
- leap
- time
- information
- received
- satellite signal
- 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
Images
Landscapes
- Electric Clocks (AREA)
Description
本発明は、時刻設定装置、時刻更新方法及びプログラムに関する。 The present invention relates to a time setting device, a time updating method, and a program.
GPS(Global Positioning System)衛星から電波信号(衛星信号)を受信する、受信部(レシーバ)を備える装置は、GPS衛星から受信した衛星信号に含まれる、衛星時刻信号を利用して、当該装置の時刻を設定できる。 A device equipped with a receiver that receives radio signals (satellite signals) from GPS (Global Positioning System) satellites uses satellite time signals included in the satellite signals received from GPS satellites. You can set the time.
特許文献1においては、GPS衛星のGPS時刻と、UTC(Coordinated Universal Time; Universal Time, Coordinated)時刻(世界協定時)との差を、予め算出し、保持する技術が記載されている。そして、特許文献1に記載された技術においては、算出した差を利用して、UTC時刻を修正する技術が記載されている。
なお、上記先行技術文献の開示を、本書に引用をもって繰り込むものとする。以下の分析は、本発明の観点からなされたものである。 The disclosure of the above prior art document shall be incorporated into this document by citation. The following analysis was made from the point of view of the present invention.
装置がGPS衛星から衛星信号を受信する場合、当該装置は、所定の時間間隔で、閏秒に関する情報(閏秒情報)を取得可能である。 When the device receives a satellite signal from a GPS satellite, the device can acquire information on leap seconds (leap second information) at predetermined time intervals.
ここで、装置がGPS衛星から、衛星時刻情報を含む衛星信号を受信する場合、装置は、GPS衛星から、1秒間隔で衛星時刻情報を受信可能である。しかし、装置がGPS衛星から、閏秒に関する情報(閏秒情報)を含む衛星信号を受信する場合、装置は、GPS衛星から、12.5分間隔で、閏秒情報を含む衛星信号を受信することになる。そのため、装置が最新の閏秒情報を受信できていないタイミングにおいて、閏秒が発生した場合、装置は、最新の閏秒を反映して、UTC(Coordinated Universal Time; Universal Time, Coordinated)時刻(世界協定時)を算出できない。その場合、装置は、最新の閏秒情報を含む衛星信号を受信するまで、適切にUTC時刻を算出できない。 Here, when the device receives the satellite signal including the satellite time information from the GPS satellite, the device can receive the satellite time information from the GPS satellite at 1-second intervals. However, if the device receives a satellite signal containing leap second information (leap second information) from GPS satellites, the device receives a satellite signal containing leap second information from the GPS satellites at 12.5 minute intervals. It will be. Therefore, if a leap second occurs at a timing when the device cannot receive the latest leap second information, the device reflects the latest leap second and the device reflects the latest leap second and the UTC (Coordinated Universal Time; Universal Time, Coordinated) time (world). (At the time of agreement) cannot be calculated. In that case, the device cannot properly calculate the UTC time until it receives a satellite signal containing the latest leap second information.
特許文献1に記載された技術においては、装置が最新の閏秒情報を受信できていないタイミングにおいて、閏秒が発生した場合、装置は、最新の閏秒を反映して、UTC時刻(世界協定時)を算出できない。
In the technique described in
そこで、本発明は、閏秒を反映した時刻を、容易且つ適切に、設定及び更新することに貢献する時刻設定装置、時刻更新方法及びプログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a time setting device, a time update method, and a program that contribute to easily and appropriately setting and updating a time reflecting a leap second.
本発明の第1の視点によれば、時刻設定装置が提供される。前記時刻設定装置は、衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む、衛星信号を、前記第1の時間間隔より長い第2の時間間隔で前記衛星から受信する、衛星信号受信部を備える。
さらに、前記時刻設定装置は、累積閏秒と、次回閏秒発生時刻と、次回累積閏秒とを含む、登録閏秒情報を保持する、記憶部を備える。
さらに、前記時刻設定装置は、前記衛星信号受信部が、前記受信閏秒情報を含む衛星信号を受信してから、次の受信閏秒情報を含む衛星信号を受信するまでの間に、閏秒が発生した場合、前記登録閏秒情報を利用して、UTC時刻を算出する、時刻算出部を備える。
According to the first aspect of the present invention, a time setting device is provided. The time setting device receives the satellite signal including the satellite time information from the satellite at the first time interval, and further includes the received leap second information, the satellite signal is a second time longer than the first time interval. It is provided with a satellite signal receiving unit that receives from the satellite at intervals.
Further, the time setting device includes a storage unit that holds registered leap second information including a cumulative leap second, a next leap second occurrence time, and a next cumulative leap second.
Further, in the time setting device, the leap second occurs between the time when the satellite signal receiving unit receives the satellite signal including the received leap second information and the time when the satellite signal including the next received leap second information is received. When this occurs, a time calculation unit is provided that calculates the UTC time using the registered leap second information.
本発明の第2の視点によれば、時刻更新方法が提供される。前記時刻更新方法は、記憶部を備える時刻設定装置が実行する方法である。
前記時刻更新方法は、衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む、衛星信号を、前記第1の時間間隔より長い第2の時間間隔で前記衛星から受信する工程を含む。
さらに、前記時刻更新方法は、累積閏秒と、次回閏秒発生時刻と、次回累積閏秒とを含む、登録閏秒情報を、前記記憶部に保持する工程を含む。
さらに、前記時刻更新方法は、前記受信閏秒情報を含む衛星信号が受信されてから、次の受信閏秒情報を含む衛星信号が受信されるまでの間に、閏秒が発生した場合、前記登録閏秒情報を利用して、UTC時刻を算出する工程を含む。
なお、本方法は、衛星時刻情報を受信する時刻設定装置という、特定の機械に結び付けられている。
According to the second aspect of the present invention, a time updating method is provided. The time update method is a method executed by a time setting device including a storage unit.
In the time update method, a satellite signal including satellite time information is received from the satellite at a first time interval, and a satellite signal including further received leap second information is used for a second time longer than the first time interval. It includes a step of receiving from the satellite at intervals.
Further, the time updating method includes a step of holding registered leap second information in the storage unit, including a cumulative leap second, a next leap second occurrence time, and a next cumulative leap second.
Further, the time update method is described when a leap second occurs between the time when the satellite signal including the received leap second information is received and the time when the satellite signal including the next received leap second information is received. Includes a step of calculating the UTC time using the registered leap second information.
This method is linked to a specific machine called a time setting device that receives satellite time information.
本発明の第3の視点によれば、プログラムが提供される。前記プログラムは、記憶部を備える時刻設定装置を制御するコンピュータに実行させるプログラムである。
前記プログラムは、衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む、衛星信号を、前記第1の時間間隔より長い第2の時間間隔で前記衛星から受信する処理を、前記コンピュータに実行させる。
さらに、前記プログラムは、累積閏秒と、次回閏秒発生時刻と、次回累積閏秒とを含む、登録閏秒情報を、前記記憶部に保持する処理を、前記コンピュータに実行させる。
さらに、前記プログラムは、前記受信閏秒情報を含む衛星信号が受信されてから、次の受信閏秒情報を含む衛星信号が受信されるまでの間に、閏秒が発生した場合、前記登録閏秒情報を利用して、UTC時刻を算出する処理を、前記コンピュータに実行させる。
なお、これらのプログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。記憶媒体は、半導体メモリ、ハードディスク、磁気記録媒体、光記録媒体等の非トランジェント(non-transient)なものとすることができる。本発明は、コンピュータプログラム製品として具現することも可能である。
According to a third aspect of the invention, a program is provided. The program is a program to be executed by a computer that controls a time setting device including a storage unit.
The program receives satellite signals containing satellite time information from the satellite at first time intervals and further includes received leap second information, satellite signals at second time intervals longer than the first time interval. The computer is made to execute the process of receiving from the satellite.
Further, the program causes the computer to execute a process of holding the registered leap second information including the cumulative leap second, the next leap second occurrence time, and the next cumulative leap second in the storage unit.
Further, in the program, if a leap second occurs between the time when the satellite signal including the received leap second information is received and the time when the satellite signal including the next received leap second information is received, the registered leap second is described. The computer is made to execute the process of calculating the UTC time using the second information.
Note that these programs can be recorded on a computer-readable storage medium. The storage medium may be a non-transient such as a semiconductor memory, a hard disk, a magnetic recording medium, or an optical recording medium. The present invention can also be embodied as a computer program product.
本発明の各視点によれば、閏秒を反映した時刻を、容易且つ適切に、設定及び更新することに貢献する時刻設定装置、時刻更新方法及びプログラムが提供される。 According to each viewpoint of the present invention, there is provided a time setting device, a time update method and a program that contribute to easily and appropriately setting and updating a time reflecting a leap second.
初めに、図1を用いて一実施形態の概要について説明する。なお、この概要に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、この概要の記載はなんらの限定を意図するものではない。また、各ブロック図のブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。 First, an outline of one embodiment will be described with reference to FIG. It should be noted that the drawing reference reference numerals added to this outline are added to each element for convenience as an example for assisting understanding, and the description of this outline is not intended to limit anything. Further, the connection line between the blocks in each block diagram includes both bidirectional and unidirectional. The one-way arrow schematically shows the flow of the main signal (data), and does not exclude bidirectionality.
上記の通り、閏秒を反映した時刻を、容易且つ適切に、設定及び更新することに貢献する時刻設定装置が望まれる。 As described above, a time setting device that contributes to easily and appropriately setting and updating the time reflecting the leap second is desired.
そこで、一例として、図1に示す時刻設定装置1000が提供される。時刻設定装置1000は、衛星信号受信部1001と、記憶部1002と、時刻算出部1003とを備える。
Therefore, as an example, the time setting device 1000 shown in FIG. 1 is provided. The time setting device 1000 includes a satellite
衛星信号受信部1001は、衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む、衛星信号を、第1の時間間隔より長い第2の時間間隔で衛星から受信する。受信閏秒情報とは、衛星から送信される、閏秒に関する情報である。
The satellite
記憶部1002は、累積閏秒1011と、次回閏秒発生時刻1012と、次回累積閏秒1013とを含む、登録閏秒情報1010を保持する。累積閏秒1011は、当該累積閏秒1011を登録した時点、又は取得した時点までに発生した、閏秒を積算した秒数である。次回閏秒発生時刻1012は、累積閏秒1011を登録した時点又は取得した時点以後に、次回の閏秒が発生する時刻である。次回累積閏秒1013は、次回の閏秒が発生した後に、発生する閏秒を積算した秒数である。
The storage unit 1002 holds the registered leap second information 1010 including the
時刻算出部1003は、衛星信号受信部1001が、受信閏秒情報を含む衛星信号を受信してから、次の受信閏秒情報を含む衛星信号を受信するまでの間に、閏秒が発生した場合、登録閏秒情報1010を利用して、UTC時刻を算出する。
In the
従って、時刻設定装置1000は、受信した衛星信号が、閏秒に関する情報(閏秒情報)を含まない場合に、閏秒が発生した場合であっても、適切に閏秒を反映して、UTC時刻を設定できる。従って、時刻設定装置1000は、閏秒を反映した時刻を、容易且つ適切に、設定及び更新することに貢献する。 Therefore, the time setting device 1000 appropriately reflects the leap second even when the leap second occurs when the received satellite signal does not include the information related to the leap second (leap second information), and the UTC You can set the time. Therefore, the time setting device 1000 contributes to easily and appropriately set and update the time reflecting the leap second.
[第1の実施形態]
第1の実施形態について、図面を用いて詳細に説明する。
[First Embodiment]
The first embodiment will be described in detail with reference to the drawings.
図2は、本実施形態に係る時刻設定装置1の内部構成の一例を示すブロック図である。本実施形態に係る時刻設定装置1は、制御部10と、衛星信号受信部20と、記憶部30とを含んで構成される。図2は、簡単のため、本実施形態に係る時刻設定装置1に関係するモジュールを主に記載する。時刻設定装置1は、図示しないハードウェア、ソフトウェアを含んでもよいことは勿論である。
FIG. 2 is a block diagram showing an example of the internal configuration of the
制御部10は、時刻設定装置1の全体を制御すると共に、時刻設定装置1の図2に示す各部を制御する。例えば、時刻設定装置1は、CPU(Central Processing Unit)を用いて実現可能である。
The control unit 10 controls the entire
制御部10は、時刻設定部40を含んで構成される。時刻設定部40は、時刻設定装置の時刻を制御する。時刻設定部40の詳細については、後述する。
The control unit 10 includes a
衛星信号受信部20は、衛星から時刻情報(衛星時刻情報)を含む、衛星信号を受信する。具体的には、衛星信号受信部20は、衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む、衛星信号を、前記第1の時間間隔より長い第2の時間間隔で衛星から受信する。例えば、衛星信号は、GPS(Global Positioning System)信号であってもよい。
The satellite
第1の時間間隔は1秒間隔であってもよい。また、第2の時間間隔は、12.5分間隔であってもよい。 The first time interval may be one second interval. The second time interval may be 12.5 minutes.
記憶部30は、時刻設定装置1の動作に必要な情報を記憶する。記憶部30は、磁気ディスク装置や光ディスク装置、半導体メモリによって実現される。
The
記憶部30は、累積閏秒と、次回閏秒発生時刻と、次回累積閏秒とを含む、登録閏秒情報を保持する。具体的には、記憶部30は、設定ファイル31を記憶する。設定ファイル31は、登録閏秒情報32を含んで構成される。
The
図3は、登録閏秒情報32の構成の一例を示す図である。登録閏秒情報32は、累積閏秒321と、次回閏秒発生時刻322と、次回累積閏秒323とを含んで構成される。
FIG. 3 is a diagram showing an example of the configuration of the registered leap
次に、時刻設定部40について詳細に説明する。
Next, the
図4は、時刻設定部40の内部構成の一例を示すブロック図である。時刻設定部40は、設定ファイル取得部401と、時刻算出部402と、閏秒情報更新部403と、衛星信号管理部404と、時刻設定制御部405とを含んで構成される。
FIG. 4 is a block diagram showing an example of the internal configuration of the
図4に示す各モジュールは、時刻設定装置1に搭載されたコンピュータに、そのハードウェアを用いて、時刻設定装置1の処理を実行させるコンピュータプログラムにより実現しても良い。
Each module shown in FIG. 4 may be realized by a computer program that causes a computer mounted on the
設定ファイル取得部401は、記憶部30から設定ファイル31を読み出し、設定ファイル31を取得する。例えば、時刻設定装置1が起動した際に、設定ファイル取得部401は、設定ファイル31を取得してもよい。
The setting
時刻算出部402は、衛星信号受信部20が、受信閏秒情報を含む衛星信号を受信してから、次の受信閏秒情報を含む衛星信号を受信するまでの間に、閏秒が発生した場合、登録閏秒情報を利用して、UTC時刻を算出する。
In the
時刻算出部402は、登録閏秒情報32に含まれる次回閏秒発生時刻、次回累積閏秒のうち、少なくとも一方と、累積閏秒と、衛星時刻情報とを利用して、UTC時刻を算出する。
The
閏秒情報更新部403は、登録閏秒情報32を更新する。閏秒情報更新部403は、衛星信号受信部20が、受信閏秒情報を含む衛星信号を受信した場合、受信閏秒情報と登録閏秒情報との差分に基づいて、登録閏秒情報を更新するか否かを判断する。
The leap second
衛星信号管理部404は、衛星信号受信部20が受信した衛星信号を取得する。さらに、衛星信号管理部404は、衛星信号受信部20が受信した衛星信号を解析する。具体的には、衛星信号管理部404は、取得した衛星信号が、受信閏秒情報を含むか否かを判断する。
The satellite
時刻設定制御部405は、設定ファイル取得部401、時刻算出部402、閏秒情報更新部403、衛星信号管理部404を制御する。
The time setting
次に、時刻設定装置1の動作について詳細に説明する。
Next, the operation of the
まず、設定ファイル31を取得する処理(以下、設定ファイル取得処理と呼ぶ)について説明する。 First, a process for acquiring the setting file 31 (hereinafter referred to as a setting file acquisition process) will be described.
図5は、設定ファイル取得処理の一例を示すシーケンス図である。 FIG. 5 is a sequence diagram showing an example of the setting file acquisition process.
ステップA1において、時刻設定制御部405は、設定ファイル取得部401に、設定ファイル31の取得を要求する。ステップA2において、設定ファイル取得部401は、記憶部30に、設定ファイル31を要求する。ステップA3において、記憶部30は、設定ファイル取得部401に、設定ファイル31を応答する。ステップA4において、設定ファイル取得部401は、設定ファイル31から、登録閏秒情報32を取得する。ステップA5において、設定ファイル取得部401は、時刻設定制御部405に設定ファイルの取得完了を応答する。そして、時刻設定装置1は、設定ファイル取得処理を終了する。
In step A1, the time setting
次に、受信された衛星信号が受信閏秒情報を含まない場合に、UTC時刻を設定する処理について説明する。 Next, the process of setting the UTC time when the received satellite signal does not include the received leap second information will be described.
図6は、受信された衛星信号が受信閏秒情報を含まない場合に、UTC時刻を設定する処理の一例を示すシーケンス図である。 FIG. 6 is a sequence diagram showing an example of processing for setting the UTC time when the received satellite signal does not include the reception leap second information.
ステップS1において、衛星信号受信部20は、受信した衛星信号を、衛星信号管理部404に送信する。衛星信号が受信閏秒情報を含まない場合、衛星信号管理部404は、UTC時刻の設定を、閏秒情報更新部403に要求する(ステップS2)。ステップS3において、時刻設定部40は、UTC時刻を設定する処理(以下、UTC時刻設定処理と呼ぶ)を実行する。そして、閏秒情報更新部403は、衛星信号管理部404に、UTC時刻の設定完了を応答する。
In step S1, the satellite
図7を参照しながら、UTC時刻設定処理について詳細に説明する。 The UTC time setting process will be described in detail with reference to FIG. 7.
図7は、UTC時刻設定処理の一例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of the UTC time setting process.
ステップS201において、時刻算出部402は、衛星信号管理部404から衛星時刻情報を取得する。具体的には、時刻算出部402は、衛星信号管理部404に衛星時刻情報を要求する。衛星信号管理部404は、衛星信号受信部20が受信した衛星信号から、衛星時刻情報を取得する。そして、衛星信号管理部404は、取得した衛星時刻情報を、時刻算出部402に通知する。
In step S201, the
ステップS202において、時刻算出部402は、登録閏秒情報を取得する。具体的には、時刻算出部402は、時刻設定制御部405に、図5に示す設定ファイル取得処理の実行を要求する。設定ファイル取得処理は上記の通りであるため、詳細な説明は省略する。設定ファイル取得部401は、取得した登録閏秒情報32を、時刻算出部402に通知する。
In step S202, the
ステップS203において、時刻算出部402は、UTC時刻を算出する。具体的には、時刻算出部402は、受信閏秒情報と登録閏秒情報32とが同一である場合、衛星時刻情報と、登録閏秒情報32に含まれる累積閏秒321とを用いて、UTC時刻を算出する。
In step S203, the
ステップS204において、時刻算出部402が算出したUTC時刻が、次回閏秒発生時刻322以降であるか否かを、閏秒情報更新部403は判断する。一方、時刻算出部402が算出したUTC時刻が、次回閏秒発生時刻322未満である場合、時刻算出部402は、ステップS203の処理において算出したUTC時刻を、時刻設定装置1に設定する(ステップS208)。そして、時刻設定部40は、UTC時刻設定処理を終了する。
In step S204, the leap second
一方、時刻算出部402が算出したUTC時刻が、次回閏秒発生時刻322以降である場合、ステップS205に遷移する。
On the other hand, if the UTC time calculated by the
ステップS205において、累積閏秒321と次回累積閏秒323とが同一であるか否かを、閏秒情報更新部403は判断する。累積閏秒321と次回累積閏秒323とが同一である場合(ステップS205のYes分岐)には、時刻算出部402は、ステップS203の処理において算出したUTC時刻を、時刻設定装置1に設定する(ステップS208)。つまり、時刻算出部402は、算出したUTC時刻が、次回閏秒発生時刻322以降である場合であって、且つ累積閏秒321と次回累積閏秒323とが同一である場合、算出したUTC時刻を、時刻設定装置1に設定する。
In step S205, the leap second
一方、累積閏秒321と次回累積閏秒323とが同一ではない場合(ステップS205のNo分岐)には、閏秒情報更新部403は、次回累積閏秒323と累積閏秒321との差分を、累積閏秒差分として算出する(ステップS206)。
On the other hand, when the cumulative leap second 321 and the next cumulative leap second 323 are not the same (No branch in step S205), the leap second
ステップS207において、時刻算出部402は、累積閏秒差分を反映したUTC時刻を算出する。そして、時刻算出部402は、ステップS207の処理において算出したUTC時刻を、時刻設定装置1に設定する(ステップS208)。そして、時刻設定部402は、UTC時刻設定処理を終了する。
In step S207, the
つまり、閏秒情報更新部403は、時刻算出部402が算出したUTC時刻が、累積閏秒321以降である場合であって、且つ累積閏秒321と次回累積閏秒323とが異なる場合、累積閏秒321と次回累積閏秒323との差分を、累積閏秒差分として算出する。そして、時刻算出部402は、累積閏秒差分を反映したUTC時刻を算出し、算出したUTC時刻を、時刻設定装置1に設定する。
That is, the leap second
次に、受信された衛星信号が受信閏秒情報を含む場合に、UTC時刻を設定する処理について説明する。 Next, the process of setting the UTC time when the received satellite signal includes the received leap second information will be described.
図8は、受信された衛星信号が受信閏秒情報を含む場合に、UTC時刻を設定する処理の一例を示すシーケンス図である。 FIG. 8 is a sequence diagram showing an example of a process of setting the UTC time when the received satellite signal includes the received leap second information.
ステップS1において、衛星信号受信部20は、受信した衛星信号を、衛星信号管理部404に送信する。衛星信号が受信閏秒情報を含む場合、衛星信号管理部404は、受信閏秒情報を、閏秒情報更新部403に通知する(ステップS101)。閏秒情報更新部403は、設定ファイル取得処理を実行する(ステップS102)。具体的には、閏秒情報更新部403は、時刻設定制御部405に、図5に示す設定ファイル取得処理の実行を要求する。設定ファイル取得処理の詳細は上記の通りであるため、詳細な説明は省略する。
In step S1, the satellite
設定ファイル取得部401が登録閏秒情報32を取得した場合、閏秒情報更新部403は、受信閏秒情報と登録閏秒情報32とを比較する。受信閏秒情報と登録閏秒情報32とが同一である場合には、ステップS104に遷移する。
When the setting
一方、受信閏秒情報と登録閏秒情報32とが異なる場合には、閏秒情報更新部403は、受信閏秒情報を、登録閏秒情報として設定する(ステップS103)。つまり、閏秒情報更新部403は、衛星信号受信部20が、受信閏秒情報を含む衛星信号を受信した場合であって、且つ受信閏秒情報と登録閏秒情報32とが異なる場合、受信閏秒情報を、登録閏秒情報32として、記憶部30に登録する。
On the other hand, when the received leap second information and the registered leap
ステップS104において、時刻設定部40は、図7に示すUTC時刻設定処理を実行する。UTC時刻設定処理の詳細は上記の通りであるため、詳細な説明は省略する。
In step S104, the
[変形例1]
本実施形態に係る時刻設定装置1の変形例1として、時刻設定装置1が衛星と接続する前に、時刻設定装置1のユーザ(例えば、時刻設定装置1を運用するオペレータ等)が、設定ファイル31を更新するときに、次回閏秒発生時刻322と次回累積閏秒323とを更新してもよい。
[Modification 1]
As a
[変形例2]
本実施形態に係る時刻設定装置1の変形例2として、衛星信号受信部20が受信するが衛星信号は、PTP(Precision Time Protocol)信号であってもよい。
[Modification 2]
As a modification 2 of the
以上のように、本実施形態に係る時刻設定装置1は、累積閏秒321と次回閏秒発生時刻322と次回累積閏秒323とを含む、最新の閏秒に関する情報を、登録閏秒情報32として保持する。時刻設定装置1は、登録閏秒情報32を保持することで、受信した衛星信号が、閏秒に関する情報(閏秒情報)を含まない場合に、閏秒が発生した場合であっても、適切に閏秒を反映して、UTC時刻を設定できる。従って、本実施形態に係る時刻設定装置1は、閏秒を反映した時刻を、容易且つ適切に、設定及び更新することに貢献する。
As described above, the
また、本実施形態に係る時刻設定装置1は、衛星から発信される、最新の閏秒に関する情報(閏秒情報)を保持する。従って、本実施形態に係る時刻設定装置1は、最新の閏秒を反映して、時刻を設定及び更新することに貢献する。
Further, the
また、本実施形態に係る時刻設定装置1は、衛星から閏秒に関する情報(閏秒情報)を受信するまで待つ必要がない。閏秒を反映した時刻を、迅速且つ適切に、設定及び更新することに貢献する。
Further, the
なお、上記の特許文献の開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし、選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。 The disclosure of the above patent documents shall be incorporated into this document by citation. Within the framework of all disclosures (including claims) of the present invention, the embodiments can be changed and adjusted based on the basic technical idea thereof. Further, various combinations or selections of various disclosure elements (including each element of each claim, each element of each embodiment, each element of each drawing, etc.) are possible within the framework of all disclosure of the present invention. be. That is, it goes without saying that the present invention includes all disclosure including claims, various modifications and modifications that can be made by those skilled in the art in accordance with the technical idea. In particular, with respect to the numerical range described in this document, any numerical value or small range included in the range should be construed as being specifically described even if not otherwise described.
1、1000 時刻設定装置
10 制御部
20、1001 衛星信号受信部
30、1002 記憶部
31 設定ファイル
32 登録閏秒情報
40 時刻設定部
321、1011 累積閏秒
322、1012 次回閏秒発生時刻
323、1013 次回累積閏秒
401 設定ファイル取得部
402 時刻算出部
403 閏秒情報更新部
404 衛星信号管理部
405 時刻設定制御部
1003 時刻算出部
1,1000 Time setting device 10
Claims (10)
累積閏秒と、次回閏秒発生時刻と、次回累積閏秒と、を含む、登録閏秒情報を保持する、記憶部と、
前記衛星信号受信部が、前記受信閏秒情報を含む衛星信号を受信してから、次の受信閏秒情報を含む衛星信号を受信するまでの間に、UTC時刻が設定される場合、前記登録閏秒情報を利用して、UTC時刻を算出する、時刻算出部と、
前記衛星信号受信部が、前記受信閏秒情報を含む衛星信号を受信した場合、前記受信閏秒情報と前記登録閏秒情報との差分に基づいて、前記登録閏秒情報を更新するか否かを判断する、閏秒情報更新部と、
を備える時刻設定装置。 A satellite signal including satellite time information is received from the satellite at the first time interval, and a satellite signal further including received leap second information is received from the satellite at a second time interval longer than the first time interval. , Satellite signal receiver,
A storage unit that holds registered leap second information , including the cumulative leap second, the next leap second occurrence time, and the next cumulative leap second.
When the UTC time is set between the time when the satellite signal receiving unit receives the satellite signal including the received leap second information and the time when the satellite signal including the next received leap second information is received, the registration is performed. A time calculation unit that calculates UTC time using leap second information,
When the satellite signal receiving unit receives a satellite signal including the received leap second information, whether or not to update the registered leap second information based on the difference between the received leap second information and the registered leap second information. Leap second information update section and
A time setting device.
前記時刻算出部は、前記累積閏秒差分を反映したUTC時刻を算出し、算出したUTC時刻を、自時刻設定装置に設定する、請求項1乃至3のいずれか一項に記載の時刻設定装置。 The leap second information update unit is a case where the UTC time calculated by the time calculation unit is after the next leap second occurrence time included in the registered leap second information, and is included in the registered leap second information. When the cumulative leap second and the next cumulative leap second are different, the difference between the cumulative leap second and the next cumulative leap second is calculated as the cumulative leap second difference.
The time setting device according to any one of claims 1 to 3, wherein the time calculation unit calculates a UTC time reflecting the cumulative leap second difference and sets the calculated UTC time in the own time setting device. ..
衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む衛星信号を、前記第1の時間間隔より長い第2の時間間隔で前記衛星から受信する工程と、
累積閏秒と、次回閏秒発生時刻と、次回累積閏秒と、を含む、登録閏秒情報を、前記記憶部に保持する工程と、
前記受信閏秒情報を含む衛星信号が受信されてから、次の受信閏秒情報を含む衛星信号が受信されるまでの間に、UTC時刻が設定される場合、前記登録閏秒情報を利用して、UTC時刻を算出する工程と、
衛星信号受信部が、前記受信閏秒情報を含む衛星信号を受信した場合、前記受信閏秒情報と前記登録閏秒情報との差分に基づいて、前記登録閏秒情報を更新するか否かを判断する工程と、
を含む時刻更新方法。 It is a time update method executed by a time setting device equipped with a storage unit.
A satellite signal including satellite time information is received from the satellite at the first time interval, and a satellite signal further including received leap second information is received from the satellite at a second time interval longer than the first time interval. Process and
A step of holding registered leap second information in the storage unit , including the cumulative leap second, the next leap second occurrence time, and the next cumulative leap second.
When the UTC time is set between the reception of the satellite signal including the received leap second information and the reception of the satellite signal including the next received leap second information, the registered leap second information is used. And the process of calculating the UTC time,
When the satellite signal receiving unit receives the satellite signal including the received leap second information, whether or not to update the registered leap second information based on the difference between the received leap second information and the registered leap second information. The process of making a decision and
Time update method including.
衛星時刻情報を含む衛星信号を、第1の時間間隔で衛星から受信し、受信閏秒情報をさらに含む衛星信号を、前記第1の時間間隔より長い第2の時間間隔で前記衛星から受信する処理と、
累積閏秒と、次回閏秒発生時刻と、次回累積閏秒と、を含む、登録閏秒情報を、前記記憶部に保持する処理と、
前記受信閏秒情報を含む衛星信号が受信されてから、次の受信閏秒情報を含む衛星信号が受信されるまでの間に、UTC時刻が設定される場合、前記登録閏秒情報を利用して、UTC時刻を算出する処理と、
衛星信号受信部が、前記受信閏秒情報を含む衛星信号を受信した場合、前記受信閏秒情報と前記登録閏秒情報との差分に基づいて、前記登録閏秒情報を更新するか否かを判断する処理と、
を前記コンピュータに実行させるプログラム。 A program that is executed by a computer that controls a time setting device equipped with a storage unit.
A satellite signal including satellite time information is received from the satellite at the first time interval, and a satellite signal further including received leap second information is received from the satellite at a second time interval longer than the first time interval. Processing and
A process of holding registered leap second information in the storage unit , including the cumulative leap second, the next leap second occurrence time, and the next cumulative leap second.
When the UTC time is set between the reception of the satellite signal including the received leap second information and the reception of the satellite signal including the next received leap second information, the registered leap second information is used. And the process of calculating the UTC time,
When the satellite signal receiving unit receives the satellite signal including the received leap second information, whether or not to update the registered leap second information based on the difference between the received leap second information and the registered leap second information. Judgment process and
A program that causes the computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018028644A JP7063000B2 (en) | 2018-02-21 | 2018-02-21 | Time setting device, time update method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018028644A JP7063000B2 (en) | 2018-02-21 | 2018-02-21 | Time setting device, time update method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019144117A JP2019144117A (en) | 2019-08-29 |
JP7063000B2 true JP7063000B2 (en) | 2022-05-09 |
Family
ID=67772212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018028644A Active JP7063000B2 (en) | 2018-02-21 | 2018-02-21 | Time setting device, time update method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7063000B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015125047A (en) | 2013-12-26 | 2015-07-06 | カシオ計算機株式会社 | Radio clock |
JP2017173129A (en) | 2016-03-24 | 2017-09-28 | カシオ計算機株式会社 | Radio wave clock, leap second correction information acquisition method and program |
-
2018
- 2018-02-21 JP JP2018028644A patent/JP7063000B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015125047A (en) | 2013-12-26 | 2015-07-06 | カシオ計算機株式会社 | Radio clock |
JP2017173129A (en) | 2016-03-24 | 2017-09-28 | カシオ計算機株式会社 | Radio wave clock, leap second correction information acquisition method and program |
Also Published As
Publication number | Publication date |
---|---|
JP2019144117A (en) | 2019-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2567256B1 (en) | Method and apparatus for fast ttff | |
JP6435762B2 (en) | Electronic device, program, and date / time information acquisition method | |
US10901372B2 (en) | Time synchronization device, time synchronization system, and time synchronization method | |
WO2022179605A1 (en) | Time synchronization method and apparatus, and vehicle-mounted device and storage medium | |
JP7063000B2 (en) | Time setting device, time update method and program | |
US20110016343A1 (en) | Synchronizing a Clock in a Vehicle Telematic System | |
WO2018133629A1 (en) | Ephemeris updating method and apparatus, and mobile terminal | |
KR101583136B1 (en) | Method and Apparatus for Time Synchronization of Car Black Box or Car Electronic Equipment | |
US9548744B2 (en) | Compensating for hysteretic characteristics of crystal oscillators | |
CN110365516A (en) | A kind of localization method and device | |
JP2012113504A (en) | Communication terminal, control method and program thereof | |
JP6871048B2 (en) | Time setting device, time setting method and program | |
JP4651988B2 (en) | Clock accuracy correction device | |
JP3655409B2 (en) | Satellite navigation system | |
JP2015231172A (en) | File creation time correction device | |
JP7477008B2 (en) | Wearable device, positioning control method, and positioning control program | |
JP6204299B2 (en) | Subscriber information recovery system, subscriber information management device, and subscriber information recovery method | |
JP6946761B2 (en) | Positioning device | |
JP2007218853A (en) | Gps-positioning method and apparatus | |
CN114637186A (en) | Time difference processing method, equipment and storage medium | |
JP6294807B2 (en) | Data transmission apparatus, operation method of data transmission apparatus, and computer program | |
GB2625527A (en) | A method and system for navigation of a vehicle | |
TWI380044B (en) | Signal acquisition systems and methods for acquiring signals | |
CN116782291A (en) | Method and system for extracting data | |
JP2015184899A (en) | Electronic trading system and transmitter and receiver used therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211130 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220127 |
|
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: 20220322 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220404 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7063000 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |