JP2009225481A - Communication apparatus, communication control method and communication control program - Google Patents

Communication apparatus, communication control method and communication control program Download PDF

Info

Publication number
JP2009225481A
JP2009225481A JP2009161438A JP2009161438A JP2009225481A JP 2009225481 A JP2009225481 A JP 2009225481A JP 2009161438 A JP2009161438 A JP 2009161438A JP 2009161438 A JP2009161438 A JP 2009161438A JP 2009225481 A JP2009225481 A JP 2009225481A
Authority
JP
Japan
Prior art keywords
property value
configuration information
object configuration
communication
property
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009161438A
Other languages
Japanese (ja)
Other versions
JP4955736B2 (en
Inventor
Reiko Ueno
玲子 上野
Takehito Chinomi
岳人 知野見
Yoshio Horiike
良雄 堀池
Masaaki Sano
雅章 佐野
Yoshiaki Sakida
義明 崎田
Yuichi Emura
雄一 江村
Yoshishige Yoshikawa
嘉茂 吉川
Tsuyoshi Ogino
強 荻野
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 Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2009161438A priority Critical patent/JP4955736B2/en
Publication of JP2009225481A publication Critical patent/JP2009225481A/en
Application granted granted Critical
Publication of JP4955736B2 publication Critical patent/JP4955736B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication apparatus, communication control method, and communication control program in which a load on the side of an electrical apparatus is reduced. <P>SOLUTION: An adapter 102 which connects an electrical apparatus 106 and an ECHONET network, includes: an apparatus object storage section 131 which stores object configuration information of the electrical apparatus 106 to be connected in advance; an object configuration confirmation section 122 which confirms whether the object configuration information stored in the apparatus object storage section 131 beforehand matches with object configuration information acquired from the connected electrical apparatus 106; and a network participation processing section 124 which connects the electrical apparatus 106 and the ECHONET network to communicate with each other if the object configuration confirmation section 122 confirms that the pieces of object configuration information match with each other. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、電気機器と所定のネットワークとを相互に通信可能に接続する通信装置、通信制御方法及び通信制御プログラムに関するものである。   The present invention relates to a communication device, a communication control method, and a communication control program that connect an electrical device and a predetermined network so that they can communicate with each other.

近年、ホームバス規格HBSやECHONET(Energy Conservation and Homecare Network)規格などのホームネットワークシステムが開発されている。このホームネットワークシステムは、家庭内の様々な家庭電化製品、住設機器及び制御装置を宅内通信回線で相互に接続するホームネットワークを形成し、各機器を有機的に連携運転することによって、また、宅外のネットワークとホームネットワークとを相互接続して宅外の端末から家庭電化製品などに運転を指示することによって、省エネルギーや高齢者介護などに対応するとともに安全で快適な暮らしを提供しようとするシステムである。   In recent years, home network systems such as home bus standards HBS and ECHONET (Energy Conservation and Homecare Network) standards have been developed. This home network system forms a home network that connects various home appliances, home appliances and control devices in a home with each other via a home communication line, and organically links each device, By connecting the outside network and the home network to each other and instructing driving from home terminals to home appliances, etc., we will try to provide energy saving and elderly care and provide a safe and comfortable life. System.

従来のECHONET規格のホームネットワークシステムでは、電気機器がECHONET規格に準拠した通信インターフェースを備えており、各電気機器は、この通信インターフェースを介して接続されたコントローラによって制御される(例えば、特許文献1参照)。   In a conventional ECHONET standard home network system, an electrical device includes a communication interface compliant with the ECHONET standard, and each electrical device is controlled by a controller connected via the communication interface (for example, Patent Document 1). reference).

特開2002−342185号公報JP 2002-342185 A

しかしながら、全ての電気機器が、ECHONET規格に準拠した通信インターフェースを備えているとは限らない。そのため、上述の通信インターフェースを具備しない電気機器をECHONETに接続するためのアダプタが開発されている。このアダプタでは、電気機器に対応するオブジェクトを生成する必要がある。そこで、電気機器内にあらかじめ準備された少なくとも一つ以上のオブジェクト生成情報をECHONET規格に準拠した手順でアダプタに設定する手法が考えられるが、この場合、オブジェクト生成情報及びその情報をアダプタへ設定するための手段を電気機器側にあらかじめ設けておく必要があり、電気機器側の負荷が大きくなるという問題を有している。   However, not all electrical devices have a communication interface that conforms to the ECHONET standard. Therefore, adapters have been developed for connecting electrical devices that do not have the communication interface described above to ECHONET. With this adapter, it is necessary to generate an object corresponding to the electrical device. Therefore, a method of setting at least one or more object generation information prepared in advance in the electrical device in the adapter according to a procedure conforming to the ECHONET standard is conceivable. In this case, the object generation information and the information are set in the adapter. Therefore, there is a problem in that the load on the electric device side becomes large.

本発明は、上記の問題を解決するためになされたもので、電気機器側の負荷を軽減することができる通信装置、通信制御方法及び通信制御プログラムを提供することを目的とするものである。   The present invention has been made to solve the above-described problem, and an object of the present invention is to provide a communication device, a communication control method, and a communication control program that can reduce the load on the electric equipment side.

本発明に係る通信装置は、電気機器と所定のネットワークとを相互に通信可能に接続する通信装置であって、接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶手段と、前記オブジェクト構成情報記憶手段に記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認手段と、前記確認手段によって、オブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続手段と、前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶手段と、前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶手段に記憶されているプロパティの値を設定するプロパティ値設定手段とを備える。   The communication device according to the present invention is a communication device that connects an electrical device and a predetermined network so that they can communicate with each other, and includes object configuration information storage means for storing object configuration information of the connected electrical device, and the object The object configuration information is matched by the confirmation unit for confirming whether or not the object configuration information stored in the configuration information storage unit matches the object configuration information acquired from the connected electrical device, and the confirmation unit. Then, if confirmed, a connection means for connecting the electrical device and the network so that they can communicate with each other, a property value storage means for storing a property value representing an attribute of the object, and a property value from the electrical device. In response to a setting request, the property value stored in the property value storage means is set. And a property value setting means for.

この構成によれば、接続される電気機器のオブジェクト構成情報が記憶されており、記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認され、オブジェクト構成情報が一致すると確認された場合、電気機器とネットワークとが相互に通信可能に接続される。   According to this configuration, the object configuration information of the connected electrical device is stored, and whether or not the stored object configuration information matches the object configuration information acquired from the connected electrical device. When it is confirmed that the object configuration information matches, the electric device and the network are connected to be communicable with each other.

このように、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   As described above, the object configuration information of the connected electric device is stored in the communication device, and is acquired from the object configuration information stored on the communication device side instead of the electric device side and the connected electric device. Since it is confirmed whether or not the object configuration information matches, the load on the electric equipment side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

また、上記の通信装置において、前記プロパティには、電気機器の状態が変化した場合に報知するか否かがあらかじめ設定されており、前記プロパティ値設定手段によって設定されたプロパティの値に変化があり、かつ電気機器の状態が変化した場合に報知するプロパティである場合、当該プロパティの値を送信するための電文を生成する電文生成手段と、前記電文生成手段によって生成された電文を送信する送信手段とをさらに備えることが好ましい。   In the above communication device, whether or not to notify when the state of the electrical device changes is set in advance in the property, and there is a change in the property value set by the property value setting means. And when it is a property to be notified when the state of the electric device changes, a message generation unit that generates a message for transmitting the value of the property, and a transmission unit that transmits the message generated by the message generation unit It is preferable to further comprise.

この構成によれば、プロパティには、電気機器の状態が変化した場合に報知するか否かがあらかじめ設定されており、設定されたプロパティの値に変化があり、かつ電気機器の状態が変化した場合にネットワーク上に報知するプロパティである場合、電気機器側は状態の変化を通信装置に通知する際に、ネットワーク上へ送信するかどうかを判断することなく通知すれば、通信装置において判断し、当該プロパティの値を送信するための電文が生成され、生成された電文が送信される。   According to this configuration, in the property, whether to notify when the state of the electrical device changes is set in advance, the value of the set property has changed, and the state of the electrical device has changed. If it is a property to be notified on the network in the case, when the electrical device notifies the communication device of a change in state, if it is notified without determining whether to transmit to the network, the communication device determines, A message for transmitting the property value is generated, and the generated message is transmitted.

したがって、電気機器は特にプロパティの値の変化による送信を意識しなくても、通信装置が必要なプロパティの値を電文として構成し、ネットワーク上に送信することによって、ネットワーク上に設けられた他の電気機器に対して電気機器の状態が変化したことを報知することができる。   Therefore, even if the electrical equipment is not particularly conscious of transmission due to a change in the property value, the communication device configures the necessary property value as a message and transmits it to the network, thereby transmitting it to the other network. It is possible to notify the electric device that the state of the electric device has changed.

また、上記の通信装置において、前記設定要求には、電気機器の状態が変化した場合に報知するか否かの設定に関わらず、前記プロパティの値を通知する旨の通知指定情報が付与されており、前記電文生成手段は、前記通知指定情報に基づいて前記プロパティの値を送信するための電文を生成するか否かを判断することが好ましい。   In the communication apparatus, the setting request is provided with notification designation information indicating that the property value is notified regardless of the setting of whether to notify when the state of the electrical device changes. Preferably, the message generation unit determines whether to generate a message for transmitting the property value based on the notification designation information.

この構成によれば、設定要求には、電気機器の状態が変化した場合に報知するか否かの設定に関わらず、プロパティの値を通知する旨の通知指定情報が付与されており、通知指定情報に基づいてプロパティの値を送信するための電文を生成するか否かが判断される。   According to this configuration, the setting request is provided with the notification designation information for notifying the property value regardless of the setting of whether to notify when the state of the electrical device changes. It is determined whether or not to generate a message for transmitting the property value based on the information.

したがって、通知指定情報を付与して設定要求を送ることによって、通信装置において通知指定情報の有無を判断することによって状態の変化がなくても通知が必要と電気機器が判断したプロパティの値の送信用の電文を生成することができ、ネットワーク上に送信することができる。   Therefore, by sending a setting request with notification designation information attached, it is possible to send a property value that the electrical device has determined that notification is necessary even if there is no change in status by judging the presence or absence of the notification designation information in the communication device. A trusted message can be generated and sent over the network.

