JP6979429B2 - Controls, control methods, and programs - Google Patents

Controls, control methods, and programs Download PDF

Info

Publication number
JP6979429B2
JP6979429B2 JP2019142195A JP2019142195A JP6979429B2 JP 6979429 B2 JP6979429 B2 JP 6979429B2 JP 2019142195 A JP2019142195 A JP 2019142195A JP 2019142195 A JP2019142195 A JP 2019142195A JP 6979429 B2 JP6979429 B2 JP 6979429B2
Authority
JP
Japan
Prior art keywords
time
devices
control signal
control
control device
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
JP2019142195A
Other languages
Japanese (ja)
Other versions
JP2021027425A (en
Inventor
良樹 柳
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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2019142195A priority Critical patent/JP6979429B2/en
Publication of JP2021027425A publication Critical patent/JP2021027425A/en
Application granted granted Critical
Publication of JP6979429B2 publication Critical patent/JP6979429B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、制御装置、制御方法、及びプログラムに関する。 The present invention relates to control devices, control methods, and programs.

従来、複数の機器と無線通信を行うことで複数の機器それぞれを制御する技術が知られている。例えば特許文献1には、複数の照明機器との間で無線通信を行うことで、複数の照明機器の点灯等を制御する制御装置が開示されている。 Conventionally, a technique for controlling each of a plurality of devices by performing wireless communication with a plurality of devices has been known. For example, Patent Document 1 discloses a control device that controls lighting and the like of a plurality of lighting devices by performing wireless communication with a plurality of lighting devices.

具体的には、特許文献1に開示されている技術では、複数の照明機器を一斉点灯させるために、各照明機器は制御装置と通信するためのキャリアセンスを行う。制御装置は各照明機器のキャリアセンスの応答時間から通信待ち時間を算出し、各照明機器に一斉点灯させるためのタイミングを通知する。 Specifically, in the technique disclosed in Patent Document 1, in order to light a plurality of lighting devices all at once, each lighting device performs a carrier sense for communicating with a control device. The control device calculates the communication waiting time from the response time of the carrier sense of each lighting device, and notifies each lighting device of the timing for turning on the lights all at once.

特開2016−58197号公報Japanese Unexamined Patent Publication No. 2016-58197

上記の技術では、制御装置が最後のACK応答を特定するために照明機器の数をあらかじめ登録しておく必要がある。このため、制御対象とする照明機器の数を制御中に変更することが難しい等、制御の柔軟性の点で改良の余地があると考えられる。 In the above technique, the controller needs to pre-register the number of luminaires to identify the final ACK response. Therefore, it is difficult to change the number of lighting devices to be controlled during control, and it is considered that there is room for improvement in terms of control flexibility.

本発明はこれらの点に鑑みてなされたものであり、無線通信を介して複数の機器を制御する際の柔軟性を高める技術を提供することを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to provide a technique for increasing flexibility when controlling a plurality of devices via wireless communication.

本発明の第1の態様は、無線通信回線を介して複数の機器と通信可能な制御装置である。この装置は、前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信する同期指示部と、前記複数の機器のうちの2以上の機器を制御するための制御信号に、動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する制御信号生成部と、前記タイムスタンプ付き制御信号を前記2以上の機器それぞれに送信する制御信号送信部と、を備える。 The first aspect of the present invention is a control device capable of communicating with a plurality of devices via a wireless communication line. This device has a synchronization instruction unit that transmits a time synchronization instruction signal instructing time synchronization with the time synchronization server to each of the plurality of devices, and a control for controlling two or more of the plurality of devices. A control signal generation unit that generates a time-stamped control signal by adding a time stamp indicating the time of operation start to the signal, and a control signal transmission unit that transmits the time-stamped control signal to each of the two or more devices. , Equipped with.

前記制御装置は、前記複数の機器それぞれとの間の通信に関する遅延時間のうち最長の遅延時間を取得する最長遅延時間取得部をさらに備えてもよく、前記制御信号生成部は、前記2以上の機器の動作開始の時刻が前記最長の遅延時間経過よりも後となるように、前記制御信号に前記タイムスタンプを付与して前記タイムスタンプ付き制御信号を生成してもよい。 The control device may further include a longest delay time acquisition unit that acquires the longest delay time among the delay times related to communication with each of the plurality of devices, and the control signal generation unit may include the two or more control signal generation units. The time stamp may be added to the control signal to generate the time stamped control signal so that the operation start time of the device is later than the lapse of the longest delay time.

前記制御信号は、シリアル通信用データをパケット化して生成されたデータであってもよい。 The control signal may be data generated by packetizing serial communication data.

前記複数の機器はそれぞれ各機器を一意に特定するための電話番号があらかじめ割り当てられていてもよく、前記制御信号送信部は、携帯電話通信回線を介して、前記電話番号に基づいて特定した前記2以上の機器に前記タイムスタンプ付き制御信号を送信してもよい。 The plurality of devices may be assigned a telephone number for uniquely identifying each device in advance, and the control signal transmission unit may be specified based on the telephone number via a mobile phone communication line. The time stamped control signal may be transmitted to two or more devices.

前記同期指示部は、前記複数の機器それぞれに、同一の時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信してもよい。 The synchronization instruction unit may transmit a time synchronization instruction signal instructing time synchronization with the same time synchronization server to each of the plurality of devices.

前記複数の機器は、それぞれ前記タイムスタンプ付き制御信号による制御の下に発光又は消灯する照明機器であってもよい。 The plurality of devices may be lighting devices that emit or turn off light under the control of the time-stamped control signal.

本発明の第2の態様は、制御方法である。この方法において、無線通信回線を介して複数の機器と通信可能な制御装置のプロセッサが、前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信するステップと、前記複数の機器のうちの2以上の機器を制御するための制御信号に、動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成するステップと、前記タイムスタンプ付き制御信号を前記2以上の機器それぞれに送信するステップと、を実行する。 The second aspect of the present invention is a control method. In this method, a step in which a processor of a control device capable of communicating with a plurality of devices via a wireless communication line transmits a time synchronization instruction signal instructing time synchronization with the time synchronization server to each of the plurality of devices. A step of adding a time stamp indicating an operation start time to a control signal for controlling two or more of the plurality of devices to generate a time stamped control signal, and the time stamped control signal. The step of transmitting to each of the two or more devices is executed.

本発明の第3の態様は、プログラムである。このプログラムは、無線通信回線を介して複数の機器と通信可能なコンピュータに、前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信する機能と、前記複数の機器のうちの2以上の機器を制御するための制御信号に、動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する機能と、前記タイムスタンプ付き制御信号を前記2以上の機器それぞれに送信する機能と、を実行させる。 A third aspect of the present invention is a program. This program has a function of transmitting a time synchronization instruction signal instructing time synchronization with a time synchronization server to a computer capable of communicating with a plurality of devices via a wireless communication line, and the plurality of devices. A function to generate a time-stamped control signal by adding a time stamp indicating an operation start time to a control signal for controlling two or more of the devices, and the two or more time-stamped control signals. The function to send to each device and to execute.

このプログラムを提供するため、あるいはプログラムの一部をアップデートするために、このプログラムを記録したコンピュータ読み取り可能な記録媒体が提供されてもよく、また、このプログラムが通信回線で伝送されてもよい。 In order to provide this program or to update a part of the program, a computer-readable recording medium on which the program is recorded may be provided, or the program may be transmitted over a communication line.

なお、以上の構成要素の任意の組み合わせ、本発明の表現を方法、装置、システム、コンピュータプログラム、データ構造、記録媒体などの間で変換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above components and the conversion of the expression of the present invention between methods, devices, systems, computer programs, data structures, recording media and the like are also effective as aspects of the present invention.

本発明によれば、無線通信を介して複数の機器を制御する際の柔軟性を高めることができる。 According to the present invention, it is possible to increase the flexibility when controlling a plurality of devices via wireless communication.

実施の形態に係る同期制御システムの概要を説明するための図である。It is a figure for demonstrating the outline of the synchronous control system which concerns on embodiment. 実施の形態に係る制御装置の機能構成を模式的に示す図である。It is a figure which shows typically the functional structure of the control device which concerns on embodiment. 実施の形態に係る制御装置が実行する制御処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the control process executed by the control apparatus which concerns on embodiment. 実施の形態に係る制御装置の利用シーンの一例を模式的に示す図である。It is a figure which shows typically an example of the use scene of the control device which concerns on embodiment. 実施の形態に係る電話番号データベースのデータ構造を模式的に示す図である。It is a figure which shows typically the data structure of the telephone number database which concerns on embodiment.

<実施の形態の概要>
実施の形態の概要を述べる。実施の形態に係る制御装置は、時刻同期サーバを用いて制御対象である各機器を時刻同期させた後に、動作開始のタイミングを示すタイムスタンプ付きの制御信号を各機器に送信する。各機器は互いに時刻が同期しているため、制御装置から受信した制御信号に含まれるタイムスタンプにしたがって動作すれば、各機器の動作は自然に同期される。
<Outline of the embodiment>
The outline of the embodiment will be described. The control device according to the embodiment synchronizes the time of each device to be controlled by using the time synchronization server, and then transmits a control signal with a time stamp indicating the timing of starting the operation to each device. Since the times of the devices are synchronized with each other, the operations of the devices are naturally synchronized if they operate according to the time stamp included in the control signal received from the control device.

図1は、実施の形態に係る同期制御システムSの概要を説明するための図である。実施の形態に係る同期制御システムSは、制御装置1、時刻同期サーバT、及び制御装置1の制御対象となる複数の機器Dを含む。制御装置1、時刻同期サーバT、及び各機器Dは、無線通信ネットワークNを介して互いに通信可能な態様で接続されている。無線通信ネットワークNは、例えば携帯電話通信回線及びインターネットを含む通信回線である。 FIG. 1 is a diagram for explaining an outline of the synchronous control system S according to the embodiment. The synchronization control system S according to the embodiment includes a control device 1, a time synchronization server T, and a plurality of devices D to be controlled by the control device 1. The control device 1, the time synchronization server T, and each device D are connected to each other via the wireless communication network N in such a manner that they can communicate with each other. The wireless communication network N is, for example, a communication line including a mobile phone communication line and the Internet.

図1は、制御装置1の制御対象が2つの照明機器である場合の例を示している。しかしながら、制御装置1の制御対象は照明機器に限られず、他の機器であってもよい。また、制御装置1が制御対象とする機器Dの数は2に限られず、3以上であってもよい。 FIG. 1 shows an example in which the control target of the control device 1 is two lighting devices. However, the control target of the control device 1 is not limited to the lighting equipment, and may be other equipment. Further, the number of devices D to be controlled by the control device 1 is not limited to 2, and may be 3 or more.

以下、実施の形態に係る同期制御システムSにおける処理の流れの概要を(1)から(7)の順に述べるが、その番号は図1における(1)から(7)と対応する。 Hereinafter, the outline of the processing flow in the synchronous control system S according to the embodiment will be described in the order of (1) to (7), and the numbers correspond to (1) to (7) in FIG.

(1)制御装置1は、無線通信ネットワークNを介して各機器Dに同一の時刻同期サーバTにより時刻同期との時刻同期を指示する時刻同期指示信号を送信する。
(2)各機器Dは、時刻同期指示信号を受信することを契機として、それぞれ同一の時刻同期サーバTを用いて時刻を合わせる。
(3)各機器Dは同一の時刻同期サーバTから時刻情報を受信し、各機器Dがそれぞれ備える内部時計(不図示)の時刻を調整する。これにより、各機器Dの時刻は同期される。
(1) The control device 1 transmits a time synchronization instruction signal instructing time synchronization with time synchronization to each device D via the wireless communication network N by the same time synchronization server T.
(2) Each device D adjusts the time by using the same time synchronization server T, triggered by receiving the time synchronization instruction signal.
(3) Each device D receives time information from the same time synchronization server T, and adjusts the time of the internal clock (not shown) provided by each device D. As a result, the time of each device D is synchronized.

(4)各機器Dは、時刻調整が済んだことを示す情報を制御装置1に送信する。
(5)制御装置1は、各機器Dそれぞれの動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する。
(6)制御装置1は、タイムスタンプ付き制御信号を各機器Dに送信する。
(4) Each device D transmits information indicating that the time adjustment has been completed to the control device 1.
(5) The control device 1 assigns a time stamp indicating the time of operation start of each device D to generate a control signal with a time stamp.
(6) The control device 1 transmits a time-stamped control signal to each device D.

(7)各機器Dは、タイムスタンプ付き制御信号に含まれるタイムスタンプにしたがって動作する。各機器Dの時刻は同期しているため、各機器Dは同期して動作することができる。ひとたび各機器Dが時刻同期を済ませれば、制御装置1は各機器Dにタイムスタンプ付き制御信号を送信するだけで、各機器Dを同期して動作させることができる。このため、制御装置1は、タイムスタンプ付き制御信号を送信する機器Dを変更することができ、また、各機器Dの動作のタイミングも変更することができる。したがって、制御装置1は、無線通信ネットワークNを介して複数の機器Dを制御する際の柔軟性を高めることができる。 (7) Each device D operates according to the time stamp included in the time stamped control signal. Since the time of each device D is synchronized, each device D can operate in synchronization. Once each device D has completed time synchronization, the control device 1 can operate each device D in synchronization only by transmitting a time stamped control signal to each device D. Therefore, the control device 1 can change the device D for transmitting the time-stamped control signal, and can also change the operation timing of each device D. Therefore, the control device 1 can increase the flexibility when controlling a plurality of devices D via the wireless communication network N.

<実施の形態に係る制御装置1の機能構成>
図2は、実施の形態に係る制御装置1の機能構成を模式的に示す図である。制御装置1は、記憶部2と制御部3とを備える。図2において、矢印は主なデータの流れを示しており、図2に示していないデータの流れがあってもよい。図2において、各機能ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。そのため、図2に示す機能ブロックは単一の装置内に実装されてもよく、あるいは複数の装置内に分かれて実装されてもよい。機能ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてもよい。
<Functional configuration of the control device 1 according to the embodiment>
FIG. 2 is a diagram schematically showing a functional configuration of the control device 1 according to the embodiment. The control device 1 includes a storage unit 2 and a control unit 3. In FIG. 2, the arrows indicate the main data flows, and there may be data flows not shown in FIG. In FIG. 2, each functional block shows not a hardware (device) unit configuration but a functional unit configuration. Therefore, the functional block shown in FIG. 2 may be mounted in a single device, or may be mounted in a plurality of devices separately. Data can be exchanged between functional blocks via any means such as a data bus, a network, and a portable storage medium.

記憶部2は、制御装置1を実現するコンピュータのBIOS(Basic Input Output System)等を格納するROM(Read Only Memory)や制御装置1の作業領域となるRAM(Random Access Memory)、OS(Operating System)やアプリケーションプログラム、当該アプリケーションプログラムの実行時に参照される種々の情報を格納するHDD(Hard Disk Drive)やSSD(Solid State Drive)等の大容量記憶装置である。 The storage unit 2 includes a ROM (Read Only Memory) that stores a BIOS (Basic Input Output System) of a computer that realizes the control device 1, a RAM (Random Access Memory) that is a work area of the control device 1, and an OS (Operating System). ), An application program, and a large-capacity storage device such as an HDD (Hard Disk Drive) or SSD (Solid State Drive) that stores various information referred to when the application program is executed.

