JP2007101457A - Transmitter, receiver, time notification method, and time setting method - Google Patents

Transmitter, receiver, time notification method, and time setting method Download PDF

Info

Publication number
JP2007101457A
JP2007101457A JP2005294268A JP2005294268A JP2007101457A JP 2007101457 A JP2007101457 A JP 2007101457A JP 2005294268 A JP2005294268 A JP 2005294268A JP 2005294268 A JP2005294268 A JP 2005294268A JP 2007101457 A JP2007101457 A JP 2007101457A
Authority
JP
Japan
Prior art keywords
time
data
delay time
packet
notification
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
Application number
JP2005294268A
Other languages
Japanese (ja)
Inventor
Yuichi Tokunaga
雄一 徳永
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005294268A priority Critical patent/JP2007101457A/en
Publication of JP2007101457A publication Critical patent/JP2007101457A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To tick the same time between a plurality of devices by wirelessly transmitting information of time ticked by one device, even in an unstable wireless environment. <P>SOLUTION: A transmission terminal 100 generates a time notification packet, including notification time data indicating a notification time, measures a transmission delay time that is delay regarding transmission of the time notification packet, including the transmission delay time data indicating the transmission delay time in the time notification packet, and wirelessly transmits the time notification packet including the notification time data and the transmission delay time data to a plurality of receivers 200 by broadcasting. The receivers 200 measures the receiving delay time being delay regarding receiving of the time notification packet, sets the time on the basis of the notification time data, the transmission delay time data and receives delay time data included in the time notification packet, and synchronizes between the transmitter 100 and the receiver 200. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、二以上の端末が存在する場合に、一つの端末で刻まれている時刻の情報を他の端末に転送し、複数の端末間で同じ時刻を刻むようにする時刻同期技術に関する。   The present invention relates to a time synchronization technique in which when there are two or more terminals, information on the time recorded in one terminal is transferred to another terminal so that the same time is recorded among a plurality of terminals.

一般的に、一方の端末の時刻を別の端末に転送し、同じ時刻を刻むことを目的とした時刻同期においては、転送遅延による時刻誤差が課題となっている。高精度に時刻同期するためには、本時刻誤差を計測、補正する方法が必要とされる。この際、受信側においては計測した遅延時間を時刻設定時に設定すればよいが、送信遅延をどのように伝えるかが課題となる。例えば、特許文献1は、時刻情報を送信した際の遅延時間を計測し、2回目の通信にて本遅延時間を送信している。
特開平9−83608号公報
Generally, in time synchronization aiming at transferring the time of one terminal to another terminal and keeping the same time, a time error due to a transfer delay is a problem. In order to synchronize the time with high accuracy, a method for measuring and correcting this time error is required. At this time, on the receiving side, the measured delay time may be set at the time setting time, but how to transmit the transmission delay becomes a problem. For example, Patent Document 1 measures a delay time when time information is transmitted, and transmits this delay time in the second communication.
JP-A-9-83608

上記の従来の時刻同期方式を無線に適用する場合、無線通信は環境に応じて通信成功率が顕著に変化するという問題点があった。例えば、ブロードキャストを用いて1つの端末の時刻情報を複数の端末に同時送信する場合、パケットが2つある場合には最初のパケットは受信できたが次は受信できない、あるいはその逆となる端末が現れる。よって特許文献1のように時刻情報と遅延情報を別のパケットで送信する場合にはデータの整合性が取れなくなる問題があった。   When the above-described conventional time synchronization method is applied to radio, the radio communication has a problem that the communication success rate changes significantly according to the environment. For example, when the time information of one terminal is simultaneously transmitted to a plurality of terminals using broadcast, when there are two packets, the first packet can be received but the next cannot be received, or vice versa. appear. Therefore, when time information and delay information are transmitted in different packets as in Patent Document 1, there is a problem that data consistency cannot be obtained.

この発明は上記のような問題点を解決することを目的の一つとし、例えば無線通信を用いたブロードキャストによって、複数の端末に確実に時刻および遅延情報を伝達することを主な目的とする。   One object of the present invention is to solve the above-described problems, and a main object is to reliably transmit time and delay information to a plurality of terminals by broadcast using, for example, wireless communication.

本発明に係る送信装置は、
所定の受信装置に対して時刻を通知する送信装置であって、
通知時刻を示す通知時刻データが含まれるパケットを時刻通知パケットとして生成するパケット生成部と、
送信装置内の遅延時間である送信遅延時間を計測する送信遅延時間計測部と、
前記送信遅延時間計測部により計測された送信遅延時間を示す送信遅延時間データを時刻通知パケットに含ませるデータ合成部と、
通知時刻データと送信遅延時間データとが含まれる時刻通知パケットを前記受信装置に対して送信するパケット送信部とを有することを特徴とする。
The transmission device according to the present invention is:
A transmitting device for notifying a predetermined receiving device of a time,
A packet generation unit that generates a packet including notification time data indicating a notification time as a time notification packet;
A transmission delay time measurement unit that measures a transmission delay time that is a delay time in the transmission device;
A data synthesis unit that includes transmission delay time data indicating the transmission delay time measured by the transmission delay time measurement unit in a time notification packet;
A packet transmission unit configured to transmit a time notification packet including notification time data and transmission delay time data to the receiving device;

本発明によれば、一つの時刻通知パケットに通知時刻データ及び送信遅延時間データの両者を含ませて受信装置に対して送信することができるため、通知時刻データと送信遅延時間データとを別のパケットで送信する必要がない。これにより、通知時刻データは受信装置に到達したが、パケットの欠損により送信遅延時間データは受信装置に届かない、または逆に、送信遅延時間データは受信装置に到達したが、パケットの欠損により通知時刻データは受信装置に届かないという事態を回避することができ、これにより時刻誤差成分を抑えることができ、高精度な時刻交換が実現できる。   According to the present invention, both the notification time data and the transmission delay time data can be included in one time notification packet and transmitted to the receiving apparatus, so that the notification time data and the transmission delay time data are different from each other. There is no need to send in packets. As a result, the notification time data reaches the receiving device, but the transmission delay time data does not reach the receiving device due to packet loss, or conversely, the transmission delay time data reaches the receiving device, but is notified due to packet loss. It is possible to avoid a situation in which the time data does not reach the receiving apparatus, thereby suppressing a time error component and realizing highly accurate time exchange.

実施の形態1.
図1は、本実施の形態が対象とする無線通信システムの構成例を示す図である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration example of a wireless communication system targeted by the present embodiment.

図1において、送信装置100は、複数の受信装置200に対してブロードキャスト通信により時刻を通知する。送信装置100は、送信装置100における時刻を示す通知時刻データ及び送信装置100内の遅延時間である送信遅延時間を示す送信遅延時間データを一つのパケットに含め、このパケットを各受信装置200に送信する。送信装置100が送信するパケットを時刻通知パケットと呼ぶ。なお、以下では、時刻通知パケットを「パケット」、「無線パケット」、「送信パケット」、「受信パケット」ともいう。   In FIG. 1, the transmission device 100 notifies time to the plurality of reception devices 200 by broadcast communication. The transmission apparatus 100 includes notification time data indicating time in the transmission apparatus 100 and transmission delay time data indicating transmission delay time, which is a delay time in the transmission apparatus 100, in one packet, and transmits this packet to each reception apparatus 200. To do. A packet transmitted by the transmitting apparatus 100 is called a time notification packet. Hereinafter, the time notification packet is also referred to as “packet”, “wireless packet”, “transmission packet”, and “reception packet”.

受信装置200では、時刻通知パケットを受信した際に受信装置200内の遅延時間である受信遅延時間を計測し、時刻通知パケットに含まれている通知時刻データ、送信遅延時間データ、計測した受信遅延時間を示す受信遅延時間データを用いて時刻を設定する。   When receiving the time notification packet, the receiving device 200 measures a reception delay time that is a delay time in the receiving device 200, and includes notification time data, transmission delay time data, and measured reception delay included in the time notification packet. Time is set using reception delay time data indicating time.

なお、本実施の形態では、無線通信システムを例にしているが有線の通信システムであってもよい。   In the present embodiment, a wireless communication system is taken as an example, but a wired communication system may be used.

図2は、本実施の形態に係る送信装置100の構成例を示す図である。   FIG. 2 is a diagram illustrating a configuration example of the transmission device 100 according to the present embodiment.

図2において、CPU(Central Processing Unit)101は、無線パケットの生成処理を行う。CPU101は、パケット生成部の例である。   In FIG. 2, a CPU (Central Processing Unit) 101 performs wireless packet generation processing. The CPU 101 is an example of a packet generation unit.

無線チップ102は、CPU101が生成したパケットを無線信号として送出する。無線チップ102は、パケット送信部の例である。   The wireless chip 102 transmits the packet generated by the CPU 101 as a wireless signal. The wireless chip 102 is an example of a packet transmission unit.

時計103は、時刻を刻むとともに、受信装置200に時刻通知を行う時刻になった際に、アラームを発生させる。時計103は、アラーム発生部の例である。   The clock 103 keeps time and generates an alarm when it is time to notify the receiving device 200 of time. The clock 103 is an example of an alarm generation unit.

タイマ104は、時刻通知パケットの送信時の遅延時間である送信遅延時間を計測する。   The timer 104 measures a transmission delay time that is a delay time when transmitting the time notification packet.

無線監視・制御部105は、時計103が発生させたアラームやCPU101と無線チップ102の間のデータを監視し、タイマ104の終了の制御を行い送信遅延時間の計測を管理する。そして、送信遅延時間を示す送信遅延時間データを生成し、合成部106に出力する。なお、タイマ104及び無線監視・制御部105は、送信遅延時間計測部の例である。また、無線監視・制御部105の内部は、例えば、図4に示す構成となっている。なお、無線監視・制御部105の内部構成の詳細は、後述する。   The wireless monitoring / control unit 105 monitors alarms generated by the clock 103 and data between the CPU 101 and the wireless chip 102, controls termination of the timer 104, and manages transmission delay time measurement. Then, transmission delay time data indicating the transmission delay time is generated and output to the combining unit 106. Note that the timer 104 and the wireless monitoring / control unit 105 are examples of a transmission delay time measurement unit. Also, the inside of the wireless monitoring / control unit 105 has a configuration shown in FIG. 4, for example. The details of the internal configuration of the wireless monitoring / control unit 105 will be described later.

