JP2023088763A - Control device, device - Google Patents

Control device, device Download PDF

Info

Publication number
JP2023088763A
JP2023088763A JP2021203693A JP2021203693A JP2023088763A JP 2023088763 A JP2023088763 A JP 2023088763A JP 2021203693 A JP2021203693 A JP 2021203693A JP 2021203693 A JP2021203693 A JP 2021203693A JP 2023088763 A JP2023088763 A JP 2023088763A
Authority
JP
Japan
Prior art keywords
message
communication unit
control
control device
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021203693A
Other languages
Japanese (ja)
Inventor
義隆 手塚
Yoshitaka Tezuka
早人 池部
Hayato Ikebe
匡人 西谷
Masato Nishitani
龍之介 二宮
Ryunosuke Ninomiya
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2021203693A priority Critical patent/JP2023088763A/en
Publication of JP2023088763A publication Critical patent/JP2023088763A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

To provide a technique capable of registering a device by a control device even when multicast communication has failed.SOLUTION: A communication unit 110 is capable of multicasting the first message to search for registering a candidate device 200 and receive a second message, which is a response to the first message, unicasted from the device 200, and after broadcasting a third message with the same content as the first message, receive a fourth message, which is a response to the third message, unicasted from the device 200. A control unit 140 is configured so as to, when the communication unit 110 receives at least one of the second message and the fourth message unicasted, control the communication unit 110 to acquire a piece of information for registering the device 200.SELECTED DRAWING: Figure 1

Description

本開示は、制御技術に関し、特に機器を登録する制御装置、機器に関する。 TECHNICAL FIELD The present disclosure relates to control technology, and more particularly to control devices and devices that register devices.

ホームネットワークにおいてHEMS(Home Energy Management System)コントローラがエアコンディショナ、照明などの機器を制御するための通信規格の1つがECHONET Lite(登録商標)である。この通信規格においてHEMSコントローラ(制御装置)と機器とを通信させるために、制御装置に機器を登録する必要がある。制御装置に機器を登録する手順では、制御装置がマルチキャスト通信を使用して登録候補となる機器を探索する(例えば、非特許文献1参照)。 ECHONET Lite (registered trademark) is one of the communication standards for a HEMS (Home Energy Management System) controller to control devices such as air conditioners and lighting in a home network. In this communication standard, it is necessary to register the device in the control device in order to allow the device to communicate with the HEMS controller (control device). In the procedure for registering devices in the control device, the control device searches for devices that are registration candidates using multicast communication (see, for example, Non-Patent Document 1).

濱本、杉本、鷲津、石川、村上、杉村、森、一色、「ECHONET Lite搭載機器の相互接続性を阻害する家庭用ルータの実装状況調査,および相互接続性向上のための手法の提案」、情報処理学会論文誌 コンシューマ・デバイス&システム、日本、2019年1月、Vol.9、No.1、p.11-31Hamamoto, Sugimoto, Washizu, Ishikawa, Murakami, Sugimura, Mori, Isshiki, ``Survey of implementation status of home routers that hinder interoperability of ECHONET Lite-equipped devices, and proposal of method for improving interoperability'', Information Processing Society of Japan Transactions on Consumer Devices & Systems, Japan, January 2019, Vol. 9, No. 1, p. 11-31

マルチキャストのグループ管理を実行するためのプロトコルとして例えばIGMP(Internet Group Management Protocol)が使用される。しかしながら、機器、ルータにおけるIGMP機能実装の違いが存在すると、マルチキャストパケットが転送されなくなる。その結果、制御装置が機器を発見できなくなり、制御装置に機器を登録できなくなる。 For example, IGMP (Internet Group Management Protocol) is used as a protocol for performing multicast group management. However, if there is a difference in IGMP function implementation between devices and routers, multicast packets will not be transferred. As a result, the control device cannot find the device and cannot register the device with the control device.

本開示はこうした状況に鑑みなされたものであり、その目的は、マルチキャスト通信の失敗が発生しても、制御装置における機器の登録を可能にする技術を提供することにある。 The present disclosure has been made in view of such circumstances, and an object thereof is to provide a technology that enables device registration in a control device even if multicast communication fails.

上記課題を解決するために、本開示のある態様の制御装置は、登録候補となる機器を探索するための第1メッセージをマルチキャスト送信してから、第1メッセージに対する応答である第2メッセージを機器からユニキャスト受信可能であるとともに、第1メッセージと同一の内容の第3メッセージをブロードキャスト送信してから、第3メッセージに対する応答である第4メッセージを機器からユニキャスト受信可能である通信部と、通信部が第2メッセージと第4メッセージとのうちの少なくとも1つをユニキャスト受信した場合、機器を登録するための情報を通信部に取得させる制御部と、を備える。 In order to solve the above problems, a control device according to one aspect of the present disclosure multicasts a first message for searching for devices that are candidates for registration, and then sends a second message, which is a response to the first message, to the device. a communication unit capable of unicast reception from the device and capable of unicast receiving a fourth message, which is a response to the third message, from the device after broadcasting a third message having the same content as the first message; a control unit that causes the communication unit to acquire information for registering the device when the communication unit receives at least one of the second message and the fourth message by unicast.

本開示の別の態様は、機器である。この機器は、制御装置に登録された機器であって、機器における情報の存在を知らせるための第1メッセージをマルチキャスト送信するとともに、第1メッセージと同一の内容の第2メッセージをブロードキャスト送信する通信部と、通信部からマルチキャスト送信した第1メッセージと、通信部からブロードキャスト送信した第2メッセージのうちの少なくとも1つを制御装置が受信した場合、機器における情報を通信部から制御装置に提供させる制御部と、を備える。 Another aspect of the disclosure is an apparatus. This device is registered in the control device, and multicasts a first message for notifying the existence of information in the device, and also broadcasts a second message having the same content as the first message. and, when the control device receives at least one of the first message multicast-transmitted from the communication unit and the second message broadcast-transmitted from the communication unit, the control unit causes the communication unit to provide information in the device to the control device. And prepare.

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

本開示によれば、マルチキャスト通信の失敗が発生しても、制御装置における機器の登録を可能にできる。 According to the present disclosure, it is possible to register a device in a control device even if multicast communication fails.

本実施例に係る制御システムの構成を示す図である。It is a figure which shows the structure of the control system which concerns on a present Example. 図1の制御システムにおいて実行されるIGMPの処理手順を示すシーケンス図である。2 is a sequence diagram showing an IGMP processing procedure executed in the control system of FIG. 1; FIG. 本実施例の比較対象となる制御装置と機器との間の登録手順を示すシーケンス図である。FIG. 5 is a sequence diagram showing a registration procedure between a control device and a device to be compared in this embodiment; 図1の制御装置と機器との間の登録手順を示すシーケンス図である。FIG. 2 is a sequence diagram showing a registration procedure between the control device and equipment in FIG. 1; 図1の制御装置と機器との間のテーブル更新手順を示すシーケンス図である。2 is a sequence diagram showing a table update procedure between the control device and equipment in FIG. 1; FIG. 図1の制御装置と機器との間の別のテーブル更新手順を示すシーケンス図である。3 is a sequence diagram showing another table update procedure between the control device of FIG. 1 and the device; FIG.

