JP7089945B2 - Timekeeping device, timekeeping system, and timekeeping method - Google Patents

Timekeeping device, timekeeping system, and timekeeping method Download PDF

Info

Publication number
JP7089945B2
JP7089945B2 JP2018104084A JP2018104084A JP7089945B2 JP 7089945 B2 JP7089945 B2 JP 7089945B2 JP 2018104084 A JP2018104084 A JP 2018104084A JP 2018104084 A JP2018104084 A JP 2018104084A JP 7089945 B2 JP7089945 B2 JP 7089945B2
Authority
JP
Japan
Prior art keywords
timekeeping
reception
time
unit
signal
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.)
Active
Application number
JP2018104084A
Other languages
Japanese (ja)
Other versions
JP2019207213A (en
Inventor
美由紀 今村
則充 細貝
Original Assignee
セイコータイムクリエーション株式会社
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 セイコータイムクリエーション株式会社 filed Critical セイコータイムクリエーション株式会社
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)

Description

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

複数の計時装置を配置し、親機である計時装置から子機である計時装置へと時刻情報を送信し、子機である計時装置の時刻修正を行なうことが可能な計時システムが知られている。そのような計時システムでは、無線通信を用いてネットワークを構築することが行われる。 There is known a timekeeping system that can arrange multiple timekeeping devices, transmit time information from the timekeeping device that is the master unit to the timekeeping device that is the slave unit, and adjust the time of the timekeeping device that is the slave unit. There is. 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 addresses such as Wi-Fi (registered trademark) or two-way communication using short-range wireless communication such as Bluetooth (registered trademark) is used. The pairing method is used. Such a method complicates control and 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 a node. Therefore, in the mesh type network, the timing control of transmission / reception becomes complicated and a large amount of power consumption is required.

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

特開2005-257484号公報Japanese Unexamined Patent Publication No. 2005-257484

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

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

本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信部と、所定の受信頻度に基づいて、前記受信部による前記基準時刻信号の受信タイミングを制御する受信タイミング制御部と、前記受信部が前記基準時刻信号を最後に受信してからの経過時間を計測する経過時間計測部と、前記経過時間計測部によって計測された前記経過時間が所定の時間以上である場合に、前記受信頻度をより高い頻度に変更する受信間隔変更部と、前記受信部が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正部と、前記修正部が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信部と、を備える計時装置である。 The present invention has been made to solve the above-mentioned problems, and one aspect of the present invention is a receiving unit that receives a reference time signal including reference time information indicating a reference time for time measurement, and a predetermined reception frequency . Based on this, 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 the elapsed time since the reception unit last received the reference time signal, and an elapsed time measurement unit. Based on the reception interval changing unit that changes the reception frequency to a higher frequency when the elapsed time measured by the elapsed time measuring unit is equal to or longer than a predetermined time, and the reference time signal received by the receiving unit. A time measuring device including a correction unit for correcting the time measurement data indicating the current time and a transmission unit for transmitting a correction time signal including the correction time information indicating the time measurement data corrected by the correction unit to another time measuring device. Is.

また、本発明の一態様は、上記の計時装置において、前記受信間隔変更部は、前記受信頻度をより高い頻度に変更した後に前記受信部が前記基準時刻信号を受信した場合、前記高い頻度に変更した前記受信頻度をより低い頻度に変更する。 Further, in one aspect of the present invention, in the timekeeping device, when the reception unit receives the reference time signal after changing the reception frequency to a higher frequency , the reception interval changing unit has the higher frequency . The changed reception frequency is changed to a lower frequency .

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

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

本発明によれば、時刻同期に失敗することを減らすことができる。 According to the present invention, it is possible to reduce the failure of time synchronization.

本発明の第1の実施形態に係る計時システムの構成の一例を示す図である。It is a figure which shows an example of the structure of the timekeeping system which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係るスマートフォンのペアリングのための画面の一例を示す図である。It is a figure which shows an example of the screen for the pairing of the smartphone which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る修正時刻情報及び通信チャネルの一例を示す図である。It is a figure which shows an example of the correction time information and a communication channel which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る計時装置の構成の一例を示す図である。It is a figure which shows an example of the structure of the timekeeping apparatus which concerns on 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 device which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る制御部の構成の一例を示す図である。It is a figure which shows an example of the structure of the control part which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る時刻情報受信のための前処理の一例を示す図である。It is a figure which shows an example of the preprocessing for receiving the time information which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る親機モード近距離通信処理の一例を示す図である。It is a figure which shows an example of the master unit mode short-range communication processing which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る基準時刻信号を受信するタイミングチャートの第1の例を示す図である。It is a figure which shows the 1st example of the timing chart which receives the reference time signal which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る基準時刻信号を受信するタイミングチャートの第2の例を示す図である。It is a figure which shows the 2nd example of the timing chart which receives the reference time signal which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る子機モードにおける近距離受信処理の一例を示す図である。It is a figure which shows an example of the short-distance reception processing in the handset mode which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る修正時刻信号送信処理の一例を示す図である。It is a figure which shows an example of the correction time signal transmission processing which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る子機モードにおける通常時の時刻修正のための処理の一例を示す図である。It is a figure which shows an example of the process for time adjustment in a normal time in the handset mode which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る通常時の計時処理の一例を示す図である。It is a figure which shows an example of the normal timekeeping processing which concerns on 1st Embodiment of this invention. 本発明の第2の実施形態に係る制御部の構成の一例を示す図である。It is a figure which shows an example of the structure of the control part which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る親機モード近距離通信処理の一例を示す図である。It is a figure which shows an example of the master unit mode short-range communication processing 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 showing an example of the configuration of the timekeeping system S according to the present embodiment. The timekeeping system S includes a plurality of timekeeping devices C1 to C6, and the timekeeping devices C1 to C6 form a tree-type network.
Hereinafter, one of the timekeeping devices C1 to C6 may be referred to as a timekeeping device C.

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

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

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

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