また、上記の通信装置において、前記電文生成手段は、前記通知指定情報が1つ存在する場合、1つのプロパティの値を1つの電文で送信するための個別電文を生成し、前記通
知指定情報が2つ以上存在する場合、2つ以上のプロパティの値を1つの電文で送信するための複合電文を生成することが好ましい。
Further, in the communication apparatus, the message generation unit generates an individual message for transmitting one property value by one message when one notification designation information exists, and the notification designation information is When two or more exist, it is preferable to generate a composite message for transmitting two or more property values in one message.

この構成によれば、通知指定情報が1つ存在する場合、1つのプロパティの値を1つの電文で送信するための個別電文が生成され、通知指定情報が2つ以上存在する場合、2つ以上のプロパティの値を1つの電文で送信するための複合電文が生成される。したがって、電気機器からの個別及び複合電文の送信指定を簡単に行うことができる。   According to this configuration, when one piece of notification designation information exists, an individual message for transmitting one property value by one message is generated, and when two or more pieces of notification designation information exist, two or more A composite message for transmitting the value of the property in one message is generated. Therefore, it is possible to easily specify the transmission of individual and composite messages from the electric device.

本発明に係る通信制御方法は、通信装置を用いて電気機器と所定のネットワークとを相互に通信可能に接続するための通信制御方法であって、前記通信装置が、接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶ステップと、前記通信装置が、前記オブジェクト構成情報記憶ステップにおいて記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認ステップと、前記通信装置が、前記確認ステップにおいてオブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続ステップと、前記通信装置が、前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶ステップと、前記通信装置が、前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶ステップにおいて記憶されているプロパティの値を設定するプロパティ値設定ステップとを含む。   The communication control method according to the present invention is a communication control method for connecting an electrical device and a predetermined network so that they can communicate with each other using a communication device, wherein the communication device is an object of the electrical device to be connected. Whether the object configuration information storage step for storing configuration information matches the object configuration information stored in the object configuration information storage step by the communication device and the object configuration information acquired from the connected electrical device. A confirmation step for confirming whether or not, when the communication device confirms that the object configuration information matches in the confirmation step, the connection step for connecting the electrical device and the network so that they can communicate with each other, and the communication Property in which the device stores the value of the property that represents the attribute of the object Comprising a storage step, the communication apparatus receives a setting request from said electrical device property value, the property value setting step of setting the value of the property stored in the property value storing step.

この構成によれば、接続される電気機器のオブジェクト構成情報が記憶されており、記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認され、オブジェクト構成情報が一致すると確認された場合、電気機器とネットワークとが相互に通信可能に接続される。   According to this configuration, the object configuration information of the connected electrical device is stored, and whether or not the stored object configuration information matches the object configuration information acquired from the connected electrical device. When it is confirmed that the object configuration information matches, the electric device and the network are connected to be communicable with each other.

このように、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   As described above, the object configuration information of the connected electric device is stored in the communication device, and is acquired from the object configuration information stored on the communication device side instead of the electric device side and the connected electric device. Since it is confirmed whether or not the object configuration information matches, the load on the electric equipment side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

本発明に係る通信制御プログラムは、電気機器と所定のネットワークとを相互に通信可能に接続する通信装置の通信制御プログラムであって、接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶手段と、前記オブジェクト構成情報記憶手段に記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認手段と、前記確認手段によって、オブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続手段と、前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶手段と、前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶手段に記憶されているプロパティの値を設定するプロパティ値設定手段として前記通信装置を機能させる。   A communication control program according to the present invention is a communication control program for a communication device that connects an electric device and a predetermined network so that they can communicate with each other, and stores object configuration information of the connected electric device. A means for confirming whether the object configuration information stored in the object configuration information storage means matches the object configuration information acquired from the connected electrical device, and the confirmation means, When it is confirmed that the object configuration information matches, a connection unit that connects the electrical device and the network so that they can communicate with each other, a property value storage unit that stores a property value representing an attribute of the object, and the electrical unit When a property value setting request is received from the device, it is recorded in the property value storage means. To function the communication device as the property value setting means for setting the value of which are have properties that are.

この構成によれば、接続される電気機器のオブジェクト構成情報が記憶されており、記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認され、オブジェクト構成情報が一致すると確認された場合、電気機器とネットワークとが相互に通信可能に接続される。   According to this configuration, the object configuration information of the connected electrical device is stored, and whether or not the stored object configuration information matches the object configuration information acquired from the connected electrical device. When it is confirmed that the object configuration information matches, the electric device and the network are connected to be communicable with each other.

このように、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   As described above, the object configuration information of the connected electric device is stored in the communication device, and is acquired from the object configuration information stored on the communication device side instead of the electric device side and the connected electric device. Since it is confirmed whether or not the object configuration information matches, the load on the electric equipment side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

請求項1に記載の発明によれば、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   According to the first aspect of the present invention, the object configuration information of the electric device to be connected is stored in the communication device, and is connected to the object configuration information stored on the communication device side instead of the electric device side. Since it is confirmed whether or not the object configuration information acquired from the electric device is the same, the load on the electric device side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

請求項2に記載の発明によれば、電気機器は特にプロパティの値の変化による送信を意識しなくても、通信装置が必要なプロパティの値を電文として構成し、ネットワーク上に送信することによって、ネットワーク上に設けられた他の電気機器に対して電気機器の状態が変化したことを報知することができる。   According to the second aspect of the present invention, the electrical device configures the necessary property value as a telegram and transmits it on the network without being particularly conscious of the transmission due to the change in the property value. It is possible to notify that other electrical devices provided on the network have changed the state of the electrical device.

請求項3に記載の発明によれば、通知指定情報を付与して設定要求を送ることによって、通信装置において通知指定情報の有無を判断することによって状態の変化がなくても通知が必要と電気機器が判断したプロパティの値の送信用の電文を生成することができ、ネットワーク上に送信することができる。   According to the third aspect of the present invention, it is necessary to notify that even if there is no change in the state by determining the presence or absence of the notification designation information in the communication device by sending the setting request with the notification designation information. A message for transmitting the property value determined by the device can be generated and transmitted on the network.

請求項4に記載の発明によれば、電気機器からの個別及び複合電文の送信指定を簡単に行うことができる。   According to the fourth aspect of the present invention, it is possible to easily specify the transmission of individual and composite messages from the electric device.

請求項5に記載の発明によれば、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   According to the fifth aspect of the present invention, the object configuration information of the electric device to be connected is stored in the communication device, and is connected to the object configuration information stored on the communication device side instead of the electric device side. Since it is confirmed whether or not the object configuration information acquired from the electric device is the same, the load on the electric device side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

請求項6に記載の発明によれば、通信装置には接続される電気機器のオブジェクト構成情報が記憶されており、電気機器側ではなく通信装置側で記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器側の負荷を軽減することができる。   According to the sixth aspect of the present invention, the object configuration information of the electric device to be connected is stored in the communication device, and is connected to the object configuration information stored on the communication device side instead of the electric device side. Since it is confirmed whether or not the object configuration information acquired from the electric device is the same, the load on the electric device side can be reduced.

また、通信装置にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器からプロパティの値の設定要求を受けて、記憶されているプロパティの値が設定されるので、電気機器とネットワークとの間で直接プロパティの値を送受信するのではなく、ネットワークと通信装置との間でプロパティの値を送受信することができ、さらに電気機器側の負荷を軽減することができる。   In addition, the communication device stores property values representing object attributes. When a property value setting request is received from an electric device, the stored property value is set. The property value can be transmitted and received between the network and the communication device, and the load on the electric device side can be reduced.

本発明の一実施の形態によるホームネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the home network system by one embodiment of this invention. 図1に示すアダプタの構成を示すブロック図である。It is a block diagram which shows the structure of the adapter shown in FIG. 図2に示すアダプタの通信処理を説明するためのフローチャートである。It is a flowchart for demonstrating the communication processing of the adapter shown in FIG. アダプタから電気機器に送信されるオブジェクト構成情報要求コマンドのフレーム構成の一例を示す図である。It is a figure which shows an example of the frame structure of the object structure information request | requirement command transmitted to an electric equipment from an adapter. プロパティ値設定処理に係るアダプタの構成を示すブロック図である。It is a block diagram which shows the structure of the adapter which concerns on a property value setting process. 図5に示すアダプタのプロパティ値設定処理を説明するためのフローチャートである。It is a flowchart for demonstrating the property value setting process of the adapter shown in FIG. 電気機器からアダプタに送信されるプロパティ値設定・通知要求コマンドのフレーム構成の一例を示す図である。It is a figure which shows an example of the frame structure of the property value setting / notification request command transmitted to an adapter from an electric equipment.

以下、本発明の一実施の形態による制御装置であるコントローラを用いたホームネットワークシステムについて図面を参照しながら説明する。図1は、本発明の一実施の形態によるホームネットワークシステムの構成を示すブロック図である。   Hereinafter, a home network system using a controller which is a control device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a home network system according to an embodiment of the present invention.

図1において、ホームネットワークシステムは、コントローラ101、複数のアダプタ102〜105、複数の電気機器106〜109及び宅内通信回線110を備える。コントローラ101、複数のアダプタ102〜105、複数の電気機器106〜109及び宅内通信回線110は、一般住宅、集合住宅等に設置される。コントローラ101は、宅内通信回線110及びアダプタ102〜105を介して電気機器106〜109と通信可能に接続され、制御情報を用いて電気機器106〜109の動作を制御する。アダプタ102〜105は、ECHONETで規定する伝送メディアの通信インターフェースを具備しない電気機器106〜109をECHONETネットワークに相互に通信可能に接続するための通信装置である。なお、アダプタ102については、図2を用いて後述する。電気機器106〜109は、いわゆる家庭電化製品だけでなく住設機器や住環境を測定・検知するセンサ及びメータ(例えば、ガスメータ、水道メータ及び電力メータ等)なども含めた、ホームネットワークに接続可能な機器であり、本明細書では、これらの機器を総称する用語として「電気機器」を使用することとする。また、図1は、アダプタ102〜105と電気機器106〜109とが電気的に接続されていることを示しており、本実施形態におけるアダプタ102は、電気機器106に着脱可能で物理的に接続されている。   In FIG. 1, the home network system includes a controller 101, a plurality of adapters 102 to 105, a plurality of electrical devices 106 to 109, and a home communication line 110. The controller 101, the plurality of adapters 102 to 105, the plurality of electric devices 106 to 109, and the in-home communication line 110 are installed in a general house, an apartment house, or the like. The controller 101 is communicably connected to the electric devices 106 to 109 via the home communication line 110 and the adapters 102 to 105, and controls the operations of the electric devices 106 to 109 using the control information. The adapters 102 to 105 are communication devices for connecting the electrical devices 106 to 109 that do not have the communication interface of the transmission medium defined by ECHONET so that they can communicate with each other. The adapter 102 will be described later with reference to FIG. The electrical devices 106 to 109 can be connected to a home network including not only so-called home appliances but also sensors and meters (for example, gas meters, water meters, and power meters) that measure and detect residential equipment and living environments. In this specification, the term “electrical device” is used as a generic term for these devices. Further, FIG. 1 shows that the adapters 102 to 105 and the electric devices 106 to 109 are electrically connected. The adapter 102 in the present embodiment is detachable and physically connected to the electric device 106. Has been.

