JP2007306352A - Reference time providing apparatus, timestamp issuing apparatus, reference time providing method, timestamp issuing method, reference time providing program, and timestamp issuing program - Google Patents

Reference time providing apparatus, timestamp issuing apparatus, reference time providing method, timestamp issuing method, reference time providing program, and timestamp issuing program Download PDF

Info

Publication number
JP2007306352A
JP2007306352A JP2006133277A JP2006133277A JP2007306352A JP 2007306352 A JP2007306352 A JP 2007306352A JP 2006133277 A JP2006133277 A JP 2006133277A JP 2006133277 A JP2006133277 A JP 2006133277A JP 2007306352 A JP2007306352 A JP 2007306352A
Authority
JP
Japan
Prior art keywords
time
certificate
time stamp
stamp
reference time
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
JP2006133277A
Other languages
Japanese (ja)
Other versions
JP4918718B2 (en
Inventor
Masakazu Uehata
正和 上畑
Satoshi Kawatani
聡 川谷
Noriaki Uchino
則彰 内野
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2006133277A priority Critical patent/JP4918718B2/en
Publication of JP2007306352A publication Critical patent/JP2007306352A/en
Application granted granted Critical
Publication of JP4918718B2 publication Critical patent/JP4918718B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To inexpensively issue timestamp while securing high accuracy/high reliability. <P>SOLUTION: A digital broadcasting station 2 broadcasts a time certificate 3 in which reference time is electronically subscribed as time contents. A timestamp server 4 receives the time certificate 3, acquires the reference time and corrects and inspects an internal clock 17 by using the reference time. Since the reference time is electronically certificated, the timestamp server 4 can confirm the orthodoxy of the reference time. The internal clock 17 is divided into a time label (e.g. a portion of minute and more) and an accurate portion (e.g. a portion of second and less) which is a unit smaller than the time label and managed, and the timestamp server 4 inspects the time label and corrects the accurate portion. In inspection, a state that the time of a newly received time certificate 3 advances from the time certificate 3 received last, is confirmed. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、基準時刻提供装置、タイムスタンプ発行装置、基準時刻提供方法、タイムスタンプ発行方法、基準時刻提供プログラム、及びタイムスタンプ発行プログラムに関し、例えば、電子文書に対してタイムスタンプを発行するものに関する。   The present invention relates to a reference time providing device, a time stamp issuing device, a reference time providing method, a time stamp issuing method, a reference time providing program, and a time stamp issuing program, for example, a device for issuing a time stamp to an electronic document. .

近年の情報技術の急激な進歩に伴って、公文書や私文書をデジタル情報化した電子文書にて調製する所謂ペーパレス化が推進されている。
また、このようにして作成された電子文書に付与される法的な地位を整備するため電子文書法が施行されている。
このようにして作成され保存される電子文書では発行日などの時刻証明(日付証明)が重要であり、時刻証明を行うタイムスタンプシステムが利用されている。
Along with the rapid progress of information technology in recent years, so-called paperless processing is being promoted in which public documents and private documents are prepared as digital documents.
In addition, the Electronic Document Act has been enforced in order to improve the legal status granted to electronic documents created in this way.
In the electronic document created and stored in this way, time certification (date certification) such as an issue date is important, and a time stamp system for performing time certification is used.

図15は、従来のタイムスタンプシステムのシステム構成を説明するためのブロック図である。
タイムスタンプシステム100は、時刻配信局に設置された時刻配信サーバ101、時刻認証局に設置されたタイムスタンプサーバ102、及びクライアント端末103、103、・・・などから構成されている。
タイムスタンプサーバ102はタイムスタンプを発行するサーバであり、クライアント端末103は、タイムスタンプの発行を受ける端末装置である。タイムスタンプ発行の手順は次の通りである。
FIG. 15 is a block diagram for explaining a system configuration of a conventional time stamp system.
The time stamp system 100 includes a time distribution server 101 installed in a time distribution station, a time stamp server 102 installed in a time authentication station, and client terminals 103, 103,.
The time stamp server 102 is a server that issues a time stamp, and the client terminal 103 is a terminal device that receives the time stamp. The procedure for issuing a time stamp is as follows.

まず、クライアント端末103は、時刻証明対象である電子文書のハッシュ値をタイムスタンプサーバ102に送信する。
次に、タイムスタンプサーバ102は、クライアント端末103からハッシュ値を受信し、内蔵する内部クロックが出力する時刻と受信したハッシュ値に対して電子署名を生成する。そして、タイムスタンプサーバ102は、これをタイムスタンプとしてクライアント端末103に送信する。
タイムスタンプの利用者は、電子文書にこのタイムスタンプを付与して第三者に提供することにより、電子文書の非改竄性の証明と時刻証明を行うことができる。
First, the client terminal 103 transmits the hash value of the electronic document that is the subject of time certification to the time stamp server 102.
Next, the time stamp server 102 receives a hash value from the client terminal 103, and generates an electronic signature for the time output by the internal clock and the received hash value. Then, the time stamp server 102 transmits this to the client terminal 103 as a time stamp.
The user of the time stamp can certify the non-falsification of the electronic document and the time proof by giving the electronic document this time stamp and providing it to a third party.

時刻配信サーバ101は、タイムスタンプシステム100で使用する時刻の基準となる時刻を管理及び配信するサーバである。
時刻配信サーバ101は、例えば、基準時刻を計測するための原子時計を備えており、この原子時計が出力する基準時刻をタイムスタンプサーバ102に配信する。
タイムスタンプサーバ102は、時刻配信サーバ101から基準時刻を受信し、これを用いて内部クロックを更正する。
The time distribution server 101 is a server that manages and distributes a time that is a reference of the time used in the time stamp system 100.
The time distribution server 101 includes, for example, an atomic clock for measuring a reference time, and distributes the reference time output by the atomic clock to the time stamp server 102.
The time stamp server 102 receives the reference time from the time distribution server 101 and corrects the internal clock using the reference time.

基準時刻の改竄と通信経路の遅延を防ぐために、タイムスタンプサーバ102と時刻配信サーバ101の通信経路は、例えば、SSL(Secure Sockets Layer)などの技術を用いて暗号化され、通信プロトコルとしてNTP(Network Time Protocol)を用いている。なお、NTPは時刻の配信用に標準化されたプロトコルであり、通信経路による遅延を補正することができる。   In order to prevent falsification of the reference time and communication path delay, the communication path between the time stamp server 102 and the time distribution server 101 is encrypted using, for example, a technology such as SSL (Secure Sockets Layer), and the communication protocol is NTP ( Network Time Protocol). Note that NTP is a standardized protocol for time distribution and can correct delays due to communication paths.

なお、図15では、タイムスタンプサーバ102が1台だけ記されているが、複数のタイムスタンプサーバ102が時刻配信サーバ101に接続されるように構成することができる。   In FIG. 15, only one time stamp server 102 is shown, but a plurality of time stamp servers 102 may be connected to the time distribution server 101.

このようなタイムスタンプシステムを構成する技術として、次の信頼されるサードパーティクロックおよび信頼されるローカルクロックを提供するためのシステムおよび方法がある。   As a technology for constructing such a time stamp system, there are a system and a method for providing the following trusted third-party clock and trusted local clock.

特表2003−519417公報Special table 2003-519417 gazette

この技術は、時刻配信サーバ101としてマスタクロックシステムを配置し、タイムスタンプサーバ102としてローカルクロックシステムを配置したものであり、マスタクロックシステムがローカルクロックシステムを検査などするものである。
この構成により、マスタクロックシステム(時刻配信サーバ101)は、ローカルクロックシステム(タイムスタンプサーバ102)に基準時刻を配信し、更に、ローカルクロックシステムで時刻が改竄されないか監査を行う。
In this technique, a master clock system is arranged as the time distribution server 101, and a local clock system is arranged as the time stamp server 102. The master clock system inspects the local clock system.
With this configuration, the master clock system (time distribution server 101) distributes the reference time to the local clock system (time stamp server 102), and further audits whether the time is falsified in the local clock system.

従来のタイムスタンプシステム100では、時刻配信サーバ101とタイムスタンプサーバ102の間の通信に、例えばNTPやPKI(Public Key Infrastructure)を用い、高精度かつ高信頼性を確保していたため、コストが高くなっていた。
また、システムの安全性を確保するために、タイムスタンプサーバ102に耐タンパチップ(安全性が確保されたICチップ)を実装していたが、耐タンパチップに、例えば、高い時刻精度を維持するなどの高度な機能を実装することは困難であり、コストが高くなっていた。
In the conventional time stamp system 100, for example, NTP or PKI (Public Key Infrastructure) is used for communication between the time distribution server 101 and the time stamp server 102, and high accuracy and high reliability are ensured. It was.
Further, in order to ensure the safety of the system, the time stamp server 102 is mounted with a tamper resistant chip (an IC chip with secured safety), but the tamper resistant chip maintains, for example, high time accuracy. It was difficult to implement advanced functions such as, and the cost was high.

そこで、本発明の目的は、高精度・高信頼を確保しつつ、低コストでタイムスタンプを発行することである。   Therefore, an object of the present invention is to issue a time stamp at a low cost while ensuring high accuracy and high reliability.

本発明は、前記目的を達成するために、基準時刻を計測するための基準時計装置と、前記計測された基準時刻を電子署名する署名手段と、前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成手段と、デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供手段と、を具備したことを特徴とする基準時刻提供装置を提供する(第1の構成)。
また、本発明は、時刻を計測する時計装置と、基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信手段と、前記受信した時刻証明書の電子署名を確認する署名確認手段と、前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記時計装置が所定の精度で動作していることを検証する検証手段と、時刻証明対象となる証明対象情報を取得する証明対象情報取得手段と、前記署名確認手段で前記電子署名が確認され、前記検証手段で前記時計装置が所定の精度で動作していることが検証された場合に、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成手段と、前記生成したタイムスタンプを出力するタイムスタンプ出力手段と、を具備したことを特徴とするタイムスタンプ発行装置を提供する(第2の構成)。
第2の構成において、前記タイムスタンプ生成手段は、検証に用いる基準時刻が、前回の検証で用いた基準時刻よりも後の時刻であることが確認できた場合に、タイムスタンプを生成するように構成することもできる(第3の構成)。
第2の構成、又は第3の構成において、前記受信した時刻証明書に含まれる基準時刻を用いて、前記時計装置が計測する前記所定の精度未満の時刻を更正する時刻更正手段を具備するように構成することもできる(第4の構成)。
第2の構成、第3の構成、又は第4の構成において、前記所定の精度を、第1の精度と、前記第1の精度よりも精度が低い第2の精度に変更する精度変更手段を具備し、前記精度変更手段は、前記所定の精度を第2の精度に設定し、前記検証手段が前記第2の精度を用いて前記時計装置の精度を検証した場合に、前記所定の精度を第1の精度に設定するように構成することもできる(第5の構成)。
第2の構成から第5の構成までのうちの何れか1の構成において、前記検証手段と前記タイムスタンプ生成手段が動作する第1の動作モードと、前記時刻更正手段が動作する第2の動作モードと、を切り替える動作モード切替手段を具備し、前記動作モード切替手段は、それぞれの動作モードにて動作が完了した後に動作モードを切り替えるように構成することもできる(第6の構成)。
第2の構成から第6の構成までのうちの何れか1の構成において、前記タイムスタンプ生成手段がタイムスタンプを生成する前に、課金が行われたか否かを確認する課金確認手段を具備し、前記タイムスタンプ生成手段は、前記課金確認手段にて課金が確認された場合にタイムスタンプを生成するように構成することもできる(第7の構成)。
また、本発明は、基準時計装置と、署名手段と、時刻証明書生成手段と、時刻証明書提供手段と、を備えた基準時刻提供装置において、前記基準時計装置で、基準時刻を計測する計測ステップと、前記署名手段で、前記計測された基準時刻を電子署名する署名ステップと、前記時刻証明書生成手段で、前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成ステップと、前記時刻証明書提供手段で、デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供ステップと、から構成されたことを特徴とする基準時刻提供方法を提供する(第8の構成)。
また、本発明は、時計装置と、受信手段と、署名確認手段と、検証手段と、証明対象情報取得手段と、タイムスタンプ生成手段と、タイムスタンプ出力手段と、を備えたタイムスタンプ発行装置において、前記時計装置で、時刻を計測する計測ステップと、前記受信手段で、基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信ステップと、前記署名確認手段で、前記受信した時刻証明書の電子署名を確認する署名確認ステップと、前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記検証手段で、前記時計装置が所定の精度で動作していることを検証する検証ステップと、前記証明対象情報取得手段で、時刻証明対象となる証明対象情報を取得する証明対象情報取得ステップと、前記署名確認手段で前記電子署名が確認され、前記検証手段で前記時計装置が所定の精度で動作していることが検証された場合に、前記タイムスタンプ生成手段で、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成ステップと、前記タイムスタンプ出力手段で、前記生成したタイムスタンプを出力するタイムスタンプ出力ステップと、から構成されたことを特徴とするタイムスタンプ発行方法を提供する(第9の構成)。
また、本発明は、基準時計装置で基準時刻を計測する計測機能と、前記計測された基準時刻を電子署名する署名機能と、前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成機能と、デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供機能と、をコンピュータで実現するための基準時刻提供プログラムを提供する(第10の構成)。
また、本発明は、時計装置で時刻を計測する計測機能と、基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信機能と、前記受信した時刻証明書の電子署名を確認する署名確認機能と、前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記時計装置が所定の精度で動作していることを検証する検証機能と、時刻証明対象となる証明対象情報を取得する証明対象情報取得機能と、前記署名確認機能により前記電子署名が確認され、前記検証機能により前記時計装置が所定の精度で動作していることが検証された場合に、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成機能と、前記生成したタイムスタンプを出力するタイムスタンプ出力機能と、をコンピュータで実現するためのタイムスタンプ発行プログラムを提供する(第11の構成)。
To achieve the above object, the present invention provides a reference clock device for measuring a reference time, signature means for electronically signing the measured reference time, and a time certificate including the reference time and the electronic signature And a time certificate providing means for providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting. (First configuration).
The present invention also provides a clock device for measuring time, a receiving means for receiving a time certificate including a reference time and an electronic signature of the reference time via digital broadcasting, and an electronic signature of the received time certificate. Signature verifying means for confirming, verifying means for verifying that the timepiece device is operating with a predetermined accuracy by comparing the time of the timepiece device with a reference time included in the time certificate, and time The certification target information acquisition means for acquiring the certification target information to be certified and the signature confirmation means confirm the electronic signature, and the verification means verifies that the timepiece device is operating with a predetermined accuracy. A time stamp generating means for generating a time stamp by digitally signing the time output by the timepiece device and the acquired certification object information, and the generated time stamp. Providing a timestamp issuing apparatus characterized by comprising a time stamp output means for outputting the flop, the (second configuration).
In the second configuration, the time stamp generating means generates a time stamp when it is confirmed that the reference time used for verification is later than the reference time used in the previous verification. It can also be configured (third configuration).
In the second configuration or the third configuration, it is provided with time correcting means for correcting a time less than the predetermined accuracy measured by the timepiece device using a reference time included in the received time certificate. (Fourth configuration).
In the second configuration, the third configuration, or the fourth configuration, an accuracy changing unit that changes the predetermined accuracy to a first accuracy and a second accuracy that is lower than the first accuracy. And the accuracy changing means sets the predetermined accuracy to a second accuracy, and the verification means verifies the accuracy of the timepiece device using the second accuracy. It can also be configured to set the first accuracy (fifth configuration).
In any one configuration from the second configuration to the fifth configuration, a first operation mode in which the verification unit and the time stamp generation unit operate, and a second operation in which the time correction unit operates. It is also possible to provide an operation mode switching means for switching between the modes, and the operation mode switching means can be configured to switch the operation mode after the operation is completed in each operation mode (sixth configuration).
In any one of the configurations from the second configuration to the sixth configuration, charging confirmation means for confirming whether or not charging has been performed before the time stamp generation means generates a time stamp is provided. The time stamp generating means may be configured to generate a time stamp when charging is confirmed by the charging confirming means (seventh structure).
The present invention also provides a reference time providing apparatus comprising a reference clock device, a signing unit, a time certificate generating unit, and a time certificate providing unit, and measuring the reference time with the reference clock device. A signature step of electronically signing the measured reference time with the signing means, and a time certificate generation step of generating a time certificate including the reference time and the electronic signature with the time certificate generation means And a time certificate providing step of providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting by the time certificate providing means, A method is provided (eighth configuration).
The present invention also relates to a time stamp issuing device comprising a clock device, a receiving means, a signature confirmation means, a verification means, a certification object information acquisition means, a time stamp generation means, and a time stamp output means. A measuring step for measuring time by the clock device, a receiving step for receiving a time certificate including a reference time and an electronic signature of the reference time by the receiving means via digital broadcasting, and the signature checking means In the signature confirmation step for confirming the electronic signature of the received time certificate, the time of the timepiece device is compared with the reference time included in the time certificate, so that the timepiece device is predetermined by the verification means. A verification step for verifying that the system is operating at a high accuracy, and proof object information acquisition for acquiring proof object information as a time proof object by the proof object information acquisition means And when the electronic signature is confirmed by the signature confirmation means and the time verification apparatus verifies that the timepiece apparatus is operating with a predetermined accuracy, the time stamp generation means A time stamp generating step of generating a time stamp by digitally signing the time to output and the acquired certification object information; and a time stamp output step of outputting the generated time stamp by the time stamp output means; A time stamp issuing method characterized in that the time stamp issuing method is configured (9th configuration).
The present invention also provides a measuring function for measuring a reference time with a reference clock device, a signature function for electronically signing the measured reference time, and a time certificate for generating a time certificate including the reference time and the electronic signature. A reference time providing program for realizing a certificate generating function and a time certificate providing function for providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting is provided. Configuration).
The present invention also provides a measuring function for measuring time with a clock device, a receiving function for receiving a time certificate including a reference time and an electronic signature of the reference time via digital broadcasting, and the received time certificate. And a verification function for verifying that the timepiece device is operating with a predetermined accuracy by comparing the time of the timepiece device with a reference time included in the time certificate. A certification object information acquisition function for acquiring certification object information to be a time certification object, and the electronic signature is confirmed by the signature confirmation function, and the timepiece device is operating with a predetermined accuracy by the verification function. A time stamp generating function for generating a time stamp by digitally signing the time output by the timepiece device and the acquired certification object information when verified, and Providing a time stamp issuing program for implementing a time stamp output function of outputting a timestamp form, with the computer (eleventh configuration).