スマートフォン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 on the smartphone SM. When the smartphone SM receives the advertisement packet from the timekeeping device C1 while the application is activated, the smartphone SM displays the pairing start screen PI1 on the screen.
FIG. 2 is a diagram showing an example of a screen for pairing a smartphone SM. On the pairing start screen PI1, a message indicating that pairing with the time measuring device C1 is possible and a pairing button PB1 are displayed. When the pairing button PB1 is tapped here, the smartphone SM connects to the time measuring device C1 for pairing and transmits time information to the time measuring device C1 using the time profile. When the smartphone SM is connected to the time measuring device C1 and paired, the pairing completion screen PI2 is displayed on the screen, and a message indicating that the pairing is completed is displayed on the pairing completion screen PI2.
After that, the master unit periodically advertises every 3 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 to acquire time information.

図1においては、親機は計時装置C1のみであるが、複数の親機が接続圏内である場合、スマートフォンSMは複数の親機とペアリング可能である。複数の親機がリセットされた場合、スマートフォンSMは、図2のペアリングボタンPB1がタップされることにより複数の親機とペアリングされる。 In FIG. 1, the master unit is only the timekeeping device C1, but when a plurality of master units are within the connection range, the smartphone SM can be paired with the plurality of master units. When the plurality of master units are reset, the smartphone SM is paired with the plurality of master units 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 cannot connect to the smartphone for a predetermined time (for example, 3 hours), the master unit 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 by synchronizing the time with the smartphone SM within 10 minutes at the maximum. The timekeeping device C1 advertises again every 3 hours after the time synchronization.
Since the advertisement packet transmission operation is performed in a very short time, even if the advertisement is performed at 10-minute intervals, the battery life of the timekeeping device C1 is not significantly affected.

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

計時システムSでは、送信時は近距離無線通信における一方向通信を用いている。この近距離無線通信とは、一例としてビーエルイー(Bluetooth(登録商標) Low Energy:BLE)である。送信データにはネットワークの階層を示すレイヤ情報が含まれる。計時装置C2~C6は、初期受信時に受信したレイヤの値に1を加えて自装置のレイヤとする。計時装置C2~C6は、以降、自装置のレイヤの値より1小さいレイヤの値を有する送信データのみを取得し、ツリー型のネットワークが構築される。 In the timekeeping system S, one-way communication in short-range wireless communication is used at the time of transmission. This short-range wireless communication is, for example, Bluetooth (registered trademark) Low Energy: BLE. The transmitted data includes layer information indicating the hierarchy of the network. 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 the own device. After that, the timekeeping devices C2 to C6 acquire only the transmission data having a layer value one 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, it is possible to save time and effort such as pairing in short-distance communication and IP address setting in a general network, and it is possible to realize a parent-child clock system more easily than those.

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

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

ここで図3を参照し、修正時刻情報M及び通信チャネルについて説明する。
図3は、本実施形態に係る修正時刻情報M及び通信チャネルの一例を示す図である。修正時刻情報Mは、レイヤ情報M1、送信チャネル情報M2、時刻情報M3、時刻情報源M4、及びカレンダー情報M5を含む。
Here, reference to FIG. 3, the correction time information M and the communication channel will be described.
FIG. 3 is a diagram showing an example of the correction time information M and the communication channel according to the present embodiment. The modified 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 identifying the layer on which the time measuring device C that has transmitted the correction time signal is located. The layer information M1 takes, for example, the range of 0 to 99.

送信チャネル情報M2は、修正時刻信号が送信される通信チャネルを特定する情報である。通信チャネルが、例えば、60チャネル用意されている場合には、送信チャネル情報M2には、例えば、0~59の値のうち通信チャネルに対応するものが設定される。 The transmission channel information M2 is information for specifying the communication channel to 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 from 0 to 59 corresponding to the communication channel.

時刻情報M3は、年・月・日・時・分・秒・曜日等の時刻を示す情報である。
時刻情報源M4は、時刻情報M3がどの情報源に基づいて修正されたのかを示す情報である。時刻情報源M4は、スマートフォン、及び手動調整時の別を示す情報である。
カレンダー情報M5は、カレンダーを示す情報である。
The time information M3 is information indicating a time such as a year, a month, a day, an hour, a minute, a second, and a day of the week.
The time information source M4 is information indicating which information source the time information M3 was modified based on. The time information source M4 is information indicating the smartphone and the case 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 timekeeping system S will be continued.
In the timekeeping system S, a time slot TS every 10 seconds is provided 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 timings from overlapping between a plurality of transmission devices. .. Here, the transmission CH means a time-division time slot, not a frequency, and is randomly set from the numbers 0 to 59. An example of transmission timing is expressed by the equation (1).

Figure 0007089945000001
Figure 0007089945000001

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

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

計時装置Cは、リセット後の初期受信において受信した受信信号に含まれる修正時刻情報Mに基づき自機の受信チャネルおよびレイヤを記憶し、上位レイヤの計時装置Cの送信タイミングに合わせて、以降上位レイヤの計時装置Cから受信信号を受信するためのスキャンを開始する所定のタイミングを算出する。 The timekeeping device C stores the reception channel and layer of its own unit based on the correction time information M included in the received signal received in the initial reception after the reset, and is subsequently higher in accordance with the transmission timing of the upper layer timekeeping device C. A predetermined timing for starting a scan for receiving a received signal from the timekeeping 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 time measuring device C2 having a layer value of 1 receives the correction time information M from the time measuring device C1 having a layer value of 0. The timekeeping device C2 corrects the timekeeping data of its own device based on the time information M3 included in the correction time information M. The timekeeping device C2 generates the corrected time information M based on the corrected timed data. The timekeeping device C2 transmits the generated correction time information M to the timekeeping device C4 having a layer value of 2. Here, the timekeeping device C2 uses a transmission channel 3 different from the transmission channel 0 used by the timekeeping device C1 in the upper layer for transmission.

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

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

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