コントローラ101は、宅外通信回線300を介してサーバ200に通信可能に接続される。サーバ200は、公知のサーバコンピュータ等から構成され、複数の電気機器106〜109等の基本情報等を提供する。サーバ200は、コントローラ101の要求に応じて該当する電気機器の基本情報を内蔵されるメモリから読み出し、通信処理部201を用いてコントローラ101へ基本情報を送信する。基本情報は、電気機器の動作を制御するために電気機器毎に規定された電気機器の機能等に関する情報である。各種電気機器の基本情報は、データベースとしてメモリにあらかじめ記憶されており、その内容が適宜更新されている。   The controller 101 is communicably connected to the server 200 via the outside communication line 300. The server 200 is configured by a known server computer or the like, and provides basic information and the like of the plurality of electric devices 106 to 109. The server 200 reads basic information of the corresponding electrical device from the built-in memory in response to a request from the controller 101, and transmits the basic information to the controller 101 using the communication processing unit 201. The basic information is information relating to the function of the electrical device defined for each electrical device in order to control the operation of the electrical device. Basic information of various electric devices is stored in advance in a memory as a database, and the contents are updated as appropriate.

宅外通信回線300は、電話回線およびディジタル回線などの交換回線や専用回線などによる宅外の通信網である。なお、宅外通信回線300としては、上記の例に特に限定されず、種々の広域ネットワークを用いることができ、専用回線、他の公衆回線、インターネット等を用いてもよく、また、有線及び無線のいずれの方式を用いてもよい。また、宅内通信回線110は、有線及び無線のいずれの方式を用いてもよく、アダプタ102とコントローラ101とを無線で接続してもよい。   The out-of-home communication line 300 is an out-of-home communication network using an exchange line such as a telephone line and a digital line or a dedicated line. The outside communication line 300 is not particularly limited to the above example, and various wide-area networks can be used. A dedicated line, another public line, the Internet, or the like may be used. Any of these methods may be used. The home communication line 110 may use either a wired or wireless system, and the adapter 102 and the controller 101 may be connected wirelessly.

図2は、図1に示すアダプタ102の構成を示すブロック図である。なお、アダプタ103〜105については、アダプタ102と同じ構成であるので説明を省略する。図2に示すアダプタ102は、通信処理部11、制御部12及び記憶部13を備えて構成される。   FIG. 2 is a block diagram showing a configuration of the adapter 102 shown in FIG. Since the adapters 103 to 105 have the same configuration as the adapter 102, the description thereof is omitted. The adapter 102 illustrated in FIG. 2 includes a communication processing unit 11, a control unit 12, and a storage unit 13.

アダプタ102は、電気機器106と通信可能に接続され、宅内通信回線110を介してコントローラ101と通信可能に接続される。アダプタ102は、CPU(中央演算処理装置)、ROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、ゲートウェイ、操作部及び液晶表示装置等から構成され、所定のプログラムをCPU等で実行することにより、通信処理部11、制御部12及び記憶部13として機能する。なお、操作部及び液晶表示装置は、特に必要がない場合設けなくてもよい。   The adapter 102 is communicably connected to the electric device 106 and is communicably connected to the controller 101 via the home communication line 110. The adapter 102 includes a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), gateway, operation unit, liquid crystal display device, and the like, and a predetermined program is executed by the CPU or the like. , Function as a communication processing unit 11, a control unit 12 and a storage unit 13. Note that the operation unit and the liquid crystal display device do not have to be provided unless particularly necessary.

制御部12は、所定の通信ミドルウエアをCPU等で実行することにより、IF(インターフェース)情報認識部121、オブジェクト構成確認部122、オブジェクト動作設定部123、ネットワーク参入処理部124及びオブジェクト構成追加設定部125として機能する。   The control unit 12 executes predetermined communication middleware by a CPU or the like, thereby allowing an IF (interface) information recognition unit 121, an object configuration confirmation unit 122, an object operation setting unit 123, a network entry processing unit 124, and an object configuration additional setting. The unit 125 functions.

IF情報認識部121は、電気機器に対してIF情報を要求し、電気機器からの応答に応じて電気機器への伝送速度を認識する。IF情報認識部121によって、電気機器への伝送速度が認識されると、それ以降の電気機器との送受信は、当該伝送速度で行われることとなる。   The IF information recognition unit 121 requests IF information from the electric device, and recognizes the transmission speed to the electric device according to a response from the electric device. When the IF information recognizing unit 121 recognizes the transmission speed to the electric device, transmission / reception with the electric device thereafter is performed at the transmission speed.

オブジェクト構成確認部122は、機器オブジェクト記憶部131にあらかじめ記憶されている機器オブジェクトに関するオブジェクト構成情報と、接続されている電気機器106から取得したオブジェクト構成情報とが一致するか否かを確認する。なお、機器オブジェクトとは、電気機器が保持する情報や、操作可能な制御項目等を論理的にモデル化したものであり、各電気機器が保持する情報や制御項目等がプロパティとして規定されている。   The object configuration confirmation unit 122 confirms whether the object configuration information related to the device object stored in advance in the device object storage unit 131 matches the object configuration information acquired from the connected electrical device 106. Note that a device object is a logical model of information held by an electric device, control items that can be operated, etc., and information, control items, etc. held by each electric device are defined as properties. .

オブジェクト動作設定部123は、機器オブジェクトの各プロパティの動作属性を設定する。この動作属性としては、電気機器の状態が変化した際に、アダプタ102及び電気機器106が存在する自ノード以外の他ノードに報知するか否か等がある。   The object action setting unit 123 sets action attributes of each property of the device object. The operation attribute includes whether or not to notify other nodes other than the own node where the adapter 102 and the electric device 106 exist when the state of the electric device changes.

ネットワーク参入処理部124は、オブジェクト構成確認部122によって、オブジェクト構成情報が一致すると確認された場合、電気機器とネットワークとを相互に通信可能に接続する。   When the object configuration confirmation unit 122 confirms that the object configuration information matches, the network entry processing unit 124 connects the electrical device and the network so that they can communicate with each other.

オブジェクト構成追加設定部125は、通常動作状態において、電気機器106からの設定要求を受けて、機器オブジェクト記憶部131に記憶されているオブジェクト構成情報を追加記憶する。   In the normal operation state, the object configuration addition setting unit 125 receives a setting request from the electric device 106, and additionally stores the object configuration information stored in the device object storage unit 131.

通信処理部11は、所定の通信ミドルウエア、下位通信ソフトウエア及びアダプタ通信ソフトウエアをCPU等で実行することにより実現され、宅内通信回線110を介してコントローラ101との通信を制御するとともに、電気機器106との通信を制御する。   The communication processing unit 11 is realized by executing predetermined communication middleware, lower-order communication software, and adapter communication software by a CPU or the like, and controls communication with the controller 101 via the in-home communication line 110 and also performs electrical communication. Controls communication with the device 106.

本実施の形態では、通信処理部11及び制御部12の通信ミドルウエア及び下位通信ソフトウエアとして、公知のECHONET規格におけるECHONET通信ミドルウエア及び下位通信ソフトウエアを用いることとする。電気機器106は、ECHONETで規格化された通信インターフェースを有しておらず、アダプタ102との通信を可能にするECHONETで規格化されたアダプタ通信ソフトウエアを有している。なお、アダプタ102は、このアダプタ通信ソフトウエアを有している。   In the present embodiment, ECHONET communication middleware and lower-layer communication software in the known ECHONET standard are used as the communication middleware and lower-layer communication software of the communication processing unit 11 and the control unit 12. The electric device 106 does not have a communication interface standardized by ECHONET, but has adapter communication software standardized by ECHONET that enables communication with the adapter 102. The adapter 102 has this adapter communication software.

記憶部13は、例えば、メモリーカード等の記憶装置によって構成され、機器オブジェクト記憶部131を備えて構成される。機器オブジェクト記憶部131は、アダプタ102に接続されている電気機器106の機器オブジェクトに関するオブジェクト構成情報をあらかじめ記憶している。   The storage unit 13 is configured by a storage device such as a memory card, for example, and includes a device object storage unit 131. The device object storage unit 131 stores in advance object configuration information related to a device object of the electric device 106 connected to the adapter 102.

このように、機器オブジェクトをメモリーカードのような着脱可能な記憶装置によって構成することによって、接続される電気機器に応じた機器オブジェクトを簡単にアダプタ102に記憶させることができる。   In this way, by configuring the device object with a removable storage device such as a memory card, the device object corresponding to the connected electrical device can be easily stored in the adapter 102.

なお、本実施形態では、記憶部13はメモリーカード等の記憶装置によって構成されるとしているが、本発明は特にこれに限定されず、例えば、EEPROM等の書き換え可能な記憶装置で構成してもよく、サーバ200に各電気機器に対応する機器オブジェクトを記憶しておき、アダプタ102は、コントローラ101及び通信回線300等を介してサーバ200から機器オブジェクトをダウンロードし、記憶部13に記憶してもよい。   In the present embodiment, the storage unit 13 is configured by a storage device such as a memory card. However, the present invention is not particularly limited thereto, and may be configured by a rewritable storage device such as an EEPROM. Often, device objects corresponding to each electrical device are stored in the server 200, and the adapter 102 may download the device objects from the server 200 via the controller 101 and the communication line 300 and store them in the storage unit 13. Good.

次に、図2に示すように構成されたアダプタ102の動作について説明する。図3は、図2に示すアダプタ102の通信処理を説明するためのフローチャートである。なお、図3では、アダプタ102の動作について説明するが、他のアダプタ103〜105についても同様の動作が行われる。   Next, the operation of the adapter 102 configured as shown in FIG. 2 will be described. FIG. 3 is a flowchart for explaining communication processing of the adapter 102 shown in FIG. In FIG. 3, the operation of the adapter 102 is described, but the same operation is performed for the other adapters 103 to 105.

