JP2019201319A - Synchronization method, synchronization program, and device - Google Patents

Synchronization method, synchronization program, and device Download PDF

Info

Publication number
JP2019201319A
JP2019201319A JP2018094598A JP2018094598A JP2019201319A JP 2019201319 A JP2019201319 A JP 2019201319A JP 2018094598 A JP2018094598 A JP 2018094598A JP 2018094598 A JP2018094598 A JP 2018094598A JP 2019201319 A JP2019201319 A JP 2019201319A
Authority
JP
Japan
Prior art keywords
synchronization
advertising packet
devices
predetermined channel
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018094598A
Other languages
Japanese (ja)
Other versions
JP7047589B2 (en
Inventor
境 克司
Katsushi Sakai
克司 境
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018094598A priority Critical patent/JP7047589B2/en
Publication of JP2019201319A publication Critical patent/JP2019201319A/en
Application granted granted Critical
Publication of JP7047589B2 publication Critical patent/JP7047589B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

To provide a synchronization method for synchronizing time of a plurality of devices with high accuracy, a synchronization program, and a device.SOLUTION: The synchronization method includes: causing a synchronization control device to repeatedly broadcast an advertising packet including synchronization information on a predetermined channel; causing a plurality of devices to scan the advertising packet on a predetermined channel; and causing the plurality of devices to set a time of a timer to a predetermined value and repeatedly execute a process of scanning again on the predetermined channel when receiving the advertising packet on the predetermined channel.SELECTED DRAWING: Figure 9

Description

本発明は、同期方法、同期プログラム、及びデバイスに関する。   The present invention relates to a synchronization method, a synchronization program, and a device.

近年、モノのインターネット(Internet of Things、IoT)という言葉とともに、通信機能が備えたIoT機器が普及してきている。こうした通信機能を備える大量のIoT機器は、周辺環境を検出するセンサを備え、至る所に設置されてユビキタスウェアとして利用されている。そして、こうしたセンサを備えるデバイスで収集される各種情報から、多様なサービスの実現が期待されている。   In recent years, along with the term Internet of Things (IoT), IoT devices with communication functions have become widespread. A large number of IoT devices having such a communication function include sensors for detecting the surrounding environment, and are installed everywhere and used as ubiquitous wear. And various services are expected from various information collected by devices equipped with such sensors.

特開2006−60602号公報JP 2006-60602 A 特開2015−162879号公報Japanese Patent Laying-Open No. 2015-162879 特開2017−130850号公報JP 2017-130850 A

こうしたサービスを拡充していく上で、デバイスの時刻が同期されていることは有用である。例えば、或る場所で音が発生した際に、マイクを備える複数のデバイスで音を検出し、音が検出された時刻から音の発生源の位置を特定する場合、音が検出された時刻の差から位置が推定される。そのため、高精度な機器間の時刻同期が求められる。こうした厳密な時刻同期は、専用の機器をデバイスに接続するなどして実行することが可能である。しかしながら、例えば、それぞれのデバイスに専用の機器を接続して時刻を合わせるのは手間がかかる。また、利用されるデバイスの数が増えると労力が増大する。そのため、複数のデバイスの時刻を高精度に同期させることのできる更なる手法の提供が望まれている。   In expanding such services, it is useful that the device times are synchronized. For example, when sound is generated at a certain location, the sound is detected by a plurality of devices including microphones, and the position of the sound source is specified from the time when the sound is detected. The position is estimated from the difference. Therefore, highly accurate time synchronization between devices is required. Such strict time synchronization can be executed by connecting a dedicated device to the device. However, for example, it takes time to connect a dedicated device to each device and set the time. Also, the effort increases as the number of devices used increases. Therefore, it is desired to provide a further method that can synchronize the times of a plurality of devices with high accuracy.

1つの側面では、本発明は、複数のデバイスの時刻を高精度に同期させることを目的とする。   In one aspect, the present invention aims to synchronize the time of a plurality of devices with high accuracy.

本発明の一つの態様の同期方法は、同期情報を含むアドバタイジングパケットを所定のチャネルで繰り返し同期制御装置がブロードキャストし、所定のチャネルで複数のデバイスがアドバタイジングパケットをスキャンし、複数のデバイスが、アドバタイジングパケットを所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、所定のチャネルで再びスキャンする処理を繰り返し実行する、ことを含む。   In the synchronization method according to one aspect of the present invention, an advertisement packet including synchronization information is repeatedly broadcast on a predetermined channel by a synchronization control apparatus, a plurality of devices scan the advertising packet on a predetermined channel, and the plurality of devices are advertised. When a packet is received on a predetermined channel, the timer time is set to a predetermined value, and the process of scanning again on the predetermined channel is repeatedly executed.

複数のデバイスの時刻を高精度に同期させるができる。   The time of multiple devices can be synchronized with high accuracy.

実施形態に係る同期システムを例示する図である。1 is a diagram illustrating a synchronization system according to an embodiment. 実施形態に係るデバイスのブロック構成を例示する図である。It is a figure which illustrates the block configuration of the device which concerns on embodiment. 実施形態に係る同期制御装置のブロック構成を例示する図である。It is a figure which illustrates the block configuration of the synchronous control apparatus which concerns on embodiment. 実施形態に係るアドバタイジングパケットに含まれるデータ領域の構成を示す図である。It is a figure which shows the structure of the data area contained in the advertising packet which concerns on embodiment. 例示的なアドバタイズ処理を示す図である。It is a figure which shows an example advertisement process. 実施形態に係るアドバタイズ処理を例示する図である。It is a figure which illustrates the advertising process which concerns on embodiment. 実施形態に係るアドバタイズ処理を例示する図である。It is a figure which illustrates the advertising process which concerns on embodiment. 実施形態に係る同期制御装置の制御部が実行する同期処理の動作フローを例示する図である。It is a figure which illustrates the operation | movement flow of the synchronous process which the control part of the synchronous control apparatus which concerns on embodiment performs. 実施形態に係るデバイスの制御部が実行する同期処理の動作フローを例示する図である。It is a figure which illustrates the operation | movement flow of the synchronous process which the control part of the device which concerns on embodiment performs. 実施形態に係るセンシングデータの利用を例示する図である。It is a figure which illustrates utilization of the sensing data concerning an embodiment. 実施形態に係るデバイスを実現するためのハードウェア構成を例示する図である。It is a figure which illustrates the hardware constitutions for realizing the device concerning an embodiment. 実施形態に係る同期制御装置を実現するためのハードウェア構成を例示する図である。It is a figure which illustrates the hardware constitutions for realizing the synchronous control device concerning an embodiment.

以下、図面を参照しながら、本発明のいくつかの実施形態について詳細に説明する。なお、複数の図面において対応する要素には同一の符号を付す。   Hereinafter, some embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, corresponding elements are denoted by the same reference numerals.

図1は、実施形態に係る同期システム100を例示する図である。図1の例では、同期システム100は、例えば、複数のデバイス101、同期制御装置102、アクセスポイント(AP)103、及びサーバ104を含む。デバイス101は、例えば、センサを備え、各種のセンシングデータを取得する。デバイス101は、例えば、Wi-Fi(登録商標)などの近距離無線通信でセンシングデータをアクセスポイント103を介してサーバ104に通知してよい。デバイス101は、例えば、設置自由度が高く、至る所に設置されて用いられるユビキタスウェアであってよい。   FIG. 1 is a diagram illustrating a synchronization system 100 according to the embodiment. In the example of FIG. 1, the synchronization system 100 includes, for example, a plurality of devices 101, a synchronization control apparatus 102, an access point (AP) 103, and a server 104. The device 101 includes, for example, a sensor and acquires various types of sensing data. The device 101 may notify the sensing data to the server 104 via the access point 103 by short-range wireless communication such as Wi-Fi (registered trademark), for example. For example, the device 101 may be ubiquitous wear that has a high degree of installation freedom and is installed and used everywhere.

また、サーバ104は、複数のデバイス101のセンサで取得されたセンシングデータを用いて多様なサービスを提供することができる。また、同期制御装置102は、通信範囲内にある複数のデバイス101に同期信号を送信する。デバイス101は、同期信号を受信すると、例えば、自装置のタイマを所定の値に設定し、同期完了通知を同期制御装置102に送信してよい。同期信号は、例えば、ブルートゥース(Bluetooth(登録商標))のアドバタイジングパケットであってよい。同期制御装置102は、アドバタイズを実行し、同期を行うためのアドバタイジングパケットを周囲に送信する。複数のデバイス101は、後述するように、アドバタイジングパケットの受信により同期される。なお、デバイス101は、例えば、Wi-Fi通信などを用いてアクセスポイント103を介して同期完了通知を同期制御装置102に送信してもよい。或いは、デバイス101は、Bluetooth通信を介して同期制御装置102に同期完了通知を直接送信してもよい。   Further, the server 104 can provide various services using sensing data acquired by sensors of the plurality of devices 101. Further, the synchronization control apparatus 102 transmits a synchronization signal to a plurality of devices 101 within the communication range. When the device 101 receives the synchronization signal, for example, the device 101 may set its own timer to a predetermined value and transmit a synchronization completion notification to the synchronization control device 102. The synchronization signal may be, for example, a Bluetooth (registered trademark) advertising packet. The synchronization control apparatus 102 performs advertisement and transmits an advertising packet for performing synchronization to the surroundings. As will be described later, the plurality of devices 101 are synchronized by receiving the advertising packet. Note that the device 101 may transmit a synchronization completion notification to the synchronization control apparatus 102 via the access point 103 using, for example, Wi-Fi communication. Alternatively, the device 101 may directly transmit a synchronization completion notification to the synchronization control apparatus 102 via Bluetooth communication.

図2は、実施形態に係るデバイス101のブロック構成を例示する図である。デバイス101は、例えば、制御部201、記憶部202、通信部203、センサ204、及びタイマ205を含む。制御部201は、例えば検出部211、及び実行部212などを含む。デバイス101の記憶部202は、例えば、後述する図9の動作フローの処理を記述したプログラムなどの情報を記憶している。通信部203は、例えば、Bluetooth通信機器及びWi-Fi通信機器などの近距離無線通信機器であってよい。通信部203は、制御部201の指示に従って、同期制御装置102やアクセスポイント103と通信してよい。センサ204は、例えば、センシング対象の状態や、環境の状態を検出するセンサである。センサ204は、例えば、温湿度センサ、照度センサ、紫外線センサ、気圧センサ、音センサ、加速度センサ、及びGPS(Global Positioning System)機器を含んでよく、プロセッサ1101の指示に従ってセンサ204は、センシングを行う。タイマ205は、時刻を計時する機器であり、例えば、日時を計時したり、或いは、所定の値からカウントアップしたりすることで時刻を計時してよい。これらの各部の詳細及び記憶部202に格納されている情報の詳細については後述する。   FIG. 2 is a diagram illustrating a block configuration of the device 101 according to the embodiment. The device 101 includes, for example, a control unit 201, a storage unit 202, a communication unit 203, a sensor 204, and a timer 205. The control unit 201 includes, for example, a detection unit 211 and an execution unit 212. The storage unit 202 of the device 101 stores, for example, information such as a program describing an operation flow process of FIG. The communication unit 203 may be a short-range wireless communication device such as a Bluetooth communication device and a Wi-Fi communication device. The communication unit 203 may communicate with the synchronization control device 102 and the access point 103 in accordance with instructions from the control unit 201. The sensor 204 is, for example, a sensor that detects a sensing target state and an environmental state. The sensor 204 may include, for example, a temperature / humidity sensor, an illuminance sensor, an ultraviolet sensor, an atmospheric pressure sensor, a sound sensor, an acceleration sensor, and a GPS (Global Positioning System) device, and the sensor 204 performs sensing according to an instruction from the processor 1101. . The timer 205 is a device that measures the time, and may count the time by, for example, measuring the date and time or counting up from a predetermined value. Details of these units and details of information stored in the storage unit 202 will be described later.

図3は、実施形態に係る同期制御装置102のブロック構成を例示する図である。同期制御装置102は、例えば、制御部301、記憶部302、及び通信部303を含む。同期制御装置102の記憶部302は、例えば、後述する図8の動作フローの処理を記述したプログラムなどの情報を記憶している。通信部303は、例えば、Bluetoothなどの近距離無線通信機器であってよく、制御部301の指示に従って、同期信号をデバイス101に送信する。同期信号には、例えば、Bluetoothのアドバタイジングパケットを用いることができる。例えば、これらの各部の詳細及び記憶部302に格納されている情報の詳細については後述する。   FIG. 3 is a diagram illustrating a block configuration of the synchronization control apparatus 102 according to the embodiment. The synchronization control apparatus 102 includes, for example, a control unit 301, a storage unit 302, and a communication unit 303. For example, the storage unit 302 of the synchronization control apparatus 102 stores information such as a program describing processing of an operation flow of FIG. The communication unit 303 may be a short-range wireless communication device such as Bluetooth, for example, and transmits a synchronization signal to the device 101 in accordance with an instruction from the control unit 301. As the synchronization signal, for example, a Bluetooth advertising packet can be used. For example, details of these units and details of information stored in the storage unit 302 will be described later.

図4は、実施形態に係るアドバタイジングパケットに含まれるデータ領域400の構成を示す図である。Bluetoothのアドバタイジングパケットには、例えば、ベンダーなどが定義可能な31バイトのデータ領域400がある。この31バイトのデータ領域の初めの3バイトには、プロトコルで定義されているアドバタイズのタイプを示す情報が格納される。次の11バイトは、デバイスの名称が格納される領域であり、デバイスの名称は、例えば、接続の確立の際に接続先を示すリストに表示される名称である。次の3バイトは、パワーレベルを示す情報である。次の14バイトはベンダーの識別情報を含み、更にベンダーが自由に値を設定できる領域401が含まれている。実施形態では、この領域401に同期指示:0x01又は同期終了:0x02を示す同期情報が格納される。   FIG. 4 is a diagram illustrating a configuration of the data area 400 included in the advertising packet according to the embodiment. The Bluetooth advertising packet includes, for example, a 31-byte data area 400 that can be defined by a vendor or the like. In the first 3 bytes of the 31-byte data area, information indicating the type of advertisement defined by the protocol is stored. The next 11 bytes are an area for storing the name of the device. The name of the device is, for example, a name displayed in a list indicating a connection destination when establishing a connection. The next 3 bytes are information indicating the power level. The next 14 bytes include vendor identification information, and further includes an area 401 in which the vendor can freely set a value. In the embodiment, synchronization information indicating synchronization instruction: 0x01 or synchronization end: 0x02 is stored in this area 401.

続いて、アドバタイジングパケットを用いた、同期処理について説明する。   Next, synchronization processing using advertising packets will be described.

図5は、例示的なアドバタイズ処理を示す図である。例えば、Bluetoothでは、親機(ここでは、同期制御装置102)は、サービスを提供する際に周辺に機器情報をアドバタイジングパケットに載せて発信する。アドバタイジングパケットは、37チャネル(ch)、38チャネル、39チャネルの順で繰り返し送信される。即ち、図5に示す様に、同期制御装置102は、所定の時間間隔ごとに、デバイス101に37チャネル、38チャネル、39チャネルの順でアドバタイジングパケットを送信する。   FIG. 5 is a diagram illustrating an exemplary advertisement process. For example, in Bluetooth, a parent device (here, the synchronization control device 102) transmits device information in an advertising packet to the periphery when providing a service. The advertising packet is repeatedly transmitted in the order of 37 channels (ch), 38 channels, and 39 channels. That is, as shown in FIG. 5, the synchronization control apparatus 102 transmits advertising packets to the device 101 in the order of 37 channels, 38 channels, and 39 channels at predetermined time intervals.

一方、デバイス101は、37チャネル、38チャネル、39チャネルの順にアドバタイジングパケットをスキャンする。そして、一致するチャネルでアドバタイジングパケットを受信すると、その後、デバイス101は、例えば、同期制御装置102とのペアリングの確立など、受信したアドバタイジングパケットのタイプに応じた処理を実行する。そして、例えば、この様に、デバイス101が、アドバタイジングパケットを受信した時刻で、デバイス101の時刻を所定の値に設定したり、リセットしたりするなどして時刻の同期を図ったとする。しかしながら、図5の例では、最初のアドバタイジングパケットを受信した時刻が、デバイス101:A、B、及びCで異なっている。そのため、例えば、デバイス101が、アドバタイジングパケットを受信した時刻で、複数のデバイス101の時刻を同期しようとしても時刻はズレてしまう。   On the other hand, the device 101 scans advertising packets in the order of 37 channels, 38 channels, and 39 channels. Then, when the advertising packet is received through the matching channel, the device 101 thereafter executes processing corresponding to the type of the received advertising packet, such as establishment of pairing with the synchronization control apparatus 102, for example. For example, it is assumed that the device 101 synchronizes the time by setting the time of the device 101 to a predetermined value or resetting the device 101 at the time when the advertising packet is received. However, in the example of FIG. 5, the time when the first advertising packet is received is different between the devices 101: A, B, and C. For this reason, for example, even when the device 101 attempts to synchronize the times of the plurality of devices 101 at the time when the advertising packet is received, the time is shifted.

そこで、実施形態では、まず、図6に示す様に、デバイス101のスキャンを実行するチャネルを、スキャンの順序における先頭のチャネル(例えば、37チャネル)に固定する。例えば、一定の期間にわたって37チャネルでのアドバタイズが受信されない場合も、次のチャネルのスキャンに移る前に再度、強制的に37チャネルでのスキャンに戻す。そのため、複数のデバイス101に、同じ37チャネルでのみアドバタイジングパケットを受信させることができる。また、スキャンの順序における先頭のチャネルを用いることで、アドバタイジングパケットの受信タイミングを一致させやすくなる。従って、複数のデバイス101の時刻が、アドバタイジングパケットにより同期され易くなる。   Therefore, in the embodiment, first, as illustrated in FIG. 6, the channel for executing the scan of the device 101 is fixed to the first channel (for example, 37 channels) in the scan order. For example, even when the advertisement on the 37 channel is not received for a certain period, the scan is forcibly returned to the scan on the 37 channel again before moving to the next channel scan. Therefore, it is possible for a plurality of devices 101 to receive advertising packets only on the same 37 channels. Also, by using the first channel in the scan order, it is easy to match the receiving timing of the advertising packet. Therefore, the times of the plurality of devices 101 can be easily synchronized by the advertising packet.

また、同期制御装置102は、所定の間隔(図6では、アドバタイジングインターバル)において、37チャネルでワンショットだけアドバタイジングパケットを送信する。それにより、複数のデバイス101に、最初のアドバタイジングパケットとして同じアドバタイジングパケットを受信させやすくすることができる。そして、例えば、アドバタイジングパケットを受信した時点で、時刻を所定の値にセットすることで、図6では、デバイス101:AとCの時刻を同期させることができる。しかしながら、この場合も、スキャンの開始時刻が大きくズレている場合などには、図6のデバイス101:Bに示す様に、別の時点で発せられたアドバタイジングパケットを受信して時刻がセットされてしまう。そのため、デバイス101:A及びCと、デバイス101:Bとは、時刻がズレてしまう。   Further, the synchronization control apparatus 102 transmits an advertising packet for only one shot in 37 channels at a predetermined interval (an advertising interval in FIG. 6). As a result, the plurality of devices 101 can easily receive the same advertising packet as the first advertising packet. Then, for example, when the advertising packet is received, the time of the devices 101: A and C can be synchronized in FIG. 6 by setting the time to a predetermined value. However, in this case as well, when the start time of the scan is greatly deviated, as shown in the device 101: B in FIG. 6, an advertising packet issued at another time point is received and the time is set. End up. For this reason, the devices 101: A and C and the device 101: B are out of time.

そこで、実施形態では更に、図7に示す様に、デバイス101は、同期アドバタイズを受信すると、スキャンを中止し、時刻を所定の値にセットするとともに、即座に37チャネルで再びスキャンを実行する。そして、同期制御装置102の通信範囲内にある全てのデバイス101が同じタイミングの同期アドバタイズを受信するまで、これを繰り返すことで、デバイス101を同期することができる。図7の例では、二度目のアドバタイジングパケットの受信で、デバイス101:A、B、Cが同期される。なお、同期処理の終了は、例えば、デバイス101に、アドバタイジングパケットを受信したら同期終了通知を同期制御装置102に宛てて送信させることで、検出することができる。例えば、同期制御装置102は、或る1度のアドバタイジングパケットの送信に対する返信として、通信範囲内にある全てのデバイス101から同期終了通知を一斉に受信すると、同期が完了したと判定してよい。なお、同期終了通知は、デバイス101からアクセスポイント103を介してWi-Fi通信で同期制御装置102に通知されてよいし、デバイス101からBluetooth通信で同期制御装置102に直接通知されてもよい。なお、例えば、上述の繰り返し処理を、ある程度の回数繰り返すと同期が完了することが経験上分かっている。そのため、別の実施形態では、同期制御装置102は、所定の回数、アドバタイジングパケットを送信すると、同期が完了したものと見做してもよい。   Therefore, in the embodiment, as illustrated in FIG. 7, when the device 101 receives the synchronization advertisement, the device 101 stops scanning, sets the time to a predetermined value, and immediately executes scanning again with 37 channels. The device 101 can be synchronized by repeating this until all devices 101 within the communication range of the synchronization control apparatus 102 receive the synchronization advertisement at the same timing. In the example of FIG. 7, the devices 101: A, B, and C are synchronized by receiving the advertising packet for the second time. The end of the synchronization process can be detected, for example, by causing the device 101 to transmit a synchronization end notification to the synchronization control apparatus 102 when receiving the advertising packet. For example, the synchronization control apparatus 102 may determine that the synchronization has been completed when receiving synchronization end notifications from all the devices 101 within the communication range as a reply to the transmission of one advertising packet. The synchronization end notification may be notified from the device 101 via the access point 103 to the synchronization control apparatus 102 via Wi-Fi communication, or may be directly notified from the device 101 to the synchronization control apparatus 102 via Bluetooth communication. In addition, for example, it has been found from experience that the synchronization is completed when the above-described repetition process is repeated a certain number of times. Therefore, in another embodiment, the synchronization control apparatus 102 may consider that the synchronization is completed after transmitting the advertising packet a predetermined number of times.

また、図7の例では、同期制御装置102は、38チャネル、39チャネルでもアドバタイジングパケットを送信しているが、別の実施形態では、アドバタイジングパケットの送信も先頭の37チャネルのみに固定されてもよい。それにより、38チャネル、39チャネルでのアドバタイジングパケットの送信にかかる消費電力を削減することができる。   In the example of FIG. 7, the synchronization control device 102 transmits the advertising packet on the 38th channel and the 39th channel. However, in another embodiment, the transmission of the advertising packet may be fixed only to the first 37 channels. Good. As a result, it is possible to reduce power consumption required for transmitting advertising packets on the 38 and 39 channels.

以上で述べた、同期処理の動作フローを以下に説明する。   The operation flow of the synchronization processing described above will be described below.

図8は、実施形態に係る同期制御装置102の制御部301が実行する同期処理の動作フローを例示する図である。同期制御装置102の制御部301は、例えば、同期処理開始指示が入力されると図8の動作フローを開始してよい。   FIG. 8 is a diagram illustrating an example of an operation flow of synchronization processing executed by the control unit 301 of the synchronization control apparatus 102 according to the embodiment. For example, when a synchronization processing start instruction is input, the control unit 301 of the synchronization control apparatus 102 may start the operation flow of FIG.

S801において制御部301は、送信先のデバイスに設定されている複数のチャネルをスキャンする順序において最初にスキャンが実行される先頭のチャネルで、同期指示用のアドバタイジングパケットをブロードキャストする。同期指示用のアドバタイジングパケットは、例えば、上述の図4で例示するアドバタイジングパケットのデータ領域400の領域401に同期指示:0x01の同期情報を格納しているアドバタイジングパケットであってよい。なお、Bluetoothの規格では、スキャンの順序において先頭のチャネルは37チャネルとなっているため、制御部301は、37チャネルで同期指示用のアドバタイズを送信してよい。   In step S <b> 801, the control unit 301 broadcasts an advertising packet for synchronization instruction on the first channel that is first scanned in the order of scanning a plurality of channels set in the transmission destination device. The advertising packet for synchronization instruction may be, for example, an advertising packet in which synchronization information: 0x01 is stored in the area 401 of the data area 400 of the advertising packet illustrated in FIG. In the Bluetooth standard, the first channel in the scan order is 37 channels, so the control unit 301 may transmit advertisement for synchronization instruction through 37 channels.

S802において制御部301は、通信範囲内にある全てのデバイス101から同期完了通知を受信したか否かを判定する。なお、制御部301は、デバイス101から同期完了通知を、Wi-Fi通信でアクセスポイント103を介して受信してもよいし、デバイス101からBluetooth通信で直接受信してもよい。S802において、通信範囲内にある全てのデバイス101から同期通知を受信していない場合(S802がNo)、フローはS803に進む。   In step S <b> 802, the control unit 301 determines whether a synchronization completion notification has been received from all devices 101 within the communication range. Note that the control unit 301 may receive a synchronization completion notification from the device 101 via the access point 103 via Wi-Fi communication, or directly from the device 101 via Bluetooth communication. In S802, when the synchronization notification has not been received from all the devices 101 within the communication range (No in S802), the flow proceeds to S803.

S803において制御部301は、所定時間経過したか否かを判定する。所定時間経過していない場合(S803がNo)、フローはS802に戻る。一方、所定時間経過している場合(S803がYes)、フローはS801に戻る。   In step S803, the control unit 301 determines whether a predetermined time has elapsed. If the predetermined time has not elapsed (No in S803), the flow returns to S802. On the other hand, when the predetermined time has elapsed (S803: Yes), the flow returns to S801.

また、S802において、通信範囲内にある全てのデバイス101から同期通知を受信している場合(S802がYes)、フローはS804に進む。S804において制御部301は、同期処理終了用のアドバタイズを送信し、本動作フローは終了する。なお、同期処理終了用のアドバタイズは、例えば、上述の図4に示すアドバタイジングパケットであってよく、領域401に同期終了:0x02の同期情報が格納されていてよい。   In S802, when the synchronization notification is received from all devices 101 within the communication range (Yes in S802), the flow proceeds to S804. In step S804, the control unit 301 transmits an advertisement for ending synchronization processing, and the operation flow ends. The advertisement for ending the synchronization process may be, for example, the advertising packet shown in FIG. 4 described above, and the synchronization information of synchronization end: 0x02 may be stored in the area 401.

以上で述べたように、同期制御装置102の制御部301は、通信範囲内にいる複数のデバイス101に同期情報を含む同期指示用のアドバタイズを送信する。そして、複数のデバイス101から同期完了通知を受信すると、それらの複数のデバイス101の同期が完了したと判定し、時刻同期を実行する同期モードを終了する。   As described above, the control unit 301 of the synchronization control apparatus 102 transmits the advertisement for synchronization instruction including the synchronization information to the plurality of devices 101 within the communication range. When the synchronization completion notification is received from the plurality of devices 101, it is determined that the synchronization of the plurality of devices 101 is completed, and the synchronization mode for performing time synchronization is ended.

また、図9は、実施形態に係るデバイス101の制御部201が実行する同期処理の動作フローを例示する図である。デバイス101の制御部201は、例えば、同期処理開始指示が入力されると図9の動作フローを開始してよい。   FIG. 9 is a diagram illustrating an example of an operation flow of synchronization processing executed by the control unit 201 of the device 101 according to the embodiment. For example, the control unit 201 of the device 101 may start the operation flow of FIG. 9 when a synchronization processing start instruction is input.

S901において制御部201は、先頭のチャネルでアドバタイジングパケットのスキャンを実行する。なお、Bluetoothの規格では、先頭のチャネルは37チャネルとなっているため、制御部201は、37チャネルでアドバタイジングパケットのスキャンを実行してよい。   In step S901, the control unit 201 scans an advertising packet on the first channel. In the Bluetooth standard, since the first channel is 37 channels, the control unit 201 may scan the advertising packet using 37 channels.

S902において制御部201は、アドバタイジングパケットを受信したか否かを判定する。アドバタイジングパケットを受信していない場合(S902がNo)、フローはS906に進む。S906において制御部201は、所定時間経過したか否かを判定する。所定時間経過していない場合(S906がNo)、フローはS902に戻る。一方、所定時間経過した場合(S906がYes)、フローはS901に戻る。   In step S902, the control unit 201 determines whether an advertising packet has been received. When the advertising packet has not been received (No in S902), the flow proceeds to S906. In step S906, the control unit 201 determines whether a predetermined time has elapsed. If the predetermined time has not elapsed (S906: No), the flow returns to S902. On the other hand, when the predetermined time has elapsed (Yes in S906), the flow returns to S901.

また、S902においてアドバタイジングパケットを受信した場合(S902がYes)、フローはS903に進む。S903において制御部201は、受信したアドバタイジングパケットが、同期情報を含むアドバタイジングパケットか否かを判定する。例えば、制御部201は、アドバタイジングパケットの領域401に同期指示:0x01又は同期終了:0x02が格納されているか否かにより、同期情報を含むアドバタイジングパケットか否かを判定してよい。S903においてアドバタイジングパケットが同期情報を含むアドバタイジングパケットでない場合(S903がNo)、フローはS902に戻る。一方、S903においてアドバタイジングパケットが同期情報を含むアドバタイジングパケットである場合(S903がYes)、フローはS904に進む。   If an advertising packet is received in S902 (S902 is Yes), the flow proceeds to S903. In step S903, the control unit 201 determines whether the received advertising packet is an advertising packet including synchronization information. For example, the control unit 201 may determine whether or not the advertisement packet includes the synchronization information based on whether or not the synchronization instruction: 0x01 or the synchronization end: 0x02 is stored in the area 401 of the advertising packet. If the advertising packet is not an advertising packet including synchronization information in S903 (No in S903), the flow returns to S902. On the other hand, when the advertising packet is an advertising packet including synchronization information in S903 (Yes in S903), the flow proceeds to S904.

S904において制御部201は、同期情報を含むアドバタイジングパケットが、同期指示用のアドバタイズか否かを判定する。例えば、制御部201は、アドバタイジングパケットの領域401に同期指示:0x01が格納されているか、又は同期終了:0x02が格納されているかにより、判定を実行してよい。アドバタイジングパケットの領域401に同期指示:0x01が格納されている場合、制御部201は、同期指示用のアドバタイズと判定してよく(S904がYes)、フローはS905に進む。   In step S904, the control unit 201 determines whether or not the advertising packet including the synchronization information is an advertisement for synchronization instruction. For example, the control unit 201 may execute the determination based on whether the synchronization instruction: 0x01 is stored in the advertising packet area 401 or the synchronization end: 0x02 is stored. When the synchronization instruction: 0x01 is stored in the advertising packet area 401, the control unit 201 may determine that the advertisement is for synchronization instruction (Yes in S904), and the flow proceeds to S905.

S905において制御部201は、自装置が備えるタイマ205に所定の値を設定して、同期制御装置102に同期完了通知を送信し、フローはS901に戻る。   In step S905, the control unit 201 sets a predetermined value in the timer 205 included in the own device, transmits a synchronization completion notification to the synchronization control device 102, and the flow returns to step S901.

一方、アドバタイジングパケットの領域401に同期終了:0x02が格納されている場合、制御部201は、同期指示のアドバタイズではないと判定してよく(S904がNo)、S907に進む。S907において制御部201は、他のデバイス101との時刻の同期を行う同期モードを終了し、本動作フローは終了する。   On the other hand, when the synchronization end: 0x02 is stored in the advertising packet area 401, the control unit 201 may determine that the advertisement is not a synchronization instruction advertisement (No in S904), and proceeds to S907. In step S907, the control unit 201 ends the synchronization mode in which time synchronization is performed with the other device 101, and the operation flow ends.

図9の動作フローに置いて、デバイス101の制御部201は、同期情報を含むアドバタイズを受信すると、自装置の備えるタイマ205を所定の値にセットし、再度スキャンを実行する。この処理を繰り返すことにより、上述の図7を参照して述べた様に、複数のデバイス101の時刻を同期することが可能である。また、デバイス101の制御部201は、同期情報を含むアドバタイズを受信すると、同期制御装置102に同期完了通知を通知する。そのため、同期制御装置102は、送信した同期情報を含むアドバタイズに対して、同期完了通知を受信できたデバイス101については同期できたことを検出することができる。   In the operation flow of FIG. 9, when receiving the advertisement including the synchronization information, the control unit 201 of the device 101 sets the timer 205 included in the own device to a predetermined value, and executes the scan again. By repeating this process, the times of the plurality of devices 101 can be synchronized as described with reference to FIG. Further, when receiving the advertisement including the synchronization information, the control unit 201 of the device 101 notifies the synchronization control apparatus 102 of a synchronization completion notification. Therefore, the synchronization control apparatus 102 can detect that the device 101 that has received the synchronization completion notification can be synchronized with the advertisement including the transmitted synchronization information.

なお、図9の動作フローにおいて、S901〜S904でデバイス101の制御部201は、例えば、検出部211として動作する。また、S905及び、S905の処理の実行後の繰り返しでのS901の処理で、デバイス101の制御部201は、例えば、実行部212として動作する。   In the operation flow of FIG. 9, the control unit 201 of the device 101 operates as, for example, the detection unit 211 in S901 to S904. In addition, the control unit 201 of the device 101 operates as, for example, the execution unit 212 in the processing of S901 in the repetition after the execution of the processing of S905 and S905.

以上の図8及び図9の動作フローで述べた様に、実施形態によれば、複数の子デバイスが親機から一斉にアドバタイズを受信するタイミングを構築することで、高精度な時刻の同期が確立できる。実施形態による同期では、時刻は数十マイクロ秒以下の精度で同期され得る。そのため、例えば、デバイス101が備えるセンサ204でセンシングをして得られたセンシングデータに付される時刻は、高い精度で時刻が同期されている。そのため、センサ204でセンシングされたセンシングデータの検出時刻を複数のデバイス101間で、正確に時系列に並べることができ、様々な用途においてセンシングデータの利用価値を高めることができる。例えば、デバイス101を利用した見守り機能などを実現する際に、音(生活音:例えばドアの開閉音など)をセンシングして利用するのに実施形態を役立てることができる。   As described in the operation flow of FIG. 8 and FIG. 9 above, according to the embodiment, it is possible to synchronize highly accurate time by constructing a timing at which a plurality of child devices simultaneously receive advertisements from the parent device. Can be established. In the synchronization according to the embodiment, the time can be synchronized with an accuracy of several tens of microseconds or less. Therefore, for example, the time attached to the sensing data obtained by sensing with the sensor 204 included in the device 101 is synchronized with high accuracy. Therefore, the detection time of the sensing data sensed by the sensor 204 can be accurately arranged in time series among the plurality of devices 101, and the utility value of the sensing data can be increased in various applications. For example, when realizing a monitoring function using the device 101, the embodiment can be used to sense and use sound (life sound: for example, door opening / closing sound).

図10は、実施形態に係るセンシングデータの利用を例示する図である。図10(a)では、マイクを備えるデバイス101が2つ示されており、これらの2つのデバイス101で音を集音することで、設置位置と集音時刻を用いて音の発生源の位置を特定することができる。なお、デバイス101の設置位置は、予め分かっているものとする。音の発生源の位置を音が到達するまでの時間を距離に換算して推定する場合、これらの2つのデバイス101間での時刻がズレていると、大きな距離の誤差を生んでしまうため、高精度な機器間の時刻同期が求められる。上述の実施形態によれば、複数のデバイス101の時刻を高精度に同期させることができるので、音から正確な位置を推定することができる。   FIG. 10 is a diagram illustrating the use of sensing data according to the embodiment. In FIG. 10A, two devices 101 each having a microphone are shown, and by collecting sound with these two devices 101, the position of the sound generation source using the installation position and the sound collection time. Can be specified. It is assumed that the installation position of the device 101 is known in advance. When estimating the position of the sound generation source by converting the time until the sound reaches into a distance, if the time between these two devices 101 is shifted, a large distance error occurs. Highly accurate time synchronization between devices is required. According to the above-described embodiment, the times of the plurality of devices 101 can be synchronized with high accuracy, so that accurate positions can be estimated from sound.

例えば、図10においてバツ印は、食器が割れた音から検出された位置を示している。時刻同期により食器が割れた音から位置を推定できるため、食器がどこで割れやすいか、その原因などを推定するためにデバイス101で検出された音の情報を使用することができる。また同様に、音の発生位置から、冷蔵庫の扉1010の開け閉めと、裏口への扉1011の開け閉めの音を区別することも可能である。それにより、例えば、冷蔵庫が開かれていた時間を特定し、節電等の対策を考えることも可能になる。   For example, the cross mark in FIG. 10 indicates the position detected from the sound of broken tableware. Since the position can be estimated from the sound of broken tableware by time synchronization, the information of the sound detected by the device 101 can be used to estimate where the tableware is likely to break and the cause thereof. Similarly, the sound of opening / closing the refrigerator door 1010 and the sound of opening / closing the door 1011 to the back door can be distinguished from the sound generation position. Thereby, for example, it is possible to identify the time when the refrigerator is open and to consider measures such as power saving.

また、図10(b)は、ウェアラブルデバイス1013を備えた作業員が壁に近づきボタン1014を押した場合の例である。なお、ウェアラブルデバイス1013及びボタン1014は、いずれもデバイス101であり、時刻が同期されているものとする。この場合に、ウェアラブルデバイス1013で検出されたボタンを押す作業員の動作と、実際にボタン1014が押された時刻とが高い精度で一致するため、ボタンを押した操作者が誰であるのかを特定することが可能になる。例えば、複数人で、複数のボタンを操作した場合にも、ボタンを押すタイミングが数十マイクロオーダーで重なることは稀であり、誰がどの操作を実行したのかある程度の精度で特定することが可能である。   FIG. 10B shows an example in the case where an operator equipped with the wearable device 1013 approaches the wall and presses the button 1014. Note that the wearable device 1013 and the button 1014 are both the device 101, and the time is synchronized. In this case, since the operation of the operator who presses the button detected by the wearable device 1013 and the time when the button 1014 is actually pressed coincide with each other with high accuracy, it is possible to determine who is the operator who pressed the button. It becomes possible to specify. For example, even when multiple people operate multiple buttons, it is rare that the timing of pressing the buttons overlaps on the order of tens of micro orders, and it is possible to identify with a certain degree of who performed which operation. is there.

すなわち、以上で述べたように、実施形態にかかる時刻同期でデバイス101の時刻を正確に同期することで、デバイス101で得られる情報の価値を高めることができる。   That is, as described above, the value of information obtained by the device 101 can be increased by accurately synchronizing the time of the device 101 with the time synchronization according to the embodiment.

以上において、実施形態を例示したが、実施形態はこれに限定されるものではない。例えば、上述の動作フローは例示であり、実施形態はこれに限定されるものではない。可能な場合には、動作フローは、処理の順番を変更して実行されてもよく、別に更なる処理を含んでもよく、又は、一部の処理が省略されてもよい。例えば、図8のS802とS803の処理は順序を入れ替えて実行されてもよい。   In the above, although embodiment was illustrated, embodiment is not limited to this. For example, the above-described operation flow is an example, and the embodiment is not limited to this. If possible, the operation flow may be executed by changing the order of processing, may include additional processing, or some processing may be omitted. For example, the processes of S802 and S803 in FIG.

また、例えば、同期システム100に新たなデバイス101が参加した場合、実施形態に係る処理を新たなデバイス101も含めて再度実行することで、新たなデバイス101の時刻も、同期システム100に含まれる他のデバイス101と同期することができる。   For example, when a new device 101 participates in the synchronization system 100, the time of the new device 101 is also included in the synchronization system 100 by executing the process according to the embodiment again including the new device 101. Synchronization with other devices 101 is possible.

また、上述の実施形態では、Bluetooth規格のアドバタイジングパケットを例に説明を行っており、Bluetooth規格を利用して実施形態を実現できる。しかしながら、実施形態はこれに限定されるものではなく、その他の規格の情報を繰り返し送信して、実施形態に係る複数のデバイス101の同期が実行されてもよい。   Further, in the above-described embodiment, the Bluetooth standard advertising packet is described as an example, and the embodiment can be realized using the Bluetooth standard. However, the embodiment is not limited to this, and the synchronization of the plurality of devices 101 according to the embodiment may be executed by repeatedly transmitting information of other standards.

また、別の実施形態では、同期制御装置102が、例えば、アクセスポイント103の代わりにデバイス101とサーバ104との間を中継する中継装置として動作してもよい。   In another embodiment, the synchronization control apparatus 102 may operate as a relay apparatus that relays between the device 101 and the server 104 instead of the access point 103, for example.

図11は、実施形態に係るデバイス101を実現するためのコンピュータのハードウェア構成を例示する図である。図11のデバイス101を実現するためのハードウェア構成は、例えば、プロセッサ1101、メモリ1102、センサ204、通信インタフェース1104、出力装置1105、及びタイマ205を備える。なお、メモリ1102、センサ204、通信インタフェース1104、出力装置1105、及びタイマ205は、例えば、プロセッサ1101に接続されていてよい。   FIG. 11 is a diagram illustrating a hardware configuration of a computer for realizing the device 101 according to the embodiment. The hardware configuration for realizing the device 101 in FIG. 11 includes, for example, a processor 1101, a memory 1102, a sensor 204, a communication interface 1104, an output device 1105, and a timer 205. Note that the memory 1102, the sensor 204, the communication interface 1104, the output device 1105, and the timer 205 may be connected to the processor 1101, for example.

プロセッサ1101は、例えば、シングルプロセッサであっても、マルチプロセッサやマルチコアであってもよい。プロセッサ1101は、メモリ1102を利用して例えば上述の図9の動作フローの手順を記述したプログラムを実行することで、上述した制御部201の一部または全部の機能を提供する。例えば、プロセッサ1101は、メモリ1102を利用してプログラムを実行することで、検出部211、及び実行部212として動作してよい。   The processor 1101 may be, for example, a single processor, a multiprocessor, or a multicore. The processor 1101 provides a part or all of the functions of the control unit 201 described above by executing, for example, a program describing the procedure of the operation flow of FIG. 9 described above using the memory 1102. For example, the processor 1101 may operate as the detection unit 211 and the execution unit 212 by executing a program using the memory 1102.

メモリ1102は、例えば半導体メモリであり、RAM領域及びROM領域を含んでいてよい。なお、RAMは、Random Access Memoryの略称である。また、ROMは、Read Only Memoryの略称である。上述のデバイス101の記憶部202は、例えばメモリ1102である。   The memory 1102 is a semiconductor memory, for example, and may include a RAM area and a ROM area. Note that RAM is an abbreviation for Random Access Memory. ROM is an abbreviation for Read Only Memory. The storage unit 202 of the device 101 described above is, for example, the memory 1102.

センサ204は、センシング対象の状態や、環境の状態を検出するセンサである。センサ204は、例えば、温湿度センサ、照度センサ、紫外線センサ、気圧センサ、音センサ、加速度センサ、及びGPS(Global Positioning System)機器を含んでよい。センサ204は、例えば、プロセッサ1101の指示に従ってセンシングを行う。なお、例えば、温湿度センサは、温度と湿度、照度センサは照度、紫外線センサは紫外線インデックス、気圧センサは気圧、音センサは騒音、加速度センサは加速度、及びGPS機器は位置をセンシングで計測してよい。   The sensor 204 is a sensor that detects the state of the sensing target and the state of the environment. The sensor 204 may include, for example, a temperature / humidity sensor, an illuminance sensor, an ultraviolet sensor, an atmospheric pressure sensor, a sound sensor, an acceleration sensor, and a GPS (Global Positioning System) device. For example, the sensor 204 performs sensing in accordance with an instruction from the processor 1101. For example, the temperature and humidity sensor measures temperature and humidity, the illuminance sensor measures illuminance, the ultraviolet sensor measures the ultraviolet index, the atmospheric pressure sensor measures atmospheric pressure, the sound sensor measures noise, the acceleration sensor measures acceleration, and the GPS device measures the position by sensing. Good.

通信インタフェース1104は、例えば、Bluetooth通信機器及びWi-Fi通信機器などの近距離無線通信機器であってよい。通信インタフェース1104は、例えば、プロセッサ1101の指示に従って、同期制御装置102からBluetooth通信機器でアドバタイジングパケットを受信する。そして、通信インタフェース1104は、例えば、プロセッサ1101の指示に従って、アドバタイジングパケットの応答として、同期完了通知をBluetooth機器で同期制御装置102に送信してよい。或いは、通信インタフェース1104は、例えば、プロセッサ1101の指示に従って、アクセスポイント103を介して同期完了通知を同期制御装置102に送信してよい。また、通信インタフェース1104は、プロセッサ1101の指示に従って、アクセスポイント103を介してサーバ104にセンシングデータを送信してよい。通信インタフェース1104は、上述の通信部203の一例である。   The communication interface 1104 may be a short-range wireless communication device such as a Bluetooth communication device and a Wi-Fi communication device. For example, the communication interface 1104 receives an advertising packet from the synchronization control apparatus 102 via the Bluetooth communication device in accordance with an instruction from the processor 1101. Then, the communication interface 1104 may transmit a synchronization completion notification to the synchronization control apparatus 102 using a Bluetooth device as a response to the advertising packet, for example, in accordance with an instruction from the processor 1101. Alternatively, the communication interface 1104 may transmit a synchronization completion notification to the synchronization control apparatus 102 via the access point 103, for example, according to an instruction from the processor 1101. In addition, the communication interface 1104 may transmit sensing data to the server 104 via the access point 103 in accordance with an instruction from the processor 1101. The communication interface 1104 is an example of the communication unit 203 described above.

出力装置1105は、例えば、LED(light emitting diode)などの発光素子や、ディスプレイなどの表示装置であり、ユーザにデバイス101の状態を通知してよい。タイマ205は、時刻を計時する機器であり、例えば、日時を計時したり、或いは、所定の値からカウントアップしたりすることで時刻を計時してよい。タイマ205は、プロセッサ1101の指示に従って、時刻をプロセッサ1101に通知する。   The output device 1105 is, for example, a light emitting element such as an LED (light emitting diode) or a display device such as a display, and may notify the user of the state of the device 101. The timer 205 is a device that measures the time, and may count the time by, for example, measuring the date and time or counting up from a predetermined value. The timer 205 notifies the processor 1101 of the time according to the instruction of the processor 1101.

図12は、実施形態に係る同期制御装置102を実現するためのコンピュータのハードウェア構成を例示する図である。図12の同期制御装置102を実現するためのハードウェア構成は、例えば、プロセッサ1201、メモリ1202、及び通信インタフェース1204を備える。なお、メモリ1202、及び通信インタフェース1204は、例えば、プロセッサ1201に接続されていてよい。   FIG. 12 is a diagram illustrating a hardware configuration of a computer for realizing the synchronization control apparatus 102 according to the embodiment. A hardware configuration for realizing the synchronization control apparatus 102 in FIG. 12 includes, for example, a processor 1201, a memory 1202, and a communication interface 1204. Note that the memory 1202 and the communication interface 1204 may be connected to the processor 1201, for example.

プロセッサ1201は、例えば、シングルプロセッサであっても、マルチプロセッサやマルチコアであってもよい。プロセッサ1201は、メモリ1202を利用して例えば上述の図8の動作フローの手順を記述したプログラムを実行することで、上述した制御部301の一部または全部の機能を提供する。   The processor 1201 may be, for example, a single processor, a multiprocessor, or a multicore. The processor 1201 provides a part or all of the functions of the control unit 301 described above by executing a program describing the procedure of the operation flow of FIG.

メモリ1202は、例えば半導体メモリであり、RAM領域及びROM領域を含んでいてよい。上述の同期制御装置102の記憶部302は、例えばメモリ1202である。   The memory 1202 is a semiconductor memory, for example, and may include a RAM area and a ROM area. The storage unit 302 of the above-described synchronization control apparatus 102 is, for example, a memory 1202.

通信インタフェース1204は、例えば、Bluetooth通信機器及びWi-Fi通信機器などの近距離無線通信機器を含んでよい。例えば、通信インタフェース1204は、デバイス101からBluetooth通信機器で直接、又はアクセスポイント103を介してWi-Fi通信機器で同期完了通知を受信してよい。通信インタフェース1204は、上述の通信部303の一例である。   The communication interface 1204 may include short-range wireless communication devices such as Bluetooth communication devices and Wi-Fi communication devices. For example, the communication interface 1204 may receive a synchronization completion notification from the device 101 directly with the Bluetooth communication device or with the Wi-Fi communication device via the access point 103. The communication interface 1204 is an example of the communication unit 303 described above.

なお、実施形態に係る各プログラムは、例えば、記憶部202,及び記憶部302に予めインストールされていてもよく、着脱可能な記憶媒体により提供されてもよく、プログラムサーバなどからネットワークを介して提供されてもよい。   Each program according to the embodiment may be installed in advance in the storage unit 202 and the storage unit 302, may be provided by a removable storage medium, or provided from a program server or the like via a network. May be.

また、図11、及び図12を参照して述べたハードウェア構成は、例示であり、実施形態はこれに限定されるものではない。例えば、上述の機能部の一部または全部の機能がFPGA及びSoCなどによるハードウェアとして実装されてもよい。なお、FPGAは、Field Programmable Gate Arrayの略称である。SoCは、System-on-a-chipの略称である。   Further, the hardware configuration described with reference to FIGS. 11 and 12 is an example, and the embodiment is not limited to this. For example, some or all of the functions of the above-described functional units may be implemented as hardware such as FPGA and SoC. Note that FPGA is an abbreviation for Field Programmable Gate Array. SoC is an abbreviation for System-on-a-chip.

以上において、いくつかの実施形態が説明される。しかしながら、実施形態は上記の実施形態に限定されるものではなく、上述の実施形態の各種変形形態及び代替形態を包含するものとして理解されるべきである。例えば、各種実施形態は、その趣旨及び範囲を逸脱しない範囲で構成要素を変形して具体化できることが理解されよう。また、前述した実施形態に開示されている複数の構成要素を適宜組み合わせることにより、種々の実施形態が実施され得ることが理解されよう。更には、実施形態に示される全構成要素からいくつかの構成要素を削除して又は置換して、或いは実施形態に示される構成要素にいくつかの構成要素を追加して種々の実施形態が実施され得ることが当業者には理解されよう。   In the above, several embodiments are described. However, the embodiments are not limited to the above-described embodiments, and should be understood as including various modifications and alternatives of the above-described embodiments. For example, it will be understood that various embodiments can be embodied by modifying the components without departing from the spirit and scope thereof. It will be understood that various embodiments can be implemented by appropriately combining a plurality of components disclosed in the above-described embodiments. Further, various embodiments may be implemented by deleting or replacing some components from all the components shown in the embodiments, or adding some components to the components shown in the embodiments. Those skilled in the art will appreciate that this can be done.

以上の実施形態に関し、更に以下の付記を開示する。
(付記1)
同期情報を含むアドバタイジングパケットを所定のチャネルで繰り返し同期制御装置がブロードキャストし、
前記所定のチャネルで複数のデバイスが前記アドバタイジングパケットをスキャンし、
前記複数のデバイスが、前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する、
ことを含む、同期方法。
(付記2)
前記所定のチャネルは、前記デバイスに設定されている複数のチャネルをスキャンする順序において、最初にスキャンが実行されるチャネルである、付記1に記載の同期方法。
(付記3)
前記複数のデバイスは、前記同期情報を含む前記アドバタイジングパケットを前記所定のチャネルを介して受信すると、同期完了通知を前記同期制御装置に送信し、
前記同期制御装置は、前記複数のデバイスのそれぞれから、前記同期完了通知を受信すると、前記複数のデバイスの同期が完了したと判定する、
ことを更に含む、付記1又は2に記載の同期方法。
(付記4)
同期制御装置がブロードキャストする同期情報を含むアドバタイジングパケットを所定のチャネルでスキャンし、
前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する、
処理をコンピュータに実行させる同期プログラム。
(付記5)
同期制御装置がブロードキャストする同期情報を含むアドバタイジングパケットを所定のチャネルでスキャンする検出部と、
前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する実行部と、
を含む、デバイス。
(付記6)
同期情報を含むアドバタイジングパケットを所定のチャネルで繰り返しブロードキャストする同期制御装置と、
前記所定のチャネルで前記アドバタイジングパケットをスキャンする検出部と、
前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する実行部と、
を含む、デバイスと、
を含む、同期システム。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
The synchronization control device repeatedly broadcasts advertising packets including synchronization information on a predetermined channel,
A plurality of devices scan the advertising packet on the predetermined channel,
When the plurality of devices receive the advertising packet on the predetermined channel, the time of the timer is set to a predetermined value, and the process of scanning again on the predetermined channel is repeatedly executed.
Including a synchronization method.
(Appendix 2)
The synchronization method according to claim 1, wherein the predetermined channel is a channel that is first scanned in an order of scanning a plurality of channels set in the device.
(Appendix 3)
When the plurality of devices receive the advertising packet including the synchronization information via the predetermined channel, the plurality of devices transmit a synchronization completion notification to the synchronization control device,
The synchronization control device determines that synchronization of the plurality of devices is completed when receiving the synchronization completion notification from each of the plurality of devices.
The synchronization method according to appendix 1 or 2, further comprising:
(Appendix 4)
The advertising packet including the synchronization information broadcast by the synchronization control device is scanned on a predetermined channel,
When the advertising packet is received on the predetermined channel, the time of the timer is set to a predetermined value, and the process of scanning again on the predetermined channel is repeatedly executed.
A synchronization program that causes a computer to execute processing.
(Appendix 5)
A detection unit that scans an advertising packet including synchronization information broadcasted by the synchronization control device using a predetermined channel;
When the advertising packet is received on the predetermined channel, the time of the timer is set to a predetermined value, and an execution unit that repeatedly executes a process of scanning again on the predetermined channel;
Including the device.
(Appendix 6)
A synchronization control device that repeatedly broadcasts advertising packets including synchronization information on a predetermined channel;
A detection unit that scans the advertising packet on the predetermined channel;
When the advertising packet is received on the predetermined channel, the time of the timer is set to a predetermined value, and an execution unit that repeatedly executes a process of scanning again on the predetermined channel;
Including a device, and
Including synchronization system.

100 同期システム
101 デバイス
102 同期制御装置
103 アクセスポイント
104 サーバ
201 制御部
202 記憶部
203 通信部
204 センサ
301 制御部
302 記憶部
303 通信部
1101 プロセッサ
1102 メモリ
1104 通信インタフェース
1105 出力装置
1201 プロセッサ
1202 メモリ
1204 通信インタフェース
100 synchronization system 101 device 102 synchronization control device 103 access point 104 server 201 control unit 202 storage unit 203 communication unit 204 sensor 301 control unit 302 storage unit 303 communication unit 1101 processor 1102 memory 1104 communication interface 1105 output device 1201 processor 1202 memory 1204 communication interface

Claims (5)

同期情報を含むアドバタイジングパケットを所定のチャネルで繰り返し同期制御装置がブロードキャストし、
前記所定のチャネルで複数のデバイスが前記アドバタイジングパケットをスキャンし、
前記複数のデバイスが、前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する、
ことを含む、同期方法。
The synchronization control device repeatedly broadcasts advertising packets including synchronization information on a predetermined channel,
A plurality of devices scan the advertising packet on the predetermined channel,
When the plurality of devices receive the advertising packet on the predetermined channel, the time of the timer is set to a predetermined value, and the process of scanning again on the predetermined channel is repeatedly executed.
Including a synchronization method.
前記所定のチャネルは、前記デバイスに設定されている複数のチャネルをスキャンする順序において、最初にスキャンが実行されるチャネルである、請求項1に記載の同期方法。   The synchronization method according to claim 1, wherein the predetermined channel is a channel that is first scanned in an order of scanning a plurality of channels set in the device. 前記複数のデバイスは、前記同期情報を含む前記アドバタイジングパケットを前記所定のチャネルを介して受信すると、同期完了通知を前記同期制御装置に送信し、
前記同期制御装置は、前記複数のデバイスのそれぞれから、前記同期完了通知を受信すると、前記複数のデバイスの同期が完了したと判定する、
ことを更に含む、請求項1又は2に記載の同期方法。
When the plurality of devices receive the advertising packet including the synchronization information via the predetermined channel, the plurality of devices transmit a synchronization completion notification to the synchronization control device,
The synchronization control device determines that synchronization of the plurality of devices is completed when receiving the synchronization completion notification from each of the plurality of devices.
The synchronization method according to claim 1, further comprising:
コンピュータによって実行される同期プログラムであって、
同期制御装置がブロードキャストする同期情報を含むアドバタイジングパケットを所定のチャネルでスキャンし、
前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する、
処理を前記コンピュータに実行させる同期プログラム。
A synchronization program executed by a computer,
The advertising packet including the synchronization information broadcast by the synchronization control device is scanned on a predetermined channel,
When the advertising packet is received on the predetermined channel, the time of the timer is set to a predetermined value, and the process of scanning again on the predetermined channel is repeatedly executed.
A synchronization program for causing the computer to execute processing.
同期制御装置がブロードキャストする同期情報を含むアドバタイジングパケットを所定のチャネルでスキャンする検出部と、
前記アドバタイジングパケットを前記所定のチャネルで受信すると、タイマの時刻を所定の値にセットするとともに、前記所定のチャネルで再びスキャンする処理を繰り返し実行する実行部と、
を含む、デバイス。
A detection unit that scans an advertising packet including synchronization information broadcasted by the synchronization control device using a predetermined channel;
When the advertising packet is received on the predetermined channel, the time of the timer is set to a predetermined value, and an execution unit that repeatedly executes a process of scanning again on the predetermined channel;
Including the device.
JP2018094598A 2018-05-16 2018-05-16 Synchronization method, synchronization program, and device Active JP7047589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018094598A JP7047589B2 (en) 2018-05-16 2018-05-16 Synchronization method, synchronization program, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018094598A JP7047589B2 (en) 2018-05-16 2018-05-16 Synchronization method, synchronization program, and device

Publications (2)

Publication Number Publication Date
JP2019201319A true JP2019201319A (en) 2019-11-21
JP7047589B2 JP7047589B2 (en) 2022-04-05

Family

ID=68612354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018094598A Active JP7047589B2 (en) 2018-05-16 2018-05-16 Synchronization method, synchronization program, and device

Country Status (1)

Country Link
JP (1) JP7047589B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311853A (en) * 2020-09-28 2021-02-02 北京沃东天骏信息技术有限公司 Data synchronization method, device, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193283A (en) * 2009-02-19 2010-09-02 Yokogawa Electric Corp Logging system for wireless communication and wireless device
WO2017146829A1 (en) * 2016-02-24 2017-08-31 Qualcomm Incorporated A source device broadcasts synchronization information associated with a bluetooth isochronous channel

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193283A (en) * 2009-02-19 2010-09-02 Yokogawa Electric Corp Logging system for wireless communication and wireless device
WO2017146829A1 (en) * 2016-02-24 2017-08-31 Qualcomm Incorporated A source device broadcasts synchronization information associated with a bluetooth isochronous channel

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311853A (en) * 2020-09-28 2021-02-02 北京沃东天骏信息技术有限公司 Data synchronization method, device, equipment and computer readable storage medium
CN112311853B (en) * 2020-09-28 2024-05-24 北京京东拓先科技有限公司 Data synchronization method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
JP7047589B2 (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US10826631B2 (en) System and method for 3D tracking for ad-hoc cross-device interaction
US9930486B2 (en) Systems and methods for object tracking with wireless beacons
US9385821B2 (en) System and method for calibrating bluetooth low energy signal strengths
US9907039B2 (en) Sensor information processing apparatus, sensor information processing method, and sensor information processing program
JP2016001915A (en) System and method for service discovery
KR101992303B1 (en) Data collection, analysis and monitoring system of smart sensor network
KR101894389B1 (en) Method and apparatus for connecting between devices
KR20210024569A (en) Position determination based on transmission of beacon signals to activated devices
Cabero et al. Acquisition of human traces with Bluetooth technology: Challenges and proposals
US10139484B2 (en) Apparatus and method for wireless distance measurement
KR100999533B1 (en) system for providing ubiquitous weather information service and method thereof
JP7047589B2 (en) Synchronization method, synchronization program, and device
JP5792473B2 (en) Sensor network system, information providing method and program
JP6614782B2 (en) Communication device, control method, and program
WO2020038157A1 (en) Nan-based intelligent management method and related product
JP2019020170A (en) Position search system, server, method for position search, and position search program
JP2018139395A (en) Radio telemeter system, radio device, and information collection method
JP2014187667A (en) Radio communication device and data transmission method
JP5146826B2 (en) Method of registering route of slave unit in remote management system and slave unit
CN113541832B (en) Terminal, network transmission quality detection method and storage medium
US7924807B2 (en) System and method for synchronizing communicating entities in a decentralized network
JP6626471B2 (en) Manage synchronization with beacons
Mahjri et al. Weighted localization in mobile wireless networks
US20230122864A1 (en) Positioning method and apparatus, and storage medium
WO2024130666A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210210

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220217

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220307

R150 Certificate of patent or registration of utility model

Ref document number: 7047589

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150