本発明によれば、デジタル放送で電子署名付きの基準時刻を配信し、これを用いて時刻配信を行うことにより、高精度・高信頼を確保しつつ、低コストでタイムスタンプを発行することができる。   According to the present invention, it is possible to issue a time stamp at low cost while ensuring high accuracy and high reliability by distributing a reference time with an electronic signature in digital broadcasting and performing time distribution using this. it can.

(1)実施の形態の概要
デジタル放送によって時刻証明書を定期的に配信する。受信機は高度なセキュリティを有する耐タンパモジュールを有し、これにより、秘密鍵管理、時刻計測が行われる。この耐タンパモジュールは3つの動作モードの切替が可能で、バックデイトを許さない構造をとる。本実施の形態では、時刻配信をデジタル放送により行うため、高精度な時刻配信を低コストで行うことができる。
(1) Outline of Embodiment A time certificate is periodically distributed by digital broadcasting. The receiver has a tamper-resistant module having high security, whereby secret key management and time measurement are performed. This tamper resistant module can be switched between three operation modes and has a structure that does not allow back date. In this embodiment, since time distribution is performed by digital broadcasting, highly accurate time distribution can be performed at low cost.

タイムスタンプシステム1(図1)において、デジタル放送局2は、基準時刻を電子署名した時刻証明書3を時報コンテンツとして放送する。タイムスタンプサーバ4は、時刻証明書3を受信して基準時刻を取得し、これを用いて内部クロック17の更正と監査を行う。基準時刻は電子署名されているため、タイムスタンプサーバ4は、これによって基準時刻の正統性を確認することができる。   In the time stamp system 1 (FIG. 1), the digital broadcasting station 2 broadcasts a time certificate 3 with an electronic signature of a reference time as a time signal content. The time stamp server 4 receives the time certificate 3 and acquires the reference time, and uses this to correct and audit the internal clock 17. Since the reference time is electronically signed, the time stamp server 4 can confirm the legitimacy of the reference time.

内部クロック17は、時刻ラベル(例えば分以上の部分)と時刻ラベルよりも小さい単位である精度部分(例えば秒以下の部分)に分割して管理されており、タイムスタンプサーバ4は、時刻ラベルに対して監査を行い、精度部分に対して更正を行う。
また、監査の際に新しく受信した時刻証明書3の時刻が前回に受信した時刻証明書3よりも進んでいることを確認する
The internal clock 17 is managed by being divided into a time label (for example, a part of minutes or more) and a precision part (for example, a part of seconds or less) which is a unit smaller than the time label. An audit is performed and the accuracy is corrected.
Also, it is confirmed that the time of the time certificate 3 newly received at the time of the audit is ahead of the time certificate 3 received last time.

このようにタイムスタンプサーバ4は、内部クロック17を操作できる範囲を精度部分に限定し、更に、新旧の時刻証明書3を比較することにより、内部クロック17のバックデイトを防止することができる。
そして、タイムスタンプサーバ4は、更正・監査された内部クロック17の時刻により、クライアント端末5から送信されてきた情報(ハッシュ値など)に対してタイムスタンプを発行する。
As described above, the time stamp server 4 can limit the range in which the internal clock 17 can be operated to the precision portion, and can prevent the back clock of the internal clock 17 by comparing the old and new time certificates 3.
The time stamp server 4 issues a time stamp to the information (hash value or the like) transmitted from the client terminal 5 based on the time of the internal clock 17 that has been corrected and audited.

(2)実施の形態の詳細
図1は、本実施の形態に係るタイムスタンプシステム1のシステム構成の一例を示した図である。
タイムスタンプシステム1は、デジタル放送局2、タイムスタンプサーバ4、クライアント端末5、5、・・・などから構成されており、タイムスタンプサーバ4とクライアント端末5、5、・・・は、インターネットなどのネットワーク6で接続可能に配設されている。
なお、以下では、クライアント端末5、5、・・・を特に区別しないため、単にクライアント端末5と記す。
(2) Details of Embodiment FIG. 1 is a diagram illustrating an example of a system configuration of a time stamp system 1 according to the present embodiment.
The time stamp system 1 includes a digital broadcasting station 2, a time stamp server 4, client terminals 5, 5,..., And the time stamp server 4 and client terminals 5, 5,. The network 6 can be connected.
In the following description, the client terminals 5, 5,.

デジタル放送局2は、デジタル放送によりラジオ番組やテレビ番組などのコンテンツを提供する放送局であり、コンテンツをデジタル信号として送信用アンテナから周囲の空間に送信するデジタル放送システムを備えている。なお、デジタル放送局2は光ファイバなどの媒体を用いて有線放送を行ってもよい。   The digital broadcasting station 2 is a broadcasting station that provides contents such as radio programs and television programs by digital broadcasting, and includes a digital broadcasting system that transmits the contents as digital signals from the transmitting antenna to the surrounding space. The digital broadcasting station 2 may perform cable broadcasting using a medium such as an optical fiber.

デジタル放送局2は、時刻証明書3を生成する時報装置7を備えており、時報装置7が所定時間ごとに作成した時刻証明書3を時報コンテンツとして放送する。所定時間は、例えば、1秒間隔、1分間隔、5分間隔など、タイムスタンプシステム1の運用に適した間隔を設定することができる。   The digital broadcasting station 2 includes a time signal device 7 that generates a time certificate 3, and broadcasts the time certificate 3 created by the time signal device 7 every predetermined time as time signal contents. As the predetermined time, for example, an interval suitable for the operation of the time stamp system 1 such as an interval of 1 second, an interval of 1 minute, and an interval of 5 minutes can be set.

なお、時報装置7をデジタル放送局2の外部に設置し、これをネットワークで接続するように構成することも可能である。
更に、時報装置7はデジタル放送局2が運営してもよいし、あるいは、タイムスタンプサービスの事業者が運用し、デジタル放送局2に時報コンテンツの送信を依頼する事業形態としてもよい。
It is also possible to install the time signal device 7 outside the digital broadcasting station 2 and connect it via a network.
Further, the time signal device 7 may be operated by the digital broadcast station 2 or may be operated by a time stamp service provider and request the digital broadcast station 2 to transmit time signal contents.

時報装置7は、原子時計22と配信用電子署名鍵23を記憶した記憶装置を備えており、これらを用いて時刻証明書3を生成してデジタル放送システムに提供する。
時刻証明書3は、テキストデータなどの簡便なデータ形式で構成することができるため、デジタル放送局2は、極めて低い負荷にて時刻証明書3を送信することができる。
The time signal device 7 includes a storage device that stores an atomic clock 22 and a digital signature key 23 for distribution. The time signal device 7 generates a time certificate 3 using the storage device and provides it to the digital broadcasting system.
Since the time certificate 3 can be configured in a simple data format such as text data, the digital broadcasting station 2 can transmit the time certificate 3 with an extremely low load.

時刻証明書3には、基準時刻、制限時間、シリアル番号、固有情報、ハッシュ値、電子署名など記録されている。
基準時刻は、原子時計22が出力した現在時刻を遅延時間を考慮して補正した時刻であり、タイムスタンプサーバ4は基準時刻を現在時刻として用いることができる。
制限時間は、時刻証明書3に記録してある基準時刻の有効期限である。タイムスタンプサーバ4は、基準時刻で内部クロック17を監査した後、この有効期限内でタイムスタンプを発行することができる。このタイムスタンプを発行できる時間は活性化時間と呼ばれることもある。
In the time certificate 3, a reference time, a time limit, a serial number, unique information, a hash value, an electronic signature, and the like are recorded.
The reference time is a time obtained by correcting the current time output from the atomic clock 22 in consideration of the delay time, and the time stamp server 4 can use the reference time as the current time.
The time limit is the expiration date of the reference time recorded in the time certificate 3. The time stamp server 4 can issue a time stamp within the expiration date after auditing the internal clock 17 at the reference time. The time during which this time stamp can be issued is sometimes called the activation time.

シリアル番号は、時報装置7が発行順に付与する時刻証明書3の番号である。また、セキュリティを高めるためにシリアル番号として乱数を用いることもできる。
固有情報は、例えば、タイムスタンプサーバ4の型番など、時刻証明書3の送信先に関する情報である。
図示しないが、時刻証明書3の有効期限や、時報装置7のID情報など、その他の情報を時刻証明書3に含めることができる。
The serial number is the number of the time certificate 3 assigned by the time signal device 7 in the order of issue. In addition, a random number can be used as a serial number in order to increase security.
The unique information is information relating to the transmission destination of the time certificate 3 such as the model number of the time stamp server 4.
Although not shown, other information such as the expiration date of the time certificate 3 and the ID information of the time signal device 7 can be included in the time certificate 3.