電源回路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 display panel P (for example, a liquid crystal display panel) having a segment structure, 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, with reference to FIG. 5, the display of the display panel P of the display device 5 will be described.
FIG. 5 is a diagram showing an example of the display of the display panel P of the display device 5 according to the present embodiment. The display panel P has a morning display segment P1, an afternoon display segment P2, a TL mark segment P3, a time display segment P4, a delimiter segment P5, a minute display segment P6, a second display segment P7, a master unit slave unit mode mark segment P8, and a BLE mark. It includes 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.

午前表示セグメント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 the correction time signal can be received from the time measuring device C in the upper layer. Further, by switching the display mode of the TL mark segment P3, it is displayed that reception is in progress, transmission is in progress, and the like.
The time display segment P4, the delimiter 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 slave unit mode mark segment P8 displays whether the timekeeping device C is set to the master unit mode or the slave unit mode. When the timekeeping device C is set to the master unit mode, the letter "P" in the master unit slave unit mode mark segment P8 lights up. On the other hand, when the timekeeping device C is set to the slave unit mode, the letter "C" in the master unit slave unit mode mark segment P8 lights up.

BLEマークセグメントP10は、スマートフォンSMからBLEなどの近距離無線通信により時刻情報を受信しているか否かを表示する。
アンテナマークセグメントP11と受信レベルセグメントP12とは、受信電波の強度
を表示するためのセグメントである。
バッテリマークセグメントP13は、バッテリ22の電圧状態を表示するためのセグメントである。
月表示セグメントP14と、日表示セグメントP15と、曜日表示セグメントP16と
は、月日と曜日とを表示するためのセグメントである。
The BLE mark segment P10 displays whether or not 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 timekeeping 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 oscillator 10, a control unit crystal oscillator 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 into 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 the initial state.
When the RECV switch is operated, a manual reception process for receiving a correction time signal is executed for a predetermined time.
When the MODE switch is operated, the mode switches between the master unit mode in which the reference time information is acquired by receiving from the smartphone SM by BLE and the slave unit mode in which the correction time information M is acquired from the timekeeping device C in 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, under the control of the control unit 12, a correction time signal, which is a reception signal including the correction time information M transmitted by the timekeeping device C in the upper layer, as a reception signal. The short-range wireless communication module 9 demodulates the received received 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 timekeeping device C in the lower layer by using a transmission channel different from the reception channel.

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

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

ここで図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 showing 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 measurement 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 timekeeping unit 202, a master unit / slave unit 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. Be prepared. The processor 20 includes a correction unit 201, a timekeeping unit 202, a master unit / slave unit 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. Let each process be performed.
The processor 20 is realized by a CPU, RAM, ROM, and the like.

修正部201は、近距離無線通信モジュール9が受信した受信信号である基準時刻信号に含まれる基準時刻情報に基づいて、計時データを修正する。また、修正部201は、近距離無線通信モジュール9が受信した受信信号である修正時刻信号に含まれる修正時刻情報Mに基づいて、計時データを修正する。
計時部202は、修正部201が修正した計時データに基づき計時を行う。
親機子機モード制御部203は、キー入力部60が供給する親機モードと子機モードとを切り替える信号に基づいて、親機子機モードレジスタ801に記憶される親機子機モード設定情報を変更する。
The correction unit 201 corrects the timekeeping data based on the reference time information included in the reference time signal which is the received signal received by the short-range wireless communication module 9. Further, the correction unit 201 corrects the timekeeping data based on the correction time information M included in the correction time signal which is the received signal received by the short-range wireless communication module 9.
The timekeeping unit 202 performs timekeeping based on the timekeeping data corrected by the correction unit 201.
The master unit slave unit mode control unit 203 has the master unit slave unit mode setting information stored in the master unit slave unit mode register 801 based on the signal for switching between the master unit mode and the slave unit mode supplied by 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.
Further, the communication control unit 204 controls the reception of the received signal by the short-range wireless communication module 9 and the transmission of the corrected 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 controls the display of various information on the display device 5.

計時データ取得部30は、制御部水晶振動子11からの発振信号をカウントして、一定時間毎に計時データを取得し、プロセッサ20に計時割込信号を出力する。ここで一定時間とは、例えば、100msである。 The timekeeping data acquisition unit 30 counts the oscillation signal from the control unit crystal oscillator 11, acquires the timekeeping data at regular time intervals, and outputs the timekeeping 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 the received signal received by the short-range wireless communication module 9, demodulates, for example, the baseband signal of the reference time information and the correction time information M, and supplies the baseband signal to the processor 20.

キー入力部60は、スイッチ群8の操作に従って入力されるオン・オフ信号をデコードして、プロセッサ20に供給する。
電圧データ入力部70は、電圧デテクタ6が検出した電圧値をプロセッサ20に出力する。
The key input unit 60 decodes the on / off signal input according to the operation of the switch group 8 and supplies it 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 unit slave unit mode register 801, a timekeeping data register 802, a receive 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 slave unit mode register 801 stores the master unit slave unit mode setting information. The master unit slave unit mode setting information indicates whether the timekeeping device C is set to the master unit mode or the slave unit mode.
The timekeeping data register 802 stores information indicating the current time measured by the timekeeping device C as timekeeping data. Here, the information indicating the current time is information indicating the month, day, hour, minute, second, and day of the week.

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