ステップS1において、IF情報認識部121は、通信処理部11を用いて電気機器106に所定の通信方式でIF情報を要求する。具体的に、IF情報認識部121は、電気機器106に対して9600bpsの伝送速度でIF情報を要求する。ECHONET規格においては、9600bps及び2400bpsの伝送速度を推奨しているので、本実施形態におけるアダプタ102と電気機器106とはいずれかの伝送速度で通信する。   In step S <b> 1, the IF information recognition unit 121 uses the communication processing unit 11 to request IF information from the electrical device 106 using a predetermined communication method. Specifically, the IF information recognition unit 121 requests IF information from the electrical device 106 at a transmission rate of 9600 bps. In the ECHONET standard, transmission speeds of 9600 bps and 2400 bps are recommended, so that the adapter 102 and the electric device 106 in this embodiment communicate at any transmission speed.

ステップS21において、電気機器106はIF情報要求を受理する。ステップS21において、電気機器106は、通信方式が同じである場合、IF情報要求に応答する。すなわち、電気機器106のインターフェースの伝送速度が9600bpsである場合、電気機器106は、IF情報要求に対して応答し、IF情報をアダプタ102に送信する。   In step S21, the electric device 106 accepts the IF information request. In step S21, when the communication method is the same, the electric device 106 responds to the IF information request. That is, when the transmission speed of the interface of the electric device 106 is 9600 bps, the electric device 106 responds to the IF information request and transmits the IF information to the adapter 102.

ここで、電気機器106のインターフェースの伝送速度が9600bps以外の例えば2400bpsである場合、電気機器106はIF情報を送信しない。IF情報認識部121は、9600bpsの伝送速度でIF情報要求した後、所定期間、例えば300msec経過しても電気機器106からの応答がない場合、2400bpsの伝送速度でIF情報を要求する。なお、通信可能な伝送速度が9600bps及び2400bps以外にさらに複数ある場合、IF情報認識部121は、電気機器106からの応答があるまで順次伝送速度を変化させてIF情報を要求する。   Here, when the transmission speed of the interface of the electric device 106 is, for example, 2400 bps other than 9600 bps, the electric device 106 does not transmit IF information. The IF information recognizing unit 121 requests IF information at a transmission rate of 2400 bps after making a request for IF information at a transmission rate of 9600 bps and receiving no response from the electrical device 106 after a predetermined period, for example, 300 msec. When there are a plurality of communication speeds other than 9600 bps and 2400 bps, the IF information recognition unit 121 requests IF information by sequentially changing the transmission speed until there is a response from the electrical device 106.

ステップS2において、通信処理部11は、電気機器106から送信されたIF情報を受信する。ステップS3において、IF情報認識部121は、電気機器106との接続が成功したか否かを判断する。すなわち、IF情報認識部121は、電気機器106からIF情報の応答があった場合、当該IF情報に基づいて通信方式を認識し、以降はその方式で通信する。ここで、電気機器106からのIF情報要求に対する応答があり、接続が成功したと判断されると(ステップS3でYES)、ステップS4に移行し、電気機器106からのIF情報要求に対する応答がなく、接続が失敗したと判断されると(ステップS3でNO)、アダプタ102は電気機器106の通信方式を認識することができず、処理を終了する。   In step S <b> 2, the communication processing unit 11 receives IF information transmitted from the electrical device 106. In step S <b> 3, the IF information recognition unit 121 determines whether the connection with the electric device 106 has been successful. That is, if there is a response of IF information from the electrical device 106, the IF information recognition unit 121 recognizes the communication method based on the IF information, and thereafter performs communication using that method. If there is a response to the IF information request from the electric device 106 and it is determined that the connection is successful (YES in step S3), the process proceeds to step S4, and there is no response to the IF information request from the electric device 106. If it is determined that the connection has failed (NO in step S3), the adapter 102 cannot recognize the communication method of the electric device 106 and ends the process.

ステップS4において、オブジェクト構成確認部122は、通信処理部11を用いて電気機器106にオブジェクト構成情報を要求する。ステップS23において、電気機器106は、アダプタ102からのオブジェクト構成情報要求を受理する。ステップS24において、電気機器106は、電気機器106のオブジェクト構成情報応答をアダプタ102に送信する。   In step S <b> 4, the object configuration confirmation unit 122 requests object configuration information from the electrical device 106 using the communication processing unit 11. In step S <b> 23, the electric device 106 receives the object configuration information request from the adapter 102. In step S <b> 24, the electric device 106 transmits an object configuration information response of the electric device 106 to the adapter 102.

図4は、アダプタ102から電気機器106に送信されるオブジェクト構成情報要求コマンドのフレーム構成の一例を示す図である。   FIG. 4 is a diagram illustrating an example of a frame configuration of an object configuration information request command transmitted from the adapter 102 to the electrical device 106.

図4に示すSTXは制御コード(先頭コード)を示し、CNはコマンド番号コードを示し、FNはフレーム番号を示し、DLはデータ長コードを示し、FD(0)はオブジェクト搭載状況を示し、FD(1)はオブジェクト構成番号を示し、FD(2)は電気機器搭載オブジェクト数を示し、FD(3)は電気機器搭載オブジェクトコードの格納領域を示している。   4 indicates a control code (head code), CN indicates a command number code, FN indicates a frame number, DL indicates a data length code, FD (0) indicates an object mounting status, and FD (1) indicates an object configuration number, FD (2) indicates the number of electrical device mounted objects, and FD (3) indicates a storage area for electrical device mounted object codes.

オブジェクト構成確認部122は、電気機器106に対してオブジェクトの構成を確認する際に送信する電文(オブジェクト構成情報要求)内において、自身の保持するオブジェクト構成情報を通知する。このオブジェクト構成情報としては、保持している複数のオブジェクトを示すコードデータ(図4中のFD(2)、FD(3)のある場合)、或いは、オブジェクト構成を一意に規定する特定のコード情報(図4中のFD(1))などがある。   The object configuration confirmation unit 122 notifies the electrical device 106 of the object configuration information held by itself in a message (object configuration information request) transmitted when confirming the configuration of the object. As this object configuration information, code data indicating a plurality of held objects (in the case of FD (2) and FD (3) in FIG. 4), or specific code information that uniquely defines the object configuration (FD (1) in FIG. 4).

オブジェクト構成を一意に規定する特定のコードを電気機器106でも保持している場合には、電気機器106は、受け取ったオブジェクト構成情報要求の電文内の前記特定のコード情報(FD(1))の値と自身の保持する値を比較することにより、複数のオブジェクトにより構成されている場合でも、簡単に構成内容の比較が行える。   When the electric device 106 also holds a specific code that uniquely defines the object configuration, the electric device 106 stores the specific code information (FD (1)) in the received object configuration information request message. By comparing the value with the value held by itself, it is possible to easily compare the contents of the structure even when the object is composed of a plurality of objects.

なお、前記特定のコード情報(FD(1))が示す構成は、オブジェクトクラス情報以外に、搭載しているプロパティの構成まで含めてもよい。   The configuration indicated by the specific code information (FD (1)) may include the configuration of the installed property in addition to the object class information.

図3に戻って、ステップS5において、通信処理部11は、電気機器106によって送信されたオブジェクト構成情報応答を受信する。ステップS6において、オブジェクト構成確認部122は、受信したオブジェクト構成情報と、あらかじめ機器オブジェクト記憶部131に記憶されているオブジェクト構成情報とが一致するか否かを判断する。すなわち、オブジェクト構成確認部122は、アダプタ102にあらかじめ記憶されている電気機器のオブジェクト構成情報が、アダプタ102に接続されている電気機器106のオブジェクト構成に対応可能であるか否かを判断する。ここで、受信したオブジェクト構成情報と、あらかじめ機器オブジェクト記憶部131に記憶されているオブジェクト構成情報とが一致すると判断されると(ステップS6でYES)、ステップS7に移行し、一致しないと判断されると(ステップS6でNO)、処理を終了する。   Returning to FIG. 3, in step S <b> 5, the communication processing unit 11 receives the object configuration information response transmitted by the electrical device 106. In step S <b> 6, the object configuration confirmation unit 122 determines whether or not the received object configuration information matches the object configuration information stored in the device object storage unit 131 in advance. That is, the object configuration confirmation unit 122 determines whether or not the object configuration information of the electrical device stored in advance in the adapter 102 is compatible with the object configuration of the electrical device 106 connected to the adapter 102. If it is determined that the received object configuration information matches the object configuration information stored in advance in the device object storage unit 131 (YES in step S6), the process proceeds to step S7, and it is determined that they do not match. Then (NO in step S6), the process ends.

なお、本実施形態では、電気機器106から受信したオブジェクト構成情報と、あらかじめ機器オブジェクト記憶部131に記憶されているオブジェクト構成情報とが一致しないと判断されると処理を終了するとしているが、本発明は特にこれに限定されず、アダプタ102の制御部12にオブジェクト生成部を設け、受信したオブジェクト構成情報と、あらかじめ機器オブジェクト記憶部131に記憶されているオブジェクト構成情報とが一致しないと判断されると、オブジェクト生成部が、電気機器106から受信したオブジェクト構成情報に基づいて新たなオブジェクト構成情報を生成し、機器オブジェクト記憶部131に記憶してもよい。   In the present embodiment, the process ends when it is determined that the object configuration information received from the electrical device 106 and the object configuration information stored in the device object storage unit 131 in advance do not match. The invention is not particularly limited to this, and an object generation unit is provided in the control unit 12 of the adapter 102, and it is determined that the received object configuration information does not match the object configuration information stored in the device object storage unit 131 in advance. Then, the object generation unit may generate new object configuration information based on the object configuration information received from the electrical device 106 and store the new object configuration information in the device object storage unit 131.

ステップS7において、オブジェクト動作設定部123は、通信処理部11を用いて電気機器106にオブジェクト動作設定を要求する。ステップS23において、電気機器106は、アダプタ102からのオブジェクト動作設定要求を受理する。ステップS24において、電気機器106は、電気機器106のオブジェクト動作設定応答をアダプタ102に送信する。   In step S <b> 7, the object action setting unit 123 requests the electric device 106 to set the object action using the communication processing unit 11. In step S <b> 23, the electric device 106 receives the object operation setting request from the adapter 102. In step S <b> 24, the electric device 106 transmits an object operation setting response of the electric device 106 to the adapter 102.