ハッシュ値は、現在時刻、制限時間、シリアル番号、固有情報など、改竄を防止する情報を、ハッシュ関数によって演算したハッシュ値である。
ハッシュ関数は一方向性関数の一種であり、ハッシュ値から元の情報の復元は著しく困難となっている。
電子署名は、ハッシュ値を配信用電子署名鍵23で暗号化したデジタル署名である。
配信用電子署名鍵23は秘密鍵であり、タイムスタンプサーバ4が記憶している配信用公開鍵15がこれに対応する公開鍵となっている。
The hash value is a hash value obtained by calculating information for preventing falsification such as current time, time limit, serial number, and unique information by a hash function.
The hash function is a kind of one-way function, and it is extremely difficult to restore the original information from the hash value.
The electronic signature is a digital signature obtained by encrypting a hash value with the distribution electronic signature key 23.
The distribution electronic signature key 23 is a secret key, and the distribution public key 15 stored in the time stamp server 4 is a public key corresponding thereto.

タイムスタンプサーバ4は、クライアント端末5からの要求に応じてタイムスタンプを発行するサーバ装置である。
ここで、タイムスタンプとは、電子文書の確定時刻を証明する情報であり、その文書がいつから存在しているのか、及びその時点から第三者のみならず作成者本人にも改竄されていないことを証明するものである。
The time stamp server 4 is a server device that issues a time stamp in response to a request from the client terminal 5.
Here, the time stamp is information that proves the confirmation time of the electronic document, and from when the document has existed, and has not been falsified not only by the third party but also by the creator. It proves that.

セキュリティを高めるため、タイムスタンプサーバ4は、タイムスタンプ発行に関わる情報処理を耐タンパ部10の内部で行う。
耐タンパ部10は、配信用公開鍵15、タイムスタンプ用電子署名鍵16、内部クロック17、前回証明書18、モード切替部13など、タイムスタンプ発行に必要な機能や情報を備えている。
耐タンパ部10は、時刻証明書3を用いて内部クロック17を監査する監査モード、外部クロック12の時刻で内部クロック17を更正する同期モード、クライアント端末5にタイムスタンプを発行するスタンプモードを備えており、モード切替部13で動作モードを切り替える。
In order to increase security, the time stamp server 4 performs information processing related to time stamp issuance inside the tamper resistant unit 10.
The tamper resistant unit 10 has functions and information necessary for issuing a time stamp, such as a distribution public key 15, a time stamp digital signature key 16, an internal clock 17, a previous certificate 18, and a mode switching unit 13.
The tamper resistant unit 10 includes an audit mode for auditing the internal clock 17 using the time certificate 3, a synchronous mode for correcting the internal clock 17 at the time of the external clock 12, and a stamp mode for issuing a time stamp to the client terminal 5. The mode switching unit 13 switches the operation mode.

配信用公開鍵15は、デジタル放送局2の配信用電子署名鍵23に対応する公開鍵であって、時刻証明書3の電子署名を確認するのに用いられる。
タイムスタンプ用電子署名鍵16は、秘密鍵であって、クライアント端末5から送信されてきたハッシュ値を現在時刻と共に電子署名してタイムスタンプを発行するのに用いられる。
内部クロック17は、タイムスタンプで証明する時刻を計測するための時計装置である。
The distribution public key 15 is a public key corresponding to the distribution electronic signature key 23 of the digital broadcasting station 2 and is used to confirm the electronic signature of the time certificate 3.
The time stamp electronic signature key 16 is a secret key, and is used to issue a time stamp by electronically signing the hash value transmitted from the client terminal 5 together with the current time.
The internal clock 17 is a clock device for measuring the time proved by the time stamp.

前回証明書18は、前回の監査の際にデジタル放送局2から送られてきた時刻証明書3を記憶しておいたものであり、今回送られてきた時刻証明書3の基準時刻が前回の時刻証明書3の基準時刻よりも後であることを確認するのに用いられる。
これによって、例えば、どこかに保存しておいた時刻証明書3によって内部クロック17をバックデイトすることを防ぐことができる。
工場出荷時には、デフォルトの前回証明書18が記憶されている。
The previous certificate 18 stores the time certificate 3 sent from the digital broadcasting station 2 at the time of the previous audit, and the reference time of the time certificate 3 sent this time is the previous time. Used to confirm that the time is later than the reference time of the time certificate 3.
Thereby, for example, it is possible to prevent the internal clock 17 from being back dated by the time certificate 3 stored somewhere.
At the time of factory shipment, a default previous certificate 18 is stored.

外部クロック12は、例えば、マザーボードなどに設置された水晶発振式の時計装置であって、時刻証明書3の基準時刻によって、例えばミリ秒単位まで更正することができる。
外部クロック12の時刻は、内部クロック17を更正するのに用いられる。即ち、タイムスタンプサーバ4は、基準時刻によりまず外部クロック12を更正し、そして外部クロック12を用いて内部クロック17を構成する。
内部クロック17は、耐タンパ部10の内部に形成されるという制約があるため、高精度の時計装置で構成することが困難である。そのため、精度を保つために外部クロック12を参照して内部クロック17の精度部分を更正するように構成した。
The external clock 12 is, for example, a crystal oscillation type clock device installed on a mother board or the like, and can be corrected to, for example, milliseconds by the reference time of the time certificate 3.
The time of the external clock 12 is used to correct the internal clock 17. That is, the time stamp server 4 first corrects the external clock 12 based on the reference time, and configures the internal clock 17 using the external clock 12.
Since the internal clock 17 has a restriction that it is formed inside the tamper-resistant portion 10, it is difficult to configure it with a highly accurate timepiece device. Therefore, in order to maintain accuracy, the external clock 12 is referred to correct the accuracy portion of the internal clock 17.

次に、図2を用いてタイムスタンプサーバ4のハードウェア的な構成について説明する。
タイムスタンプサーバ4は、耐タンパ部10、CPU(Central Processing Unit)29、ROM(Read Only Memory)27、RAM(Random Access Memory)30、外部クロック12、通信部26、記憶部33、放送受信部34などがバスラインによって接続して構成されており、タイムスタンプ発行装置として機能する。
Next, the hardware configuration of the time stamp server 4 will be described with reference to FIG.
The time stamp server 4 includes a tamper resistant unit 10, a CPU (Central Processing Unit) 29, a ROM (Read Only Memory) 27, a RAM (Random Access Memory) 30, an external clock 12, a communication unit 26, a storage unit 33, and a broadcast receiving unit. 34 and the like are connected by a bus line, and function as a time stamp issuing device.

耐タンパ部10は、CPU21、内部クロック17、ROM28、RAM24、EEPROM(Electrically Erasable and Programmable ROM)25などを図示しないバスラインによって接続した耐タンパチップによって構成されており、高度なセキュリティレベルを維持している。
耐タンパチップは、内部構造の解析や不正操作が著しく困難になるように構成されたICチップであり、しかも、内部構造を解析しようとすると自動的に壊れるようになっている。
The tamper resistant part 10 is composed of a tamper resistant chip in which a CPU 21, an internal clock 17, a ROM 28, a RAM 24, an EEPROM (Electrically Erasable and Programmable ROM) 25, etc. are connected by a bus line (not shown), and maintains a high security level. ing.
The tamper resistant chip is an IC chip configured so that the analysis and unauthorized operation of the internal structure are extremely difficult, and it is automatically broken when trying to analyze the internal structure.

CPU21は、EEPROM25、ROM28、RAM24などに記憶されているプログラムに従って各種の情報処理を行う中央処理装置である。
本実施の形態では、耐タンパ部10の動作モードの切り替え、時刻証明書3の正統性の確認、内部クロック17の監査、内部クロック17の更正、タイムスタンプの発行などの各種情報処理を行う。
ROM28は、読み出し専用の記憶装置(メモリ)であって、耐タンパ部10を駆動するための基本的なプログラムやパラメータなどを格納している。
RAM24は、読み書き可能な記憶装置であって、CPU21が各種の情報処理を行う際のワーキングエリアを提供する。
The CPU 21 is a central processing unit that performs various types of information processing according to programs stored in the EEPROM 25, the ROM 28, the RAM 24, and the like.
In the present embodiment, various types of information processing such as switching of the operation mode of the tamper resistant unit 10, confirmation of the authenticity of the time certificate 3, auditing of the internal clock 17, correction of the internal clock 17, issuance of a time stamp, and the like are performed.
The ROM 28 is a read-only storage device (memory), and stores basic programs, parameters, and the like for driving the tamper resistant unit 10.
The RAM 24 is a readable / writable storage device and provides a working area when the CPU 21 performs various types of information processing.

EEPROM25は、読み書きが可能な不揮発性の記憶装置であり、プログラムやデータなどが記憶されている。
本実施の形態では、一例として、配信用公開鍵15、タイムスタンプ用電子署名鍵16、前回証明書18、タイムスタンププログラムなどが記憶されている。
タイムスタンププログラムは、CPU21に、耐タンパ部10の動作モードの切り替え、時刻証明書3の正統性の確認、内部クロック17の監査・更正、タイムスタンプの発行などの機能を発揮させるためのプログラムである。
The EEPROM 25 is a readable / writable nonvolatile storage device, and stores programs, data, and the like.
In this embodiment, as an example, a distribution public key 15, a time stamp digital signature key 16, a previous certificate 18, a time stamp program, and the like are stored.
The time stamp program is a program for causing the CPU 21 to perform functions such as switching the operation mode of the tamper resistant unit 10, checking the authenticity of the time certificate 3, auditing / correcting the internal clock 17, and issuing a time stamp. is there.

CPU29は、記憶部33、ROM27、RAM30などに記憶されているプログラムに従って各種の情報処理を行う中央処理装置である。
CPU29は、例えば、デジタル放送局2から受信した時刻証明書3を耐タンパ部10へ出力したり、クライアント端末5からハッシュ値を受信して耐タンパ部10に出力したり、耐タンパ部10から出力されたタイムスタンプをクライアント端末5に送信したりする。
The CPU 29 is a central processing unit that performs various types of information processing according to programs stored in the storage unit 33, the ROM 27, the RAM 30, and the like.
For example, the CPU 29 outputs the time certificate 3 received from the digital broadcasting station 2 to the tamper resistant unit 10, receives a hash value from the client terminal 5 and outputs it to the tamper resistant unit 10, The output time stamp is transmitted to the client terminal 5.

外部クロック12は、タイムスタンプサーバ4を駆動するためのクロックを発生させるほか、内部クロック17の更正に用いられる。
なお、内部クロック17の更正には、電波時計用の基準電波や、GPS衛生から送信されるGPS信号に含まれる時刻、その他の時刻源を用いることも可能である。
The external clock 12 generates a clock for driving the time stamp server 4 and is used for correcting the internal clock 17.
For the correction of the internal clock 17, it is possible to use a reference radio wave for a radio clock, a time included in a GPS signal transmitted from GPS hygiene, or other time sources.

ROM27は、読み出し専用の記憶装置であって、CPU29を駆動するための基本的なプログラムやパラメータなどを格納している。
RAM30は、読み書き可能な記憶装置であって、CPU29が各種の情報処理を行う際のワーキングエリアを提供する。
The ROM 27 is a read-only storage device, and stores basic programs and parameters for driving the CPU 29.
The RAM 30 is a readable / writable storage device and provides a working area when the CPU 29 performs various types of information processing.

記憶部33は、例えば、ハードディスク装置や半導体記憶装置などによって構成されており、各種プログラムやデータなどが記憶されている。
記憶部33に記憶してあるプログラムを実行することにより、デジタル放送局2からの時刻証明書3の受信、クライアント端末5との送受信などの機能をCPU29に発揮させることができる。
The storage unit 33 is configured by, for example, a hard disk device or a semiconductor storage device, and stores various programs and data.
By executing the program stored in the storage unit 33, the CPU 29 can perform functions such as reception of the time certificate 3 from the digital broadcasting station 2 and transmission / reception with the client terminal 5.

通信部26は、タイムスタンプサーバ4をネットワーク6に接続するためのインターフェースを構成しており、CPU21やCPU29は通信部26を介してクライアント端末5と通信することができる。
放送受信部34は、デジタル放送の受信機能を有し、デジタル放送局2から送信された時刻証明書3を受信して、これをCPU29に提供する。放送受信部34は、時刻証明書3を受信する受信手段として機能している。
The communication unit 26 constitutes an interface for connecting the time stamp server 4 to the network 6, and the CPU 21 and CPU 29 can communicate with the client terminal 5 via the communication unit 26.
The broadcast receiving unit 34 has a digital broadcast receiving function, receives the time certificate 3 transmitted from the digital broadcast station 2, and provides it to the CPU 29. The broadcast receiving unit 34 functions as a receiving unit that receives the time certificate 3.

時報装置7のハードウェア構成は、基本的にタイムスタンプサーバ4と同様であり、CPU、ROM、RAM、記憶装置、原子時計22、入出力インターフェースなどがバスラインで接続して構成されている。記憶装置には、配信用電子署名鍵23が記憶されている。
原子時計は、基準時刻を計測するための基準時計装置として機能している。なお、基準時刻は、原子時計の計測値を遅延時間で補正して求められる。
CPUは、記憶装置などに記憶されているプログラムを実行することにより、基準時刻を配信用電子署名鍵23で電子署名する機能(署名手段)、時刻証明書3を生成する機能(時刻証明書生成手段)、時刻証明書3を入出力インターフェースを経由してデジタル放送局2のデジタル放送システムに送信して提供する機能(時刻証明書提供手段)を発揮する。このように、時報装置7は、基準時刻提供装置としての機能を有している。
クライアント端末5の構成もタイムスタンプサーバ4や時報装置7と基本的に同様である。
The hardware configuration of the time signal device 7 is basically the same as that of the time stamp server 4 and includes a CPU, a ROM, a RAM, a storage device, an atomic clock 22, an input / output interface and the like connected by a bus line. The storage device stores an electronic signature key 23 for distribution.
The atomic clock functions as a reference clock device for measuring a reference time. The reference time is obtained by correcting the measured value of the atomic clock with the delay time.
The CPU executes a program stored in a storage device or the like to thereby electronically sign a reference time with the distribution electronic signature key 23 (signature means), and a function to generate a time certificate 3 (time certificate generation) Means), a function of providing the time certificate 3 by transmitting it to the digital broadcasting system of the digital broadcasting station 2 via the input / output interface (time certificate providing means). Thus, the time signal device 7 has a function as a reference time providing device.
The configuration of the client terminal 5 is basically the same as that of the time stamp server 4 and the time signal device 7.