制御部3は、制御装置1のCPU(Central Processing Unit)やGPU(Graphics Processing Unit)等のプロセッサであり、記憶部2に記憶されたプログラムを実行することによって同期指示部30、制御信号生成部31、制御信号送信部32、及び最長遅延時間取得部33として機能する。 The control unit 3 is a processor such as a CPU (Central Processing Unit) or GPU (Graphics Processing Unit) of the control device 1, and is a synchronization instruction unit 30 and a control signal generation unit by executing a program stored in the storage unit 2. It functions as 31, a control signal transmission unit 32, and a maximum delay time acquisition unit 33.

なお、図2は、制御装置1が単一の装置で構成されている場合の例を示している。しかしながら、制御装置1は、例えばクラウドコンピューティングシステムのように複数のプロセッサやメモリ等の計算リソースによって実現されてもよい。この場合、制御部3を構成する各部は、複数の異なるプロセッサの中の少なくともいずれかのプロセッサがプログラムを実行することによって実現される。 Note that FIG. 2 shows an example in which the control device 1 is composed of a single device. However, the control device 1 may be realized by a plurality of processors, memory, and other computational resources, such as a cloud computing system. In this case, each unit constituting the control unit 3 is realized by executing a program by at least one of a plurality of different processors.

上述したように、制御装置1は、無線通信ネットワークNを介して複数の機器Dと通信可能である。同期指示部30は、無線通信ネットワークNを介して接続する複数の機器Dそれぞれに、時刻同期サーバTとの時刻同期を指示する時刻同期指示信号を送信する。なお、時刻同期サーバTは、既知のNTP(Network Time Protocol)サーバを用いて実現できる。あるいは、時刻同期サーバTは、既知のPTP(Precision Time Protocol)を用いて各機器Dの時刻同期を実現してもよい。 As described above, the control device 1 can communicate with a plurality of devices D via the wireless communication network N. The synchronization instruction unit 30 transmits a time synchronization instruction signal instructing time synchronization with the time synchronization server T to each of the plurality of devices D connected via the wireless communication network N. The time synchronization server T can be realized by using a known NTP (Network Time Protocol) server. Alternatively, the time synchronization server T may realize time synchronization of each device D by using a known PTP (Precision Time Protocol).