合成部106は、CPU101が生成する無線パケットと、無線監視・制御部105から送出される送信遅延時間データをマージする。合成部106は、データ合成部の例である。   The combining unit 106 merges the wireless packet generated by the CPU 101 with the transmission delay time data transmitted from the wireless monitoring / control unit 105. The combining unit 106 is an example of a data combining unit.

また、各ブロック間の信号線として、アラーム線111は、時計103がCPU101によって設定された時刻となったことをCPU101及びタイマ104に通知する。   In addition, as a signal line between the blocks, an alarm line 111 notifies the CPU 101 and the timer 104 that the clock 103 has reached the time set by the CPU 101.

また、時刻データ線112はCPU101が時計103から時刻を読み出す際に用いられる。   The time data line 112 is used when the CPU 101 reads time from the clock 103.

無線送信データ線113は、CPU101が無線チップ102に無線パケットを転送する際に用いられ、更に、無線監視・制御部105がCPU101と無線チップ102との間の無線パケットの送出有無を監視するために用いられる。   The wireless transmission data line 113 is used when the CPU 101 transfers a wireless packet to the wireless chip 102, and further, the wireless monitoring / control unit 105 monitors whether or not a wireless packet is transmitted between the CPU 101 and the wireless chip 102. Used for.

停止信号線114は、無線監視・制御部105がタイマ104に対して送信遅延時間の計測の停止を指示する際に用いられる。   The stop signal line 114 is used when the wireless monitoring / control unit 105 instructs the timer 104 to stop measuring the transmission delay time.

計測データ線115は、タイマ104の計測値を無線監視・制御部105に通知する際に用いられる。   The measurement data line 115 is used when notifying the wireless monitoring / control unit 105 of the measurement value of the timer 104.

送信遅延時間出力線116は、無線監視・制御部105が合成部106に送信遅延時間データを出力する際に用いられる。   The transmission delay time output line 116 is used when the wireless monitoring / control unit 105 outputs transmission delay time data to the combining unit 106.

図3は、本実施の形態に係る受信装置200の構成例を示す図である。   FIG. 3 is a diagram illustrating a configuration example of the reception device 200 according to the present embodiment.

図3において、CPU201は、無線チップ202から受信パケットを入力し、受信パケットから通知時刻データ及び送信遅延時間データを抽出する。更に、抽出した通知時刻データ、送信遅延時間データを時計203に対して出力する。なお、CPU201は、データ抽出部の例である。   In FIG. 3, the CPU 201 inputs a received packet from the wireless chip 202 and extracts notification time data and transmission delay time data from the received packet. Further, the extracted notification time data and transmission delay time data are output to the clock 203. The CPU 201 is an example of a data extraction unit.

無線チップ202は、送信装置100からの時刻通知パケットを受信パケットとして受信し、CPU201に転送する。無線チップ202は、パケット受信部の例である。   The wireless chip 202 receives the time notification packet from the transmission device 100 as a reception packet and transfers it to the CPU 201. The wireless chip 202 is an example of a packet receiving unit.

時計203は、CPU201で抽出された通知時刻データ、送信遅延時間データを入力するとともに、通知時刻データ、送信遅延時間データを入力した際に、タイマ204に対して受信遅延時間の計測を停止するよう指示する。また、時計203は、入力した通知時刻データ、送信遅延時間データ、更には受信遅延時間を示す受信遅延時間データを用いて時刻を設定する。時計203は、時刻設定部の例である。   The clock 203 inputs the notification time data and the transmission delay time data extracted by the CPU 201 and stops measuring the reception delay time for the timer 204 when the notification time data and the transmission delay time data are input. Instruct. The clock 203 sets the time using the input notification time data, transmission delay time data, and reception delay time data indicating the reception delay time. The clock 203 is an example of a time setting unit.

タイマ204は時刻通知パケットの受信時の遅延時間である受信遅延時間を計測する。そして、受信遅延時間を示す受信遅延時間データを時計203に出力する。   The timer 204 measures a reception delay time that is a delay time when the time notification packet is received. Then, reception delay time data indicating the reception delay time is output to the clock 203.

無線監視・制御部205は、CPU201と無線チップ202の間のデータを監視し、タイマ204の開始の制御を行い受信遅延時間の計測を管理する。なお、タイマ204及び無線監視・制御部205は、受信遅延時間計測部の例である。また、無線監視・制御部205の内部は、例えば、図4に示す構成となっている。なお、無線監視・制御部205の内部構成の詳細は、後述する。   The wireless monitoring / control unit 205 monitors data between the CPU 201 and the wireless chip 202, controls the start of the timer 204, and manages the measurement of the reception delay time. The timer 204 and the wireless monitoring / control unit 205 are examples of a reception delay time measurement unit. Also, the inside of the wireless monitoring / control unit 205 has a configuration shown in FIG. 4, for example. The details of the internal configuration of the wireless monitoring / control unit 205 will be described later.

また、各ブロック間の信号線として、無線受信データ線217は、無線チップ202がCPU201に無線パケットを転送する際に用いられ、更に、無線監視・制御部205がCPU201と無線チップ202との間の無線パケットの送出有無を監視するために用いられる。   Further, as a signal line between the blocks, a wireless reception data line 217 is used when the wireless chip 202 transfers a wireless packet to the CPU 201, and further, a wireless monitoring / control unit 205 connects the CPU 201 and the wireless chip 202. This is used to monitor whether or not a wireless packet is transmitted.

時刻データ線212は、CPU201で抽出された時刻通知データ及び送信遅延時間データが時計203に出力される。   The time data line 212 outputs the time notification data and the transmission delay time data extracted by the CPU 201 to the clock 203.

開始信号線214は、無線監視・制御部205がタイマ204に対して受信遅延時間の計測の開始を指示する際に用いられる。   The start signal line 214 is used when the wireless monitoring / control unit 205 instructs the timer 204 to start reception delay time measurement.

計測データ線215は、タイマ204の計測値を時計203に通知する際に用いられる。   The measurement data line 215 is used when notifying the clock 203 of the measurement value of the timer 204.

停止信号線218は、時計203がタイマ204に対して受信遅延時間の計測の停止を指示する際に用いられる。   The stop signal line 218 is used when the clock 203 instructs the timer 204 to stop measuring the reception delay time.

次に、図6及び図7を用いて送信装置100及び受信装置200の動作を概説する。   Next, operations of the transmission device 100 and the reception device 200 will be outlined with reference to FIGS.

図6は、送信装置100の動作例を説明するフローチャート図であり、図7は、受信装置200の動作例を説明するフローチャート図である。   FIG. 6 is a flowchart for explaining an operation example of the transmission apparatus 100, and FIG. 7 is a flowchart for explaining an operation example of the reception apparatus 200.

先ず、図6を用いて送信装置100の動作例を概説する。   First, an exemplary operation of the transmission apparatus 100 will be outlined with reference to FIG.

最初に、ステップS601において、受信装置200に通知すべき時刻(通知時刻)になった際に、時計103がアラームを発生させる(アラーム発生ステップ)。このアラームは、CPU101及びタイマ104に通知される。また、時計103は、アラーム発生時刻(=通知時刻)を示す通知時刻データをCPU101に対して出力する。なお、通知時刻は、CPU101により予め設定されているものとする。   First, in step S601, the clock 103 generates an alarm when it is time to notify the receiving apparatus 200 (notification time) (alarm generation step). This alarm is notified to the CPU 101 and the timer 104. Further, the clock 103 outputs notification time data indicating an alarm occurrence time (= notification time) to the CPU 101. Note that the notification time is set in advance by the CPU 101.

次に、ステップS602において、タイマ104がアラームの発生を検知して、送信遅延時間の計測を開始する(送信遅延時間計測ステップ)。   Next, in step S602, the timer 104 detects the occurrence of an alarm and starts measuring the transmission delay time (transmission delay time measurement step).

次に、ステップS603において、CPU101がアラーム発生時刻を示す通知時刻データを含む時刻通知パケットを生成する(パケット生成ステップ)。   Next, in step S603, the CPU 101 generates a time notification packet including notification time data indicating the alarm occurrence time (packet generation step).

次に、ステップS604において、CPU101が時刻通知パケットを無線チップ102に向けて出力する。   Next, in step S <b> 604, the CPU 101 outputs a time notification packet to the wireless chip 102.

次に、ステップS605において、無線監視・制御部105がCPU101から無線チップ102に対する時刻通知パケットの出力を検知する(送信遅延時間計測ステップ)。無線監視・制御部105は、CPU101と無線チップ102との間のデータの入出力を監視しており、CPU101から無線チップ102に対して時刻通知パケットが出力された際に、これを検知する。そして、無線監視・制御部105は、タイマ104に対して送信遅延時間の計測を停止するよう指示する。   Next, in step S605, the wireless monitoring / control unit 105 detects the output of the time notification packet from the CPU 101 to the wireless chip 102 (transmission delay time measuring step). The wireless monitoring / control unit 105 monitors input / output of data between the CPU 101 and the wireless chip 102 and detects when a time notification packet is output from the CPU 101 to the wireless chip 102. Then, the wireless monitoring / control unit 105 instructs the timer 104 to stop measuring the transmission delay time.

次に、ステップS606において、タイマ104は、送信遅延時間の計測を停止する(送信遅延時間計測ステップ)。そして、アラームの発生から、CPU101から無線チップ102に対する時刻通知パケットの出力の検知までの時間を送信遅延時間とし、計測値を無線監視・制御部105に出力し、更に、無線監視・制御部105は送信遅延時間を示す送信遅延時間データを合成部106に出力する。   Next, in step S606, the timer 104 stops measuring the transmission delay time (transmission delay time measuring step). Then, the time from the occurrence of the alarm until the detection of the output of the time notification packet to the wireless chip 102 from the CPU 101 is defined as a transmission delay time, and the measured value is output to the wireless monitoring / control unit 105. Outputs transmission delay time data indicating the transmission delay time to the combining unit 106.