次に、図3を用いて内部クロック17の監査と更正について説明する。
図3は、内部クロック17が計測する時刻の一例を示している。この例では、内部クロック17は百ミリ秒単位で時刻を計測し、「2005年3月30日15時30分20秒2百ミリ秒」となっている。
耐タンパ部10は、内部クロック17の計測する時刻を、時刻ラベルと、時刻ラベルよりも単位が小さい精度部分の2つの部分に区分して管理している。
Next, auditing and correction of the internal clock 17 will be described with reference to FIG.
FIG. 3 shows an example of the time measured by the internal clock 17. In this example, the internal clock 17 measures the time in units of one hundred milliseconds, and is “March 30, 2005, 15:30, 20 seconds, and two hundred milliseconds”.
The tamper resistant part 10 manages the time measured by the internal clock 17 by dividing it into two parts: a time label and an accuracy part whose unit is smaller than the time label.

タイムスタンプは、例えば、日まで証明できればよい場合や、時間まで証明できればよい場合になど、証明対象によって必要とされる時刻精度が異なる。
そこで、耐タンパ部10は、必要とされる時刻精度を時刻ラベルとし、それよりも小さい単位を精度部分とし、外部クロック12による更正を精度部分に対して行うことにより時刻ラベルの改竄を防止している。
このように、内部クロック17の時刻をセキュリティを提供する部分(時刻ラベル)と品質を提供する部分(精度部分)に区分することにより、セキュリティと品質の両方をユーザに提供することができる。
For example, when the time stamp only needs to be proved up to the day or when it is only necessary to prove up to the time, the time accuracy required for the certification varies.
Therefore, the tamper resistant unit 10 uses the required time accuracy as a time label, sets a smaller unit as the accuracy portion, and corrects the accuracy portion by the external clock 12 to prevent tampering of the time label. ing.
In this way, by dividing the time of the internal clock 17 into a security providing part (time label) and a quality providing part (accuracy part), both security and quality can be provided to the user.

図の例では、一例として、時刻ラベルは分以上の部分(「2005年3月30日15時30分」)となっており、精度部分は秒以下の部分(「20秒2百ミリ秒」)となっている。
この場合、耐タンパ部10は、内部クロック17の秒以下の単位を外部クロック12に同期させることにより内部クロック17を更正する。
また、時刻監査は、内部クロック17の分以上の部分を時刻証明書3の基準時刻と対比することにより行う。
なお、時刻ラベルと精度部分は隣接している必要はなく、時刻ラベルを分以上、精度部分をミリ秒以下などとすることも可能である。
In the example of the figure, as an example, the time label is a part of minutes or more (“March 30, 2005, 15:30”), and the precision part is a part of seconds or less (“20 seconds, 2200 milliseconds”). ).
In this case, the tamper resistant unit 10 corrects the internal clock 17 by synchronizing the unit of the internal clock 17 in seconds or less with the external clock 12.
Further, the time audit is performed by comparing a portion of the internal clock 17 or more with the reference time of the time certificate 3.
Note that the time label and the precision part do not need to be adjacent to each other, and the time label can be set to minutes or more, and the precision part can be set to milliseconds or less.

次に、図4を用いてモード切替部13が行うモードの切り替えについて説明する。
図4に示したように、モード切替部13は、耐タンパ部10の動作モードを監査モード→スタンプモード→同期モード→監査モード→・・・の順序で順次切り替える。
監査モードとスタンプモードは、時刻ラベルを扱うため、高いセキュリティを要する動作モードであり(以下、セキュリティモード)、一方、同期モードは精度部分を扱うため、高いセキュリティが必ずしも必要ない動作モード(以下、一般モード)である。
Next, the mode switching performed by the mode switching unit 13 will be described with reference to FIG.
As shown in FIG. 4, the mode switching unit 13 sequentially switches the operation mode of the tamper resistant unit 10 in the order of audit mode → stamp mode → synchronous mode → audit mode →.
The audit mode and the stamp mode are operation modes that require high security because they handle time labels (hereinafter referred to as security mode), while the synchronization mode deals with the precision portion, and therefore, an operation mode that does not necessarily require high security (hereinafter referred to as “security mode”). General mode).

モード切替部13は、現在動作中の動作モードが完了してから耐タンパ部10の動作モードを次の動作モードを切り替える。
そのため、スタンプモードで動作するためには、監査モードと同期モードが完了していることが必要となり、耐タンパ部10は、監査、同期された時刻にてタイムスタンプを発行することができる。
The mode switching unit 13 switches the operation mode of the tamper resistant unit 10 to the next operation mode after the currently operating mode is completed.
Therefore, in order to operate in the stamp mode, it is necessary that the audit mode and the synchronization mode are completed, and the tamper resistant unit 10 can issue a time stamp at the time when the audit and synchronization are performed.

このように、耐タンパ部10は、セキュリティモードと一般モードを切り替えて動作することにより、高いセキュリティの必要な処理と高いセキュリティの必要のない処理を同時に行うことを防止している。
しかも、各動作モードは独立したモジュールによって動作するため、耐タンパ部10は、セキュリティモードでの処理と一般モードでの処理が耐タンパ部10内で干渉することを防ぐことができ、クラッキングなどの不正アクセスに対して高い耐性を備えている。
In this manner, the tamper resistant unit 10 operates by switching between the security mode and the general mode, thereby preventing simultaneous processing that requires high security and processing that does not require high security.
Moreover, since each operation mode is operated by an independent module, the tamper resistant unit 10 can prevent the processing in the security mode and the process in the general mode from interfering with each other in the tamper resistant unit 10, such as cracking. High resistance against unauthorized access.

なお、耐タンパ部10では、セキュリティモードを監査モードとスタンプモードに区分して切り替えているが、これらは何れもセキュリティモードなので、同じモードにて監査とスタンプの発行を行うように構成してもよい。   In the tamper resistant unit 10, the security mode is switched between the audit mode and the stamp mode, but since these are both security modes, it may be configured to perform the audit and issue the stamp in the same mode. Good.

このように、耐タンパ部10は、検証手段(監査を行う)と時刻証明情報生成手段(タイムスタンプを発行する)が動作する第1の動作モードと、前記時刻更正手段(秒単位の同期をとる)が動作する第2の動作モード(同期モード)と、を切り替える動作モード切替手段(モード切替部13)を具備し、前記動作モード切替手段は、それぞれの動作モードにて動作が完了した後に動作モードを切り替える。   As described above, the tamper resistant unit 10 includes the first operation mode in which the verification unit (inspects) and the time certification information generation unit (issues the time stamp) operate, and the time correction unit (synchronization in units of seconds). The operation mode switching means (mode switching unit 13) for switching between the second operation mode (synchronous mode) in which the operation mode is operated, and the operation mode switching means after the operation is completed in each operation mode Switch the operation mode.

なお、本実施の形態では、同期モード→監査モード→スタンプモード→同期モード→・・・の順序でモードの切り替えを行ったが、モード切り替えの順序はこれに限定するものではなく、例えば、監査モード→同期モード→スタンプモード→監査モード・・・など、他の順序で動作モードを切り替えてもよい。
ただし、前者(同期モード→監査モード→スタンプモード→同期モード→・・・)の方が、監査後にタイムスタンプの発行を行うため、タイムスタンプサーバ4の信頼性は高まる。
In this embodiment, the mode is switched in the order of synchronous mode → audit mode → stamp mode → synchronous mode →... However, the order of mode switching is not limited to this, and for example, auditing The operation mode may be switched in another order such as mode → synchronous mode → stamp mode → audit mode.
However, since the former (synchronous mode → audit mode → stamp mode → synchronous mode →...) Issues a time stamp after the audit, the reliability of the time stamp server 4 is enhanced.

タイムスタンプサーバ4(好ましくは耐タンパ部10内部)に課金が行われたか否かを確認する課金モジュール(課金確認手段)を設けるとタイムスタンプサーバ4に対して課金を行うことができる。
この場合、モード切替部13は、監査モードからスタンプモードに動作モードを切り替える前に課金モジュールによって課金がなされたか否かを確認し、課金が確認できた場合に動作モードを監査モードからスタンプモードに切り替え、課金が確認できなかった場合は、動作モードを監査モードから同期モードに切り替える。
If the time stamp server 4 (preferably inside the tamper resistant unit 10) is provided with a billing module (billing confirmation means) for confirming whether or not billing has been performed, the time stamp server 4 can be billed.
In this case, the mode switching unit 13 checks whether or not charging has been performed by the charging module before switching the operation mode from the audit mode to the stamp mode. If the charging is confirmed, the operation mode is switched from the audit mode to the stamp mode. When switching or charging cannot be confirmed, the operation mode is switched from the audit mode to the synchronous mode.

このようにモード切替部13を構成することにより、耐タンパ部10は、課金が行われた場合にタイムスタンプを発行することができ、課金が行われない場合は、監査モードと同期モードを繰り返し、課金が確認できるまで待機することができる。
なお、課金の方法、及び確認方法は、公知のシステムや方法を用いて構成することができる。
By configuring the mode switching unit 13 in this way, the tamper resistant unit 10 can issue a time stamp when charging is performed, and repeats the audit mode and the synchronization mode when charging is not performed. , Can wait until the billing can be confirmed.
The billing method and the confirmation method can be configured using a known system or method.

図5は、時報装置7が遅延時間による基準時刻の補正を行うプロトコルを説明するための概念図である。
時報装置7が時刻証明書3を出力してからタイムスタンプサーバ4がこれを受信するまでには、様々な原因(例えば、時刻証明書3を作成するのに要する時間や回路による遅延など)により遅延時間Δtが生じる。
時報装置7とタイムスタンプサーバ4を有線で接続した場合は、ネットワークの状況やタイムスタンプサーバ4の接続環境などによりΔtが変化する場合があるが、タイムスタンプシステム1では、無線によって時刻証明書3を放送するため、何れのタイムスタンプサーバ4においてもΔtはほぼ一定値となる。
FIG. 5 is a conceptual diagram for explaining a protocol in which the time signal device 7 corrects the reference time based on the delay time.
There are various reasons (for example, the time required to create the time certificate 3 and a delay due to a circuit, etc.) from when the time signal device 7 outputs the time certificate 3 to when the time stamp server 4 receives it. A delay time Δt occurs.
When the time signal device 7 and the time stamp server 4 are connected by wire, Δt may change depending on the network conditions, the connection environment of the time stamp server 4, etc. In the time stamp system 1, the time certificate 3 is transmitted wirelessly. Therefore, Δt is almost a constant value in any time stamp server 4.

そこで、時報装置7は、予め計測したΔtを記憶しておき、時刻証明書3に記載する基準時刻をΔtだけ進んだ値に設定する。即ち、原子時計22の出力値をTAとしてT=TA+Δtを基準時刻とする。
これによって、タイムスタンプサーバ4は、受信した時刻証明書3に記載されている基準時刻を現在時刻として扱うことができる。
なお、本実施の形態では、時報装置7で遅延の補正を行うように構成したが、これに限定せず、タイムスタンプサーバ4の側で遅延の補正を行うように構成することもできる。
この場合、時刻証明書3の基準時刻は、遅延時間を含んだ時刻となっており、タイムスタンプサーバ4は、基準時刻をΔtだけ進めた時刻を現在時刻とする。
Therefore, the time signal device 7 stores Δt measured in advance, and sets the reference time described in the time certificate 3 to a value advanced by Δt. That is, the output value of the atomic clock 22 is TA, and T = TA + Δt is the reference time.
Thereby, the time stamp server 4 can handle the reference time described in the received time certificate 3 as the current time.
In this embodiment, the time signal device 7 is configured to correct the delay. However, the present invention is not limited to this, and the time stamp server 4 may be configured to correct the delay.
In this case, the reference time of the time certificate 3 is a time including a delay time, and the time stamp server 4 sets a time obtained by advancing the reference time by Δt as the current time.

図6は、モード切替部13による耐タンパ部10のモード切り替えを説明するためのフローチャートである。
まず、モード切替部13は、耐タンパ部10を同期モードにて動作させる(ステップ5)。
耐タンパ部10が同期モードにて内部クロック17の更正を終えると、モード切替部13は、耐タンパ部10を監査モードで動作させる(ステップ10)。
FIG. 6 is a flowchart for explaining mode switching of the tamper resistant unit 10 by the mode switching unit 13.
First, the mode switching unit 13 operates the tamper resistant unit 10 in the synchronous mode (step 5).
When the tamper resistant unit 10 finishes correcting the internal clock 17 in the synchronous mode, the mode switching unit 13 operates the tamper resistant unit 10 in the audit mode (step 10).

耐タンパ部10が監査モードにて監査を終えると、モード切替部13は、課金モジュールにて課金が行われたか否かを確認し、課金が行われていない場合は(ステップ15;N)、動作モードを同期モードに切り替える。
課金が完了している場合(ステップ15;Y)、モード切替部13は、動作モードをスタンプモードに切り替える(ステップ20)。
なお、課金を行わない場合は、ステップ15を省略する。
When the tamper resistant unit 10 finishes the audit in the audit mode, the mode switching unit 13 confirms whether or not charging has been performed by the charging module. If charging has not been performed (step 15; N), Switch the operation mode to synchronous mode.
When charging has been completed (step 15; Y), the mode switching unit 13 switches the operation mode to the stamp mode (step 20).
If charging is not performed, step 15 is omitted.