制御信号生成部31は、複数の機器Dのうちの2以上の機器Dを制御するための制御信号に、各機器Dの動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する。制御信号送信部32は、制御信号生成部31が生成したタイムスタンプ付き制御信号を制御対象とする2以上の機器Dそれぞれに送信する。 The control signal generation unit 31 assigns a time stamp indicating the operation start time of each device D to the control signal for controlling two or more devices D among the plurality of devices D, and outputs a control signal with a time stamp. Generate. The control signal transmission unit 32 transmits the time-stamped control signal generated by the control signal generation unit 31 to each of the two or more devices D to be controlled.

ここで、制御信号生成部31は、記憶部2にあらかじめ格納された情報を読み出すことで制御対象とする機器Dを選択してもよいし、タイムスタンプ付き制御信号を生成するタイミングで制御対象とする機器Dを都度選択してもよい。 Here, the control signal generation unit 31 may select the device D to be controlled by reading the information stored in advance in the storage unit 2, or may select the device D as the control target at the timing of generating the time stamped control signal. The device D to be used may be selected each time.

制御装置1からタイムスタンプ付き制御信号を受信した各Dは、それぞれあらかじめ時刻同期サーバTと時刻同期している。このため、制御装置1から受信したタイムスタンプ付き制御信号に含まれるタイムスタンプにしたがって動作することにより、各機器Dは協調して動作することができる。また、制御装置1は、タイムスタンプ付き制御信号を送信する各機器Dを都度選択することにより、制御対象とする機器Dを柔軟に変更できる。このように、実施の形態に係る制御装置1は、無線通信ネットワークNを介して複数の機器Dを柔軟に制御することができる。 Each D that receives the time stamped control signal from the control device 1 synchronizes the time with the time synchronization server T in advance. Therefore, by operating according to the time stamp included in the time stamped control signal received from the control device 1, each device D can operate in cooperation. Further, the control device 1 can flexibly change the device D to be controlled by selecting each device D for transmitting the time stamped control signal each time. As described above, the control device 1 according to the embodiment can flexibly control a plurality of devices D via the wireless communication network N.