次に、ステップS607において、合成部106は、送信遅延時間データを時刻通知パケットに含ませる。合成部106は、CPU101から無線チップ102に対して出力された時刻通知パケットを取得しており、無線監視・制御部105からの送信遅延時間データを時刻通知パケットに含ませる。   Next, in step S607, the synthesis unit 106 includes transmission delay time data in the time notification packet. The combining unit 106 acquires the time notification packet output from the CPU 101 to the wireless chip 102, and includes the transmission delay time data from the wireless monitoring / control unit 105 in the time notification packet.

最後に、ステップS608において、無線チップ102が、通知時刻データと送信遅延時間データが含まれた時刻通知パケットを受信装置200に対して送信する。   Finally, in step S608, the wireless chip 102 transmits a time notification packet including the notification time data and the transmission delay time data to the receiving device 200.

次に、図7を用いて受信装置200の動作例を概説する。   Next, an operation example of the receiving apparatus 200 will be outlined with reference to FIG.

最初に、ステップS701において、無線チップ202が、通知時刻データと送信遅延時間データが含まれた時刻通知パケットを受信する(パケット受信ステップ)。   First, in step S701, the wireless chip 202 receives a time notification packet including notification time data and transmission delay time data (packet reception step).

次に、ステップS702において、無線チップ202が、時刻通知パケットをCPU201に向けて出力する。   In step S <b> 702, the wireless chip 202 outputs a time notification packet to the CPU 201.

次に、ステップS703において、無線監視・制御部205が無線チップ202からCPU201に対する時刻通知パケットの出力を検知する(受信遅延時間計測ステップ)。無線監視・制御部205は、CPU201と無線チップ202との間のデータの入出力を監視しており、無線チップ202からCPU201に対して時刻通知パケットが出力された際に、これを検知する。そして、無線監視・制御部205は、タイマ204に対して送信遅延時間の計測を開始するよう指示する。   Next, in step S703, the wireless monitoring / control unit 205 detects the output of a time notification packet from the wireless chip 202 to the CPU 201 (reception delay time measuring step). The wireless monitoring / control unit 205 monitors data input / output between the CPU 201 and the wireless chip 202, and detects when a time notification packet is output from the wireless chip 202 to the CPU 201. Then, the wireless monitoring / control unit 205 instructs the timer 204 to start measuring the transmission delay time.

次に、ステップS704において、タイマ204が無線監視・制御部205からの計測開始の指示に基づき、受信遅延時間の計測を開始する(受信遅延時間計測ステップ)。   Next, in step S704, the timer 204 starts measuring the reception delay time based on the measurement start instruction from the wireless monitoring / control unit 205 (reception delay time measurement step).

次に、ステップS705において、CPU201が、時刻通知パケットに含まれている時刻通知データ及び送信遅延時間データを抽出する(データ抽出ステップ)。   Next, in step S705, the CPU 201 extracts time notification data and transmission delay time data included in the time notification packet (data extraction step).

次に、ステップS706において、CPU201が、抽出した時刻通知データ及び送信遅延時間データを時計203に向けて出力する。   Next, in step S <b> 706, the CPU 201 outputs the extracted time notification data and transmission delay time data to the clock 203.

次に、ステップS707において、時計203が時刻通知データ及び送信遅延時間データを入力するとともに、タイマ204に対して受信遅延時間の計測を停止するよう指示し、この結果、タイマ204は、CPU201から時計203に対する時刻通知データ及び送信遅延時間データの出力を検知する(受信遅延時間計測ステップ)。   In step S707, the clock 203 inputs time notification data and transmission delay time data, and instructs the timer 204 to stop measuring the reception delay time. As a result, the timer 204 receives a clock from the CPU 201. Output of time notification data and transmission delay time data to 203 is detected (reception delay time measurement step).

次に、ステップS708において、タイマ204は、受信遅延時間の計測を停止する(受信遅延時間計測ステップ)。そして、無線チップ202からCPU201に対する時刻通知パケットの出力の検知から、CPU201から時計203に対する時刻通知データ及び送信遅延時間データの出力の検知までの時間を受信遅延時間とし、計測値を受信遅延時間データとして時計203に出力する。   Next, in step S708, the timer 204 stops measuring the reception delay time (reception delay time measurement step). The time from the detection of the time notification packet output from the wireless chip 202 to the CPU 201 to the detection of the output of the time notification data and transmission delay time data from the CPU 201 to the clock 203 is defined as the reception delay time, and the measurement value is the reception delay time data. To the clock 203.

最後に、ステップS709において、時計203が、CPU201から入力した時刻通知データ及び送信遅延時間データと、タイマ204から入力した受信遅延時間データとに基づいて時刻を設定する。具体的には、時刻通知データに示す時刻に、送信遅延時間データに示される遅延時間と、受信遅延時間データに示される遅延時間とを加算した値を現在の時刻として設定する。   Finally, in step S709, the clock 203 sets the time based on the time notification data and transmission delay time data input from the CPU 201 and the reception delay time data input from the timer 204. Specifically, a value obtained by adding the delay time indicated by the transmission delay time data and the delay time indicated by the reception delay time data to the time indicated by the time notification data is set as the current time.

次に、送信装置100の無線監視・制御部105及び受信装置200の無線監視・制御部205の詳細構成例を図4に示す。   Next, a detailed configuration example of the wireless monitoring / control unit 105 of the transmission device 100 and the wireless monitoring / control unit 205 of the reception device 200 is shown in FIG.

図4において、同期化部51は、送信パケットもしくは受信パケットを同期化しプリアンブルデータ、同期信号データに分別する。   In FIG. 4, a synchronization unit 51 synchronizes transmission packets or reception packets and separates them into preamble data and synchronization signal data.

フレーム制御部52は、同期化部51からのビットカウント信号を元に、計測値データ(送信遅延時間データ又は受信遅延時間データ)の出力タイミングを制御する。   The frame control unit 52 controls the output timing of the measurement value data (transmission delay time data or reception delay time data) based on the bit count signal from the synchronization unit 51.

比較器53は、同期化部51によって分別されたプリアンブルデータの比較を行う。   The comparator 53 compares the preamble data sorted by the synchronization unit 51.

比較器54は、同期信号データの比較を行う。   The comparator 54 compares the synchronization signal data.

ANDゲート55は、プリアンブル、同期化パターンが一致した場合に有意となる、
ANDゲート56は、タイマからの計測値データの出力ゲートである。
The AND gate 55 becomes significant when the preamble and the synchronization pattern match.
The AND gate 56 is an output gate for measured value data from the timer.

次に、本実施の形態に係る時刻同期の動作を詳細に説明する。   Next, the operation of time synchronization according to the present embodiment will be described in detail.

まず、CPU101があらかじめ通知時刻を時刻データ線112経由で時計103に設定する。   First, the CPU 101 sets the notification time in the clock 103 via the time data line 112 in advance.

時計103は設定された通知時刻になると、アラームをCPU101に通知する。このとき、タイマ104は本アラームを受信し、送信遅延時間の計測を開始する。   The clock 103 notifies the CPU 101 of an alarm when the set notification time is reached. At this time, the timer 104 receives this alarm and starts measuring the transmission delay time.

CPU101はアラームを受け、時計103から通知時刻データを時刻データ線112経由で読み出し、通知時刻データを含む時刻通知パケットを生成する。このとき、パケット内に送信遅延時間データを格納するためのデータフィールドを空けておき、そこには0などの任意の値を入れておく。一般的な無線パケットは図5に示すように通信準備を意味するプリアンブル501、意味のあるデータの先頭を示す同期信号502、宛先と、ここでは通知時刻データを格納したデータフィールド503、そしてデータの終了を示す終了信号504で構成される。データフィールド503はCPU101によって生成される宛先・時刻等有効データ505および無効領域506に分別される。宛先・時刻等有効データ505には、通知時刻データが含まれる。CPU101は生成した時刻通知パケットをメモリ等に格納し、無線チップ102へ送信開始を要求する。無線チップ102は要求を受けると時刻通知パケットを無線送信データ線113経由でCPU101のメモリから読み出し、無線送出する。   The CPU 101 receives the alarm, reads the notification time data from the clock 103 via the time data line 112, and generates a time notification packet including the notification time data. At this time, a data field for storing transmission delay time data is left in the packet, and an arbitrary value such as 0 is put therein. As shown in FIG. 5, a general wireless packet includes a preamble 501 indicating communication preparation, a synchronization signal 502 indicating the beginning of meaningful data, a destination, a data field 503 storing notification time data, and a data It consists of an end signal 504 indicating the end. The data field 503 is divided into valid data 505 such as destination / time generated by the CPU 101 and an invalid area 506. The valid data 505 such as destination / time includes notification time data. The CPU 101 stores the generated time notification packet in a memory or the like, and requests the wireless chip 102 to start transmission. Upon receiving the request, the wireless chip 102 reads the time notification packet from the memory of the CPU 101 via the wireless transmission data line 113 and wirelessly transmits it.

無線監視・制御部105は無線送信データ線113を監視しており、同期化部51および比較器53、54によってプリアンブル501および同期信号502を検出する。同期信号502を検出した場合、ANDゲート55が有意となり、停止信号線114に信号を発しタイマ104へ計測終了を伝える。また無線監視・制御部105のフレーム制御部52は同期化部51の出力するフレームカウント信号をもとに無効領域506の開始タイミングを検出する。   The wireless monitoring / control unit 105 monitors the wireless transmission data line 113 and detects the preamble 501 and the synchronization signal 502 by the synchronization unit 51 and the comparators 53 and 54. When the synchronization signal 502 is detected, the AND gate 55 becomes significant and a signal is transmitted to the stop signal line 114 to notify the timer 104 of the end of measurement. The frame control unit 52 of the wireless monitoring / control unit 105 detects the start timing of the invalid area 506 based on the frame count signal output from the synchronization unit 51.