送信チャネルレジスタ804は、下位レイヤの計時装置Cに基準時刻信号を送信する送信チャネルを指定する送信チャネル指定データ(例えば、前述の0~59のいずれかの値)を記憶する。送信チャネルレジスタ804に記憶されているチャネル指定データは、修正時刻情報M内の送信チャネル情報M2として送信される。 The transmission channel register 804 stores transmission channel designation data (for example, a value of any of 0 to 59 described above) that specifies a transmission channel for transmitting a reference time signal to the timekeeping device C in the lower layer. The channel designation data stored in the transmission channel register 804 is transmitted as the 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, a value of 0 to 99, which is a range taken by the layer information M1 described above) indicating which layer of the plurality of layers the time measuring device C is located in.
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 arranges a plurality of timekeeping devices C constituting the timekeeping system S within 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 timekeeping device C starts preprocessing for receiving time information together with other initialization operations. This preprocessing 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 showing an example of preprocessing for receiving time information according to the present embodiment.
Step S100: The master unit slave unit mode control unit 203 determines whether or not the timekeeping device C is set to the master unit mode.

親機子機モード制御部203は、親機子機モードレジスタ801から、親機子機モード設定情報を取得する。親機子機モード制御部203が、取得した親機子機モード設定情報が、親機モードを示すと判定する場合(ステップS100;YES)、プロセッサ20はステップS101の処理を実行する。 The master unit slave unit mode control unit 203 acquires the master unit slave unit mode setting information from the master unit slave unit mode register 801. When the master unit slave unit mode control unit 203 determines that the acquired master unit slave unit mode setting information indicates the master unit 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 master unit slave unit mode control unit 203 determines that the acquired master unit slave unit mode setting information does not indicate the master unit mode (step S100; NO), the processor 20 is close to the slave unit mode in step S102. Executes distance reception processing. The handset mode short-distance reception process will be described later with reference to FIG.

ステップS100において、親機子機モード制御部203は、表示制御部207に親機子機モード設定情報を供給する。表示制御部207は、親機子機モード制御部203が供給する親機子機モード設定情報に応じて、表示装置5に親機子機モードマークセグメントP8を用いて、計時装置Cが親機モードに設定されているか、子機モードに設定されているかを表示させる。 In step S100, the master unit slave unit mode control unit 203 supplies the master unit slave unit mode setting information to the display control unit 207. In the display control unit 207, the master unit slave unit mode mark segment P8 is used for the display device 5 according to the master unit slave unit mode setting information supplied by the master unit slave unit mode control unit 203, and the time measuring device C is the master unit. Display whether the mode is set or the slave unit mode is set.

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

図8は、本実施形態に係る親機モード近距離通信処理の一例を示す図である。図8に示す処理は、図7に示したステップS101の親機モード近距離通信処理である。図9は、本実施形態に係る基準時刻信号を受信するタイミングチャートの第1の例を示す図である。図10は、本実施形態に係る基準時刻信号を受信するタイミングチャートの第2の例を示す図である。 FIG. 8 is a diagram showing an example of a master unit mode short-range communication process according to the present embodiment. The process shown in FIG. 8 is the master unit mode short-range communication process of step S101 shown in FIG. 7. FIG. 9 is a diagram showing a first example of a timing chart for receiving a reference time signal according to the present embodiment. FIG. 10 is a diagram showing 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 arrived. Here, the time synchronization timing is a timing at which the short-range wireless communication module 9 synchronizes with the control unit 12 in time before a predetermined time when the reception timing arrives. The time synchronization timing is, for example, 4 minutes 55 seconds before the reception timing.
When it is determined 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 it is determined 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 synchronizes the time 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 each perform independent timekeeping operations using a crystal oscillator. The time measured by the control unit 12 by the control unit crystal oscillator 11 is more accurate than the time measured by the short-range wireless communication module 9 by the communication module crystal oscillator 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 synchronizes the time. The timekeeping device C performs a reception operation for 10 seconds from 2:55:00 to 2:55:10. The time synchronization timing before this reception operation is 2:50:05, which is 4 minutes 55 seconds before 2:55:00. The short-range wireless communication module 9 synchronizes time with the control unit 12 at 2:50:05, which is the time synchronization timing.
Further, the timekeeping device C performs a reception operation for 10 seconds from 5:55:00 to 5:55:10. The time synchronization timing before this reception operation is 5:50:05, which is 4 minutes 55 seconds before 5:55:00. The short-range wireless communication module 9 synchronizes time with the control unit 12 at 5:50:05, which is the time synchronization timing.
In the example of FIG. 9, at 3:00:05 and 6:00:05, the short-range wireless communication module 9 transmits the correction time signal described later to the slave unit.

ステップ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 it is determined 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 it is determined 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. Intermittently transmitting an advertising signal 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 between three frequencies, and repeats transmission of an advertising signal and reception of a signal indicating a response to the advertising signal from the smartphone SM three times in a short time. Upon receiving the response signal from the smartphone SM, the short-range wireless communication module 9 starts a 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, it notifies the communication control unit 204 that the reception operation has started. Here, the reception operation is to transmit an advertising signal. When the short-range wireless communication module 9 notifies that the reception operation has 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 the received signal from the smartphone SM, the decoder 50 decodes the received signal received by the short-range wireless communication module 9 and takes out the reference time information and supplies it to the correction unit 201.
Further, when the short-range wireless communication module 9 receives the received 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. When the communication control unit 204 notifies that the elapsed time measuring unit 205 has succeeded in receiving the reference time signal, the elapsed time measuring unit 205 resets the elapsed time stored in the elapsed time register 806. Here, the elapsed time is the time elapsed since the last reference time signal was received.
The elapsed time measuring unit 205 causes the display device 5 to switch the BLE mark segment P10 from the blinking state to the lit 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 reception operation. The short-range wireless communication module 9 notifies the communication control unit 204 that the reception of the reference time signal has failed. Further, the communication control unit 204 notifies the elapsed time measurement unit 205 that the reception of the reference time signal has failed.
The elapsed time measuring unit 205 lights the BLE mark segment P10 of the display device 5 from the blinking state via the display control unit 207, for example, if it is within 24 hours after the last reception of the reference time signal. Switch to the state. The elapsed time measuring unit 205 turns off the BLE mark segment P10 when, for example, 24 hours have passed since the last time when the reference time signal was received.