モード切替部13は、スタンプモードを開始してから活性化時間が経過すると、強制終了を行うか否かを判断し、強制終了を行わない場合は(ステップ25;N)、動作モードを同期モードに切り替え、強制終了を行う場合は(ステップ25;Y)、耐タンパ部10の動作を停止させる。
強制終了を行うか否かの判断は、例えば、ステップ5〜ステップ20のループを予め設定された所定回数繰り返した場合や、外部から強制終了の指示があった場合など、各種設定することができる。
When the activation time elapses after starting the stamp mode, the mode switching unit 13 determines whether or not to forcibly terminate (step 25; N), and if the forced termination is not performed, the operation mode is set to the synchronous mode. When the forced termination is performed (step 25; Y), the operation of the tamper resistant part 10 is stopped.
Whether or not to forcibly terminate can be determined in various ways, for example, when the loop from step 5 to step 20 is repeated a predetermined number of times, or when forced termination is instructed from the outside. .

図7は、デジタル放送局2が時刻証明書3を送信する手順を説明するためのフローチャートである。
なお、以下のステップ30〜ステップ40は時報装置7が行い、ステップ45はデジタル放送局2のデジタル放送システムが行うものである。
まず、時報装置7は、原子時計22で現在時刻を計測する(ステップ30)。
次に、時報装置7は、ステップ30で計測した現在時刻を遅延時間Δtだけ進めた時刻を計算し、これを基準時刻として電子署名前の時刻証明書3(基準時刻、制限時間、シリアル番号、固有情報などを含む)を生成する(ステップ35)。
FIG. 7 is a flowchart for explaining a procedure for the digital broadcast station 2 to transmit the time certificate 3.
The following step 30 to step 40 are performed by the time signal device 7, and step 45 is performed by the digital broadcasting system of the digital broadcasting station 2.
First, the time signal device 7 measures the current time with the atomic clock 22 (step 30).
Next, the time signal device 7 calculates a time obtained by advancing the current time measured in step 30 by the delay time Δt, and uses this as a reference time to obtain the time certificate 3 (reference time, time limit, serial number, Including unique information) (step 35).

次に、時報装置7は、署名前の時刻証明書3のハッシュ値を計算し、計算されたハッシュ値を配信用電子署名鍵23で暗号化する。
そして、時報装置7は、署名前の時刻証明書3にハッシュ値と、電子署名(ハッシュ値を配信用電子署名鍵23で暗号化した情報)を付与することにより時刻証明書3に電子署名する(ステップ40)。
Next, the time signal device 7 calculates a hash value of the time certificate 3 before signature, and encrypts the calculated hash value with the electronic signature key 23 for distribution.
Then, the time signal device 7 digitally signs the time certificate 3 by giving a hash value and an electronic signature (information obtained by encrypting the hash value with the distribution electronic signature key 23) to the time certificate 3 before signature. (Step 40).

時報装置7は、時刻証明書3を生成するとこれをデジタル放送局2のデジタル放送システムに出力する。
デジタル放送局2のデジタル放送システムは、時刻証明書3を時報コンテンツとしてタイムスタンプサーバ4に送信する(ステップ45)。
The time signal device 7 generates the time certificate 3 and outputs it to the digital broadcasting system of the digital broadcasting station 2.
The digital broadcasting system of the digital broadcasting station 2 transmits the time certificate 3 to the time stamp server 4 as a time signal content (step 45).

図8は、タイムスタンプサーバ4が外部クロック12を更正する手順を説明するためのフローチャートである。
なお、耐タンパ部10は、タイムスタンプサーバ4に含まれるが、情報処理が耐タンパ部10で行われるか否かを明確にするため、図8では、耐タンパ部10を独立した動作主体として示している。
このため、フローチャート中「耐タンパ部」が行う情報処理はCPU21が行い、「タイムスタンプサーバ」が行う情報処理はCPU29が行うものである。以下のフローチャートでも同様である。
FIG. 8 is a flowchart for explaining the procedure by which the time stamp server 4 corrects the external clock 12.
Although the tamper resistant part 10 is included in the time stamp server 4, in order to clarify whether the information processing is performed by the tamper resistant part 10, in FIG. 8, the tamper resistant part 10 is an independent operating entity. Show.
Therefore, the CPU 21 performs information processing performed by the “tamper resistant part” in the flowchart, and the CPU 29 performs information processing performed by the “time stamp server”. The same applies to the following flowcharts.

まず、デジタル放送局2がデジタル放送により、時刻証明書3を不特定のタイムスタンプサーバ4に送信する(ステップ50)。
タイムスタンプサーバ4は、デジタル放送局2から時刻証明書3を受信し、これを例えばRAM30(図2)に記憶する(ステップ55)。
次に、タイムスタンプサーバ4は、時刻証明書3から基本時刻を読み取り、この基本時刻と同期するように外部クロック12を更正する(ステップ60)。
First, the digital broadcasting station 2 transmits the time certificate 3 to an unspecified time stamp server 4 by digital broadcasting (step 50).
The time stamp server 4 receives the time certificate 3 from the digital broadcasting station 2 and stores it in, for example, the RAM 30 (FIG. 2) (step 55).
Next, the time stamp server 4 reads the basic time from the time certificate 3 and corrects the external clock 12 so as to synchronize with this basic time (step 60).

外部クロック12の時刻は、タイムスタンプの発行においてセキュリティに関わる部分には用いられないので、タイムスタンプサーバ4は、時刻証明書3の電子署名の確認は行わずに、時刻証明書3に含まれる基準時刻を用いる。
なお、これは一例であって、タイムスタンプサーバ4が電子署名の確認を行うように構成することも可能である。
また、内部クロック17は、外部クロック12の精度部分しか参照しないため、外部クロック12の更正も精度部分だけ行ってもよい。
Since the time of the external clock 12 is not used for the security-related part in the time stamp issuance, the time stamp server 4 does not check the electronic signature of the time certificate 3 and is included in the time certificate 3. Use the reference time.
This is merely an example, and the time stamp server 4 may be configured to confirm the electronic signature.
Further, since the internal clock 17 refers only to the precision portion of the external clock 12, the external clock 12 may be corrected only for the precision portion.

図9は、耐タンパ部10が内部クロック17を更正する手順を説明するためのフローチャートである。以下の情報処理は、耐タンパ部10が同期モードの間に行われるものである。
まず、耐タンパ部10は、タイムスタンプサーバ4に対して現在時刻を要求する(ステップ70)。
FIG. 9 is a flowchart for explaining a procedure in which the tamper resistant unit 10 corrects the internal clock 17. The following information processing is performed while the tamper resistant unit 10 is in the synchronous mode.
First, the tamper resistant part 10 requests the current time from the time stamp server 4 (step 70).

タイムスタンプサーバ4は、外部クロック12が計測している時刻のうち、精度部分に該当する部分を耐タンパ部10に出力する(ステップ75)。
なお、外部クロック12が計測する時刻を耐タンパ部10に出力し、耐タンパ部10が精度部分に該当する部分を抽出するように構成してもよい。
耐タンパ部10は、タイムスタンプサーバ4から現在時刻を取得し、これを用いて内部クロック17が計測している時刻のうちの精度部分を更正する(ステップ80)。
The time stamp server 4 outputs a portion corresponding to the accuracy portion of the time measured by the external clock 12 to the tamper resistant portion 10 (step 75).
Note that the time measured by the external clock 12 may be output to the tamper resistant part 10 so that the tamper resistant part 10 extracts a part corresponding to the precision part.
The tamper resistant part 10 acquires the current time from the time stamp server 4 and corrects the accuracy part of the time measured by the internal clock 17 using this (Step 80).

このように、耐タンパ部10は、時刻証明書3に含まれる基準時刻を外部クロック12を介して取得し、内部クロック17の計測する所定の精度未満の単位の時刻(即ち、精度部分)を更正する時刻更正手段を備えている。
なお、時刻証明書3を耐タンパ部10の内部に取り込んで時刻証明書3の基準時刻で内部クロック17を直接更正するように構成することも可能である。
In this way, the tamper resistant unit 10 acquires the reference time included in the time certificate 3 via the external clock 12, and obtains the time of the unit less than the predetermined accuracy measured by the internal clock 17 (ie, the accuracy part). Time correction means for correcting is provided.
It is also possible to take the time certificate 3 into the tamper resistant part 10 and directly correct the internal clock 17 at the reference time of the time certificate 3.

図10は、耐タンパ部10が内部クロック17を監査する手順を説明するためのフローチャートである。以下の情報処理は、耐タンパ部10が監査モードの間に行われるものである。
まず、耐タンパ部10は、タイムスタンプサーバ4に時刻証明書3を要求する(ステップ100)。
タイムスタンプサーバ4は、耐タンパ部10から時刻証明書3の要求を受けると、デジタル放送局2から時刻証明書3が送信されてくるまで待機する。
FIG. 10 is a flowchart for explaining a procedure in which the tamper resistant unit 10 audits the internal clock 17. The following information processing is performed while the tamper resistant unit 10 is in the audit mode.
First, the tamper resistant part 10 requests the time certificate 3 from the time stamp server 4 (step 100).
When the time stamp server 4 receives the request for the time certificate 3 from the tamper resistant unit 10, it waits until the time certificate 3 is transmitted from the digital broadcasting station 2.

デジタル放送局2が時刻証明書3を送信すると(ステップ105)、タイムスタンプサーバ4は、これを受信して耐タンパ部10に出力する(ステップ110)。
耐タンパ部10は、時刻証明書3を取得すると、時刻証明書3に記載されている基準時刻のうちのラベル部分に該当する部分の時刻を、内部クロック17が計測している時刻のラベル部分と比較する(ステップ115)。
このように耐タンパ部10は、内部クロック17の時刻と時刻証明書3に含まれる基準時刻を比較することにより、内部クロック17が所定の精度(時刻ラベル)で動作していることを検証する検証手段を備えている。
When the digital broadcasting station 2 transmits the time certificate 3 (step 105), the time stamp server 4 receives this and outputs it to the tamper resistant part 10 (step 110).
When the tamper resistant part 10 obtains the time certificate 3, the label part of the time when the internal clock 17 measures the time corresponding to the label part of the reference time described in the time certificate 3 (Step 115).
In this way, the tamper resistant unit 10 verifies that the internal clock 17 is operating with a predetermined accuracy (time label) by comparing the time of the internal clock 17 with the reference time included in the time certificate 3. A verification means is provided.

両者の時刻が一致しない場合は(ステップ120;N)、モード切替部13が耐タンパ部10の動作モードを同期モードに移行させる(ステップ150)。
両者の時刻が一致する場合(ステップ120;Y)、耐タンパ部10は、時刻証明書3の電子署名を確認する(ステップ125)。
If both times do not match (step 120; N), the mode switching unit 13 shifts the operation mode of the tamper resistant unit 10 to the synchronous mode (step 150).
If both times match (step 120; Y), the tamper resistant part 10 confirms the electronic signature of the time certificate 3 (step 125).

この電子署名の確認は、次のようにして行われる。
まず、耐タンパ部10は、時刻証明書3の電子署名を配信用公開鍵15で復号化してハッシュ値を復元する。
そして、時刻証明書3に記載されている情報(現在時刻、制限時間など)からハッシュ値を生成する。両者が一致することにより耐タンパ部10は時刻証明書3が時報装置7によって作成された正統な情報であると確認する。
このように、耐タンパ部10は、時刻証明書3の電子署名を確認する署名確認手段を備えている。
The confirmation of the electronic signature is performed as follows.
First, the tamper resistant unit 10 decrypts the electronic signature of the time certificate 3 with the distribution public key 15 to restore the hash value.
Then, a hash value is generated from information (current time, time limit, etc.) described in the time certificate 3. When the two match, the tamper resistant unit 10 confirms that the time certificate 3 is legitimate information created by the time signal device 7.
As described above, the tamper resistant unit 10 includes a signature confirmation unit that confirms the electronic signature of the time certificate 3.

電子署名の確認により、時刻証明書3が有効であると確認できなかった場合(ステップ130;N)、耐タンパ部10はステップ100に戻り、再度タイムスタンプサーバ4に対して時刻証明書3を要求する。
時刻証明書3の有効性が確認できた場合(ステップ130;Y)、耐タンパ部10は、前回証明書18に記載されている基準時刻と、時刻証明書3に記載されている基準時刻の前後関係を比較する(ステップ135)。
When it is not possible to confirm that the time certificate 3 is valid by the confirmation of the electronic signature (step 130; N), the tamper resistant unit 10 returns to step 100, and again receives the time certificate 3 from the time stamp server 4. Request.
When the validity of the time certificate 3 can be confirmed (step 130; Y), the tamper resistant part 10 determines whether the reference time described in the previous certificate 18 and the reference time described in the time certificate 3 are the same. The context is compared (step 135).

今回受信した時刻証明書3の基準時刻が前回証明書18の基準時刻よりも前である場合(ステップ140;N)、耐タンパ部10は、ステップ100に戻る。
今回受信した時刻証明書3の基準時刻が前回証明書18の基準時刻よりも後である場合(ステップ140;Y)、耐タンパ部10は、前回証明書18を今回受信した時刻証明書3で置き換える(ステップ145)。
前回証明書18を今回受信した時刻証明書3で置き換えた後、モード切替部13は、耐タンパ部10をスタンプモードに移行させ、耐タンパ部10はタイムスタンプの発行を開始する。
When the reference time of the time certificate 3 received this time is before the reference time of the previous certificate 18 (step 140; N), the tamper resistant unit 10 returns to step 100.
When the reference time of the time certificate 3 received this time is later than the reference time of the previous certificate 18 (step 140; Y), the tamper resistant unit 10 uses the time certificate 3 that received the previous certificate 18 this time. Replace (step 145).
After replacing the previous certificate 18 with the time certificate 3 received this time, the mode switching unit 13 shifts the tamper resistant unit 10 to the stamp mode, and the tamper resistant unit 10 starts issuing a time stamp.