ステップS8において、通信処理部11は、電気機器106から送信されるオブジェクト動作設定応答を受信する。ステップS9において、オブジェクト動作設定部123は、通信処理部11によって受信したオブジェクト動作設定に基づいて、オブジェクトを構成するプロパティの動作を設定する。機器オブジェクトは、複数のプロパティにより構成されている。例えば、電気機器がエアコンである場合、エアコンオブジェクトのプロパティとしては、ON/OFFを表す動作状態、自動、冷房及び暖房運転等の運転状態を表す運転モード、現在設定されている温度値を表す現在設定温度及び故障発生の有無を表す故障発生状態などがある。   In step S <b> 8, the communication processing unit 11 receives an object action setting response transmitted from the electric device 106. In step S <b> 9, the object action setting unit 123 sets the action of the property constituting the object based on the object action setting received by the communication processing unit 11. The device object is composed of a plurality of properties. For example, when the electric device is an air conditioner, the properties of the air conditioner object include an operation state representing ON / OFF, an operation mode representing an operation state such as automatic, cooling, and heating operation, and a current value representing a currently set temperature value. There are a set temperature and a failure occurrence state indicating whether or not a failure has occurred.

オブジェクト動作設定部123が設定するプロパティの動作には、例えば、状態変化時アナウンス自動送信、Get/GetM自動応答、Set/SetM自動応答、Get/GetMアダプタスルー、Set/SetMアダプタスルー及びGet/GetM読出通知の6つがある。   The property operations set by the object operation setting unit 123 include, for example, automatic announcement at the time of state change, Get / GetM automatic response, Set / SetM automatic response, Get / GetM adapter through, Set / SetM adapter through, and Get / GetM. There are six read notifications.

状態変化時アナウンス自動送信とは、アダプタ102が保持しているプロパティの値が、電気機器106から送信されるプロパティの値によって変化した場合に電気機器106からのアナウンス指定無しでも自動的にアナウンスする動作である。   The state automatic change announcement is automatically announced when the property value held by the adapter 102 is changed by the property value transmitted from the electric device 106 even if the announcement from the electric device 106 is not specified. Is the action.

Get/GetM自動応答とは、他ノードからプロパティの値の読出要求があった場合に、アダプタ102が保持しているプロパティの値を他ノードに返信し、他ノードから読出要求があったことを電気機器106に通知しない動作である。   The Get / GetM automatic response means that when a property value read request is received from another node, the property value held by the adapter 102 is returned to the other node, and a read request is received from another node. This is an operation that does not notify the electric device 106.

Set/SetM自動応答とは、他ノードからプロパティの値の書込要求があった場合に、アダプタ102が保持しているプロパティの値を他ノードに返信し、書込要求があったプロパティを返信後に電気機器106に通知する動作である。   Set / SetM automatic response is a property value write request from another node, the property value held by the adapter 102 is returned to the other node, and the property for which the write request has been sent is returned. This is an operation to notify the electric device 106 later.

Get/GetMアダプタスルーとは、他ノードからプロパティの値の読出要求があった場合に、アダプタ102は応答を返信せずに、他ノードから読出要求があったことを電気機器106に通知する動作である。   In the Get / GetM adapter through, when there is a request for reading a property value from another node, the adapter 102 does not send back a response but notifies the electrical device 106 that there has been a read request from another node. It is.

Set/SetMアダプタスルーとは、他ノードからプロパティの値の書込要求があった場合に、アダプタ102は応答を返信せずに、他ノードから書込要求があったことを電気機器106に通知する動作である。   Set / SetM adapter through means that when there is a write request for a property value from another node, the adapter 102 does not send back a response but notifies the electrical device 106 that there has been a write request from another node. It is an operation to do.

Get/GetM読出通知とは、他ノードからプロパティの値の読出要求があった場合に、アダプタ102が保持しているプロパティの値を他ノードに返信し、他ノードから読出要求があったことを電気機器106に通知する動作である。   The Get / GetM read notification indicates that when a property value read request is received from another node, the property value held by the adapter 102 is returned to the other node, and a read request is received from another node. This is an operation to notify the electric device 106.

オブジェクト動作設定部123は、オブジェクトを構成する各プロパティに対して、上述のような動作を行うか否かを設定する。なお、オブジェクト動作設定部123は、上述した全ての動作について設定する必要はなく、必要とする動作のみを設定してもよい。   The object operation setting unit 123 sets whether or not to perform the above-described operation for each property constituting the object. Note that the object motion setting unit 123 does not need to set all the motions described above, and may set only the motions that are necessary.

ステップS9において、オブジェクト動作設定部123は、オブジェクトを構成する全てのプロパティの動作設定が終了したか否かを判断する。ここで、全てのプロパティの動作設定が終了していないと判断されると(ステップS9でNO)、ステップS7に戻り、再びオブジェクト動作設定が行われる。全てのプロパティの動作設定が終了したと判断されると(ステップS9でYES)、電気機器からのオブジェクト動作開始要求があるまで待機状態となる。   In step S9, the object action setting unit 123 determines whether or not action settings for all the properties constituting the object have been completed. If it is determined that the operation setting for all properties has not been completed (NO in step S9), the process returns to step S7, and the object operation setting is performed again. If it is determined that the operation settings for all properties have been completed (YES in step S9), the apparatus enters a standby state until an object operation start request is received from the electrical device.

ステップS27において、電気機器106は、アダプタ102へオブジェクト動作開始を要求する。例えば、電気機器106がエアコンであり、エアコンの電源がオンからオフに切り換えられた場合、電気機器106は、動作状態がオフである旨のプロパティの値をオブジェクト動作開始要求として送信する。   In step S <b> 27, the electric device 106 requests the adapter 102 to start an object operation. For example, when the electric device 106 is an air conditioner and the power supply of the air conditioner is switched from on to off, the electric device 106 transmits a property value indicating that the operation state is off as an object operation start request.

ステップS10において、通信処理部11は、電気機器106から送信されるオブジェクト動作開始要求を受理する。ステップS11において、ネットワーク参入処理部124は、ECHONETネットワークに参入する。ECHONETネットワークに参入することによって、ノードの動作状態や、製造メーカ情報、機器オブジェクトリスト等のノードとしてのプロファイルの情報や制御、設定項目を表すノードプロファイルオブジェクトにアクセス可能な状態となる。   In step S <b> 10, the communication processing unit 11 accepts an object motion start request transmitted from the electrical device 106. In step S11, the network entry processing unit 124 enters the ECHONET network. By entering the ECHONET network, it becomes possible to access a node profile object representing node operation status, profile information and control as a node such as manufacturer information, device object list, and setting items.

ステップS12において、ネットワーク参入処理部124は、ECHONETネットワークに参入することができたか否かを判断する。ECHONETネットワークに参入することができなかった場合(ステップS12でNO)、ステップS10に移行し、再び電気機器からのオブジェクト動作開始要求があるまで待機状態となる。ECHONETネットワークに参入することができた場合(ステップS12でYES)、通常動作状態に移行することとなる。なお、通常動作状態では、オブジェクト制御処理等が行われるが、このオブジェクト制御処理は公知であるので説明を省略する。   In step S12, the network entry processing unit 124 determines whether or not the ECHONET network has been entered. When it is not possible to enter the ECHONET network (NO in step S12), the process proceeds to step S10, and is in a standby state again until an object operation start request is received from the electric device. If the ECHONET network can be entered (YES in step S12), the normal operation state is entered. In the normal operation state, object control processing and the like are performed. Since this object control processing is publicly known, description thereof is omitted.

また、オブジェクト構成追加設定部125は、通常動作状態において、電気機器106からの設定要求を受けて、機器オブジェクト記憶部131に記憶されたオブジェクト構成情報を追加記憶する。すなわち、機器オブジェクト記憶部131に記憶されたオブジェクト構成情報は、通常動作状態において、電気機器106からの設定要求を受けて、オブジェクト構成情報が追加記憶されるので、電気機器106の状態、例えば設定位置等の変化に応じてオブジェクト構成情報を変更することができる。   Further, the object configuration addition setting unit 125 receives the setting request from the electric device 106 in the normal operation state, and additionally stores the object configuration information stored in the device object storage unit 131. That is, the object configuration information stored in the device object storage unit 131 receives the setting request from the electric device 106 in the normal operation state, and the object configuration information is additionally stored. Object configuration information can be changed in accordance with changes in position or the like.

このように、アダプタ102には接続される電気機器106のオブジェクト構成情報が記憶されており、電気機器106側ではなくアダプタ102側で記憶されているオブジェクト構成情報と、接続されている電気機器106から取得したオブジェクト構成情報とが一致するか否かが確認されるので、電気機器106側の処理に要する負荷を軽減することができる。   As described above, the adapter 102 stores the object configuration information of the electric device 106 to be connected, the object configuration information stored on the adapter 102 side instead of the electric device 106 side, and the connected electric device 106. Since it is confirmed whether or not the object configuration information acquired from the information matches, the load required for processing on the electric device 106 side can be reduced.

また、機器オブジェクト記憶部131に、接続される電気機器106のオブジェクト構成情報があらかじめ記憶されているので、このあらかじめ記憶されているオブジェクト構成情報と電気機器106から取得したオブジェクト構成情報とが一致するか否かを確認することができ、電気機器106側でこの確認を行う必要がなくなり、電気機器106側の負荷を軽減することができる。   In addition, since the object configuration information of the connected electric device 106 is stored in the device object storage unit 131 in advance, the object configuration information stored in advance matches the object configuration information acquired from the electric device 106. It is not necessary to perform this confirmation on the electric device 106 side, and the load on the electric device 106 side can be reduced.

次に、本実施形態におけるプロパティ値設定処理について説明する。図5は、プロパティ値設定処理に係るアダプタ102の構成を示すブロック図である。なお、アダプタ103〜105については、アダプタ102と同じ構成であるので説明を省略する。また、図2に示すアダプタ102と同一構成物については同一の符号を付し、説明を省略する。   Next, the property value setting process in this embodiment will be described. FIG. 5 is a block diagram showing a configuration of the adapter 102 related to the property value setting process. Since the adapters 103 to 105 have the same configuration as the adapter 102, the description thereof is omitted. Further, the same components as those of the adapter 102 shown in FIG.

図5に示すアダプタ102は、所定のプログラムをCPU等で実行することにより、通信処理部11、制御部12及び記憶部13として機能する。制御部12は、所定の通信ミドルウエアをCPU等で実行することにより、プロパティ値設定部126及び電文生成部127として機能する。   The adapter 102 illustrated in FIG. 5 functions as the communication processing unit 11, the control unit 12, and the storage unit 13 by executing a predetermined program by a CPU or the like. The control unit 12 functions as a property value setting unit 126 and a message generation unit 127 by executing predetermined communication middleware by a CPU or the like.

プロパティ値設定部126は、電気機器106からプロパティの値の設定要求を受けて、プロパティ値記憶部132に記憶されているプロパティの値を設定する。   The property value setting unit 126 receives a property value setting request from the electrical device 106 and sets the property value stored in the property value storage unit 132.