本開示の実施例を具体的に説明する前に、本実施例の概要を説明する。実施例は、戸建て住宅、マンション、アパート等の施設において、照明装置、エアーコンディショナの動作を制御する制御システムに関する。制御システムは、施設において消費される電力も管理可能である。制御システムでは、照明装置、エアーコンディショナ等の機器がネットワークを介して制御装置と接続されており、制御装置と機器との通信により制御装置が機器を制御する。制御システムの一例はHEMSであり、HEMSにおける通信にはECHONET Lite(登録商標)が使用される。 Before specifically describing the embodiments of the present disclosure, an outline of the present embodiments will be described. The embodiment relates to a control system for controlling the operation of lighting devices and air conditioners in facilities such as detached houses, condominiums, and apartments. The control system can also manage the power consumed at the facility. In a control system, devices such as a lighting device and an air conditioner are connected to a control device via a network, and the control device controls the devices through communication between the control device and the devices. An example of a control system is HEMS, and ECHONET Lite (registered trademark) is used for communication in HEMS.

制御システムでは、制御装置に機器が登録されると、制御装置と機器との通信が可能になる。ここで、登録とは、(i)IP(Internet Protocol)アドレスなどの機器の情報を制御装置の内部に保存すること、または(ii)(i)に加えて、制御装置に表示する名称を設定し保存することを示す。制御装置に機器を登録するために、制御装置がマルチキャスト通信により機器を探索する。マルチキャスト通信では、すべての機器に信号が送信されるのではなく、特定の機器に信号が送信される。マルチキャスト通信における送信先は、ルータで管理される。しかしながら、ルータ、または機器におけるIGMPの実装不備(不具合)により、マルチキャスト通信が失敗する状況が発生する。その場合、制御装置は、機器を探索により発見できないので、機器を登録できない。その結果、制御装置と機器との通信が不可能になる。マルチキャスト通信の失敗が発生しても、制御装置における機器の登録を可能するために、本実施例に係る制御装置は、マルチキャスト通信により機器を探索するとともに、ブロードキャスト通信によっても機器を探索する。 In the control system, when a device is registered with the control device, communication between the control device and the device becomes possible. Here, registration means (i) storing device information such as an IP (Internet Protocol) address inside the control device, or (ii) setting a name to be displayed on the control device in addition to (i). to indicate that the In order to register a device with the control device, the control device searches for the device through multicast communication. In multicast communication, signals are sent to specific devices instead of being sent to all devices. Destinations in multicast communication are managed by routers. However, a situation occurs in which multicast communication fails due to an implementation defect (malfunction) of IGMP in a router or device. In that case, the control device cannot find the device by searching, and cannot register the device. As a result, communication between the controller and the equipment becomes impossible. In order to enable device registration in the control device even if multicast communication fails, the control device according to the present embodiment searches for devices using multicast communication and also searches for devices using broadcast communication.

図1は、制御システム1000の構成を示す。制御システム1000は、制御装置100、機器200、ルータ300、ネットワーク400を含む。制御システム1000に含まれる機器200の数は「1」に限定されない。制御システム1000は施設内に設置される。施設は、制御システム1000による制御の対象となる建物であり、例えば戸建て住宅である。施設は戸建て住宅に限定されず、集合住宅の住戸でもよいし、オフィスビル、商業施設などでもよい。制御装置100、機器200、ルータ300は、ネットワーク400に接続され、制御装置100と機器200は、ルータ300の制御によってネットワーク400を介して通信可能である。ネットワーク400は、例えば、ECHONET Lite(登録商標)のような標準プロトコルに対応する。 FIG. 1 shows the configuration of a control system 1000. As shown in FIG. A control system 1000 includes a control device 100 , equipment 200 , a router 300 and a network 400 . The number of devices 200 included in control system 1000 is not limited to "1". Control system 1000 is installed in a facility. A facility is a building to be controlled by the control system 1000, such as a detached house. The facility is not limited to a detached house, and may be a dwelling unit of an apartment complex, an office building, a commercial facility, or the like. Control device 100 , device 200 and router 300 are connected to network 400 , and control device 100 and device 200 can communicate via network 400 under the control of router 300 . The network 400 supports standard protocols such as ECHONET Lite (registered trademark), for example.

制御装置100は、例えば、HEMSコントローラとしての機能を有し、機器200の動作を制御する。制御装置100は、1つの装置であってもよいし、複数の装置の接続であってもよい。制御装置100は、通信部110、受付部120、表示部130、制御部140、記憶部150を含む。通信部110は、ECHONET Lite(登録商標)の通信機能を有し、機器200と通信可能である。制御部140は、例えば、プロセッサおよびメモリを有するマイクロコンピュータで構成される。プロセッサが、記憶部150に記録されたプログラムを実行することにより、コンピュータシステムによって制御部140の各種の機能が実現される。 The control device 100 functions as, for example, a HEMS controller and controls the operation of the device 200 . The control device 100 may be a single device or a connection of multiple devices. Control device 100 includes communication unit 110 , reception unit 120 , display unit 130 , control unit 140 and storage unit 150 . The communication unit 110 has a communication function of ECHONET Lite (registered trademark) and can communicate with the device 200 . The control unit 140 is configured by, for example, a microcomputer having a processor and memory. Various functions of the control unit 140 are realized by the computer system when the processor executes the programs recorded in the storage unit 150 .

各種の機能のうちの1つが機器200の動作を制御する機能であり、制御装置100は、機器200に対する操作を受けつけるための操作画面を表示部130に表示する。受付部120は、ユーザからの操作を受付可能なユーザインターフェースであり、例えば、ボタンである。また、受付部120は、表示部130と一体化されたタッチパネルであってもよい。受付部120は、表示部130に表示した操作画面に対するユーザの指示を受けつける。受付部120は、受けつけた指示を制御部140に出力する。制御部140は、受付部120において受けつけた指示をもとに、機器200の動作を指示するための制御コマンドを生成する。通信部110は、機器200に対して制御コマンドを送信する。 One of the various functions is a function of controlling the operation of the device 200 , and the control device 100 displays an operation screen for receiving an operation on the device 200 on the display section 130 . The accepting unit 120 is a user interface capable of accepting an operation from a user, and is, for example, a button. Further, reception unit 120 may be a touch panel integrated with display unit 130 . Accepting unit 120 accepts a user's instruction for the operation screen displayed on display unit 130 . Reception unit 120 outputs the received instruction to control unit 140 . Control unit 140 generates a control command for instructing the operation of device 200 based on the instruction received by reception unit 120 . The communication unit 110 transmits control commands to the device 200 .

機器200は、例えば、照明装置、エアーコンディショナである。機器200は、通信部210、制御部240、記憶部250を含む。通信部210は、ECHONET Lite(登録商標)の通信機能を有し、通信部110との間で通信を実行する。通信部210は、制御コマンドを通信部110から受信する。制御部240は、制御コマンドに応じた動作を実行する。例えば、制御部240は、機器200の動作をオンしたり、オフしたりする。 The device 200 is, for example, a lighting device and an air conditioner. The device 200 includes a communication section 210 , a control section 240 and a storage section 250 . The communication unit 210 has an ECHONET Lite (registered trademark) communication function and performs communication with the communication unit 110 . Communication unit 210 receives the control command from communication unit 110 . The control unit 240 executes operations according to control commands. For example, the control unit 240 turns on or off the operation of the device 200 .