ステップ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 the received signal from the smartphone SM.
When the communication control unit 204 determines that the short-range wireless communication module 9 has received the received 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 the communication control unit 204 determines that the short-range wireless communication module 9 has not received the received signal from the smartphone SM (step S230; NO), the communication control unit 204 executes 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 set to 3 hours, which is the same 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-range wireless communication module 9 last received the reference time signal (step S240; YES), the reception interval changing unit 206 determines that the reception interval changing unit 206 has passed in step S250. Execute the process.
On the other hand, when the elapsed time measuring unit 205 determines that a 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, the reception interval changing unit 206 changes the reception interval for receiving the reference time signal 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.
After that, 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 shown in FIG. 10, the short-range wireless communication module 9 starts the reception process at 2:55 and transmits the advertising signal to the smartphone SM for only 10 seconds, but cannot connect to the smartphone SM in these 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, at 2:55, 3 hours have passed since the last reference time signal was received from the smartphone SM. 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 in 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. When it is determined 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, when it is determined that the reception interval for receiving the reference time signal is not shorter than 3 hours, the reception interval changing unit 206 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 initially 3 hours, and in steps S230, S240, and S250, when 3 hours have elapsed since the last reception of the reference time signal, the reception interval change unit. After being changed to 10 minutes by 206, it is changed to 3 hours again.

図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 10 minutes after 3:05, connects to the smartphone SM in 10 seconds, and receives a reference time signal. .. After receiving the reference time signal, the reception interval changing unit 206 changes the reception interval from 10 minutes to 3 hours. 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 change.

なお、本実施形態では、受信間隔変更部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 after 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, the subsequent reception timings are 6:15, 9:15, 12:15, and the like.

このように、受信間隔変更部206は、受信間隔をより短い間隔に変更した後に近距離無線通信モジュール9が基準時刻信号を受信した場合、短い間隔に変更した受信間隔をより長い間隔に変更する。 In this way, 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 change 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 timekeeping data of the timekeeping 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 timekeeping 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 the short-range communication initial setting process. Here, the communication control unit 204 sets the reception channel register 803 with information indicating that the time is the time received from the smartphone SM in the time type. Further, the communication control unit 204 sets 0 as the 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の処理を繰り返す。
Further, the display control unit 207 causes the display device 5 to display information indicating the timekeeping data, the reception state, and the battery state stored in the timekeeping data register 802. The display contents of the display panel P of the display device 5 include, for example, the morning / afternoon display by the morning display segment P1 and the afternoon display segment P2, the time display segment P4, the delimiter segment P5, the minute display segment P6, and the second display segment P7. , Month display segment P14, day display segment P15, and day display segment P16 to display the year, month, day, hour, minute, second, and BLE mark segment P10 to indicate that time information has been acquired from a smartphone, and reception level segment P12 to display short-distance communication. It includes display of the reception status of radio waves, display of the power supply status based on the detected value of the voltage detector 6 captured via the voltage data input unit 70, and the like.
After the processor 20 executes the short-range communication initial setting process, the communication control unit 204 repeats the process of step S202.

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

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

ステップ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 suppress power consumption, the communication control unit 204 starts scanning 2 seconds before the transmission timing of the timekeeping device C of the upper layer during normal automatic reception, and the scan continues for a maximum of 4 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 the short-range time signal. When the communication control unit 204 determines that the short-range wireless communication module 9 has received the short-range time signal (step S310; YES), the communication control unit 204 acquires the correction time information M from the decoder 50. After that, 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-range 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 timekeeping data. The correction unit 201 acquires the correction time information M from the communication control unit 204. The correction unit 201 corrects the timekeeping data stored in the timekeeping 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 timekeeping system S.
When it is determined that a predetermined time has elapsed since the short-range wireless communication module 9 was started (step S330; YES), the communication control unit 204 executes the process of step S340. On the other hand, when it is determined that the predetermined time has not elapsed since the short-range wireless communication module 9 was started (step S330; NO), the communication control unit 204 repeats the process of step S310.

ステップ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 time-out process. The communication control unit 204 supplies the display control unit 207 with a signal indicating that reception of the received signal has failed.
The display control unit 207 causes the display device 5 to display that the reception of the received signal has failed by using the antenna mark segment P11 and the reception level segment P12 based on the signal supplied by the communication control unit 204. Here, the display device 5 blinks, for example, the antenna mark segment P11 and turns off the reception level segment P12. The user may change the position of the time measuring device C and re-install it in response to the failure of the time measuring device C to receive the received signal.
After that, the communication control unit 204 repeats the process of step S310.

(親機の動作)
上位レイヤの計時装置Cは、修正時刻情報Mを生成し、生成した修正時刻情報Mを修正時刻信号に含めて送信する。修正時刻情報Mには、修正部201が修正した計時データを示し、下位レイヤの計時装置Cが計時データを修正するための時刻情報が含まれる。
図12は、本実施形態に係る修正時刻信号送信処理の一例を示す図である。図12に示す処理は、最上位のレイヤ0の計時装置C1、レイヤ1の計時装置C2及び計時装置C3に共通である。
(Operation of the master unit)
The timekeeping device C in the upper layer generates the correction time information M, includes the generated correction time information M in the correction time signal, and transmits the generated correction time information M. The correction time information M indicates the timekeeping data corrected by the correction unit 201, and includes time information for the timekeeping device C in the lower layer to correct the timekeeping data.
FIG. 12 is a diagram showing an example of the correction time signal transmission process according to the present embodiment. The process shown in FIG. 12 is common to the timekeeping device C1 of the uppermost layer 0, the timekeeping device C2 of the layer 1, and the timekeeping 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 equation (1) based on the value of the layer of the own device stored in the layer register 805 and the transmission channel stored in the transmission channel register 804. do. The transmission timing is a transmission timing in which the timekeeping device C in the upper layer transmits a correction time signal to the timekeeping device C in the lower layer.