電文生成部127は、プロパティ値設定部126によって設定されたプロパティの値に変化があり、かつ電気機器の状態が変化した場合に報知するように動作設定されているプロパティである場合、当該プロパティの値を送信するための電文を生成する。また、電文生成部127は、電気機器の状態が変化した場合に報知するか否かの設定に関わらず、プロパティの値をECHONETネットワーク上に通知する通知指定情報に基づいて、プロパティの値を送信するための電文を生成するか否かを判断する。さらに、電文生成部127は、通知指定情報が1つ存在する場合、1つのプロパティの値を1つの電文で送信するための個別電文を生成し、通知指定情報が2つ以上存在する場合、2つ以上のプロパティの値を1つの電文で送信するための複合電文を生成する。   If the property value set by the property value setting unit 126 is changed and the property is set to be notified when the state of the electrical device changes, the message generation unit 127 sets the property value. Generate a message to send the value. Also, the message generation unit 127 transmits the property value based on the notification designation information that notifies the property value on the ECHONET network regardless of the setting of whether to notify when the state of the electrical device changes. It is determined whether or not to generate a message to do. Furthermore, when one piece of notification designation information exists, the message generation unit 127 generates an individual message for transmitting one property value by one message, and when two or more pieces of notification designation information exist, 2 A composite message for transmitting one or more property values in one message is generated.

記憶部13は、例えば、メモリーカード等の記憶装置によって構成され、プロパティ値記憶部132を備えて構成される。プロパティ値記憶部132は、接続されている電気機器106の機器オブジェクトの属性を表すプロパティの値を、プロパティに対応付けて記憶する。なお、プロパティ値記憶部132は、例えば、電気機器がエアコンであれば、設定温度等の数値のみを記憶しているのではなく、ON/OFFを表す動作状態や冷房、暖房及び自動運転等の運転モード等の電気機器の状態も記憶している。通信処理部11は、電文生成部127によって生成された電文をECHONETネットワーク上に送信する。   The storage unit 13 is configured by a storage device such as a memory card, for example, and includes a property value storage unit 132. The property value storage unit 132 stores a property value indicating the attribute of the device object of the connected electrical device 106 in association with the property. For example, if the electrical device is an air conditioner, the property value storage unit 132 stores not only numerical values such as a set temperature, but also an operation state indicating ON / OFF, cooling, heating, automatic operation, and the like. The state of the electric equipment such as the operation mode is also stored. The communication processing unit 11 transmits the message generated by the message generation unit 127 on the ECHONET network.

次に、図5に示すように構成されたアダプタ102の動作について説明する。図6は、図5に示すアダプタ102のプロパティ値設定処理を説明するためのフローチャートである。なお、図6では、アダプタ102の動作について説明するが、他のアダプタ103〜105についても同様の動作が行われる。   Next, the operation of the adapter 102 configured as shown in FIG. 5 will be described. FIG. 6 is a flowchart for explaining the property value setting process of the adapter 102 shown in FIG. 6 illustrates the operation of the adapter 102, the same operation is performed for the other adapters 103 to 105.

ステップS51において、電気機器106は、アダプタ102にプロパティ値設定・通知を要求する。ステップS31において、通信処理部11は、電気機器106からのプロパティ値設定・通知要求を受理する。   In step S <b> 51, the electric device 106 requests the adapter 102 for property value setting / notification. In step S <b> 31, the communication processing unit 11 accepts a property value setting / notification request from the electrical device 106.

図7は、電気機器106からアダプタ102に送信されるプロパティ値設定・通知要求コマンドのフレーム構成の一例を示す図である。図7に示すSTXは制御コード(先頭コード)を示し、CNはコマンド番号コードを示し、FNはフレーム番号を示し、DLはデータ長コードを示し、FD(0)はオブジェクトコードを示し、FD(1)はプロパティ値設定・通知要求を行うプロパティのコードを示し、FD(2)は状態変化の有無に関わらず外部へ通知するプロパティの指定領域を示し、FD(3)はプロパティ値の格納領域を示している。   FIG. 7 is a diagram illustrating an example of a frame configuration of a property value setting / notification request command transmitted from the electrical device 106 to the adapter 102. 7, STX indicates a control code (first code), CN indicates a command number code, FN indicates a frame number, DL indicates a data length code, FD (0) indicates an object code, and FD ( 1) indicates a property code for performing a property value setting / notification request, FD (2) indicates a property designation area to be notified to the outside regardless of the state change, and FD (3) is a property value storage area. Is shown.

図7に示すように、電気機器106からアダプタ102への電文において、毎回異なる個別或いは複数のプロパティの指定を行うという従来のものに加え、毎回特定の同じプロパティ情報の構成で送信を行い、合わせて個別電文及び複合電文の送信指定も行うことができる。これにより、電気機器106側は、毎回、同じ構成の電文を送信すればよく、送りたい情報にあわせて電文の構成を変更する必要が無く、負荷軽減に繋がることとなる。   As shown in FIG. 7, in the message from the electric device 106 to the adapter 102, in addition to the conventional one in which different individual or multiple properties are specified each time, transmission is performed with the same specific property information configuration each time. It is also possible to specify transmission of individual messages and composite messages. As a result, the electric device 106 only has to transmit a telegram having the same configuration every time, and it is not necessary to change the configuration of the telegram according to the information to be transmitted, leading to load reduction.

なお、電気機器106からのプロパティ値設定・通知要求に含まれるプロパティの値には、ECHONETネットワーク上にプロパティの値を通知するための通知指定情報が付与されている。すなわち、ECHONETネットワーク上にプロパティの値を通知する場合、フラグ(通知指定情報)が「1」に設定され、ECHONETネットワーク上にプロパティの値を通知しない場合、フラグが「0」に設定される。なお、電気機器106は、このプロパティ値設定・通知要求を所定期間毎、例えば1時間毎にアダプタ102に対して自動的に送信するが、特にこれに限定されず、例えば、電気機器106のプロパティが変化する毎に送信してもよい。   Note that the property value included in the property value setting / notification request from the electrical device 106 is given notification designation information for notifying the property value on the ECHONET network. That is, when the property value is notified on the ECHONET network, the flag (notification designation information) is set to “1”, and when the property value is not notified on the ECHONET network, the flag is set to “0”. The electric device 106 automatically transmits this property value setting / notification request to the adapter 102 every predetermined period, for example, every hour, but is not particularly limited thereto. For example, the property of the electric device 106 It may be transmitted every time.

図6に戻って、ステップS32において、通信処理部11は、プロパティ値設定・通知要求に対して応答する。ここで、通信処理部11は、プロパティ値設定・通知要求を正常に受理した場合、正常に受理した旨の応答をし、正常に受理しなかった場合、正常に受理しなかった旨の応答をする。ステップS52において、電気機器106は、アダプタ102の通信処理部11からのプロパティ値設定・通知応答を受理する。ここで、電気機器106は、プロパティ値設定・通知要求を正常に受理しなかった旨の応答を受理した場合、再度アダプタ102にプロパティ値設定・通知を要求する。   Returning to FIG. 6, in step S32, the communication processing unit 11 responds to the property value setting / notification request. Here, when the communication processing unit 11 normally receives the property value setting / notification request, the communication processing unit 11 responds that the property value has been normally received. When the communication processing unit 11 does not normally receive the property value setting / notification request, the communication processing unit 11 To do. In step S <b> 52, the electrical device 106 receives the property value setting / notification response from the communication processing unit 11 of the adapter 102. Here, when the electrical device 106 receives a response indicating that the property value setting / notification request has not been normally received, the electrical device 106 requests the adapter 102 for property value setting / notification again.

ステップS33において、プロパティ値設定部126は、プロパティ値記憶部132に記憶されているプロパティ値を設定する。すなわち、プロパティ値設定部126は、プロパティ値記憶部132に記憶されているプロパティ値を、電気機器106から送られたプロパティ値設定・通知要求に含まれるプロパティ値に書き換える。なお、プロパティ値設定部126は、電気機器106から送られたプロパティ値設定・通知要求に複数のプロパティ値が含まれている場合、当該複数のプロパティ値全てを書き換える。   In step S <b> 33, the property value setting unit 126 sets the property value stored in the property value storage unit 132. That is, the property value setting unit 126 rewrites the property value stored in the property value storage unit 132 with the property value included in the property value setting / notification request sent from the electrical device 106. When the property value setting / notification request sent from the electrical device 106 includes a plurality of property values, the property value setting unit 126 rewrites all of the plurality of property values.

ステップS34において、プロパティ値設定部126は、プロパティの動作設定として状態変化時のアナウンス指定があるか否かを判断する。ここで、オブジェクト動作設定部123によって状態変化時のアナウンス指定があらかじめ設定されている場合(ステップS34でYES)、ステップS35に移行し、状態変化時のアナウンス指定がない場合(ステップS34でNO)、状態変化時のプロパティ値をECHONETネットワークに送信する必要がないのでステップS39に移行する。   In step S34, the property value setting unit 126 determines whether or not there is an announcement designation at the time of a state change as the property operation setting. Here, when the announcement designation at the time of state change is set in advance by the object motion setting unit 123 (YES in step S34), the process proceeds to step S35, and when there is no announcement designation at the time of state change (NO in step S34). Since it is not necessary to transmit the property value at the time of the state change to the ECHONET network, the process proceeds to step S39.

ステップS35において、プロパティ値設定部126は、プロパティ値記憶部132に記憶されているプロパティ値が変化しているか否かを判断する。なお、プロパティ値設定部126は、複数のプロパティ値が書き換えられている場合、書き換えられた各プロパティ値について値が変化しているか否かを判断する。ここで、プロパティ値が変化していると判断されると(ステップS35でYES)、ステップS36に移行し、プロパティ値が変化していないと判断されると(ステップS35でNO)、電気機器の状態が変化していないのでアナウンスする必要がなく、ステップS39に移行する。   In step S35, the property value setting unit 126 determines whether or not the property value stored in the property value storage unit 132 has changed. When a plurality of property values are rewritten, the property value setting unit 126 determines whether or not the value has changed for each rewritten property value. If it is determined that the property value has changed (YES in step S35), the process proceeds to step S36. If it is determined that the property value has not changed (NO in step S35), the electrical device Since the state has not changed, there is no need to make an announcement, and the process proceeds to step S39.