制御装置100の通信部110は、スマートメータ(図示せず)に接続され、施設において消費された電力を示す電力情報を受信してもよい。制御部140は、通信部110において受信した電力情報をもとに制御コマンドを生成する。例えば、電力がしきい値よりも大きくなった場合に、制御部140は、エアーコンディショナにおける冷房時の設定温度を高くするような制御コマンドを生成する。通信部110は、機器200に対して制御コマンドを送信する。機器200は、制御装置100からの制御コマンドを受信すると、制御コマンドに応じた動作、例えば、冷房時の設定温度を高くする動作を実行する。 The communication unit 110 of the control device 100 may be connected to a smart meter (not shown) and receive power information indicating power consumed in the facility. Control unit 140 generates a control command based on the power information received by communication unit 110 . For example, when the electric power exceeds the threshold value, the control unit 140 generates a control command to raise the set temperature of the air conditioner during cooling. The communication unit 110 transmits control commands to the device 200 . When the device 200 receives the control command from the control device 100, the device 200 performs an operation according to the control command, for example, an operation of increasing the set temperature during cooling.

本開示における装置、システム、または方法の主体は、コンピュータを備えている。このコンピュータがプログラムを実行することによって、本開示における装置、システム、または方法の主体の機能が実現される。コンピュータは、プログラムにしたがって動作するプロセッサを主なハードウェア構成として備える。プロセッサは、プログラムを実行することによって機能を実現することができれば、その種類は問わない。プロセッサは、半導体集積回路(IC)、またはLSI(Large Scale Integration)を含む1つまたは複数の電子回路で構成される。複数の電子回路は、1つのチップに集積されてもよいし、複数のチップに設けられてもよい。複数のチップは1つの装置に集約されていてもよいし、複数の装置に備えられていてもよい。プログラムは、コンピュータが読み取り可能なROM、光ディスク、ハードディスクドライブなどの非一時的記録媒体に記録される。プログラムは、記録媒体に予め格納されていてもよいし、インターネット等を含む広域通信網を介して記録媒体に供給されてもよい。 The subject of an apparatus, system, or method in this disclosure comprises a computer. The main functions of the device, system, or method of the present disclosure are realized by the computer executing the program. A computer has a processor that operates according to a program as its main hardware configuration. Any type of processor can be used as long as it can implement functions by executing a program. The processor is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or LSI (Large Scale Integration). A plurality of electronic circuits may be integrated on one chip or may be provided on a plurality of chips. A plurality of chips may be integrated into one device, or may be provided in a plurality of devices. The program is recorded in a non-temporary recording medium such as a computer-readable ROM, optical disk, hard disk drive, or the like. The program may be pre-stored in a recording medium, or may be supplied to the recording medium via a wide area network including the Internet.

図1のような制御システム1000における通信を実行するために、前述のごとく、制御装置100における機器200の登録処理が予めなされる。登録処理には、マルチキャスト通信が使用されるので、ここでは、マルチキャストのグループ管理を実行するためのプロトコルであるIGMPをまず説明する。 In order to execute communication in the control system 1000 as shown in FIG. 1, the device 200 is registered in advance in the control device 100 as described above. Since multicast communication is used for registration processing, IGMP, which is a protocol for performing multicast group management, will be described first.

図2は、制御システム1000において実行されるIGMPの処理手順を示すシーケンス図である。マルチキャストグループに参加を希望する機器200が起動される(S10)と、機器200の通信部210は、Membership Report(Joinメッセージ)をルータ300に送信する(S12)。ルータ300は、Membership Reportを機器200から受信すると、機器200をマルチキャストグループに含めるように管理テーブルを更新する。管理テーブルには、マルチキャストアドレスとインターフェースを対にしたエントリが複数含まれる。インターフェースは、制御装置100、機器200を含む。 FIG. 2 is a sequence diagram showing the IGMP processing procedure executed in the control system 1000. As shown in FIG. When the device 200 desiring to join the multicast group is activated (S10), the communication unit 210 of the device 200 transmits a Membership Report (Join message) to the router 300 (S12). Upon receiving the Membership Report from the device 200, the router 300 updates the management table so that the device 200 is included in the multicast group. The management table includes multiple entries each pairing a multicast address and an interface. The interface includes control device 100 and device 200 .

グループを維持するために、ルータ300は、Membership Queryを制御装置100、機器200に定期的に送信する(S14、S16)。機器200の通信部210は、Membership Queryをルータ300から受信すると、Membership Reportをルータ300に送信する(S18)。制御装置100の通信部110は、Membership Queryをルータ300から受信すると、Membership Reportをルータ300に送信する(S20)。ルータ300は、Membership Reportの返信のないインターフェースを管理テーブルから削除する。 In order to maintain the group, the router 300 periodically transmits Membership Query to the control device 100 and the device 200 (S14, S16). Upon receiving the Membership Query from the router 300, the communication unit 210 of the device 200 transmits a Membership Report to the router 300 (S18). Upon receiving the Membership Query from the router 300, the communication unit 110 of the control device 100 transmits a Membership Report to the router 300 (S20). The router 300 deletes from the management table an interface that does not return a Membership Report.

機器200またはルータ300の実装不備(不具合)により、マルチキャスト通信ができない場合がある。例えば、機器200にIGMPが実装されていなければ、機器200の通信部210は、Membership Reportを送信しない。また、機器200とルータ300において、IGMPのバージョンが異なり、かつ互換性に不具合があれば、機器200は、Membership Queryに応答できない。これらの状況において、管理テーブルが正確に生成されない。 Multicast communication may not be possible due to a mounting defect (malfunction) of the device 200 or the router 300 . For example, if the device 200 does not have IGMP installed, the communication unit 210 of the device 200 does not transmit the Membership Report. Also, if the device 200 and the router 300 have different IGMP versions and there is a compatibility problem, the device 200 cannot respond to the Membership Query. In these situations, the management table will not be generated correctly.

このようなマルチキャスト通信の失敗が機器登録に及ぼす影響を説明するために、ここでは、比較対象となる制御装置500と機器600による機器登録を図3を使用しながら説明する。図3は、比較対象となる制御装置500と機器600との間の登録手順を示すシーケンス図である。ここでは、説明を明瞭にするために、制御装置500と機器600との間に配置されるルータ300を省略する。制御装置500、機器600は、例えば制御装置100、機器200に対応する。制御装置500は、施工者からの登録開始操作を受けつける(S100)。制御装置500は、探索要求をマルチキャスト送信する(S102)。探索要求は、登録候補となる機器を探索するためのメッセージである。探索要求は、ECHONET Lite(登録商標)の「自ノードインスタンスリストS要求」に相当する。機器600は、探索要求を受信すると、探索要求に対する応答を制御装置500にユニキャスト送信する(S104)。応答には、送信元である機器600の情報、例えばIPアドレス、機器600の種別を示す情報が含まれる。機器600の種別を示す情報は、例えば、機器600が含まれるクラスを示す。 In order to explain the influence of such a failure of multicast communication on device registration, device registration by the control device 500 and the device 600 to be compared will be described here using FIG. FIG. 3 is a sequence diagram showing a registration procedure between the control device 500 and the device 600 to be compared. Here, for clarity of explanation, the router 300 arranged between the control device 500 and the device 600 is omitted. The control device 500 and the device 600 correspond to the control device 100 and the device 200, for example. The control device 500 receives a registration start operation from the builder (S100). The control device 500 multicasts a search request (S102). A search request is a message for searching for devices that are candidates for registration. The search request corresponds to the "own node instance list S request" of ECHONET Lite (registered trademark). Upon receiving the search request, the device 600 unicasts a response to the search request to the control device 500 (S104). The response includes information about the device 600 that is the transmission source, such as the IP address and information indicating the type of the device 600 . The information indicating the type of the device 600 indicates, for example, the class in which the device 600 is included.

