JP2012113504A - Communication terminal, control method and program thereof - Google Patents
Communication terminal, control method and program thereof Download PDFInfo
- Publication number
- JP2012113504A JP2012113504A JP2010261795A JP2010261795A JP2012113504A JP 2012113504 A JP2012113504 A JP 2012113504A JP 2010261795 A JP2010261795 A JP 2010261795A JP 2010261795 A JP2010261795 A JP 2010261795A JP 2012113504 A JP2012113504 A JP 2012113504A
- Authority
- JP
- Japan
- Prior art keywords
- time
- server
- response packet
- response
- packet
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
Abstract
Description
本発明は、ネットワーク通信により時刻合わせを行う通信端末、該通信端末の制御方法、及びプログラムに関する。 The present invention relates to a communication terminal that performs time adjustment by network communication, a control method of the communication terminal, and a program.
近年、NTP(Network Time Protocol)を用いたネットワーク通信により、タイムサーバから通信端末に時刻情報を提供して、通信端末の時刻合わせを行うシステムがある。 In recent years, there is a system that provides time information from a time server to a communication terminal by network communication using NTP (Network Time Protocol) to adjust the time of the communication terminal.
このようなシステムでは、通常、タイムサーバはネットワーク上で階層化されて、下層のタイムサーバは、上層のタイムサーバを参照することで、内部時計の時刻合わせを行う。例えば、第2層のタイムサーバは、第1層のタイムサーバを参照して時刻合わせを行う。第1層のタイムサーバは、全地球測位システム(以下、GPS)等を参照することで、内部時計の時刻合わせを行う。 In such a system, the time servers are usually hierarchized on the network, and the lower time servers refer to the upper time servers to adjust the time of the internal clock. For example, the time server of the second layer performs time adjustment with reference to the time server of the first layer. The time server of the first layer performs time adjustment of the internal clock by referring to the global positioning system (hereinafter referred to as GPS).
通信端末は、上記階層化されたタイムサーバのいずれかから、時刻情報を取得して、時刻合わせを行う。特許文献1,2には、時刻情報の取得先となるタイムサーバを選択する方法が開示される。
The communication terminal acquires time information from any one of the hierarchical time servers and performs time adjustment.
特許文献1では、通信端末に、タイムサーバのIPアドレスや優先順位が登録される。
通信端末は、優先順位に従って、時刻情報の取得先となるタイムサーバを選択する。なお、特許文献1では、タイムサーバの優先順位を設定する具体的な方法については開示されていない。
In
The communication terminal selects a time server from which time information is acquired according to the priority order. Note that
特許文献2では、通信端末は、ネットワークに対して、ブロードキャスト送信で応答要求を行い、応答が早いタイムサーバを、時刻情報の取得先として選択する。
In
時間の経過とともに、タイムサーバの内部時計が計時する時刻には、遅れや進みが生じる。上記タイムサーバが階層化されたシステムでは、第1層のタイムサーバは、GPS等を参照することで正確な時刻に時刻合わせが行われ、時刻合わせの後に時間経過による時刻の狂いが生じる。第2層のタイムサーバは、第1層のタイムサーバを参照することで、時刻合わせを行った時刻に第1層のタイムサーバに生じた狂いがある。さらに第2層のタイムサーバでは、時刻合わせの後、時間経過による時刻の狂いが生じる。以上のように、各階層のタイムサーバでは時間経過による時刻の狂いが生じ、この狂いが下層のタイムサーバに引き継がれていくことで、下層のタイムサーバほど、時刻精度が低くなる虞れがある。 As time elapses, there is a delay or advance in the time measured by the internal clock of the time server. In the system in which the time servers are hierarchized, the time server of the first layer performs time adjustment at an accurate time by referring to the GPS or the like, and a time error occurs due to the passage of time after the time adjustment. The time server of the second layer refers to the time server of the first layer, and there is an error that has occurred in the time server of the first layer at the time when the time is adjusted. Further, in the time server of the second layer, the time lag occurs due to the passage of time after the time adjustment. As described above, the time server of each hierarchy has a time lag due to the passage of time, and this time lapse is taken over by the lower time server, so that the time accuracy of the lower time server may be lowered. .
しかしながら特許文献1,2では、上記時刻精度の差が考慮されることなく、時刻情報の取得先となるタイムサーバが選択される。このため、時刻精度の低いタイムサーバが参照されて、通信端末の時刻合わせが行われる虞れがある。
However, in
また、特許文献1では、タイムサーバの優先順位やIPアドレスを、通信端末に予め登録する必要があるため、ユーザに手間を要する。
Further, in
本発明は、上記事情に鑑みなされたものであり、その目的は、時刻情報の取得先として、時刻精度の高いタイムサーバを選択することができ、且つ、この選択のために、ユーザに手間を要しない通信端末、該通信端末の制御方法、及びプログラムを提供することである。 The present invention has been made in view of the above circumstances, and its purpose is to select a time server with high time accuracy as the acquisition source of time information, and for this selection, it takes time and effort to the user. It is to provide a communication terminal that is not required, a method for controlling the communication terminal, and a program.
本発明の第1の観点に係る通信端末は、
複数のサーバが接続されたネットワークに対して、応答要求パケットを送信する応答要求パケット送信部と、
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信部と、
前記応答パケット受信部が前記応答パケットを受信するたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納部と、
前記応答パケットデータ格納部が格納したデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択部と、を有し、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択部は、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とする。
A communication terminal according to the first aspect of the present invention provides:
A response request packet transmitter for transmitting a response request packet to a network to which a plurality of servers are connected;
A response packet receiving unit that receives a response packet from the server that has received the response request packet through the network;
A response packet data storage unit that stores data acquired from the response packet each time the response packet reception unit receives the response packet;
Using the data stored in the response packet data storage unit, a server selection unit that selects a candidate to obtain time information from the plurality of servers, and
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
The server selection unit selects a candidate from which the time information is acquired based on the reference source identifier.
好ましくは、前記応答要求パケット送信部は、ブロードキャスト送信で、前記ネットワークに対して前記応答要求パケットを送信することを特徴とする。 Preferably, the response request packet transmitting unit transmits the response request packet to the network by broadcast transmission.
好ましくは、前記サーバ選択部は、前記参照元識別子に基づき、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする。 Preferably, the server selection unit sets priorities of candidates from which the time information is acquired based on the reference source identifier.
好ましくは、前記応答パケットから取得されるデータとして、前記サーバが時刻同期を行っているか否かを示す同期識別子があり、
前記サーバ選択部は、前記参照元識別子に基づき、前記時刻合わせの参照元が異なるサーバの優先順位を設定し、前記同期識別子に基づき、前記時刻合わせの参照元が同一であるサーバの優先順位を設定することを特徴とする。
Preferably, as the data acquired from the response packet, there is a synchronization identifier indicating whether or not the server is performing time synchronization,
The server selection unit sets priority of servers having different reference sources for time adjustment based on the reference source identifier, and sets priority of servers having the same reference source for time adjustment based on the synchronization identifier. It is characterized by setting.
好ましくは、前記複数のサーバは、下層のサーバが上層のサーバを参照して時刻合わせを行うように、前記ネットワーク上で階層化され、
前記応答パケットから取得されるデータとして、前記サーバが位置する階層を示す階層値があり、
前記サーバ選択部は、前記階層値に基づき、前記時刻情報の取得先として前記上層のサーバが前記下層のサーバよりも優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする。
Preferably, the plurality of servers are hierarchized on the network such that a lower layer server refers to an upper layer server for time adjustment,
As data acquired from the response packet, there is a layer value indicating a layer where the server is located,
The server selection unit, based on the hierarchy value, prioritizes candidates as the time information acquisition destination so that the upper layer server is selected as a time information acquisition destination in preference to the lower layer server. It is characterized by setting the order.
好ましくは、前記応答要求パケット送信部が前記応答要求パケットを送信してから、前記応答パケット受信部が前記応答パケットを受信するまでに要する時間と、前記サーバが前記応答要求パケットを受信してから前記応答パケットを送信するまでに要する時間との差分を示す遅延時間を算出する遅延時間算出部をさらに有し、
前記サーバ選択部は、前記時刻情報の取得先として前記遅延時間が短いサーバが優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする。
Preferably, a time required for the response packet receiving unit to receive the response packet after the response request packet transmitting unit transmits the response request packet, and after the server receives the response request packet. A delay time calculating unit that calculates a delay time indicating a difference from the time required to transmit the response packet;
The server selection unit is configured to set a priority order of candidates for obtaining the time information so that the server having a short delay time is preferentially selected as the obtaining source of the time information.
好ましくは、前記サーバが、前記応答要求パケットを受信してから、前記応答パケットを送信するまでに要する内部処理時間を算出する内部処理時間算出部をさらに有し、
前記サーバ選択部は、前記時刻情報の取得先として前記内部処理時間が短いサーバが優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする。
Preferably, the server further includes an internal processing time calculation unit that calculates an internal processing time required from when the response request packet is received until the response packet is transmitted,
The server selection unit sets priorities of candidates for obtaining the time information so that the server with a short internal processing time is preferentially selected as the time information obtaining destination. .
本発明の第2の観点に係る通信端末の制御方法は、
複数のサーバが接続されたネットワークに対して、応答要求パケットを送信する応答要求パケット送信ステップと、
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信ステップと、
前記応答パケット受信ステップで前記応答パケットが受信されるたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納ステップと、
前記応答パケットデータ格納ステップで格納されたデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択ステップと、を有し、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択ステップでは、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とする。
A communication terminal control method according to a second aspect of the present invention includes:
A response request packet transmission step of transmitting a response request packet to a network to which a plurality of servers are connected;
A response packet receiving step of receiving a response packet from the server that has received the response request packet through the network;
A response packet data storage step for storing data obtained from the response packet each time the response packet is received in the response packet reception step;
Using the data stored in the response packet data storage step, a server selection step of selecting a candidate to obtain time information from the plurality of servers, and
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
In the server selection step, a candidate as an acquisition destination of the time information is selected based on the reference source identifier.
本発明の第3の観点に係るプログラムは、
コンピュータを、
複数のサーバが接続されたネットワークに対して、応答要求パケットを送信する応答要求パケット送信手段、
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信手段、
前記応答パケット受信手段が前記応答パケットを受信するたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納手段、
前記応答パケットデータ格納手段が格納したデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択手段として機能させ、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択手段は、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とする。
The program according to the third aspect of the present invention is:
Computer
Response request packet transmitting means for transmitting a response request packet to a network to which a plurality of servers are connected;
Response packet receiving means for receiving a response packet from the server that has received the response request packet through the network;
Response packet data storage means for storing data acquired from the response packet each time the response packet receiving means receives the response packet;
Using the data stored in the response packet data storage means, function as server selection means for selecting a candidate to obtain time information from the plurality of servers,
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
The server selection unit selects a candidate from which the time information is acquired based on the reference source identifier.
本発明によれば、時刻情報の取得先となる候補が、サーバの時刻参照元を示す識別子等に基づき、複数のサーバの中から選択される。このため、時刻情報の取得先として、時刻精度の高いサーバを選択することが可能である。よって、サーバから取得される時刻情報に基づき通信端末の時刻合わせが行われることで、通信端末が計時する時刻は、正確になる。 According to the present invention, a candidate as a time information acquisition destination is selected from a plurality of servers based on an identifier indicating a time reference source of the server. For this reason, it is possible to select a server with high time accuracy as the acquisition source of time information. Therefore, the time set by the communication terminal is accurate by adjusting the time of the communication terminal based on the time information acquired from the server.
また、時刻情報の取得先となる候補は、サーバから返信される応答パケットのデータが用いられて選択される。よって、時刻情報の取得先を選択するため、通信端末に予めデータを入力する必要がない。このため、ユーザに手間を要しない。 In addition, a candidate from which time information is acquired is selected using response packet data returned from the server. Therefore, since the time information acquisition source is selected, there is no need to input data into the communication terminal in advance. For this reason, a user's effort is not required.
以下、本発明を実施するための形態について図面を参照して詳細に説明する。なお、図中同一または相当する部分には同じ符号を付す。 Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.
図1は、本発明の実施の形態に係る通信端末が適用された通信システム1を示すブロック図である。通信システム1は、通信端末100と、複数のタイムサーバ200〜206と、ネットワーク300とを含む。
FIG. 1 is a block diagram showing a
ネットワーク300は、LAN(Local Area Network)であり、通信端末100やタイムサーバ200〜206は、ネットワーク300を通じて、情報の送受信を行うことができる。上記の情報として、ネットワークタイムプロトコル(以下、NTP)を用いた時刻情報がある。
The
タイムサーバ200〜206は、他装置を定期的に参照して、内部時計が計時する現在時刻を補正する(以下、内部時計の時刻を補正することを、「時刻合わせ」と適宜記す)。タイムサーバ200〜206は、ネットワーク300上で階層化されており、下層のタイムサーバは、上層のタイムサーバを参照して時刻合わせを行う。
The
タイムサーバ200〜202は、第1層のタイムサーバである。タイムサーバ200は、国家基準で校正された原子時計400を定期的に参照して時刻合わせを行う(原子時計は1秒ごとのパルス信号(Pulse-Per-Second(PPS))を発信する。図1では、原子時計を「PPS」で示す)。タイムサーバ201は、全地球測位システム(Global Positioning System、以下、GPS)401を定期的に参照して時刻合わせを行う。タイムサーバ202は、電話回線による標準時供給システム(以下、テレホンJJY)402を定期的に参照して時刻合わせを行う。
The
タイムサーバ203〜205は、第2層のタイムサーバである。タイムサーバ203〜205は、第1層のタイムサーバ200〜202のいずれかに対して、ネットワーク300を通じて、定期的に時刻情報を要求し、この要求に応じて返信された時刻情報に基づき、時刻合わせを行う。例えば、タイムサーバ203は、タイムサーバ200に時刻情報を要求し、タイムサーバ200から返信された時刻情報に基づき時刻合わせを行う。
The
タイムサーバ206は、第3層のタイムサーバである。タイムサーバ206は、ネットワーク300を通じて、第2層のタイムサーバ203に時刻情報を要求し、この要求に応じて返信された時刻情報に基づき時刻合わせを行う。
The
タイムサーバ200〜206は、時間の経過とともに、内部時計が計時する時刻に遅れや進みが生じる。第2層のタイムサーバ203〜205は、第1層のタイムサーバ200〜202を参照した時刻合わせにより、第1層のタイムサーバ200〜202に生じた時刻の狂いが引き継がれ、さらに時刻合わせの後に、時間経過による時刻の狂いが生じる。また、第3層のタイムサーバ206は、第2層のタイムサーバ203を参照した時刻合わせにより、第2層のタイムサーバ203で生じた時刻の狂いが引き継がれ、さらに時刻合わせの後に、時間経過による時刻の狂いが生じる。以上のことから、タイムサーバ200〜206は、下層のタイムサーバほど時刻精度が低い。
The
また、第1層のタイムサーバ200〜202の時刻精度は、時刻参照元の正確さから、テレホンJJY402を参照するタイムサーバ202→GPS401を参照するタイムサーバ201→原子時計400を参照するタイムサーバ200の順に高くなる。
Further, the time accuracy of the
図2は、通信端末100の物理的構成例を示すブロック図である。通信端末100は、制御部110と、記憶部120と、入力部130と、出力部140と、通信制御部150と、計時部160とを備える。
FIG. 2 is a block diagram illustrating a physical configuration example of the
記憶部120は、例えば、ROM(Read Only Memory)やRAM(Random Access Memory)やハードディスク等から構成される。記憶部120には、時刻同期ソフトウェアであるNTPデーモンのプログラム等、制御部110の動作プログラムが記憶される。また、記憶部120は、制御部110のワークエリアとして機能する。
The
入力部130は、例えば、キーボード、マウス等から構成される。入力部130は、ユーザによる操作を受け付け、操作情報を制御部110に供給する。
The
出力部140は、例えば、表示装置等から構成される。出力部140は、制御部110の制御に従い、出力情報をユーザに提供する。
The
通信制御部150は、LANポートや通信回路等から構成される。通信制御部150は、ネットワーク300に接続されて、他装置との間でデータの送受信を行う。
The
計時部160は、水晶発振器を内蔵し、水晶発振器の発振周波数に同期したクロックパルスを生成し、クロックパルスに同期して、現在時刻を計時して出力する。
The
制御部110は、CPU(Central Processing Unit)等から構成され、記憶部120に格納されたプログラムに従って、通信端末100全体の動作を制御する。例えば、制御部110は、記憶部120に格納されたプログラムに従って、ソフトウェア的に動作する時計であるシステムクロックとして機能し、現在時刻を計時して出力する。また、制御部110は、NTPデーモンのプログラムに従って、タイムサーバ200〜206のいずれかから時刻情報を取得して、計時部160やシステムクロックが計時する現在時刻を補正する。
The
図3は、通信端末100の機能構成例を示すブロック図である。通信端末100では、制御部110がプログラムに従って処理を実行し、応答要求パケット送信部500と、応答パケット受信部510と、遅延時間計算部520と、内部処理時間計算部530と、応答パケットデータ格納部540と、サーバ選択部550とが構成される。
FIG. 3 is a block diagram illustrating a functional configuration example of the
応答要求パケット送信部500は、初期設定時に、ネットワーク300に対してブロードキャスト送信で応答要求パケットを送信する。
The response request
図4は、応答要求パケットの例を示す図である。応答要求パケットは、NTP及びSNTPのメッセージフォーマットで表現される。このメッセージフォーマットは、RFC1305で記述されるNTPメッセージフォーマットと、ほぼ同一である。図4において、()内の数字は、応答要求パケットに含まれる各コードのビット数を示す。例えば、LI(2)の数字「2」は、同期識別子「LI(Leap Indicator)」のビット数を示す。LI(2)〜精度(8)のコードは、直下の欄に示す値である。ルート遅延(32)以下のコードは、特に後述しない場合、各ビットの値が「0」である。 FIG. 4 is a diagram illustrating an example of a response request packet. The response request packet is expressed in NTP and SNTP message formats. This message format is almost the same as the NTP message format described in RFC1305. In FIG. 4, the numbers in parentheses indicate the number of bits of each code included in the response request packet. For example, the number “2” of LI (2) indicates the number of bits of the synchronization identifier “LI (Leap Indicator)”. The codes of LI (2) to accuracy (8) are the values shown in the column immediately below. In the code below the route delay (32), the value of each bit is “0” unless otherwise specified.
応答要求パケットは、ブロードキャスト送信のため、宛先がブロードキャストアドレスに設定される。ブロードキャストアドレスは、ネットワーク300に接続した全ての機器にデータを送信するために使われるアドレスである。例えば、クラスBでは、ネットワーク300のプライベートIPアドレスとして、172.16.XXX.XXXを設定でき、172.31.255.255がブロードキャストアドレスとなる。また、クラスCでは、ネットワーク300のプライベートIPアドレスとして、192.168.48.XXXを設定でき、192.168.48.255がブロードキャストアドレスとなる。本実施の形態では、クラスCのブロードキャストアドレスを用いる。また、応答要求パケットでは、UDP(User Datagram Protocol)のポート番号が、123番に設定される。
Since the response request packet is transmitted by broadcast, the destination is set to the broadcast address. The broadcast address is an address used for transmitting data to all devices connected to the
タイムサーバ200〜206は、応答要求パケットを受信することに応じて、ネットワーク300を通じて、応答パケットを通信端末100に返信する。応答要求パケットがブロードキャスト送信されることで、タイムサーバ200〜206は、応答パケットを一斉に返信する。応答パケット受信部510(図3)は、応答要求パケット送信部500が応答要求パケットを送信してから所定時間が経過するまでの間に、ネットワーク300を通じて返信された応答パケットを受信する。応答パケットは、応答要求パケットと同様、図4に示すメッセージフォーマットで表現される。
The
図4に示すフォーマットにおいて、同期識別子「LI(Leap Indicator)」は、当日の最終分に、閏秒の挿入や削除があるか否かを示すために用いられる領域である。閏秒の挿入や削除がある場合、「LI」には、それぞれ、2ビット整数「01」、「10」が記される。閏秒の挿入や削除が無い通常の場合、「LI」には、2ビット整数「00」が記される。また、「LI」は、時刻の同期が行われていないことを警告するために使用される領域でもある。時刻の同期が行われていない場合、「LI」には、時刻の同期が行われていないことを示す2ビット整数「11」が記される。 In the format shown in FIG. 4, the synchronization identifier “LI (Leap Indicator)” is an area used to indicate whether leap seconds are inserted or deleted in the last minute of the day. When leap second is inserted or deleted, 2-bit integers “01” and “10” are written in “LI”, respectively. In a normal case where no leap second is inserted or deleted, a 2-bit integer “00” is written in “LI”. “LI” is also an area used to warn that time synchronization is not performed. When time synchronization is not performed, 2-bit integer “11” indicating that time synchronization is not performed is written in “LI”.
通信端末100から送信される応答要求パケットでは、図4に示すように、「LI」は、「00」の値に設定されている。タイムサーバ200〜206のうち、時刻の同期を行っているタイムサーバからは、「LI」の値が「00」のままである応答パケットが返信される。
In the response request packet transmitted from the
一方、時刻の同期を行っていないタイムサーバからは、「LI」の値が、「11」に変更された応答パケットが返信される。この「LI」値の変更により、タイムサーバで時刻の同期が行われていないことが通信端末100に通知される。
On the other hand, a response packet in which the value of “LI” is changed to “11” is returned from the time server that does not synchronize the time. Due to the change of the “LI” value, the
「モード」は、パケットの送信元を示す領域である。応答要求パケットでは、図4に示すように、「モード」は、クライアントを示す3ビット整数「011」の値に設定される。応答パケットでは、「モード」は、サーバを示す3ビット整数「100」の値に変更される。 The “mode” is an area indicating a packet transmission source. In the response request packet, as shown in FIG. 4, “mode” is set to a value of a 3-bit integer “011” indicating the client. In the response packet, “mode” is changed to a value of a 3-bit integer “100” indicating the server.
「階層」は、ローカル時計の階級レベルを示す領域である。タイムサーバ200〜206から返信される応答パケットでは、タイムサーバ200〜206が位置するネットワーク300上の階層に対応する8ビット整数が「階層」に示される。例えば、タイムサーバ200〜202から返信される応答パケットでは、第1階層に対応する8ビット整数が示される。
The “hierarchy” is an area indicating the class level of the local clock. In the response packet returned from the
「参照元識別子(Reference Identifier)」は、タイムサーバ200〜206の時刻参照元に対応する32ビット整数が示される領域である。例えば、タイムサーバ201から返信される応答パケットでは、GPS401に対応する32ビット整数が示される。
The “reference identifier” is an area in which a 32-bit integer corresponding to the time reference source of the
「開始タイムスタンプ」は、通信端末100が応答要求パケットを送信した時刻T1が示される領域である。
The “start time stamp” is an area indicating a time T1 when the
「受信タイムスタンプ」は、タイムサーバ200〜206が応答要求パケットを受信した時刻T2が示される領域である。
The “reception time stamp” is an area in which time T2 when the
「送信タイムスタンプ」は、タイムサーバ200〜206が応答パケットを送信した時刻T3が示される領域である。
The “transmission time stamp” is an area in which time T3 when the
なお、「開始タイムスタンプ」、「受信タイムスタンプ」、及び「送信タイムスタンプ」では、時刻T1,T2,T3は、64ビットタイムスタンプ形式で表現される。時刻T1は、例えば通信端末100の計時部160が計時した時刻である。時刻T2,T3は、タイムサーバ200〜206の内部時計が計時した時刻である。
In the “start time stamp”, “reception time stamp”, and “transmission time stamp”, the times T1, T2, and T3 are expressed in a 64-bit time stamp format. The time T1 is, for example, the time measured by the
図5は、時刻情報の取得先を選択するために用いられるデータを示す図である。(A)は、タイムサーバ203の応答パケットから取得されるデータを示す。(B)は、タイムサーバ201の応答パケットから取得されるデータを示す。(C)は、タイムサーバ202の応答パケットから取得されるデータを示す。(D)は、タイムサーバ200の応答パケットから取得されるデータを示す。
FIG. 5 is a diagram illustrating data used for selecting a time information acquisition source. (A) shows data acquired from the response packet of the
本実施の形態では、タイムサーバ200〜206の中から時刻情報の取得先を選択するために、応答パケットからデータが取得される。このデータとして、タイムサーバ200〜206のIPアドレスや、タイムサーバ200〜206が位置する階層の値(以下、階層値)がある。
In the present embodiment, data is acquired from the response packet in order to select a time information acquisition destination from the
(A)のデータには、階層値「2」が含まれる。階層値「2」は、タイムサーバ203が位置する第2層を示す。(B),(C),(D)のデータには、階層値「1」が含まれる。階層値「1」は、タイムサーバ201,202,200が位置する第1層を示す。階層値は、応答パケットの「階層」に示される8ビット整数から得られる。
The data (A) includes the hierarchy value “2”. The layer value “2” indicates the second layer in which the
また、応答パケットから取得されるデータには、タイムサーバ200〜206の時刻参照元を示す参照元識別子も含まれる。(A)のデータには、タイムサーバ203の時刻参照元(タイムサーバ200)を示す参照元識別子として、タイムサーバ200のIPアドレス「192.168.48.110」が含まれる。(B)のデータには、タイムサーバ201の時刻参照元(GPS401)を示す参照元識別子「GPS」が含まれる。(C)のデータには、タイムサーバ202の時刻参照元(テレホンJJY402)を示す参照元識別子「TJJY」が含まれる。(D)のデータには、タイムサーバ200の時刻参照元(原子時計400)を示す参照元識別子「PPS」が含まれる。これら参照元識別子は、応答パケットの「参照元識別子」に示される32ビット整数から得られる。
The data acquired from the response packet also includes a reference source identifier indicating the time reference source of the
また、応答パケットから取得されるデータには、通信端末100が応答要求パケットを送信した時刻T1や、タイムサーバ200〜206が応答要求パケットを受信した時刻T2や、タイムサーバ200〜206が応答パケットを送信した時刻T3も含まれる。時刻T1,T2,T3は、開始タイムスタンプ・受信タイムスタンプ・送信タイムスタンプに示される64ビット整数から得られる。
The data acquired from the response packet includes the time T1 when the
遅延時間計算部520(図3)は、応答パケット受信部510が応答パケットを受信するたびに、遅延時間Pを算出する。遅延時間Pは、応答パケットから取得される時刻T1,T2,T3と、通信端末100に応答パケットが受信された時刻T4とを用いて、式1により算出される。なお、時刻T4は、応答パケット受信の際に、通信端末100の計時部160から取得される。
The delay time calculator 520 (FIG. 3) calculates the delay time P every time the
遅延時間Pは、応答要求パケット送信部500が応答要求パケットを送信してから、応答パケット受信部510が応答パケットを受信するまでに要する時間(T4−T1)と、タイムサーバ200〜206が、応答要求パケットを受信してから、応答パケットを送信するまでに要する時間(T2−T3)との差分を示す時間である。
The delay time P is the time (T4-T1) required for the response
内部処理時間計算部530は、応答パケット受信部510が応答パケットを受信するたびに、内部処理時間Pを算出する。内部処理時間Pは、応答パケットから取得される時刻T2,T3を用いて、式2により算出される。内部処理時間Pは、タイムサーバ200〜206が、応答要求パケットを受信してから、応答パケットを送信するまでに要する時間(T3−T2)である。
The internal processing
応答パケットデータ格納部540は、応答パケット受信部510が応答パケットを受信するたびに、応答パケットからIPアドレス・階層値・参照元識別子(図5)を取得し、これらのデータに遅延時間dや内部処理時間Pを対応付けて、記憶部120に格納する。
The response packet
図6は、応答パケットテーブルの例を示す図である。応答パケットテーブルは、応答パケットデータ格納部540が、応答パケットを受信するたびに、データを格納することで作成される。応答パケットテーブルでは、各応答パケットに含まれるデータ(IPアドレス・階層値・参照元識別子)が受信順に並べられて、これらデータの各々に、遅延時間dや内部処理時間Pが対応付けられている。
FIG. 6 is a diagram illustrating an example of a response packet table. The response packet table is created by storing data every time the response packet
サーバ選択部550は、応答パケットテーブルを用いて、タイムサーバ200〜206の中から、時刻情報の取得先となる候補を選択して、これら候補の優先順位を設定する。この処理は、後述の第1〜4の手順により行われる。以下、図6の応答パケットテーブルが作成された場合を例に説明する。
The
第1〜3の手順では、応答パケットテーブルのデータが並び替えられる。第1の手順では、階層値の小さいデータが上位となるように、データが並べ替えられる。 In the first to third procedures, the response packet table data is rearranged. In the first procedure, the data is rearranged so that data with a small hierarchical value is higher.
図7は、サーバ選択部550の第1の手順により、図6に示すデータが並び替えられた応答パケットテーブルを示す。図7のテーブルでは、階層値が「1」であるタイムサーバ201,202,200のデータ(B,C,D)が上位に並び、その下位に階層値が「2」であるタイムサーバ203,205,204のデータ(A,E,G)が並んでいる。また、その下位に階層値が「3」であるタイムサーバ206のデータ(F)が並んでいる。
FIG. 7 shows a response packet table in which the data shown in FIG. 6 is rearranged by the first procedure of the
ついで、第2の手順では、参照元識別子に基づき、階層値が「1」であるデータ(B,C,D)が並び替えられる。 Next, in the second procedure, the data (B, C, D) whose layer value is “1” is rearranged based on the reference source identifier.
図8は、サーバ選択部550の第2の手順により、図7に示すデータが並び替えられた応答パケットテーブルを示す。第2の手順では、参照元識別子が「PPS」であるデータ(D)を最も上位にして、その下に参照元識別子が「GPS」であるデータ(B)が位置し、その下に参照元識別子が「TJJY」であるデータ(C)が位置するように、データが並び替えられる。
FIG. 8 shows a response packet table in which the data shown in FIG. 7 is rearranged by the second procedure of the
ついで、第3の手順では、遅延時間dや内部処理時間Pに基づき、応答パケットテーブルのデータが並び替えられる。 Next, in the third procedure, the data in the response packet table is rearranged based on the delay time d and the internal processing time P.
図9は、サーバ選択部550の第3の手順により、図8に示すデータが並び替えられた応答パケットテーブルを示す。第3の手順は、階層値及び参照元識別子が同一であるデータを並び替えるものであり、遅延時間dが小さいデータが上位になるように、データが並び替えられる。図9のテーブルを、図8のテーブルと比較すると、データE,Gの順位が逆転している。これは、データE,Gは、いずれも階層値が「2」であり、且つ参照元識別子が「192.168.48.5」であるため並び替えの対象とされ、また、データEが、データGに比して、遅延時間dが長いことで、順位が逆転されたものである。また、遅延時間dによるデータの並び替えが行われた後、必要に応じて、内部処理時間Pが小さいデータが上位になるように、データの並べ替えが行われる。この並べ替えを要する場合は、データの順位を定めるために、内部処理時間Pを遅延時間dよりも重視する必要が生じた場合である。具体的には、応答要求パケットを受信したタイムサーバの処理能力に関連して、応答パケットテーブルの中に、内部処理時間Pが極端に長いデータが存在する場合や、階層値及び参照元識別子が同一である他のデータに比べて、内部処理時間Pが、μ秒単位で一桁以上異なるデータが存在する場合が該当する。このような場合、上記の内部処理時間Pによるデータの並べ替えを行うことで、内部処理時間Pが極端に長いデータの優先順位を下げること等が可能になる。例えば、応答パケットテーブルが図9の状態のときに、内部処理時間Pが小さいデータが上位となるよう、データを並べ替えると、応答パケットテーブルは、図8の状態に戻る。
FIG. 9 shows a response packet table in which the data shown in FIG. 8 is rearranged by the third procedure of the
また、図8のテーブルでは、遅延時間dが1900μ秒であるデータCが、遅延時間dが1800μ秒であるデータAよりも上に位置している。そして、図9のテーブルでは、図8のテーブルから順序が変更されることなく、データC,Aが並んでいる。これは、データCのように、階層値が「1」であり、且つ参照元識別子が「TJJY」である他のデータが存在しなかったため、データCは、第3の手順で並び替えの対象から除外されたことによる。 In the table of FIG. 8, data C with a delay time d of 1900 μs is positioned above data A with a delay time d of 1800 μs. In the table of FIG. 9, the data C and A are arranged without changing the order from the table of FIG. This is because, unlike data C, there is no other data having a hierarchical value of “1” and a reference source identifier of “TJJY”, so that data C is subject to sorting in the third procedure. Because it was excluded from.
ついで、第4の手順では、第1〜3の手順により並び替えが行われた応答パケットテーブルを用いて、サーバ選択テーブルが作成されて、記憶部120に記憶される。
Next, in the fourth procedure, a server selection table is created using the response packet table rearranged by the first to third procedures and stored in the
図10は、サーバ選択テーブルの例を示す図である。サーバ選択テーブルには、応答パケットテーブルの上位n件のデータに含まれるIPアドレスが記される。図10の例では、図9の応答パケットテーブルで上位6件のデータに含まれるIPアドレスが記される。また、これらIPアドレスは、図9の応答パケットテーブルの順序に従って並んでいる。図10のサーバ選択テーブルは、時刻情報の取得先として、タイムサーバ200〜205が選択可能であることを示す。また、サーバ選択テーブルは、タイムサーバを選択する優先順位を、IPアドレスの並び順により示す。図10のテーブルでは、タイムサーバ205→タイムサーバ204→タイムサーバ203→タイムサーバ202→タイムサーバ201→タイムサーバ200の順に、優先順位が高くなることを示す。この優先順位は、第1〜3の手順によるデータの並び替えが行われた結果、設定されたものである。
FIG. 10 is a diagram illustrating an example of a server selection table. In the server selection table, IP addresses included in the top n data of the response packet table are described. In the example of FIG. 10, the IP addresses included in the top 6 data are described in the response packet table of FIG. These IP addresses are arranged in the order of the response packet table of FIG. The server selection table in FIG. 10 indicates that the
つまり、サーバ選択テーブルでは、第2の手順が実行されたことで、タイムサーバの優先順位が、参照元識別子に基づき設定されている。図10の例は、第2の手順により、参照元識別子が「IPアドレス」である第2層のタイムサーバ203〜205→参照元識別子が「TJJY」であるタイムサーバ202→参照元識別子が「GPS」であるタイムサーバ201→参照元識別子が「PPS」であるタイムサーバ200の順に、優先順位が高くなるよう設定されている。
That is, in the server selection table, the priority order of the time servers is set based on the reference source identifier by executing the second procedure. In the example of FIG. 10, according to the second procedure, the
また、サーバ選択テーブルでは、第1の手順が実行されたことで、上層のタイムサーバが下層のタイムサーバよりも優先して選択されるように、階層値に基づき優先順位が設定されている。図10の例は、第1の手順により、第2層のタイムサーバ203〜205、→第1層のタイムサーバ200〜202の順に、優先順位が高くなるよう設定されている。
In the server selection table, the priority order is set based on the hierarchical value so that the upper time server is selected with priority over the lower time server by executing the first procedure. In the example of FIG. 10, the priority order is set to be higher in the order of the second
また、サーバ選択テーブルでは、第3の手順が実行されたことで、遅延時間dや内部処理時間Pが短いタイムサーバが優先して選択されるように、優先順位が設定されている。図10の例は、第3の手順により、遅延時間dが4900μ秒(図9のG)であるタイムサーバ204が、遅延時間dが5000μ秒(図9のE)であるタイムサーバ205よりも、優先順位が高くなるよう設定されている。
In the server selection table, the priority order is set so that a time server having a short delay time d or internal processing time P is preferentially selected by executing the third procedure. In the example of FIG. 10, the
サーバ選択部550による処理の後では、NTPデーモンが起動して、計時部160やシステムクロックの時刻合わせが行われる。具体的には、図10のサーバ選択テーブルに示されるアドレス宛に、時刻要求パケットが送信される。この送信により、タイムサーバ200〜206から内部時計の時刻を示す時刻情報が返信されて、該時刻情報が示す時刻に、通信端末100の計時部160等の時刻が修正される。
After the processing by the
なお図10のように、サーバ選択テーブルに複数のIPアドレスが含まれる場合には、例えば、サーバ選択テーブルで最も上位に記されるIPアドレス宛に、時刻要求パケットが送信され、これに応じて返信される時刻情報に基づき、計時部160等の時刻が修正される。図10の例では、「192.168.48.110」宛に時刻要求パケットが送信されることで、タイムサーバ200から時刻情報が返信され、この時刻情報に基づき時刻が修正される。このようにすることで、最も時刻精度の高いタイムサーバ200から送信される時刻情報に基づき、通信端末100の時刻合わせが行われる。
As shown in FIG. 10, when the server selection table includes a plurality of IP addresses, for example, a time request packet is transmitted to the highest IP address in the server selection table. Based on the returned time information, the time of the
あるいは、サーバ選択テーブルの全てのIPアドレス宛、又は上位n件のIPアドレス宛に、時刻要求パケットが送信されてもよい。この場合、複数のタイムサーバから時刻情報が返信されることになり、これら時刻情報の示す時刻の平均値が、RFC1305に詳述されるNTPに則った手順で算出されて、該平均値に計時部160等の時刻が修正される。図10の例で、全てのIPアドレス宛に時刻要求パケットが送信された場合、タイムサーバ200〜205から時刻情報が返信され、これら時刻情報から得られる平均値に、時刻が修正される。
Alternatively, the time request packet may be transmitted to all IP addresses in the server selection table or to the top n IP addresses. In this case, time information is returned from a plurality of time servers, and an average value of times indicated by these time information is calculated by a procedure according to NTP described in detail in RFC1305, and time is measured to the average value. The time of the
図11は、通信端末100の動作の一例を示すフローチャートである。図11に示す処理は、例えば、ユーザが入力部130(図2)を操作することで開始される。なお、NTPデーモンが起動中である際には、上記ユーザの操作により、NTPデーモンは一旦停止される。
FIG. 11 is a flowchart illustrating an example of the operation of the
まず、応答要求パケット送信部500は、ネットワーク300に対して、ブロードキャスト送信で、応答要求パケットを送信する(ステップS101)。
First, the response request
ついで、応答パケット受信部510は、タイムサーバ200〜206から応答パケットを受信したか否かを判断する(ステップS102)。
Next, the response
応答パケットを受信したと判断された場合には(ステップS102でYES)、応答パケットテーブル格納処理が実行される(ステップS103)。 If it is determined that a response packet has been received (YES in step S102), a response packet table storage process is executed (step S103).
図12は、応答パケットテーブル格納処理の一例を示すフローチャートである。 FIG. 12 is a flowchart illustrating an example of a response packet table storage process.
この処理では、まず、遅延時間計算部520が、上記式1により、時刻T1〜4を用いて遅延時間dを算出する(ステップS201)。
In this process, first, the delay
ついで、内部処理時間計算部530が、上記式2により、時刻T2,T3を用いて内部処理時間Pを算出する(ステップS202)。
Next, the internal processing
ついで、応答パケットデータ格納部540は、応答パケットのデータ(IPアドレス・階層値・参照元識別子)に、遅延時間dや内部処理時間Pを対応付けて(ステップS203)、記憶部120に記憶する(ステップS204)。
Next, the response packet
図11に戻り、ステップS103が実行された後、或いは、ステップS102で応答パケットが受信されていないと判定された場合には(ステップS102でNO)、応答パケット受信部510は、ステップS101で応答要求パケットが送信されてから、所定の時間が経過したか否かを判断する(ステップS104)。
Returning to FIG. 11, after step S103 is executed, or when it is determined in step S102 that a response packet has not been received (NO in step S102), the response
所定の時間が経過してないと判断された場合(ステップS104でNO)、応答パケット受信部510は、処理をステップS102に戻す。
If it is determined that the predetermined time has not elapsed (NO in step S104), response
この復帰により、タイムサーバ200〜206から応答パケットが受信されるたび、ステップS103が実行される。この結果、応答パケットのデータが受信順に記憶部120に記憶されることで、図6に示す応答パケットテーブルが作成される。
By this return, step S103 is executed every time a response packet is received from the
ステップS104で、所定の時間が経過したと判断された場合には(ステップS104でYES)、応答パケットテーブルの並び替え処理が実行される(ステップS105)。 If it is determined in step S104 that the predetermined time has elapsed (YES in step S104), a response packet table rearrangement process is executed (step S105).
図13は、応答パケットテーブルの並び替え処理の一例を示すフローチャートである。このテーブル並び替え処理では、上述したサーバ選択部550による第1〜3の手順が実行される(ステップS301〜S305)。ステップS301〜S305により、応答パケットテーブルのデータが、階層値、参照元識別子、遅延時間d、及び内部処理時間Pに基づき並べ替えられる。
FIG. 13 is a flowchart illustrating an example of a response packet table rearrangement process. In this table rearrangement process, the first to third procedures by the
図11に戻り、ステップS105の実行後では、サーバ選択テーブル格納処理が実行される(ステップS106)。 Returning to FIG. 11, after execution of step S105, server selection table storage processing is executed (step S106).
図14は、サーバ選択テーブル格納処理の一例を示すフローチャートである。サーバ選択テーブル格納処理では、上述したサーバ選択部550による第4〜5の手順が実行される。まず、第1〜3の手順でデータの並び替えが行われた応答パケットテーブルにおいて、上位n件のデータに含まれるIPアドレスが取得される(ステップS401)。ついで、ステップS401で取得されたIPアドレスが記憶部120に記憶されることで(ステップS402)、図10に示すサーバ選択テーブルが作成・記憶される。
FIG. 14 is a flowchart illustrating an example of the server selection table storage process. In the server selection table storage process, the fourth to fifth procedures by the
図11に戻り、ステップS106の後では、NTPデーモンが再起動される(ステップS107)。このNTPデーモンの起動により、サーバ選択テーブル(図10)に示されるアドレス宛に、時刻要求パケットが送信される。ついで、これに応じて返信された時刻情報に基づき、計時部160の時刻が修正される。
Returning to FIG. 11, after step S106, the NTP daemon is restarted (step S107). By starting the NTP daemon, a time request packet is transmitted to the address shown in the server selection table (FIG. 10). Next, the time of the
本実施の形態によれば、タイムサーバ200〜206の中から、時刻情報の取得先となる候補が、タイムサーバ200〜206の時刻参照元を示す識別子等に基づき選択される。このため、時刻情報の取得先として、原子時計400、GPS401、及びテレホンJJY402等を参照元とする時刻精度の高いタイムサーバを選択することが可能であり、これらタイムサーバが送信する時刻情報に基づき通信端末100の時刻合わせが行われることで、通信端末100が計時する時刻は、正確になる。
According to the present embodiment, a candidate that is a time information acquisition destination is selected from the
また、時刻情報の取得先となる候補は、タイムサーバ200〜206から返信される応答パケットのデータが用いられて選択される。よって、時刻情報の取得先を選択する処理を行うために、通信端末100に予めデータを入力しておく必要がない。このため、ユーザに手間を要しない。
In addition, candidates for obtaining time information are selected using response packet data returned from the
応答要求パケットがブロードキャスト送信でネットワーク300に対して送信されることで、ネットワーク300に接続されたタイムサーバ200〜206の全てが、応答パケットを通信端末100に送信する。よって、時刻精度の高いタイムサーバが、応答パケットの未送信(応答要求パケットの未受信)により、時刻情報の取得先の候補から除外されることを防止できる。
When the response request packet is transmitted to the
また、時刻情報の取得先を選択するための優先順位が、参照元識別子等に基づき設定される。よって、この優先順位に従い時刻情報の取得先が選択されることで、確実に時刻精度の高いタイムサーバ200が参照されて、通信端末100の時刻合わせが行われる。このため、通信端末100が計時する時刻は、より一層正確になる。
Also, a priority order for selecting a time information acquisition destination is set based on a reference source identifier or the like. Therefore, by selecting the time information acquisition destination according to this priority, the
また、上層のタイムサーバが下層のタイムサーバよりも優先して選択されるように、階層値に基づき優先順位が設定される。よって、時刻精度の高い上層のタイムサーバが参照されて、通信端末100の時刻合わせが行われる。
Further, the priority order is set based on the hierarchy value so that the upper time server is selected in preference to the lower time server. Therefore, the time of the
また、内部処理時間Pや遅延時間dが短いタイムサーバが優先して選択されるように、優先順位が設定される。これにより、時刻情報の取得先として応答の早いタイムサーバが選択されるため、通信端末100がタイムサーバを参照して時刻合わせを行う時間間隔は短くなる。よって、通信端末100の計時部160が計時する時刻は、時間経過による狂いが小さく抑えられたものになり、計時部160の時刻を、常時、正確にする上で有利になる。
In addition, the priority order is set so that a time server having a short internal processing time P or delay time d is selected with priority. As a result, a time server that responds quickly is selected as the time information acquisition destination, and therefore the time interval at which the
本発明は、上述の実施の形態に限定されず、特許請求の範囲において種々改変することができる。 The present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the claims.
例えば、通信端末100は、他の装置に時刻情報を提供するタイムサーバとして機能するように構成されてもよい。
For example, the
また、応答要求パケットは、初期設定時以外にも適当な時間間隔で定期的に、ネットワーク300に対してブロードキャスト送信で送信されるようにしてもよい。この場合、新たな応答パケットが受信されるたびに、サーバ選択テーブルのデータが更新される。
Further, the response request packet may be transmitted to the
また、時刻情報の取得先となる候補や、時刻情報の取得先を選択するための優先順位は、参照元識別子のみに基づき設定されてもよい。この場合、遅延時間d及び内部処理時間Pは算出されず、応答パケットデータ格納部540により作成される応答パケットテーブルは、例えば図15に示すようになる。
In addition, the candidates for the time information acquisition destination and the priority order for selecting the time information acquisition destination may be set based only on the reference source identifier. In this case, the delay time d and the internal processing time P are not calculated, and the response packet table created by the response packet
そして、サーバ選択部550により、応答パケットテーブルのデータが、参照元識別子に基づき並べ替えられる。この結果、応答パケットテーブルのデータは、例えば図16に示すようになる。図16では、データの順位が、参照元識別子が「IPアドレス」であるデータA,E,F,G→参照元識別子が「TJJY」であるデータC→参照元識別子が「GPS」であるデータB→参照元識別子が「PPS」であるデータDの順に高くなるよう、データが並べ替えられている。
Then, the
そして、サーバ選択部550により、応答パケットテーブルの上位n件のIPアドレスが取得される。この結果、例えば図17に示すサーバ選択テーブルが作成される。図17のテーブルは、応答パケットテーブルの上位3件のIPアドレスが取得されたものである。図17のテーブルによれば、原子時計400・GPS401・テレホンJJY402を参照元とするタイムサーバ200〜202が、時刻情報の取得先として選択可能とされる。また、タイムサーバ200〜202の優先順位が、タイムサーバ202→タイムサーバ201→タイムサーバ200の順に高くなるように設定される。
Then, the
また、サーバ選択テーブルのデータは、図18に示す形式に変形され得る。図18の例では、データがntp.confファイル形式で記されている。ntp.confファイルは、NTPデーモンの設定ファイルであり、参照するタイムサーバの指定やポーリング間隔、アクセス制御の設定などが記述され、minpoll,maxpoll,preferなどのオプションパラメータが付加される。 Further, the data in the server selection table can be transformed into the format shown in FIG. In the example of FIG. 18, data is written in the ntp.conf file format. The ntp.conf file is a setting file for the NTP daemon, which describes the specification of the time server to be referred to, the polling interval, the setting of access control, and the like, and optional parameters such as minpoll, maxpoll, and preference are added.
また、図19は、本発明の通信端末が適用される他の通信システム2を示すブロック図である。通信システム2は、図1の通信システム1とは、タイムサーバ200の時刻参照元が異なり、タイムサーバ200は、タイムサーバ201と同様に、GPS401を参照して定期的に時刻合わせを行う。
FIG. 19 is a block diagram showing another
図19の通信システム2のように、時刻参照元が共通する複数のタイムサーバ200,201が存在する場合には、応答パケットデータ格納部540により作成される応答パケットテーブルは、例えば図20に示すようになる。
When there are a plurality of
図20のテーブルでは、タイムサーバ200,201のデータD,Bに、参照元識別子「GPS」が示される。
In the table of FIG. 20, the reference source identifier “GPS” is shown in the data D and B of the
また、IPアドレス・参照元識別子には、同期識別子が対応付けられている。同期識別子は、応答パケットの「LI」(図4)の2ビット整数が取得されたものであり、タイムサーバ200〜206で、時刻の同期が行われているか否かを示す。
Further, a synchronization identifier is associated with the IP address / reference source identifier. The synchronization identifier is obtained by acquiring a 2-bit integer of “LI” (FIG. 4) of the response packet, and indicates whether or not time synchronization is performed in the
タイムサーバ201のデータBでは、同期識別子「11」が示される。これは、タイムサーバ201が、応答パケットを送信する際に、一時的に時刻の同期を行っていなかったことを意味する。
In the data B of the
一方、他のタイムサーバのデータ(B以外のデータ)では、同期識別子「00」が示される。これは、他のタイムサーバが、応答パケットを送信する際に、時刻の同期を行っていたことを意味する。 On the other hand, the synchronization identifier “00” is indicated in the data of other time servers (data other than B). This means that other time servers are performing time synchronization when transmitting the response packet.
応答パケットテーブルが作成された後では、サーバ選択部550により、以下の第1,2の手順により、応答パケットテーブルのデータが並べ替えられる。
After the response packet table is created, the
まず、第1の手順では、応答パケットテーブルのデータが、参照元識別子に基づき並べ替えられる。この結果、応答パケットテーブルは、例えば、図21に示すようになる。図21では、データの順位が、参照元識別子が「IPアドレス」であるデータA,E,F,G→参照元識別子が「TJJY」であるデータC→参照元識別子が「GPS」であるデータD→参照元識別子が「GPS」であるデータBの順に高くなっている。 First, in the first procedure, the data in the response packet table is rearranged based on the reference source identifier. As a result, the response packet table is as shown in FIG. 21, for example. In FIG. 21, data A, E, F, G with reference source identifier “IP address” → data C with reference source identifier “TJJY” → data with reference source identifier “GPS”. D → Higher in the order of data B whose reference source identifier is “GPS”.
図21のテーブルは、上記データの並びにより、時刻合わせの参照元が異なるタイムサーバの優先順位が、設定されたものとなっている。つまり、タイムサーバ203〜205は、他のタイムサーバを時刻の参照元とし、タイムサーバ202、タイムサーバ201,200は、テレホンJJY402、GPS401,400を時刻の参照元にすることで、それぞれ時刻の参照元が異なるが、図21のテーブルでは、タイムサーバ203〜206→タイムサーバ202→タイムサーバ200,201の順に、優先順位が高くなるよう設定されている。
In the table of FIG. 21, the priority order of time servers with different reference sources for time adjustment is set based on the arrangement of the data. That is, the
なお、参照元識別子が「GPS」であるデータB,Dでは、図20の上下の位置関係が継承されて、図20と同様、データBが、データDよりも上位に並んでいる。 In the data B and D whose reference source identifier is “GPS”, the upper and lower positional relationships in FIG. 20 are inherited, and the data B is arranged higher than the data D as in FIG.
ついで、第2の手順では、サーバ選択部550は、同期識別子に基づきデータを並べ替える。この並べ替えは、参照元識別子が同一であるデータB,Dを対象とするものであり、同期識別子が「00」であるデータDが、同期識別子が「11」であるデータBよりも上位とされる。この結果、応答パケットテーブルのデータは、図22に示すようになる。
Next, in the second procedure, the
図22のテーブルは、データの並びにより、時刻合わせの参照元が同一であるタイムサーバの優先順位が設定されたものである。すなわち、時刻合わせの参照元がGPS401であるタイムサーバ200,201の優先順位が、タイムサーバ201→タイムサーバ200の順に高くなるよう設定されている。
The table of FIG. 22 is set with the priority order of time servers having the same reference source for time adjustment based on the arrangement of data. That is, the priority order of the
ついで、サーバ選択部550は、応答パケットテーブルの上位n件のIPアドレスを取得する。この結果、例えば図23に示すサーバ選択テーブルが作成される。図23のテーブルは、応答パケットテーブルの上位3件のIPアドレスが取得されたものである。図23のテーブルによれば、GPS401やテレホンJJY402を参照元とするタイムサーバ200〜202が、時刻情報の取得先として選択可能とされる。また、タイムサーバ200〜202を選択する優先順位が、タイムサーバ202→タイムサーバ201→タイムサーバ200の順に、高くなるように設定される。
Next, the
以上の処理によれば、時刻合わせの参照元が同一であるタイムサーバの優先順位が、同期識別子に基づき設定される。このため、時刻同期を行っているタイムサーバが、時刻同期を行っていないタイムサーバよりも、優先して選択される。 According to the above processing, the priority order of the time servers having the same time synchronization reference source is set based on the synchronization identifier. For this reason, the time server performing time synchronization is selected with priority over the time server not performing time synchronization.
また、時刻合わせの参照元が同一であるタイムサーバの優先順位と、時刻合わせの参照元が異なるタイムサーバの優先順位とが合わせて設定されることで、時刻精度の高いタイムサーバの優先順位が、低く設定されることを回避できる。つまり図20〜図22の例では、第1の手順の並べ替えにより、図21に示すように、データA,E,F,G→データC→データB→データB,Dの順に、優先順位が高くなるよう設定される。そして、第2の手順では、参照元識別子が同一であるデータB,Dのみが並べ替えの対象とされて、同期識別子に基づき並べ替えられる。よって図22に示すように、参照元識別子が「GPS」であるデータB,Dは、参照元識別子が「TJJY」や「IPアドレス」であるデータC,A,E,F,Gよりも、下位にならない。以上により、時刻精度の高いタイムサーバが、時刻の同期を行っていないことで、時刻情報の取得先の候補から除外されることを防止できる。 Also, the priority order of time servers with the same time reference source and the priority order of time servers with different time reference sources are set together, so that the priority order of time servers with high time accuracy is set. , It can avoid being set low. That is, in the examples of FIGS. 20 to 22, the priority order is changed in the order of data A, E, F, G → data C → data B → data B, D as shown in FIG. Is set higher. In the second procedure, only the data B and D having the same reference source identifier are sorted and sorted based on the synchronization identifier. Therefore, as shown in FIG. 22, the data B and D whose reference source identifier is “GPS” are more than the data C, A, E, F, and G whose reference source identifier is “TJJY” and “IP address”. Don't be subordinate. As described above, it is possible to prevent the time server with high time accuracy from being excluded from the candidates for the time information acquisition destination because the time is not synchronized.
また、同期識別子によるデータの並び替え(図15〜図16に示すデータの並び替え)と、階層値、参照元識別子、及び遅延時間によるデータの並び替え(図6〜図9に示すデータの並び替え)とを組み合わせて実行することも可能である。この場合、応答パケットデータ格納部540により作成される応答パケットテーブルは、例えば、図24に示すようになる。図24の応答パケットテーブルでは、IPアドレス、階層値、同期識別子、参照元識別子、遅延時間d、及び内部処理時間Pが対応付けられている。
Further, data rearrangement by the synchronization identifier (data rearrangement shown in FIGS. 15 to 16) and data rearrangement by the hierarchy value, the reference source identifier, and the delay time (data rearrangement shown in FIGS. 6 to 9). It is also possible to execute in combination. In this case, the response packet table created by the response packet
まず、サーバ選択部550は、応答パケットテーブルのデータを、階層値に基づき並び替える。この結果、応答パケットテーブルは、図25に示すようになる。図25では、階層値2のデータA,E,Gが階層値1のデータB,C,Dの下位になり、階層値3のデータFが階層値2のデータA,E,Gの下位になるよう、データが並び替えられている。
First, the
ついで、サーバ選択部550は、階層値が「1」であるデータを、参照元識別子に基づき並び替える。この結果、応答パケットテーブルは、図26に示す状態になる。図26では、参照元識別子が「TJJY」であるデータCが、参照元識別子が「GPS」であるデータDの下位に並び替えられている。
Next, the
ついで、サーバ選択部550は、階層値及び参照元識別子が同一であるデータを、同期識別子に基づき並び替える。この結果、応答パケットテーブルは、図27に示す状態になる。図27では、同期識別子が「11」であるデータBが、同期識別子が「00」であるデータDの下位に並び替えられている。
Next, the
ついで、サーバ選択部550は、応答パケットテーブルのデータを、遅延時間dに基づき並び替える。この結果、応答パケットテーブルは、図28に示す状態になる。図28では、遅延時間dが「5000μ秒」であるデータEが、遅延時間dが「4900μ秒」であるデータGの下位に並び替えられている。
Next, the
この後、上述したように、データの順位を定めるために、内部処理時間Pを遅延時間dよりも重視する必要が生じている場合には、内部処理時間Pに基づき、データの並べ替えが行われる。 Thereafter, as described above, when it is necessary to place importance on the internal processing time P rather than the delay time d in order to determine the order of data, the data is rearranged based on the internal processing time P. Is called.
また、本実施の形態の通信端末100における各種処理を行う手段および方法は、専用のハードウェア回路、またはプログラムされたコンピュータのいずれによっても実現することが可能である。上記プログラムは、たとえばフレキシブルディスクやCD−ROMなどのコンピュータ読み取り可能な記録媒体によって提供されてもよいし、インターネット等のネットワークを介してオンラインで提供されてもよい。この場合、コンピュータ読み取り可能な記録媒体に記録されたプログラムは、通常、ハードディスク等の記憶部に伝送されて記憶される。また、上記プログラムは、単独のアプリケーションソフトとして提供されてもよいし、装置の一機能としてその装置のソフトウェアに組み込まれてもよい。
The means and method for performing various processes in the
1,2 通信システム
100 通信端末
110 制御部
120 記憶部
130 入力部
140 出力部
150 通信制御部
160 計時部
200,201,202,203,
204,205,206 タイムサーバ
300 ネットワーク
400 原子時計(PPS)
401 GPS
402 テレホンJJY
500 応答要求パケット送信部
510 応答パケット受信部
520 遅延時間計算部
530 内部処理時間計算部
540 応答パケットデータ格納部
550 サーバ選択部
1, 2 Communication system
100 communication terminal
110 Control unit
120 storage unit
130 Input section
140 Output unit
150 Communication control unit
160
204, 205, 206 Time server
300 network
400 Atomic clock (PPS)
401 GPS
402 Telephone JJY
500 Response request packet transmitter
510 Response packet receiver
520 Delay time calculator
530 Internal processing time calculator
540 Response packet data storage
550 server selector
Claims (9)
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信部と、
前記応答パケット受信部が前記応答パケットを受信するたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納部と、
前記応答パケットデータ格納部が格納したデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択部と、を有し、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択部は、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とする通信端末。 A response request packet transmitter for transmitting a response request packet to a network to which a plurality of servers are connected;
A response packet receiving unit that receives a response packet from the server that has received the response request packet through the network;
A response packet data storage unit that stores data acquired from the response packet each time the response packet reception unit receives the response packet;
Using the data stored in the response packet data storage unit, a server selection unit that selects a candidate to obtain time information from the plurality of servers, and
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
The communication terminal characterized in that the server selection unit selects a candidate from which the time information is acquired based on the reference source identifier.
前記サーバ選択部は、前記参照元識別子に基づき、前記時刻合わせの参照元が異なるサーバの優先順位を設定し、前記同期識別子に基づき、前記時刻合わせの参照元が同一であるサーバの優先順位を設定することを特徴とする請求項3に記載の通信端末。 As the data acquired from the response packet, there is a synchronization identifier indicating whether or not the server is performing time synchronization,
The server selection unit sets priority of servers having different reference sources for time adjustment based on the reference source identifier, and sets priority of servers having the same reference source for time adjustment based on the synchronization identifier. The communication terminal according to claim 3, wherein the communication terminal is set.
前記応答パケットから取得されるデータとして、前記サーバが位置する階層を示す階層値があり、
前記サーバ選択部は、前記階層値に基づき、前記時刻情報の取得先として前記上層のサーバが前記下層のサーバよりも優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする請求項1乃至4のいずれか1項に記載の通信端末。 The plurality of servers are hierarchized on the network such that a lower layer server refers to an upper layer server for time adjustment,
As data acquired from the response packet, there is a layer value indicating a layer where the server is located,
The server selection unit, based on the hierarchy value, prioritizes candidates as the time information acquisition destination so that the upper layer server is selected as a time information acquisition destination in preference to the lower layer server. The communication terminal according to any one of claims 1 to 4, wherein a rank is set.
前記サーバ選択部は、前記時刻情報の取得先として前記遅延時間が短いサーバが優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする請求項1乃至5のいずれか1項に記載の通信端末。 The time required for the response packet receiving unit to receive the response packet after the response request packet transmitting unit transmits the response request packet, and the response packet after the server receives the response request packet A delay time calculating unit that calculates a delay time indicating a difference from the time required to transmit
The server selection unit sets priorities of candidates as acquisition destinations of the time information so that a server with a short delay time is preferentially selected as an acquisition destination of the time information. Item 6. The communication terminal according to any one of Items 1 to 5.
前記サーバ選択部は、前記時刻情報の取得先として前記内部処理時間が短いサーバが優先して選択されるように、前記時刻情報の取得先となる候補の優先順位を設定することを特徴とする請求項1乃至6のいずれか1項に記載の通信端末。 The server further includes an internal processing time calculation unit that calculates an internal processing time required from when the response request packet is received until the response packet is transmitted,
The server selection unit sets priorities of candidates for obtaining the time information so that the server with a short internal processing time is preferentially selected as the time information obtaining destination. The communication terminal according to any one of claims 1 to 6.
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信ステップと、
前記応答パケット受信ステップで前記応答パケットが受信されるたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納ステップと、
前記応答パケットデータ格納ステップで格納されたデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択ステップと、を有し、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択ステップでは、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とする通信端末の制御方法。 A response request packet transmission step of transmitting a response request packet to a network to which a plurality of servers are connected;
A response packet receiving step of receiving a response packet from the server that has received the response request packet through the network;
A response packet data storage step for storing data obtained from the response packet each time the response packet is received in the response packet reception step;
Using the data stored in the response packet data storage step, a server selection step of selecting a candidate to obtain time information from the plurality of servers, and
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
In the server selection step, a candidate for obtaining the time information is selected based on the reference source identifier.
複数のサーバが接続されたネットワークに対して、応答要求パケットを送信する応答要求パケット送信手段、
前記応答要求パケットを受信した前記サーバから、前記ネットワークを通じて、応答パケットを受信する応答パケット受信手段、
前記応答パケット受信手段が前記応答パケットを受信するたびに、該応答パケットから取得されるデータを格納する応答パケットデータ格納手段、
前記応答パケットデータ格納手段が格納したデータを用いて、前記複数のサーバの中から、時刻情報の取得先となる候補を選択するサーバ選択手段として機能させ、
前記応答パケットから取得されるデータとして、前記サーバの時刻合わせの参照元を示す参照元識別子があり、
前記サーバ選択手段は、前記参照元識別子に基づき、前記時刻情報の取得先となる候補を選択することを特徴とするプログラム。 Computer
Response request packet transmitting means for transmitting a response request packet to a network to which a plurality of servers are connected;
Response packet receiving means for receiving a response packet from the server that has received the response request packet through the network;
Response packet data storage means for storing data acquired from the response packet each time the response packet receiving means receives the response packet;
Using the data stored in the response packet data storage means, function as server selection means for selecting a candidate to obtain time information from the plurality of servers,
As the data acquired from the response packet, there is a reference source identifier indicating a reference source of time adjustment of the server,
The server selecting means selects a candidate from which the time information is acquired based on the reference source identifier.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010261795A JP2012113504A (en) | 2010-11-24 | 2010-11-24 | Communication terminal, control method and program thereof |
PCT/JP2011/074068 WO2012070341A1 (en) | 2010-11-24 | 2011-10-19 | Communication terminal, method for controlling communication terminal, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010261795A JP2012113504A (en) | 2010-11-24 | 2010-11-24 | Communication terminal, control method and program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012113504A true JP2012113504A (en) | 2012-06-14 |
Family
ID=46145698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010261795A Pending JP2012113504A (en) | 2010-11-24 | 2010-11-24 | Communication terminal, control method and program thereof |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2012113504A (en) |
WO (1) | WO2012070341A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014235013A (en) * | 2013-05-31 | 2014-12-15 | 三菱電機株式会社 | Time synchronization device, system, and method |
JP2020126317A (en) * | 2019-02-01 | 2020-08-20 | 株式会社デンソー | Device for vehicle and time synchronization method of device for vehicle |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10177979B2 (en) | 2015-10-23 | 2019-01-08 | International Business Machines Corporation | Non-disruptively splitting a coordinated timing network |
US10447532B2 (en) | 2015-10-23 | 2019-10-15 | International Business Machines Corporation | Non-disruptively merging coordinated timing networks |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007101183A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Communication system and time synchronization method |
JP2008079008A (en) * | 2006-09-21 | 2008-04-03 | Murata Mach Ltd | Network terminal |
JP2008080653A (en) * | 2006-09-27 | 2008-04-10 | Oki Data Corp | Image processor |
-
2010
- 2010-11-24 JP JP2010261795A patent/JP2012113504A/en active Pending
-
2011
- 2011-10-19 WO PCT/JP2011/074068 patent/WO2012070341A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007101183A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Communication system and time synchronization method |
JP2008079008A (en) * | 2006-09-21 | 2008-04-03 | Murata Mach Ltd | Network terminal |
JP2008080653A (en) * | 2006-09-27 | 2008-04-10 | Oki Data Corp | Image processor |
Non-Patent Citations (2)
Title |
---|
CSND200600515013; ASH Multimedia Lab.: 'システムダウン! そのときあなたは?' SoftwareDesign No.180 , (株)技術評論社 * |
JPN6013035849; ASH Multimedia Lab.: 'システムダウン! そのときあなたは?' SoftwareDesign No.180 , (株)技術評論社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014235013A (en) * | 2013-05-31 | 2014-12-15 | 三菱電機株式会社 | Time synchronization device, system, and method |
JP2020126317A (en) * | 2019-02-01 | 2020-08-20 | 株式会社デンソー | Device for vehicle and time synchronization method of device for vehicle |
JP7135903B2 (en) | 2019-02-01 | 2022-09-13 | 株式会社デンソー | Vehicle device, time synchronization method for vehicle device |
Also Published As
Publication number | Publication date |
---|---|
WO2012070341A1 (en) | 2012-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9671761B2 (en) | Method, time consumer system, and computer program product for maintaining accurate time on an ideal clock | |
EP2169857B1 (en) | Terminal device, time adjusting method of terminal device and communication system | |
JP3993508B2 (en) | Wireless access network system, wireless communication method, synchronization server, and node device | |
US9756153B2 (en) | Method for improving accuracy in computation of one-way transfer time for network time synchronization | |
JP6192995B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMPUTER PROGRAM | |
JP2007078688A (en) | System and method for calibrating tod clock | |
JP6343395B2 (en) | Distribution of dynamic accuracy information in IEEE 1588 clock network | |
US20150207877A1 (en) | Time synchronization client, a system and a non-transitory computer readable medium | |
US10901372B2 (en) | Time synchronization device, time synchronization system, and time synchronization method | |
JP4472994B2 (en) | Method for time synchronization of at least two measuring computers cooperating via a communication network such as the Internet, an intranet or the like | |
JP2012113504A (en) | Communication terminal, control method and program thereof | |
JP6605863B2 (en) | Electronic device, method, program, and protection system | |
JP2012530411A5 (en) | ||
WO2019003320A1 (en) | Communication system, master device and slave device | |
CN115765909A (en) | Clock synchronization method, device and storage medium | |
US11336510B2 (en) | Information processing system, information processing method, and non-transitory recording medium | |
JP2014165582A (en) | Time synchronization system, time synchronization method, slave node and computer program | |
JP4734115B2 (en) | Timekeeping system, time service providing apparatus, and time service providing system | |
WO2013082812A1 (en) | Method and device for determining master clock device, and other method, device, and system | |
JP2010078506A (en) | Apparatus and program for communication | |
JP2008079008A (en) | Network terminal | |
JP2013074338A (en) | Time server, terminal, time synchronization system, time synchronization method, and program | |
CN113259039A (en) | Time synchronization method and device, computer equipment and storage medium | |
JP6085864B2 (en) | Time synchronization system, time synchronization method, slave node, and computer program | |
JP5174778B2 (en) | Wireless base station equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130723 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130920 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131112 |