ステップS36において、電文生成部127は、電気機器の状態が変化した1つのプロパティの値を1つの電文でECHONETネットワーク上に送信するための個別電文を生成する。電文生成部127は、電気機器の状態が変化し、かつ状態変化時のアナウンス指定があるプロパティが複数ある場合、各プロパティ毎に個別に電文を生成する。   In step S36, the message generation unit 127 generates an individual message for transmitting the value of one property whose state of the electrical device has changed to the ECHONET network with one message. When the state of the electrical device changes and there are a plurality of properties with an announcement designation at the time of the state change, the message generation unit 127 generates a message for each property individually.

ステップS37において、通信処理部11は、電文生成部127によって生成された個別電文をECHONETネットワーク上に送信する。   In step S37, the communication processing unit 11 transmits the individual telegram generated by the telegram generation unit 127 on the ECHONET network.

ステップS38において、通信処理部11は、電文生成部127によって生成された全ての個別電文をECHONETネットワーク上に送信したか否かを判断する。ここで、全ての個別電文を送信したと判断されると(ステップS38でYES)、ステップS39に移行し、全ての個別電文を送信していないと判断されると(ステップS38でNO)、ステップS37に戻り、電文生成部127によって生成された他の個別電文をECHONETネットワーク上に送信する。   In step S38, the communication processing unit 11 determines whether or not all the individual telegrams generated by the telegram generation unit 127 have been transmitted on the ECHONET network. If it is determined that all the individual messages have been transmitted (YES in step S38), the process proceeds to step S39, and if it is determined that all the individual messages have not been transmitted (NO in step S38), step Returning to S37, another individual telegram generated by the telegram generator 127 is transmitted on the ECHONET network.

ステップS39において、電文生成部127は、電気機器106からのプロパティ値設定・通知要求に含まれ、かつ各プロパティ値に付与されているフラグの有無を判断することによって、プロパティ値設定部126によって設定されたプロパティ値のうち、通知指定されているプロパティが少なくとも1つあるか否かを判断する。ここで、通知指定されているプロパティが少なくとも1つある場合(ステップS39でYES)、ステップS40に移行し、通知指定されているプロパティがない場合(ステップS39でNO)、ECHONETネットワーク上に通知する必要がないので処理を終了する。   In step S39, the message generation unit 127 sets the property value setting unit 126 by determining whether there is a flag included in the property value setting / notification request from the electric device 106 and attached to each property value. It is determined whether or not there is at least one property that is designated for notification among the specified property values. Here, when there is at least one property designated for notification (YES in step S39), the process proceeds to step S40, and when there is no property designated for notification (NO in step S39), notification is made on the ECHONET network. Since there is no need, the process is terminated.

ステップS40において、電文生成部127は、ECHONETネットワーク上に通知するフラグの数が1つであるか否かを判断する。すなわち、電文生成部127は、フラグが「1」に設定されているプロパティの数が1つであるか、2つ以上であるかを判断する。ここで、フラグの数が1つであると判断された場合(ステップS40でYES)、ステップS41に移行し、フラグの数が2つ以上であると判断された場合(ステップS40でNO)、ステップS42に移行する。   In step S40, the message generation unit 127 determines whether the number of flags to be notified on the ECHONET network is one. That is, the message generation unit 127 determines whether the number of properties for which the flag is set to “1” is one, or two or more. If it is determined that the number of flags is one (YES in step S40), the process proceeds to step S41, and if it is determined that the number of flags is two or more (NO in step S40), Control goes to step S42.

ステップS41において、電文生成部127は、通知指定のある1つのプロパティの値を1つの電文でECHONETネットワーク上に送信するための個別電文を生成する。ステップS42において、電文生成部127は、通知指定のある2つ以上のプロパティの値を1つの電文でECHONETネットワーク上に送信するための複合電文を生成する。なお、本実施形態における個別電文及び複合電文のフレーム構成は、暗号化されたセキュア電文形式及び暗号化されていない(非セキュア)平文電文形式のいずれの形式でもよい。   In step S41, the message generation unit 127 generates an individual message for transmitting the value of one property with a notification designation on the ECHONET network as one message. In step S42, the message generation unit 127 generates a composite message for transmitting two or more property values with notification designation on the ECHONET network as one message. Note that the frame structure of the individual message and the compound message in the present embodiment may be either an encrypted secure message format or an unencrypted (non-secure) plain message format.

ステップS43において、通信処理部11は、電文生成部127によって生成された個別電文又は複合電文をECHONETネットワーク上に送信する。   In step S43, the communication processing unit 11 transmits the individual message or the composite message generated by the message generation unit 127 on the ECHONET network.

このように、アダプタ102にはオブジェクトの属性を表すプロパティの値が記憶されており、電気機器106からのプロパティ設定・通知要求を受けて、記憶されているプロパティの値が設定されるので、電気機器106とネットワークとの間で直接プロパティの値を送受信するのではなく、ECHONETネットワークとアダプタ102との間でプロパティの値を送受信することができ、さらに電気機器106側の負荷を軽減することができる。   As described above, the adapter 102 stores the property value representing the attribute of the object. Upon receiving the property setting / notification request from the electric device 106, the stored property value is set. Instead of directly transmitting / receiving property values between the device 106 and the network, property values can be transmitted / received between the ECHONET network and the adapter 102, and the load on the electric device 106 side can be reduced. it can.

また、プロパティには、電気機器の状態が変化した場合に報知するか否かの動作があらかじめ設定されており、プロパティ値設定部126によって設定されたプロパティの値に変化があり、かつ電気機器の状態が変化した場合にECHONETネットワーク上に報知するプロパティである場合、電気機器側は状態の変化を通信装置に通知する際に、ネットワーク上へ送信するかどうかを判断することなく通知すれば、通信装置において判断し、当該プロパティの値を送信するための電文が生成され、生成された電文が送信される。   In addition, in the property, an operation of whether to notify when the state of the electrical device changes is set in advance, the property value set by the property value setting unit 126 has changed, and the property of the electrical device has changed. If the property is a property to be notified on the ECHONET network when the state is changed, the electric device side can notify the communication device when the state change is notified without determining whether to transmit to the network. A message for transmitting the value of the property determined by the device is generated, and the generated message is transmitted.

したがって、電気機器106は特にプロパティの値の変化による送信を意識しなくても、通信装置102が必要なプロパティの値を電文として構成し、ECHONETネットワーク上に送信することによって、ECHONETネットワーク上に設けられた他の電気機器107〜109に対して電気機器106の状態が変化したことを報知することができる。   Therefore, even if the electric device 106 is not particularly conscious of transmission due to a change in the property value, the communication device 102 configures the necessary property value as a telegram and transmits it on the ECHONET network. It is possible to notify the other electrical devices 107 to 109 that the state of the electrical device 106 has changed.

さらに、電気機器106からのプロパティ設定・通知要求には、電気機器の状態が変化した場合に報知するか否かの設定に関わらず、プロパティの値を通知する旨の通知指定情報(フラグ)が付与されており、このフラグに基づいてプロパティの値を送信するための電文を生成するか否かが判断される。   Further, the property setting / notification request from the electric device 106 includes notification designation information (flag) for notifying the property value regardless of the setting of whether to notify when the state of the electric device changes. Whether or not to generate a message for transmitting the property value is determined based on this flag.

したがって、通知指定情報を付与して設定要求を送ることによって、通信装置102において通知指定情報の有無を判断することによって状態の変化がなくても通知が必要と電気機器106が判断したプロパティの値の送信用の電文を生成することができ、ECHONETネットワーク上に送信することができる。   Therefore, by sending the setting request with the notification designation information, the value of the property determined by the electric device 106 that the notification is necessary even if there is no change in the status by determining whether the communication apparatus 102 has the notification designation information. Can be generated and transmitted over the ECHONET network.

さらにまた、通知指定情報が1つ存在する場合、1つのプロパティの値を1つの電文で送信するための個別電文が生成され、通知指定情報が2つ以上存在する場合、2つ以上のプロパティの値を1つの電文で送信するための複合電文が生成される。したがって、電気機器106からの個別及び複合電文の送信指定を簡単に行うことができる。   Furthermore, when one piece of notification designation information exists, an individual message for transmitting the value of one property with one message is generated, and when two or more pieces of notification designation information exist, two or more property A composite message for transmitting values in one message is generated. Therefore, it is possible to easily specify the transmission of individual and composite messages from the electric device 106.

なお、本実施の形態で説明した手段は、CPU(またはマイコン)、RAM、ROM、記憶・記録装置、I/Oなどを備えた電気・情報機器、コンピュータ、サーバー等のハードリソースを協働させるプログラムの形態で実施してもよい。プログラムの形態であれば、磁気メディアや光メディアなどの記録媒体に記録したりインターネットなどの通信回線を用いて配信することで新しい機能の配布・更新やそのインストール作業が簡単にできる。   Note that the means described in this embodiment causes hardware resources such as a CPU (or microcomputer), a RAM, a ROM, a storage / recording device, an electrical / information device including an I / O, a computer, a server, and the like to cooperate. You may implement with the form of a program. In the form of a program, new functions can be easily distributed / updated and installed by recording them on a recording medium such as magnetic media or optical media or distributing them via a communication line such as the Internet.

本発明に係る通信装置、通信制御方法及び通信制御プログラムは、電気機器側の負荷を軽減することができ、電気機器と所定のネットワークとを相互に通信可能に接続する通信装置、通信制御方法及び通信制御プログラム等として有用である。   A communication device, a communication control method, and a communication control program according to the present invention can reduce a load on an electric device side, and connect the electric device and a predetermined network so that they can communicate with each other. It is useful as a communication control program.

11 通信処理部
12 制御部
13 記憶部
101 コントローラ
102〜105 アダプタ
106〜109 電気機器
110 宅内通信回線
121 IF情報認識部
122 オブジェクト構成確認部
123 オブジェクト動作設定部
124 ネットワーク参入処理部
125 オブジェクト構成追加設定部
131 機器オブジェクト記憶部
200 サーバ
201 通信処理部
300 宅外通信回線
DESCRIPTION OF SYMBOLS 11 Communication processing part 12 Control part 13 Memory | storage part 101 Controller 102-105 Adapter 106-109 Electric equipment 110 In-home communication line 121 IF information recognition part 122 Object structure confirmation part 123 Object operation setting part 124 Network entry processing part 125 Object structure addition setting Unit 131 Device object storage unit 200 Server 201 Communication processing unit 300 Remote communication line

Claims (6)