制御装置500は応答を受信する。制御装置500は、応答に含まれたIPアドレスをもとに機器600の存在を認識するとともに、機器600の種別(クラス)を認識する。これに続いて、制御装置500は、機器600の固有の情報を要求するための機器情報要求を機器600にユニキャスト送信する(S106)。機器600の固有の情報は、例えば、ノードプロファイルクラスである。機器600は、機器情報要求を受信すると、機器600の固有の情報である機器情報を制御装置500にユニキャスト送信する(S108)。 Controller 500 receives the response. The control device 500 recognizes the existence of the device 600 based on the IP address included in the response, and also recognizes the type (class) of the device 600 . Subsequently, the control device 500 unicasts a device information request for requesting information specific to the device 600 to the device 600 (S106). Information specific to the device 600 is, for example, a node profile class. When the device 600 receives the device information request, the device 600 unicasts the device information, which is information specific to the device 600, to the control device 500 (S108).

制御装置500は、機器情報を受信する。制御装置500は、機器600の種別をもとに、機器600の種別に特化した情報を要求するための種別情報要求を機器600にユニキャスト送信する(S110)。機器600の種別に特化した情報は、例えば、機器600のクラスに含まれる情報である。機器600は、種別情報要求を受信すると、機器600の種別に特化した情報である種別情報を制御装置500にユニキャスト送信する(S112)。 The control device 500 receives device information. Based on the type of the device 600, the control device 500 unicasts a type information request for requesting information specific to the type of the device 600 to the device 600 (S110). Information specific to the type of device 600 is, for example, information included in the class of device 600 . Upon receiving the type information request, the device 600 unicasts the type information, which is information specific to the type of the device 600, to the control device 500 (S112).

制御装置500は、機器情報と種別情報の内容に応じた機器600が示される登録可能機器の情報を表示させる(S114)。複数の機器600が制御装置500に接続される場合、複数の機器600が登録可能機器の情報に含まれる。施工者は、登録可能機器の情報を見ながら、登録すべき機器600を選択し、制御装置500は選択操作を受けつける(S116)。制御装置500は、選択操作により選択された機器600の登録情報を対応テーブルに記憶する。これは、機器600を登録することに相当する。制御装置500は、施工者からの登録終了操作を受けつける(S118)。 The control device 500 displays the information of registrable devices showing the device 600 corresponding to the contents of the device information and the type information (S114). When multiple devices 600 are connected to the control device 500, the multiple devices 600 are included in the information on the registrable devices. The builder selects the device 600 to be registered while looking at the information on the devices that can be registered, and the control device 500 receives the selection operation (S116). The control device 500 stores the registration information of the device 600 selected by the selection operation in the correspondence table. This corresponds to registering the device 600 . The control device 500 receives a registration end operation from the builder (S118).

マルチキャスト通信ができない場合、制御装置500からマルチキャスト送信された探索要求が機器600に受信されない。その結果、制御装置500に機器600を登録することができなくなる。また、制御装置500の再起動後、機器600がオフラインとなり、制御装置500から機器600の操作ができなくなる。 If multicast communication is not possible, the device 600 does not receive the search request multicast from the control device 500 . As a result, the device 600 cannot be registered with the control device 500 . Further, after the controller 500 is restarted, the device 600 becomes offline, and the device 600 cannot be operated from the controller 500 .

図4は、制御装置100と機器200との間の登録手順を示すシーケンス図である。ここでも、説明を明瞭にするために、制御装置100と機器200との間に配置されるルータ300を省略する。制御装置100の受付部120は、施工者からの登録開始操作を受けつける(S200)。制御部140は、探索要求を通信部110に出力する。通信部110は、探索要求(第1メッセージ)をマルチキャスト送信する(S202)。 FIG. 4 is a sequence diagram showing a registration procedure between the control device 100 and the device 200. As shown in FIG. Again, for clarity of explanation, the router 300 arranged between the control device 100 and the device 200 is omitted. The reception unit 120 of the control device 100 receives a registration start operation from the builder (S200). Control unit 140 outputs a search request to communication unit 110 . The communication unit 110 multicasts a search request (first message) (S202).

機器200の通信部210が探索要求を受信すると、制御部240は、探索要求に対する応答(第2メッセージ)を通信部210から制御装置100にユニキャスト送信させる(S204)。応答には、送信元である機器200の情報、例えばIPアドレス、機器200の種別を示す情報が含まれる。機器200の種別を示す情報は、例えば、機器200が含まれるクラスを示す。 When the communication unit 210 of the device 200 receives the search request, the control unit 240 causes the communication unit 210 to unicast a response (second message) to the search request to the control device 100 (S204). The response includes information about the device 200 that is the transmission source, such as the IP address and information indicating the type of the device 200 . The information indicating the type of the device 200 indicates, for example, the class in which the device 200 is included.

通信部110は、探索要求(第1メッセージ)をマルチキャスト送信してから所定時間経過後、例えば、2~3秒経過後、探索要求(第3メッセージ)をブロードキャスト送信する(S206)。探索要求(第1メッセージ)と探索要求(第3メッセージ)は同一内容である。機器200の通信部210が探索要求を受信すると、制御部240は、探索要求に対する応答(第4メッセージ)を通信部210から制御装置100にユニキャスト送信させる(S208)。応答(第2メッセージ)と応答(第4メッセージ)は同一内容である。マルチキャスト送信した探索要求(第1メッセージ)とブロードキャスト送信した探索要求(第3メッセージ)の両方に機器200が応答した場合、制御装置100は、応答(第2メッセージ)と応答(第4メッセージ)という2つの応答を受信する。マルチキャスト送信とブロードキャスト送信とを所定時間ずらすことによって、応答受信の集中が回避される。 The communication unit 110 broadcasts a search request (third message) after a predetermined period of time, for example, 2 to 3 seconds, has elapsed since the multicast transmission of the search request (first message) (S206). The search request (first message) and search request (third message) have the same content. When the communication unit 210 of the device 200 receives the search request, the control unit 240 causes the communication unit 210 to unicast a response (fourth message) to the search request to the control device 100 (S208). The response (second message) and response (fourth message) have the same content. When the device 200 responds to both the multicast-transmitted search request (first message) and the broadcast-transmitted search request (third message), the control device 100 responds (second message) and responds (fourth message). Receive two responses. By staggering multicast and broadcast transmissions by a predetermined amount of time, crowding of responses received is avoided.