無線送信データ線113上の信号が無効領域506に入るタイミングで、無線監視・制御部105の出力ゲート56が有意となり、タイマ104の計測値が送信遅延時間データとして出力され、合成部106においてデータフィールドにマージする。マージの方法として、CPU101が設定したデータフィールドの値が0であれば加算もしくは論理和にて、別の値であれば入れ替えることで行う。以上により、送信用無線パケットの無効領域506が送信遅延時間データ507に置き換わり、無線チップ102から無線送出される。   At the timing when the signal on the wireless transmission data line 113 enters the invalid area 506, the output gate 56 of the wireless monitoring / control unit 105 becomes significant, and the measurement value of the timer 104 is output as transmission delay time data. Merge into the field. As a merging method, addition or logical sum is performed if the value of the data field set by the CPU 101 is 0, and replacement is performed if the value is another value. As described above, the invalid area 506 of the transmission wireless packet is replaced with the transmission delay time data 507, and is transmitted wirelessly from the wireless chip 102.

なお、時計103のアラームは時刻情報の送信以外の目的に使用される場合がある。この場合、アラームにてタイマ104は送信遅延時間の計測を開始するものの、期待すべき通知時刻データを含んだ時刻通知パケットがCPU101から無線チップ102に対して出力されず、いつまでも計測が終了できない状態が発生する。これを防ぐために計測時間に制限を加える。すなわち、送信遅延時間の最大値よりも長い時間が経過してもタイマ104へ停止信号が通知されない場合、計測を強制終了する。また、計測が強制終了された後にCPU101から無線チップ102に対して時刻通知パケットが出力された場合には、送信遅延時間データを入れるべきデータフィールドにエラーコードを挿入してもよい。   Note that the alarm of the clock 103 may be used for purposes other than the transmission of time information. In this case, the timer 104 starts measuring the transmission delay time by an alarm, but the time notification packet including the notification time data to be expected is not output from the CPU 101 to the wireless chip 102, and the measurement cannot be completed indefinitely. Will occur. In order to prevent this, the measurement time is limited. That is, if a stop signal is not notified to the timer 104 even after a time longer than the maximum value of the transmission delay time, the measurement is forcibly terminated. In addition, when a time notification packet is output from the CPU 101 to the wireless chip 102 after the measurement is forcibly terminated, an error code may be inserted into a data field in which transmission delay time data is to be entered.

次に、受信側について説明する。   Next, the receiving side will be described.

時刻通知パケットを受信すると、無線チップ202は時刻通知パケットを無線受信データ線217にてCPU201へ送信する。無線監視・制御部205は無線受信データ線217を監視しており、同期化部51、比較器53、54によってプリアンブル501および同期信号502を検出する。同期信号502を検出した場合、ANDゲート55が有意となり、開始信号線214に信号を発しタイマ204へ受信遅延時間の計測の開始を伝える。タイマ204は本通知を受け受信遅延時間の計測を開始する。   When receiving the time notification packet, the wireless chip 202 transmits the time notification packet to the CPU 201 via the wireless reception data line 217. The radio monitoring / control unit 205 monitors the radio reception data line 217 and detects the preamble 501 and the synchronization signal 502 by the synchronization unit 51 and the comparators 53 and 54. When the synchronization signal 502 is detected, the AND gate 55 becomes significant and sends a signal to the start signal line 214 to notify the timer 204 of the start of measurement of the reception delay time. The timer 204 receives this notification and starts measuring the reception delay time.

時刻通知パケットを受けたCPU201は受信した無線パケットを解析し、時刻通知パケットの受信であることを検知した場合、パケット内の通知時刻データおよび送信遅延時間データを抽出し、抽出した通知時刻データおよび送信遅延時間データを時刻データ線212を経由し時計203へ送信する。   Upon receiving the time notification packet, the CPU 201 analyzes the received wireless packet, and when detecting reception of the time notification packet, extracts the notification time data and the transmission delay time data in the packet, Transmission delay time data is transmitted to the clock 203 via the time data line 212.

CPU201から通知時刻データおよび送信遅延時間データを受信した時計203は、停止信号線218に信号を発しタイマ204へ受信遅延時間の計測の停止を通知する。計測停止の通知を受けたタイマ204は受信遅延時間の計測を停止し、受信遅延時間データを計測データ線215へ出力する。時計203はCPU101から受信した通知時刻データに、同じくCPU101から受信した送信遅延時間データと、計測データ線215から読み出した受信遅延時間データを加えた値を現在時刻値として設定する。   The clock 203 that has received the notification time data and the transmission delay time data from the CPU 201 issues a signal to the stop signal line 218 to notify the timer 204 of the stop of the reception delay time measurement. Receiving the measurement stop notification, the timer 204 stops the reception delay time measurement and outputs the reception delay time data to the measurement data line 215. The clock 203 sets a value obtained by adding the transmission delay time data similarly received from the CPU 101 and the reception delay time data read from the measurement data line 215 to the notification time data received from the CPU 101 as the current time value.

なお、無線監視・制御部205はパケット受信の度にタイマ204へ計測開始を通知するが、受信パケットが時刻通知パケットではない可能性もある。この場合、タイマ204は受信遅延時刻の計測を開始するものの、時計203より停止通知が送信されず、いつまでも受信遅延時間の計測を終了できない状態が発生する。これを防ぐために計測時間に制限を加える。すなわち、受信遅延時間の最大値よりも長い時間が経過してもタイマ204へ停止信号が通知されない場合、計測を強制終了する。また、計測が強制終了された後にCPU201から時計203に対して通知時刻データおよび送信遅延時間データの出力が行われた場合には、受信遅延時間データを入れるべきデータフィールドにエラーコードを挿入してもよい。   The wireless monitoring / control unit 205 notifies the timer 204 of the start of measurement every time a packet is received, but the received packet may not be a time notification packet. In this case, although the timer 204 starts to measure the reception delay time, a stop notification is not transmitted from the clock 203, and a state in which the measurement of the reception delay time cannot be completed indefinitely occurs. In order to prevent this, the measurement time is limited. That is, if a stop signal is not notified to the timer 204 even after a time longer than the maximum value of the reception delay time, the measurement is forcibly terminated. When the notification time data and transmission delay time data are output from the CPU 201 to the clock 203 after the measurement is forcibly terminated, an error code is inserted into the data field in which the reception delay time data is to be inserted. Also good.

以上のように、時刻交換通信において、CPUと無線チップのデータ線を監視し、送信遅延時間を計測し、計測した送信遅延時間を示す送信遅延時間データを通知時刻データが含まれる時刻通知パケットに含ませ、これにより一つの時刻通知パケットに通知時刻データ及び送信遅延時間データの両者を含ませることができる。このため、通知時刻データと送信遅延時間データとを別のパケットにする必要がなく、無線通信の場合に、通知時刻データは受信側に到達したが、パケットの欠損により送信遅延時間データは受信側に届かない、または逆に、送信遅延時間データは受信側に到達したが、パケットの欠損により通知時刻データは受信側に届かないという事態を回避することができ、無線通信による時刻誤差成分を抑えることができ、高精度な時刻交換が実現できる。   As described above, in the time exchange communication, the CPU and the wireless chip data line are monitored, the transmission delay time is measured, and the transmission delay time data indicating the measured transmission delay time is included in the time notification packet including the notification time data. Thus, both the notification time data and the transmission delay time data can be included in one time notification packet. For this reason, it is not necessary to separate the notification time data and the transmission delay time data from each other, and in the case of wireless communication, the notification time data has arrived at the reception side. The transmission delay time data reaches the receiving side, but conversely, the notification time data does not reach the receiving side due to packet loss, and the time error component due to wireless communication can be suppressed. And high-accuracy time exchange can be realized.

更には、受信側においても受信遅延時間を計測し、受信遅延時間を補正して時刻設定を行うようにしているので、無線通信による時刻誤差成分を抑えることができ、高精度な時刻交換が実現できる。   In addition, the reception side measures the reception delay time and corrects the reception delay time to set the time, so the time error component due to wireless communication can be suppressed, and highly accurate time exchange is realized. it can.

また、送信遅延時間データを時刻通知パケットのデータフィールドの無効領域に置き換えるようにしているので、時刻交換のための無線通信は1パケットに収めることができ、不安定な無線環境においても本パケットが受信できた受信装置は時刻を同期することができる。   Further, since the transmission delay time data is replaced with the invalid area of the data field of the time notification packet, the wireless communication for the time exchange can be accommodated in one packet, and this packet can be received even in an unstable wireless environment. The receiving device that has been able to receive can synchronize the time.

さらに、タイマに計測制限値を設け、予想される遅延時間よりも長い時間経過しても停止通知が受信できない場合には計測を強制終了、エラー通知するようにしているので、アラームの検知ミスや時刻交換でないパケット受信時の計測誤動作を防止できる。   In addition, a measurement limit value is set for the timer, and if a stop notification cannot be received even after a longer time than the expected delay time, the measurement is forcibly terminated and an error notification is given. It is possible to prevent a measurement malfunction when receiving a packet other than time exchange.

以上の実施の形態1に係る時刻交換通信システムは、
(a).時刻を刻み、任意の時刻になるとアラームを発生する時刻通知手段
(b).(a)のアラームをトリガに、アラームの発生時刻をデータとした無線パケットを生成し、無線送出する時刻情報送信手段
(c).(a)のアラームから(b)の無線パケットの送出までの遅延時間を計測する送信遅延計測手段
(d).(c)の遅延時間をデータとした無線パケットを生成し、無線送出する送信遅延情報送信手段
(e).(b)の無線パケットを受信し、時刻情報を抽出し、自身の時計に設定する時刻設定手段
(f).(e)の無線パケット受信から時刻を設定するまでの遅延時間を計測する受信遅延計測手段
(g).(f)の遅延時間を(e)の自身の時計の時刻に加算して再設定する時刻受信補正手段
(h).(d)の無線パケットを受信し、送信遅延情報を抽出し、自身の時計の時刻に加算して再設定する時刻送信補正手段、とを備えることを特徴とする。
The time exchange communication system according to the first embodiment is as follows.
(A). Time notifying means for ticking time and generating an alarm when an arbitrary time is reached (b). Time information transmission means for generating and wirelessly transmitting a wireless packet using the alarm occurrence time as data triggered by the alarm of (a). (C). Transmission delay measuring means for measuring a delay time from the alarm in (a) to the transmission of the wireless packet in (b) (d). (C) Transmission delay information transmitting means for generating and wirelessly transmitting a wireless packet using the delay time of (e). Time setting means for receiving the wireless packet of (b), extracting time information, and setting it in its own clock (f). (E) a reception delay measuring means for measuring a delay time from the reception of the wireless packet until the time is set; Time reception correction means for resetting by adding the delay time of (f) to the time of its own clock of (e) (h). (D) receiving a wireless packet, extracting transmission delay information, adding to the time of its own clock, and time transmission correcting means for resetting.