ここで、制御装置1と各機器Dとの間で通信するためには一定の時間を要する。そのため、制御信号生成部31は、制御装置1と機器Dとの間の通信に要する時間を考慮して制御信号にタイムスタンプを付与する。このとき、制御装置1と機器Dとの間の通信に要する時間を正確に測れれば、制御信号生成部31は、動作開始の時刻をより精密に設定することができる。 Here, it takes a certain amount of time to communicate between the control device 1 and each device D. Therefore, the control signal generation unit 31 adds a time stamp to the control signal in consideration of the time required for communication between the control device 1 and the device D. At this time, if the time required for communication between the control device 1 and the device D can be accurately measured, the control signal generation unit 31 can set the operation start time more precisely.

そこで、最長遅延時間取得部33は、複数の機器Dそれぞれとの間の通信に関する遅延時間のうち最長の遅延時間を取得する。具体的には、最長遅延時間取得部33は、制御対象とする各機器Dそれぞれの往復遅延時間(round-trip time)を複数回計測し、その平均値を2分することで各機器Dとの間の通信遅延時間を推定する。その後、最長遅延時間取得部33は、各機器Dそれぞれの通信遅延時間のうち最大の長さの時間を最長遅延時間として取得する。 Therefore, the longest delay time acquisition unit 33 acquires the longest delay time among the delay times related to communication with each of the plurality of devices D. Specifically, the longest delay time acquisition unit 33 measures the round-trip time of each device D to be controlled a plurality of times, and divides the average value into two to obtain the device D. Estimate the communication delay time between. After that, the maximum delay time acquisition unit 33 acquires the maximum length of the communication delay time of each device D as the maximum delay time.

制御信号生成部31は、制御対象とする2以上の機器Dの動作開始の時刻が最長遅延時間経過よりも後となるように、制御信号にタイムスタンプを付与してタイムスタンプ付き制御信号を生成する。これにより、制御信号生成部31は、通信遅延時間が最長となる機器Dであっても他の機器Dと同期して動作させることができる。 The control signal generation unit 31 adds a time stamp to the control signal and generates a control signal with a time stamp so that the operation start time of the two or more devices D to be controlled is later than the lapse of the maximum delay time. do. As a result, the control signal generation unit 31 can be operated in synchronization with the other device D even if the device D has the longest communication delay time.