ここでは、探索要求(第1メッセージ)をマルチキャスト送信するタイミングと、探索要求(第3メッセージ)をブロードキャスト送信するタイミングとをずらしている。しかしながら、探索要求(第1メッセージ)のマルチキャスト送信と、探索要求(第3メッセージ)のブロードキャスト送信とが並列に実行されてもよい。また、探索要求(第1メッセージ)と応答(第2メッセージ)には共通のトランザクションID(以下、「第1トランザクションID」という)が含まれる。探索要求(第3メッセージ)と応答(第4メッセージ)には共通のトランザクションID(以下、「第2トランザクションID」という)が含まれる。第1トランザクションIDと第2トランザクションIDとは異なる。 Here, the timing of multicast transmission of the search request (first message) and the timing of broadcast transmission of the search request (third message) are shifted. However, the multicast transmission of the search request (first message) and the broadcast transmission of the search request (third message) may be performed in parallel. The search request (first message) and response (second message) contain a common transaction ID (hereinafter referred to as "first transaction ID"). The search request (third message) and response (fourth message) contain a common transaction ID (hereinafter referred to as "second transaction ID"). The first transaction ID and the second transaction ID are different.

制御装置100の通信部110は応答を受信する。制御部140は、通信部110が応答(第2メッセージ)と応答(第4メッセージ)とを受信した場合、第1トランザクションIDと第2トランザクションIDとをもとに、応答(第2メッセージ)と応答(第4メッセージ)が同一であること、つまり同一の機器200に対する応答であることを認識する。制御部140は、応答に含まれたIPアドレスをもとに機器200の存在を認識するとともに、機器200の種別(クラス)を認識する。 The communication unit 110 of the control device 100 receives the response. When the communication unit 110 receives the response (second message) and the response (fourth message), the control unit 140 generates the response (second message) and the response (second message) based on the first transaction ID and the second transaction ID. It recognizes that the response (fourth message) is the same, that is, the response is for the same device 200 . The control unit 140 recognizes the existence of the device 200 based on the IP address included in the response, and also recognizes the type (class) of the device 200 .

これに続いて、通信部110は、機器200の固有の情報を要求するための機器情報要求(第5メッセージ)を機器200にユニキャスト送信する(S210)。機器200の固有の情報は、例えば、ノードプロファイルクラスである。機器200の通信部210は、機器情報要求を受信すると、機器200の固有の情報である機器情報(第6メッセージ)を制御装置100にユニキャスト送信する(S212)。 Subsequently, the communication unit 110 unicast-transmits a device information request (fifth message) to the device 200 to request information specific to the device 200 (S210). The information unique to the device 200 is, for example, a node profile class. Upon receiving the device information request, the communication unit 210 of the device 200 unicast-transmits the device information (sixth message), which is information unique to the device 200, to the control device 100 (S212).

制御装置100の通信部110は、機器情報を受信する。通信部110は、機器200の種別をもとに、機器200の種別に特化した情報を要求するための種別情報要求(第7メッセージ)を機器200にユニキャスト送信する(S214)。機器200の種別に特化した情報は、例えば、機器200のクラスに含まれる情報である。機器200の通信部210は、種別情報要求を受信すると、機器200の種別に特化した情報である種別情報(第8メッセージ)を制御装置100にユニキャスト送信する(S216)。 The communication unit 110 of the control device 100 receives the device information. Based on the type of the device 200, the communication unit 110 unicast-transmits a type information request (seventh message) for requesting information specific to the type of the device 200 to the device 200 (S214). The information specialized for the type of device 200 is, for example, information included in the class of the device 200 . Upon receiving the type information request, the communication unit 210 of the device 200 unicasts the type information (eighth message), which is information specific to the type of the device 200, to the control device 100 (S216).

制御部140は、登録情報の内容に応じた機器200が示される登録可能機器の情報を表示部130に表示させる(S218)。複数の機器200が制御装置100に接続される場合、複数の機器200が登録可能機器の情報に含まれる。施工者は、登録可能機器の情報を見ながら、登録すべき機器200を選択し、受付部120は選択操作を受けつける(S220)。制御部140は、選択操作により選択された機器200の情報を対応テーブルとして記憶部150に記憶させる。対応テーブルは、機器200の機器情報、機器200の種別情報、機器200のIPアドレスの組合せを記憶する。これは、機器200を登録することに相当する。受付部120は、施工者からの登録終了操作を受けつける(S222)。 The control unit 140 causes the display unit 130 to display information on registrable devices indicating the device 200 corresponding to the contents of the registration information (S218). When multiple devices 200 are connected to the control device 100, the multiple devices 200 are included in the information of the registrable devices. The builder selects the device 200 to be registered while looking at the information on the devices that can be registered, and the reception unit 120 receives the selection operation (S220). The control unit 140 causes the storage unit 150 to store the information of the device 200 selected by the selection operation as a correspondence table. The correspondence table stores combinations of device information of the device 200 , type information of the device 200 , and IP address of the device 200 . This corresponds to registering the device 200 . The reception unit 120 receives a registration end operation from the builder (S222).

マルチキャスト通信は、ECHONET Lite(登録商標)仕様で定められているので、実行しなければならない。探索要求(第1メッセージ)のマルチキャスト通信が失敗しても、制御装置100が応答を取得するために、探索要求(第3メッセージ)のブロードキャスト通信も実行される。ブロードキャスト通信は、ルータ300において管理されず、ネットワーク400の全体への送信を実行する。 Multicast communication is defined by the ECHONET Lite (registered trademark) specifications, so it must be performed. Even if multicast communication of the search request (first message) fails, broadcast communication of the search request (third message) is also performed in order for the control device 100 to obtain a response. Broadcast communications are not managed at router 300 and are carried out throughout network 400 .

マルチキャスト通信とブロードキャスト通信の両方を使用して探索要求を送信すると、これに続く応答、機器情報要求等も2倍になるので、トラヒックが2倍になる。本実施例の制御部140は、応答(第2メッセージ)と応答(第4メッセージ)をユニキャスト受信した場合、これに続く機器情報要求等は1回だけ送信させる。 Using both multicast and broadcast communications to send search requests doubles the subsequent responses, equipment information requests, etc., thus doubling the traffic. When receiving a response (second message) and a response (fourth message) by unicast, the control unit 140 of the present embodiment causes the subsequent device information request or the like to be transmitted only once.

これまでは、制御装置100からの信号(探索要求)の送信を起点として処理が開始される場合を説明していたが、以下では、機器200からの信号の送信を起点として処理が開始される場合を説明する。機器200は制御装置100に登録されるが、制御装置100を登録しない。つまり、機器200は制御装置100のIPアドレスを記憶しない。そのため、機器200における状態変化、例えばIPアドレスの変化、温度設定の変化が生じた場合、機器200は、状態の変化を制御装置100に知らせるために、信号を制御装置100にマルチキャスト送信する。マルチキャスト通信に失敗が発生する場合、この信号が制御装置100に受信されなくなり、制御装置100は、機器200における状態変化を認識できなくなる。これに対応するために、本実施例では次の処理を実行する。 So far, a case has been described in which processing is started with the transmission of a signal (search request) from the control device 100 as the starting point, but below, the processing is started with the transmission of the signal from the device 200 Explain the case. The device 200 is registered with the control device 100 but does not register with the control device 100 . In other words, the device 200 does not store the IP address of the control device 100 . Therefore, when a state change occurs in device 200, such as a change in IP address or a change in temperature settings, device 200 multicasts a signal to control device 100 to inform control device 100 of the change in state. When multicast communication fails, this signal is no longer received by control device 100 , and control device 100 becomes unable to recognize state changes in device 200 . In order to deal with this, the present embodiment performs the following processing.