また、上記の(b)と(d)の無線パケットを1つの無線パケットに結合することを特徴とする。   Further, the wireless packets (b) and (d) are combined into one wireless packet.

また、上記の無線パケットの結合として、上記の(b)を生成する際にはあらかじめ送信遅延情報を格納するデータフィールドをパケット内に備えておき、このフィールドに送信遅延情報を格納することを特徴とする。   Further, as a combination of the above wireless packets, when generating (b) above, a data field for storing transmission delay information is provided in the packet in advance, and the transmission delay information is stored in this field. And

また、上記の無線パケットの結合として、時刻情報に送信遅延情報を加算したものをあらたな時刻情報として変換することを特徴とする。   Further, as a combination of the above-described wireless packets, the time information added with transmission delay information is converted into new time information.

また、上記の結合された無線パケットに対し、受信側で時刻情報と送信遅延情報にデータを分離抽出することを特徴とする。   In addition, with respect to the combined wireless packet, data is separated and extracted into time information and transmission delay information on the receiving side.

また、上記の無線パケットは、ブロードキャストメッセージで送信されることを特徴とする。   Further, the wireless packet is transmitted as a broadcast message.

また、上記の(c)における無線パケットの送出検知は、無線パケットに含まれる同期ビット情報を検出することで行われることを特徴とする。   The transmission detection of the wireless packet in the above (c) is performed by detecting synchronization bit information included in the wireless packet.

また、上記の(b)における送信遅延計測手段において、上限値検出手段を設け、所定の時間が経過しても無線送出が行われない場合に計測を中止することを特徴とする。   In the transmission delay measuring means in (b) above, an upper limit value detecting means is provided, and measurement is stopped when wireless transmission is not performed even after a predetermined time has elapsed.

また、上記の(f)における受信遅延計測手段において、上限検出手段を設け、所定の時間が経過しても時刻の設定が行われない場合に計測を中止し、(g)、(h)の時刻設定を行わないことを特徴とする。   Further, in the reception delay measuring means in (f) above, an upper limit detecting means is provided, and the measurement is stopped when the time is not set even after a predetermined time has elapsed, and (g) and (h) The time is not set.

実施の形態2.
以上の実施の形態1では、プリアンブル、同期信号、データ、終了信号で構成される基本的なパケットフレームに送信遅延時間データをマージして無線出力する方法による時刻交換方式について説明したが、次にエラー検出もしくはエラー訂正符号を備えたフレームにおいて時刻交換する方法について説明する。
Embodiment 2. FIG.
In the first embodiment, the time exchange method based on the method of merging the transmission delay time data into the basic packet frame composed of the preamble, the synchronization signal, the data, and the end signal and outputting the result wirelessly is described. A method for exchanging time in a frame having an error detection or error correction code will be described.

図8は、本実施の形態における無線監視・制御部105、205の構成例を示す図である。   FIG. 8 is a diagram illustrating a configuration example of the wireless monitoring / control units 105 and 205 in the present embodiment.

図8において、エラー検知符号生成部57は、同期化部51が分別するフレームデータから、エラー検知信号を生成する。セレクタ58は、タイマからの計測値とエラー検知符号を選択する。   In FIG. 8, the error detection code generation unit 57 generates an error detection signal from the frame data sorted by the synchronization unit 51. The selector 58 selects a measurement value from the timer and an error detection code.

また、図9は例えばIEEE802.15.4にて標準化されているフレームフォーマットである。901はプリアンブル、902は同期信号に相当するSFD、903、904はヘッダ情報、905はデータフィールドに相当するペイロード、906は終了信号かつエラー検知符号であるFCSである。本フォーマットに従う場合、ペイロード905に通知時刻データ907および送信遅延時間データ908を格納する。   FIG. 9 shows a frame format standardized by, for example, IEEE 802.15.4. 901 is a preamble, 902 is an SFD corresponding to a synchronization signal, 903 and 904 are header information, 905 is a payload corresponding to a data field, and 906 is an FCS which is an end signal and an error detection code. When this format is followed, the notification time data 907 and the transmission delay time data 908 are stored in the payload 905.

次に動作について説明する。   Next, the operation will be described.

送信遅延時間を計測し、無効領域に送信遅延時間データをマージするところまでは実施の形態1と同じである。これに並行して無線監視・制御部105は同期化部51によりMHR904およびペイロード905のデータを抽出、エラー検知符号生成部57によって本データのエラー検知符号を生成する。つまり、送信遅延時間データのマージ前には、エラー検知符号は、送信遅延時間データが含まれていないパケット内容に基づいて生成されていたが、送信遅延時間データがマージされるため、送信遅延時間データが含まれたパケット内容に基づいてエラー検知符号を生成しなおす必要があるため、エラー検知符号生成部57が送信遅延時間データのマージ後のパケット内容を反映させた新たなエラー検知符号を生成する。   The process until the transmission delay time is measured and the transmission delay time data is merged with the invalid area is the same as that of the first embodiment. In parallel with this, the radio monitoring / control unit 105 extracts data of the MHR 904 and the payload 905 by the synchronization unit 51, and generates an error detection code of this data by the error detection code generation unit 57. That is, before the transmission delay time data is merged, the error detection code is generated based on the packet contents that do not include the transmission delay time data. However, since the transmission delay time data is merged, the transmission delay time is Since it is necessary to regenerate the error detection code based on the packet content including the data, the error detection code generation unit 57 generates a new error detection code reflecting the packet content after the merge of the transmission delay time data. To do.

エラー検知符号は、例えばCRC符号などである。仕様によってはリードソロモン符号などのエラー訂正符号を備えるものもあるが、この場合は、エラー検知符号生成部57は、同様にして新たなエラー訂正符号を生成する。   The error detection code is, for example, a CRC code. Some specifications include an error correction code such as a Reed-Solomon code. In this case, the error detection code generation unit 57 similarly generates a new error correction code.

フレーム制御部52は、同期化部によるフレームビットカウントを用い、ペイロード905内の無効領域の開始を検知すると、セレクタ58をタイマ計測値出力に設定し、出力ゲート56を通して合成部106へ送信遅延時間データを出力する。また、FCS906の開始を検知すると、セレクタ58をエラー検知符号出力に設定し、新たに生成したエラー検知符号を合成部106へ出力する。合成部106では、時刻通知パケットのエラー検知符号又はエラー訂正符号の値を無線監視・制御部105の出力する新たなエラー検知符号又はエラー訂正符号の値に置き換えることで、無効領域への送信遅延時間データの追加およびフレーム変更によるエラー検知符号又はエラー訂正符号の更新を行う。   When the frame control unit 52 detects the start of the invalid area in the payload 905 using the frame bit count by the synchronization unit, the frame control unit 52 sets the selector 58 to the timer measurement value output, and transmits the transmission delay time to the synthesis unit 106 through the output gate 56. Output data. When the start of FCS 906 is detected, the selector 58 is set to output an error detection code, and the newly generated error detection code is output to the synthesis unit 106. The synthesizing unit 106 replaces the value of the error detection code or error correction code of the time notification packet with the value of a new error detection code or error correction code output from the wireless monitoring / control unit 105, thereby delaying transmission to the invalid region. The error detection code or error correction code is updated by adding time data and changing the frame.

以上のように、エラー検知符号もしくはエラー訂正符号を備えたフレーム構造であっても、エラー検知符号もしくはエラー訂正符号を再生成し置き換えることができるので、標準化されたフレーム仕様に基づく無線プロトコルにおいても、仕様を変更することなく時刻交換方式を追加することができる。   As described above, even in a frame structure having an error detection code or error correction code, the error detection code or error correction code can be regenerated and replaced, so even in a wireless protocol based on a standardized frame specification The time exchange method can be added without changing the specifications.

このように、実施の形態2に係る時刻交換通信システムは、実施の形態1に示した無線パケットの結合に加え、パケットのエラー検出もしくはエラー訂正ビット生成手段を備え、無線パケットに付加されているエラー検出もしくはエラー訂正ビットを入れ替えることを特徴とする。   As described above, the time exchange communication system according to the second embodiment includes packet error detection or error correction bit generation means in addition to the combination of the radio packets shown in the first embodiment, and is added to the radio packet. The error detection or error correction bit is replaced.

前述した各実施の形態で、送信装置100、受信装置200は、コンピュータで実現できるものである。   In each of the embodiments described above, the transmission device 100 and the reception device 200 can be realized by a computer.

送信装置100、受信装置200において、例えば、CPUは、バスを介して、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ、通信ボード、表示装置、K/B(キーボード)、マウス、FDD(Flexible Disk Drive)、CDD(コンパクトディスクドライブ)、磁気ディスク装置、光ディスク装置、プリンタ装置、スキャナ装置等と接続可能である。   In the transmitting device 100 and the receiving device 200, for example, the CPU is connected via a bus to a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, a communication board, a display device, a K / B (keyboard), a mouse. , FDD (Flexible Disk Drive), CDD (Compact Disk Drive), magnetic disk device, optical disk device, printer device, scanner device, and the like.

RAMは、揮発性メモリの一例である。ROM、フラッシュメモリ、FDD、CDD、磁気ディスク装置、光ディスク装置は、不揮発性メモリの一例である。   The RAM is an example of a volatile memory. ROM, flash memory, FDD, CDD, magnetic disk device, and optical disk device are examples of nonvolatile memory.