通信制御部204は、現在時刻が修正時刻信号の送信タイミングであると判定する場合(ステップS410;YES)、ステップS420の処理を実行する。一方、通信制御部204は、現在時刻が修正時刻信号の送信タイミングでないと判定する場合(ステップS410;NO)、修正時刻信号送信処理を終了する。 When 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 timekeeping 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 counting data stored in the timing data register 802. The correction time information M is generated based on the information and the information indicating the information source of the time information stored in the receive channel register 803.
The timekeeping 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 the correction time signal. Here, the communication control unit 204 encodes the correction time information M supplied by the time measuring unit 202 into the encoder 40 and supplies it 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 measurement data corrected by the correction unit 201 to the other time measuring device C.
After that, the processor 20 ends the reference time signal transmission process.

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

通信制御部204は、リルート条件が満たされたと判定する場合(ステップS500;YES)、ステップS570の処理を実行する。一方、通信制御部204は、リルート条件が満たされていないと判定する場合(ステップS500;NO)、ステップS510の処理を実行する。 When it is determined 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 it is determined 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 equation (1) based on the value of the layer of the own device stored in the layer register 805 and the reception channel stored in the reception channel register 803. do. The reception timing is the transmission timing of the timekeeping device C in the upper layer.

通信制御部204は、計時データレジスタ802に記憶される計時データを取得する。通信制御部204は、算出した受信タイミングと、取得した計時データが示す現在時刻とを比較し、現在時刻が受信タイミングの所定の時間だけ前であるか否かを判定する。ここで所定の時間とは、例えば、2秒である。 The communication control unit 204 acquires the timekeeping data stored in the timekeeping data register 802. The communication control unit 204 compares the calculated reception timing with the current time indicated by the acquired timekeeping 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の処理を実行する。 When 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 it is determined 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 timekeeping data stored in the timekeeping data register 802 based on the correction time information M supplied by 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 equation (1) based on the value of the layer of the own device stored in the layer register 805 and the transmission channel stored in the transmission channel register 804. do. The communication control unit 204 acquires the timekeeping data stored in the timekeeping data register 802. The communication control unit 204 compares the calculated transmission timing with the current time indicated by the acquired timekeeping 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は処理を終了する。 When 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 timing 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 counting data stored in the timing data register 802. The correction time information M is generated based on the information and the information indicating the information source of the time information stored in the receive channel register 803.
The timekeeping 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 the correction time signal. Here, the communication control unit 204 encodes the correction time information M supplied by the time measuring unit 202 into the encoder 40 and supplies it to the short-range wireless communication module 9.

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

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