一般に、無線通信ネットワークN上には複数の異なる時刻同期サーバTが存在しうる。各時刻同期サーバTの時刻の正確性は高いと考えられるが、各機器Dがそれぞれ同じ時刻同期サーバTにより時刻調整する方が時刻同期の観点から好ましい。そこで、同期指示部30は、複数の機器Dそれぞれに、同一の時刻同期サーバTとの時刻同期を指示する時刻同期指示信号を送信してもよい。 In general, a plurality of different time synchronization servers T may exist on the wireless communication network N. Although it is considered that the time accuracy of each time synchronization server T is high, it is preferable that each device D adjusts the time by the same time synchronization server T from the viewpoint of time synchronization. Therefore, the synchronization instruction unit 30 may transmit a time synchronization instruction signal instructing time synchronization with the same time synchronization server T to each of the plurality of devices D.

具体的には、同期指示部30は、単一の時刻同期サーバTに関連付けられたURL(Uniform Resource Locator)を時刻同期指示信号に含めて各機器Dに送信する。機器Dは、制御装置1から受信した時刻同期指示信号に含まれるURLにしたがって時刻同期サーバTと接続し、時刻調整を実行する。これにより、制御装置1は、各機器Dの時刻同期の精度をより向上させることができる。 Specifically, the synchronization instruction unit 30 includes a URL (Uniform Resource Locator) associated with a single time synchronization server T in the time synchronization instruction signal and transmits the URL (Uniform Resource Locator) to each device D. The device D connects to the time synchronization server T according to the URL included in the time synchronization instruction signal received from the control device 1, and executes time adjustment. As a result, the control device 1 can further improve the accuracy of time synchronization of each device D.

<制御装置1が実行する制御方法の処理フロー>
図3は、実施の形態に係る制御装置1が実行する制御処理の流れを説明するためのフローチャートである。本フローチャートにおける処理は、例えば制御装置1が起動したときに開始する。
<Processing flow of control method executed by control device 1>
FIG. 3 is a flowchart for explaining the flow of the control process executed by the control device 1 according to the embodiment. The process in this flowchart starts, for example, when the control device 1 is activated.

同期指示部30は、制御対象とする複数の機器Dそれぞれに、時刻同期サーバTとの時刻同期を指示する時刻同期指示信号を送信する(S2)。最長遅延時間取得部33は、各機器Dとの間の通信の遅延時間を取得する(S4)。最長遅延時間取得部33が通信の遅延時間を全ての機器Dから取得するまでの間(S6のNo)、最長遅延時間取得部33は遅延時間の取得を継続する。 The synchronization instruction unit 30 transmits a time synchronization instruction signal instructing time synchronization with the time synchronization server T to each of the plurality of devices D to be controlled (S2). The longest delay time acquisition unit 33 acquires the delay time of communication with each device D (S4). Until the maximum delay time acquisition unit 33 acquires the communication delay time from all the devices D (No in S6), the maximum delay time acquisition unit 33 continues to acquire the delay time.

通信の遅延時間を全ての機器Dから取得すると(S6のYes)、最長遅延時間取得部33は、取得した遅延時間のうち最長の遅延時間である最長遅延時間を取得する(S8)。制御信号生成部31は、制御対象とする2以上の機器Dの動作開始の時刻が最長遅延時間経過よりも後となるように、制御信号にタイムスタンプを付与してタイムスタンプ付き制御信号を生成する(S10)。制御信号送信部32は、制御信号生成部31が生成したタイムスタンプ付き制御信号を制御対象とする2以上の機器Dそれぞれに送信する(S12)。 When the communication delay time is acquired from all the devices D (Yes in S6), the longest delay time acquisition unit 33 acquires the longest delay time, which is the longest delay time among the acquired delay times (S8). The control signal generation unit 31 adds a time stamp to the control signal and generates a control signal with a time stamp so that the operation start time of the two or more devices D to be controlled is later than the lapse of the maximum delay time. (S10). The control signal transmission unit 32 transmits the time-stamped control signal generated by the control signal generation unit 31 to each of the two or more devices D to be controlled (S12).

制御信号送信部32が2以上の機器Dそれぞれにタイムスタンプ付き制御信号を送信すると、本フローチャートにおける処理は終了する。制御装置1は上記の処理を継続することにより、機器Dの制御を継続する。 When the control signal transmission unit 32 transmits a time-stamped control signal to each of the two or more devices D, the process in this flowchart ends. The control device 1 continues to control the device D by continuing the above processing.

<実施の形態に係る制御装置1の利用シーン>
続いて、実施の形態に係る制御装置1の利用シーンを説明する。
<Usage scene of control device 1 according to the embodiment>
Subsequently, a usage scene of the control device 1 according to the embodiment will be described.

実施の形態に係る制御装置1は、例えばRS232(Recommended Standard 232)等のシリアル通信用のデータの送信に用いられる。従来のシリアル通信では、例えばプリンタとPC(Personal Computer)とのように、ケーブル等で接続された送信元と送信先とが1対1で通信する。これに対し、実施の形態に係る制御装置1は、従来のシリアル通信用のデータをパケット化し、無線通信ネットワークNを介して制御対象とする機器Dに送信する。 The control device 1 according to the embodiment is used for transmitting data for serial communication such as RS232 (Recommended Standard 232). In conventional serial communication, for example, a printer and a PC (Personal Computer) have a one-to-one communication between a source and a destination connected by a cable or the like. On the other hand, the control device 1 according to the embodiment packetizes the data for conventional serial communication and transmits it to the device D to be controlled via the wireless communication network N.

図4は、実施の形態に係る制御装置1の利用シーンの一例を模式的に示す図である。図4は、制御装置1と機器Dとが無線通信ネットワークNを介して接続している。ここで、制御装置1は計算機Cと通信端末Iとを含み、機器Dは照明機器Lと通信端末Iとを含む。通信端末Iは無線通信機能を備える機器であり、携帯通信端末用の既知のOSを実行することで動作が制御されている。 FIG. 4 is a diagram schematically showing an example of a usage scene of the control device 1 according to the embodiment. In FIG. 4, the control device 1 and the device D are connected to each other via the wireless communication network N. Here, the control device 1 includes a computer C and a communication terminal I, and the device D includes a lighting device L and a communication terminal I. The communication terminal I is a device having a wireless communication function, and its operation is controlled by executing a known OS for a mobile communication terminal.