前述した各実施の形態の送信装置100、受信装置200が扱うデータや情報は、これら記憶手段に保存され、送信装置100、受信装置200の各部により、記録され読み出されるものである。   Data and information handled by the transmission device 100 and the reception device 200 according to each embodiment described above are stored in these storage units, and are recorded and read out by each unit of the transmission device 100 and the reception device 200.

磁気ディスク装置には、オペレーティングシステム(OS)、ウィンドウシステム、プログラム群、ファイル群(データベース)が記憶されている。   The magnetic disk device stores an operating system (OS), a window system, a program group, and a file group (database).

プログラム群は、CPU、OS、ウィンドウシステムにより実行される。   The program group is executed by a CPU, OS, and window system.

上記送信装置100、受信装置200の各部は、一部或いはすべてコンピュータで動作可能なプログラムにより構成しても構わない。或いは、ROMに記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェア或いは、ハードウェア或いは、ソフトウェアとハードウェアとファームウェアとの組み合わせで実施されても構わない。例えば、以上の実施の形態では、無線監視・制御部105、205は、ハードウェアによる構成として説明されていたが、例えば、同様の機能を実現するソフトウェアとして構成されていてもよい。   Each part of the transmission device 100 and the reception device 200 may be configured by a program that can be operated by a computer in part or in whole. Alternatively, it may be realized by firmware stored in the ROM. Alternatively, it may be implemented by software, hardware, or a combination of software, hardware, and firmware. For example, in the above embodiment, the wireless monitoring / control units 105 and 205 have been described as a hardware configuration, but may be configured as software that implements the same function, for example.

上記プログラム群には、実施の形態の説明において「〜部」として説明した処理をCPUに実行させるプログラムが記憶される。これらのプログラムは、例えば、C言語やHTMLやSGMLやXMLなどのコンピュータ言語により作成される。   The program group stores a program that causes the CPU to execute the processing described as “˜unit” in the description of the embodiment. These programs are created by computer languages, such as C language, HTML, SGML, and XML, for example.

また、上記プログラムは、磁気ディスク装置、FD(Flexible Disk)、光ディスク、CD(コンパクトディスク)、MD(ミニディスク)、DVD(Digital Versatile Disk)等のその他の記録媒体に記憶され、CPUにより読み出され実行される。   The program is stored in another recording medium such as a magnetic disk device, FD (Flexible Disk), optical disk, CD (compact disk), MD (mini disk), DVD (Digital Versatile Disk), and read by the CPU. And executed.

実施の形態1及び2に係るシステム構成例を示す図。FIG. 3 is a diagram showing a system configuration example according to the first and second embodiments. 実施の形態1及ぶ2に係る送信装置の構成例を示す図。FIG. 5 shows a configuration example of a transmission apparatus according to Embodiments 1 and 2. 実施の形態1及ぶ2に係る受信装置の構成例を示す図。FIG. 5 shows a configuration example of a receiving apparatus according to Embodiments 1 and 2. 実施の形態1に係る無線監視・制御部の構成例を示す図。FIG. 3 is a diagram illustrating a configuration example of a wireless monitoring / control unit according to the first embodiment. 実施の形態1に係る時刻通知パケットの構成例を示す図。FIG. 4 shows a configuration example of a time notification packet according to the first embodiment. 実施の形態1に係る送信装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the transmission apparatus according to the first embodiment. 実施の形態1に係る受信装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the receiving apparatus according to the first embodiment. 実施の形態2に係る無線監視・制御部の構成例を示す図。FIG. 6 is a diagram illustrating a configuration example of a wireless monitoring / control unit according to the second embodiment. 実施の形態2に係る時刻通知パケットの構成例を示す図。FIG. 6 shows a configuration example of a time notification packet according to the second embodiment.

符号の説明Explanation of symbols

100 送信装置、101 CPU、102 無線チップ、103 時計、104 タイマ、105 無線監視・制御部、106 合成部、111 アラーム線、112 時刻データ線、113 無線送信データ線、114 停止信号線、115 計測データ線、116 送信遅延時間出力線、200 受信装置、201 CPU、202 無線チップ、203 時計、204 タイマ、205 無線監視・制御部、212 時刻データ線、214 開始信号線、215 計測データ線、217 無線受信データ線、218 停止信号線。   DESCRIPTION OF SYMBOLS 100 Transmitter, 101 CPU, 102 Wireless chip, 103 Clock, 104 Timer, 105 Wireless monitoring / control unit, 106 Combining unit, 111 Alarm line, 112 Time data line, 113 Wireless transmission data line, 114 Stop signal line, 115 Measurement Data line, 116 Transmission delay time output line, 200 Receiver, 201 CPU, 202 Wireless chip, 203 Clock, 204 Timer, 205 Wireless monitoring / control unit, 212 Time data line, 214 Start signal line, 215 Measurement data line, 217 Wireless reception data line, 218 Stop signal line.

Claims (18)

