[go: up one dir, main page]

JP2019207213A - Clocking device, clocking system, and clocking method - Google Patents

Clocking device, clocking system, and clocking method Download PDF

Info

Publication number
JP2019207213A
JP2019207213A JP2018104084A JP2018104084A JP2019207213A JP 2019207213 A JP2019207213 A JP 2019207213A JP 2018104084 A JP2018104084 A JP 2018104084A JP 2018104084 A JP2018104084 A JP 2018104084A JP 2019207213 A JP2019207213 A JP 2019207213A
Authority
JP
Japan
Prior art keywords
time
reception
unit
timing
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018104084A
Other languages
Japanese (ja)
Other versions
JP7089945B2 (en
Inventor
今村 美由紀
Miyuki Imamura
美由紀 今村
則充 細貝
Norimitsu Hosogai
則充 細貝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Time Creation Inc
Original Assignee
Seiko Clock Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Clock Inc filed Critical Seiko Clock Inc
Priority to JP2018104084A priority Critical patent/JP7089945B2/en
Priority to CN201910149664.7A priority patent/CN110557240A/en
Publication of JP2019207213A publication Critical patent/JP2019207213A/en
Application granted granted Critical
Publication of JP7089945B2 publication Critical patent/JP7089945B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/26Setting the time according to the time information carried or implied by the radio signal the radio signal being a near-field communication signal
    • G04R20/28Tuning or receiving; Circuits therefor
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/26Setting the time according to the time information carried or implied by the radio signal the radio signal being a near-field communication signal
    • G04R20/30Decoding time data; Circuits therefor
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R40/00Correcting the clock frequency
    • G04R40/06Correcting the clock frequency by computing the time value implied by the radio signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Electric Clocks (AREA)

Abstract

【課題】時刻同期に失敗することを減らすことができる計時装置、計時システム、及び計時方法を提供する。【解決手段】計時装置は、計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信部と、所定の受信間隔に基づいて、受信部による前記基準時刻信号の受信タイミングを制御する受信タイミング制御部204と、受信部が基準時刻信号を最後に受信してからの経過時間を計測する経過時間計測部205と、経過時間計測部205によって計測された経過時間が所定の時間以上である場合に、受信間隔をより短い間隔に変更する受信間隔変更部206と、受信部が受信した基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正部201と、修正部201が修正した計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信部と、を備える。【選択図】図6PROBLEM TO BE SOLVED: To provide a time measuring device, a time measuring system, and a time measuring method capable of reducing failure in time synchronization. A time measuring device controls a reception section that receives a reference time signal including reference time information indicating a reference time of time measurement, and a reception timing of the reference time signal by the reception section based on a predetermined reception interval. The reception timing control unit 204, the elapsed time measurement unit 205 that measures the elapsed time since the reception unit last received the reference time signal, and the elapsed time measured by the elapsed time measurement unit 205 is a predetermined time or more. In some cases, the reception interval changing unit 206 that changes the reception interval to a shorter interval, the correction unit 201 that corrects the clock data indicating the current time based on the reference time signal received by the reception unit, and the correction unit 201. And a transmitter for transmitting a correction time signal including correction time information indicating the corrected time data to another time measuring device. [Selection diagram] Fig. 6

Description

本発明は、計時装置、計時システム、及び計時方法に関する。   The present invention relates to a timing device, a timing system, and a timing method.

複数の計時装置を配置し、親機である計時装置から子機である計時装置へと時刻情報を送信し、子機である計時装置の時刻修正を行なうことが可能な計時システムが知られている。そのような計時システムでは、無線通信を用いてネットワークを構築することが行われる。   There is known a time measuring system in which a plurality of time measuring devices are arranged, time information is transmitted from a time measuring device as a parent device to a time measuring device as a child device, and the time of the time measuring device as a child device can be corrected. Yes. In such a timekeeping system, a network is constructed using wireless communication.

無線通信を用いてネットワークを構築する場合、Wi−Fi(登録商標)などの様に互いのIPアドレスを識別する方法や、Bluetooth(登録商標)などの近距離無線通信を用いた双方向通信によってペアリングする方法が用いられる。そのような方法では、制御が複雑になると共にユーザの手間がかかっていた。
また、ビーエルイー(Bluetooth(登録商標) Low Energy:BLE)を用いてメッシュ型のネットワークを形成する場合は、全ての端末がノードを形成する複数の計時装置から時刻情報を受信する必要がある。そのため、メッシュ型のネットワークでは、送受信のタイミング制御が複雑になると共に多くの消費電力を必要としていた。
When constructing a network using wireless communication, a method of identifying each other's IP address, such as Wi-Fi (registered trademark), or two-way communication using short-range wireless communication, such as Bluetooth (registered trademark). A pairing method is used. In such a method, the control is complicated and it takes time and effort for the user.
Further, when forming a mesh type network using Bluetooth (registered trademark) Low Energy (BLE), it is necessary for all terminals to receive time information from a plurality of time measuring devices forming nodes. Therefore, in the mesh type network, transmission / reception timing control is complicated, and much power consumption is required.

複数の計時装置を階層化して、上位階層の計時装置から一段下位階層の計時装置へ順次リレー式に時刻情報を送信して、各階層の計時装置の時刻修正を行なうことが可能な計時システムが知られている。このような計時システムでは、一方向通信により、時刻情報を上位階層の計時装置である親機から下位階層の計時装置である子機に伝えるものである。この一方向通信には、例えば、近距離無線通信が用いられる。子機は、送信データに時刻情報とともに含まれる送信タイミング情報を参照して、親機から以降において送信データを受信するための自動受信タイミングを決定する。
このような計時システムでは、計時装置同士をペアリングする双方向通信に比べて容易にネットワークの構築が可能である。例えば、計時装置同士の間に適切なリンク関係を自動的に構築可能な計時装置が知られている(特許文献1)。
A clocking system capable of correcting time of each timekeeping device by layering a plurality of timekeeping devices and sequentially transmitting time information from a timekeeping device in an upper hierarchy to a timekeeping device in a lower hierarchy in a relay manner. Are known. In such a timekeeping system, time information is transmitted from a parent device, which is a higher-level timing device, to a child device, which is a lower-level timing device, by one-way communication. For example, near field communication is used for the one-way communication. The slave unit refers to transmission timing information included in the transmission data together with time information, and determines automatic reception timing for receiving transmission data from the master unit thereafter.
In such a timekeeping system, a network can be easily constructed as compared with bidirectional communication in which timekeeping devices are paired. For example, a timing device that can automatically construct an appropriate link relationship between timing devices is known (Patent Document 1).

特開2005−257484号公報JP 2005-257484 A

親機が近距離無線通信を用いてスマートフォンと接続して時刻情報を取得する場合、受信する頻度が低いと、ユーザが帰宅してから親機の時刻が合うまでに時間が掛かるという課題がある。つまり、時刻同期に失敗してしまう場合があった。   When the parent device connects to a smartphone using short-range wireless communication to acquire time information, there is a problem that if the frequency of reception is low, it takes time until the time of the parent device matches after the user returns home . That is, time synchronization may fail.

本発明は上記の点に鑑みてなされたものであり、時刻同期に失敗することを減らすことができる計時装置、計時システム、及び計時方法を提供する。   The present invention has been made in view of the above points, and provides a timing device, a timing system, and a timing method that can reduce the failure of time synchronization.

本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信部と、所定の受信間隔に基づいて、前記受信部による前記基準時刻信号の受信タイミングを制御する受信タイミング制御部と、前記受信部が前記基準時刻信号を最後に受信してからの経過時間を計測する経過時間計測部と、前記経過時間計測部によって計測された前記経過時間が所定の時間以上である場合に、前記受信間隔をより短い間隔に変更する受信間隔変更部と、前記受信部が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正部と、前記修正部が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信部と、を備える計時装置である。   The present invention has been made to solve the above problems, and one aspect of the present invention includes a receiving unit that receives a reference time signal including reference time information indicating a reference time for timekeeping, and a predetermined reception interval. Based on a reception timing control unit that controls the reception timing of the reference time signal by the reception unit, an elapsed time measurement unit that measures an elapsed time since the reception unit last received the reference time signal, When the elapsed time measured by the elapsed time measuring unit is a predetermined time or more, based on the reception interval changing unit that changes the reception interval to a shorter interval and the reference time signal received by the receiving unit A correction unit that corrects timing data indicating the current time, and a transmission unit that transmits a correction time signal including correction time information indicating the timing data corrected by the correction unit to another timing device. It is a obtain timing device.

また、本発明の一態様は、上記の計時装置において、前記受信間隔変更部は、前記受信間隔をより短い間隔に変更した後に前記受信部が前記基準時刻信号を受信した場合、前記短い間隔に変更した前記受信間隔をより長い間隔に変更する。   Further, according to one aspect of the present invention, in the above timing device, the reception interval changing unit may change the reception interval to a shorter interval when the reception unit receives the reference time signal after changing the reception interval to a shorter interval. The changed reception interval is changed to a longer interval.

また、本発明の一態様は、上記の計時装置と、前記計時装置から前記修正時刻信号を受信し、受信した前記修正時刻信号に含まれる前記修正時刻情報に基づいて自装置の前記計時データを修正する子計時装置とを備える計時システムである。   Also, one aspect of the present invention is the above clocking device, the correction time signal is received from the clocking device, and the clock data of the own device is obtained based on the correction time information included in the received correction time signal. A timekeeping system including a child timekeeping device to be corrected.

また、本発明の一態様は、計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信過程と、所定の受信間隔に基づいて、前記受信過程による前記基準時刻信号の受信タイミングを制御する受信タイミング制御過程と、前記受信過程において前記基準時刻信号が最後に受信されてからの経過時間を計測する経過時間計測過程と、前記経過時間計測過程によって計測された前記経過時間が所定の時間以上である場合に、前記受信間隔をより短い間隔に変更する受信間隔変更過程と、前記受信過程が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正過程と、前記修正過程が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信過程と、を有する計時方法である。   Further, according to one aspect of the present invention, a reception process of receiving a reference time signal including reference time information indicating a reference time of timekeeping, and a reception timing of the reference time signal by the reception process based on a predetermined reception interval. A reception timing control process for controlling, an elapsed time measurement process for measuring an elapsed time since the reference time signal was last received in the reception process, and an elapsed time measured by the elapsed time measurement process are predetermined. A reception interval changing process for changing the reception interval to a shorter interval when it is more than time; a correction process for correcting time measurement data indicating the current time based on the reference time signal received by the reception process; A transmission step of transmitting a correction time signal including correction time information indicating the time measurement data corrected by the correction step to another timing device. .

本発明によれば、時刻同期に失敗することを減らすことができる。   According to the present invention, failure in time synchronization can be reduced.

本発明の第1の実施形態に係る計時システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the time measuring system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るスマートフォンのペアリングのための画面の一例を示す図である。It is a figure which shows an example of the screen for pairing of the smart phone which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る修正時刻情報及び通信チャネルの一例を示す図である。It is a figure which shows an example of the correction time information and communication channel which concern on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る計時装置の構成の一例を示す図である。It is a figure which shows an example of a structure of the time measuring device which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る表示装置の表示パネルPの表示の一例を示す図である。It is a figure which shows an example of the display of the display panel P of the display apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る制御部の構成の一例を示す図である。It is a figure which shows an example of a structure of the control part which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る時刻情報受信のための前処理の一例を示す図である。It is a figure which shows an example of the pre-processing for the time information reception which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る親機モード近距離通信処理の一例を示す図である。It is a figure which shows an example of the main | base station mode short-distance communication process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る基準時刻信号を受信するタイミングチャートの第1の例を示す図である。It is a figure which shows the 1st example of the timing chart which receives the reference | standard time signal which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る基準時刻信号を受信するタイミングチャートの第2の例を示す図である。It is a figure which shows the 2nd example of the timing chart which receives the reference | standard time signal which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る子機モードにおける近距離受信処理の一例を示す図である。It is a figure which shows an example of the short distance reception process in the subunit | mobile_unit mode which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る修正時刻信号送信処理の一例を示す図である。It is a figure which shows an example of the correction time signal transmission process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る子機モードにおける通常時の時刻修正のための処理の一例を示す図である。It is a figure which shows an example of the process for the time correction at the normal time in the subunit | mobile_unit mode which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る通常時の計時処理の一例を示す図である。It is a figure which shows an example of the time measuring process of the normal time which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る制御部の構成の一例を示す図である。It is a figure which shows an example of a structure of the control part which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る親機モード近距離通信処理の一例を示す図である。It is a figure which shows an example of the main | base station mode short-distance communication process which concerns on the 2nd Embodiment of this invention.

(第1の実施形態)
以下、図面を参照しながら本発明の実施形態について詳しく説明する。図1は、本実施形態に係る計時システムSの構成の一例を示す図である。計時システムSでは、複数の計時装置C1〜C6を備え、それら計時装置C1〜C6がツリー型のネットワークを構成している。
以下では、計時装置C1〜C6のうちの1つを計時装置Cと呼ぶことがある。
(First embodiment)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram illustrating an example of a configuration of a timing system S according to the present embodiment. The timing system S includes a plurality of timing devices C1 to C6, and the timing devices C1 to C6 constitute a tree-type network.
Hereinafter, one of the timing devices C1 to C6 may be referred to as a timing device C.

このネットワークにはレイヤにより示される階層があり、最上位レイヤの計時装置Cが時刻情報を取得して、上位レイヤの計時装置Cから下位レイヤの計時装置Cへと時刻情報が順次送信される。ここで最上位レイヤの計時装置Cが取得する時刻情報とは、スマートフォンSMから受信する受信信号に含まれる基準となる時刻を示す情報である。各レイヤの計時装置Cは、上位レイヤの計時装置Cから時刻情報を受信すると、自装置の時刻を修正する。これにより、計時システムSを構成する計時装置C1〜C6は正確な時刻を維持する。   In this network, there is a hierarchy indicated by layers. The clock device C in the highest layer acquires time information, and the time information is sequentially transmitted from the clock device C in the upper layer to the clock device C in the lower layer. Here, the time information acquired by the timing device C in the highest layer is information indicating a reference time included in the received signal received from the smartphone SM. When the time measuring device C of each layer receives the time information from the time measuring device C of the higher layer, the time measuring device C of the own layer corrects the time of its own device. Thereby, the time measuring devices C1 to C6 constituting the time measuring system S maintain accurate time.

計時システムSに備えられる計時装置C1〜C6とは、例えば、住宅やオフィスビルや工場などに設置される電波時計である。電波時計では、設置場所によっては、スマートフォンSMから受信信号を受信できない場合がある。
そのため計時システムSでは、計時装置C1〜C6は、スマートフォンSMから基準時刻信号を受信する親機と、親機から修正時刻信号を受信する子機とに分けられる。ここで基準時刻信号とは、計時の基準時刻を示す基準時刻情報を含む信号である。また、修正時刻信号とは、時刻修正のための時刻情報である修正時刻情報Mを含む信号である。
The timing devices C1 to C6 provided in the timing system S are, for example, radio timepieces installed in a house, an office building, a factory, or the like. In the radio timepiece, there is a case where the reception signal cannot be received from the smartphone SM depending on the installation location.
Therefore, in the timing system S, the timing devices C1 to C6 are divided into a parent device that receives a reference time signal from the smartphone SM and a child device that receives a correction time signal from the parent device. Here, the reference time signal is a signal including reference time information indicating a reference time for timekeeping. The correction time signal is a signal including correction time information M that is time information for time correction.

親機となる計時装置C1は、スマートフォンSMから受信信号を受信しやすい場所に設置されることが好ましい。ここでスマートフォンSMから受信信号を受信しやすい場所は、ユーザの生活パターンによって異なるが、ユーザがスマートフォンSMを充電する場所や、スマートフォンSMを携帯したまま居続ける時間が長い場所である。一方、子機となる計時装置C2及び計時装置C3は、親機である計時装置C1から修正時刻信号を受信することができる場所に設置される。子機となる計時装置C2及び計時装置C3は、親機である計時装置C1から修正時刻信号を受信できれば、例えば、建物の奥側に設置されてよい。
計時システムSにおいて計時装置Cが親機と子機とのいずれとして機能するかはユーザにより設定される。
It is preferable that the timing device C1 serving as the parent device is installed in a place where a reception signal is easily received from the smartphone SM. Here, the place where the reception signal is easily received from the smartphone SM differs depending on the life pattern of the user, but is a place where the user charges the smartphone SM or a place where the smartphone SM is carried for a long time. On the other hand, the timekeeping device C2 and the timekeeping device C3 that are slave units are installed in a place where the correction time signal can be received from the timekeeping device C1 that is the parent device. The timing device C2 and the timing device C3 that are slave units may be installed on the back side of a building, for example, as long as they can receive the correction time signal from the timing device C1 that is the master unit.
In the timing system S, the user sets whether the timing device C functions as a parent device or a child device.

親機モードでリセットすると、計時装置C1はアドバタイジングを開始する。計時装置C1は、アドバタイジングの動作においてアドバタイズメントパケットをスマートフォンSMに送信する。   When reset in the master mode, the timing device C1 starts advertising. The timing device C1 transmits an advertisement packet to the smartphone SM in the advertising operation.

スマートフォンSMには専用のアプリケーションがインストールされている。スマートフォンSMは、アプリケーションを起動した状態において、計時装置C1からアドバタイズメントパケットを受信すると、画面にペアリング開始画面PI1を表示する。
図2は、スマートフォンSMのペアリングのための画面の一例を示す図である。ペアリング開始画面PI1において、計時装置C1とペアリング可能である旨のメッセージ、およびペアリングボタンPB1が表示される。ここでペアリングボタンPB1がタップされると、スマートフォンSMは、計時装置C1と接続してペアリングすると共にタイムプロファイルを用いて時刻情報を計時装置C1へ送信する。スマートフォンSMは、計時装置C1と接続してペアリングすると、画面にペアリング完了画面PI2を表示し、ペアリング完了画面PI2においてペアリングが完了したことを示すメッセージを表示する。
以降、親機は3時間毎など定期的にアドバタイジングを行いスマートフォンSMとの接続を試み、スマートフォンSMが接続圏内であった場合にはスマートフォンSMと接続して時刻情報を取得する。
A dedicated application is installed in the smartphone SM. When the smartphone SM receives the advertisement packet from the timing device C1 in a state where the application is activated, the smartphone SM displays the pairing start screen PI1 on the screen.
FIG. 2 is a diagram illustrating an example of a screen for pairing the smartphone SM. On the pairing start screen PI1, a message indicating that pairing with the timing device C1 is possible and a pairing button PB1 are displayed. Here, when the pairing button PB1 is tapped, the smartphone SM is connected to the timing device C1 for pairing and transmits time information to the timing device C1 using the time profile. When the smartphone SM is connected and paired with the timing device C1, the smartphone SM displays a pairing completion screen PI2 on the screen, and displays a message indicating that the pairing is completed on the pairing completion screen PI2.
Thereafter, the parent device periodically advertises every three hours and tries to connect to the smartphone SM, and if the smartphone SM is within the connection range, it connects to the smartphone SM and acquires time information.

図1においては、親機は計時装置C1のみであるが、複数の親機が接続圏内である場合、スマートフォンSMは複数の親機とペアリング可能である。複数の親機がリセットされた場合、スマートフォンSMは、図2のペアリングボタンPB1がタップされることにより複数の親機とペアリングされる。   In FIG. 1, the parent device is only the timing device C1, but when a plurality of parent devices are within the connection range, the smartphone SM can be paired with the plurality of parent devices. When a plurality of parent devices are reset, the smartphone SM is paired with the plurality of parent devices by tapping the pairing button PB1 in FIG.

ここでユーザが外出や旅行などに出かけて、所定時間(例えば3時間)スマートフォンと接続できない状態が続くと、親機はアドバタイジングの間隔を所定時間から3時間から10分間に変更する。その後ユーザが帰宅してスマートフォンSMが接続圏内になれば、最大でも10分以内にスマートフォンSMと時刻同期して計時装置C1の時刻は修正される。計時装置C1は、時刻同期後は再び3時間毎にアドバタイジングを行う。
アドバタイズメントパケットの送信動作は非常に短時間で行われるため、10分間隔でアドバタイジングを行っても計時装置C1の電池の寿命に大きく影響する事は無い。
Here, if the user goes out or travels and continues to be unable to connect to the smartphone for a predetermined time (for example, 3 hours), the parent device changes the advertising interval from the predetermined time to 3 hours to 10 minutes. After that, when the user returns home and the smartphone SM is within the connection range, the time of the time measuring device C1 is corrected in time synchronization with the smartphone SM within 10 minutes at the maximum. The timing device C1 advertises again every 3 hours after time synchronization.
Since the transmission operation of the advertisement packet is performed in a very short time, even if advertising is performed at intervals of 10 minutes, the battery life of the time measuring device C1 is not greatly affected.

計時システムSでは、計時装置Cは、上位レイヤの計時装置Cから修正された時刻を示す受信信号を受信すると、以降も所定の受信タイミングにおいて、この上位レイヤの計時装置Cから受信信号を受信する。   In the timing system S, when the timing device C receives the received signal indicating the corrected time from the upper layer timing device C, the timing device C receives the received signal from the upper layer timing device C at a predetermined reception timing thereafter. .

計時システムSでは、送信時は近距離無線通信における一方向通信を用いている。この近距離無線通信とは、一例としてビーエルイー(Bluetooth(登録商標) Low Energy:BLE)である。送信データにはネットワークの階層を示すレイヤ情報が含まれる。計時装置C2〜C6は、初期受信時に受信したレイヤの値に1を加えて自装置のレイヤとする。計時装置C2〜C6は、以降、自装置のレイヤの値より1小さいレイヤの値を有する送信データのみを取得し、ツリー型のネットワークが構築される。   In the timekeeping system S, one-way communication in near field communication is used at the time of transmission. This short-range wireless communication is, for example, Bluetooth (registered trademark) Low Energy (BLE). The transmission data includes layer information indicating the network hierarchy. The timing devices C2 to C6 add 1 to the value of the layer received at the time of initial reception to make the layer of its own device. Thereafter, the timing devices C2 to C6 acquire only transmission data having a layer value smaller than the layer value of the own device, and a tree-type network is constructed.

計時システムSでは、一方向通信を用いることにより近距離通信におけるペアリングや、一般的なネットワークにおけるIPアドレス設定などの手間を省き、それらに比べて容易に親子時計システムを実現できる。   In the timekeeping system S, by using one-way communication, troubles such as pairing in short-distance communication and IP address setting in a general network can be saved, and a parent-child clock system can be easily realized as compared with them.

親機である計時装置C1は、近距離無線通信によりスマートフォンSMから時刻情報を取得する。ここで近距離無線通信とは、一例としてBLEである。   The time measuring device C1, which is the parent device, acquires time information from the smartphone SM by short-range wireless communication. Here, short-range wireless communication is BLE as an example.

計時装置C1は、取得した時刻情報に基づいて、自装置の計時データを修正する。計時装置C1は、修正した計時データに基づき修正時刻情報Mを生成する。計時装置C1は、生成した修正時刻情報Mを含む修正時刻信号を、下位レイヤの計時装置C2及び計時装置C3に送信チャネル0により送信する。   The timing device C1 corrects the timing data of the own device based on the acquired time information. The timing device C1 generates corrected time information M based on the corrected timing data. The timing device C1 transmits a correction time signal including the generated correction time information M to the lower layer timing device C2 and the timing device C3 through the transmission channel 0.

ここで図3を参照し、修正時刻情報M及び通信チャネルについて説明する。
図3は、本実施形態に係る修正時刻情報M及び通信チャネルの一例を示す図である。修正時刻情報Mは、レイヤ情報M1、送信チャネル情報M2、時刻情報M3、時刻情報源M4、及びカレンダー情報M5を含む。
Here, with reference to FIG. 3, the correction time information M and the communication channel will be described.
FIG. 3 is a diagram illustrating an example of the correction time information M and the communication channel according to the present embodiment. The correction time information M includes layer information M1, transmission channel information M2, time information M3, time information source M4, and calendar information M5.

レイヤ情報M1は、修正時刻信号を送信した計時装置Cが位置するレイヤを特定するための情報である。レイヤ情報M1は、例えば、0〜99の範囲をとる。   The layer information M1 is information for specifying the layer where the timing device C that has transmitted the correction time signal is located. The layer information M1 has a range of 0 to 99, for example.

送信チャネル情報M2は、修正時刻信号が送信される通信チャネルを特定する情報である。通信チャネルが、例えば、60チャネル用意されている場合には、送信チャネル情報M2には、例えば、0〜59の値のうち通信チャネルに対応するものが設定される。   The transmission channel information M2 is information for specifying a communication channel through which the correction time signal is transmitted. For example, when 60 communication channels are prepared, the transmission channel information M2 is set to, for example, a value corresponding to the communication channel from 0 to 59.

時刻情報M3は、年・月・日・時・分・秒・曜日等の時刻を示す情報である。
時刻情報源M4は、時刻情報M3がどの情報源に基づいて修正されたのかを示す情報である。時刻情報源M4は、スマートフォン、及び手動調整時の別を示す情報である。
カレンダー情報M5は、カレンダーを示す情報である。
The time information M3 is information indicating time such as year, month, date, hour, minute, second, day of the week, and the like.
The time information source M4 is information indicating on which information source the time information M3 is corrected. The time information source M4 is information indicating a smartphone and another at the time of manual adjustment.
The calendar information M5 is information indicating a calendar.

図1に戻り、計時システムSの説明を続ける。
計時システムSでは、混信を防ぐために10秒毎のタイムスロットTSを設けてレイヤ、及び送信CHから修正時刻信号の送信タイミングを決定し、複数の送信装置間において送信タイミングが重なることを防いでいる。ここで送信CHは、周波数ではなく時分割したタイムスロットを意味し、番号0〜59からランダムに設定される。送信タイミングの一例は、式(1)により表される。
Returning to FIG. 1, the description of the timing system S will be continued.
In the timekeeping system S, a time slot TS is provided every 10 seconds in order to prevent interference, and the transmission timing of the correction time signal is determined from the layer and the transmission CH to prevent the transmission timing from overlapping between a plurality of transmission apparatuses. . Here, the transmission CH means not a frequency but a time-slotted time slot, and is set at random from numbers 0 to 59. An example of the transmission timing is represented by Expression (1).

Figure 2019207213
Figure 2019207213

周波数ホッピングにより混信を防ぐBLEの双方向通信と異なり、BLEの一方向通信では、送信装置であるブロードキャスターが送信データであるアドバタイズメントパケットを送信する際は3つの周波数を順次切替えて送信するため、タイミングが重なると混信する可能性が高くなる。計時システムSでは、式(1)により送信タイミングが重なることを防いでいる。   Unlike BLE bidirectional communication, which prevents interference by frequency hopping, in BLE one-way communication, when a broadcaster as a transmission device transmits an advertisement packet as transmission data, three frequencies are sequentially switched and transmitted. If the timing overlaps, the possibility of interference will increase. In the timing system S, the transmission timing is prevented from overlapping by the equation (1).

さらに式(1)によれば、レイヤに比例して送信するタイミングが遅くなる。そのため、計時システムSでは、各計時装置Cは、必ず上位レイヤの計時装置Cから受信信号を受信した後に下位レイヤの計時装置Cに送信信号を送信する。したがって、計時システムSでは、精度の高い時刻情報を伝達可能である。   Furthermore, according to Expression (1), the transmission timing is delayed in proportion to the layer. Therefore, in the timing system S, each timing device C always transmits a transmission signal to the lower layer timing device C after receiving the received signal from the upper layer timing device C. Therefore, the timing system S can transmit highly accurate time information.

計時装置Cは、リセット後の初期受信において受信した受信信号に含まれる修正時刻情報Mに基づき自機の受信チャネルおよびレイヤを記憶し、上位レイヤの計時装置Cの送信タイミングに合わせて、以降上位レイヤの計時装置Cから受信信号を受信するためのスキャンを開始する所定のタイミングを算出する。   The timing device C stores its own reception channel and layer based on the correction time information M included in the received signal received in the initial reception after the reset, and the upper level is synchronized with the transmission timing of the higher-level timing device C. A predetermined timing for starting a scan for receiving a reception signal from the timing device C of the layer is calculated.

レイヤの値が1の計時装置C2は、レイヤの値が0の計時装置C1から修正時刻情報Mを受信する。計時装置C2は、修正時刻情報Mに含まれる時刻情報M3に基づいて自装置の計時データを修正する。計時装置C2は、修正した計時データに基づき修正時刻情報Mを生成する。計時装置C2は、生成した修正時刻情報Mを、レイヤの値が2の計時装置C4に送信する。ここで計時装置C2は、上位レイヤの計時装置C1が用いている送信チャネル0とは異なる送信チャネル3を送信に用いる。   The timing device C2 having a layer value of 1 receives the correction time information M from the timing device C1 having a layer value of 0. The timing device C2 corrects the timing data of the own device based on the time information M3 included in the correction time information M. The timing device C2 generates corrected time information M based on the corrected timing data. The timing device C2 transmits the generated correction time information M to the timing device C4 whose layer value is 2. Here, the timing device C2 uses a transmission channel 3 different from the transmission channel 0 used by the upper layer timing device C1 for transmission.

以下、同様にして、各レイヤの計時装置Cは、レイヤの値が1だけ小さいレイヤの計時装置Cから修正時刻信号を受信し、受信した修正時刻信号に含まれる修正時刻情報Mに基づいて自装置の計時データを修正する。ここで各レイヤの計時装置Cは、修正時刻情報Mに含まれる時刻情報M3に基づいて自装置の計時データを修正する。計時装置Cは、修正した計時データに基づき修正時刻情報Mを生成する。計時装置Cは、レイヤの値が1だけ小さい上位レイヤの計時装置Cが用いている送信チャネルとは異なる送信チャネルを用いて、生成した修正時刻情報Mを修正時刻信号に含めて、レイヤの値が1だけ大きい下位レイヤの計時装置Cに送信する。   In the same manner, the timing device C of each layer receives the correction time signal from the timing device C of the layer whose layer value is smaller by 1, and based on the correction time information M included in the received correction time signal. Correct the timing data of the device. Here, the timing device C of each layer corrects the timing data of the own device based on the time information M3 included in the correction time information M. The timing device C generates corrected time information M based on the corrected timing data. The timing device C uses the transmission channel different from the transmission channel used by the timing device C of the higher layer whose layer value is smaller by 1, and includes the generated correction time information M in the correction time signal, Is transmitted to the timing device C in the lower layer, which is larger by one.

なお、計時システムSには、計時装置C以外に、修正時刻情報Mを送信する機能を有しない計時装置も必要に応じて配置されてよい。   In addition to the timing device C, a timing device that does not have the function of transmitting the correction time information M may be arranged in the timing system S as necessary.

次に、図4を参照し、計時装置Cの構成について説明する。
図4は、本実施形態に係る計時装置Cの構成の一例を示す図である。計時装置Cは、電源回路2と、コネクタ3と、主装置4と、表示装置5とを備える。図4に示す構成は、スマートフォンSMと通信を行う最上位のレイヤ0の計時装置C1と、他のレイヤの計時装置C2〜C6とにおいて共通である。
Next, the configuration of the timing device C will be described with reference to FIG.
FIG. 4 is a diagram illustrating an example of the configuration of the timing device C according to the present embodiment. The timing device C includes a power supply circuit 2, a connector 3, a main device 4, and a display device 5. The configuration shown in FIG. 4 is common to the uppermost layer 0 timing device C1 that communicates with the smartphone SM and the other layer timing devices C2 to C6.

電源回路2は、AC(交流)アダプタ接続プラグ21と、バッテリ22とを備え、ACアダプタまたはバッテリ22からの直流電力を、コネクタ3を介して主装置4に供給する。   The power supply circuit 2 includes an AC (alternating current) adapter connection plug 21 and a battery 22, and supplies direct current power from the AC adapter or the battery 22 to the main device 4 via the connector 3.

表示装置5は、セグメント構成の表示パネルP(例えば、液晶表示パネル)を備え、時刻情報、電波送受信状況、等の情報を表示する。   The display device 5 includes a segment-structured display panel P (for example, a liquid crystal display panel), and displays information such as time information and radio wave transmission / reception status.

ここで図5を参照し、表示装置5の表示パネルPの表示について説明する。
図5は、本実施形態に係る表示装置5の表示パネルPの表示の一例を示す図である。表示パネルPは、午前表示セグメントP1、午後表示セグメントP2、TLマークセグメントP3、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、親機子機モードマークセグメントP8、BLEマークセグメントP10、アンテナマークセグメントP11、受信レベルセグメントP12、バッテリマークセグメントP13、月表示セグメントP14、日表示セグメントP15、曜日表示セグメントP16を備える。
Here, the display on the display panel P of the display device 5 will be described with reference to FIG.
FIG. 5 is a diagram illustrating an example of display on the display panel P of the display device 5 according to the present embodiment. The display panel P includes a morning display segment P1, an afternoon display segment P2, a TL mark segment P3, a time display segment P4, a separator segment P5, a minute display segment P6, a second display segment P7, a master unit mode mark segment P8, and a BLE mark. A segment P10, an antenna mark segment P11, a reception level segment P12, a battery mark segment P13, a month display segment P14, a day display segment P15, and a day display segment P16 are provided.

午前表示セグメントP1、及び午後表示セグメントP2は、時刻が12時間表示の場合に、午前と午後の別を表示する。
TLマークセグメントP3は、上位レイヤの計時装置Cから修正時刻信号を受信できていることなどを表示するための表示セグメントである。また、このTLマークセグメントP3の表示態様の切り替えにより、受信中であること、送信中であることなどを表示する。
時間表示セグメントP4と、区切りセグメントP5と、分表示セグメントP6と、秒表示セグメントP7とは、現在時刻を「時:分秒」の形式において表示する。
The morning display segment P1 and the afternoon display segment P2 display the distinction between morning and afternoon when the time is displayed for 12 hours.
The TL mark segment P3 is a display segment for displaying that a correction time signal has been received from the timing device C of the upper layer. Further, by switching the display mode of this TL mark segment P3, it is displayed that it is being received, is being transmitted, and the like.
The time display segment P4, the separator segment P5, the minute display segment P6, and the second display segment P7 display the current time in the format of “hour: minute second”.

親機子機モードマークセグメントP8は、計時装置Cが親機モードに設定されているか子機モードに設定されているかを表示する。計時装置Cが親機モードに設定されている場合、親機子機モードマークセグメントP8の「P」の文字が点灯する。一方、計時装置Cが子機モードに設定されている場合、親機子機モードマークセグメントP8の「C」の文字が点灯する。   The master unit mode mark segment P8 displays whether the timing device C is set to the master unit mode or the slave unit mode. When the timing device C is set to the master mode, the letter “P” in the master-slave mode mark segment P8 lights up. On the other hand, when the timing device C is set to the slave mode, the letter “C” in the master-slave mode mark segment P8 is lit.

BLEマークセグメントP10は、スマートフォンSMからBLEなどの近距離無線通信により時刻情報を受信しているか否かを表示する。
アンテナマークセグメントP11と受信レベルセグメントP12とは、受信電波の強度
を表示するためのセグメントである。
バッテリマークセグメントP13は、バッテリ22の電圧状態を表示するためのセグメントである。
月表示セグメントP14と、日表示セグメントP15と、曜日表示セグメントP16と
は、月日と曜日とを表示するためのセグメントである。
The BLE mark segment P10 displays whether time information is received from the smartphone SM by short-range wireless communication such as BLE.
The antenna mark segment P11 and the reception level segment P12 are segments for displaying the strength of the received radio wave.
The battery mark segment P13 is a segment for displaying the voltage state of the battery 22.
The month display segment P14, the day display segment P15, and the day of the week display segment P16 are segments for displaying the month, day, and day of the week.

図4に戻って、計時装置Cの構成の説明を続ける。
主装置4は、電圧デテクタ6と、レギュレータ7と、スイッチ群8と、近距離無線通信モジュール9と、通信モジュール水晶振動子10と、制御部水晶振動子11、制御部12とを備える。
Returning to FIG. 4, the description of the configuration of the timing device C will be continued.
The main device 4 includes a voltage detector 6, a regulator 7, a switch group 8, a short-range wireless communication module 9, a communication module crystal resonator 10, a control unit crystal resonator 11, and a control unit 12.

電圧デテクタ6は、電源回路2の出力電圧を検出し、検出値を制御部12に供給する。
レギュレータ7は、電源回路2から供給される電圧を安定化して、主装置4内に供給する。
The voltage detector 6 detects the output voltage of the power supply circuit 2 and supplies the detected value to the control unit 12.
The regulator 7 stabilizes the voltage supplied from the power supply circuit 2 and supplies it to the main device 4.

スイッチ群8は、RESETスイッチ、RECVスイッチ、及びMODEスイッチ、などの複数のスイッチを備える。スイッチ群8は、ユーザの操作によるスイッチのオン/オフ、オン時間の長さなどに応じて、様々な情報や指示を制御部12に供給する。   The switch group 8 includes a plurality of switches such as a RESET switch, a RECV switch, and a MODE switch. The switch group 8 supplies various information and instructions to the control unit 12 according to the on / off of the switch by the user's operation, the length of the on time, and the like.

RESETスイッチが操作されると、制御部12は初期状態となる。
RECVスイッチが操作されると、所定時間、修正時刻信号を受信する手動受信処理が実行される。
MODEスイッチが操作されると、スマートフォンSMからBLEによる受信により基準時刻情報を取得する親機モードと、上位レイヤの計時装置Cから修正時刻情報Mを取得する子機モードとの2つのモードが切り替わる。
When the RESET switch is operated, the control unit 12 is in an initial state.
When the RECV switch is operated, a manual reception process for receiving a correction time signal for a predetermined time is executed.
When the MODE switch is operated, two modes are switched between a parent device mode for acquiring the reference time information from the smartphone SM by BLE reception and a child device mode for acquiring the correction time information M from the timing device C of the upper layer. .

近距離無線通信モジュール9は、制御部12の制御下に、スマートフォンSMから基準時刻情報を含む受信信号である基準時刻信号を受信信号として受信する。また、近距離無線通信モジュール9は、制御部12の制御下に、上位レイヤの計時装置Cが送信する修正時刻情報Mを含む受信信号である修正時刻信号を受信信号として受信する。近距離無線通信モジュール9は、受信した受信信号を復調して制御部12に出力する。また、近距離無線通信モジュール9は、受信チャネルとは異なる送信チャネルを使用して修正時刻情報Mを下位レイヤの計時装置Cに送信する。   Under the control of the control unit 12, the short-range wireless communication module 9 receives a reference time signal, which is a reception signal including reference time information, from the smartphone SM as a reception signal. Further, the short-range wireless communication module 9 receives a correction time signal, which is a reception signal including the correction time information M transmitted from the upper layer timing device C, as a reception signal under the control of the control unit 12. The short-range wireless communication module 9 demodulates the received reception signal and outputs it to the control unit 12. Further, the short-range wireless communication module 9 transmits the correction time information M to the lower layer timing device C using a transmission channel different from the reception channel.

通信モジュール水晶振動子10は、所定の発振周波数で発振し、発振信号を近距離無線通信モジュール9に供給する。
制御部水晶振動子11は、所定の発振周波数で発振し、発振信号を制御部12に供給する。
制御部12は制御部水晶振動子11により計時を行う。一方、近距離無線通信モジュール9は通信モジュール水晶振動子10により計時を行う。計時装置Cでは、制御部12と近距離無線通信モジュール9とは独立に計時を行う。
The communication module crystal resonator 10 oscillates at a predetermined oscillation frequency and supplies an oscillation signal to the short-range wireless communication module 9.
The control unit crystal unit 11 oscillates at a predetermined oscillation frequency and supplies an oscillation signal to the control unit 12.
The control unit 12 measures time with the control unit crystal resonator 11. On the other hand, the short-range wireless communication module 9 measures time with the communication module crystal unit 10. In the timing device C, the control unit 12 and the short-range wireless communication module 9 measure time independently.

制御部12は、計時装置Cの動作全体を制御する。制御部12は、制御部水晶振動子11の発振信号に基づく計時動作、スマートフォンSMから受信する基準時刻信号の受信間隔の変更、上位レイヤの計時装置Cから受信した修正時刻信号に基づく時刻データの修正動作、修正した時刻データに基づく基準時刻情報の近距離無線通信モジュール9を介した送信、表示装置5への種々の情報の表示制御、スイッチ群8の操作入力に応答する処理などを行う。   The control unit 12 controls the entire operation of the timing device C. The control unit 12 measures the time based on the oscillation signal of the control unit crystal resonator 11, changes the reception interval of the reference time signal received from the smartphone SM, and sets the time data based on the corrected time signal received from the time measuring device C in the upper layer. A correction operation, transmission of reference time information based on the corrected time data through the short-range wireless communication module 9, display control of various information on the display device 5, processing in response to an operation input of the switch group 8, and the like are performed.

ここで図6を参照し、制御部12の構成について説明する。
図6は、本実施形態に係る制御部12の構成の一例を示す図である。制御部12は、プロセッサ20と、計時データ取得部30と、エンコーダ40と、デコーダ50と、キー入力部60と、電圧データ入力部70と、レジスタ群80とを備える。
Here, the configuration of the control unit 12 will be described with reference to FIG.
FIG. 6 is a diagram illustrating an example of the configuration of the control unit 12 according to the present embodiment. The control unit 12 includes a processor 20, a time data acquisition unit 30, an encoder 40, a decoder 50, a key input unit 60, a voltage data input unit 70, and a register group 80.

プロセッサ20は、修正部201と、計時部202と、親機子機モード制御部203と、通信制御部204と、経過時間計測部205と、受信間隔変更部206と、表示制御部207とを備える。プロセッサ20は、修正部201と、計時部202と、親機子機モード制御部203と、通信制御部204と、経過時間計測部205と、受信間隔変更部206と、表示制御部207とにそれぞれ処理を行わせる。
プロセッサ20は、CPU、RAM、及びROMなどにより実現される。
The processor 20 includes a correction unit 201, a timing unit 202, a parent device mode control unit 203, a communication control unit 204, an elapsed time measurement unit 205, a reception interval change unit 206, and a display control unit 207. Prepare. The processor 20 includes a correction unit 201, a timing unit 202, a parent device mode control unit 203, a communication control unit 204, an elapsed time measurement unit 205, a reception interval change unit 206, and a display control unit 207. Each is processed.
The processor 20 is realized by a CPU, a RAM, a ROM, and the like.

修正部201は、近距離無線通信モジュール9が受信した受信信号である基準時刻信号に含まれる基準時刻情報に基づいて、計時データを修正する。また、修正部201は、近距離無線通信モジュール9が受信した受信信号である修正時刻信号に含まれる修正時刻情報Mに基づいて、計時データを修正する。
計時部202は、修正部201が修正した計時データに基づき計時を行う。
親機子機モード制御部203は、キー入力部60が供給する親機モードと子機モードとを切り替える信号に基づいて、親機子機モードレジスタ801に記憶される親機子機モード設定情報を変更する。
The correction unit 201 corrects the time measurement data based on the reference time information included in the reference time signal that is a reception signal received by the short-range wireless communication module 9. Further, the correction unit 201 corrects the time measurement data based on the correction time information M included in the correction time signal that is a reception signal received by the short-range wireless communication module 9.
The timer unit 202 measures time based on the time data corrected by the correction unit 201.
The base unit mode setting unit 203 stores base unit mode setting information stored in the base unit mode register 801 based on a signal for switching between the base mode and the slave mode supplied from the key input unit 60. To change.

通信制御部204は、所定の受信間隔に基づいて、近距離無線通信モジュール9による基準時刻信号の受信タイミングを制御する。
また、通信制御部204は、近距離無線通信モジュール9による受信信号の受信、及び近距離無線通信モジュール9による修正時刻信号の送信を制御する。通信制御部204は、所定の受信間隔に基づいて、近距離無線通信モジュール9による修正時刻信号の受信タイミングを制御する。
The communication control unit 204 controls the reception timing of the reference time signal by the short-range wireless communication module 9 based on a predetermined reception interval.
The communication control unit 204 controls reception of a reception signal by the short-range wireless communication module 9 and transmission of a correction time signal by the short-range wireless communication module 9. The communication control unit 204 controls the reception timing of the correction time signal by the short-range wireless communication module 9 based on a predetermined reception interval.

経過時間計測部205は、近距離無線通信モジュール9が基準時刻信号を最後に受信してからの経過時間を計測する。
受信間隔変更部206は、基準時刻信号を受信する受信間隔を変更する。
表示制御部207は、表示装置5への種々の情報の表示制御を行う。
The elapsed time measuring unit 205 measures the elapsed time since the short-range wireless communication module 9 last received the reference time signal.
The reception interval changing unit 206 changes the reception interval for receiving the reference time signal.
The display control unit 207 performs display control of various information on the display device 5.

計時データ取得部30は、制御部水晶振動子11からの発振信号をカウントして、一定時間毎に計時データを取得し、プロセッサ20に計時割込信号を出力する。ここで一定時間とは、例えば、100msである。   The time data acquisition unit 30 counts the oscillation signal from the control unit crystal resonator 11, acquires time data at regular time intervals, and outputs a time interrupt signal to the processor 20. Here, the fixed time is, for example, 100 ms.

エンコーダ40は、プロセッサ20から供給された送信対象のデータ、例えば、修正時刻情報Mをエンコードしてベースバンド信号を生成し、近距離無線通信モジュール9に供給する。
デコーダ50は、近距離無線通信モジュール9が受信した受信信号をデコードして、例えば、基準時刻情報や修正時刻情報Mのベースバンド信号を復調し、プロセッサ20に供給する。
The encoder 40 encodes the transmission target data supplied from the processor 20, for example, the correction time information M, generates a baseband signal, and supplies the baseband signal to the short-range wireless communication module 9.
The decoder 50 decodes a reception signal received by the short-range wireless communication module 9, demodulates, for example, a baseband signal of reference time information or correction time information M, and supplies the demodulated signal to the processor 20.

キー入力部60は、スイッチ群8の操作に従って入力されるオン・オフ信号をデコードして、プロセッサ20に供給する。
電圧データ入力部70は、電圧デテクタ6が検出した電圧値をプロセッサ20に出力する。
The key input unit 60 decodes an on / off signal input according to the operation of the switch group 8 and supplies the decoded signal to the processor 20.
The voltage data input unit 70 outputs the voltage value detected by the voltage detector 6 to the processor 20.

レジスタ群80は、親機子機モードレジスタ801と、計時データレジスタ802と、受信チャネルレジスタ803と、送信チャネルレジスタ804と、レイヤレジスタ805と、経過時間レジスタ806とを備える。   The register group 80 includes a master-slave unit mode register 801, a timing data register 802, a reception channel register 803, a transmission channel register 804, a layer register 805, and an elapsed time register 806.

親機子機モードレジスタ801は、親機子機モード設定情報を記憶する。親機子機モード設定情報は、計時装置Cが親機モードと、子機モードとのいずれに設定されているかを示す。
計時データレジスタ802は、計時装置Cが計時している現在時刻を示す情報を計時データとして記憶する。ここで現在時刻を示す情報とは、月・日・時・分・秒・曜日を示す情報である。
The master unit mode register 801 stores master unit mode setting information. The master unit mode setting information indicates whether the timing device C is set to the master unit mode or the slave unit mode.
The time data register 802 stores information indicating the current time being timed by the time measuring device C as time data. Here, the information indicating the current time is information indicating month / day / hour / minute / second / day of the week.

受信チャネルレジスタ803は、上位レイヤの計時装置Cから基準時刻情報を受信する通信チャネルを指定する受信チャネル指定データ(例えば、前述の0〜59のいずれかの値)及び受信したデータ等を記憶する。なお、上位レイヤの計時装置Cが存在しないレイヤの値が0の計時装置C1の場合には、受信チャネルレジスタ803は、時刻情報が取得された情報源を示す情報を記憶する。ここで時刻情報が取得された情報源を示す情報とは、スマートフォンSMや調整時を示す情報である。   The reception channel register 803 stores reception channel designation data (for example, any one of the above-described values 0 to 59), received data, and the like for designating a communication channel for receiving the reference time information from the time measuring device C in the upper layer. . Note that in the case of the timing device C1 having a layer value of 0 in which the upper layer timing device C does not exist, the reception channel register 803 stores information indicating the information source from which the time information is acquired. Here, the information indicating the information source from which the time information is acquired is information indicating the smart phone SM and the time of adjustment.

送信チャネルレジスタ804は、下位レイヤの計時装置Cに基準時刻信号を送信する送信チャネルを指定する送信チャネル指定データ(例えば、前述の0〜59のいずれかの値)を記憶する。送信チャネルレジスタ804に記憶されているチャネル指定データは、修正時刻情報M内の送信チャネル情報M2として送信される。   The transmission channel register 804 stores transmission channel designation data (for example, any one of the above-described values 0 to 59) for designating a transmission channel for transmitting the reference time signal to the lower layer timing device C. The channel designation data stored in the transmission channel register 804 is transmitted as transmission channel information M2 in the correction time information M.

レイヤレジスタ805は、計時装置Cが、複数のレイヤのどのレイヤに位置するかを示すレイヤデータ(例えば、前述のレイヤ情報M1がとる範囲である0〜99のいずれかの値)を記憶する。
経過時間レジスタ806は、近距離無線通信モジュール9が基準時刻信号を最後に受信してからの経過時間を記憶する。
The layer register 805 stores layer data (for example, any value from 0 to 99 which is a range taken by the layer information M1 described above) indicating which layer of the plurality of layers the timing device C is located.
The elapsed time register 806 stores the elapsed time since the short-range wireless communication module 9 last received the reference time signal.

(配置)
ユーザは、計時システムSを構成する複数の計時装置Cを、近距離無線通信モジュール9による通信が可能な距離範囲において配置し、電源を投入する。
(Arrangement)
The user places a plurality of timing devices C constituting the timing system S in a distance range in which communication by the short-range wireless communication module 9 is possible, and turns on the power.

(初期動作)
計時装置Cは、電源が投入されると他の初期化動作と共に時刻情報を受信するための前処理を開始する。この前処理は、スイッチ群8のRESETスイッチが操作され制御部12が初期状態となった場合にも開始される。
(Initial operation)
When the power is turned on, the timing device C starts preprocessing for receiving time information together with other initialization operations. This pre-processing is also started when the RESET switch of the switch group 8 is operated and the control unit 12 is in the initial state.

図7は、本実施形態に係る時刻情報受信のための前処理の一例を示す図である。
ステップS100:親機子機モード制御部203は、計時装置Cが親機モードに設定されているか否かを判定する。
FIG. 7 is a diagram illustrating an example of preprocessing for time information reception according to the present embodiment.
Step S100: The master-slave device mode control unit 203 determines whether or not the timing device C is set to the master-device mode.

親機子機モード制御部203は、親機子機モードレジスタ801から、親機子機モード設定情報を取得する。親機子機モード制御部203が、取得した親機子機モード設定情報が、親機モードを示すと判定する場合(ステップS100;YES)、プロセッサ20はステップS101の処理を実行する。   The parent device mode control unit 203 acquires the parent device mode setting information from the parent device mode register 801. When the master unit mode control unit 203 determines that the acquired master unit mode setting information indicates the master mode (step S100; YES), the processor 20 executes the process of step S101.

一方、親機子機モード制御部203が、取得した親機子機モード設定情報が、親機モードを示さないと判定する場合(ステップS100;NO)、プロセッサ20はステップS102の子機モード近距離受信処理を実行する。子機モード近距離受信処理については、図11を参照し後述する。   On the other hand, when the parent device mode control unit 203 determines that the acquired parent device mode setting information does not indicate the parent device mode (step S100; NO), the processor 20 closes the child device mode in step S102. The distance reception process is executed. The slave mode short distance reception process will be described later with reference to FIG.

ステップS100において、親機子機モード制御部203は、表示制御部207に親機子機モード設定情報を供給する。表示制御部207は、親機子機モード制御部203が供給する親機子機モード設定情報に応じて、表示装置5に親機子機モードマークセグメントP8を用いて、計時装置Cが親機モードに設定されているか、子機モードに設定されているかを表示させる。   In step S <b> 100, the parent device mode control unit 203 supplies the parent device mode setting information to the display control unit 207. The display controller 207 uses the parent device mode mark segment P8 on the display device 5 in accordance with the parent device mode setting information supplied from the parent device mode controller 203, so that the time measuring device C is the parent device. Whether the mode is set or the slave mode is displayed.

ステップS101:プロセッサ20は親機モード近距離通信処理を実行する。親機モード近距離通信処理については、図8〜10を参照し説明する。 Step S101: The processor 20 executes a master mode short-range communication process. The master mode short-range communication processing will be described with reference to FIGS.

図8は、本実施形態に係る親機モード近距離通信処理の一例を示す図である。図8に示す処理は、図7に示したステップS101の親機モード近距離通信処理である。図9は、本実施形態に係る基準時刻信号を受信するタイミングチャートの第1の例を示す図である。図10は、本実施形態に係る基準時刻信号を受信するタイミングチャートの第2の例を示す図である。   FIG. 8 is a diagram illustrating an example of the parent device mode short-range communication processing according to the present embodiment. The process shown in FIG. 8 is a master mode short-range communication process in step S101 shown in FIG. FIG. 9 is a diagram illustrating a first example of a timing chart for receiving a reference time signal according to the present embodiment. FIG. 10 is a diagram illustrating a second example of a timing chart for receiving a reference time signal according to the present embodiment.

ステップS200:通信制御部204は、近距離無線通信モジュール9を起動する。
ステップS202:通信制御部204は、時刻同期タイミングが到来したか否かを判定する。ここで時刻同期タイミングとは、受信タイミングが到来する所定の時間より前に、近距離無線通信モジュール9が制御部12と時刻同期を行うタイミングである。時刻同期タイミングは、一例として、受信タイミングの4分55秒前である。
通信制御部204は、時刻同期タイミングが到来したと判定する場合(ステップS202:YES)、ステップS204の処理を行う。一方、通信制御部204は、時刻同期タイミングが到来していないと判定する場合(ステップS202:NO)、ステップS202の処理を繰り返す。
Step S200: The communication control unit 204 activates the short-range wireless communication module 9.
Step S202: The communication control unit 204 determines whether or not the time synchronization timing has come. Here, the time synchronization timing is a timing at which the short-range wireless communication module 9 performs time synchronization with the control unit 12 before a predetermined time when the reception timing arrives. As an example, the time synchronization timing is 4 minutes and 55 seconds before the reception timing.
When determining that the time synchronization timing has arrived (step S202: YES), the communication control unit 204 performs the process of step S204. On the other hand, when determining that the time synchronization timing has not arrived (step S202: NO), the communication control unit 204 repeats the process of step S202.

ステップS204:近距離無線通信モジュール9は、制御部12と時刻同期を行う。ここで近距離無線通信モジュール9は、制御部12の通信制御部204から時刻情報を取得することにより時刻同期を行う。上述したように、制御部12と近距離無線通信モジュール9とはそれぞれ水晶振動子を用いて独立した計時動作を行っている。制御部12が制御部水晶振動子11により計時する時刻の方が、近距離無線通信モジュール9が通信モジュール水晶振動子10により計時する時刻よりも精度は高い。 Step S204: The short-range wireless communication module 9 performs time synchronization with the control unit 12. Here, the short-range wireless communication module 9 performs time synchronization by acquiring time information from the communication control unit 204 of the control unit 12. As described above, the control unit 12 and the short-range wireless communication module 9 perform independent timekeeping operations using a crystal resonator. The time measured by the control unit 12 using the control unit crystal resonator 11 is higher in accuracy than the time measured by the short-range wireless communication module 9 using the communication module crystal unit 10.

図9の例では、近距離無線通信モジュール9は、2:50:05から3時間毎に制御部12から時刻情報を取得して時刻同期する。計時装置Cは2:55:00〜2:55:10の10秒間に受信動作を行う。この受信動作の前の時刻同期タイミングは、2:55:00の4分55秒前の2:50:05である。近距離無線通信モジュール9は、時刻同期タイミングである2:50:05に制御部12と時刻同期を行う。
また、計時装置Cは5:55:00〜5:55:10の10秒間に受信動作を行う。この受信動作の前の時刻同期タイミングは、5:55:00の4分55秒前の5:50:05である。近距離無線通信モジュール9は、時刻同期タイミングである5:50:05に制御部12と時刻同期を行う。
なお、図9の例では、3:00:05と、6:00:05とにおいて、近距離無線通信モジュール9は、後述する修正時刻信号を子機に送信している。
In the example of FIG. 9, the short-range wireless communication module 9 acquires time information from the control unit 12 every 3 hours from 2:50:05 and performs time synchronization. The timing device C performs a receiving operation for 10 seconds from 2:55:00 to 2:55:10. The time synchronization timing before this reception operation is 2:50:05, 4: 5: 55 before 2:55:00. The short-range wireless communication module 9 performs time synchronization with the control unit 12 at 2:50:05 which is time synchronization timing.
In addition, the timing device C performs a receiving operation for 10 seconds from 5:55:00 to 5:55:10. The time synchronization timing before this reception operation is 5:50:05, 4: 5: 55 before 5:55:00. The short-range wireless communication module 9 performs time synchronization with the control unit 12 at 5:50:05 which is time synchronization timing.
In the example of FIG. 9, the short-range wireless communication module 9 transmits a correction time signal, which will be described later, to the slave unit at 3:00:05 and 6:00:05.

ステップS210:通信制御部204は、スマートフォンSMから基準時刻信号を受信する受信タイミングが到来したか否かを判定する。通信制御部204は、受信タイミングが到来したと判定する場合(ステップS210:YES)、ステップS220の処理を実行する。一方、通信制御部204は、受信タイミングが到来していないと判定する場合(ステップS210:NO)、ステップS210の処理を繰り返す。
ここで受信間隔は、一例として3時間毎であり、受信タイミングは、例えば、2時55分、5時55分、8時55分、11時55分などである。
Step S210: The communication control unit 204 determines whether or not the reception timing for receiving the reference time signal from the smartphone SM has arrived. When determining that the reception timing has arrived (step S210: YES), the communication control unit 204 executes the process of step S220. On the other hand, when determining that the reception timing has not arrived (step S210: NO), the communication control unit 204 repeats the process of step S210.
Here, the reception interval is, for example, every 3 hours, and the reception timing is, for example, 2:55, 5:55, 8:55, 11:55, and the like.

ステップS220:通信制御部204は、近距離無線通信モジュール9に、近距離通信波長において所定時間だけ、スマートフォンSMから基準時刻信号を受信させる。ここで所定時間とは、例えば10秒間である。近距離無線通信モジュール9は、所定時間だけスマートフォンSMにアドバタイジング信号を間欠的に送信する。アドバタイジング信号を間欠的に送信するとは、例えば、アドバタイジング信号を200ミリ秒毎に送信することである。 Step S220: The communication control unit 204 causes the short-range wireless communication module 9 to receive the reference time signal from the smartphone SM for a predetermined time at the short-range communication wavelength. Here, the predetermined time is, for example, 10 seconds. The short-range wireless communication module 9 intermittently transmits an advertising signal to the smartphone SM for a predetermined time. Transmitting an advertising signal intermittently means, for example, transmitting an advertising signal every 200 milliseconds.

近距離無線通信モジュール9は、3つの周波数を順次切替えて、アドバタイジング信号の送信と、スマートフォンSMからのアドバタイジング信号に対する応答を示す信号の受信とを、短時間に3回ずつ繰返す。スマートフォンSMから応答を示す信号を受信すると、近距離無線通信モジュール9はスマートフォンSMと通信接続を開始し、基準時刻信号の受信が可能となる。   The short-range wireless communication module 9 sequentially switches the three frequencies, and repeats the transmission of the advertising signal and the reception of the signal indicating the response to the advertising signal from the smartphone SM three times in a short time. When a signal indicating a response is received from the smartphone SM, the short-range wireless communication module 9 starts communication connection with the smartphone SM and can receive the reference time signal.

なお、近距離無線通信モジュール9は受信動作を開始すると、受信動作を開始したことを通信制御部204に通知する。ここで受信動作とは、アドバタイジング信号を送信することである。通信制御部204は、受信動作を開始したことを近距離無線通信モジュール9から通知されると、表示制御部207を介して、表示装置5にBLEマークセグメントP10を点滅させる。   When the short-range wireless communication module 9 starts the reception operation, the short-range wireless communication module 9 notifies the communication control unit 204 that the reception operation has started. Here, the reception operation is transmission of an advertising signal. When notified from the short-range wireless communication module 9 that the reception operation is started, the communication control unit 204 causes the display device 5 to blink the BLE mark segment P10 via the display control unit 207.

近距離無線通信モジュール9がスマートフォンSMから受信信号を受信すると、デコーダ50は、近距離無線通信モジュール9が受信した受信信号をデコードし基準時刻情報を取り出し、修正部201に供給する。
また、近距離無線通信モジュール9がスマートフォンSMから受信信号を受信すると、近距離無線通信モジュール9は、基準時刻信号の受信に成功したことを通信制御部204に通知する。さらに、通信制御部204は、基準時刻信号の受信に成功したことを経過時間計測部205に通知する。経過時間計測部205は、基準時刻信号の受信に成功したことを通信制御部204から通知されると、経過時間レジスタ806に記憶される経過時間をリセットする。ここで経過時間とは、最後に基準時刻信号を受信してから経過した時間である。
経過時間計測部205は、表示制御部207を介して、表示装置5にBLEマークセグメントP10を点滅の状態から点灯の状態に切り替えさせる。
When the short-range wireless communication module 9 receives a reception signal from the smartphone SM, the decoder 50 decodes the reception signal received by the short-range wireless communication module 9 to extract reference time information, and supplies the reference time information to the correction unit 201.
When the short-range wireless communication module 9 receives a reception signal from the smartphone SM, the short-range wireless communication module 9 notifies the communication control unit 204 that the reference time signal has been successfully received. Further, the communication control unit 204 notifies the elapsed time measurement unit 205 that the reference time signal has been successfully received. The elapsed time measuring unit 205 resets the elapsed time stored in the elapsed time register 806 when notified from the communication control unit 204 that the reception of the reference time signal has been successful. Here, the elapsed time is the time that has elapsed since the last reception of the reference time signal.
The elapsed time measuring unit 205 causes the display device 5 to switch the BLE mark segment P10 from the blinking state to the lighting state via the display control unit 207.

一方、近距離無線通信モジュール9は、10秒間スマートフォンSMからの応答がない場合、タイムアウトし受信動作を終了する。近距離無線通信モジュール9は、基準時刻信号の受信に失敗したことを通信制御部204に通知する。さらに通信制御部204は、基準時刻信号の受信に失敗したことを経過時間計測部205に通知する。
経過時間計測部205は、最後に基準時刻信号を受信してから、例えば、24時間以内である場合、表示制御部207を介して、表示装置5のBLEマークセグメントP10を点滅の状態から点灯の状態に切り替えさせる。経過時間計測部205は、最後に基準時刻信号を受信してから、例えば、24時間を超えている場合、BLEマークセグメントP10を消灯させる。
On the other hand, if there is no response from the smartphone SM for 10 seconds, the short-range wireless communication module 9 times out and ends the receiving operation. The short-range wireless communication module 9 notifies the communication control unit 204 that reception of the reference time signal has failed. Furthermore, the communication control unit 204 notifies the elapsed time measurement unit 205 that reception of the reference time signal has failed.
The elapsed time measurement unit 205 turns on the BLE mark segment P10 of the display device 5 from the blinking state via the display control unit 207 when, for example, within 24 hours since the last reception of the reference time signal. Switch to state. The elapsed time measuring unit 205 turns off the BLE mark segment P10 when, for example, it exceeds 24 hours since the last reception of the reference time signal.

ステップS230:通信制御部204は、近距離無線通信モジュール9がスマートフォンSMから受信信号を受信したか否かを判定する。
通信制御部204は、近距離無線通信モジュール9がスマートフォンSMから受信信号を受信したと判定する場合(ステップS230;YES)、ステップS260の処理を実行する。
Step S230: The communication control unit 204 determines whether or not the short-range wireless communication module 9 has received a reception signal from the smartphone SM.
When determining that the short-range wireless communication module 9 has received a reception signal from the smartphone SM (step S230; YES), the communication control unit 204 executes the process of step S260.

一方、通信制御部204は、近距離無線通信モジュール9がスマートフォンSMから受信信号を受信していないと判定する場合(ステップS230;NO)、ステップS240の処理を実行する。   On the other hand, when it determines with the near field communication module 9 not receiving the received signal from smart phone SM (step S230; NO), the communication control part 204 performs the process of step S240.

ステップS240:経過時間計測部205は、近距離無線通信モジュール9が基準時刻信号を最後に受信してから所定の時間が経過したか否かを判定する。ここで所定の時間とは、例えば3時間である。図8の例では、所定の時間は受信間隔と同じ3時間としているが、所定の時間は受信間隔と同じである必要はない。 Step S240: The elapsed time measuring unit 205 determines whether or not a predetermined time has elapsed since the short-range wireless communication module 9 last received the reference time signal. Here, the predetermined time is, for example, 3 hours. In the example of FIG. 8, the predetermined time is the same three hours as the reception interval, but the predetermined time does not have to be the same as the reception interval.

経過時間計測部205が、近距離無線通信モジュール9が基準時刻信号を最後に受信してから所定の時間が経過したと判定する場合(ステップS240;YES)、受信間隔変更部206はステップS250の処理を実行する。
一方、経過時間計測部205が、近距離無線通信モジュール9が基準時刻信号を最後に受信してから所定の時間が経過していないと判定する場合(ステップS240;NO)、通信制御部204は、ステップS202の処理を繰り返す。
When the elapsed time measuring unit 205 determines that a predetermined time has elapsed since the short-distance wireless communication module 9 last received the reference time signal (step S240; YES), the reception interval changing unit 206 performs step S250. Execute the process.
On the other hand, when the elapsed time measurement unit 205 determines that the predetermined time has not elapsed since the short-range wireless communication module 9 last received the reference time signal (step S240; NO), the communication control unit 204 The process of step S202 is repeated.

ステップS250:受信間隔変更部206は、基準時刻信号を受信する受信間隔を、3時間から、10分間に切り替える。つまり、受信間隔変更部206は、経過時間計測部205によって計測された経過時間が所定の時間以上である場合に、基準時刻信号を受信する受信間隔をより短い間隔に変更する。
その後、通信制御部204は、ステップS202の処理を繰り返す。
Step S250: The reception interval changing unit 206 switches the reception interval for receiving the reference time signal from 3 hours to 10 minutes. That is, when the elapsed time measured by the elapsed time measuring unit 205 is equal to or longer than a predetermined time, the reception interval changing unit 206 changes the reception interval for receiving the reference time signal to a shorter interval.
Thereafter, the communication control unit 204 repeats the process of step S202.

図10に示す例では、近距離無線通信モジュール9は、2時55分に受信処理を開始し、10秒間だけアドバタイジング信号をスマートフォンSMに送信するが、この10秒間においてスマートフォンSMに接続できない。つまり、近距離無線通信モジュール9の受信処理はタイムアウトとなる。
ただし、図10に示す例では、2時55分において、スマートフォンSMから最後に基準時刻信号を受信してから3時間が経過している。したがって、ステップS250の処理において、受信間隔変更部206は、基準時刻信号を受信する受信間隔を、3時間から10分間に切り替える。近距離無線通信モジュール9は、以後10分間毎に受信処理を行う。
2時55分の10分後は、3時05分である。近距離無線通信モジュール9は、3時05分に受信処理を行うが、10秒間においてスマートフォンSMに接続できずタイムアウトとなる。
ステップS260、及びステップS270の処理において、受信間隔変更部206は、基準時刻信号を受信する受信間隔を、10分間から3時間に変更する。
In the example illustrated in FIG. 10, the short-range wireless communication module 9 starts reception processing at 2:55 and transmits an advertising signal to the smartphone SM for 10 seconds, but cannot connect to the smartphone SM in this 10 seconds. That is, the reception process of the short-range wireless communication module 9 times out.
However, in the example shown in FIG. 10, 3 hours have passed since the last reception of the reference time signal from the smartphone SM at 2:55. Therefore, in the process of step S250, the reception interval changing unit 206 switches the reception interval for receiving the reference time signal from 3 hours to 10 minutes. The short-range wireless communication module 9 performs reception processing every 10 minutes thereafter.
After 10 minutes at 2:55, it is 3:05. The short-range wireless communication module 9 performs reception processing at 3:05, but cannot connect to the smartphone SM for 10 seconds and times out.
In the processing of step S260 and step S270, the reception interval changing unit 206 changes the reception interval for receiving the reference time signal from 10 minutes to 3 hours.

ステップS260:受信間隔変更部206は、基準時刻信号を受信する受信間隔が3時間より短いか否かを判定する。受信間隔変更部206は、基準時刻信号を受信する受信間隔が3時間より短いと判定する場合、ステップS270の処理を実行する。一方、受信間隔変更部206は、基準時刻信号を受信する受信間隔が3時間より短くないと判定する場合、ステップS280の処理を実行する。 Step S260: The reception interval changing unit 206 determines whether or not the reception interval for receiving the reference time signal is shorter than 3 hours. If the reception interval changing unit 206 determines that the reception interval for receiving the reference time signal is shorter than 3 hours, the reception interval changing unit 206 executes the process of step S270. On the other hand, if the reception interval changing unit 206 determines that the reception interval for receiving the reference time signal is not shorter than 3 hours, it executes the process of step S280.

ステップS270:受信間隔変更部206は、基準時刻信号を受信する受信間隔を3時間に切り替える。ここで基準時刻信号を受信する受信間隔は、最初3時間であり、ステップS230、ステップS240、及びステップS250において、基準時刻信号を最後に受信してから3時間が経過した場合、受信間隔変更部206により10分間に変更された後、再び3時間に変更されている。 Step S270: The reception interval changing unit 206 switches the reception interval for receiving the reference time signal to 3 hours. Here, the reception interval for receiving the reference time signal is 3 hours at the beginning, and in step S230, step S240, and step S250, if 3 hours have passed since the last reception of the reference time signal, the reception interval change unit After changing to 206 minutes by 206, it is changed again to 3 hours.

図10に示す例では、近距離無線通信モジュール9は、3時05分の10分後である3時15分に受信処理を行い、10秒間においてスマートフォンSMと接続し、基準時刻信号を受信する。受信間隔変更部206は、基準時刻信号を受信した後は、受信間隔を10分間から3時間に変更する。したがって、基準時刻信号を受信する受信間隔が3時間に変更された場合、3時15分の次回の受信タイミングは、2時55分の3時間後である5時55分となる。つまり、受信タイミングは、受信間隔変更前の3時間毎の受信タイミングに戻る。   In the example shown in FIG. 10, the short-range wireless communication module 9 performs reception processing at 3:15, which is after 3:05:10, and connects to the smartphone SM for 10 seconds and receives the reference time signal. . The reception interval changing unit 206 changes the reception interval from 10 minutes to 3 hours after receiving the reference time signal. Therefore, when the reception interval for receiving the reference time signal is changed to 3 hours, the next reception timing at 3:15 is 5:55, which is 3 hours after 2:55. That is, the reception timing returns to the reception timing every 3 hours before the reception interval is changed.

なお、本実施形態では、受信間隔変更部206が、基準時刻信号を受信する受信間隔を10分間から3時間に切り替える場合、受信タイミングは、受信間隔変更前の3時間毎の受信タイミングに戻るが、これに限らない。受信間隔変更部206が、基準時刻信号を受信する受信間隔を10分間から3時間に切り替える場合、受信タイミングは、最後に基準時刻信号を受信してから3時間毎の時間であってもよい。図10に示す例では、3時15分に基準時刻信号を受信しているから、以降の受信タイミングは、6時15分、9時15分、12時15分などとなる。   In the present embodiment, when the reception interval changing unit 206 switches the reception interval for receiving the reference time signal from 10 minutes to 3 hours, the reception timing returns to the reception timing every 3 hours before the reception interval change. Not limited to this. When the reception interval changing unit 206 switches the reception interval for receiving the reference time signal from 10 minutes to 3 hours, the reception timing may be every 3 hours since the last reception of the reference time signal. In the example shown in FIG. 10, since the reference time signal is received at 3:15, subsequent reception timings are 6:15, 9:15, 12:15, and the like.

このように、受信間隔変更部206は、受信間隔をより短い間隔に変更した後に近距離無線通信モジュール9が基準時刻信号を受信した場合、短い間隔に変更した受信間隔をより長い間隔に変更する。   Thus, when the short-range wireless communication module 9 receives the reference time signal after changing the reception interval to a shorter interval, the reception interval changing unit 206 changes the reception interval changed to the shorter interval to a longer interval. .

ステップS280:修正部201は、受信した基準時刻信号に含まれる基準時刻情報が示す時刻情報に基づいて計時データレジスタ802の計時データを修正する。つまり、修正部201は、近距離無線通信モジュール9が受信した基準時刻信号に基づいて、現在時刻を示す計時データを修正する。 Step S280: The correction unit 201 corrects the time data in the time data register 802 based on the time information indicated by the reference time information included in the received reference time signal. That is, the correction unit 201 corrects the time measurement data indicating the current time based on the reference time signal received by the short-range wireless communication module 9.

ステップS290:プロセッサ20は、近距離通信初期設定処理を実行する。ここで、通信制御部204は、受信チャネルレジスタ803に時刻種類にスマートフォンSMから受信した時刻であることを示す情報を設定する。また、通信制御部204は、レイヤレジスタ805にレイヤの値として0を設定する。 Step S290: The processor 20 executes a near field communication initial setting process. Here, the communication control unit 204 sets information indicating the time received from the smartphone SM as the time type in the reception channel register 803. Further, the communication control unit 204 sets 0 as a layer value in the layer register 805.

また、表示制御部207は、表示装置5に、計時データレジスタ802に記憶されている計時データ、受信状態、バッテリ状態を示す情報を表示させる。表示装置5の表示パネルPの表示内容には、例えば、午前表示セグメントP1、及び午後表示セグメントP2による午前・午後の表示、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、月表示セグメントP14、日表示セグメントP15、及び曜日表示セグメントP16による年月日時分秒曜日の表示、BLEマークセグメントP10によるスマートフォンから時刻情報を取得したことの表示、受信レベルセグメントP12による近距離通信電波の受信状況の表示、及び電圧データ入力部70を介して取り込んだ電圧デテクタ6の検出値に基づいた電源状態の表示、などを含む。
プロセッサ20が近距離通信初期設定処理を実行した後、通信制御部204は、ステップS202の処理を繰り返す。
In addition, the display control unit 207 causes the display device 5 to display time data stored in the time data register 802, information indicating the reception state, and the battery state. The display content of the display panel P of the display device 5 includes, for example, the morning / afternoon display by the morning display segment P1 and the afternoon display segment P2, the time display segment P4, the segment segment P5, the minute display segment P6, and the second display segment P7. , Month display segment P14, day display segment P15, day of the week display segment P16, year, month, day, hour, minute and second day of week display, BLE mark segment P10 display of time information acquisition from smartphone, short distance communication by reception level segment P12 This includes display of the reception status of radio waves, display of the power state based on the detection value of the voltage detector 6 taken in via the voltage data input unit 70, and the like.
After the processor 20 executes the near field communication initial setting process, the communication control unit 204 repeats the process of step S202.

なお、図8に示したステップS200からステップS280の処理は、計時装置Cの電源がオフになると終了する。   Note that the processing from step S200 to step S280 shown in FIG. 8 ends when the timing device C is powered off.

(子機の動作)
図11は、本実施形態に係る子機モードにおける近距離受信処理の一例を示す図である。図11に示す近距離受信処理は、レイヤ1の計時装置C2及び計時装置C3、レイヤ2の計時装置C4、計時装置C5、及び計時装置C6に共通である。
(Operation of the slave unit)
FIG. 11 is a diagram illustrating an example of a short-distance reception process in the slave mode according to the present embodiment. The short-distance reception processing shown in FIG. 11 is common to the timing device C2 and timing device C3 of layer 1, the timing device C4, timing device C5, and timing device C6 of layer 2.

ステップS300:通信制御部204は、近距離無線通信モジュール9を起動する。ここで通信制御部204は、消費電力を抑えるため通常の自動受信時は上位レイヤの計時装置Cの送信タイミングの2秒前からスキャンを開始し、スキャンは最大4秒間継続する。 Step S300: The communication control unit 204 activates the short-range wireless communication module 9. Here, in order to reduce power consumption, the communication control unit 204 starts scanning two seconds before the transmission timing of the upper layer timing device C during normal automatic reception, and the scanning continues for a maximum of four seconds.

ステップS310:通信制御部204は、近距離無線通信モジュール9が近距離時刻信号を受信したか否かを判定する。通信制御部204が、近距離無線通信モジュール9が近距離時刻信号を受信したと判定する場合(ステップS310;YES)、デコーダ50から修正時刻情報Mを取得する。その後、プロセッサ20はステップS320の処理を実行する。
一方、通信制御部204が、近距離無線通信モジュール9が近距離時刻信号を受信していないと判定する場合(ステップS310;NO)、プロセッサ20はステップS330の処理を実行する。
Step S310: The communication control unit 204 determines whether or not the short-range wireless communication module 9 has received a short-range time signal. When the communication control unit 204 determines that the short-range wireless communication module 9 has received a short-range time signal (step S310; YES), the correction time information M is acquired from the decoder 50. Thereafter, the processor 20 executes the process of step S320.
On the other hand, when the communication control unit 204 determines that the short-range wireless communication module 9 has not received the short-distance time signal (step S310; NO), the processor 20 executes the process of step S330.

ステップS320:修正部201は、計時データを修正する。修正部201は、通信制御部204から修正時刻情報Mを取得する。修正部201は、取得した修正時刻情報Mに含まれる時刻情報に基づいて、計時データレジスタ802に記憶されている計時データを修正する。 Step S320: The correction unit 201 corrects the time measurement data. The correction unit 201 acquires the correction time information M from the communication control unit 204. The correction unit 201 corrects the time data stored in the time data register 802 based on the time information included in the acquired correction time information M.

ステップS330:通信制御部204は、近距離無線通信モジュール9を起動させてから所定時間が経過したか否かを判定する。ここで所定時間とは、例えば、24時間である。ただし、所定時間は、計時システムSのレイヤの数により変更されてよい。
通信制御部204は、近距離無線通信モジュール9を起動させてから所定時間が経過したと判定する場合(ステップS330;YES)、ステップS340の処理を実行する。一方、通信制御部204は、近距離無線通信モジュール9を起動させてから所定時間が経過していないと判定する場合(ステップS330;NO)、ステップS310の処理を繰り返す。
Step S330: The communication control unit 204 determines whether or not a predetermined time has elapsed since the short-range wireless communication module 9 was activated. Here, the predetermined time is, for example, 24 hours. However, the predetermined time may be changed depending on the number of layers of the timing system S.
If the communication control unit 204 determines that a predetermined time has elapsed since the short-range wireless communication module 9 was activated (step S330; YES), the communication control unit 204 executes the process of step S340. On the other hand, if the communication control unit 204 determines that the predetermined time has not elapsed since the short-range wireless communication module 9 was activated (step S330; NO), the process of step S310 is repeated.

ステップS340:通信制御部204は、タイムアウト処理を実行する。通信制御部204は、表示制御部207に受信信号の受信に失敗したことを示す信号を供給する。
表示制御部207は、通信制御部204が供給する信号に基づいて、アンテナマークセグメントP11と受信レベルセグメントP12とを用いて、受信信号の受信に失敗したことを表示装置5に表示させる。ここで表示装置5は、例えば、アンテナマークセグメントP11を点滅させ、受信レベルセグメントP12を消灯させる。ユーザは、計時装置Cが受信信号の受信に失敗したことに応じて、計時装置Cの位置を変えて設置し直してもよい。
その後、通信制御部204は、ステップS310の処理を繰り返す。
Step S340: The communication control unit 204 executes a timeout process. The communication control unit 204 supplies a signal indicating that reception of the received signal has failed to the display control unit 207.
Based on the signal supplied from the communication control unit 204, the display control unit 207 uses the antenna mark segment P11 and the reception level segment P12 to display on the display device 5 that reception of the received signal has failed. Here, for example, the display device 5 blinks the antenna mark segment P11 and turns off the reception level segment P12. The user may change the position of the timing device C and install it again in response to the timing device C failing to receive the received signal.
Thereafter, the communication control unit 204 repeats the process of step S310.

(親機の動作)
上位レイヤの計時装置Cは、修正時刻情報Mを生成し、生成した修正時刻情報Mを修正時刻信号に含めて送信する。修正時刻情報Mには、修正部201が修正した計時データを示し、下位レイヤの計時装置Cが計時データを修正するための時刻情報が含まれる。
図12は、本実施形態に係る修正時刻信号送信処理の一例を示す図である。図12に示す処理は、最上位のレイヤ0の計時装置C1、レイヤ1の計時装置C2及び計時装置C3に共通である。
(Main unit operation)
The upper layer timing device C generates correction time information M, and transmits the generated correction time information M included in the correction time signal. The correction time information M indicates time measurement data corrected by the correction unit 201, and includes time information for the lower layer time measuring device C to correct the time measurement data.
FIG. 12 is a diagram illustrating an example of the correction time signal transmission process according to the present embodiment. The processing shown in FIG. 12 is common to the highest layer 0 timing device C1, the layer 1 timing device C2, and the timing device C3.

ステップS410:通信制御部204は、現在時刻が修正時刻信号の送信タイミングであるか否かを判定する。
ここで、通信制御部204は、レイヤレジスタ805に記憶される自装置のレイヤの値と、送信チャネルレジスタ804に記憶される送信チャネルとに基づいて、上述した式(1)から送信タイミングを算出する。送信タイミングとは、上位レイヤの計時装置Cが下位レイヤの計時装置Cに修正時刻信号を送信する送信タイミングである。
Step S410: The communication control unit 204 determines whether or not the current time is the transmission timing of the correction time signal.
Here, the communication control unit 204 calculates the transmission timing from the above-described equation (1) based on the layer value of its own device stored in the layer register 805 and the transmission channel stored in the transmission channel register 804. To do. The transmission timing is a transmission timing at which the upper layer timing device C transmits a correction time signal to the lower layer timing device C.

通信制御部204は、現在時刻が修正時刻信号の送信タイミングであると判定する場合(ステップS410;YES)、ステップS420の処理を実行する。一方、通信制御部204は、現在時刻が修正時刻信号の送信タイミングでないと判定する場合(ステップS410;NO)、修正時刻信号送信処理を終了する。   If the communication control unit 204 determines that the current time is the transmission timing of the correction time signal (step S410; YES), the communication control unit 204 executes the process of step S420. On the other hand, when the communication control unit 204 determines that the current time is not the transmission timing of the correction time signal (step S410; NO), the communication control unit 204 ends the correction time signal transmission process.

ステップS420:計時部202は、修正時刻情報Mを生成する。計時部202は、レイヤレジスタ805に記憶されるレイヤ情報が示すレイヤの値、送信チャネルレジスタ804に記憶される送信チャネル指定データが示す送信チャネル、計時データレジスタ802に記憶される計時データが示す時刻情報、及び受信チャネルレジスタ803に記憶される時刻情報の情報源を示す情報などに基づいて、修正時刻情報Mを生成する。
計時部202は、生成した修正時刻情報Mを通信制御部204に供給する。
Step S420: The time measuring unit 202 generates correction time information M. The time measuring unit 202 includes a layer value indicated by the layer information stored in the layer register 805, a transmission channel indicated by the transmission channel designation data stored in the transmission channel register 804, and a time indicated by the time measuring data stored in the time data register 802. Based on the information and information indicating the information source of the time information stored in the reception channel register 803, the correction time information M is generated.
The time measuring unit 202 supplies the generated correction time information M to the communication control unit 204.

ステップS430:通信制御部204は、近距離無線通信モジュール9に修正時刻信号を送信させる。ここで通信制御部204は、計時部202が供給する修正時刻情報Mを、エンコーダ40にエンコードさせて、近距離無線通信モジュール9に供給する。
したがって、近距離無線通信モジュール9は、修正部201が修正した計時データを示す修正時刻情報Mを含む修正時刻信号を他の計時装置Cに送信する。
その後、プロセッサ20は、基準時刻信号送信処理を終了する。
Step S430: The communication control unit 204 causes the short-range wireless communication module 9 to transmit a correction time signal. Here, the communication control unit 204 causes the encoder 40 to encode the correction time information M supplied from the time measuring unit 202 and supplies the encoded information to the short-range wireless communication module 9.
Therefore, the short-range wireless communication module 9 transmits a correction time signal including the correction time information M indicating the time data corrected by the correction unit 201 to the other time measuring device C.
Thereafter, the processor 20 ends the reference time signal transmission process.

(子機の通常時の時刻修正動作)
図13は、本実施形態に係る子機モードにおける通常時の時刻修正のための処理の一例を示す図である。
ステップS500:通信制御部204は、リルート条件が満たされたか否かを判定する。ここでリルート条件とは、例えば、修正時刻信号を上位レイヤの計時装置Cから所定の時間以上受信できないことである。ここで所定の時間とは、例えば、24時間である。上位レイヤの計時装置Cから所定の時間以上受信できない場合とは、例えば、上位レイヤの計時装置Cに故障や電池切れなどの障害が発生した場合である。
なお、リルート条件は、修正時刻信号を上位レイヤの計時装置Cから受信することを、所定の回数以上失敗することであってもよい。ここで所定の回数とは、例えば、8回である。
(Time correction operation of the slave unit in normal time)
FIG. 13 is a diagram illustrating an example of processing for correcting the time at normal time in the slave mode according to the present embodiment.
Step S500: The communication control unit 204 determines whether or not the reroute condition is satisfied. Here, the reroute condition is, for example, that the correction time signal cannot be received from the time measuring device C of the higher layer for a predetermined time or more. Here, the predetermined time is, for example, 24 hours. The case where the signal cannot be received from the upper layer timing device C for a predetermined time or more is, for example, a case where a failure such as a failure or a battery exhaustion occurs in the upper layer timing device C.
It should be noted that the reroute condition may be that the reception of the correction time signal from the upper layer timing device C fails a predetermined number of times. Here, the predetermined number of times is, for example, eight times.

通信制御部204は、リルート条件が満たされたと判定する場合(ステップS500;YES)、ステップS570の処理を実行する。一方、通信制御部204は、リルート条件が満たされていないと判定する場合(ステップS500;NO)、ステップS510の処理を実行する。   When determining that the reroute condition is satisfied (step S500; YES), the communication control unit 204 executes the process of step S570. On the other hand, when determining that the reroute condition is not satisfied (step S500; NO), the communication control unit 204 executes the process of step S510.

ステップS510:通信制御部204は、現在時刻が修正時刻信号の受信タイミングであるか否かを判定する。
ここで、通信制御部204は、レイヤレジスタ805に記憶される自装置のレイヤの値と、受信チャネルレジスタ803に記憶される受信チャネルとに基づいて、上述した式(1)から受信タイミングを算出する。受信タイミングとは、上位レイヤの計時装置Cの送信タイミングである。
Step S510: The communication control unit 204 determines whether or not the current time is the reception timing of the correction time signal.
Here, the communication control unit 204 calculates the reception timing from the above-described equation (1) based on the layer value of its own device stored in the layer register 805 and the reception channel stored in the reception channel register 803. To do. The reception timing is the transmission timing of the time measuring device C in the upper layer.

通信制御部204は、計時データレジスタ802に記憶される計時データを取得する。通信制御部204は、算出した受信タイミングと、取得した計時データが示す現在時刻とを比較し、現在時刻が受信タイミングの所定の時間だけ前であるか否かを判定する。ここで所定の時間とは、例えば、2秒である。   The communication control unit 204 acquires time data stored in the time data register 802. The communication control unit 204 compares the calculated reception timing with the current time indicated by the acquired timing data, and determines whether or not the current time is a predetermined time before the reception timing. Here, the predetermined time is, for example, 2 seconds.

通信制御部204は、現在時刻が修正時刻信号の受信タイミングであると判定する場合(ステップS510;YES)、ステップS520の処理を実行する。一方、通信制御部204は、現在時刻が修正時刻信号の受信タイミングでないと判定する場合(ステップS510;NO)、ステップS540の処理を実行する。   If the communication control unit 204 determines that the current time is the reception timing of the correction time signal (step S510; YES), the communication control unit 204 executes the process of step S520. On the other hand, when the communication control unit 204 determines that the current time is not the reception timing of the correction time signal (step S510; NO), the communication control unit 204 executes the process of step S540.

ステップS520:通信制御部204は、近距離無線通信モジュール9に修正時刻信号を受信させる。ここで通信制御部204は、例えば最大4秒間、近距離無線通信モジュール9に修正時刻信号を受信させる。
通信制御部204は、デコーダ50から修正時刻情報Mを取得する。
Step S520: The communication control unit 204 causes the short-range wireless communication module 9 to receive the correction time signal. Here, the communication control unit 204 causes the short-range wireless communication module 9 to receive the correction time signal, for example, for a maximum of 4 seconds.
The communication control unit 204 acquires the correction time information M from the decoder 50.

ステップS530:修正部201は、通信制御部204が供給する修正時刻情報Mに基づいて、計時データレジスタ802に記憶される計時データを更新する。 Step S530: The correction unit 201 updates the time measurement data stored in the time measurement data register 802 based on the correction time information M supplied from the communication control unit 204.

ステップS540:通信制御部204は、現在時刻が修正時刻信号の送信タイミングであるか否かを判定する。
ここで、通信制御部204は、レイヤレジスタ805に記憶される自装置のレイヤの値と、送信チャネルレジスタ804に記憶される送信チャネルとに基づいて、上述した式(1)から送信タイミングを算出する。通信制御部204は、計時データレジスタ802に記憶される計時データを取得する。通信制御部204は、算出した送信タイミングと、取得した計時データが示す現在時刻とを比較し、現在時刻が修正時刻信号の送信タイミングかである否かを判定する。
Step S540: The communication control unit 204 determines whether or not the current time is the transmission timing of the correction time signal.
Here, the communication control unit 204 calculates the transmission timing from the above-described equation (1) based on the layer value of its own device stored in the layer register 805 and the transmission channel stored in the transmission channel register 804. To do. The communication control unit 204 acquires time data stored in the time data register 802. The communication control unit 204 compares the calculated transmission timing with the current time indicated by the acquired timing data, and determines whether or not the current time is the transmission timing of the correction time signal.

通信制御部204は、現在時刻が修正時刻信号の送信タイミングであると判定する場合(ステップS540;YES)、ステップS550の処理を実行する。一方、通信制御部204が、現在時刻が修正時刻信号の送信タイミングでないと判定する場合(ステップS540;NO)、プロセッサ20は処理を終了する。   If the communication control unit 204 determines that the current time is the transmission timing of the correction time signal (step S540; YES), the communication control unit 204 executes the process of step S550. On the other hand, when the communication control unit 204 determines that the current time is not the transmission timing of the correction time signal (step S540; NO), the processor 20 ends the process.

ステップS550:計時部202は、修正時刻情報Mを生成する。計時部202は、レイヤレジスタ805に記憶されるレイヤ情報が示すレイヤの値、送信チャネルレジスタ804に記憶される送信チャネル指定データが示す送信チャネル、計時データレジスタ802に記憶される計時データが示す時刻情報、及び受信チャネルレジスタ803に記憶される時刻情報の情報源を示す情報などに基づいて、修正時刻情報Mを生成する。
計時部202は、生成した修正時刻情報Mを通信制御部204に供給する。
Step S550: The timer unit 202 generates the correction time information M. The time measuring unit 202 includes a layer value indicated by the layer information stored in the layer register 805, a transmission channel indicated by the transmission channel designation data stored in the transmission channel register 804, and a time indicated by the time measuring data stored in the time data register 802. Based on the information and information indicating the information source of the time information stored in the reception channel register 803, the correction time information M is generated.
The time measuring unit 202 supplies the generated correction time information M to the communication control unit 204.

ステップS560:通信制御部204は、近距離無線通信モジュール9に修正時刻信号を送信させる。ここで通信制御部204は、計時部202が供給する修正時刻情報Mを、エンコーダ40にエンコードさせて、近距離無線通信モジュール9に供給する。 Step S560: The communication control unit 204 causes the short-range wireless communication module 9 to transmit a correction time signal. Here, the communication control unit 204 causes the encoder 40 to encode the correction time information M supplied from the time measuring unit 202 and supplies the encoded information to the short-range wireless communication module 9.

ステップS570:プロセッサ20は、リルート処理を実行する。リルート処理とは、上位レイヤの計時装置Cとの接続が途絶えた場合に、新たに受信信号を受信し、この受信信号を送信した送信装置を、修正時刻信号を受信するための計時装置Cであると新たに決定する処理である。リルート処理の具体例については、図11において説明した子機モードにおける近距離受信処理と同様である。
プロセッサ20は、リルート処理を実行すると、ステップS510の処理を実行する。
Step S570: The processor 20 executes a reroute process. The reroute processing is a timing device C for receiving a correction time signal when a connection with the timing device C of the upper layer is interrupted, and newly receiving a received signal and transmitting the received signal. This is a process for newly determining that there is. A specific example of the reroute process is the same as the short distance reception process in the slave mode described in FIG.
When executing the reroute process, the processor 20 executes the process of step S510.

(通常時の計時動作)
通常の動作時において、制御部12の計時データ取得部30は、制御部水晶振動子11の発振信号を用いて一定時間(例えば、50ms)を計時する毎に、計時時刻を更新するための計時割込信号をプロセッサ20に供給する。この計時信号に応答して、プロセッサ20は、図14に示す処理を開始する。
図14は、本実施形態に係る通常時の計時処理の一例を示す図である。
(Normal timekeeping operation)
During a normal operation, the time measurement data acquisition unit 30 of the control unit 12 uses the oscillation signal of the control unit crystal resonator 11 to measure a time for updating a time measurement every time a certain time (for example, 50 ms) is measured. An interrupt signal is supplied to the processor 20. In response to this timing signal, the processor 20 starts the process shown in FIG.
FIG. 14 is a diagram illustrating an example of a normal time measurement process according to the present embodiment.

ステップS600:計時部202は、計時データレジスタ802に記憶されている計時データを修正する。
したがって、計時システムSは、計時装置C1と、計時装置C1から修正時刻信号を受信し、受信した修正時刻信号に含まれる修正時刻情報Mに基づいて自装置の計時データを修正する子計時装置(計時装置C2〜計時装置C6)を備える。
ステップS610:計時部202は、表示制御部207に表示装置5の表示情報の更新などの処理を実行させる。
Step S600: The time measuring unit 202 corrects the time data stored in the time data register 802.
Therefore, the time measuring system S receives the correction time signal from the time measuring device C1 and the time measuring device C1, and corrects the time measuring data of the own device based on the correction time information M included in the received correction time signal ( A time measuring device C2 to a time measuring device C6).
Step S610: The time measuring unit 202 causes the display control unit 207 to execute processing such as updating display information of the display device 5.

以上に説明したように、本実施形態に係る計時装置C1は、受信部(近距離無線通信モジュール9)と、受信タイミング制御部(通信制御部204)と、経過時間計測部205と、受信間隔変更部206と、修正部201と、送信部(近距離無線通信モジュール9)とを備える。
受信部(近距離無線通信モジュール9)は、計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する。
受信タイミング制御部(通信制御部204)は、所定の受信間隔に基づいて、受信部(近距離無線通信モジュール9)による基準時刻信号の受信タイミングを制御する。
経過時間計測部205は、受信部(近距離無線通信モジュール9)が基準時刻信号を最後に受信してからの経過時間を計測する。
受信間隔変更部206は、経過時間計測部205によって計測された経過時間が所定の時間以上である場合に、受信間隔をより短い間隔に変更する。
修正部201は、受信部(近距離無線通信モジュール9)が受信した基準時刻信号に基づいて、現在時刻を示す計時データを修正する。
送信部(近距離無線通信モジュール9)は、修正部201が修正した計時データを示す修正時刻情報Mを含む修正時刻信号を他の計時装置Cに送信する。
As described above, the timing device C1 according to the present embodiment includes the reception unit (short-range wireless communication module 9), the reception timing control unit (communication control unit 204), the elapsed time measurement unit 205, and the reception interval. A change unit 206, a correction unit 201, and a transmission unit (short-range wireless communication module 9) are provided.
The receiving unit (near field communication module 9) receives a reference time signal including reference time information indicating a reference time for timekeeping.
The reception timing control unit (communication control unit 204) controls the reception timing of the reference time signal by the reception unit (near field communication module 9) based on a predetermined reception interval.
The elapsed time measuring unit 205 measures the elapsed time since the receiving unit (short-range wireless communication module 9) last received the reference time signal.
The reception interval changing unit 206 changes the reception interval to a shorter interval when the elapsed time measured by the elapsed time measuring unit 205 is equal to or longer than a predetermined time.
The correction unit 201 corrects the time measurement data indicating the current time based on the reference time signal received by the reception unit (near field communication module 9).
The transmission unit (short-range wireless communication module 9) transmits a correction time signal including correction time information M indicating the time measurement data corrected by the correction unit 201 to another time measuring device C.

この構成により、本実施形態に係る計時装置C1では、基準時刻信号を最後に受信してからの経過時間が所定の時間以上である場合に受信間隔をより短い間隔に変更できるため、時刻同期に失敗することを減らすことができる。   With this configuration, the timing device C1 according to the present embodiment can change the reception interval to a shorter interval when the elapsed time since the last reception of the reference time signal is equal to or longer than a predetermined time. It can reduce failure.

スマートフォンSMと計時装置C1の位置関係は常に変動する。例えば、一般家庭ではユーザが居間から寝室へ移動したり、オフィスでは管理者が社内で移動したり食事に出かけたりすることなどが考えられる。このため3時間毎に1回10秒間のアドバタイジングでは時刻同期できない可能性がある。本実施形態に係る計時装置C1では、スマートフォンSMからの基準時刻信号の自動受信に失敗すると、アドバタイジングの間隔を10分間に切替えるため、時刻同期に失敗することを減らすことができる。   The positional relationship between the smartphone SM and the timing device C1 always varies. For example, it is conceivable that the user moves from the living room to the bedroom in a general home, or the administrator moves in the office or goes out for a meal in the office. For this reason, there is a possibility that the time cannot be synchronized by advertising for 10 seconds once every 3 hours. In the time measuring device C1 according to the present embodiment, when the automatic reception of the reference time signal from the smartphone SM fails, the advertising interval is switched to 10 minutes, so that the time synchronization failure can be reduced.

また、本実施形態に係る計時装置C1では、受信間隔変更部206は、受信間隔をより短い間隔に変更した後に受信部(近距離無線通信モジュール9)が基準時刻信号を受信した場合、短い間隔に変更した受信間隔をより長い間隔に変更する。
この構成により、本実施形態に係る計時装置C1では、短い間隔に変更した受信間隔をより長い間隔に変更できるため、受信間隔を短い間隔に変更したままにする場合に比べて、受信動作に伴う消費電力を低くすることができる。
In the timing device C1 according to the present embodiment, the reception interval changing unit 206 changes the reception interval to a shorter interval and then receives the reference time signal after the reception unit (near field communication module 9) receives the reference time signal. Change the reception interval changed to to a longer interval.
With this configuration, in the timing device C1 according to the present embodiment, the reception interval changed to a short interval can be changed to a longer interval. Therefore, compared with the case where the reception interval is changed to a short interval, the reception operation is accompanied. Power consumption can be reduced.

また、本実施形態に係る計時システムSは、上記の計時装置C1と、子計時装置(計時装置C2〜計時装置C6)とを備える。子計時装置(計時装置C2〜計時装置C6)は、計時装置C1から修正時刻信号を受信し、受信した修正時刻信号に含まれる修正時刻情報Mに基づいて自装置の計時データを修正する。   In addition, the timing system S according to the present embodiment includes the above-described timing device C1 and the child timing devices (the timing device C2 to the timing device C6). The child time measuring device (time measuring device C2 to time measuring device C6) receives the correction time signal from the time measuring device C1, and corrects the time measuring data of the own device based on the correction time information M included in the received correction time signal.

この構成により、本実施形態に係る計時システムSでは、双方向通信により時刻情報を送信するシステムに比べて容易にネットワークを構築することができる。双方向通信により時刻情報を送信するシステムでは、システムに含まれる計時装置同士は、例えば、互いのIDを記憶することが求められる。本実施形態に係る計時システムSでは、計時装置C1がスマートフォンSMと双方向通信を行う以外は、一方向通信により時刻情報が送信、及び受信されるため、計時装置C1〜計時装置C6同士が互いのIDを記憶する必要がない。そのため、本実施形態に係る計時システムSでは、システムに含まれる子機の台数は、少なくともIDの記憶のための記憶容量による制限を受けずに増やすことができる。   With this configuration, the timekeeping system S according to the present embodiment can easily construct a network as compared with a system that transmits time information by bidirectional communication. In a system that transmits time information through two-way communication, the timing devices included in the system are required to store each other's ID, for example. In the timing system S according to the present embodiment, since the time information is transmitted and received by one-way communication except that the timing device C1 performs bidirectional communication with the smartphone SM, the timing devices C1 to C6 are mutually connected. There is no need to memorize the ID. Therefore, in the timing system S according to the present embodiment, the number of slave units included in the system can be increased without being limited by at least the storage capacity for storing IDs.

なお、図4において説明したように、計時装置Cの構成は、スマートフォンSMと通信を行う最上位のレイヤ0の計時装置C1と、他のレイヤの計時装置C2〜C6とにおいて共通である。したがって、本実施形態に係る計時装置Cでは、スマートフォンSMからの基準時刻信号の受信と、上位レイヤの計時装置Cからの修正時刻信号の受信とを共通の近距離無線通信モジュール9により行うことができる。   As described in FIG. 4, the configuration of the timing device C is common to the timing device C1 of the highest layer 0 that communicates with the smartphone SM and the timing devices C2 to C6 of the other layers. Therefore, in the timing device C according to the present embodiment, the reception of the reference time signal from the smartphone SM and the reception of the correction time signal from the timing device C in the upper layer can be performed by the common short-range wireless communication module 9. it can.

従来、親子時計のシステムの計時装置は、近距離無線通信モジュールとは別に、標準電波を受信するために長波受信モジュールを備えていた。また、子機は長波受信モジュールが不要であるため、子機のコストを下げるためには、子機を親機とは別の構成において製造する必要があった。これに対し、本実施形態に係る計時装置Cでは、従来の親子時計のシステムの計時装置に比べてコストを下げることができる。   Conventionally, a time measuring device of a parent-child clock system has a long wave receiving module for receiving a standard radio wave separately from the short-range wireless communication module. Further, since the slave unit does not require a long wave receiving module, it is necessary to manufacture the slave unit in a configuration different from that of the master unit in order to reduce the cost of the slave unit. On the other hand, the time measuring device C according to the present embodiment can reduce the cost as compared with the time measuring device of the conventional parent-child clock system.

(第2の実施形態)
以下、図面を参照しながら本発明の第2の実施形態について詳しく説明する。
上記第1の実施形態では、最上位の計時装置は、スマートフォンから最後に基準時刻信号を受信してからの経過時間に基づいて、基準時刻信号の受信間隔をより短い間隔に変更する場合について説明をした。本実施形態では、最上位の計時装置は、スマートフォンから基準時刻信号の受信に失敗した回数に基づいて、基準時刻信号の受信間隔をより短い間隔に変更する場合について説明をする。
本実施形態に係る計時システムを計時システムSaといい、計時装置を計時装置C1aという。計時システムSaは、図1の計時システムSにおいて計時装置C1が計時装置C1aに置き換わった点以外は、図1の計時システムSと同様である。以下の第2の実施形態の説明では、第1の実施形態とは異なる部分を中心に説明する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described in detail with reference to the drawings.
In the first embodiment described above, the uppermost timing device changes the reference time signal reception interval to a shorter interval based on the elapsed time since the last reception of the reference time signal from the smartphone. Did. In the present embodiment, the uppermost timing device will describe a case in which the reception interval of the reference time signal is changed to a shorter interval based on the number of times the reception of the reference time signal from the smartphone has failed.
The timing system according to the present embodiment is referred to as a timing system Sa, and the timing device is referred to as a timing device C1a. The timing system Sa is the same as the timing system S of FIG. 1 except that the timing device C1 is replaced with the timing device C1a in the timing system S of FIG. In the following description of the second embodiment, the description will focus on parts that are different from the first embodiment.

計時装置C1aの構成は、図4の計時装置Cの構成において、制御部12の代わりに制御部12aが備えられる点を除いて、図4の計時装置Cの構成と同様である。
図15は、本実施形態に係る制御部12aの構成の一例を示す図である。制御部12aは、プロセッサ20aと、計時データ取得部30と、エンコーダ40と、デコーダ50と、キー入力部60と、電圧データ入力部70と、レジスタ群80aとを備える。
The configuration of the timing device C1a is the same as the configuration of the timing device C of FIG. 4 except that the control unit 12a is provided instead of the control unit 12 in the configuration of the timing device C of FIG.
FIG. 15 is a diagram illustrating an example of the configuration of the control unit 12a according to the present embodiment. The control unit 12a includes a processor 20a, a time data acquisition unit 30, an encoder 40, a decoder 50, a key input unit 60, a voltage data input unit 70, and a register group 80a.

プロセッサ20aは、修正部201と、計時部202と、親機子機モード制御部203と、通信制御部204と、受信間隔変更部206と、受信間隔変更部206と、表示制御部207と、連続受信失敗回数カウント部208とを備える。
連続受信失敗回数カウント部208は、近距離無線通信モジュール9が基準時刻信号の受信に連続して失敗した回数である連続受信失敗回数をカウントする。
The processor 20a includes a correction unit 201, a timing unit 202, a parent device mode control unit 203, a communication control unit 204, a reception interval change unit 206, a reception interval change unit 206, a display control unit 207, And a continuous reception failure frequency counting unit 208.
The continuous reception failure count section 208 counts the continuous reception failure count, which is the number of times that the short-range wireless communication module 9 has failed to receive the reference time signal continuously.

レジスタ群80aは、親機子機モードレジスタ801と、計時データレジスタ802と、受信チャネルレジスタ803と、送信チャネルレジスタ804と、レイヤレジスタ805と、連続受信失敗回数レジスタ807とを備える。
連続受信失敗回数レジスタ807は、連続受信失敗回数を記憶する。
The register group 80a includes a master unit mode register 801, a time data register 802, a reception channel register 803, a transmission channel register 804, a layer register 805, and a continuous reception failure number register 807.
The continuous reception failure frequency register 807 stores the continuous reception failure frequency.

図16は、本実施形態に係る親機モード近距離通信処理の一例を示す図である。図16に示す処理は、図7に示した第1の実施形態のステップS101の親機モード近距離通信処理に対応する。
なお、ステップS700〜ステップS730、及びステップS750〜ステップS790の各処理は、図7におけるステップS200〜ステップS230、及びステップS250〜ステップS290の各処理と同様であるため、説明を省略する。
FIG. 16 is a diagram illustrating an example of the master mode short-range communication processing according to the present embodiment. The process shown in FIG. 16 corresponds to the master mode short-range communication process in step S101 of the first embodiment shown in FIG.
In addition, since each process of step S700-step S730 and step S750-step S790 is the same as each process of step S200-step S230 in FIG. 7, and step S250-step S290, description is abbreviate | omitted.

ステップS732:連続受信失敗回数カウント部208は、連続受信失敗回数レジスタ807に記憶される連続受信失敗回数の値を1だけ増やす。
ステップS740:連続受信失敗回数カウント部208は、連続受信失敗回数レジスタ807に記憶される連続受信失敗回数が所定の回数以上であるか否かを判定する。ここで所定の回数とは、例えば、2回である。
Step S732: The continuous reception failure frequency count unit 208 increases the value of the continuous reception failure frequency stored in the continuous reception failure frequency register 807 by one.
Step S740: The continuous reception failure frequency counting unit 208 determines whether or not the continuous reception failure frequency stored in the continuous reception failure frequency register 807 is equal to or greater than a predetermined number. Here, the predetermined number of times is, for example, twice.

なお、所定の回数は、受信間隔と、所定の時間とに基づいて決定されてもよい。例えば、所定の回数は、受信間隔と所定の回数との積により示される時間が、所定の時間以上となる条件に基づいて決定されてもよい。この場合、例えば、受信間隔が3時間であり、所定の時間が3時間である場合、所定の回数は1回としてよい。   The predetermined number of times may be determined based on the reception interval and the predetermined time. For example, the predetermined number of times may be determined based on a condition that the time indicated by the product of the reception interval and the predetermined number of times is equal to or longer than the predetermined time. In this case, for example, when the reception interval is 3 hours and the predetermined time is 3 hours, the predetermined number of times may be one.

連続受信失敗回数カウント部208が連続受信失敗回数レジスタ807に記憶される連続受信失敗回数が所定の回数以上であると判定する場合(ステップS740;YES)、受信間隔変更部206はステップS750の処理を実行する。
一方、連続受信失敗回数カウント部208が連続受信失敗回数レジスタ807に記憶される連続受信失敗回数が所定の回数以上でないと判定する場合(ステップS740;NO)、通信制御部204は、ステップS702の処理を繰り返す。
When the continuous reception failure frequency counting unit 208 determines that the continuous reception failure frequency stored in the continuous reception failure frequency register 807 is greater than or equal to a predetermined number (step S740; YES), the reception interval changing unit 206 performs the process of step S750. Execute.
On the other hand, when the continuous reception failure frequency counting unit 208 determines that the continuous reception failure frequency stored in the continuous reception failure frequency register 807 is not equal to or greater than a predetermined number (step S740; NO), the communication control unit 204 determines that the number of continuous reception failure times is not the same as that in step S702. Repeat the process.

なお、上述した実施形態における計時装置C1〜C6、計時装置C1a、の一部、例えば、修正部201、計時部202、親機子機モード制御部203、通信制御部204、経過時間計測部205、受信間隔変更部206、表示制御部207、及び連続受信失敗回数カウント部208をコンピュータで実現するようにしてもよい。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、計時装置C1〜C6、計時装置C1aに内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
また、上述した実施形態における計時装置C1〜C6、計時装置C1aの一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。計時装置C1〜C6、計時装置C1aの各機能ブロックは個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。
Note that some of the timing devices C1 to C6 and the timing device C1a in the above-described embodiment, for example, the correction unit 201, the timing unit 202, the parent device mode control unit 203, the communication control unit 204, and the elapsed time measurement unit 205. The reception interval changing unit 206, the display control unit 207, and the continuous reception failure frequency counting unit 208 may be realized by a computer. In that case, a program for realizing the control function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed. The “computer system” here is a computer system built in the timing devices C1 to C6 and the timing device C1a and includes hardware such as an OS and peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” is a medium that dynamically holds a program for a short time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, In this case, a volatile memory inside a computer system that serves as a server or a client may be included that holds a program for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
In addition, a part or all of the timing devices C1 to C6 and the timing device C1a in the above-described embodiments may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each functional block of the timing devices C1 to C6 and the timing device C1a may be individually made into a processor, or a part or all of them may be integrated into a processor. Further, the method of circuit integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to the advancement of semiconductor technology, an integrated circuit based on the technology may be used.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。   As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to that described above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to

S、Sa…計時システム、C、C1、C2、C3、C4、C5、C6…計時装置、SM…スマートフォン、2…電源回路、21…AC(交流)アダプタ接続プラグ、22…バッテリ、3…コネクタ、4…主装置、5…表示装置、6…電圧デテクタ、7…レギュレータ、8…スイッチ群、9…近距離無線通信モジュール、10…通信モジュール水晶振動子、11…制御部水晶振動子、12、12a…制御部、20、20a…プロセッサ、201…修正部、202…計時部、203…親機子機モード制御部、204…通信制御部、205…経過時間計測部、206…受信間隔変更部、207…表示制御部、208…連続受信失敗回数カウント部、30…計時データ取得部、40…エンコーダ、50…デコーダ、60…キー入力部、70…電圧データ入力部、80、80a…レジスタ群、801…親機子機モードレジスタ、802…計時データレジスタ、803…受信チャネルレジスタ、804…送信チャネルレジスタ、805…レイヤレジスタ、806…経過時間レジスタ、807…連続受信失敗回数レジスタ、P…表示パネル S, Sa ... timing system, C, C1, C2, C3, C4, C5, C6 ... timing device, SM ... smart phone, 2 ... power circuit, 21 ... AC (alternating current) adapter connection plug, 22 ... battery, 3 ... connector DESCRIPTION OF SYMBOLS 4 ... Main apparatus, 5 ... Display apparatus, 6 ... Voltage detector, 7 ... Regulator, 8 ... Switch group, 9 ... Short-range wireless communication module, 10 ... Communication module crystal oscillator, 11 ... Control part crystal oscillator, 12 , 12a ... control unit 20, 20a ... processor, 201 ... correction unit, 202 ... timing unit, 203 ... master unit mode control unit, 204 ... communication control unit, 205 ... elapsed time measurement unit, 206 ... change in reception interval 207: Display control unit, 208 ... Continuous reception failure count unit, 30 ... Timekeeping data acquisition unit, 40 ... Encoder, 50 ... Decoder, 60 ... Key input unit, 70 ... Voltage data Input unit, 80, 80a, register group, 801, parent device mode register, 802, timing data register, 803 ... reception channel register, 804 ... transmission channel register, 805 ... layer register, 806 ... elapsed time register, 807 ... Continuous reception failure count register, P ... Display panel

Claims (4)

計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信部と、
所定の受信間隔に基づいて、前記受信部による前記基準時刻信号の受信タイミングを制御する受信タイミング制御部と、
前記受信部が前記基準時刻信号を最後に受信してからの経過時間を計測する経過時間計測部と、
前記経過時間計測部によって計測された前記経過時間が所定の時間以上である場合に、前記受信間隔をより短い間隔に変更する受信間隔変更部と、
前記受信部が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正部と、
前記修正部が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信部と、
を備える計時装置。
A receiving unit for receiving a reference time signal including reference time information indicating a reference time for timekeeping;
A reception timing control unit that controls reception timing of the reference time signal by the reception unit based on a predetermined reception interval;
An elapsed time measuring unit that measures an elapsed time since the receiving unit last received the reference time signal; and
A reception interval changing unit that changes the reception interval to a shorter interval when the elapsed time measured by the elapsed time measurement unit is a predetermined time or more;
Based on the reference time signal received by the reception unit, a correction unit for correcting time data indicating the current time;
A transmission unit for transmitting a correction time signal including correction time information indicating the time data corrected by the correction unit to another time measuring device;
A timing device.
前記受信間隔変更部は、前記受信間隔をより短い間隔に変更した後に前記受信部が前記基準時刻信号を受信した場合、前記短い間隔に変更した前記受信間隔をより長い間隔に変更する
請求項1に記載の計時装置。
The reception interval changing unit changes the reception interval changed to the shorter interval to a longer interval when the reception unit receives the reference time signal after changing the reception interval to a shorter interval. The timing device described in 1.
請求項1または請求項2に記載の計時装置と、
前記計時装置から前記修正時刻信号を受信し、受信した前記修正時刻信号に含まれる前記修正時刻情報に基づいて自装置の前記計時データを修正する子計時装置と
を備える計時システム。
A timing device according to claim 1 or 2,
A timekeeping system comprising: a slave timekeeping device that receives the correction time signal from the timekeeping device and corrects the timekeeping data of the own device based on the correction time information included in the received correction time signal.
計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信過程と、
所定の受信間隔に基づいて、前記受信過程による前記基準時刻信号の受信タイミングを制御する受信タイミング制御過程と、
前記受信過程において前記基準時刻信号が最後に受信されてからの経過時間を計測する経過時間計測過程と、
前記経過時間計測過程によって計測された前記経過時間が所定の時間以上である場合に、前記受信間隔をより短い間隔に変更する受信間隔変更過程と、
前記受信過程が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正過程と、
前記修正過程が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信過程と、
を有する計時方法。
A reception process for receiving a reference time signal including reference time information indicating a reference time for timekeeping;
A reception timing control process for controlling the reception timing of the reference time signal according to the reception process based on a predetermined reception interval;
An elapsed time measurement process for measuring an elapsed time since the reference time signal was last received in the reception process;
A reception interval changing step of changing the reception interval to a shorter interval when the elapsed time measured by the elapsed time measurement step is a predetermined time or more;
Based on the reference time signal received by the reception process, a correction process for correcting time data indicating the current time;
A transmission process of transmitting a correction time signal including correction time information indicating the time data corrected by the correction process to another timing device;
A timekeeping method.
JP2018104084A 2018-05-30 2018-05-30 Timekeeping device, timekeeping system, and timekeeping method Active JP7089945B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018104084A JP7089945B2 (en) 2018-05-30 2018-05-30 Timekeeping device, timekeeping system, and timekeeping method
CN201910149664.7A CN110557240A (en) 2018-05-30 2019-02-28 Time counting device, time counting system and time counting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018104084A JP7089945B2 (en) 2018-05-30 2018-05-30 Timekeeping device, timekeeping system, and timekeeping method

Publications (2)

Publication Number Publication Date
JP2019207213A true JP2019207213A (en) 2019-12-05
JP7089945B2 JP7089945B2 (en) 2022-06-23

Family

ID=68736378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018104084A Active JP7089945B2 (en) 2018-05-30 2018-05-30 Timekeeping device, timekeeping system, and timekeeping method

Country Status (2)

Country Link
JP (1) JP7089945B2 (en)
CN (1) CN110557240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210263480A1 (en) * 2020-02-25 2021-08-26 Casio Computer Co., Ltd. Electronic timepiece, wireless device, wireless communication system, time correction method, and non-transitory recording medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7318557B2 (en) * 2020-02-18 2023-08-01 トヨタ自動車株式会社 Communication system, control method and control program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005257487A (en) * 2004-03-11 2005-09-22 Seiko Clock Inc Timing device, timing system and timing method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07159559A (en) * 1993-12-07 1995-06-23 Casio Comput Co Ltd Time data receiver
JP2002328190A (en) * 2001-02-27 2002-11-15 Seiko Epson Corp Portable electronic device, control method thereof, and time correction system
JP2003215275A (en) * 2002-01-22 2003-07-30 Seiko Epson Corp Portable electronic device, reference timepiece and timepiece-function adjusting system
JP3454269B1 (en) * 2002-03-26 2003-10-06 セイコーエプソン株式会社 Radio-controlled clock and method of controlling radio-controlled clock
JP3419407B1 (en) * 2002-03-29 2003-06-23 セイコーエプソン株式会社 Electronic device and reception control method for electronic device
JP2008039396A (en) * 2006-08-01 2008-02-21 Seiko Epson Corp Time correction system, time correction method, and portable watch
JP5074157B2 (en) * 2007-11-09 2012-11-14 ソフトバンクモバイル株式会社 Time correction system, mobile phone device and wristwatch type terminal device
JP5463630B2 (en) * 2007-11-21 2014-04-09 セイコーエプソン株式会社 Time correction device, time measuring device with time correction device, and time correction method
JP2011149925A (en) * 2009-12-22 2011-08-04 Casio Computer Co Ltd Positioning device, positioning method, and program
JP5083384B2 (en) * 2010-07-22 2012-11-28 カシオ計算機株式会社 Time data receiver and radio clock
JP5747630B2 (en) * 2011-04-21 2015-07-15 セイコーエプソン株式会社 Electronic clock and time correction method
JP6734139B2 (en) * 2016-07-26 2020-08-05 シチズン時計株式会社 Time adjustment system, electronic device, program and time adjustment method
JP6759908B2 (en) * 2016-09-14 2020-09-23 カシオ計算機株式会社 Electronic clock, how to change the time of the electronic clock, and the program
JP2018048829A (en) * 2016-09-20 2018-03-29 カシオ計算機株式会社 Radio communication device, electronic watch, time correction method, transmission information generation method, and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005257487A (en) * 2004-03-11 2005-09-22 Seiko Clock Inc Timing device, timing system and timing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210263480A1 (en) * 2020-02-25 2021-08-26 Casio Computer Co., Ltd. Electronic timepiece, wireless device, wireless communication system, time correction method, and non-transitory recording medium

Also Published As

Publication number Publication date
CN110557240A (en) 2019-12-10
JP7089945B2 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
CN107817677B (en) Electronic timepiece, time changing method for electronic timepiece, and recording medium
JP2008022891A (en) Portable type information transmission system, portable type information transmitting terminal, portable type information receiving terminal
JP2013130562A (en) Electronic timepiece, time correction method, and program
JP6451666B2 (en) Communication device, electronic timepiece, communication method, and program
CN106998526B (en) Portable Time Synchronization System
JP7089945B2 (en) Timekeeping device, timekeeping system, and timekeeping method
JP6131987B2 (en) Wireless communication apparatus, electronic timepiece, wireless communication method, and program
JP2020022009A (en) Communication device, scanner terminal, communication system, communication method, and program
JP2018121250A (en) Information processing device and communication system
JP7006102B2 (en) Wireless communication devices, electronic clocks, wireless communication methods, and programs
JP6819091B2 (en) Communication devices, electronic clocks, communication methods and programs
JP2019062445A (en) Wireless communication device, electronic watch, transmission power setting method and wireless communication program
JP4542801B2 (en) Timing device, timing system, and timing method
JP2005257488A (en) Timing device, timing system and timing method
CN110557824B (en) Timing device, timing system and timing method
JP7117210B2 (en) clocks and information transmission systems
JP2018185148A (en) Communication device, electronic timepiece, method for changing time, method for generating notification signal, and program
JP7045887B2 (en) Timekeeping device, timekeeping system, and timekeeping method
JP2018044931A (en) Wireless communication apparatus, electronic timepiece, time changing method, time information providing method, and program
JP2019158734A (en) Clocking device, clocking system, and clocking method
JP2005257487A (en) Timing device, timing system and timing method
JP6551443B2 (en) Wireless communication apparatus, electronic timepiece, wireless communication method, and program
JP2018157341A (en) Wireless communication method, wireless communication device, electronic timepiece, and program
JP2005257486A (en) Timing device, timing system and timing method
CN113377002A (en) Electronic timepiece, wireless device, wireless communication system, time adjustment method, and computer readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210305

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20210510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220118

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220531

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220613

R150 Certificate of patent or registration of utility model

Ref document number: 7089945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250