ステップS600:計時部202は、計時データレジスタ802に記憶されている計時データを修正する。
したがって、計時システムSは、計時装置C1と、計時装置C1から修正時刻信号を受信し、受信した修正時刻信号に含まれる修正時刻情報Mに基づいて自装置の計時データを修正する子計時装置(計時装置C2~計時装置C6)を備える。
ステップS610:計時部202は、表示制御部207に表示装置5の表示情報の更新などの処理を実行させる。
Step S600: The timekeeping unit 202 corrects the timekeeping data stored in the timekeeping data register 802.
Therefore, the timekeeping system S receives the timekeeping device C1 and the timekeeping device C1 and corrects the timekeeping data of the own device based on the timekeeping information M included in the received timekeeping device (the child timekeeping device (). It is provided with a time measuring device C2 to a time measuring device C6).
Step S610: The timekeeping unit 202 causes the display control unit 207 to execute a process such as updating the 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 timekeeping device C1 according to the present embodiment includes a receiving unit (near field communication module 9), a receiving timing control unit (communication control unit 204), an elapsed time measuring unit 205, and a reception interval. It includes a changing unit 206, a modifying unit 201, and a transmitting unit (near field communication module 9).
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 (near field 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 counting data indicating the current time based on the reference time signal received by the reception unit (near field communication module 9).
The transmission unit (near field communication module 9) transmits a correction time signal including the 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, in the timekeeping device C1 according to the present embodiment, when the elapsed time since the last reception of the reference time signal is equal to or longer than a predetermined time, the reception interval can be changed to a shorter interval, so that the time synchronization can be performed. You can reduce the number of failures.

スマートフォンSMと計時装置C1の位置関係は常に変動する。例えば、一般家庭ではユーザが居間から寝室へ移動したり、オフィスでは管理者が社内で移動したり食事に出かけたりすることなどが考えられる。このため3時間毎に1回10秒間のアドバタイジングでは時刻同期できない可能性がある。本実施形態に係る計時装置C1では、スマートフォンSMからの基準時刻信号の自動受信に失敗すると、アドバタイジングの間隔を10分間に切替えるため、時刻同期に失敗することを減らすことができる。 The positional relationship between the smartphone SM and the timekeeping device C1 is constantly changing. For example, in a general household, a user may move from a living room to a bedroom, and in an office, an administrator may move in-house or go out for a meal. Therefore, it may not be possible to synchronize the time by advertising once every 3 hours for 10 seconds. In the timekeeping 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では、短い間隔に変更した受信間隔をより長い間隔に変更できるため、受信間隔を短い間隔に変更したままにする場合に比べて、受信動作に伴う消費電力を低くすることができる。
Further, in the timekeeping device C1 according to the present embodiment, when the reception unit (near field communication module 9) receives the reference time signal after changing the reception interval to a shorter interval, the reception interval changing unit 206 has a short interval. Change the reception interval changed to to a longer interval.
With this configuration, in the timekeeping device C1 according to the present embodiment, the reception interval changed to a short interval can be changed to a longer interval, so that the reception operation accompanies the reception operation as compared with the case where the reception interval is left changed to a short interval. Power consumption can be reduced.

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

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

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

従来、親子時計のシステムの計時装置は、近距離無線通信モジュールとは別に、標準電波を受信するために長波受信モジュールを備えていた。また、子機は長波受信モジュールが不要であるため、子機のコストを下げるためには、子機を親機とは別の構成において製造する必要があった。これに対し、本実施形態に係る計時装置Cでは、従来の親子時計のシステムの計時装置に比べてコストを下げることができる。 Conventionally, the timekeeping device of the parent-child clock system is equipped with a long-wave receiving module for receiving standard radio waves in addition to 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, in the timekeeping device C according to the present embodiment, the cost can be reduced as compared with the timekeeping 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, the second embodiment of the present invention will be described in detail with reference to the drawings.
In the first embodiment described above, the top-level timekeeping device changes the reception interval of the reference time signal 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 case where the top-level timekeeping device changes the reception interval of the reference time signal to a shorter interval based on the number of times the reference time signal cannot be received from the smartphone will be described.
The timekeeping system according to this embodiment is referred to as a timekeeping system Sa, and the timekeeping device is referred to as a timekeeping device C1a. The timekeeping system Sa is the same as the timekeeping system S of FIG. 1 except that the timekeeping device C1 is replaced with the timekeeping device C1a in the timekeeping system S of FIG. In the following description of the second embodiment, the parts different from the first embodiment will be mainly described.

計時装置C1aの構成は、図4の計時装置Cの構成において、制御部12の代わりに制御部12aが備えられる点を除いて、図4の計時装置Cの構成と同様である。
図15は、本実施形態に係る制御部12aの構成の一例を示す図である。制御部12aは、プロセッサ20aと、計時データ取得部30と、エンコーダ40と、デコーダ50と、キー入力部60と、電圧データ入力部70と、レジスタ群80aとを備える。
The configuration of the timekeeping device C1a is the same as the configuration of the timekeeping device C of FIG. 4 except that the control unit 12a is provided in place of the control unit 12 in the configuration of the timekeeping device C of FIG.
FIG. 15 is a diagram showing 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 measurement 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 master unit / slave unit mode control unit 203, a communication control unit 204, a reception interval change unit 206, a reception interval change unit 206, and a display control unit 207. A continuous reception failure count counting unit 208 is provided.
The continuous reception failure count unit 208 counts the number of continuous reception failures, which is the number of times that the short-range wireless communication module 9 has continuously failed to receive the reference time signal.

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

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

ステップS732:連続受信失敗回数カウント部208は、連続受信失敗回数レジスタ807に記憶される連続受信失敗回数の値を1だけ増やす。
ステップS740:連続受信失敗回数カウント部208は、連続受信失敗回数レジスタ807に記憶される連続受信失敗回数が所定の回数以上であるか否かを判定する。ここで所定の回数とは、例えば、2回である。
Step S732: The continuous reception failure count unit 208 increases the value of the continuous reception failure count stored in the continuous reception failure count register 807 by one.
Step S740: The continuous reception failure count unit 208 determines whether or not the number of continuous reception failures stored in the continuous reception failure count 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 the 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 count unit 208 determines that the number of continuous reception failures stored in the continuous reception failure count register 807 is equal to or greater than a predetermined number (step S740; YES), the reception interval changing unit 206 processes the process of step S750. To execute.
On the other hand, when the continuous reception failure count unit 208 determines that the number of continuous reception failures stored in the continuous reception failure count register 807 is not equal to or more than a predetermined number (step S740; NO), the communication control unit 204 sets the communication control unit 204 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に代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。
It should be noted that a part of the timekeeping devices C1 to C6 and the timekeeping device C1a in the above-described embodiment, for example, the correction unit 201, the timekeeping unit 202, the master unit slave unit 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 count counting unit 208 may be realized by a computer. In that case, the program for realizing this control function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read by a computer system and executed. The term "computer system" as used herein is a computer system built into the timekeeping devices C1 to C6 and the timekeeping device C1a, and includes hardware such as an OS and peripheral devices. Further, the "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, and a storage device such as a hard disk built in a computer system. Further, a "computer-readable recording medium" is a medium that dynamically holds a program for a short time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In that case, a program may be held for a certain period of time, such as a volatile memory inside a computer system serving as a server or a client. Further, the above-mentioned program may be for realizing a part of the above-mentioned functions, and may be further realized for realizing the above-mentioned functions in combination with a program already recorded in the computer system.
Further, the timekeeping devices C1 to C6 and a part or all of the timekeeping devices C1a in the above-described embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each functional block of the timekeeping devices C1 to C6 and the timekeeping 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 making an integrated circuit is not limited to the LSI, and may be realized by a dedicated circuit or a general-purpose processor. Further, when an integrated circuit technology that replaces an LSI appears due to advances in semiconductor technology, an integrated circuit based on this technology may be used.

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

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 ... Time measuring system, C, C1, C2, C3, C4, C5, C6 ... Time measuring device, SM ... Smartphone, 2 ... Power supply circuit, 21 ... AC (AC) adapter connection plug, 22 ... Battery, 3 ... Connector 4, Main device, 5 ... Display device, 6 ... Voltage detector, 7 ... Regulator, 8 ... Switch group, 9 ... Short-range wireless communication module, 10 ... Communication module crystal oscillator, 11 ... Control unit crystal oscillator, 12 , 12a ... Control unit, 20, 20a ... Processor, 201 ... Correction unit, 202 ... Measuring unit, 203 ... Master unit slave unit mode control unit, 204 ... Communication control unit, 205 ... Elapsed time measurement unit, 206 ... Reception interval change Unit, 207 ... Display control unit, 208 ... Continuous reception failure count count unit, 30 ... Measuring data acquisition unit, 40 ... Encoder, 50 ... Decoder, 60 ... Key input unit, 70 ... Voltage data input unit, 80, 80a ... Register Group, 801 ... Master unit slave mode register, 802 ... Timed data register, 803 ... Receive 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 receiver that receives a reference time signal that includes reference time information that indicates the reference time for timekeeping.
A reception timing control unit that controls the reception timing of the reference time signal by the reception unit based on a predetermined reception frequency .
An elapsed time measuring unit that measures the elapsed time since the receiving unit last received the reference time signal, and an elapsed time measuring unit.
A reception interval changing unit that changes the reception frequency to a higher frequency when the elapsed time measured by the elapsed time measuring unit is equal to or longer than a predetermined time.
A correction unit that corrects timekeeping data indicating the current time based on the reference time signal received by the reception unit, and a correction unit.
A transmission unit that transmits a correction time signal including correction time information indicating the measurement data corrected by the correction unit to another time measuring device, and a transmission unit.
A timekeeping device equipped with.
前記受信間隔変更部は、前記受信頻度をより高い頻度に変更した後に前記受信部が前記基準時刻信号を受信した場合、前記高い頻度に変更した前記受信頻度をより低い頻度に変更する
請求項1に記載の計時装置。
The reception interval changing unit changes the reception frequency changed to a higher frequency to a lower frequency when the receiving unit receives the reference time signal after changing the reception frequency to a higher frequency. The timekeeping device described in.
請求項1または請求項2に記載の計時装置と、
前記計時装置から前記修正時刻信号を受信し、受信した前記修正時刻信号に含まれる前記修正時刻情報に基づいて自装置の前記計時データを修正する子計時装置と
を備える計時システム。
The timekeeping device according to claim 1 or 2,
A timekeeping system including a child timekeeping device that receives the timekeeping signal from the timekeeping device and corrects the timekeeping data of the own device based on the timekeeping information included in the received timekeeping signal.
計時の基準時刻を示す基準時刻情報を含む基準時刻信号を受信する受信過程と、
所定の受信頻度に基づいて、前記受信過程による前記基準時刻信号の受信タイミングを制御する受信タイミング制御過程と、
前記受信過程において前記基準時刻信号が最後に受信されてからの経過時間を計測する経過時間計測過程と、
前記経過時間計測過程によって計測された前記経過時間が所定の時間以上である場合に、前記受信頻度をより高い頻度に変更する受信間隔変更過程と、
前記受信過程が受信した前記基準時刻信号に基づいて、現在時刻を示す計時データを修正する修正過程と、
前記修正過程が修正した前記計時データを示す修正時刻情報を含む修正時刻信号を他の計時装置に送信する送信過程と、
を有する計時方法。
The reception process of receiving a reference time signal including reference time information indicating the reference time of timekeeping, and
A reception timing control process that controls the reception timing of the reference time signal by the reception process based on a predetermined reception frequency , and a reception timing control process.
In the reception process, an elapsed time measuring process for measuring the elapsed time since the last reception of the reference time signal, and an elapsed time measuring process.
When the elapsed time measured by the elapsed time measuring process is equal to or longer than a predetermined time, the reception interval changing process for changing the reception frequency to a higher frequency and the reception interval changing process.
A correction process for correcting timekeeping data indicating the current time based on the reference time signal received by the reception process, and a correction process.
A transmission process of transmitting a correction time signal including correction time information indicating the time adjustment data corrected by the correction process to another time measuring device, and a transmission process.
Timekeeping method with.
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 JP2019207213A (en) 2019-12-05
JP7089945B2 true 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)

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 Clocking device, clocking system, and clocking method