所定の受信装置に対して時刻を通知する送信装置であって、
通知時刻を示す通知時刻データが含まれるパケットを時刻通知パケットとして生成するパケット生成部と、
送信装置内の遅延時間である送信遅延時間を計測する送信遅延時間計測部と、
前記送信遅延時間計測部により計測された送信遅延時間を示す送信遅延時間データを時刻通知パケットに含ませるデータ合成部と、
通知時刻データと送信遅延時間データとが含まれる時刻通知パケットを前記受信装置に対して送信するパケット送信部とを有することを特徴とする送信装置。
A transmitting device for notifying a predetermined receiving device of a time,
A packet generator that generates a packet including notification time data indicating a notification time as a time notification packet;
A transmission delay time measurement unit that measures a transmission delay time that is a delay time in the transmission device;
A data synthesis unit that includes transmission delay time data indicating the transmission delay time measured by the transmission delay time measurement unit in a time notification packet;
A transmission apparatus comprising: a packet transmission unit configured to transmit a time notification packet including notification time data and transmission delay time data to the reception apparatus.
前記送信装置は、更に、
時刻を刻み、前記通知時刻においてアラームを発生させるアラーム発生部を有し、
前記パケット生成部は、
アラーム発生時刻を示す時刻通知データが含まれる時刻通知パケットを生成し、生成した時刻通知パケットを前記データ合成部に対して出力し、
前記送信遅延時間計測部は、
前記パケット生成部から前記データ合成部に対する時刻通知パケットの出力有無を監視し、前記パケット生成部から前記データ合成部に対する時刻通知パケットの出力を検知し、アラーム発生時刻から時刻通知パケットの出力の検知までの時間を送信遅延時間として計測し、計測した送信遅延時間を示す送信遅延時間データを前記データ合成部に出力し、
前記データ合成部は、
前記パケット生成部から出力された時刻通知パケットと前記送信遅延時間計測部から出力された送信遅延時間データを入力し、時刻通知パケットに送信遅延時間データを含ませることを特徴とする請求項1に記載の送信装置。
The transmitting device further includes:
It has an alarm generation unit that ticks the time and generates an alarm at the notification time,
The packet generator is
Generating a time notification packet including time notification data indicating an alarm occurrence time, and outputting the generated time notification packet to the data synthesis unit;
The transmission delay time measuring unit is
The packet generation unit monitors whether the time notification packet is output to the data synthesis unit, detects the output of the time notification packet from the packet generation unit to the data synthesis unit, and detects the output of the time notification packet from the alarm occurrence time Until the transmission delay time is measured, and the transmission delay time data indicating the measured transmission delay time is output to the data synthesis unit,
The data synthesis unit
2. The time notification packet output from the packet generation unit and the transmission delay time data output from the transmission delay time measurement unit are input, and the transmission delay time data is included in the time notification packet. The transmitting device described.
前記パケット生成部は、
前記データ合成部で送信遅延時間データを格納するためのデータフィールドを備える時刻通知パケットを生成し、
前記データ合成部は、
前記データフィールドに送信遅延時間データを格納することを特徴とする請求項1に記載の送信装置。
The packet generator is
Generating a time notification packet including a data field for storing transmission delay time data in the data synthesis unit;
The data synthesis unit
The transmission apparatus according to claim 1, wherein transmission delay time data is stored in the data field.
前記データ合成部は、
通知時刻データの値と送信遅延時刻データの値とを加算し、時刻通知パケットに含まれた通知時刻データを加算値データに書き換え、加算値データを通知時刻データと送信遅延時間データとして時刻通知パケットに含ませ、
前記パケット送信部は、
加算値データが含まれる時刻通知パケットを前記受信装置に対して送信することを特徴とする請求項1に記載の送信装置。
The data synthesis unit
Adds the value of the notification time data and the value of the transmission delay time data, rewrites the notification time data included in the time notification packet to the addition value data, and uses the addition value data as the notification time data and the transmission delay time data as a time notification packet Included in
The packet transmitter is
The transmission apparatus according to claim 1, wherein a time notification packet including the added value data is transmitted to the reception apparatus.
前記パケット生成部は、
所定の同期信号を含む時刻通知パケットを生成し、
前記送信遅延時間計測部は、
時刻通知パケットに含まれる同期信号を検出して、前記パケット生成部から前記データ合成部に対する時刻通知パケットの出力を検知することを特徴とする請求項2に記載の送信装置。
The packet generator is
Generate a time notification packet containing a predetermined synchronization signal,
The transmission delay time measuring unit is
The transmission apparatus according to claim 2, wherein a synchronization signal included in the time notification packet is detected, and output of the time notification packet from the packet generation unit to the data synthesis unit is detected.
前記送信遅延時間計測部は、
アラーム発生時刻から所定の時間が経過しても前記パケット生成部から前記データ合成部に対する時刻通知パケットの出力が検知できない場合は、送信遅延時間の計測を中止することを特徴とする請求項2に記載の送信装置。
The transmission delay time measuring unit is
3. The transmission delay time measurement is stopped when output of a time notification packet from the packet generator to the data synthesizer cannot be detected even after a predetermined time has elapsed from an alarm occurrence time. The transmitting device described.
前記パケット生成部は、
時刻通知パケットを生成する場合に、通知時刻データに基づいてエラー検知符号又はエラー訂正符号を生成し、生成したエラー検知符号又はエラー訂正符号を時刻通知パケットに含ませ、
前記送信装置は、更に、
前記送信遅延時間計測部により送信遅延時間が計測された際に、通知時刻データと送信遅延時間データとに基づき、新たなエラー検知符号又はエラー訂正符号を生成するエラー検知符号生成部を有し、
前記データ合成部は、
前記パケット生成部により生成された時刻通知パケットに含まれているエラー検知符号又はエラー訂正符号を前記エラー検知符号生成部により生成された新たなエラー検知符号又はエラー訂正符号に書き換えることを特徴とする請求項1に記載の送信装置。
The packet generator is
When generating a time notification packet, generate an error detection code or error correction code based on the notification time data, include the generated error detection code or error correction code in the time notification packet,
The transmitting device further includes:
When the transmission delay time is measured by the transmission delay time measurement unit, an error detection code generation unit that generates a new error detection code or error correction code based on the notification time data and the transmission delay time data,
The data synthesis unit
The error detection code or error correction code included in the time notification packet generated by the packet generation unit is rewritten with a new error detection code or error correction code generated by the error detection code generation unit. The transmission device according to claim 1.
所定の送信装置から時刻を通知される受信装置であって、
通知時刻を示す通知時刻データと前記送信装置における送信遅延時間を示す送信遅延時間データとが含まれているパケットを時刻通知パケットとして前記送信装置から受信するパケット受信部と、
受信装置内の遅延時間である受信遅延時間を計測する受信遅延時間計測部と、
時刻通知パケットに含まれている通知時刻データと送信遅延時間データと、前記受信遅延時間計測部により計測された受信遅延時間を示す受信遅延時間データとに基づき、現在時刻を設定する時刻設定部とを有することを特徴とする受信装置。
A receiving device that is notified of time from a predetermined transmitting device,
A packet receiving unit that receives a packet including notification time data indicating a notification time and transmission delay time data indicating a transmission delay time in the transmission device from the transmission device as a time notification packet;
A reception delay time measuring unit for measuring a reception delay time which is a delay time in the receiving device;
A time setting unit for setting the current time based on notification time data and transmission delay time data included in the time notification packet, and reception delay time data indicating the reception delay time measured by the reception delay time measurement unit; A receiving apparatus comprising:
前記受信装置は、更に、
前記パケット受信部から時刻通知パケットを入力し、時刻通知パケットから通知時刻データと送信遅延時間データとを抽出し、抽出した通知時刻データ及び送信遅延時間データを前記時刻設定部に出力するデータ抽出部を有し、
前記受信遅延時間計測部は、
前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力有無を監視し、前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力を検知し、更に、前記データ抽出部から前記時刻設定部に対する通知時刻データ及び送信遅延時間データの出力有無を監視し、前記データ抽出部から前記時刻設定部に対する通知時刻データ及び送信遅延時間データの出力を検知し、時刻通知パケットの出力の検知から通知時刻データ及び送信遅延時間データの出力の検知までの時間を受信遅延時間として計測し、計測した受信遅延時間を示す受信遅延時間データを前記時刻設定部に出力し、
前記時刻設定部は、
前記データ抽出部から出力された通知時刻データ及び送信遅延時間データと前記受信遅延時間計測部から出力された受信遅延時間データを入力し、通知時刻データ及び送信遅延時間データと受信遅延時間データとに基づき現在時刻を設定することを特徴とする請求項8に記載の受信装置。
The receiving device further includes:
A data extraction unit that inputs a time notification packet from the packet reception unit, extracts notification time data and transmission delay time data from the time notification packet, and outputs the extracted notification time data and transmission delay time data to the time setting unit Have
The reception delay time measuring unit is
Monitoring whether or not a time notification packet is output from the packet reception unit to the data extraction unit; detecting an output of a time notification packet from the packet reception unit to the data extraction unit; and from the data extraction unit to the time setting unit The notification time data and the transmission delay time data are output from the data extraction unit to the time setting unit, and the notification time data and the transmission delay time data are detected from the data extraction unit. The time until the detection of the output of data and transmission delay time data is measured as the reception delay time, and the reception delay time data indicating the measured reception delay time is output to the time setting unit,
The time setting unit
The notification time data and transmission delay time data output from the data extraction unit and the reception delay time data output from the reception delay time measurement unit are input, and the notification time data, transmission delay time data and reception delay time data are input. 9. The receiving apparatus according to claim 8, wherein the current time is set based on the current time.
前記パケット受信部は、
通知時刻データ及び送信遅延時間データとして、通知時刻と送信遅延時間との加算値を示す加算値データが含まれる時刻通知パケットを受信し、
前記時刻設定部は、
時刻通知パケットに含まれている加算値データと、受信遅延時間データとに基づき、現在時刻を設定することを特徴とする請求項8に記載の受信装置。
The packet receiver
As the notification time data and the transmission delay time data, a time notification packet including addition value data indicating an addition value of the notification time and the transmission delay time is received,
The time setting unit
9. The receiving apparatus according to claim 8, wherein the current time is set based on the addition value data included in the time notification packet and the reception delay time data.
前記受信装置は、更に、
前記パケット受信部から時刻通知パケットを入力し、時刻通知パケットから加算値データを抽出し、抽出した加算値データを前記時刻設定部に出力するデータ抽出部を有し、
前記受信遅延時間計測部は、
前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力有無を監視し、前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力を検知し、更に、前記データ抽出部から前記時刻設定部に対する加算値データの出力有無を監視し、前記データ抽出部から前記時刻設定部に対する加算値データの出力を検知し、時刻通知パケットの出力の検知から加算値データの出力の検知までの時間を受信遅延時間として計測し、計測した受信遅延時間を示す受信遅延時間データを前記時刻設定部に出力し、
前記時刻設定部は、
前記データ抽出部から出力された加算値データと前記受信遅延時間計測部から出力された受信遅延時間データを入力し、加算値データと受信遅延時間データとに基づき現在時刻を設定することを特徴とする請求項10に記載の受信装置。
The receiving device further includes:
A time extraction packet is input from the packet reception unit, the addition value data is extracted from the time notification packet, and the data extraction unit outputs the extracted addition value data to the time setting unit.
The reception delay time measuring unit is
Monitoring whether or not a time notification packet is output from the packet reception unit to the data extraction unit; detecting an output of a time notification packet from the packet reception unit to the data extraction unit; and from the data extraction unit to the time setting unit Monitoring whether or not addition value data is output, detecting the addition value data output from the data extraction unit to the time setting unit, and receiving the time from the detection of the output of the time notification packet to the detection of the addition value data output Measured as a delay time, and output reception delay time data indicating the measured reception delay time to the time setting unit,
The time setting unit
The addition value data output from the data extraction unit and the reception delay time data output from the reception delay time measurement unit are input, and the current time is set based on the addition value data and the reception delay time data. The receiving device according to claim 10.
前記パケット受信部は、
所定の同期信号を含む時刻通知パケットを受信し、
前記受信遅延時間計測部は、
時刻通知パケットに含まれる同期信号を検出して、前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力を検知することを特徴とする請求項9又は請求項11に記載の受信装置。
The packet receiver
Receive a time notification packet containing a predetermined synchronization signal,
The reception delay time measuring unit is
The receiving apparatus according to claim 9 or 11, wherein a synchronization signal included in the time notification packet is detected, and output of the time notification packet from the packet reception unit to the data extraction unit is detected.
前記受信遅延時間計測部は、
前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力の検知から所定の時間が経過しても前記データ抽出部から前記時刻設定部に対する通知時刻データ及び送信遅延時間データの出力が検知できない場合は、受信遅延時間の計測を中止することを特徴とする請求項9に記載の受信装置。
The reception delay time measuring unit is
When output of notification time data and transmission delay time data from the data extraction unit to the time setting unit cannot be detected even after a predetermined time has elapsed since detection of output of the time notification packet from the packet reception unit to the data extraction unit 10. The reception apparatus according to claim 9, wherein measurement of reception delay time is stopped.
前記受信遅延時間計測部は、
前記パケット受信部から前記データ抽出部に対する時刻通知パケットの出力の検知から所定の時間が経過しても前記データ抽出部から前記時刻設定部に対する加算値データの出力が検知できない場合は、受信遅延時間の計測を中止することを特徴とする請求項11に記載の受信装置。
The reception delay time measuring unit is
If the output of the added value data from the data extraction unit to the time setting unit cannot be detected even after a predetermined time has elapsed since the detection of the output of the time notification packet from the packet reception unit to the data extraction unit, the reception delay time The reception apparatus according to claim 11, wherein the measurement of is stopped.
所定の受信装置に対して時刻を通知する時刻通知方法であって、
通知時刻を示す通知時刻データが含まれるパケットを時刻通知パケットとして生成するパケット生成ステップと、
パケットの生成及び送信に関する遅延時間である送信遅延時間を計測する送信遅延時間計測ステップと、
前記送信遅延時間計測ステップにより計測された送信遅延時間を示す送信遅延時間データを時刻通知パケットに含ませるデータ合成ステップと、
通知時刻データと送信遅延時間データとが含まれる時刻通知パケットを前記受信装置に対して送信するパケット送信ステップとを有することを特徴とする時刻通知方法。
A time notification method for notifying a predetermined receiving device of a time,
A packet generation step of generating a packet including notification time data indicating a notification time as a time notification packet;
A transmission delay time measuring step for measuring a transmission delay time which is a delay time related to packet generation and transmission;
A data synthesis step of including in the time notification packet transmission delay time data indicating the transmission delay time measured by the transmission delay time measuring step;
A time transmission method comprising: a packet transmission step of transmitting a time notification packet including notification time data and transmission delay time data to the receiving device.
前記時刻通知方法は、更に、
時刻を刻み、前記通知時刻においてアラームを発生させるアラーム発生ステップを有し、
前記パケット生成ステップは、
アラーム発生時刻を示す時刻通知データが含まれる時刻通知パケットを生成し、生成した時刻通知パケットを前記データ合成ステップに対して出力し、
前記送信遅延時間計測ステップは、
前記パケット生成ステップから前記データ合成ステップに対する時刻通知パケットの出力有無を監視し、前記アラーム発生ステップから前記データ合成ステップに対する時刻通知パケットの出力を検知し、アラーム発生時刻から時刻通知パケットの出力の検知までの時間を送信遅延時間として計測し、計測した送信遅延時間を示す送信遅延時間データを前記データ合成ステップに出力し、
前記データ合成ステップは、
前記パケット生成ステップから出力された時刻通知パケットと前記送信遅延時間計測ステップから出力された送信遅延時間データを入力し、時刻通知パケットに送信遅延時間データを含ませることを特徴とする請求項15に記載の時刻通知方法。
The time notification method further includes:
Having an alarm generation step of ticking time and generating an alarm at the notification time,
The packet generation step includes:
Generating a time notification packet including time notification data indicating an alarm occurrence time, and outputting the generated time notification packet to the data synthesis step;
The transmission delay time measuring step includes:
Whether the time notification packet is output from the packet generation step to the data synthesis step is monitored, the time notification packet output from the alarm generation step to the data synthesis step is detected, and the output of the time notification packet is detected from the alarm generation time Time is measured as a transmission delay time, and transmission delay time data indicating the measured transmission delay time is output to the data synthesis step,
The data synthesis step includes
16. The time notification packet output from the packet generation step and the transmission delay time data output from the transmission delay time measurement step are input, and the transmission delay time data is included in the time notification packet. The time notification method described.
所定の送信装置から通知される時刻に基づいて時刻の設定を行う時刻設定方法であって、
通知時刻を示す通知時刻データと前記送信装置における送信遅延時間を示す送信遅延時間データとが含まれているパケットを時刻通知パケットとして前記送信装置から受信するパケット受信ステップと、
パケット受信及び時刻設定に関する遅延時間である受信遅延時間を計測する受信遅延時間計測ステップと、
時刻通知パケットに含まれている通知時刻データと送信遅延時間データと、前記受信遅延時間計測ステップにより計測された受信遅延時間を示す受信遅延時間データとに基づき、現在時刻を設定する時刻設定ステップとを有することを特徴とする時刻設定方法。
A time setting method for setting a time based on a time notified from a predetermined transmission device,
A packet receiving step of receiving a packet including notification time data indicating a notification time and transmission delay time data indicating a transmission delay time in the transmission device from the transmission device as a time notification packet;
A reception delay time measuring step for measuring a reception delay time which is a delay time related to packet reception and time setting;
A time setting step for setting the current time based on the notification time data and the transmission delay time data included in the time notification packet, and the reception delay time data indicating the reception delay time measured by the reception delay time measurement step; A time setting method characterized by comprising:
前記時刻設定方法は、更に、
前記パケット受信ステップから時刻通知パケットを入力し、時刻通知パケットから通知時刻データと送信遅延時間データとを抽出し、抽出した通知時刻データ及び送信遅延時間データを前記時刻設定ステップに出力するデータ抽出ステップを有し、
前記受信遅延時間計測ステップは、
前記パケット受信ステップから前記データ抽出ステップに対する時刻通知パケットの出力有無を監視し、前記パケット受信ステップから前記データ抽出ステップに対する時刻通知パケットの出力を検知し、更に、前記データ抽出ステップから前記時刻設定ステップに対する通知時刻データ及び送信遅延時間データの出力有無を監視し、前記データ抽出ステップから前記時刻設定ステップに対する通知時刻データ及び送信遅延時間データの出力を検知し、時刻通知パケットの出力の検知から通知時刻データ及び送信遅延時間データの出力の検知までの時間を受信遅延時間として計測し、計測した受信遅延時間を示す受信遅延時間データを前記時刻設定ステップに出力し、
前記時刻設定ステップは、
前記データ抽出ステップから出力された通知時刻データ及び送信遅延時間データと前記受信遅延時間計測ステップから出力された受信遅延時間データを入力し、通知時刻データ及び送信遅延時間データと受信遅延時間データとに基づき現在時刻を設定することを特徴とする請求項17に記載の時刻設定方法。
The time setting method further includes:
A data extraction step of inputting a time notification packet from the packet reception step, extracting notification time data and transmission delay time data from the time notification packet, and outputting the extracted notification time data and transmission delay time data to the time setting step Have
The reception delay time measuring step includes:
Whether the time notification packet is output from the packet reception step to the data extraction step is monitored, the output of the time notification packet from the packet reception step to the data extraction step is detected, and further, from the data extraction step to the time setting step The notification time data and the transmission delay time data are monitored for output, the notification time data and the transmission delay time data are output from the data extraction step to the time setting step, and the notification time is detected from the detection of the output of the time notification packet. The time until detection of output of data and transmission delay time data is measured as a reception delay time, and reception delay time data indicating the measured reception delay time is output to the time setting step,
The time setting step includes
The notification time data and transmission delay time data output from the data extraction step and the reception delay time data output from the reception delay time measurement step are input, and the notification time data, transmission delay time data and reception delay time data are input. The time setting method according to claim 17, wherein the current time is set based on the current time.
JP2005294268A 2005-10-07 2005-10-07 Transmitter, receiver, time notification method, and time setting method Pending JP2007101457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005294268A JP2007101457A (en) 2005-10-07 2005-10-07 Transmitter, receiver, time notification method, and time setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005294268A JP2007101457A (en) 2005-10-07 2005-10-07 Transmitter, receiver, time notification method, and time setting method