通信端末Iはシリアル通信回線用のインタフェースを備えている。このため、計算機Cと通信端末Iとの間、及び照明機器Lと通信端末Iとの間はシリアル通信用のプロトコルを用いて通信することができる。ここで、複数の機器Dは、それぞれタイムスタンプ付き制御信号による制御の下に発光又は消灯する照明機器Lを含んでいる。 The communication terminal I is provided with an interface for a serial communication line. Therefore, communication can be performed between the computer C and the communication terminal I, and between the lighting device L and the communication terminal I using a protocol for serial communication. Here, each of the plurality of devices D includes a lighting device L that emits light or turns off under the control of a time-stamped control signal.

図4に示す例では、計算機Cと通信端末Iとは異なる機器である。しかしながら、計算機Cと通信端末Iとは一体となっていてもよい。同様に、図4に示す例では照明機器Lと通信端末Iとは異なる機器であるが、照明機器Lに通信端末Iの機能を含めて照明機器Lが単体で機器Dとして機能してもよい。 In the example shown in FIG. 4, the computer C and the communication terminal I are different devices. However, the computer C and the communication terminal I may be integrated. Similarly, in the example shown in FIG. 4, the lighting device L and the communication terminal I are different devices, but the lighting device L may function as the device D by itself including the function of the communication terminal I. ..

制御信号生成部31は、照明機器Lの点灯を制御するためのシリアル通信用データをパケット化して制御信号を生成する。制御信号送信部32は、パケット化された制御信号を無線通信ネットワークNを介して各機器Dに送信する。機器Dに含まれる通信端末Iは、受信した制御信号に基づいてシリアル通信用データを再現する。通信端末Iは、シリアル通信回線を介してシリアル通信用データを照明機器Lに送信する。照明機器Lは、受信したシリアル通信用データに基づいて点灯又は消灯の動作を実行することができる。 The control signal generation unit 31 generates a control signal by packetizing serial communication data for controlling the lighting of the lighting device L. The control signal transmission unit 32 transmits the packetized control signal to each device D via the wireless communication network N. The communication terminal I included in the device D reproduces serial communication data based on the received control signal. The communication terminal I transmits serial communication data to the lighting device L via the serial communication line. The lighting device L can perform an operation of turning on or off based on the received serial communication data.

このように、制御装置1は、従来型のシリアル通信用データをパケット化して機器Dに送信することにより、従来であれば1対1でしか通信できなかった複数の照明機器Lのそれぞれに制御信号を送信することができる。これにより、制御装置1は、従来型の照明機器Lを利用しつつ、複数の照明機器Lを同期して動作させることができる。機器Dをテレビやコンサート、演劇やテーマパークのイルミネーション等に採用して制御装置1で制御すれば、例えば音楽等にあわせて複数の照明機器Lの点灯を同期させることができる。 In this way, the control device 1 packetizes the conventional serial communication data and transmits it to the device D, thereby controlling each of the plurality of lighting devices L, which could only communicate on a one-to-one basis in the past. A signal can be transmitted. As a result, the control device 1 can operate a plurality of lighting devices L in synchronization while using the conventional lighting device L. If the device D is adopted for the illumination of a television, a concert, a play, a theme park, or the like and controlled by the control device 1, it is possible to synchronize the lighting of a plurality of lighting devices L in accordance with, for example, music.

図4において、通信端末IがSIM(Subscriber Identity Module)カードを読み込むための機能とSIMカードとを含んでいる場合、制御信号生成部31は、各SIMカードに割り当てられている電話番号に基づいて各通信端末Iを特定してもよい。この場合、複数の機器Dはそれぞれ各機器Dを一意に特定するための電話番号があらかじめ割り当てられていることになる。 In FIG. 4, when the communication terminal I includes a function for reading a SIM (Subscriber Identity Module) card and a SIM card, the control signal generation unit 31 is based on a telephone number assigned to each SIM card. Each communication terminal I may be specified. In this case, each of the plurality of devices D is assigned a telephone number for uniquely identifying each device D in advance.

図5は、実施の形態に係る電話番号データベースのデータ構造を模式的に示す図である。電話番号データベースは記憶部2に格納されており、制御信号生成部31によって管理されている。 FIG. 5 is a diagram schematically showing a data structure of a telephone number database according to an embodiment. The telephone number database is stored in the storage unit 2 and is managed by the control signal generation unit 31.

図5に示すように、各機器Dには、各機器Dそれぞれを一意に特定するための機器識別子の他、電話番号も割り当てられている。例えば、図5において、機器識別子がDID00001である機器Dには、電話番号として080−aaaa−bbbbが割り当てられている。制御信号送信部32は、携帯電話通信回線を介して、電話番号に基づいて特定した2以上の機器Dにタイムスタンプ付き制御信号を送信する。これにより、制御装置1は、既存の携帯電話通信回線の設備を流用して、複数の機器Dにタイムスタンプ付き制御信号を送信することができる。 As shown in FIG. 5, each device D is assigned a telephone number as well as a device identifier for uniquely identifying each device D. For example, in FIG. 5, the device D whose device identifier is DID00001 is assigned 080-aaaa-bbbb as a telephone number. The control signal transmission unit 32 transmits a time-stamped control signal to two or more devices D specified based on the telephone number via the mobile phone communication line. As a result, the control device 1 can transmit the time-stamped control signal to the plurality of devices D by diverting the equipment of the existing mobile phone communication line.

