JP2018048829A - Radio communication device, electronic watch, time correction method, transmission information generation method, and program - Google Patents
Radio communication device, electronic watch, time correction method, transmission information generation method, and program Download PDFInfo
- Publication number
- JP2018048829A JP2018048829A JP2016182912A JP2016182912A JP2018048829A JP 2018048829 A JP2018048829 A JP 2018048829A JP 2016182912 A JP2016182912 A JP 2016182912A JP 2016182912 A JP2016182912 A JP 2016182912A JP 2018048829 A JP2018048829 A JP 2018048829A
- Authority
- JP
- Japan
- Prior art keywords
- time
- information
- accuracy
- transmission information
- wireless communication
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Electric Clocks (AREA)
Abstract
Description
この発明は、無線通信装置、電子時計、時刻補正方法、送信情報生成方法、及びプログラムに関する。 The present invention relates to a wireless communication device, an electronic timepiece, a time correction method, a transmission information generation method, and a program.
従来、ブルートゥース(Bluetooth(登録商標))などの近距離無線通信を用いて種々の情報をやり取りすることが可能な電子装置がある。このような近距離無線通信により、特に、携帯型の電子装置は、複数の他の電子装置がそれぞれ個別に取得、保持する情報を容易に取得することができる。 2. Description of the Related Art Conventionally, there is an electronic device that can exchange various kinds of information using short-range wireless communication such as Bluetooth (registered trademark). Through such short-range wireless communication, in particular, a portable electronic device can easily acquire information individually acquired and held by a plurality of other electronic devices.
例えば、特許文献1には、ブルートゥース通信機能を有する電子腕時計が、携帯電話からブルートゥース通信を利用して時刻情報を取得し、電子腕時計の時刻を修正する技術が開示されている。
For example,
しかし、特許文献1の構成では、通信接続を確立した後のデータ通信において時刻情報を通信するため、例えば、電子腕時計に搭載されるOS(Operating System)の仕様によっては、接続認証手順の都合によって面倒な操作が必要になるという問題がある。
However, in the configuration of
本発明は、上述のような事情に鑑みてなされたものであり、外部装置との無線通信における接続確立前の送信情報を用いて時刻の補正が可能な無線通信装置、電子時計、時刻補正方法、送信情報生成方法、及びプログラムを提供することにある。 The present invention has been made in view of the above circumstances, and a wireless communication device, an electronic timepiece, and a time correction method capable of correcting time using transmission information before establishing a connection in wireless communication with an external device. Another object of the present invention is to provide a transmission information generation method and a program.
上記目的を達成するため、本発明の第1の観点に係る無線通信装置は、
外部装置と通信する通信部と、
自装置の動作を制御する制御部と、を備え、
前記制御部は、
前記外部装置から、前記外部装置が計時する時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を前記通信部を介して取得し、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択し、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する、
ことを特徴とする。
In order to achieve the above object, a wireless communication apparatus according to the first aspect of the present invention provides:
A communication unit that communicates with an external device;
A control unit that controls the operation of the device itself,
The controller is
From the external device, acquisition of transmission information including time information timed by the external device and accuracy information indicating the accuracy of the time, via the communication unit,
Based on the accuracy information included in the acquired transmission information, the transmission information satisfying a predetermined condition is selected from the acquired transmission information,
Based on the time information included in the selected transmission information, correct the time counted by the device itself,
It is characterized by that.
上記目的を達成するため、本発明の第2の観点に係る無線通信装置は、
外部装置と通信する通信部と、
自装置の動作を制御する制御部を備え、
前記制御部は、
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成し、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信し、
最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とする。
In order to achieve the above object, a wireless communication apparatus according to the second aspect of the present invention provides:
A communication unit that communicates with an external device;
It has a control unit that controls the operation of its own device,
The controller is
Generate transmission information including time information representing the time measured by the own device and accuracy information representing the accuracy of the time,
Periodically transmitting the generated transmission information to the external device via the communication unit;
Updating the time information after elapse of a predetermined period from the start of transmission of the latest generated transmission information, and generating the transmission information including the updated time information and the accuracy information;
It is characterized by that.
本発明によれば、外部装置との無線通信における接続確立前の送信情報を用いて時刻を補正することができる。 According to the present invention, time can be corrected using transmission information before establishing a connection in wireless communication with an external device.
以下、本発明の実施の形態を図面に基づいて説明する。
(第1実施形態)
図1は、本発明の第1実施形態に係る無線通信システム1の構成例を表す図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram illustrating a configuration example of a
図1に示す構成例において、無線通信システム1は、スマートフォン100と電子時計200とから構成される。スマートフォン100と電子時計200とは、Bluetooth(登録商標) Low Energy(以下、BLEという。)に基づいて、互いに無線通信を行う。BLEとは、Bluetooth(登録商標)と呼ばれる近距離無線通信規格において、低消費電力を目的として策定された規格(モード)である。本実施形態において、BLEに基づいて、スマートフォン100は、後述するアドバタイズパケットを送信するペリフェラルとして動作する。また、電子時計200は、アドバタイズパケットを受信するセントラルとして動作する。なお、4つのスマートフォン100が図1に例示されているが、スマートフォン100の数はこれに限られず、任意の数のスマートフォン100が、本発明に適用可能である。
In the configuration example illustrated in FIG. 1, the
次に、本発明の第1実施形態に係るスマートフォン100のハードウェア構成について説明する。
Next, the hardware configuration of the
図2は、本発明の第1実施形態に係るスマートフォン100の構成を示すブロック図である。スマートフォン100は、マイクロコンピュータ101と、ROM(Read Only Memory)102と、通信部103と、アンテナ104と、電力供給部105と、表示部106と、表示ドライバ107と、操作受付部108と、振動子109とを備える。マイクロコンピュータ101、ROM102、通信部103、アンテナ104、電力供給部105、及び振動子109は、本発明に係る無線通信装置の一例である無線通信装置10を構成する。
FIG. 2 is a block diagram showing a configuration of the
マイクロコンピュータ101は、制御部としてのCPU(Central Processing Unit)110と、記憶部としてのRAM(Random Access Memory)111と、発振回路112と、分周回路113と、計時回路114と、を備える。なお、RAM111、発振回路112、分周回路113、及び計時回路114は、マイクロコンピュータ101の内部に限られず、マイクロコンピュータ101の外部に設けられてもよい。また、ROM102、通信部103、電力供給部105、表示ドライバ107、及び振動子109は、マイクロコンピュータ101の外部に限られず、マイクロコンピュータ101の内部に設けられてもよい。
The
CPU110は、各種演算処理を行い、スマートフォン100の全体動作を統括制御するプロセッサである。CPU110は、ROM102から制御プログラムを読み出し、RAM111にロードして日時の表示や各種機能に係る演算制御や表示などの各種動作処理を行う。また、CPU110は、通信部103を制御し、電子時計200とデータ通信を行う。
The
RAM111は、SRAM(Static Random Access Memory)やDRAM(Dynamic Random Access Memory)などの揮発性のメモリであり、CPU110に作業用のメモリ空間を提供して一時データを記憶すると共に、各種設定データを記憶する。
The RAM 111 is a volatile memory such as SRAM (Static Random Access Memory) or DRAM (Dynamic Random Access Memory). The RAM 111 provides a working memory space to the
発振回路112は、振動子109を発振させることにより所定の周波数信号(クロック信号)を生成して出力する。発振回路112として、例えば、水晶発振器が用いられる。
The oscillation circuit 112 generates and outputs a predetermined frequency signal (clock signal) by causing the
分周回路113は、発振回路112から入力された周波数信号を、計時回路114やCPU110が利用する周波数の信号に分周して出力する。この出力信号の周波数は、CPU110による設定に基づいて変更されてもよい。
The frequency dividing
計時回路114は、分周回路113から入力された所定の計時信号の入力回数を計数して初期値に加算することで現在の時刻を計時する。計時回路114は、RAM111に記憶させる値を変化させるソフトウェアにより構成されてもよいし、或いは、専用のカウンタ回路により構成されてもよい。計時回路114が計時する時刻は、所定のタイミングからの累積時間、UTC(Coordinated Universal Time、協定世界時)、又は予め設定された都市の時刻(地方時)などのうち何れであってもよい。また、この計時回路114が計時する時刻は、必ずしも年月日、時分秒の形式で保持されなくてもよい。
The
また、計時回路114が計時する時刻は、例えば、GPS(Global Positioning Sytem)やNTP(Network Time Protocol)に基づいて、定期的に補正される。または、計時回路114が計時する時刻は、スマートフォン100が、3G(Third Generation)もしくはLTE(Long Term Evolution)といった無線通信用規格の回線を利用できる場合、NITZ(Network Identity and Time Zone)に基づいて補正されてもよい。
The time measured by the
ROM102は、マスクROMや書き換え可能な不揮発性メモリなどであり、制御プログラムや初期設定データが記憶されている。制御プログラムには、電子時計200が計時する時刻の補正に用いられるデータを送信するための各種処理の制御に係るプログラム115が含まれる。
The
通信部103は、例えば無線周波数(RF:Radio Frequency)回路やベースバンド(BB:Baseband)回路、メモリ回路で構成される。通信部103は、アンテナ104を介して、BLEに基づく無線信号の送信及び受信を行う。また、通信部103は、アンテナ104を介して受信した無線信号を、復調、復号等してCPU110へ送る。また、通信部103は、CPU110から送られた信号を、符号化、変調等して、アンテナ104を介して外部へ送信する。
The
電力供給部105は、バッテリを備え、スマートフォン100の動作に係る電力を各部にその動作電圧で供給する。電力供給部105のバッテリとしては、本実施形態では、リチウムイオン電池等の二次電池が用いられる。
The
表示部106は、例えば、液晶ディスプレイ(LCD:Liquid Crystal Display)や有機EL(Electro-Luminescent)ディスプレイなどの表示画面を備える。表示ドライバ107は、表示画面の種別に応じた駆動信号をCPU110からの制御信号に基づいて表示部106に出力し、表示画面上への表示を行う。
The
操作受付部108は、ユーザからの入力操作を受け付けて、当該入力操作に応じた電気信号を入力信号としてCPU110に出力する。操作受付部108として、例えば、タッチセンサが、表示部106の表示画面に重ねて設けられ、表示画面とともにタッチパネルを構成してもよい。この場合、タッチパネルは、当該タッチセンサへのユーザの接触動作に係る接触位置や接触態様の検出に応じた操作信号をCPU110に出力する。
The
次に、第1実施形態に係るスマートフォン100のCPU110の機能構成について説明する。
Next, a functional configuration of the
図2に示すように、CPU110は、生成部121、送信部122として機能する。これら生成部121、送信部122の機能は、単一のCPUにより実現されてもよいし、各々別個のCPUにより実現されてもよい。また、それらの機能は、通信部103のCPU(図示せず)等、マイクロコンピュータ101以外のプロセッサにより実現されてもよい。
As illustrated in FIG. 2, the
生成部121としてのCPU110は、時刻情報と、確度情報を含む送信情報を生成する。本実施形態では、CPU110が、送信情報の一例として、BLEにおけるアドバタイズパケットを生成する例について説明する。
The
アドバタイズパケットは、BLEにおいて、ペリフェラルとして動作するスマートフォン100が、セントラルとして動作する電子時計200に自装置を発見してもらうために送信するデータである。図3にアドバタイズパケットの構成例を示す。図3に示すように、アドバタイズパケットは、アドバタイズパケットを送信するスマートフォン100のアドレス(Address)や、様々なデータを含む。詳細には、本実施形態に係るアドバタイズパケットは、AD Typeが「Manufacturer Specific Data」であるAD Dataを含む。AD Typeは、AD Dataの種類を表し、「Manufacturer Specific Data」は、AD Dataが、企業が任意に定めることができるデータであることを表す。AD Typeが「Manufacturer Specific Data」であるAD Dataは、企業を識別するための「Company ID」と、任意のデータを含むことができる。本実施形態では、AD Dataは、「Company ID」とともに、時刻情報及び確度情報を含む。
The advertisement packet is data that the
時刻情報は、スマートフォン100が計時する時刻を表す。本実施形態では、CPU110は、アドバタイズパケットの生成時に計時回路114が計時した現在時刻を表す時刻情報をアドバタイズパケットに含める。
The time information represents the time counted by the
確度情報は、スマートフォン100が計時する時刻の確度を表す。本実施形態では、確度情報は、計時回路114が計時する時刻の最新の補正を行ってからの経過時間を表す。例えば、確度情報には、最新の補正からの経過時間が長いほど、低く、最新の補正からの経過時間が短いほど、高い値が設定される。CPU110は、最新の補正からの経過時間に応じた値が設定された確度情報をアドバタイズパケットに含める。
The accuracy information represents the accuracy of the time measured by the
また、生成部121としてのCPU110は、最新の送信情報の送信を開始してから所定期間経過後に、時刻情報を更新し、更新された時刻情報と、確度情報と、を含む送信情報を生成する。本実施形態では、CPU110は、最新のアドバタイズパケットの送信を開始してから所定期間N(例えば、100[msec])が経過すると、アドバタイズパケットに含める時刻情報が表す時刻を、計時回路114が計時する現在時刻に更新する。そして、CPU110は、更新された時刻情報と、確度情報と、を含むアドバタイズパケットを再生成する。
In addition, the
送信部122としてのCPU110は、生成された送信情報を、電子時計200に送信する。本実施形態では、CPU110は、生成されたアドバタイズパケットを所定の間隔Taで送信するよう、通信部103に指示する。
The
また、送信部122としてのCPU110は、アドバタイズパケットの送信を開始してから所定時間経過後に、アドバタイズの送信を停止するよう、通信部103に指示する。そして、CPU110は、アドバタイズパケットの再生成後、再生成されたアドバタイズパケットを所定の間隔Taで送信するよう、通信部103に指示する。そして、CPU110は、アドバタイズパケットの送信を最初に開始してから時間Lが経過した後に、アドバタイズパケットの送信を停止するよう、通信部103に指示する。
In addition, the
次に、第1実施形態に係る電子時計200のハードウェア構成について説明する。
Next, the hardware configuration of the
図4は、本発明の第1実施形態に係る電子時計200の構成を示すブロック図である。電子時計200は、マイクロコンピュータ201と、ROM202と、通信部203と、アンテナ204と、電力供給部205と、表示部206と、表示ドライバ207と、操作受付部208と、振動子209とを備える。マイクロコンピュータ201、ROM202、通信部203、アンテナ204、電力供給部205と、振動子209は、本発明に係る無線通信装置の一例である無線通信装置20を構成する。
FIG. 4 is a block diagram showing a configuration of the
マイクロコンピュータ201は、制御部としてのCPU210と、記憶部としてのRAM211と、発振回路212と、分周回路213と、計時回路214と、を備える。なお、RAM211、発振回路212、分周回路213、及び計時回路214は、マイクロコンピュータ201の内部に限られず、マイクロコンピュータ201の外部に設けられてもよい。また、ROM202、通信部203、電力供給部205、表示ドライバ107、及び振動子209は、マイクロコンピュータ201の外部に限られず、マイクロコンピュータ201の内部に設けられてもよい。
The
CPU210は、各種演算処理を行い、電子時計200の全体動作を統括制御するプロセッサである。CPU210は、ROM202から制御プログラムを読み出し、RAM211にロードして日時の表示や各種機能に係る演算制御や表示などの各種動作処理を行う。また、CPU210は、通信部203を制御し、スマートフォン100とデータ通信を行う。
The
RAM211は、SRAMやDRAMなどの揮発性のメモリであり、CPU210に作業用のメモリ空間を提供して一時データを記憶すると共に、各種設定データを記憶する。
The
発振回路212は、振動子209を発振させることにより所定の周波数信号(クロック信号)を生成して出力する。発振回路212として、例えば、水晶発振器が用いられる。
The
分周回路213は、発振回路212から入力された周波数信号を、計時回路214やCPU210が利用する周波数の信号に分周して出力する。この出力信号の周波数は、CPU210による設定に基づいて変更されてもよい。
The
計時回路214は、分周回路213から入力された所定の計時信号の入力回数を計数して初期値に加算することで現在の時刻を計時する。計時回路214は、RAM211に記憶させる値を変化させるソフトウェアにより構成されてもよいし、或いは、専用のカウンタ回路により構成されてもよい。計時回路214が計時する時刻は、所定のタイミングからの累積時間、UTC、又は予め設定された地方時などのうち何れであってもよい。また、この計時回路214が計時する時刻は、必ずしも年月日、時分秒の形式で保持されなくてもよい。また、計時回路214が計時する時刻は、後述する補正部223からの指示によって補正される。
The
ROM202は、マスクROMや書き換え可能な不揮発性メモリなどであり、制御プログラムや初期設定データが記憶されている。制御プログラムには、スマートフォン100から時刻を修正するためのデータを受信し、電子時計200が計時する時刻を修正するための各種処理の制御に係るプログラム215が含まれる。
The
通信部203は、例えば無線周波数回路やベースバンド回路、メモリ回路で構成される。通信部203は、アンテナ204を介して、BLEに基づく無線信号の送信及び受信を行う。また、通信部203は、アンテナ204を介して受信した無線信号を、復調、復号等してCPU210へ送る。また、通信部203は、CPU210から送られた信号を、符号化、変調等して、アンテナ204を介して外部へ送信する。
The
電力供給部205は、バッテリを備え、電子時計200の動作に係る電力を各部にその動作電圧で供給する。電力供給部205のバッテリとしては、本実施形態では、ボタン型乾電池などの一次電池が用いられている。或いは、バッテリとして、ソーラパネルと二次電池が用いられ、ソーラパネルへの入射光に応じた起電力の大小に応じて、二次電池が充放電されてもよい。
The
表示部206は、例えば、液晶ディスプレイや有機ELディスプレイなどの表示画面を備え、ドットマトリクス方式及びセグメント方式の何れか又はこれらの組み合わせにより時刻や各種機能に係るデータをデジタル表示する。表示ドライバ207は、表示画面の種別に応じた駆動信号をCPU210からの制御信号に基づいて表示部206に出力し、表示画面上への表示を行う。或いは、表示部206は、複数の指針をステッピングモータにより輪列機構を介して回転動作させることで表示を行うアナログ式の構成を有するものであってもよい。
The
操作受付部208は、ユーザからの入力操作を受け付けて、当該入力操作に応じた電気信号を入力信号としてCPU210に出力する。この操作受付部208は、例えば、押しボタンスイッチやりゅうずを含む。或いは、タッチセンサが、操作受付部208として表示部206の表示画面に重ねて設けられ、表示画面とともにタッチパネルを構成してもよい。この場合、タッチパネルは、当該タッチセンサへのユーザの接触動作に係る接触位置や接触態様の検出に応じた操作信号をCPU210に出力する。
The
次に、第1実施形態に係る電子時計200のCPU210の機能構成について説明する。
Next, a functional configuration of the
CPU210は、取得部221、選択部222、補正部223として機能する。これら取得部221、選択部222、補正部223の機能は、単一のCPUにより実現されてもよい、各々別個のCPUにより実現されてもよい。また、それらの機能は、通信部203のCPU等、マイクロコンピュータ201以外のプロセッサにより実現されてもよい。
The
取得部221としてのCPU210は、スマートフォン100から、時刻情報及び確度情報を含む送信情報を取得する。本実施形態では、CPU210は、スキャン動作により、送信情報の一例として、アドバタイズパケットを取得する。詳細には、CPU210は、アドバタイズパケットを受信するためのスキャン動作を開始するよう、通信部203に指示する。そして、CPU210は、スキャン動作を開始してから所定の時間が経過すると、スキャン動作を停止するよう、通信部203に指示する。
The
選択部222としてのCPU210は、取得された送信情報に含まれる確度情報に基づいて、取得された送信情報のうち、所定の条件を満たす送信情報を選択する。本実施形態において、CPU210は、所定の条件の例として、アドバタイズパケットに含まれる確度情報が表す確度が所定の閾値以上であるという条件を満たすアドバタイズパケットを選択する。
The
また、選択部222としてのCPU210は、取得されたアドバタイズパケットのうち、予め定められた識別情報を含むアドバタイズパケットに含まれる確度情報に基づいて、アドバタイズパケットを選択する。本実施形態において、CPU210は、電子時計200と予めペアリングされたスマートフォン100が送信したアドバタイズパケットを選択する。詳細には、電子時計200は、スマートフォン100とのペアリングの際に、そのスマートフォン100の識別情報として、スマートフォンのアドレスを取得し、保持する。そして、CPU210は、アドバタイズパケットに含まれる、アドバタイズパケットを送信したスマートフォン100のアドレスが、電子時計200とペアリングされたスマートフォン100のアドレスと一致するアドバタイズパケットを選択する。
Further, the
補正部223としてのCPU210は、選択された送信情報に含まれる時刻情報に基づいて、電子時計200が計時する時刻を補正する。本実施形態において、CPU210は、選択されたアドバタイズパケットに含まれる時刻情報が表す時刻に、計時回路214が計時する時刻を補正する。
The
次に、第1実施形態における無線通信システム1の動作について説明する。
Next, the operation of the
図5は、第1実施形態における無線通信システム1の動作の一例を示すシーケンス図である。以下では、スマートフォン100がペリフェラルとして、電子時計200がセントラルとして動作する場合の、スマートフォン100及び電子時計200のホスト及びリンク・レイヤーの動作について説明する。ここで、CPU110,210が、それぞれホストとして機能する。また、通信部103,203が、それぞれリンク・レイヤーとして機能する。なお、図5では、図1に示す4つのスマートフォン100のうち、1つのスマートフォン100の動作の一例を示しているが、他のスマートフォン100も同様に動作する。
FIG. 5 is a sequence diagram illustrating an example of the operation of the
スマートフォン100及び電子時計200は、例えば、1日に1回の所定時刻Tに、電子時計200が計時する時刻を補正するための時刻補正処理を実行する。以下の説明において、スマートフォン100の計時回路114が計時する現在時刻をtp、電子時計200の計時回路御214が計時する現在時刻をtwと表す。
For example, the
まず、電子時計200は、時刻tw=Tにスマートフォン100からのアドバタイズパケットを受信できるように、時刻tw=Tから時間Mwだけ早くスキャンを開始する。即ち、CPU210は、時刻tw=T−Mwに、通信部203へスキャンを開始するように指示する(ステップS10)。そして、通信部203は、CPU210から指示を受けると、スキャンを開始する。
First, the
ここで、時間Mwは、スマートフォン100が計時する現在時刻tpに対する、電子時計200が計時する現在時刻twの誤差のためのマージンであり、スマートフォン100からのアドバタイズパケットをいち早く確実に受信できるようにするために予め設定されている。時間Mwは、例えば、計時回路114の歩度と、電子時計200の前回の時刻修正処理からの経過時間とを考慮し、電子時計200が計時する現在時刻twの誤差よりも長い時間とすることが好ましい。
Here, the time Mw is a margin for an error of the current time tw timed by the
スマートフォン100のCPU110は、所定時刻Tにアドバタイズパケットの送信を指示できるように、時刻tp=T−Mpにアドバタイズパケットを生成する(ステップS11)。ここで、時間Mpは、CPU110がアドバタイズパケットの生成にかかる時間のためのマージンであり、アドバタイズパケットの生成にかかる時間よりも長い時間に予め設定されている。ステップS11において生成されるアドバタイズパケットは、時刻Tを表す時刻情報と、確度情報とを含む。
The
CPU110は、時刻tp=Tに、通信部103にアドバタイズを開始するように指示する(ステップS12)。そして、通信部103は、アドバタイズパケットの送信を開始する(ステップS13)。以後、通信部103は、時間間隔Ta毎に、ステップS11において生成されたアドバタイズパケットを送信する。
CPU110は、ステップS13においてアドバタイズの送信を開始してから時間Nが経過した時刻である時刻tp=T+Nに、通信部103にアドバタイズを停止するように指示する(ステップS14)。そして、CPU110は、次の所定時刻T2にアドバタイジングパケットの送信を指示できるように、所定時刻TをT2へと変更し、時刻tp=T2−Mpに時刻T2を表す時刻情報と、確度情報とを含むアドバタイズパケットを再生成する(ステップS15)。
CPU110は、通信部103にアドバタイズを開始するように指示する(ステップS16)。そして、通信部103は、時刻tp=T2に、アドバタイズパケットの送信を開始する(ステップS17)。以後、通信部103は、時間間隔Ta毎に、ステップS15において生成されたアドバタイズパケットを送信する。
そして、CPU110は、ステップS17においてアドバタイズの送信を開始してから時間Nが経過した時刻である時刻tp=T2+Nに、通信部103にアドバタイズを停止するように指示する(ステップS18)。以後、CPU110は、ステップS15〜S18の処理を同様に繰り返し実行する。
Then,
そして、CPU110は、ステップS12において最初にアドバタイズの開始を指示した所定時刻Tから時間Lが経過した時刻である時刻tp=T+Lに、通信部103にアドバタイズを停止するように指示する(ステップS19)。
Then, the
また、電子時計200のCPU210は、時刻tw=T+L+Mwに、通信部203へスキャンを停止するように指示する(ステップS20)。そして、通信部203は、CPU210から指示を受けると、スキャンを停止する。
Further, the
次に、第1実施形態に係るスマートフォン100の動作について説明する。
Next, the operation of the
図6は、スマートフォン100のCPU110が実行する時刻補正処理のフローチャートである。この時刻補正処理は、本発明に係る送信情報生成方法の一例である。CPU110は、例えば、スマートフォン100の電源がオンになったことを契機として、時刻補正処理を開始する。
FIG. 6 is a flowchart of time correction processing executed by the
まず、CPU110は、計時回路114が計時する現在時刻tpが、時刻T−Mpか否か判別する(ステップS101)。CPU110は、現在時刻tpが、時刻T−Mpでないと判別したとき(ステップS101;No)、現在時刻tpが時刻T−Mpに達するまで待機する。
First, the
CPU110は、現在時刻tpが、時刻T−Mpであると判別したとき(ステップS101;Yes)、時刻Tを表す時刻情報と、確度情報とを含むアドバタイズパケットを生成する(ステップS102)。
When the
次に、CPU110は、現在時刻tpが、時刻Tか否か判別する(ステップS103)。CPU110は、現在時刻tpが、時刻Tでないと判別したとき(ステップS103;No)、現在時刻tpが時刻Tに達するまで待機する。
Next, the
CPU110は、現在時刻tpが、時刻Tであると判別したとき(ステップS103;Yes)、通信部103にアドバタイズの開始を指示する(ステップS104)。
When determining that the current time tp is the time T (step S103; Yes), the
CPU110は、現在時刻tpが、時刻Tから時間Lが経過したか否かを判別する(ステップS105)。
The
CPU110は、現在時刻tpが、時刻Tから時間Lが経過していないと判別したとき(ステップS105;No)、現在時刻tpが、ステップS104においてアドバタイズの開始を指示してから時間Nが経過したか否かを判別する(ステップS106)。
When the
CPU110は、現在時刻tpが、ステップS104においてアドバタイズの開始を指示してから時間Nが経過していないと判別したとき(ステップS106;No)、ステップS105に戻って処理を繰り返す。
When the
CPU110は、現在時刻tpが、ステップS104においてアドバタイズの開始を指示してから時間Nが経過したと判別したとき(ステップS106;Yes)、通信部103にアドバタイズの停止を指示する(ステップS107)。
When the
CPU110は、次に送信する所定時刻を表す時刻情報(例えば所定時刻TをT2へと変更して)と、確度情報とを含むアドバタイズパケットを再生成する(ステップS108)。そして、CPU110は、ステップS101に戻って処理を繰り返す。この際、所定時刻を表す時刻Tは都度変更される。
CPU110は、現在時刻tpが、最初にアドバタイジングを開始した時刻Tから時間Lが経過したと判別したとき(ステップS105;Yes)、通信部103にアドバタイズの停止を指示する(ステップS109)。そして、CPU110は、ステップS101に戻って処理を繰り返す。
When the
次に、第1実施形態に係る電子時計200の動作について説明する。
Next, the operation of the
図7は、電子時計200のCPU210が実行する時刻補正処理のフローチャートである。この時刻補正処理は、本発明に係る時刻補正方法の一例である。CPU210は、例えば、電子時計200の電源がオンになったことを契機として、時刻補正処理を開始する。
FIG. 7 is a flowchart of time correction processing executed by the
まず、CPU210は、計時回路114が計時する現在時刻twが、時刻T−Mwか否か判別する(ステップS201)。CPU210は、現在時刻twが、時刻T−Mwでないと判別したとき(ステップS201;No)、現在時刻twが時刻T−Mwに達するまで待機する。
First, the
CPU210は、現在時刻twが、時刻T−Mwであると判別したとき(ステップS201;Yes)、通信部203にスキャンの開始を指示する(ステップS202)。
When the
CPU210は、スキャン中に電子時計200とペアリングされたスマートフォン100からのアドバタイズパケットを取得したか否かを判別する(ステップS203)。CPU210は、ペアリングされたスマートフォン100からのアドバタイズパケットを取得していないと判別したとき(ステップS203;No)、ステップS206へと進む。
The
CPU210は、ペアリングされたスマートフォン100からアドバタイズパケットを取得したと判別したとき(ステップS203;Yes)、そのアドバタイズパケットに含まれる確度情報が表す確度Aが所定の閾値A0以上か否かを判別する(ステップS204)。CPU210は、確度Aが所定の閾値A0よりも小さいと判別したとき(ステップS204;No)、ステップS201に戻って処理を繰り返す。
When the
CPU210は、確度Aが所定の閾値A0以上であると判別したとき(ステップS204;Yes)、ペアリングされたスマートフォン100から取得されたアドバタイズパケットに含まれる時刻情報が表す時刻に基づいて、時刻twを補正する(ステップS205)。
When the
一方、CPU210は、ペアリングされたスマートフォン100からアドバタイズパケットを取得していないと判別したとき(ステップS203;No)、現在時刻twが、時刻Tから時間L+Mwが経過したか否かを判別する(ステップS206)。
On the other hand, when determining that the advertisement packet has not been acquired from the paired smartphone 100 (step S203; No), the
CPU210は、現在時刻twが、時刻Tから時間L+Mwが経過していないと判別したとき(ステップS206;No)、ペアリングされたスマートフォン100からアドバタイズパケットを取得するか、現在時刻twが時刻L+Mwに達するまで待機する。
When the
CPU210は、現在時刻twが、時刻Tから時間L+Mwが経過したと判別したとき(ステップS206;Yes)、通信部203にスキャンの停止を指示する(ステップS207)。
When the
以上のように、第1実施形態に係る電子時計200は、スマートフォン100から、スマートフォン100が計時する時刻を表す時刻情報と、その時刻の確度を表す確度時報と、とを含むアドバタイズパケットを取得する。そして、電子時計200は、アドバタイズパケットに含まれる確度情報に基づいて、取得されたアドバタイズパケットのうち、所定の条件を満たすアドバタイズパケットを選択する。そして、電子時計200は、選択されたアドバタイズパケットに含まれる時刻情報に基づいて、自装置が計時する時刻を補正する。このように、電子時計200は、スマートフォン100との接続を確立することなく、自装置が計時する時刻を補正することができる。そのため、スマートフォン等の無線通信装置との接続を確立した後の通信において送受信されるデータに基づいて自装置が計時する時刻を補正する場合と比較して、消費電力を低減することができる。
As described above, the
また、電子時計200は、アドバタイズパケットに含まれる確度情報に基づいて、取得されたアドバタイズパケットのうち、所定の条件を満たすアドバタイズパケットを選択する。従って、精度が高い時刻情報を含むアドバタイズパケットを、時刻の補正に利用することができ、補正後の時刻の精度を保つことができる。
In addition, the
また、電子時計200は、電子時計200とペアリングされたスマートフォン100からのアドバタイズパケットを選択する。従って、特定のスマートフォン100の時刻情報を含むアドバタイズパケットを時刻の補正に利用することができ、補正後の時刻の精度を保つことができる。
In addition, the
(第2実施形態)
上記の第1実施形態では、電子時計200とペアリングされたスマートフォン100が送信する送信情報に基づいて、電子時計200が計時する時刻を補正する例を説明した。第2実施形態では、電子時計200とペアリングされていないスマートフォン100からの送信情報に基づいて、電子時計200が計時する時刻を補正する例を説明する。なお、以下において、第1実施形態と同一の構成要素には同一の符号を付し、その詳細な説明を省略する。
(Second Embodiment)
In the first embodiment, the example in which the time measured by the
図8は、本実施形態の電子時計200aの構成を示すブロック図である。電子時計200aは、第1実施形態の電子時計200の機能構成に対して、CPU210が、選択部222及び補正部223の代わりに、選択部222a及び補正部223aとして機能する点が異なる。
FIG. 8 is a block diagram showing the configuration of the
選択部222aとしてのCPU210は、所定の条件の例として、取得された送信情報に含まれる確度情報が表す確度が所定の閾値以上である送信情報をn個(nは自然数)以上受信したとき、n個の送信情報のうち、送信情報に含まれる確度情報が表す確度が高い順にm個(mは自然数かつm≦n)の送信情報を選択する。本実施形態において、CPU210は、スキャンにおいて、確度が所定の閾値A0以上である確度情報を含むアドバタイズパケットをn個以上取得したか否かを判別する。そして、CPU210は、アドバタイズパケットをn個以上取得したとき、その取得されたアドバタイズパケットのうち、確度が高い順にm個のアドバタイズパケットを、所定の条件を満たすアドバタイズパケットとして選択する。
As an example of the predetermined condition, the
補正部223aとしてのCPU210は、選択された送信情報に含まれる時刻情報が表す時刻に対して、選択された送信情報に含まれる確度情報が表す確度に基づいて重み付けをすることにより、自装置が計時する時刻を補正する。本実施形態において、例えば、CPU210は、選択されたアドバタイズパケットに含まれる時刻情報が表す時刻に対して、選択されたアドバタイズパケットに含まれる確度情報が表す確度が高いほど、大きな重み付け係数を乗算し、集計することにより、補正すべき時刻を算出する。そして、CPU210は、計時装置214が計時する時刻を算出された時刻に補正する。
The
次に、第2実施形態に係る電子時計200の動作について説明する。
Next, the operation of the
図9は、電子時計200aのCPU210が実行する時刻補正処理のフローチャートである。この時刻補正処理は、本発明に係る時刻補正方法の一例である。CPU210は、例えば、電子時計200aの電源がオンになったことを契機として、時刻補正処理を開始する。
FIG. 9 is a flowchart of time correction processing executed by the
まず、CPU210は、ステップS301〜S302において、図7に示す第1実施形態に係る時刻補正処理のステップS201〜S202と同様の処理を実行する。
First, in steps S301 to S302, the
そして、CPU210は、スキャン中に、所定の閾値A0以上の確度を表す確度情報を含むアドバタイズパケットをn個以上取得したか否かを判別する(ステップS303)。CPU210は、アドバタイズパケットをn個以上取得していないと判別したとき(ステップS303;No)、ステップS306〜S307において、図7に示す第1実施形態に係る時刻補正処理のステップS206〜S207と同様の処理を実行する。に進む。
Then, the
CPU210は、アドバタイズパケットをn個以上取得したと判別したとき(ステップS303;Yes)、そのアドバタイズパケットに含まれる確度情報が表す確度が高い順にm個のアドバタイズパケットを選択する(ステップS304)。
When determining that n or more advertisement packets have been acquired (step S303; Yes), the
CPU210は、ステップS306において選択されたアドバタイズパケットに含まれる時刻情報が表す時刻に対して、そのアドバタイズパケットに含まれる確度情報が表す確度に基づいて重み付けをすることにより、時刻twを補正する(ステップS305)。
The
以上のように、第2実施形態に係る電子時計200aは、ペアリングされていない、不特定多数のスマートフォン100から、スマートフォン100が計時する時刻を表す時刻情報と、時刻の確度を表す確度情報と、を含むアドバタイズパケットを取得する。そして、電子時計200aは、取得されたアドバタイズパケットのうち、確度が高いアドバタイズパケットを、自装置が計時する時刻を補正に利用するアドバタイズパケットとして選択する。このように、電子時計200aは、不特定多数のスマートフォン100からのアドバタイズパケットのうち、確度が高い時刻に基づいて補正をするので、精度が低い時刻情報を排除し、補正後の時刻の精度を保つことができる。
As described above, the
また、電子時計200aは、選択されたアドバタイズパケットに含まれる時刻情報が表す時刻に対して、確度情報が表す確度に基づいて重み付けをすることにより、補正後の時刻の精度をより高めることができる。
Moreover, the
なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。 The present invention is not limited to the above-described embodiment, and various modifications can be made.
例えば、上記実施形態では、時刻情報及び確度情報は、AD Typeが「Manufacturer Specific Data」であるAD Dataに含まれる例について説明した。しかし、時刻情報及び確度情報が含まれるアドバタイズパケットの領域は、これに限られず、ユーザまたは企業が任意に利用できる領域であればよい。 For example, in the above-described embodiment, the example in which the time information and the accuracy information are included in AD Data whose AD Type is “Manufacturer Specific Data” has been described. However, the area of the advertisement packet including the time information and the accuracy information is not limited to this, and may be an area that can be arbitrarily used by the user or the company.
また、上記実施形態では、確度情報は、スマートフォン100が計時する時刻の最新の補正を行ってからの経過時間を表す例について説明した。しかし、確度情報が表す時刻の確度は、これに限られない。例えば、確度情報は、スマートフォン100が、自装置が計時する時刻を補正する際に参照した時刻源の信頼性を表してもよい。例えば、時刻源が、GPS、NITZ、NTPである場合の確度がそれぞれA1、A2、A3、時刻が補正されない場合の確度がA4(ただし、A1>A2>A3>A4)のように、時刻源の信頼性が高いほど、高い確度を予め時刻源に対応して設定されていてもよい。
Moreover, in the said embodiment, accuracy information demonstrated the example showing the elapsed time after performing the newest correction | amendment of the time which the
また、上記実施形態では、電子時計200aのCPU210は、選択されたアドバタイズパケットに含まれる時刻情報が表す時刻に対して、確度情報が表す確度に基づいて重み付けをすることにより、自装置が計時する時刻を補正する例について説明した。しかし、CPU210は、さらに、選択されたアドバタイズパケットのRSSI(Received Signal Strength Indicator:受信電波強度)に基づいて重み付けをすることにより、自装置が計時する時刻を補正してもよい。例えば、RSSIが所定値I0よりも大きく、かつ確度が所定値A0よりも大きい場合、重み付け係数W1を割り当てる。また、RSSIが所定値I0以下であり、かつ確度が所定値A0よりも大きい場合、重み付け係数W2(W1>W2)を割り当てる。また、RSSIが所定値I0よりも大きく、かつ確度が所定値A0以下である場合、重み付け係数W2またはW3(W2>W3)を割り当てる。また、RSSIが所定値I0以下であり、かつ確度が所定値A0以下である場合、重み付け係数W3を割り当てる、またはそのアドバタイズパケットを排除する。このように、RSSI及び確度の組み合わせに応じて割り当てられた重み付け係数を時刻に乗算し、集計することにより、補正すべき時刻を算出してもよい。
In the above embodiment, the
また、上記実施形態では、スマートフォン100及び電子時計200,200aは、例えば、1日に1回の所定時刻Tに、電子時計200が計時する時刻を補正するための時刻補正処理を実行する例について説明した。しかし、時刻補正処理は、ユーザの操作入力を契機として実行されてもよい。
In the above embodiment, for example, the
また、上記実施形態では、スマートフォン100から取得した送信情報に含まれる確度情報が表す確度が所定の閾値以上であれば、補正部223は、その送信情報に含まれる時刻情報に基づいて電子時計200が計時する時刻を補正する場合を述べたが、これに限られない。例えば、前回に補正部223が時刻を補正してからの経過時間をCPU210が測定し、保持する。この経過時間が長いほど電子時計200が保持する時刻情報の確度は低く、短いほど確度は高い数値とする。この時スマートフォン100から取得した送信情報に含まれる確度情報が表す確度が所定の閾値以上であり、かつ電子時計200のCPU210が保持する時刻情報の確度よりも高い数値である場合に補正部223は、その送信情報に含まれる時刻情報に基づいて時刻を補正してもよい。このようにすることで、時刻を補正してから経過した時間が短い場合は、確度が高い送信情報を受信したとしても時刻を補正せず、高頻度で時刻が補正されることを防ぐことができる。
In the above embodiment, if the accuracy represented by the accuracy information included in the transmission information acquired from the
また、上記実施形態に限られず、スマートフォン100の計時における歩度を考慮してもよい。例えば、スマートフォン100が、計時する時刻に一定期間でどの程度の誤差が発生するかを表す歩度情報を更に送信情報に含めて送信し、電子時計200は送信情報に含まれる確度情報と、歩度情報とに基づいて時刻情報の信頼度を算出し、信頼度が所定の閾値を超えている場合に、その送信情報に含まれる時刻情報が表す時刻に基づいて、時刻を補正してもよい。これにより、スマートフォン100側が計時する時刻の誤差を考慮した時刻補正を行うことができる。
Moreover, you may consider the rate at the time measurement of the
また、上記実施形態では、スマートフォン100及び電子時計200,200aがブルートゥースで通信して電子時計200,200aの時刻を補正する例を説明したが、その他の通信方法、例えば、無線LANやWi−Fi(登録商標)で通信して時刻を補正してもよい。
In the above embodiment, the
また、上記実施形態では、電子時計200,200aが計時する時刻をスマートフォン100が計時する時刻に補正する例を説明したが、スマートフォン100が計時する時刻を電子時計200,200aが計時する時刻に補正してもよい。
In the above-described embodiment, an example in which the time measured by the
また、上記実施形態では、スマートフォン100、電子時計200,200aを例に挙げて説明したが、本発明を適用可能な機器はこれらに限られず、スマートウォッチなどの無線通信が可能な電子機器であればよい。
In the above embodiment, the
また、上記実施形態では、制御動作を行うプロセッサがCPU110、CPU210である例を説明しているが、制御動作は、CPUによるソフトウェア制御に限られるものではない。制御動作の一部又は全部が専用の論理回路などのハードウェア構成を用いてなされても良い。 Moreover, although the said embodiment demonstrated the example which the processor which performs control operation is CPU110 and CPU210, control operation is not restricted to software control by CPU. Part or all of the control operation may be performed using a hardware configuration such as a dedicated logic circuit.
また、以上の説明では、本発明の時刻補正処理に係るプログラム115,215を記憶するコンピュータ読み取り可能な媒体としてフラッシュメモリなどの不揮発性メモリなどからなるROM102、202を例に挙げて説明したが、これらに限定されない。その他のコンピュータ読み取り可能な媒体として、HDD(Hard Disk Drive)、CD−ROMやDVD(Digital Versatile Disk)などの可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウェーブ(搬送波)も本発明に適用される。
In the above description, the
その他、上記実施の形態で示した構成、制御手順や表示例などの具体的な細部は、本発明の趣旨を逸脱しない範囲において適宜変更可能である。 In addition, specific details such as the configuration, the control procedure, and the display example shown in the above embodiment can be changed as appropriate without departing from the spirit of the present invention.
本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した番号は、この出願の願書に最初に添付した特許請求の範囲の通りである。 Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalents thereof. The invention described in the scope of claims attached to the application of this application will be added below. The numbers given in the appendix are as in the scope of the claims originally attached to the application for this application.
(付記1)
外部装置と通信する通信部と、
自装置の動作を制御する制御部と、を備え、
前記制御部は、
前記外部装置から、前記外部装置が計時する時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を前記通信部を介して取得し、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択し、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する、
ことを特徴とする無線通信装置。
(Appendix 1)
A communication unit that communicates with an external device;
A control unit that controls the operation of the device itself,
The controller is
From the external device, acquisition of transmission information including time information timed by the external device and accuracy information indicating the accuracy of the time, via the communication unit,
Based on the accuracy information included in the acquired transmission information, the transmission information satisfying a predetermined condition is selected from the acquired transmission information,
Based on the time information included in the selected transmission information, correct the time counted by the device itself,
A wireless communication apparatus.
(付記2)
前記送信情報は、前記送信情報の送信元である前記外部装置を識別する識別情報をさらに含み、
前記制御部は、前記取得された前記送信情報のうち、予め定められた前記識別情報を含む前記送信情報に含まれる前記確度情報に基づいて、前記送信情報を選択する、
ことを特徴とする付記1に記載の無線通信装置。
(Appendix 2)
The transmission information further includes identification information for identifying the external device that is a transmission source of the transmission information,
The control unit selects the transmission information based on the accuracy information included in the transmission information including the predetermined identification information among the acquired transmission information.
The wireless communication apparatus according to
(付記3)
前記制御部は、前記予め定められた前記識別情報を含む前記送信情報に含まれる前記確度情報が表す確度が、所定の閾値以上である前記送信情報を選択する、
ことを特徴とする付記2に記載の無線通信装置。
(Appendix 3)
The control unit selects the transmission information whose accuracy represented by the accuracy information included in the transmission information including the predetermined identification information is a predetermined threshold value or more.
The wireless communication apparatus according to
(付記4)
前記制御部は、
前記取得された前記送信情報に含まれる前記確度情報が表す確度が所定の閾値以上である前記送信情報をn個(nは自然数)以上受信したとき、前記n個の前記送信情報のうち、前記送信情報に含まれる前記確度情報が表す確度が高い順にm個(mは自然数かつm≦n)の前記送信情報を選択する、
ことを特徴とする付記1に記載の無線通信装置。
(Appendix 4)
The controller is
When the transmission information whose accuracy represented by the accuracy information included in the acquired transmission information is greater than or equal to a predetermined threshold (n is a natural number) or more, the transmission information among the n transmission information Selecting m pieces of transmission information (m is a natural number and m ≦ n) in descending order of the accuracy represented by the accuracy information included in the transmission information;
The wireless communication apparatus according to
(付記5)
前記制御部は、前記選択された前記送信情報に含まれる前記時刻情報が表す時刻に対して、前記選択された前記送信情報に含まれる前記確度情報が表す確度に基づいて重み付けをすることにより、自装置が計時する時刻を補正する、
ことを特徴とする付記1乃至4のいずれか1つに記載の無線通信装置。
(Appendix 5)
The control unit weights the time represented by the time information included in the selected transmission information based on the accuracy represented by the accuracy information included in the selected transmission information, Correct the time counted by the device itself,
The wireless communication device according to any one of
(付記6)
前記制御部は、前記選択された前記送信情報に含まれる前記時刻情報が表す時刻に対して、さらに前記選択された前記送信情報の受信電波強度に基づいて重み付けをすることにより、自装置が計時する時刻を補正する、
ことを特徴とする付記1乃至5のいずれか1つに記載の無線通信装置。
(Appendix 6)
The control unit weights the time indicated by the time information included in the selected transmission information based on the received radio wave intensity of the selected transmission information, so that the own device measures time. Correct the time to
The wireless communication device according to any one of
(付記7)
前記確度情報は、前記外部装置が計時する時刻の最新の補正を行ってからの経過時間を表す、
ことを特徴とする付記1乃至6のいずれか1つに記載の無線通信装置。
(Appendix 7)
The accuracy information represents an elapsed time since the latest correction of the time counted by the external device,
The wireless communication device according to any one of
(付記8)
前記確度情報は、前記外部装置が、前記外部装置が計時する時刻を補正する際に参照した時刻源の信頼性を表す、
ことを特徴とする付記1乃至6のいずれか1つに記載の無線通信装置。
(Appendix 8)
The accuracy information represents the reliability of the time source referred to when the external device corrects the time counted by the external device.
The wireless communication device according to any one of
(付記9)
前記制御部は、時刻の最新の補正を行ってからの経過時間を表す第2の確度情報を保持し、前記送信情報に含まれる前記確度情報と前記第2の確度情報とに基づいて自装置が計時する時刻を補正する、
ことを特徴とする付記1乃至8のいずれか1つに記載の無線通信装置。
(Appendix 9)
The control unit retains second accuracy information representing an elapsed time since the latest correction of time, and based on the accuracy information and the second accuracy information included in the transmission information To correct the time when
The wireless communication device according to any one of
(付記10)
前記送信情報は、前記外部装置が計時する時刻に発生する一定期間の誤差を表す歩度情報をさらに含み、
前記制御部は、前記送信情報に含まれる前記確度情報と前記歩度情報とに基づいて自装置が計時する時刻を補正する、
ことを特徴とする付記1乃至8のいずれか1つに記載の無線通信装置。
(Appendix 10)
The transmission information further includes rate information representing an error of a certain period that occurs at a time measured by the external device,
The control unit corrects the time measured by the own device based on the accuracy information and the rate information included in the transmission information.
The wireless communication device according to any one of
(付記11)
外部装置と通信する通信部と、
自装置の動作を制御する制御部を備え、
前記制御部は、
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成し、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信し、
最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とする無線通信装置。
(Appendix 11)
A communication unit that communicates with an external device;
It has a control unit that controls the operation of its own device,
The controller is
Generate transmission information including time information representing the time measured by the own device and accuracy information representing the accuracy of the time,
Periodically transmitting the generated transmission information to the external device via the communication unit;
Updating the time information after elapse of a predetermined period from the start of transmission of the latest generated transmission information, and generating the transmission information including the updated time information and the accuracy information;
A wireless communication apparatus.
(付記12)
付記1乃至11のいずれか1つに記載の無線通信装置と、
時刻を表示する表示部と、
を備えることを特徴とする電子時計。
(Appendix 12)
The wireless communication device according to any one of
A display for displaying the time,
An electronic timepiece characterized by comprising:
(付記13)
外部装置と通信する通信部と、自装置の動作を制御する制御部と、を備える無線通信装置が実行する時刻補正方法であって、
前記外部装置から、前記外部装置が計時する時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を前記通信部を介して取得する取得ステップと、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択する選択ステップと、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する補正ステップと、
を含むことを特徴とする時刻補正方法。
(Appendix 13)
A time correction method executed by a wireless communication device comprising a communication unit that communicates with an external device and a control unit that controls the operation of the device,
An acquisition step of acquiring transmission information including time information indicating the time measured by the external device and accuracy information indicating the accuracy of the time from the external device via the communication unit;
A selection step of selecting the transmission information satisfying a predetermined condition from the acquired transmission information based on the accuracy information included in the acquired transmission information;
Based on the time information included in the selected transmission information, a correction step for correcting the time counted by the own device;
A time correction method comprising:
(付記14)
外部装置と通信する通信部と、自装置の動作を制御する制御部と、を備える無線通信装置が実行する送信情報生成方法であって、
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成する生成ステップと、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信する送信ステップと、
を含み、
前記生成ステップにおいて、最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とする送信情報生成方法。
(Appendix 14)
A transmission information generation method executed by a wireless communication device including a communication unit that communicates with an external device and a control unit that controls the operation of the device,
A generation step of generating transmission information including time information indicating the time measured by the own device and accuracy information indicating the accuracy of the time;
A transmission step of periodically transmitting the generated transmission information to the external device via the communication unit;
Including
In the generation step, the time information is updated after elapse of a predetermined period from the start of transmission of the latest generated transmission information, and the transmission includes the updated time information and the accuracy information. Generating information,
A transmission information generation method characterized by the above.
(付記15)
外部装置と通信する通信部と、自装置の動作を制御する制御部と、を備えるコンピュータを、
前記外部装置から、前記外部装置が計時する時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を取得する取得手段、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択する選択手段、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する補正手段、
として機能させることを特徴とするプログラム。
(Appendix 15)
A computer comprising a communication unit that communicates with an external device, and a control unit that controls the operation of the device itself.
An acquisition means for acquiring transmission information including time information indicating the time measured by the external device and accuracy information indicating the accuracy of the time from the external device;
Selection means for selecting the transmission information satisfying a predetermined condition from the acquired transmission information based on the accuracy information included in the acquired transmission information;
Correction means for correcting the time counted by the own device based on the time information included in the selected transmission information;
A program characterized by functioning as
(付記16)
外部装置と通信する通信部と、自装置の動作を制御する制御部と、を備えるコンピュータを、
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成する生成手段、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信する送信手段、
として機能させ、
前記生成手段は、最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とするプログラム。
(Appendix 16)
A computer comprising a communication unit that communicates with an external device, and a control unit that controls the operation of the device itself.
Generating means for generating transmission information including time information indicating the time measured by the own device and accuracy information indicating the accuracy of the time;
Transmission means for periodically transmitting the generated transmission information to the external device via the communication unit;
Function as
The generation means updates the time information after a predetermined period of time has elapsed from the start of transmission of the latest generated transmission information, and includes the updated time information and the accuracy information. Generating information,
A program characterized by that.
1…無線通信システム、10,20…無線通信装置、100…スマートフォン、101…マイクロコンピュータ、102…ROM、103…通信部、104…アンテナ、105…電力供給部、106…表示部、107…表示ドライバ、108…操作受付部、109…振動子、110…CPU、111…RAM、112…発信回路、113…分周回路、114…計時回路、115…プログラム、121…生成部、122…送信部、200,200a…電子時計、201…マイクロコンピュータ、202…ROM、203…通信部、204…アンテナ、205…電力供給部、206…表示部、207…表示ドライバ、208…操作受付部、209…振動子、210…CPU、211…RAM、212…発信回路、213…分周回路、214…計時回路、215…プログラム、221…取得部、222,222a…選択部、223,223a…補正部
DESCRIPTION OF
Claims (16)
自装置の動作を制御する制御部と、を備え、
前記制御部は、
前記外部装置から、前記外部装置が計時する時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を前記通信部を介して取得し、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択し、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する、
ことを特徴とする無線通信装置。 A communication unit that communicates with an external device;
A control unit that controls the operation of the device itself,
The controller is
From the external device, acquisition of transmission information including time information timed by the external device and accuracy information indicating the accuracy of the time, via the communication unit,
Based on the accuracy information included in the acquired transmission information, the transmission information satisfying a predetermined condition is selected from the acquired transmission information,
Based on the time information included in the selected transmission information, correct the time counted by the device itself,
A wireless communication apparatus.
前記制御部は、前記取得された前記送信情報のうち、予め定められた前記識別情報を含む前記送信情報に含まれる前記確度情報に基づいて、前記送信情報を選択する、
ことを特徴とする請求項1に記載の無線通信装置。 The transmission information further includes identification information for identifying the external device that is a transmission source of the transmission information,
The control unit selects the transmission information based on the accuracy information included in the transmission information including the predetermined identification information among the acquired transmission information.
The wireless communication apparatus according to claim 1.
ことを特徴とする請求項2に記載の無線通信装置。 The control unit selects the transmission information whose accuracy represented by the accuracy information included in the transmission information including the predetermined identification information is a predetermined threshold value or more.
The wireless communication apparatus according to claim 2.
前記取得された前記送信情報に含まれる前記確度情報が表す確度が所定の閾値以上である前記送信情報をn個(nは自然数)以上受信したとき、前記n個の前記送信情報のうち、前記送信情報に含まれる前記確度情報が表す確度が高い順にm個(mは自然数かつm≦n)の前記送信情報を選択する、
ことを特徴とする請求項1に記載の無線通信装置。 The controller is
When the transmission information whose accuracy represented by the accuracy information included in the acquired transmission information is greater than or equal to a predetermined threshold (n is a natural number) or more, the transmission information among the n transmission information Selecting m pieces of transmission information (m is a natural number and m ≦ n) in descending order of the accuracy represented by the accuracy information included in the transmission information;
The wireless communication apparatus according to claim 1.
ことを特徴とする請求項1乃至4のいずれか1項に記載の無線通信装置。 The control unit weights the time represented by the time information included in the selected transmission information based on the accuracy represented by the accuracy information included in the selected transmission information, Correct the time counted by the device itself,
The wireless communication device according to claim 1, wherein the wireless communication device is a wireless communication device.
ことを特徴とする請求項1乃至5のいずれか1項に記載の無線通信装置。 The control unit weights the time indicated by the time information included in the selected transmission information based on the received radio wave intensity of the selected transmission information, so that the own device measures time. Correct the time to
The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus is a wireless communication apparatus.
ことを特徴とする請求項1乃至6のいずれか1項に記載の無線通信装置。 The accuracy information represents an elapsed time since the latest correction of the time counted by the external device,
The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus is a wireless communication apparatus.
ことを特徴とする請求項1乃至6のいずれか1項に記載の無線通信装置。 The accuracy information represents the reliability of the time source referred to when the external device corrects the time counted by the external device.
The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus is a wireless communication apparatus.
ことを特徴とする請求項1乃至8のいずれか1項に記載の無線通信装置。 The control unit retains second accuracy information representing an elapsed time since the latest correction of time, and based on the accuracy information and the second accuracy information included in the transmission information To correct the time when
The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus is a wireless communication apparatus.
前記制御部は、前記送信情報に含まれる前記確度情報と前記歩度情報とに基づいて自装置が計時する時刻を補正する、
ことを特徴とする請求項1乃至8のいずれか1項に記載の無線通信装置。 The transmission information further includes rate information representing an error of a certain period that occurs at a time measured by the external device,
The control unit corrects the time measured by the own device based on the accuracy information and the rate information included in the transmission information.
The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus is a wireless communication apparatus.
自装置の動作を制御する制御部を備え、
前記制御部は、
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成し、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信し、
最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とする無線通信装置。 A communication unit that communicates with an external device;
It has a control unit that controls the operation of its own device,
The controller is
Generate transmission information including time information representing the time measured by the own device and accuracy information representing the accuracy of the time,
Periodically transmitting the generated transmission information to the external device via the communication unit;
Updating the time information after elapse of a predetermined period from the start of transmission of the latest generated transmission information, and generating the transmission information including the updated time information and the accuracy information;
A wireless communication apparatus.
時刻を表示する表示部と、
を備えることを特徴とする電子時計。 A wireless communication device according to any one of claims 1 to 11,
A display for displaying the time,
An electronic timepiece characterized by comprising:
前記外部装置から、前記外部装置が計時する時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を前記通信部を介して取得する取得ステップと、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択する選択ステップと、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する補正ステップと、
を含むことを特徴とする時刻補正方法。 A time correction method executed by a wireless communication device comprising a communication unit that communicates with an external device and a control unit that controls the operation of the device,
An acquisition step of acquiring transmission information including time information indicating the time measured by the external device and accuracy information indicating the accuracy of the time from the external device via the communication unit;
A selection step of selecting the transmission information satisfying a predetermined condition from the acquired transmission information based on the accuracy information included in the acquired transmission information;
Based on the time information included in the selected transmission information, a correction step for correcting the time counted by the own device;
A time correction method comprising:
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成する生成ステップと、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信する送信ステップと、
を含み、
前記生成ステップにおいて、最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とする送信情報生成方法。 A transmission information generation method executed by a wireless communication device including a communication unit that communicates with an external device and a control unit that controls the operation of the device,
A generation step of generating transmission information including time information indicating the time measured by the own device and accuracy information indicating the accuracy of the time;
A transmission step of periodically transmitting the generated transmission information to the external device via the communication unit;
Including
In the generation step, the time information is updated after elapse of a predetermined period from the start of transmission of the latest generated transmission information, and the transmission includes the updated time information and the accuracy information. Generating information,
A transmission information generation method characterized by the above.
前記外部装置から、前記外部装置が計時する時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を取得する取得手段、
前記取得された前記送信情報に含まれる前記確度情報に基づいて、前記取得された前記送信情報のうち、所定の条件を満たす前記送信情報を選択する選択手段、
前記選択された前記送信情報に含まれる前記時刻情報に基づいて、自装置が計時する時刻を補正する補正手段、
として機能させることを特徴とするプログラム。 A computer comprising a communication unit that communicates with an external device, and a control unit that controls the operation of the device itself.
An acquisition means for acquiring transmission information including time information indicating the time measured by the external device and accuracy information indicating the accuracy of the time from the external device;
Selection means for selecting the transmission information satisfying a predetermined condition from the acquired transmission information based on the accuracy information included in the acquired transmission information;
Correction means for correcting the time counted by the own device based on the time information included in the selected transmission information;
A program characterized by functioning as
自装置が計時した時刻を表す時刻情報と、前記時刻の確度を表す確度情報と、を含む送信情報を生成する生成手段、
前記生成された送信情報を前記通信部を介して前記外部装置に定期的に送信する送信手段、
として機能させ、
前記生成手段は、最新の前記生成された前記送信情報の送信を開始してから所定期間経過後に、前記時刻情報を更新し、更新された前記時刻情報と、前記確度情報と、を含む前記送信情報を生成する、
ことを特徴とするプログラム。 A computer comprising a communication unit that communicates with an external device, and a control unit that controls the operation of the device itself.
Generating means for generating transmission information including time information indicating the time measured by the own device and accuracy information indicating the accuracy of the time;
Transmission means for periodically transmitting the generated transmission information to the external device via the communication unit;
Function as
The generation means updates the time information after a predetermined period of time has elapsed from the start of transmission of the latest generated transmission information, and includes the updated time information and the accuracy information. Generating information,
A program characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182912A JP2018048829A (en) | 2016-09-20 | 2016-09-20 | Radio communication device, electronic watch, time correction method, transmission information generation method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182912A JP2018048829A (en) | 2016-09-20 | 2016-09-20 | Radio communication device, electronic watch, time correction method, transmission information generation method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018048829A true JP2018048829A (en) | 2018-03-29 |
Family
ID=61767425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016182912A Pending JP2018048829A (en) | 2016-09-20 | 2016-09-20 | Radio communication device, electronic watch, time correction method, transmission information generation method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018048829A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021081377A (en) * | 2019-11-22 | 2021-05-27 | セイコーエプソン株式会社 | Time correction method and time correction system |
-
2016
- 2016-09-20 JP JP2016182912A patent/JP2018048829A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021081377A (en) * | 2019-11-22 | 2021-05-27 | セイコーエプソン株式会社 | Time correction method and time correction system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2018100912A (en) | Electronic timepiece, time acquisition control method and program | |
JP6451666B2 (en) | Communication device, electronic timepiece, communication method, and program | |
JP6428754B2 (en) | Electronic timepiece, position information acquisition control method, and program | |
JP2016024018A (en) | Electronic timepiece | |
JP2017015399A (en) | Electronic watch, and program | |
CN110996383B (en) | Wireless communication device, electronic timepiece, transmission power control method, and storage medium | |
JP2019168372A (en) | Electronic clock and method for acquiring information | |
JP2018048829A (en) | Radio communication device, electronic watch, time correction method, transmission information generation method, and program | |
JP2018124095A (en) | Watch and control method for watch | |
CN109618396B (en) | Wireless communication device, electronic timepiece, wireless communication method, and storage medium | |
JP6984245B2 (en) | Electronic clock, processing selection method, and program | |
JP6834283B2 (en) | Wireless communication device, electronic clock, wireless communication method, time change method, and program | |
JP6919305B2 (en) | Communication device, electronic clock, time change method, notification signal generation method, and program | |
JP6855723B2 (en) | Communication device, electronic clock, time change method, connection request generation method, and program | |
JP6798470B2 (en) | Electronic clocks, display control methods, and programs | |
JP6658611B2 (en) | Electronic clock, information acquisition control method, and program | |
JP6825525B2 (en) | Electronic clocks, control methods and programs | |
JP7276409B2 (en) | ELECTRONIC DEVICE, DISPLAY METHOD, AND PROGRAM | |
JP6841106B2 (en) | Wireless communication devices, electronic clocks, wireless communication methods, and programs | |
JP6953956B2 (en) | Wireless communication device, electronic clock, display format determination method, and program | |
JP2018044931A (en) | Radio communication device, electronic timepiece, time change method, time information providing method, and program | |
JP2018157341A (en) | Radio communication method, radio communication device, electronic watch, and program | |
JP2019007894A (en) | Electronic clock, time correction method and program | |
JP2021039120A (en) | Electronic time piece, display control method, and program | |
JP2019086387A (en) | Display, electronic clock, display method, and program |