図5は、制御装置100と機器200との間のテーブル更新手順を示すシーケンス図である。機器200は、制御装置100に既に登録されている。機器200の通信部210、制御部240は、IPアドレスの変化を検知する(S250)。この変化は、機器200の起動時のIPアドレス取得後、またはリンクダウンからリンクアップ時のIPアドレス取得後、またはIPアドレスの切り替わり時に生じる。制御部240は、機器200における情報の存在、例えば状態の変化を知らせるための状態変化通知(第1メッセージ)を通信部210に出力する。通信部210は、状態変化通知(第1メッセージ)をマルチキャスト送信する(S252)。また、通信部210は、状態変化通知(第1メッセージ)と同一内容の状態変化通知(第2メッセージ)をブロードキャスト送信する(S254)。状態変化通知(第1メッセージ)にはトランザクションID(以下、「第1トランザクションID」という)が含まれ、状態変化通知(第2メッセージ)にはトランザクションID(以下、「第2トランザクションID」という)が含まれる。第1トランザクションIDと第2トランザクションIDとは異なる。状態変化通知(第1メッセージ)のマルチキャスト送信と、状態変化通知(第2メッセージ)のブロードキャスト送信は、並列に実行されてもよい。 FIG. 5 is a sequence diagram showing a table update procedure between the control device 100 and the device 200. As shown in FIG. The device 200 has already been registered with the control device 100 . The communication unit 210 and the control unit 240 of the device 200 detect the IP address change (S250). This change occurs after the IP address is obtained when the device 200 is activated, after the IP address is obtained when the device 200 is activated, or when the IP address is switched from link-down to link-up. The control unit 240 outputs to the communication unit 210 a state change notification (first message) for informing the existence of information in the device 200, for example, a state change. The communication unit 210 multicasts the state change notification (first message) (S252). Further, the communication unit 210 broadcasts a state change notification (second message) having the same content as the state change notification (first message) (S254). The state change notification (first message) includes a transaction ID (hereinafter referred to as "first transaction ID"), and the state change notification (second message) includes a transaction ID (hereinafter referred to as "second transaction ID"). is included. The first transaction ID and the second transaction ID are different. The multicast transmission of the state change notification (first message) and the broadcast transmission of the state change notification (second message) may be performed in parallel.

制御装置100の通信部110は、マルチキャスト送信された状態変化通知(第1メッセージ)と、ブロードキャスト送信された状態変化通知(第2メッセージ)のうちの少なくとも1つを受信する。通信部110が状態変化通知(第1メッセージ)と状態変化通知(第2メッセージ)とを受信した場合、制御部140は、第1トランザクションIDと第2トランザクションIDとをもとに、状態変化通知(第1メッセージ)と状態変化通知(第2メッセージ)が同一内容であると判定する。 The communication unit 110 of the control device 100 receives at least one of the multicast-transmitted state change notification (first message) and the broadcast-transmitted state change notification (second message). When the communication unit 110 receives the state change notification (first message) and the state change notification (second message), the control unit 140 receives the state change notification based on the first transaction ID and the second transaction ID. It is determined that the (first message) and the state change notification (second message) have the same content.

これに続いて、通信部110は、機器200の識別番号を要求するための識別番号要求(第3メッセージ)を機器200にユニキャスト送信する(S256)。機器200の通信部210は、識別番号要求を受信すると、機器200の識別番号(第4メッセージ)を制御装置100にユニキャスト送信する(S258)。制御装置100の通信部110は識別番号を機器200から受信する。制御部140は、機器200の識別番号とIPアドレスの組合せにより対応テーブルを更新する(S260)。この対応テーブルは記憶部150に記憶される。 Following this, the communication unit 110 unicast-transmits an identification number request (third message) for requesting the identification number of the device 200 to the device 200 (S256). Upon receiving the identification number request, the communication unit 210 of the device 200 unicasts the identification number (fourth message) of the device 200 to the control device 100 (S258). Communication unit 110 of control device 100 receives the identification number from device 200 . The control unit 140 updates the correspondence table with the combination of the identification number and IP address of the device 200 (S260). This correspondence table is stored in the storage unit 150 .

図6は、制御装置100と機器200との間の別のテーブル更新手順を示すシーケンス図である。機器200の制御部240は、機器200の運転状態の変化を検知する(S300)。これは、機器200がエアーコンディショナである場合に、停止から暖房運転に変わる場合である。制御部240は、機器200における情報の存在、例えば状態の変化を知らせるための状態変化通知(第1メッセージ)を通信部210に出力する。通信部210は、状態変化通知(第1メッセージ)をマルチキャスト送信する(S302)。また、通信部210は、状態変化通知(第1メッセージ)と同一内容の状態変化通知(第2メッセージ)をブロードキャスト送信する(S304)。状態変化通知(第1メッセージ)には第1トランザクションIDが含まれ、状態変化通知(第2メッセージ)には第2トランザクションIDが含まれる。 FIG. 6 is a sequence diagram showing another table update procedure between the control device 100 and the device 200. As shown in FIG. The control unit 240 of the device 200 detects a change in the operating state of the device 200 (S300). This is the case when the equipment 200 is an air conditioner and the operation changes from stop to heating operation. The control unit 240 outputs to the communication unit 210 a state change notification (first message) for informing the presence of information in the device 200, for example, a state change. The communication unit 210 multicasts a state change notification (first message) (S302). Further, the communication unit 210 broadcasts a state change notification (second message) having the same content as the state change notification (first message) (S304). The state change notification (first message) contains the first transaction ID, and the state change notification (second message) contains the second transaction ID.

制御装置100の通信部110は、マルチキャスト送信された状態変化通知(第1メッセージ)と、ブロードキャスト送信された状態変化通知(第2メッセージ)のうちの少なくとも1つを受信する。通信部110が状態変化通知(第1メッセージ)と状態変化通知(第2メッセージ)とを受信した場合、制御部140は、第1トランザクションIDと第2トランザクションIDとをもとに、状態変化通知(第1メッセージ)と状態変化通知(第2メッセージ)が同一内容であると判定する。 The communication unit 110 of the control device 100 receives at least one of the multicast-transmitted state change notification (first message) and the broadcast-transmitted state change notification (second message). When the communication unit 110 receives the state change notification (first message) and the state change notification (second message), the control unit 140 receives the state change notification based on the first transaction ID and the second transaction ID. It is determined that the (first message) and the state change notification (second message) have the same content.

本実施例によれば、探索要求をマルチキャスト送信とブロードキャスト送信するので、マルチキャスト通信の失敗が発生しても、制御装置100における機器の登録を可能にできる。また、探索要求をマルチキャスト送信するタイミングと、探索要求をブロードキャスト送信するタイミングとをずらすので、トラヒックの集中を抑制できる。また、探索要求のマルチキャスト送信と、探索要求のブロードキャスト送信とを並列に実行するので、待ち時間の延長を抑制できる。また、マルチキャスト送信する探索要求とブロードキャスト通信する探索要求に異なったトランザクションIDを含めるので、両者を区別できる。また、探索要求に続く信号のユニキャスト送信は2重化しないので、トラヒックの増加を抑制できる。 According to this embodiment, since the search request is transmitted by multicast transmission and broadcast transmission, it is possible to register the device in the control device 100 even if the multicast communication fails. Also, since the timing of multicast transmission of the search request and the timing of broadcast transmission of the search request are staggered, it is possible to suppress the concentration of traffic. Moreover, since the multicast transmission of the search request and the broadcast transmission of the search request are executed in parallel, the extension of the waiting time can be suppressed. Also, since different transaction IDs are included in the search request for multicast transmission and the search request for broadcast communication, both can be distinguished. In addition, since unicast transmission of the signal following the search request is not duplicated, an increase in traffic can be suppressed.