<実施の形態に係る制御装置1が奏する効果>
以上説明したように、実施の形態に係る制御装置1によれば、無線通信ネットワークNを介して複数の機器Dを制御する際の柔軟性を高めることができる。
<Effects of the control device 1 according to the embodiment>
As described above, according to the control device 1 according to the embodiment, it is possible to increase the flexibility when controlling a plurality of devices D via the wireless communication network N.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果をあわせ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes can be made within the scope of the gist. be. For example, all or part of the device can be functionally or physically distributed / integrated in any unit. Also included in the embodiments of the present invention are new embodiments resulting from any combination of the plurality of embodiments. The effect of the new embodiment produced by the combination has the effect of the original embodiment together.

<変形例>
上記では、制御装置1が送信した時刻同期指示信号を受信することを契機として、機器Dは時刻同期サーバTと時刻同期をする場合について説明した。これに替えて、あるいはこれに加えて、機器Dは例えば起動時や1日のうちの所定の時刻等に自発的に時刻同期サーバTと接続して時刻調整してもよい。これにより、制御装置1が機器Dに時刻同期指示信号を送信することを省略しても、複数の機器Dが時刻同期していることを保証できる。
<Modification example>
In the above, the case where the device D synchronizes with the time synchronization server T with the time synchronization instruction signal transmitted by the control device 1 as an opportunity has been described. Alternatively or in addition to this, the device D may voluntarily connect to the time synchronization server T at the time of startup, a predetermined time of the day, or the like to adjust the time. Thereby, even if the control device 1 omits transmitting the time synchronization instruction signal to the device D, it can be guaranteed that the plurality of devices D are time-synchronized.

1・・・制御装置
2・・・記憶部
3・・・制御部
30・・・同期指示部
31・・・制御信号生成部
32・・・制御信号送信部
33・・・最長遅延時間取得部
C・・・計算機
D・・・機器
I・・・通信端末
L・・・照明機器
N・・・無線通信ネットワーク
S・・・同期制御システム
T・・・時刻同期サーバ
1 ... Control device 2 ... Storage unit 3 ... Control unit 30 ... Synchronization instruction unit 31 ... Control signal generation unit 32 ... Control signal transmission unit 33 ... Maximum delay time acquisition unit C ... Computer D ... Equipment I ... Communication terminal L ... Lighting equipment N ... Wireless communication network S ... Synchronization control system T ... Time synchronization server

Claims (7)

無線通信回線を介して複数の機器と通信可能な制御装置であって、
前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信する同期指示部と、
前記複数の機器それぞれとの間の通信に関する遅延時間のうち最長の遅延時間を取得する最長遅延時間取得部と、
前記最長遅延時間取得部が前記遅延時間を計測した複数の機器の中から機器を制御するための制御信号を送信する2以上の機器を都度選択するとともに、動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する制御信号生成部と、
前記2以上の機器の動作開始の時刻が前記最長の遅延時間経過よりも後となるように、前記タイムスタンプ付き制御信号を前記制御信号が都度選択した前記2以上の機器それぞれに送信する制御信号送信部と、
を備える制御装置。
A control device that can communicate with multiple devices via a wireless communication line.
A synchronization instruction unit that transmits a time synchronization instruction signal instructing time synchronization with the time synchronization server to each of the plurality of devices.
The longest delay time acquisition unit that acquires the longest delay time among the delay times related to communication with each of the plurality of devices, and
Together with the maximum delay time acquiring unit is selected each time two or more devices for transmitting control signals for controlling the device from the plurality of devices that measure the delay time, giving a time stamp indicating the time of the operation start A control signal generator that generates a time-stamped control signal,
A control signal for transmitting the time-stamped control signal to each of the two or more devices selected by the control signal each time so that the operation start time of the two or more devices is later than the lapse of the longest delay time. With the transmitter
A control device equipped with.
前記制御信号は、シリアル通信用データをパケット化して生成されたデータである、
請求項1に記載の制御装置。
The control signal is data generated by packetizing serial communication data.
The control device according to claim 1.
前記複数の機器はそれぞれ各機器を一意に特定するための電話番号があらかじめ割り当てられており、
前記制御信号送信部は、携帯電話通信回線を介して、前記電話番号に基づいて特定した前記2以上の機器に前記タイムスタンプ付き制御信号を送信する、
請求項1又は2に記載の制御装置。
A telephone number for uniquely identifying each device is assigned to each of the plurality of devices in advance.
The control signal transmission unit transmits the time-stamped control signal to the two or more devices specified based on the telephone number via the mobile phone communication line.
The control device according to claim 1 or 2.
前記同期指示部は、前記複数の機器それぞれに、同一の時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信する、
請求項1からのいずれか1項に記載の制御装置。
The synchronization instruction unit transmits a time synchronization instruction signal instructing time synchronization with the same time synchronization server to each of the plurality of devices.
The control device according to any one of claims 1 to 3.
前記複数の機器は、それぞれ前記タイムスタンプ付き制御信号による制御の下に発光又は消灯する照明機器である、
請求項1からのいずれか1項に記載の制御装置。
The plurality of devices are lighting devices that emit or turn off light under the control of the time-stamped control signal.
The control device according to any one of claims 1 to 4.
無線通信回線を介して複数の機器と通信可能な制御装置のプロセッサが、
前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信するステップと、
前記複数の機器それぞれとの間の通信に関する遅延時間のうち最長の遅延時間を取得するステップと、
前記遅延時間を計測した複数の機器の中から機器を制御するための制御信号を送信する2以上の機器を都度選択するステップと、
動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成するステップと、
前記2以上の機器の動作開始の時刻が前記最長の遅延時間経過よりも後となるように、前記タイムスタンプ付き制御信号を都度選択された前記2以上の機器それぞれに送信するステップと、
を実行する制御方法。
The processor of the control device that can communicate with multiple devices via the wireless communication line,
A step of transmitting a time synchronization instruction signal instructing time synchronization with the time synchronization server to each of the plurality of devices, and a step of transmitting the time synchronization instruction signal.
The step of acquiring the longest delay time among the delay times related to communication with each of the plurality of devices, and
A step of selecting two or more devices for transmitting a control signal for controlling the device from the plurality of devices whose delay times have been measured each time.
A step to generate a control signal with a time stamp by adding a time stamp indicating the time of operation start, and
A step of transmitting the time stamped control signal to each of the two or more devices selected each time so that the operation start time of the two or more devices is later than the lapse of the longest delay time.
Control method to execute.
無線通信回線を介して複数の機器と通信可能なコンピュータに、
前記複数の機器それぞれに、時刻同期サーバとの時刻同期を指示する時刻同期指示信号を送信する機能と、
前記複数の機器それぞれとの間の通信に関する遅延時間のうち最長の遅延時間を取得する機能と、
前記遅延時間を計測した複数の機器の中から機器を制御するための制御信号を送信する2以上の機器を都度選択する機能と、
動作開始の時刻を示すタイムスタンプを付与してタイムスタンプ付き制御信号を生成する機能と、
前記2以上の機器の動作開始の時刻が前記最長の遅延時間経過よりも後となるように、前記タイムスタンプ付き制御信号を都度選択された前記2以上の機器それぞれに送信する機能と、
を実行させるプログラム。
For computers that can communicate with multiple devices via wireless communication lines
A function to send a time synchronization instruction signal instructing time synchronization with the time synchronization server to each of the plurality of devices,
A function to acquire the longest delay time among the delay times related to communication with each of the plurality of devices, and
A function to select two or more devices for transmitting a control signal for controlling the device from the plurality of devices whose delay times have been measured each time.
A function to generate a control signal with a time stamp by adding a time stamp indicating the time of operation start, and
A function of transmitting the time-stamped control signal to each of the two or more devices selected each time so that the operation start time of the two or more devices is later than the lapse of the longest delay time.
A program to execute.
JP2019142195A 2019-08-01 2019-08-01 Controls, control methods, and programs Active JP6979429B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019142195A JP6979429B2 (en) 2019-08-01 2019-08-01 Controls, control methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019142195A JP6979429B2 (en) 2019-08-01 2019-08-01 Controls, control methods, and programs