本実施の形態では、内部クロック17の監査の後、前回証明書18の確認を行ったが、前回証明書18の確認は必ずしも行わなくてよい。
また、前回証明書18の代わりに、前回証明書18に含まれていた基準時刻を記憶しておきこれを今回受信した時刻証明書3の基準時刻と比較するように更正することもできる。
In the present embodiment, the previous certificate 18 is confirmed after the internal clock 17 is audited, but the previous certificate 18 need not necessarily be confirmed.
Further, instead of the previous certificate 18, the reference time included in the previous certificate 18 can be stored and corrected so as to be compared with the reference time of the time certificate 3 received this time.

ここで、図11のフローチャートを用いて監査方法の変形例を説明する。
この例では、耐タンパ部10は、内部クロック17を第2精度で監査した後、第2精度での監査に成功した場合に第1精度で監査する。
ただし、第1精度は第2精度よりも精度が高くなっており、例えば、第2精度は分単位、第1精度は秒単位とすることができる。
このように低い精度から高い精度にかけて段階的に監査する方法は、例えば、タイムスタンプサーバ4を工場出荷後に初めて監査する場合や、高い精度で監査を行う場合などに有効である。
Here, a modified example of the auditing method will be described using the flowchart of FIG.
In this example, after the internal clock 17 is audited with the second accuracy, the tamper resistant unit 10 audits with the first accuracy when the audit with the second accuracy is successful.
However, the first accuracy is higher than the second accuracy. For example, the second accuracy can be in minutes, and the first accuracy can be in seconds.
Such a method of auditing in stages from low accuracy to high accuracy is effective, for example, when the time stamp server 4 is audited for the first time after shipment from the factory, or when auditing is performed with high accuracy.

まず、監査モードになると、耐タンパ部10は、前回に第1精度での監査を行ったか確認する(ステップ150)。
前回に第1精度での監査を行っていない場合(ステップ150;N)、耐タンパ部10は、第2精度で監査を実行する(ステップ155)。
これは、耐タンパ部10が、デジタル放送局2から時刻証明書3を取得し、これを用いて、内部クロック17が第2精度で一致するか確認することにより行う。
より詳細には、耐タンパ部10は、内部クロック17の時刻が時刻証明書3に記載されている時刻から所定時間以内(例えば、±(第2精度で計測できる最小時間の半分)以内)であることを確認する。
First, when entering the audit mode, the tamper resistant unit 10 confirms whether the audit was performed with the first accuracy last time (step 150).
When the audit with the first accuracy is not performed last time (step 150; N), the tamper resistant part 10 executes the audit with the second accuracy (step 155).
This is performed by the tamper resistant unit 10 acquiring the time certificate 3 from the digital broadcasting station 2 and using this to check whether the internal clock 17 matches with the second accuracy.
More specifically, the tamper resistant unit 10 determines that the time of the internal clock 17 is within a predetermined time from the time described in the time certificate 3 (for example, within ± (half the minimum time that can be measured with the second accuracy)). Make sure that there is.

内部クロック17が第2精度で一致しなかった場合、監査に成功しなかったため(ステップ160;N)、耐タンパ部10はステップ155に戻り、デジタル放送局2から時刻証明書3を取得して第2精度の監査を行う。
このようにして、偶発的なエラーなどにより監査が不成功となった場合、耐タンパ部10は、再度監査を試みることができる。
If the internal clock 17 does not match with the second accuracy, the audit was not successful (step 160; N), so the tamper resistant part 10 returns to step 155 to acquire the time certificate 3 from the digital broadcasting station 2. Perform a second precision audit.
In this way, when the audit is unsuccessful due to an accidental error or the like, the tamper resistant unit 10 can try the audit again.

一方、前回の監査で第1精度で監査を行っている場合(ステップ150;Y)、又は内部クロック17の時刻が時刻証明書3の時刻と第2精度で一致して監査が成功した場合(ステップ160;Y)、耐タンパ部10は、第1精度での監査を実行する(ステップ165)。これは、耐タンパ部10が、デジタル放送局2から時刻証明書3を取得し、これを用いて、内部クロック17が第1精度で一致するか確認することにより行う。
より詳細には、耐タンパ部10は、内部クロック17の時刻が時刻証明書3に記載されている時刻から所定時間内(例えば、±(第1精度で計測できる最小時間の半分)以内)であることを確認する。
On the other hand, when the audit is performed with the first accuracy in the previous audit (step 150; Y), or when the time of the internal clock 17 matches the time of the time certificate 3 with the second accuracy and the audit is successful ( Step 160; Y), the tamper resistant part 10 executes the audit with the first accuracy (Step 165). This is performed by the tamper resistant unit 10 acquiring the time certificate 3 from the digital broadcasting station 2 and using this to check whether the internal clock 17 matches with the first accuracy.
More specifically, the tamper resistant unit 10 determines that the time of the internal clock 17 is within a predetermined time from the time described in the time certificate 3 (for example, within ± (half of the minimum time that can be measured with the first accuracy)). Make sure that there is.

内部クロック17が第1精度で一致しなかった場合、監査に成功しなかったため(ステップ170;N)、耐タンパ部10はステップ155に戻り、デジタル放送局2から時刻証明書3を取得して第2精度の監査を行う。
このようにして、偶発的なエラーなどにより第1精度での監査が不成功となった場合、耐タンパ部10は、第2精度での監査を再度試みることができる。
一方、内部クロック17の時刻が時刻証明書3の時刻と第1精度で一致して監査が成功した場合(ステップ170;Y)、耐タンパ部10は、監査モードを終了する。
If the internal clock 17 does not match with the first accuracy, the audit was not successful (step 170; N), so the tamper resistant unit 10 returns to step 155 to acquire the time certificate 3 from the digital broadcasting station 2. Perform a second precision audit.
In this way, when the audit with the first accuracy is unsuccessful due to an accidental error or the like, the tamper resistant unit 10 can try the audit with the second accuracy again.
On the other hand, when the time of the internal clock 17 coincides with the time of the time certificate 3 with the first accuracy and the audit is successful (step 170; Y), the tamper resistant unit 10 ends the audit mode.

このように、耐タンパ部10は、時刻ラベルを規定する所定の精度を、第1の精度と、前記第1精度よりも精度が低い第2精度に変更する精度変更手段を備えている。
そして、精度変更手段は、第2の精度で内部クロック17の監査が成功した場合に所定の精度を第1の精度に設定する。
As described above, the tamper resistant part 10 includes the accuracy changing unit that changes the predetermined accuracy defining the time label to the first accuracy and the second accuracy lower than the first accuracy.
Then, the accuracy changing means sets the predetermined accuracy to the first accuracy when the internal clock 17 is successfully audited with the second accuracy.

図12は、タイムスタンプサーバ4がクライアント端末5に対してタイムスタンプを発行する手順を説明するためのフローチャートである。
まず、クライアント端末5では、タイムスタンプ発行対象となる電子文書のハッシュ値を生成し、これをタイムスタンプサーバ4に送信する(ステップ200)。
タイムスタンプサーバ4は、クライアント端末5からハッシュ値を受信し、これを耐タンパ部10に出力する(ステップ210)。
このように、タイムスタンプサーバ4は、時刻証明対象となる証明対象情報(ハッシュ値)を取得する証明対象情報取得手段を備えている。
FIG. 12 is a flowchart for explaining a procedure in which the time stamp server 4 issues a time stamp to the client terminal 5.
First, the client terminal 5 generates a hash value of the electronic document to be issued as a time stamp and transmits it to the time stamp server 4 (step 200).
The time stamp server 4 receives the hash value from the client terminal 5 and outputs it to the tamper resistant unit 10 (step 210).
As described above, the time stamp server 4 includes proof object information acquisition means for acquiring proof object information (hash value) to be a time proof object.

耐タンパ部10は、ハッシュ値を取得すると、内部クロック17から時刻ラベルと精度部分を含む現在時刻を取得する(ステップ215)。
次に、耐タンパ部10は、ハッシュ値、現在時刻、及びその他の情報(例えば、タイムスタンプサーバ4の識別情報、タイムスタンプ発行日時など)を含むデータを生成し、これのハッシュ値を計算する。
そして、耐タンパ部10は、算出したハッシュ値をタイムスタンプ用電子署名鍵16で暗号化することにより電子署名する(ステップ220)。
When the tamper resistant part 10 acquires the hash value, it acquires the current time including the time label and the precision part from the internal clock 17 (step 215).
Next, the tamper resistant unit 10 generates data including the hash value, the current time, and other information (for example, identification information of the time stamp server 4, time stamp issuance date and time), and calculates the hash value thereof. .
Then, the tamper resistant unit 10 performs digital signature by encrypting the calculated hash value with the time stamp digital signature key 16 (step 220).

このようにしてクライアント端末5が送信したハッシュ値と内部クロック17の現在時刻がタイムスタンプ用電子署名鍵16によって電子署名されたタイムスタンプが生成される。
この電子署名は、内部クロック17の監査成功後に行われるため、耐タンパ部10は、時刻証明書3の前記電子署名が確認され、内部クロック17が所定の精度で動作していることが検証された場合に、内部クロック17が出力する時刻と、ハッシュ値と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成手段を備えている。
In this way, a time stamp in which the hash value transmitted by the client terminal 5 and the current time of the internal clock 17 are digitally signed by the time stamp digital signature key 16 is generated.
Since this electronic signature is performed after the internal clock 17 is successfully audited, the tamper resistant unit 10 confirms that the electronic signature of the time certificate 3 is confirmed and the internal clock 17 is operating with a predetermined accuracy. In this case, there is provided time stamp generating means for generating a time stamp by digitally signing the time output by the internal clock 17 and the hash value.

また、時刻証明書3の基準時刻が前回証明書18の基準時刻よりも後であることが確認できているため、耐タンパ部10は、検証に用いる基準時刻が、前回の検証で用いた基準時刻よりも後の時刻であることが確認できた場合に、タイムスタンプを生成している。
更に、課金を行う場合は課金が確認できた後にスタンプモードとなるため、耐タンパ部10は、課金が確認された場合にタイムスタンプを生成している。
Further, since it can be confirmed that the reference time of the time certificate 3 is later than the reference time of the previous certificate 18, the tamper resistant unit 10 uses the reference time used for the verification as the reference used in the previous verification. When it is confirmed that the time is later than the time, a time stamp is generated.
Furthermore, when charging is performed, the stamp mode is entered after the charging is confirmed. Therefore, the tamper resistant unit 10 generates a time stamp when the charging is confirmed.

耐タンパ部10は、タイムスタンプを生成するとCPU29に出力し、タイムスタンプサーバ4はこれをクライアント端末5に送信する(ステップ230)。
このように、耐タンパ部10は、前記生成したタイムスタンプを出力するタイムスタンプ出力手段を備えている。
クライアント端末5は、タイムスタンプサーバ4からタイムスタンプを受信する(ステップ235)。
When the tamper resistant part 10 generates a time stamp, it outputs it to the CPU 29, and the time stamp server 4 transmits it to the client terminal 5 (step 230).
As described above, the tamper resistant unit 10 includes time stamp output means for outputting the generated time stamp.
The client terminal 5 receives the time stamp from the time stamp server 4 (step 235).

タイムスタンプ利用者は、電子文書にこのタイムスタンプを付することにより、電子文書の非改竄性を第三者に保証することができる。
そして、第三者は、次のようにしてタイムスタンプ利用者から取得した電子文書の非改竄性を確認することができる。
第三者は、タイムスタンプ用電子署名鍵16に対応するタイムスタンプ用公開鍵を用意しておき、電子文書に付与されているタイムスタンプの電子署名を確認することによりタイムスタンプの正統性を確認する。
即ち、第三者は、電子文書のハッシュ値を生成し、これをタイムスタンプに含まれているハッシュ値と比較する。
両者が一致した場合、電子文書の非改竄と、タイムスタンプサーバ4が付与した時刻情報を確認することができる。
The time stamp user can guarantee the non-falsification of the electronic document to a third party by attaching the time stamp to the electronic document.
Then, the third party can confirm the non-falsification of the electronic document acquired from the time stamp user as follows.
A third party prepares a time stamp public key corresponding to the time stamp electronic signature key 16 and confirms the authenticity of the time stamp by confirming the electronic signature of the time stamp attached to the electronic document. To do.
That is, the third party generates a hash value of the electronic document and compares it with the hash value included in the time stamp.
If the two match, it is possible to confirm the non-falsification of the electronic document and the time information given by the time stamp server 4.

以上に説明した実施の形態により次のような効果を得ることができる。
(1)数ミリ秒以上の高精度な時刻同期精度を確保した時刻配信が可能となる。
(2)シンプルなアルゴリズムの実装による耐タンパ部10のICチップ化が容易なことから低コスト化が実現可能となる。
(3)時刻証明と時刻同期を分離した通信プロトコルにより、高精度な時刻配信とデジタル放送を活用したサービスの実現が可能となる。
(4)デジタル放送を活用することで、大規模な時刻同期システムの構築が可能となる。
The following effects can be obtained by the embodiment described above.
(1) Time distribution with high time synchronization accuracy of several milliseconds or more is possible.
(2) Since the tamper resistant part 10 can be easily made into an IC chip by mounting a simple algorithm, cost reduction can be realized.
(3) With a communication protocol that separates time certification and time synchronization, it is possible to realize a highly accurate time distribution and service utilizing digital broadcasting.
(4) By utilizing digital broadcasting, a large-scale time synchronization system can be constructed.