電気機器と所定のネットワークとを相互に通信可能に接続する通信装置であって、
接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶手段と、
前記オブジェクト構成情報記憶手段に記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認手段と、
前記確認手段によって、オブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続手段と、
前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶手段と、
前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶手段に記憶されているプロパティの値を設定するプロパティ値設定手段とを備えることを特徴とする通信装置。
A communication device that connects an electrical device and a predetermined network so that they can communicate with each other.
Object configuration information storage means for storing object configuration information of the electrical equipment to be connected;
Confirmation means for confirming whether or not the object configuration information stored in the object configuration information storage means matches the object configuration information acquired from the connected electrical device;
When the confirmation unit confirms that the object configuration information matches, a connection unit that connects the electrical device and the network so as to communicate with each other
Property value storage means for storing a property value representing the attribute of the object;
A communication apparatus comprising: a property value setting unit that receives a property value setting request from the electric device and sets a property value stored in a property value storage unit.
前記プロパティには、電気機器の状態が変化した場合に報知するか否かがあらかじめ設定されており、
前記プロパティ値設定手段によって設定されたプロパティの値に変化があり、かつ電気機器の状態が変化した場合に報知するプロパティである場合、当該プロパティの値を送信するための電文を生成する電文生成手段と、
前記電文生成手段によって生成された電文を送信する送信手段とをさらに備えることを特徴とする請求項1記載の通信装置。
In the property, whether or not to notify when the state of the electrical equipment changes is set in advance,
If the property value set by the property value setting means is changed, and if the property is a property to be notified when the state of the electrical device is changed, a message generation means for generating a message for transmitting the property value When,
The communication apparatus according to claim 1, further comprising: a transmission unit that transmits a message generated by the message generation unit.
前記設定要求には、電気機器の状態が変化した場合に報知するか否かの設定に関わらず、前記プロパティの値を通知する旨の通知指定情報が付与されており、
前記電文生成手段は、前記通知指定情報に基づいて前記プロパティの値を送信するための電文を生成するか否かを判断することを特徴とする請求項2記載の通信装置。
The setting request is given notification designation information for notifying the value of the property regardless of the setting of whether to notify when the state of the electrical device changes,
3. The communication apparatus according to claim 2, wherein the message generation unit determines whether to generate a message for transmitting the property value based on the notification designation information.
前記電文生成手段は、前記通知指定情報が1つ存在する場合、1つのプロパティの値を1つの電文で送信するための個別電文を生成し、前記通知指定情報が2つ以上存在する場合、2つ以上のプロパティの値を1つの電文で送信するための複合電文を生成することを特徴とする請求項3記載の通信装置。   The message generation means generates an individual message for transmitting one property value by one message when one piece of the notification designation information exists, and when two or more pieces of the notification designation information exist, 2 4. The communication apparatus according to claim 3, wherein a composite message for transmitting one or more property values in one message is generated. 通信装置を用いて電気機器と所定のネットワークとを相互に通信可能に接続するための通信制御方法であって、
前記通信装置が、接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶ステップと、
前記通信装置が、前記オブジェクト構成情報記憶ステップにおいて記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認ステップと、
前記通信装置が、前記確認ステップにおいてオブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続ステップと、
前記通信装置が、前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶ステップと、
前記通信装置が、前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶ステップにおいて記憶されているプロパティの値を設定するプロパティ値設定ステップとを含むことを特徴とする通信制御方法。
A communication control method for connecting an electrical device and a predetermined network so that they can communicate with each other using a communication device,
An object configuration information storage step in which the communication device stores object configuration information of an electrical device to be connected;
A step of confirming whether or not the object configuration information stored in the object configuration information storage step matches the object configuration information acquired from the connected electrical device;
When the communication device confirms that the object configuration information matches in the confirmation step, a connection step of connecting the electrical device and the network so that they can communicate with each other;
A property value storing step in which the communication device stores a property value representing an attribute of the object;
A communication control method, comprising: a property value setting step in which the communication device receives a property value setting request from the electric device and sets the property value stored in the property value storing step.
電気機器と所定のネットワークとを相互に通信可能に接続する通信装置の通信制御プログラムであって、
接続される電気機器のオブジェクト構成情報を記憶するオブジェクト構成情報記憶手段と、
前記オブジェクト構成情報記憶手段に記憶されているオブジェクト構成情報と、接続されている電気機器から取得したオブジェクト構成情報とが一致するか否かを確認する確認手段と、
前記確認手段によって、オブジェクト構成情報が一致すると確認された場合、前記電気機器と前記ネットワークとを相互に通信可能に接続する接続手段と、
前記オブジェクトの属性を表すプロパティの値を記憶するプロパティ値記憶手段と、
前記電気機器からプロパティの値の設定要求を受けて、プロパティ値記憶手段に記憶されているプロパティの値を設定するプロパティ値設定手段として前記通信装置を機能させることを特徴とする通信制御プログラム。
A communication control program for a communication device that connects an electrical device and a predetermined network so that they can communicate with each other.
Object configuration information storage means for storing object configuration information of the electrical equipment to be connected;
Confirmation means for confirming whether or not the object configuration information stored in the object configuration information storage means matches the object configuration information acquired from the connected electrical device;
When the confirmation unit confirms that the object configuration information matches, a connection unit that connects the electrical device and the network so as to communicate with each other
Property value storage means for storing a property value representing the attribute of the object;
A communication control program that receives a property value setting request from the electrical device and causes the communication apparatus to function as property value setting means for setting a property value stored in a property value storage means.
JP2009161438A 2009-07-08 2009-07-08 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM Expired - Fee Related JP4955736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009161438A JP4955736B2 (en) 2009-07-08 2009-07-08 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009161438A JP4955736B2 (en) 2009-07-08 2009-07-08 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003423527A Division JP4404619B2 (en) 2003-12-19 2003-12-19 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2009225481A true JP2009225481A (en) 2009-10-01
JP4955736B2 JP4955736B2 (en) 2012-06-20

Family

ID=41241686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009161438A Expired - Fee Related JP4955736B2 (en) 2009-07-08 2009-07-08 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

Country Status (1)

Country Link
JP (1) JP4955736B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9560167B2 (en) 2014-03-06 2017-01-31 Sharp Kabushiki Kaisha Network system, communication method, server, and terminal
JP2018107684A (en) * 2016-12-27 2018-07-05 富士通株式会社 Communication apparatus, communication system, device, program and communication control method
US11050583B2 (en) 2018-04-12 2021-06-29 International Laboratory Corporation Device control apparatus, device control system, device control method, and recording medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013384A (en) * 1998-06-19 2000-01-14 Sekisui Chem Co Ltd Network terminal registration system
JP2002073440A (en) * 2000-09-01 2002-03-12 Ricoh Co Ltd Image formation device management system, communication control device used therefor and identification information management method
JP2003230184A (en) * 2001-11-29 2003-08-15 Matsushita Electric Ind Co Ltd Appliance control system and method therefor using mobile communication terminal, and home gateway
JP2003284164A (en) * 2002-03-27 2003-10-03 Mitsubishi Electric Corp Apparatus communication control adaptor and system
JP2004159280A (en) * 2002-03-13 2004-06-03 Matsushita Electric Ind Co Ltd Data communication method
JP2005073055A (en) * 2003-08-26 2005-03-17 Sharp Corp Network adapter and household electrical appliance connectable to network adapter
JP2005184043A (en) * 2003-12-15 2005-07-07 Sanyo Electric Co Ltd Adaptor device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013384A (en) * 1998-06-19 2000-01-14 Sekisui Chem Co Ltd Network terminal registration system
JP2002073440A (en) * 2000-09-01 2002-03-12 Ricoh Co Ltd Image formation device management system, communication control device used therefor and identification information management method
JP2003230184A (en) * 2001-11-29 2003-08-15 Matsushita Electric Ind Co Ltd Appliance control system and method therefor using mobile communication terminal, and home gateway
JP2004159280A (en) * 2002-03-13 2004-06-03 Matsushita Electric Ind Co Ltd Data communication method
JP2003284164A (en) * 2002-03-27 2003-10-03 Mitsubishi Electric Corp Apparatus communication control adaptor and system
JP2005073055A (en) * 2003-08-26 2005-03-17 Sharp Corp Network adapter and household electrical appliance connectable to network adapter
JP2005184043A (en) * 2003-12-15 2005-07-07 Sanyo Electric Co Ltd Adaptor device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9560167B2 (en) 2014-03-06 2017-01-31 Sharp Kabushiki Kaisha Network system, communication method, server, and terminal
JP2018107684A (en) * 2016-12-27 2018-07-05 富士通株式会社 Communication apparatus, communication system, device, program and communication control method
US11050583B2 (en) 2018-04-12 2021-06-29 International Laboratory Corporation Device control apparatus, device control system, device control method, and recording medium

Also Published As

Publication number Publication date
JP4955736B2 (en) 2012-06-20

Similar Documents

Publication Publication Date Title
US20240089719A1 (en) System, Method and Apparatus for Building Operations Management
US8502640B2 (en) System and method for transmitting and receiving information on a neighborhood area network
US20110314163A1 (en) Wireless communication network for smart appliances
US20080027566A1 (en) Home Network System
KR20050014628A (en) Home network system and its configuration system
CN108418606B (en) Data sending method and device and multi-split system
JP3757669B2 (en) How to set up a distributed system
CN105263141A (en) Household electrical appliance and control method thereof
US8484323B2 (en) Network system connected with multiple master devices and method for operating the same
JP5974931B2 (en) Communication device
JPWO2006095593A1 (en) CONTROL DEVICE, DEVICE CONTROL SYSTEM, DEVICE CONTROL PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DEVICE CONTROL PROGRAM, AND SETTING CONFIRMATION DATA GENERATION METHOD
JP4955736B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP4404619B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP5774178B2 (en) Communication adapter, communication method, and program
JP6425372B2 (en) Communication apparatus and communication method
JP4515489B2 (en) Information management apparatus and information management method
WO2006134650A1 (en) Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program
JP2018502465A (en) Data transmission between at least one secure producer and at least one secure consumer
JP6776164B2 (en) Management equipment, management methods and programs
WO2006030697A1 (en) Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program
JP2006319906A (en) Power line carrier communication system
JP2012182852A (en) Remote control device
JP7068913B2 (en) Equipment control devices, communication systems, communication methods, and programs
CN108701095B (en) Management system and management method
KR20040095741A (en) Message processor, apparatus controlling device, home appliance, program for message processor, microcomputer system, program for microcomputer system, and program product

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111214

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120315

R150 Certificate of patent or registration of utility model

Ref document number: 4955736

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

R154 Certificate of patent or utility model (reissue)

Free format text: JAPANESE INTERMEDIATE CODE: R154

R154 Certificate of patent or utility model (reissue)

Free format text: JAPANESE INTERMEDIATE CODE: R154

LAPS Cancellation because of no payment of annual fees