Publications (2)

Publication Number Publication Date
JP2021027425A JP2021027425A (en) 2021-02-22
JP6979429B2 true JP6979429B2 (en) 2021-12-15

Family

ID=74662525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019142195A Active JP6979429B2 (en) 2019-08-01 2019-08-01 Controls, control methods, and programs

Country Status (1)

Country Link
JP (1) JP6979429B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784486B (en) * 2021-08-11 2024-04-12 深圳市智岩科技有限公司 Equipment control method, device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3692386B2 (en) * 1996-02-29 2005-09-07 株式会社セガ Synchronous operation method of communication network system and communication network system
JP2006195752A (en) * 2005-01-13 2006-07-27 Fuji Xerox Co Ltd Network device with time correcting function
JP5096853B2 (en) * 2007-09-25 2012-12-12 パナソニック株式会社 Remote control system

Also Published As

Publication number Publication date
JP2021027425A (en) 2021-02-22

Similar Documents

Publication Publication Date Title
EP3284244A1 (en) Methods, systems, and computer readable media for emulating network devices with different clocks
JP5279502B2 (en) Haptic effect data synchronization in media transport streams
JP2021506037A (en) Network cards, time synchronization methods and devices, and computer storage media
TW200741529A (en) Removable memory device, phase synchronizing method, phase synchronizing program, medium recording the same, and host terminal
CN110502310A (en) A kind of method for synchronizing time and device of virtual machine
JP6979429B2 (en) Controls, control methods, and programs
WO2023160608A1 (en) Robot control method and apparatus, and storage medium and robot cluster
CN105790963A (en) Method for managing multi-user control virtual meeting interface, server and client
US10747779B2 (en) Technologies for achieving synchronized overclocking setting on multiple computing devices
US11288032B2 (en) Platform for control in synchronization with music and control method therefor
KR102602698B1 (en) Method and device for synchronizing video and a light stick
US9912827B2 (en) Information processing apparatus for managing setting values of client device, method of controlling the same, and storage medium
EP4256863A1 (en) Heterogeneous computing systems and methods for clock synchronization
KR101736231B1 (en) Apparatus and method for generating time synchronization signal
JP6920738B2 (en) Logging device, control method, and program
JP6922241B2 (en) Information processing equipment, information processing methods, programs, information processing systems
JP2008301448A (en) Imaging apparatus, control method thereof, and imaging program
JP2021505068A (en) Distributed transcoding method and distributed transcoding system
JP2003271156A (en) Synchronization adjusting device and program for realizing synchronization adjusting method
KR101485328B1 (en) Multi-synchro control system for player
CN109314631B (en) Synchronization setting device, transmission system, synchronization setting method, and recording medium
JP2020010298A (en) Output device, synchronous control system, theses control method, and program
CN115297093B (en) Edge device data access method, related device and computer program product
Milde Synchronized mobile devices using web audio technology on a Raspberry Pi
JP2023074869A (en) Illumination presentation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201207

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201207

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210309

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210713

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210907

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: 20211102

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211115

R150 Certificate of patent or registration of utility model

Ref document number: 6979429

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150