Publications (1)

Publication Number Publication Date
JP2007101457A true JP2007101457A (en) 2007-04-19

Family

ID=38028534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005294268A Pending JP2007101457A (en) 2005-10-07 2005-10-07 Transmitter, receiver, time notification method, and time setting method

Country Status (1)

Country Link
JP (1) JP2007101457A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009182659A (en) * 2008-01-30 2009-08-13 Toshiba Corp Timing synchronizing method, synchronization device, synchronization system, and synchronization program
WO2010004768A1 (en) * 2008-07-10 2010-01-14 国立大学法人名古屋大学 Communication device, communication system, and communication method
JP2011130486A (en) * 2011-02-08 2011-06-30 Nagoya Univ Communication device, communication system, and communication method
WO2015136781A1 (en) * 2014-03-11 2015-09-17 セイコーインスツル株式会社 Communication system, electronic device, communication method, and program
WO2016021376A1 (en) * 2014-08-08 2016-02-11 株式会社テイエルブイ System for managing operating state of process system component device
CN110609464A (en) * 2018-06-14 2019-12-24 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03266542A (en) * 1990-03-16 1991-11-27 Toshiba Corp Time synchronizing system
JPH0983608A (en) * 1995-09-20 1997-03-28 Toshiba Corp Time synchronization device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03266542A (en) * 1990-03-16 1991-11-27 Toshiba Corp Time synchronizing system
JPH0983608A (en) * 1995-09-20 1997-03-28 Toshiba Corp Time synchronization device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009182659A (en) * 2008-01-30 2009-08-13 Toshiba Corp Timing synchronizing method, synchronization device, synchronization system, and synchronization program
WO2010004768A1 (en) * 2008-07-10 2010-01-14 国立大学法人名古屋大学 Communication device, communication system, and communication method
JP2010021804A (en) * 2008-07-10 2010-01-28 Univ Nagoya Communication device, communication system, and communication method
US8626869B2 (en) 2008-07-10 2014-01-07 National University Corporation Nagoya University Communication apparatus, communication system, and communication method
JP2011130486A (en) * 2011-02-08 2011-06-30 Nagoya Univ Communication device, communication system, and communication method
WO2015136781A1 (en) * 2014-03-11 2015-09-17 セイコーインスツル株式会社 Communication system, electronic device, communication method, and program
JPWO2015136781A1 (en) * 2014-03-11 2017-04-06 セイコーインスツル株式会社 COMMUNICATION SYSTEM, ELECTRONIC DEVICE, COMMUNICATION METHOD, AND PROGRAM
WO2016021376A1 (en) * 2014-08-08 2016-02-11 株式会社テイエルブイ System for managing operating state of process system component device
JP5879466B1 (en) * 2014-08-08 2016-03-08 株式会社テイエルブイ Process system component equipment operating state management system
CN110609464A (en) * 2018-06-14 2019-12-24 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system
CN110609464B (en) * 2018-06-14 2021-08-20 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system

Similar Documents

Publication Publication Date Title
TWI342695B (en) Bus station and system and method of maintaining synchronizing of a bus station
KR101298640B1 (en) Method and apparatus for transmitting transport stream packets
US8265041B2 (en) Wireless communications systems and channel-switching method
JP2007101457A (en) Transmitter, receiver, time notification method, and time setting method
JP5127482B2 (en) Timing synchronization method, synchronization apparatus, synchronization system, and synchronization program
US20200162177A1 (en) Maintaining synchronization in wireless networks
US20140016654A1 (en) Can communication system, can transmission apparatus, can reception apparatus, and can communication method
JP4582023B2 (en) COMMUNICATION DEVICE, RECEPTION METHOD, AND COMPUTER PROGRAM
JP2007148592A (en) Data communication equipment
EP4277206A1 (en) Securing network access using dynamically generated baud-rates
JP2004193664A (en) Error detecting/correcting system and control apparatus employing the system
JPWO2010103574A1 (en) Communication apparatus and packet synchronization method
JP5376990B2 (en) Relay device and relay method of relay device
JP2007215142A (en) Frame buffer monitoring method and apparatus
US9030339B2 (en) Transmitting device and receiving device
US10310917B2 (en) Apparatus and method for processing data
CN112825501A (en) Signal degradation processing method, device and system
JP2011188272A (en) Switch apparatus
JP2008109471A (en) Lan system, transmitter, receiver, lan system control method, program and multiple frames
JP4688038B2 (en) Wireless packet communication device, communication system, and communication method
WO2022172802A1 (en) Wireless communication system, wireless communication method, wireless communication device, and program
US11197190B2 (en) Communication device, communication method, communication computer program product, and communication system
US20150220384A1 (en) Information processing apparatus, information processing system, and failure detection method
JP2007074170A (en) Data transfer device and method
JP5652538B2 (en) Relay device, setting value setting method, setting value setting program, and relay system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080704

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111018