次に、本実施の形態の変形例について説明する。
本変形例は、計測装置にタイムスタンプサーバ4と同様のタイムスタンプ機能を備えておき、計測値が計測された際にその場で計測データにタイムスタンプを発行するものである。
図13は、変形例に係るタイムスタンプシステム1aのネットワーク構成を説明するためのブロック図である。
タイムスタンプシステム1aは、デジタル放送局2、計測装置4a、及びデータ収集サーバ8を備えている。
デジタル放送局2の構成は先に説明した実施の形態と同様である。
Next, a modification of the present embodiment will be described.
In this modification, a time stamp function similar to that of the time stamp server 4 is provided in the measurement device, and when the measurement value is measured, the time stamp is issued to the measurement data on the spot.
FIG. 13 is a block diagram for explaining a network configuration of a time stamp system 1a according to a modification.
The time stamp system 1 a includes a digital broadcasting station 2, a measuring device 4 a, and a data collection server 8.
The configuration of the digital broadcasting station 2 is the same as that of the embodiment described above.

計測装置4aは、タイムスタンプサーバ4と同様に外部クロック12と耐タンパ部10を備えており、デジタル放送局2から送信された時刻証明書3によって同期と監査を行うことができるほか、物理量の計測を行う計測部14を備えている。
計測部14は、例えば、所定時間ごとに物理量を計測しており、計測を行うと計測データを耐タンパ部10に出力する。
Similar to the time stamp server 4, the measuring device 4 a includes an external clock 12 and a tamper-resistant unit 10, and can perform synchronization and auditing with the time certificate 3 transmitted from the digital broadcasting station 2, and can also detect physical quantities. A measurement unit 14 that performs measurement is provided.
For example, the measurement unit 14 measures a physical quantity every predetermined time, and outputs measurement data to the tamper resistant unit 10 when the measurement is performed.

耐タンパ部10は、この計測データに内部クロック17の現在時刻などを付与し、タイムスタンプ用電子署名鍵16でこれを電子署名する。これによって計測データにタイムスタンプが発行される。
計測装置4aは、耐タンパ部10からタイムスタンプが付与された計測データを取得し、これをネットワーク6を介してデータ収集サーバ8に送信する。
データ収集サーバ8は、計測装置4aからタイムスタンプ付き計測データを収集してこれを蓄積する。
The tamper resistant unit 10 gives the current time of the internal clock 17 and the like to the measurement data, and digitally signs it with the time stamp digital signature key 16. As a result, a time stamp is issued to the measurement data.
The measuring device 4 a acquires the measurement data to which the time stamp is given from the tamper resistant unit 10, and transmits it to the data collection server 8 via the network 6.
The data collection server 8 collects time-stamped measurement data from the measurement device 4a and accumulates it.

このように、本変形例では、計測装置4a内にタイムスタンプ発行機能を備え、これによって計測データの取得したその場で即座にタイムスタンプを発行するため、計測データの非改竄性や時刻証明を確実に行うことができる。
具体的な計測装置4aの使用形態としては、例えば、電気メータ、水道メータ、ガスメータなどの商用の計測装置に用いることができるほか、気象観測装置、地震計、大気汚染計測装置、ビニールハウス内の温度計、原子力発電所の放射線計測計など、各種の特殊計測装置に用いることができる。
As described above, in this modification, the measurement device 4a has a time stamp issuing function, and thus the time stamp is immediately issued on the spot when the measurement data is acquired. It can be done reliably.
As a concrete usage form of the measuring device 4a, for example, it can be used for commercial measuring devices such as an electric meter, a water meter, a gas meter, a weather observation device, a seismometer, an air pollution measuring device, a plastic house It can be used for various special measuring devices such as thermometers and nuclear power station radiation measuring instruments.

更に、計測装置4aにGPS(Global Positioning Systems)装置を備えておき、計測データとGPSによる現在位置にタイムスタンプを発行するように構成すると、計測データの計測時刻、計測場所が改竄不能に記録できる。   Further, if the measurement device 4a is equipped with a GPS (Global Positioning Systems) device and is configured to issue a time stamp to the measurement data and the current position by GPS, the measurement time and measurement location of the measurement data can be recorded in an unchangeable manner. .

本変形例により次のような効果を得ることができる。
(1)計測値が計測されたその場で計測データにタイムスタンプを発行することができる。このため、計測データの改竄を防止することができる。
(2)デジタル放送される時刻証明書3を受信して内部クロック17の同期・監査を行うため、監査サーバなど、高価な設備を用いずに高精度なタイムスタンプを発行することができる。
(3)水道メータなどの検針作業を自動化することができる。
The following effects can be obtained by this modification.
(1) A time stamp can be issued to measurement data on the spot where the measurement value is measured. For this reason, falsification of measurement data can be prevented.
(2) Since the time certificate 3 to be digitally broadcast is received and the internal clock 17 is synchronized and audited, a highly accurate time stamp can be issued without using expensive equipment such as an audit server.
(3) Meter reading work such as a water meter can be automated.

次に、本実施の形態の第2の変形例について説明する。
本変形例は、計測装置に親子関係を設定し、子機で計測した計測データに対して親機がタイムスタンプを発行するものである。
図14は、第2の変形例に係るタイムスタンプシステム1bのネットワーク構成を説明するためのブロック図である。
タイムスタンプシステム1bは、計測装置4bと、ネットワーク6を介して計測装置4bと接続可能に配設されたデータ収集サーバ8、及び計測装置4bと無線通信可能な子機50、50、・・・を備えている。
Next, a second modification of the present embodiment will be described.
In this modification, a parent-child relationship is set in the measurement device, and the parent device issues a time stamp to the measurement data measured by the child device.
FIG. 14 is a block diagram for explaining a network configuration of the time stamp system 1b according to the second modification.
The time stamp system 1b includes a measuring device 4b, a data collection server 8 disposed so as to be connectable to the measuring device 4b via the network 6, and slave units 50, 50,... Capable of wireless communication with the measuring device 4b. It has.

計測装置4bは、計測装置4aと同様に外部クロック12や耐タンパ部10を備えるほか、子機50との通信機能(無線・有線何れでもよい)と、子機50の子機秘密鍵に対応する子機公開鍵を記憶した子機公開鍵データベース19を備えている。
各子機50は、それぞれ子機IDを有しており、計測装置4bは、子機IDによって子機50を識別すると共に、当該子機50の子機公開鍵を子機公開鍵データベース19から取得することができる。
The measuring device 4b includes the external clock 12 and the tamper-proof unit 10 as well as the measuring device 4a, and also supports a communication function (either wireless or wired) with the child device 50 and the child device private key of the child device 50. A handset public key database 19 storing handset public keys to be stored is provided.
Each child device 50 has a child device ID, and the measuring device 4b identifies the child device 50 by the child device ID and obtains the child device public key of the child device 50 from the child device public key database 19. Can be acquired.

子機50は、物理量を計測する計測部と秘密鍵である子機秘密鍵を記憶しており、計測部で計測した計測データを子機秘密鍵で電子署名して計測装置4bに送信する。
計測装置4bは、子機50から計測データを受信すると、当該子機50の子機公開鍵を子機公開鍵データベース19から取得し、これを用いて計測データの正統性を確認する。
そして、計測装置4bは、計測データに図示しない内部クロック17の現在時刻などを付与して、これをタイムスタンプ用電子署名鍵16で電子署名し、タイムスタンプを発行する。
計測装置4bは、電子署名を付与した計測データをデータ収集サーバ8に送信し、データ収集サーバ8は、これを受信して蓄積する。
The subunit | mobile_unit 50 has memorize | stored the measurement part which measures a physical quantity, and the subunit | mobile_unit private key which is a secret key, and electronically signs the measurement data measured by the measurement part with the subunit | mobile_unit private key, and transmits to the measuring device 4b.
When the measurement device 4b receives the measurement data from the child device 50, the measurement device 4b acquires the child device public key of the child device 50 from the child device public key database 19, and uses this to check the legitimacy of the measurement data.
The measuring device 4b gives the current time of the internal clock 17 (not shown) to the measurement data, digitally signs it with the time stamp digital signature key 16, and issues a time stamp.
The measuring device 4b transmits the measurement data to which the electronic signature has been added to the data collection server 8, and the data collection server 8 receives and accumulates it.

本変形例により次のような効果を得ることができる。
(1)子機50は、タイムスタンプ発行機能を必要としないので、安価に多数の計測器を配置することができる。
例えば、ビニールハウス内の各場所の温度をモニターするような場合、計測装置4bを1台設置し、その他の場所に子機50を設置することにより、ビニールハウス内の各場所の温度データにタイムスタンプを発行することができる。
(2)例えば、デジタル放送の受信が困難な場所で計測データを収集する場合、デジタル放送が受信可能な場所に計測装置4bを設置し、デジタル放送の受信が困難な場所に子機50を設置することにより、計測データにタイムスタンプを発行することができる。
このような場合としては、例えば、トンネル外に計測装置4bを設置し、トンネル内に子機50を設置する場合がある。
The following effects can be obtained by this modification.
(1) Since the subunit | mobile_unit 50 does not require a time stamp issuing function, many measuring devices can be arrange | positioned cheaply.
For example, when monitoring the temperature of each location in a greenhouse, install one measuring device 4b and install the slave unit 50 in other locations to save time in the temperature data of each location in the greenhouse. A stamp can be issued.
(2) For example, when collecting measurement data in a place where it is difficult to receive digital broadcasting, the measuring device 4b is installed in a place where digital broadcasting can be received, and the slave unit 50 is installed in a place where receiving digital broadcasting is difficult By doing so, a time stamp can be issued to the measurement data.
As such a case, for example, there is a case where the measuring device 4b is installed outside the tunnel and the slave unit 50 is installed inside the tunnel.

タイムスタンプシステムのシステム構成を示した図である。It is the figure which showed the system configuration | structure of the time stamp system. タイムスタンプサーバのハードウェア的な構成を示した図である。It is the figure which showed the hardware constitutions of the time stamp server. 内部クロックが計測する時刻の一例を示した図である。It is the figure which showed an example of the time which an internal clock measures. 動作モードの切り替えを説明するための図である。It is a figure for demonstrating switching of an operation mode. 基準時刻の補正を行うプロトコルを説明するための図である。It is a figure for demonstrating the protocol which correct | amends reference time. モード切り替えを説明するためのフローチャートである。It is a flowchart for demonstrating mode switching. 時刻証明書を送信する手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which transmits a time certificate. 外部クロックを更正する手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which corrects an external clock. 内部クロック17を更正する手順を説明するためのフローチャートである。5 is a flowchart for explaining a procedure for correcting an internal clock 17; 監査手順を説明するためのフローチャートである。It is a flowchart for demonstrating an audit procedure. 監査方法の変形例を説明するためのフローチャートである。It is a flowchart for demonstrating the modification of an inspection method. タイムスタンプを発行する手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which issues a time stamp. 変形例を説明するための図である。It is a figure for demonstrating a modification. 第2の変形例を説明するための図である。It is a figure for demonstrating the 2nd modification. 従来のタイムスタンプシステムのシステムを説明するための図である。It is a figure for demonstrating the system of the conventional time stamp system.

符号の説明Explanation of symbols

1 タイムスタンプシステム
2 デジタル放送局
3 時刻証明書
4 タイムスタンプサーバ
5 クライアント端末
6 ネットワーク
7 時報装置
8 データ収集サーバ
10 耐タンパ部
12 外部クロック
13 モード切替部
15 配信用公開鍵
16 タイムスタンプ用電子署名鍵
17 内部クロック
18 前回証明書
22 原子時計
23 配信用電子署名鍵
DESCRIPTION OF SYMBOLS 1 Time stamp system 2 Digital broadcasting station 3 Time certificate 4 Time stamp server 5 Client terminal 6 Network 7 Time signal device 8 Data collection server 10 Tamper resistant part 12 External clock 13 Mode switching part 15 Public key for delivery 16 Electronic signature for time stamp Key 17 Internal clock 18 Previous certificate 22 Atomic clock 23 Electronic signature key for distribution

Claims (11)