Family Cites Families (8)

* 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 receiving device
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
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
JP6759908B2 (en) * 2016-09-14 2020-09-23 カシオ計算機株式会社 Electronic clock, how to change the time of the electronic clock, and the 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 Clocking device, clocking system, and clocking method

Also Published As

Publication number Publication date
JP2019207213A (en) 2019-12-05
CN110557240A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN107817677B (en) Electronic timepiece, time changing method for electronic timepiece, and recording medium
JP7089945B2 (en) Timekeeping device, timekeeping system, and timekeeping method
JP6451666B2 (en) Communication device, electronic timepiece, communication method, and program
JP6131987B2 (en) Wireless communication apparatus, electronic timepiece, wireless communication method, and program
US10972964B2 (en) Communication device, scanner terminal, communication system, communication method, and storage medium
JP6819091B2 (en) Communication devices, electronic clocks, communication methods and programs
JP7006102B2 (en) Wireless communication devices, electronic clocks, wireless communication methods, and programs
JP4542801B2 (en) Timing device, timing system, and timing method
JP7117210B2 (en) clocks and information transmission systems
JP2005257488A (en) Clocking device, clocking system, and clocking method
JP7178182B2 (en) Timing device, timing system, and timing method
JP2019062445A (en) Radio communication device, electronic watch, transmission power setting method, and radio communication program
US10887856B2 (en) Adaptive mesh synchronized time network
JP2005257487A (en) Clocking device, clocking system, and clocking method
CN110275431B (en) Time counting device, time counting system and time counting method
JP4406345B2 (en) Timing device and timing method
JP2019158734A (en) Clocking device, clocking system, and clocking method
JP4517162B2 (en) Timing device, timing system, and timing method
JP2020088624A (en) Electronic apparatus
JP2005257486A (en) Clocking device, clocking system, and clocking method
JP6551443B2 (en) Wireless communication apparatus, electronic timepiece, wireless communication method, and program
JP4255277B2 (en) Wireless parent-child clock system and child clock
JP2023117659A (en) Communication device, communication method, program, and communication system
JP4255278B2 (en) Wireless parent and child clock system, receiver, parent clock and child clock
JP2007010621A (en) Radio type information transmission system

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