機器200からの状態変化通知をマルチキャスト送信とブロードキャスト送信するので、マルチキャスト通信の失敗が発生しても、制御装置100に状態変化を知らせることができる。また、マルチキャスト送信する状態変化通知とブロードキャスト通信する状態変化通知に異なったトランザクションIDを含めるので、両者を区別できる。 Since the state change notification from the device 200 is multicast and broadcast, even if the multicast communication fails, the state change can be notified to the control device 100 . Moreover, since different transaction IDs are included in the status change notification sent by multicast and the status change notification sent by broadcast communication, they can be distinguished from each other.

本開示の一態様の概要は、次の通りである。本開示のある態様の制御装置(100)は、登録候補となる機器(200)を探索するための第1メッセージをマルチキャスト送信してから、第1メッセージに対する応答である第2メッセージを機器(200)からユニキャスト受信可能であるとともに、第1メッセージと同一の内容の第3メッセージをブロードキャスト送信してから、第3メッセージに対する応答である第4メッセージを機器(200)からユニキャスト受信可能である通信部(110)と、通信部(110)が第2メッセージと第4メッセージとのうちの少なくとも1つをユニキャスト受信した場合、機器(200)を登録するための情報を通信部(110)に取得させる制御部(140)と、を備える。 A summary of one aspect of the present disclosure is as follows. A control device (100) according to an aspect of the present disclosure multicasts a first message for searching for a device (200) that is a candidate for registration, and then sends a second message, which is a response to the first message, to a device (200 ), and after broadcasting a third message having the same content as the first message, a fourth message, which is a response to the third message, can be unicast received from the device (200). a communication unit (110), and when the communication unit (110) unicast-receives at least one of the second message and the fourth message, the communication unit (110) transmits information for registering the device (200). and a control unit (140) for obtaining the

通信部(110)は、第1メッセージをマルチキャスト送信するタイミングと、第3メッセージをブロードキャスト送信するタイミングとをずらす。 A communication unit (110) shifts the timing of multicast transmission of the first message and the timing of broadcast transmission of the third message.

通信部(110)は、第1メッセージをマルチキャスト送信してから所定時間経過後に、第3メッセージをブロードキャスト送信する。 A communication unit (110) broadcasts a third message after a predetermined period of time has passed since multicast transmission of the first message.

通信部(110)は、第1メッセージのマルチキャスト送信と、第3メッセージのブロードキャスト送信とを並列に実行してもよい。 The communication unit (110) may perform multicast transmission of the first message and broadcast transmission of the third message in parallel.

第1メッセージと第2メッセージには第1トランザクションIDが含まれ、第3メッセージと第2メッセージには第2トランザクションIDが含まれ、制御部(140)は、第1トランザクションIDと第2トランザクションIDとをもとに、第2メッセージと第4メッセージが同一内容であると判定してもよい。 A first transaction ID is included in the first message and the second message, a second transaction ID is included in the third message and the second message, and the control unit (140) controls the first transaction ID and the second transaction ID , it may be determined that the second message and the fourth message have the same content.