基準時刻を計測するための基準時計装置と、
前記計測された基準時刻を電子署名する署名手段と、
前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成手段と、
デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供手段と、
を具備したことを特徴とする基準時刻提供装置。
A reference clock device for measuring a reference time;
A signing means for electronically signing the measured reference time;
Time certificate generating means for generating a time certificate including the reference time and the electronic signature;
Time certificate providing means for providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting;
An apparatus for providing a reference time, comprising:
時刻を計測する時計装置と、
基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信手段と、
前記受信した時刻証明書の電子署名を確認する署名確認手段と、
前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記時計装置が所定の精度で動作していることを検証する検証手段と、
時刻証明対象となる証明対象情報を取得する証明対象情報取得手段と、
前記署名確認手段で前記電子署名が確認され、前記検証手段で前記時計装置が所定の精度で動作していることが検証された場合に、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成手段と、
前記生成したタイムスタンプを出力するタイムスタンプ出力手段と、
を具備したことを特徴とするタイムスタンプ発行装置。
A clock device for measuring time;
A receiving means for receiving a time certificate including a reference time and an electronic signature of the reference time via digital broadcasting;
Signature confirmation means for confirming the electronic signature of the received time certificate;
Verification means for verifying that the timepiece device is operating with a predetermined accuracy by comparing the time of the timepiece device with a reference time included in the time certificate;
A certification object information obtaining means for obtaining certification object information to be a time certification object;
When the electronic signature is confirmed by the signature confirmation means and when it is verified by the verification means that the timepiece device is operating with a predetermined accuracy, the time output by the timepiece device and the acquired certification object Time stamp generating means for generating a time stamp by electronically signing information;
Time stamp output means for outputting the generated time stamp;
A time stamp issuing device characterized by comprising:
前記タイムスタンプ生成手段は、検証に用いる基準時刻が、前回の検証で用いた基準時刻よりも後の時刻であることが確認できた場合に、タイムスタンプを生成することを特徴とする請求項2に記載のタイムスタンプ発行装置。   The time stamp generation means generates a time stamp when it is confirmed that the reference time used for verification is later than the reference time used in the previous verification. The time stamp issuing device described in 1. 前記受信した時刻証明書に含まれる基準時刻を用いて、前記時計装置が計測する前記所定の精度未満の時刻を更正する時刻更正手段を具備したことを特徴とする請求項2、又は請求項3に記載のタイムスタンプ発行装置。     The time correction means for correcting the time less than the predetermined accuracy measured by the timepiece device using a reference time included in the received time certificate is provided. The time stamp issuing device described in 1. 前記所定の精度を、第1の精度と、前記第1の精度よりも精度が低い第2の精度に変更する精度変更手段を具備し、
前記精度変更手段は、前記所定の精度を第2の精度に設定し、前記検証手段が前記第2の精度を用いて前記時計装置の精度を検証した場合に、前記所定の精度を第1の精度に設定することを特徴とする請求項2、請求項3、又は請求項4に記載のタイムスタンプ発行装置。
Comprising a precision changing means for changing the predetermined precision to a first precision and a second precision lower than the first precision;
The accuracy changing unit sets the predetermined accuracy to a second accuracy, and when the verification unit verifies the accuracy of the timepiece device using the second accuracy, the predetermined accuracy is set to the first accuracy. 5. The time stamp issuing device according to claim 2, wherein the time stamp issuing device is set to accuracy.
前記検証手段と前記タイムスタンプ生成手段が動作する第1の動作モードと、前記時刻更正手段が動作する第2の動作モードと、を切り替える動作モード切替手段を具備し、
前記動作モード切替手段は、それぞれの動作モードにて動作が完了した後に動作モードを切り替えることを特徴とする請求項2から請求項5までのうちの何れか1の請求項に記載のタイムスタンプ発行装置。
An operation mode switching unit that switches between a first operation mode in which the verification unit and the time stamp generation unit operate and a second operation mode in which the time correction unit operates;
6. The time stamp issuance according to claim 2, wherein the operation mode switching unit switches the operation mode after the operation is completed in each operation mode. apparatus.
前記タイムスタンプ生成手段がタイムスタンプを生成する前に、課金が行われたか否かを確認する課金確認手段を具備し、
前記タイムスタンプ生成手段は、前記課金確認手段にて課金が確認された場合にタイムスタンプを生成することを特徴とする請求項2から請求項6までのうちの何れか1の請求項に記載のタイムスタンプ発行装置。
Charging confirmation means for confirming whether or not charging has been performed before the time stamp generating means generates the time stamp;
The said time stamp production | generation means produces | generates a time stamp, when charge is confirmed by the said charge confirmation means, The claim of any one of Claim 2 to 6 characterized by the above-mentioned. Time stamp issuing device.
基準時計装置と、署名手段と、時刻証明書生成手段と、時刻証明書提供手段と、を備えた基準時刻提供装置において、
前記基準時計装置で、基準時刻を計測する計測ステップと、
前記署名手段で、前記計測された基準時刻を電子署名する署名ステップと、
前記時刻証明書生成手段で、前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成ステップと、
前記時刻証明書提供手段で、デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供ステップと、
から構成されたことを特徴とする基準時刻提供方法。
In a reference time providing device comprising a reference clock device, a signing means, a time certificate generating means, and a time certificate providing means,
A measuring step for measuring a reference time in the reference clock device;
A signature step of electronically signing the measured reference time with the signing means;
A time certificate generating step of generating a time certificate including the reference time and the electronic signature by the time certificate generating means;
A time certificate providing step of providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting in the time certificate providing means;
A method for providing a reference time, comprising:
時計装置と、受信手段と、署名確認手段と、検証手段と、証明対象情報取得手段と、タイムスタンプ生成手段と、タイムスタンプ出力手段と、を備えたタイムスタンプ発行装置において、
前記時計装置で、時刻を計測する計測ステップと、
前記受信手段で、基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信ステップと、
前記署名確認手段で、前記受信した時刻証明書の電子署名を確認する署名確認ステップと、
前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記検証手段で、前記時計装置が所定の精度で動作していることを検証する検証ステップと、
前記証明対象情報取得手段で、時刻証明対象となる証明対象情報を取得する証明対象情報取得ステップと、
前記署名確認手段で前記電子署名が確認され、前記検証手段で前記時計装置が所定の精度で動作していることが検証された場合に、前記タイムスタンプ生成手段で、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成ステップと、
前記タイムスタンプ出力手段で、前記生成したタイムスタンプを出力するタイムスタンプ出力ステップと、
から構成されたことを特徴とするタイムスタンプ発行方法。
In a time stamp issuing device comprising a clock device, a receiving means, a signature confirmation means, a verification means, a certification object information acquisition means, a time stamp generation means, and a time stamp output means,
A measuring step of measuring time in the timepiece device;
A receiving step of receiving, via digital broadcasting, a time certificate including a reference time and an electronic signature of the reference time by the receiving means;
A signature confirmation step of confirming an electronic signature of the received time certificate by the signature confirmation means;
A verification step of verifying that the timepiece device is operating with a predetermined accuracy by the verification means by comparing the time of the timepiece device and a reference time included in the time certificate;
A certification object information acquisition step of acquiring certification object information to be a time certification object by the certification object information acquisition means;
When the electronic signature is confirmed by the signature confirmation means, and when it is verified by the verification means that the timepiece device is operating with a predetermined accuracy, a time output by the timepiece device by the time stamp generation means A time stamp generating step for generating a time stamp by digitally signing the acquired certification object information;
A time stamp output step of outputting the generated time stamp by the time stamp output means;
A time stamp issuing method characterized by comprising:
基準時計装置で基準時刻を計測する計測機能と、
前記計測された基準時刻を電子署名する署名機能と、
前記基準時刻と前記電子署名を含む時刻証明書を生成する時刻証明書生成機能と、
デジタル放送によって送信するために、前記生成した時刻証明書をデジタル放送システムに提供する時刻証明書提供機能と、
をコンピュータで実現するための基準時刻提供プログラム。
A measurement function for measuring a reference time with a reference clock device;
A signature function for electronically signing the measured reference time;
A time certificate generation function for generating a time certificate including the reference time and the electronic signature;
A time certificate providing function for providing the generated time certificate to a digital broadcasting system for transmission by digital broadcasting;
Program for providing a reference time for realizing the above on a computer.
時計装置で時刻を計測する計測機能と、
基準時刻と当該基準時刻の電子署名を含む時刻証明書を、デジタル放送を介して受信する受信機能と、
前記受信した時刻証明書の電子署名を確認する署名確認機能と、
前記時計装置の時刻と前記時刻証明書に含まれる基準時刻を比較することにより、前記時計装置が所定の精度で動作していることを検証する検証機能と、
時刻証明対象となる証明対象情報を取得する証明対象情報取得機能と、
前記署名確認機能により前記電子署名が確認され、前記検証機能により前記時計装置が所定の精度で動作していることが検証された場合に、前記時計装置が出力する時刻と、前記取得した証明対象情報と、を電子署名することによりタイムスタンプを生成するタイムスタンプ生成機能と、
前記生成したタイムスタンプを出力するタイムスタンプ出力機能と、
をコンピュータで実現するためのタイムスタンプ発行プログラム。
A measurement function for measuring time with a clock device;
A reception function for receiving a time certificate including a reference time and an electronic signature of the reference time via digital broadcasting;
A signature confirmation function for confirming the electronic signature of the received time certificate;
A verification function for verifying that the timepiece device is operating with a predetermined accuracy by comparing the time of the timepiece device and a reference time included in the time certificate;
A certification object information acquisition function for acquiring certification object information that is a time certification object;
When the electronic signature is confirmed by the signature confirmation function, and when it is verified by the verification function that the timepiece device is operating with a predetermined accuracy, the time output by the timepiece device and the acquired certification object A time stamp generation function for generating a time stamp by electronically signing information;
A time stamp output function for outputting the generated time stamp;
Is a time stamp issue program for realizing the above on a computer.
JP2006133277A 2006-05-12 2006-05-12 Time stamp issuing device, time stamp issuing method, and time stamp issuing program Active JP4918718B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006133277A JP4918718B2 (en) 2006-05-12 2006-05-12 Time stamp issuing device, time stamp issuing method, and time stamp issuing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006133277A JP4918718B2 (en) 2006-05-12 2006-05-12 Time stamp issuing device, time stamp issuing method, and time stamp issuing program

Publications (2)

Publication Number Publication Date
JP2007306352A true JP2007306352A (en) 2007-11-22
JP4918718B2 JP4918718B2 (en) 2012-04-18

Family

ID=38839908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006133277A Active JP4918718B2 (en) 2006-05-12 2006-05-12 Time stamp issuing device, time stamp issuing method, and time stamp issuing program

Country Status (1)

Country Link
JP (1) JP4918718B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009519646A (en) * 2005-12-16 2009-05-14 インターナショナル・ビジネス・マシーンズ・コーポレーション Collaborative non-repudiation message exchange in a network environment
WO2011118432A1 (en) * 2010-03-25 2011-09-29 慧通信技術工業 株式会社 Measurement data management method and measurement data management system
JP2020017805A (en) * 2018-07-23 2020-01-30 Kddi株式会社 Vehicle information transmitting device, vehicle information receiving device, vehicle information communication method, and computer program
JP2020036270A (en) * 2018-08-31 2020-03-05 株式会社アメニディ Communication system
CN111711949A (en) * 2020-06-08 2020-09-25 烟台东方威思顿电气有限公司 4G communication encryption algorithm based on time

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000065966A (en) * 1998-08-21 2000-03-03 Nippon Telegr & Teleph Corp <Ntt> Time synchronization method and information-processing device and storage medium for storing time synchronization program
JP2004126967A (en) * 2002-10-03 2004-04-22 Amano Corp Time stamp device and its program medium
JP2005520137A (en) * 2002-03-12 2005-07-07 ドイッチェ テレコム アーゲー Method for time synchronization of at least two measuring computers cooperating via a communication network such as the Internet, an intranet or the like
US20070143619A1 (en) * 2005-12-16 2007-06-21 International Business Machines Corporation Cooperative non-repudiated message exchange in a network environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000065966A (en) * 1998-08-21 2000-03-03 Nippon Telegr & Teleph Corp <Ntt> Time synchronization method and information-processing device and storage medium for storing time synchronization program
JP2005520137A (en) * 2002-03-12 2005-07-07 ドイッチェ テレコム アーゲー Method for time synchronization of at least two measuring computers cooperating via a communication network such as the Internet, an intranet or the like
JP2004126967A (en) * 2002-10-03 2004-04-22 Amano Corp Time stamp device and its program medium
US20070143619A1 (en) * 2005-12-16 2007-06-21 International Business Machines Corporation Cooperative non-repudiated message exchange in a network environment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009519646A (en) * 2005-12-16 2009-05-14 インターナショナル・ビジネス・マシーンズ・コーポレーション Collaborative non-repudiation message exchange in a network environment
WO2011118432A1 (en) * 2010-03-25 2011-09-29 慧通信技術工業 株式会社 Measurement data management method and measurement data management system
JP2011205300A (en) * 2010-03-25 2011-10-13 Kei Tsushin Gijutsu Kogyo Kk Measurement data management method, measurement data management system, measurement data management apparatus, and terminal device
US8701209B2 (en) 2010-03-25 2014-04-15 Kei Communication Technology Inc. Measurement data management and authentication method and measurement data management and authentication system
JP2020017805A (en) * 2018-07-23 2020-01-30 Kddi株式会社 Vehicle information transmitting device, vehicle information receiving device, vehicle information communication method, and computer program
JP2020036270A (en) * 2018-08-31 2020-03-05 株式会社アメニディ Communication system
CN111711949A (en) * 2020-06-08 2020-09-25 烟台东方威思顿电气有限公司 4G communication encryption algorithm based on time
CN111711949B (en) * 2020-06-08 2023-04-18 烟台东方威思顿电气有限公司 4G communication encryption method based on time

Also Published As

Publication number Publication date
JP4918718B2 (en) 2012-04-18

Similar Documents

Publication Publication Date Title
CN103595802B (en) The method that home gateway remote software is upgraded automatically
US7979731B2 (en) Time authentication device, time authentication method, computer program, recording medium, integrated circuit, and time authentication system
US9628281B2 (en) Server generating basic signature data using signing target data, electronic signature value and timestamp
JP4641327B1 (en) Measurement data management method, measurement data management system, measurement data management device, and terminal device
CN103370901B (en) Long-term signatures terminal, long-term signatures server, long-term signatures terminal program and long-term signatures server program
JP4725978B2 (en) Time certification server, time certification method, and time certification program
JP4877738B2 (en) Recording apparatus and recording method
JP4918718B2 (en) Time stamp issuing device, time stamp issuing method, and time stamp issuing program
US10116454B2 (en) Authentication system and authentication method
JP4812002B2 (en) Recording apparatus, recording collection server, recording method, and recording collection method
JPWO2007094035A1 (en) Device, verification server, information processing server, device registration server, and information processing method
DK2608981T3 (en) Securing and synchronizing system time in a charging station
JP4918717B2 (en) Measuring device
JP5039931B2 (en) Information processing device
CN101909053B (en) Timing method and base station
JP4868322B2 (en) Information processing system and information processing method
CN112019345A (en) System and method for high-precision time block chain
JP2003198539A (en) Electronic authentication system and electronic authentication method
JP2007221436A (en) Recorder and recording method
CN103765812A (en) Data certification system, server device, client device, publishing server and data certification method
JP2007215104A (en) Terminal equipment
KR101355080B1 (en) System for syndicating the original of digital contents for contents provider and method thereof
JP2006190273A (en) Time of day auditing system and time of day auditing method
JP2004126967A (en) Time stamp device and its program medium
JP2011109203A (en) Electronic signature server and long-term signature server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110812

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110928

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

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120116

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

R150 Certificate of patent or registration of utility model

Ref document number: 4918718

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

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250