通信部(110)がユニキャスト受信可能な第2メッセージと第4メッセージには、機器(200)の種別を示す情報が含まれ、制御部(140)が通信部(110)に取得させる機器(200)を登録するための情報には、機器(200)の固有の情報と、機器(200)の種別に特化した情報が含まれ、通信部(110)は、機器(200)の固有の情報を要求するための第5メッセージを機器(200)にユニキャスト送信してから、機器(200)の固有の情報が含まれた第6メッセージを機器(200)からユニキャスト受信し、通信部(110)は、機器(200)の種別に特化した情報を要求するための第7メッセージを機器(200)にユニキャスト送信してから、機器(200)の種別に特化した情報が含まれた第8メッセージを機器(200)からユニキャスト受信してもよい。 The second and fourth messages that can be unicast-received by the communication unit (110) include information indicating the type of the device (200), and the control unit (140) causes the communication unit (110) to acquire the device ( The information for registering the device (200) includes information unique to the device (200) and information specific to the type of the device (200). After unicasting a fifth message for requesting information to the device (200), unicasting a sixth message including information unique to the device (200) from the device (200), the communication unit (110) unicasts to the device (200) a seventh message for requesting information specific to the type of the device (200), and then sends a message containing the information specific to the type of the device (200). An eighth message may be unicast received from the device (200).

本開示の別の態様は、機器(200)である。この機器(200)は、制御装置(100)に登録された機器(200)であって、機器(200)における情報の存在を知らせるための第1メッセージをマルチキャスト送信するとともに、第1メッセージと同一の内容の第2メッセージをブロードキャスト送信する通信部(210)と、通信部(210)からマルチキャスト送信した第1メッセージと、通信部(210)からブロードキャスト送信した第2メッセージのうちの少なくとも1つを制御装置(100)が受信した場合、機器(200)における情報を通信部(210)から制御装置(100)に提供させる制御部(240)と、を備える。 Another aspect of the present disclosure is the device (200). This device (200) is a device (200) registered in the control device (100), multicasts a first message for notifying the existence of information in the device (200), and and at least one of the first message multicast-transmitted from the communication unit (210) and the second message broadcast-transmitted from the communication unit (210) a control unit (240) that, when received by the control device (100), causes information in the device (200) to be provided from the communication unit (210) to the control device (100).

第1メッセージには第1トランザクションIDが含まれ、第2メッセージには第2トランザクションIDが含まれ、制御装置(100)は、第1トランザクションIDと第2トランザクションIDとをもとに、第1メッセージと第2メッセージが同一内容であると判定してもよい。 The first message contains the first transaction ID, the second message contains the second transaction ID, and the control device (100) calculates the first transaction ID based on the first transaction ID and the second transaction ID. It may be determined that the message and the second message have the same content.

以上、本開示を実施例をもとに説明した。この実施例は例示であり、それらの各構成要素あるいは各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本開示の範囲にあることは当業者に理解されるところである。 The present disclosure has been described above based on the embodiments. It should be understood by those skilled in the art that this embodiment is an example, and that various modifications are possible in the combination of each component or each treatment process, and such modifications are within the scope of the present disclosure. .

本実施例において、制御装置100または機器200は、マルチキャスト送信を実行した後に、ブロードキャスト送信を実行している。しかしながらこれに限らず例えば、制御装置100または機器200は、ブロードキャスト送信を実行した後に、マルチキャスト送信を実行してもよい。本変形例によれば、構成の自由度を向上できる。 In this embodiment, the control device 100 or the device 200 executes broadcast transmission after executing multicast transmission. However, not limited to this, for example, the control device 100 or the device 200 may execute multicast transmission after executing broadcast transmission. According to this modified example, the degree of freedom in configuration can be improved.

100 制御装置、 110 通信部、 120 受付部、 130 表示部、 140 制御部、 150 記憶部、 200 機器、 210 通信部、 240 制御部、 250 記憶部、 300 ルータ、 400 ネットワーク、 500 制御装置、 600 機器、 1000 制御システム。 Reference Signs List 100 control device 110 communication unit 120 reception unit 130 display unit 140 control unit 150 storage unit 200 device 210 communication unit 240 control unit 250 storage unit 300 router 400 network 500 control device 600 Instrument, 1000 Control System.

Claims (8)

登録候補となる機器を探索するための第1メッセージをマルチキャスト送信してから、前記第1メッセージに対する応答である第2メッセージを前記機器からユニキャスト受信可能であるとともに、前記第1メッセージと同一の内容の第3メッセージをブロードキャスト送信してから、前記第3メッセージに対する応答である第4メッセージを前記機器からユニキャスト受信可能である通信部と、
前記通信部が前記第2メッセージと前記第4メッセージとのうちの少なくとも1つをユニキャスト受信した場合、前記機器を登録するための情報を前記通信部に取得させる制御部と、
を備える制御装置。
After multicasting a first message for searching for a device that is a registration candidate, a second message that is a response to the first message can be unicast received from the device, and the same as the first message. a communication unit capable of unicast-receiving a fourth message, which is a response to the third message, from the device after broadcasting a third message of content;
a control unit that causes the communication unit to acquire information for registering the device when the communication unit receives at least one of the second message and the fourth message by unicast;
A control device comprising:
前記通信部は、前記第1メッセージをマルチキャスト送信するタイミングと、前記第3メッセージをブロードキャスト送信するタイミングとをずらす請求項1に記載の制御装置。 The control device according to claim 1, wherein the communication unit shifts the timing of multicast transmission of the first message and the timing of broadcast transmission of the third message. 前記通信部は、前記第1メッセージをマルチキャスト送信してから所定時間経過後に、前記第3メッセージをブロードキャスト送信する請求項2に記載の制御装置。 3. The control device according to claim 2, wherein the communication unit broadcasts the third message after a predetermined period of time has passed since multicasting the first message. 前記通信部は、前記第1メッセージのマルチキャスト送信と、前記第3メッセージのブロードキャスト送信とを並列に実行する請求項1に記載の制御装置。 The control device according to claim 1, wherein the communication unit performs multicast transmission of the first message and broadcast transmission of the third message in parallel. 前記第1メッセージと前記第2メッセージには第1トランザクションIDが含まれ、前記第3メッセージと前記第2メッセージには第2トランザクションIDが含まれ、
前記制御部は、前記第1トランザクションIDと前記第2トランザクションIDとをもとに、前記第2メッセージと前記第4メッセージが同一内容であると判定する請求項1から4のいずれか1項に記載の制御装置。
the first message and the second message include a first transaction ID, the third message and the second message include a second transaction ID;
5. The method according to any one of claims 1 to 4, wherein the control unit determines that the second message and the fourth message have the same content based on the first transaction ID and the second transaction ID. Control device as described.
前記通信部がユニキャスト受信可能な前記第2メッセージと前記第4メッセージには、前記機器の種別を示す情報が含まれ、
前記制御部が前記通信部に取得させる前記機器を登録するための情報には、前記機器の固有の情報と、前記機器の種別に特化した情報が含まれ、
前記通信部は、前記機器の固有の情報を要求するための第5メッセージを前記機器にユニキャスト送信してから、前記機器の固有の情報が含まれた第6メッセージを前記機器からユニキャスト受信し、
前記通信部は、前記機器の種別に特化した情報を要求するための第7メッセージを前記機器にユニキャスト送信してから、前記機器の種別に特化した情報が含まれた第8メッセージを前記機器からユニキャスト受信する請求項1から5のいずれか1項に記載の制御装置。
The second message and the fourth message that can be unicast received by the communication unit include information indicating the type of the device,
The information for registering the device that the control unit causes the communication unit to acquire includes information specific to the device and information specific to the type of the device,
The communication unit unicast-transmits a fifth message for requesting information unique to the device to the device, and then unicast-receives a sixth message including information unique to the device from the device. death,
The communication unit unicast-transmits to the device a seventh message for requesting information specific to the type of the device, and then transmits an eighth message including information specific to the type of the device. 6. The control device according to any one of claims 1 to 5, wherein unicast reception is performed from the device.
制御装置に登録された機器であって、
前記機器における情報の存在を知らせるための第1メッセージをマルチキャスト送信するとともに、前記第1メッセージと同一の内容の第2メッセージをブロードキャスト送信する通信部と、
前記通信部からマルチキャスト送信した前記第1メッセージと、前記通信部からブロードキャスト送信した前記第2メッセージのうちの少なくとも1つを前記制御装置が受信した場合、前記機器における情報を前記通信部から前記制御装置に提供させる制御部と、
を備える機器。
A device registered in a control device,
a communication unit that multicast-transmits a first message for notifying the presence of information in the device and broadcast-transmits a second message having the same content as the first message;
when the control device receives at least one of the first message multicast-transmitted from the communication unit and the second message broadcast-transmitted from the communication unit, information in the device is transmitted from the communication unit to the control unit; a control unit provided by the device;
equipment with
前記第1メッセージには第1トランザクションIDが含まれ、前記第2メッセージには第2トランザクションIDが含まれ、
前記制御装置は、前記第1トランザクションIDと前記第2トランザクションIDとをもとに、前記第1メッセージと前記第2メッセージが同一内容であると判定する請求項7に記載の機器。
the first message includes a first transaction ID and the second message includes a second transaction ID;
8. The device according to claim 7, wherein the control device determines that the first message and the second message have the same content based on the first transaction ID and the second transaction ID.
JP2021203693A 2021-12-15 2021-12-15 Control device, device Pending JP2023088763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021203693A JP2023088763A (en) 2021-12-15 2021-12-15 Control device, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021203693A JP2023088763A (en) 2021-12-15 2021-12-15 Control device, device

Publications (1)

Publication Number Publication Date
JP2023088763A true JP2023088763A (en) 2023-06-27

Family

ID=86935336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021203693A Pending JP2023088763A (en) 2021-12-15 2021-12-15 Control device, device

Country Status (1)

Country Link
JP (1) JP2023088763A (en)

Similar Documents

Publication Publication Date Title
US7693934B2 (en) Network device, system and method for providing list of controlled devices
US8090807B2 (en) Home code setting method for home network system
JP2005517350A (en) Router device and method for starting up router device
KR100513277B1 (en) Device and method of connecting network being separately
JPWO2006043436A1 (en) Communication device
JP6456794B2 (en) Terminal and control method thereof
CN113196721A (en) Discovery method and device of Internet of things equipment and terminal equipment
CN109618010A (en) A method of realizing that internet of things equipment is registered and found automatically
JP5038956B2 (en) Network system
JP2023088763A (en) Control device, device
KR102009810B1 (en) Method and apparatus for transmitting and receiving a service in a wireless communication system
JP2010276204A (en) Communication system of air conditioning device
CN111274319A (en) State information query method and device
US7539739B2 (en) Self-configuring network system and routers for use therein
US9801218B2 (en) Establishing method for self-organization network of wireless nodes
JP2017068511A (en) Instrument management method and instrument management device
KR20160147330A (en) Home appliance
JP6344169B2 (en) Control device, program
WO2024011368A1 (en) Device discovery method and apparatus, device, storage medium, and program product
JP5129630B2 (en) Network system
CN116962109A (en) Distribution network control system and distribution network control method
JP3392133B1 (en) Data transmission method in home bus system
JP2022050865A (en) Monitoring device and monitoring method
WO2016158086A1 (en) Terminal and method of controlling same
JP4760662B2 (en) Service program, server, network system