WO2017090140A1 - Home device control apparatus, control system, home device control method, and program - Google Patents

Home device control apparatus, control system, home device control method, and program Download PDF

Info

Publication number
WO2017090140A1
WO2017090140A1 PCT/JP2015/083166 JP2015083166W WO2017090140A1 WO 2017090140 A1 WO2017090140 A1 WO 2017090140A1 JP 2015083166 W JP2015083166 W JP 2015083166W WO 2017090140 A1 WO2017090140 A1 WO 2017090140A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
home
controller
information
contention
Prior art date
Application number
PCT/JP2015/083166
Other languages
French (fr)
Japanese (ja)
Inventor
高田 佳典
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2015/083166 priority Critical patent/WO2017090140A1/en
Publication of WO2017090140A1 publication Critical patent/WO2017090140A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the present invention relates to a home device control apparatus, a control system, a home device control method, and a program for controlling a home device connected to a home network.
  • Patent Document 1 when a status information report request from a controller to a control target device is implemented, a function is implemented to prevent the status information report request from being received from another controller, and control conflicts between controllers are controlled. Yes. This realizes competitive control related to control between controllers by restricting control from a device other than the controller that transmitted the report request earlier in time on the control target device side.
  • the control target device side determines whether to accept control from the controller, and performs competition control between controllers.
  • the controller that previously accessed the control target device can have control authority over the device, so that control from the controller that is accessed later can be rejected and contention for control between the controllers can be prevented.
  • the conventional method has a competition control function on the device side, there are some problems as shown below. The biggest problem is that it is necessary to implement a competition control function on the device side, which increases the device cost.
  • the in-home devices to be controlled are realized by the minimum hardware necessary for cost reduction, and the addition of functions directly leads to the cost increase of the devices.
  • the present invention solves such a problem, and an object of the present invention is to provide a home device control apparatus capable of performing competition control in the entire home network system.
  • the home appliance control apparatus is: A device control unit for controlling home devices existing in the home network; A contention control information storage unit that stores information on the range of responsibility of the in-home device that is controlled by the device control unit; Based on the information stored in the contention control information storage unit, in order to mediate the range of home devices to be controlled with other control devices existing in the home network, information related to the assigned range is transmitted and received.
  • a contention control unit that determines whether or not the own device is a control target for each home device existing in the home network; It is characterized by comprising.
  • a home device capable of avoiding contention of control target devices among a plurality of controllers based on assigned area information set in the own device.
  • a control device can be obtained.
  • FIG. FIG. 1 shows the configuration of the entire system using the home appliance control apparatus according to Embodiment 1 of the present invention.
  • 1 is a home network
  • 2 and 3 are controllers which are home appliance control devices.
  • Two controllers, a controller 2 and a controller 3 are connected to a home network 1 installed in the home.
  • the home network 1 is connected to household devices that are controlled by the controller.
  • the refrigerator 4, the ventilation fan 5, the IH (Induction Heating) cooking heater 6, the air conditioner 7, and the television (TV) 8 are used. Is connected.
  • the operation will be described based on an example in which the above five types of home devices are connected to the home network as control target devices.
  • the device type of the control target device targeted by the present invention is not limited to this. There is no limitation on the number of devices and the total number of devices connected to the home network 1.
  • FIG. 2 shows the hardware configuration of the controller 2 according to the present invention.
  • the controller 2 is used by a network interface (I / F) for connecting to a network, a CPU (Central Processing Unit) that implements a processing function for processing, a program that realizes each function for processing, and each function A storage area for storing information and a memory for calculating data when each function performs processing by expanding programs and information stored in the storage area.
  • I / F network interface
  • CPU Central Processing Unit
  • FIG. 3 shows a functional block configuration of the controller 2 according to the present invention.
  • the functional block configurations of the controller 2 and the controller 3 are the same.
  • An OS (Operating System) 201 is a controller operation system
  • a communication function 202 is a communication function for communicating with an external device
  • a controller function 203 constituting a communication unit is a function for controlling an external control target device. And constitutes a device control unit.
  • the contention control function 204 is a function that restricts the control target devices of its own device so that the control target devices do not compete between controllers, and constitutes a contention control unit.
  • a competition control database (DB) 205 is a database in which information on a responsible area, which is a responsible area of the own device, and a relationship between the responsible area and the home appliance type are defined, and constitutes a competition control information storage unit.
  • the controller function 203 exists in the home network 1 and controls home devices that are controlled by the own device.
  • FIG. 4 shows the setting status of the conflict control database 205 of the controller 2 which is the controller in charge of kitchen
  • FIG. 5 shows the setting status of the conflict control database 205 of the controller 3 which is the controller in charge of living.
  • the area and compatible device settings must be unified by the controllers in the same network.
  • the contention control database 205 stores information on a range in which the own device is in charge of control by the controller function 203.
  • FIG. 6 shows information for contention control handled by the contention control functions 204 of the controller 2 and the controller 3 according to the present invention.
  • information is transmitted between the competition control functions 204 of the controllers using a data format defined by the ECHONET Lite (Echonet Write) protocol.
  • ECHONET Lite Echonet Write
  • information transmission may be performed using data other than data based on this format.
  • the ECHONET Lite protocol frame (ECHONET Lite frame) 9 handled by the contention control function 204 includes an ECHONET Lite message header 1 (EHD1), an ECHONET Lite message header 2 (EHD2), a transaction ID (TID), and ECHONET Lite data (EDATA). Consists of.
  • the ECHONET Lite data 901 includes a source ECHONET Lite object specification (SEOJ), a destination ECHONETC Lite object specification (DEOJ), an ECHONET Lite service (ESV), the number of processing properties (OPC), multiple ECHONET Lite properties (EPC), Consists of EDT byte count (PDC) and property value data (EDT).
  • the contention control in this embodiment uses the ECHONET Lite frame transmission source ECHONET Lite object designation (SEOJ) 902.
  • the transmission source ECHONET Lite object specification (SEOJ) 902 includes a class group code, a class code, and an instance code. Since the device that transmits this information is a controller, the class group code is set to 0x05 and the class code is specified to be 0xFF to indicate that it is a controller. In addition, by taking the remaining instance code as the area code, the controller that transmits this data is in charge of the controller itself, and uses this instance code to insist on other controllers.
  • class group codes, class codes, and instance codes have standard values for other purposes, but the currently reserved values are used for this purpose. Assumes that. For this reason, values are defined from the reserve. The above specified values may be other values instead of these values, but it is desirable to select from those other than those currently defined for the purpose of use in the ECHONET Lite protocol.
  • FIG. 7 shows an operation sequence in the case where the controller 3 and the TV 8 are later installed in a house in which the controller 2, the refrigerator 4, the ventilation fan 5, the IH cooking heater 6, and the air conditioner 7 are installed. Yes.
  • the contention control function 204 of the controller 2 is applied to all devices connected in the same network via the communication function 202 at the timing when the controller 2 is activated or the controller 2 is connected to the network.
  • Property value read 1001 is transmitted. Since the controller 2 is a controller in charge of the kitchen, this property value reading 1001 is “0x05” for the class group code, “0xFF” for the class code, and “kitchen” for the instance code in the field of the source ECHONET object designation 902 shown in FIG. Are set respectively.
  • Each home electric appliance (refrigerator 4, ventilation fan 5, IH cooking heater 6, air conditioner 7) that has received the property value read 1001 sends a property value response 1002 to 1005 in which the properties of the ECHONET object of the function corresponding to each device are set. 2 is transmitted.
  • the controller 2 receives the property value responses 1002 to 1005, so that it can be seen that the refrigerator 4, the ventilation fan 5, the IH cooking heater 6 and the air conditioner 7 exist in the network.
  • the contention control function 204 of the controller 3 sets the communication function 202 to all devices connected in the same network at the timing when the controller 3 is activated or the controller 3 is connected to the network. Via this, a property value read 1006 is transmitted. Since the controller 3 is a living controller, this property value read 1006 sets the class group code 0x05, the class code 0xFF, and the instance code “living” in the field of the source ECHONET object designation shown in FIG. The code shown is set.
  • Each home appliance (controller 2, refrigerator 4, ventilation fan 5, IH cooking heater 6, air conditioner 7, TV 8) that has received the property value read 1006 has a property value response 1007 in which the properties of the ECHONET object of the function supported by each device are set. ⁇ 1012 are transmitted to the controller 2 and the controller 3.
  • the controller 2 that has received the property value read 1006 from the controller 3 sets the class group code 0x05, the class code 0xFF, and the instance code “living room” in the field of the received property value read 1006 for the source ECHONET object designation. ”Is set, the controller 3 that has newly entered the network knows that it is the controller in charge of the living room.
  • the source ECHONET object designation field is set with a class group code of 0x05, a class code of 0xFF, and an instance code of “kitchen”. Therefore, the controller 3 knows that the controller 2 is a controller in charge of the kitchen that already exists in the network.
  • This operation sequence allows the controller 2 and the controller 3 to recognize each other that another controller exists in the network and the partner's assigned area.
  • FIG. 8 shows a processing flow when the controller receives a property value read 1006 from another controller.
  • the controller that has received the read property value performs contention control of the control target between controllers based on this processing flow by the contention control function 204 in the controller.
  • the controller that has received the property value read 1006 first confirms the area in charge of the transmission source controller from the instance code information of the transmission source ECHONET object designation 902 in the process of confirming (1101) the area in charge of the transmission source controller.
  • the own device and the assigned area are different (1102), and if different, the home appliance for the assigned controller area of the transmission source controller of property value reading 1006 is removed from the control range of the own device (1103). If they are the same, it is considered that a controller in charge of the same area has entered after the device itself, and no particular processing is performed in order to continue control of home appliances managed by the device itself. Thereafter, the information on the transmission source controller and the information on the area in charge are stored (1104), and the property value response is transmitted to the transmission source (1105).
  • the home apparatus controls the home appliances that will enter the network in the future, or from the control range in order to pass the control right to other controllers. It will be possible to decide whether to remove.
  • FIG. 9 is a state transition diagram showing the contents of processing when the controller receives a property value response 1012 from another controller in response to the property value read 1006 transmitted by the controller.
  • the horizontal axis of the state transition indicates the state before receiving the property value response, and the vertical axis indicates the received property value response information.
  • the received property value response information if the received response is from the controller and is the controller in charge of the same area as the own device (1204), the received response is from the controller and is in charge of an area in charge different from the own device. There is a case of being a controller (1205) and a case where the received response is from other than the controller (1206).
  • the controller's contention control function 204 If the controller's contention control function 204 has not received a response from an existing controller (1201), it receives the response from a controller in the same area as its own device (1204), and stores the received controller information and assigned area information. Then, the home appliance managed by the competition control database 205 is removed from the control range of the own device (1207). If the response from the existing controller has not been received (1201), when the response is received from the controller in an area different from the own device (1205), the received controller information and assigned area information are stored in the contention control database 205 (1208). Process. When the response from the existing controller is not received (1201), when the response is received from other than the controller (1206), the home appliance information is stored in the competition control database 205 as the control range of the own device (1209). .
  • the controller's contention control function 204 has already received a response from the existing controller and the controller is the controller in charge of the same area as that of its own device (1202), it receives a response from the controller in the same area as that of its own device (1204) ), Or when a response is received from a controller in an area different from that of the own device (1205), the received controller information and assigned area information are stored in the conflict control database 205 (1210). If the response from the existing controller has been received and the controller is the controller in charge of the same area as the own device (1202), when the received response is from other than the controller (1206), the home appliance information is sent to the own device. (1211) is stored in the contention control database 205 in a state outside the control range.
  • the controller's contention control function 204 When the controller's contention control function 204 has received a response from the existing controller and the controller is a controller in charge of an area different from the own device (1203), the controller's conflict control function 204 receives a response from the controller in the same area as the own device (1204). ), The received controller information and assigned area information are stored, and the home appliance managed by the contention control database 205 is removed from the control range of its own device (1212).
  • the controller is a controller in charge of an area different from the own device (1203
  • the received controller information And the processing for saving the assigned area information in the contention control database 205 (1213).
  • the home appliance information is obtained from the own device.
  • a process of storing in the contention control database 205 as a control range (1214) is performed.
  • the contention control function 204 of the controller arbitrates the range of home devices to be controlled with other controllers existing in the home network 1 based on the information stored in the contention control database 205. For this purpose, information on the assigned range is transmitted and received, and it is determined whether or not the own device is a control target for each in-home device existing in the home network 1.
  • the conflict between controlled devices between the controller 2 that has entered the home network 1 and the controller 3 that has entered the home network 1 later is determined based on the area information of its own device. Will be able to.
  • Embodiment 2 the configuration diagram of the entire system using the home appliance control device, the hardware configuration diagram of the controller that is the home appliance control device, and the functional block configuration diagram of the controller are shown in the first embodiment, respectively. Same as FIG. 1, FIG. 2, FIG.
  • FIG. 10 shows the setting status of the competition control database 205 of the controller 2 which is the controller in charge of kitchen in Embodiment 2 of the present invention
  • FIG. 11 shows the setting of the competition control database 205 of the controller 3 which is the controller in charge of living.
  • the setting status is shown. It is assumed that the setting of the area and the corresponding device is unified between controllers in the same network.
  • priority information is newly defined in the database.
  • the contention control database 205 stores information on priority between the own device and another control device in addition to information on a range in which the own device is in charge of control by the controller function 203.
  • FIG. 12 shows information for contention control handled by the contention control function 204 of each of the controller 2 and the controller 3 according to the second embodiment of the present invention.
  • information is transmitted between the contention control functions 204 of each controller using a data format defined by the ECHONET Lite protocol. In actual application, information transmission may be performed using data other than data based on this format.
  • the ECHONET Lite protocol frame (ECHONET Lite frame) 9 handled by the contention control function 204 includes an ECHONET Lite message header 1 (EHD1), an ECHONET Lite message header 2 (EHD2), a transaction ID (TID), and ECHONET Lite data (EDATA). Consists of.
  • the ECHONET Lite data 901 includes a source ECHONET Lite object specification (SEOJ), a destination ECHONETC Lite object specification (DEOJ), an ECHONET Lite service (ESV), the number of processing properties (OPC), multiple ECHONET Lite properties (EPC), Consists of EDT byte count (PDC) and property value data (EDT).
  • the source ECHONET Lite object specification (SEOJ) 902 of the ECHONET Lite frame is used.
  • the transmission source ECHONET Lite object specification (SEOJ) 902 includes a class group code, a class code, and an instance code. Since the device that transmits this information is a controller, the class group code is set to 0x05 and the class code is specified to be 0xFF to indicate that it is a controller. By defining the remaining instance codes based on the area code and priority information, the controller sending this data is responsible for the area that it is responsible for and the priority of its own device. It becomes possible to agree.
  • FIG. 13 shows a processing flow when the controller receives a property value read 1006 from another controller.
  • the controller that has received the read property value performs contention control of the control target between controllers based on this processing flow by the contention control function 204 in the controller.
  • the controller that received the property value read first checks the area in charge of the transmission source controller from the instance code information of the transmission source ECHONET object specification 902 in the process of checking the area and priority of the transmission source controller (1501). To do.
  • the property value reading source controller The home appliance for the assigned area is removed from the control range of its own device (1503). If they are the same, it is considered that a low-priority controller in charge of the same area has entered after the device itself, and no particular processing is performed in order to continue control of home appliances managed by the device itself. Thereafter, the information of the transmission source controller and the information of the area in charge are saved (1504), and the property value response is transmitted to the transmission source (1505).
  • the contention control function 204 of the controller determines the information on the assigned range and the priority in order to mediate the range of the home device to be controlled with other control devices existing in the home network 1. Information is transmitted and received, and it is determined whether or not the own device is a control target for each home device in the home network 1.
  • the already operating controller recognizes the assigned scope and priority of the newly entered controller, and transfers the control target device to the newly entered controller. It becomes possible.
  • the home apparatus controls the home appliances that will enter the network in the future, or from the control range in order to pass control rights to other controllers. It will be possible to decide whether to remove.
  • the controller 3 receives a property value response, it becomes possible to receive priority information. Therefore, both the newly entered controller and the controller that previously existed in the network control contention based on the priority. Can be realized.
  • Embodiment 2 of the present invention it is possible to avoid contention of control target devices among a plurality of controllers that have entered the home network, and priority among a plurality of controllers.
  • the effect that the competition control based on the above can be realized is obtained.
  • the home device control device can be applied as a home device control device for controlling home devices connected in a home network.
  • ECHONET Lite frame 1 home network, 2, 3 controller, 4 refrigerator, 5 ventilation fan, 6 IH cooking heater, 7 air conditioner, 8 TV, 9 ECHONET Lite frame, 201 OS, 202 communication function, 203 controller function, 204 contention control function, 205 contention control DB , 901 ECHONET Lite data, 902 Sending ECHONET Lite object designation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)

Abstract

In order to obtain a home device control apparatus capable of avoiding competition of devices to be controlled between a controller that has already entered a home network and a controller that enters the home network later, the present invention is provided with: a device control unit for controlling a home device present within the home network; a competition control information storage unit for storing information on a range of responsibility of the home device of which the own apparatus is responsible for control by the device control unit; and a competition control unit that, in order to arbitrate the range of home devices to be controlled between other control apparatuses present in the home network on the basis of the information stored by the competition control information storage unit, sends and receives information relating to the range of responsibility, and determines whether or not each home device present in the home network is to be controlled by the own apparatus.

Description

宅内機器制御装置、制御システム、宅内機器制御方法、およびプログラムHome device control apparatus, control system, home device control method, and program
 本発明は、ホームネットワークに接続された宅内機器を制御するための宅内機器制御装置、制御システム、宅内機器制御方法、およびプログラムに関するものである。 The present invention relates to a home device control apparatus, a control system, a home device control method, and a program for controlling a home device connected to a home network.
 デジタルネットワーク技術の進歩により、通信デバイスが安価で小型に実現可能となったため、今日ではさまざまな種類の機器がネットワークに接続されて動作するようになっている。家庭内に設置される電化製品についても、装置単体ではなく装置外部の情報と連動して動作するための通信機能を備えるものが多くなった。このように電化製品のネットワーク化の流れを受けて、現在では宅内の電化製品をコントローラと呼ばれる制御機器から制御することで、ユーザに快適な住環境を提供しながら、エネルギー消費量を抑制するスマートハウスと呼ばれる、宅内制御システムを構築するための研究開発が盛んになっている。環境問題への意識の高まりや、電力不足に対する懸念が、このようなエネルギー消費抑制を目的としたスマートハウスに対する研究開発を加速化させている。 Because of the advancement of digital network technology, communication devices can be realized at low cost and in small size, and today, various types of devices are connected to the network and operate. Many appliances installed in the home are equipped with a communication function for operating in conjunction with information outside the device rather than the device alone. In response to the trend of networking electrical appliances in this way, it is now smart to control energy consumption while providing a comfortable living environment for users by controlling home appliances from control devices called controllers. Research and development for building an in-home control system called a house has become popular. Increasing awareness of environmental issues and concerns about power shortages are accelerating R & D on smart houses aimed at reducing energy consumption.
 スマートハウスを実現するシステムでは、家電機器の情報を収集し、家電機器を制御するための専用コントローラを宅内に配置し、家電の制御をコントローラから一元的に制御する方法が一般的である。一方で、スマートフォンやタブレットの高性能化や普及により、コントローラ機能をスマートフォン等で動作させることも可能になっており、固定的に設置されるもの、暫定的に設置されるものを含め、宅内に複数のコントローラが存在するような環境が生まれている。ホームネットワークにおける複数のコントローラが共存する環境に関する検討は、従来からAV(Audio Visual)機器のネットワークにおいて、各機器間の連携に関連する競合動作を制御するために、特許文献1に示されているような競合制御方式の検討が行われている。 In a system that realizes a smart house, it is common to collect information on home appliances, place a dedicated controller for controlling the home appliances in the house, and control the home appliances centrally from the controller. On the other hand, with the high performance and widespread use of smartphones and tablets, it is also possible to operate the controller function on smartphones, including those that are permanently installed and those that are provisionally installed. An environment where multiple controllers exist is born. A study on an environment in which a plurality of controllers in a home network coexist is shown in Patent Document 1 in order to control a competitive operation related to cooperation between devices in a network of AV (Audio Visual) devices. Such competition control methods are being studied.
 特許文献1では、コントローラから制御対象機器へ状態情報の報告要求を実施すると、他のコントローラから状態情報の報告要求を受け付けないようにする機能を実装し、コントローラ間の制御の競合を制御している。これは時間的に先に報告要求を送信したコントローラ以外からの制御を、制御対象機器側で制限することで、コントローラ間の制御に関する競合制御を実現している。 In Patent Document 1, when a status information report request from a controller to a control target device is implemented, a function is implemented to prevent the status information report request from being received from another controller, and control conflicts between controllers are controlled. Yes. This realizes competitive control related to control between controllers by restricting control from a device other than the controller that transmitted the report request earlier in time on the control target device side.
特開平04-360496号公報Japanese Patent Laid-Open No. 04-36096
 特許文献1に示すように、従来の方式では制御対象機器側でコントローラからの制御を受け付けるかどうかの判断を行い、コントローラ間の競合制御を行っていた。これにより制御対象機器に対して先にアクセスしたコントローラが、機器に対する制御権を持つことができることにより、後からアクセスするコントローラからの制御を拒否し、コントローラ間の制御に対する競合を防止することができる。
 しかし、従来の方式では機器側で競合制御の機能を持つため、下記に示す通りいくつかの課題がある。もっとも大きな課題は、機器側に競合制御の機能を実装することが必要となり、機器コストが増大することにある。制御対象となる宅内機器は、コスト削減のため必要最低限なハードウェアにより実現されており、機能追加が機器のコストアップに直結する。単機能な宅内機器におけるハードウェアリソースの制約は厳しく、従来方式で宅内機器全てに競合制御機能を追加することは、システム全体として大きなコストアップにつながってしまう。また、機器側の機能により競合制御を可能とできるか不可能であるかが決まるため、複数のメーカーの様々な機器が接続される宅内のネットワークにおいては、システム全体で競合制御を行うことができないという課題がある。
As shown in Patent Document 1, in the conventional method, the control target device side determines whether to accept control from the controller, and performs competition control between controllers. As a result, the controller that previously accessed the control target device can have control authority over the device, so that control from the controller that is accessed later can be rejected and contention for control between the controllers can be prevented. .
However, since the conventional method has a competition control function on the device side, there are some problems as shown below. The biggest problem is that it is necessary to implement a competition control function on the device side, which increases the device cost. The in-home devices to be controlled are realized by the minimum hardware necessary for cost reduction, and the addition of functions directly leads to the cost increase of the devices. Hardware resources in a single-function home device are severely limited, and adding a contention control function to all home devices in the conventional method leads to a large cost increase for the entire system. In addition, since it is determined whether or not competitive control is possible depending on the function on the device side, in a home network to which various devices of multiple manufacturers are connected, competitive control cannot be performed in the entire system. There is a problem.
 本発明は、係る課題を解決するもので有り、ホームネットワークシステム全体において競合制御を行うことができる宅内機器制御装置を得ることを目的とする。 The present invention solves such a problem, and an object of the present invention is to provide a home device control apparatus capable of performing competition control in the entire home network system.
 この発明に係る宅内機器制御装置は、
 ホームネットワーク内に存在する宅内機器を制御する機器制御部と、
 自装置が上記機器制御部により制御を担当する宅内機器の担当範囲の情報を記憶する競合制御情報記憶部と、
 上記競合制御情報記憶部に記憶された情報に基づき、上記ホームネットワーク内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報を送受し、上記ホームネットワーク内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う競合制御部と、
 を備えたことを特徴とするものである。
The home appliance control apparatus according to the present invention is:
A device control unit for controlling home devices existing in the home network;
A contention control information storage unit that stores information on the range of responsibility of the in-home device that is controlled by the device control unit;
Based on the information stored in the contention control information storage unit, in order to mediate the range of home devices to be controlled with other control devices existing in the home network, information related to the assigned range is transmitted and received. A contention control unit that determines whether or not the own device is a control target for each home device existing in the home network;
It is characterized by comprising.
 この発明によれば、一つのホームネットワークに複数のコントローラが存在する環境において、複数コントローラ間で、自装置に設定された担当エリア情報に基づき、制御対象機器の競合を回避することができる宅内機器制御装置を得ることができる。 According to the present invention, in an environment where a plurality of controllers exist in one home network, a home device capable of avoiding contention of control target devices among a plurality of controllers based on assigned area information set in the own device. A control device can be obtained.
この発明の実施の形態1に係る宅内機器制御装置を用いたシステムの構成を示す構成図である。It is a block diagram which shows the structure of the system using the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置のハードウェア構成を示す構成図である。It is a block diagram which shows the hardware constitutions of the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置の機能ブロック構成を示す構成図である。It is a block diagram which shows the functional block structure of the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置における競合制御データベースの設定状況を示す図である。It is a figure which shows the setting condition of the competition control database in the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置における競合制御データベースの設定状況を示す図である。It is a figure which shows the setting condition of the competition control database in the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置における競合制御機能が取り扱う競合制御のための情報を示す図である。It is a figure which shows the information for the competition control which the competition control function in the household appliance control apparatus which concerns on Embodiment 1 of this invention handles. この発明の実施の形態1に係る宅内機器制御装置の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence of the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置における競合制御機能の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the competition control function in the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る宅内機器制御装置を用いたシステムの処理内容を示す状態遷移図である。It is a state transition diagram which shows the processing content of the system using the household appliance control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態2に係る宅内機器制御装置における競合制御データベースの設定状況を示す図である。It is a figure which shows the setting condition of the competition control database in the household appliance control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る宅内機器制御装置における競合制御データベースの設定状況を示す図である。It is a figure which shows the setting condition of the competition control database in the household appliance control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る宅内機器制御装置における競合制御機能が取り扱う競合制御のための情報を示す図である。It is a figure which shows the information for the competition control which the competition control function in the household appliance control apparatus which concerns on Embodiment 2 of this invention handles. この発明の実施の形態2に係る宅内機器制御装置における競合制御機能の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the competition control function in the household appliance control apparatus which concerns on Embodiment 2 of this invention.
実施の形態1.
 本発明の実施の形態1における宅内機器制御装置を用いたシステム全体の構成を図1に示す。図において、1はホームネットワーク、2および3は宅内機器制御装置であるコントローラ、である。家庭内に設置されたホームネットワーク1には、2台のコントローラ、コントローラ2とコントローラ3が接続されている。また同様にホームネットワーク1には、コントローラの制御対象である宅内機器が接続されており、本実施形態では、冷蔵庫4、換気扇5、IH(Induction Heating)クッキングヒータ6、エアコン7、テレビ(TV)8が接続されている。本実施の形態では上記5種類の宅内機器が制御対象機器としてホームネットワークに接続される例に基づき動作を説明するが、本発明の対象とする制御対象機器の機器種別はこれに縛られるものではなく、また各機器の台数やホームネットワーク1に接続する機器の合計台数についても制限はない。
Embodiment 1 FIG.
FIG. 1 shows the configuration of the entire system using the home appliance control apparatus according to Embodiment 1 of the present invention. In the figure, 1 is a home network, 2 and 3 are controllers which are home appliance control devices. Two controllers, a controller 2 and a controller 3 are connected to a home network 1 installed in the home. Similarly, the home network 1 is connected to household devices that are controlled by the controller. In this embodiment, the refrigerator 4, the ventilation fan 5, the IH (Induction Heating) cooking heater 6, the air conditioner 7, and the television (TV) 8 are used. Is connected. In the present embodiment, the operation will be described based on an example in which the above five types of home devices are connected to the home network as control target devices. However, the device type of the control target device targeted by the present invention is not limited to this. There is no limitation on the number of devices and the total number of devices connected to the home network 1.
 図2は本発明に関わるコントローラ2のハードウェア構成を示している。コントローラ2はネットワークに接続するためのネットワークインタフェース(I/F)と、処理を行う演算機能を実現するCPU(Central Processing Unit)と、処理を行う各機能を実現したプログラムや、各機能が使用する情報を格納するための格納領域と、格納領域に格納されたプログラムや情報を展開して、各機能が処理を行う際のデータを計算するためのメモリから構成される。 FIG. 2 shows the hardware configuration of the controller 2 according to the present invention. The controller 2 is used by a network interface (I / F) for connecting to a network, a CPU (Central Processing Unit) that implements a processing function for processing, a program that realizes each function for processing, and each function A storage area for storing information and a memory for calculating data when each function performs processing by expanding programs and information stored in the storage area.
 図3は本発明に関わるコントローラ2の機能ブロック構成を示している。コントローラ2とコントローラ3の機能ブロック構成は同じである。OS(Operating System)201はコントローラのオペレーションシステム、通信機能202は外部の機器と通信するための通信機能であり、通信部を構成する、コントローラ機能203は外部の制御対象機器を制御するための機能であり、機器制御部を構成する。競合制御機能204はコントローラ間で制御対象機器に競合が発生しないように、自装置の制御対象機器を制限する機能であり、競合制御部を構成する。競合制御データベース(DB)205は自装置の担当範囲である担当エリアの情報と、担当エリアと家電種別の関係が定義されたデータベースであり、競合制御情報記憶部を構成する。 FIG. 3 shows a functional block configuration of the controller 2 according to the present invention. The functional block configurations of the controller 2 and the controller 3 are the same. An OS (Operating System) 201 is a controller operation system, a communication function 202 is a communication function for communicating with an external device, and a controller function 203 constituting a communication unit is a function for controlling an external control target device. And constitutes a device control unit. The contention control function 204 is a function that restricts the control target devices of its own device so that the control target devices do not compete between controllers, and constitutes a contention control unit. A competition control database (DB) 205 is a database in which information on a responsible area, which is a responsible area of the own device, and a relationship between the responsible area and the home appliance type are defined, and constitutes a competition control information storage unit.
 本実施の形態では、コントローラ2およびコントローラ3の担当範囲である受け持ちエリアのコードは、「リビング」「キッチン」「その他」の3種類が定義されているものとする。また、リビング担当のコントローラはリビング家電であるエアコン7、TV8の制御に対して優先権を持ち、キッチン担当のコントローラは冷蔵庫4、換気扇5、IHクッキングヒータ6の制御に対して優先権を持つ場合について説明を行う。コントローラ2はキッチン担当コントローラ、コントローラ3はリビング担当コントローラである。なお、受け持ちエリアコードの定義は、上述の種類の数や内容に限定されるものではない。 In this embodiment, it is assumed that three types of codes “living room”, “kitchen”, and “others” are defined as the codes of the service areas that are the assigned ranges of the controller 2 and the controller 3. In addition, the controller in charge of living has priority over the control of the air conditioner 7 and TV 8 that are living appliances, and the controller in charge of kitchen has priority over control of the refrigerator 4, the ventilation fan 5, and the IH cooking heater 6. Give an explanation. The controller 2 is a kitchen controller, and the controller 3 is a living controller. Note that the definition of the service area code is not limited to the number and contents of the types described above.
 コントローラ機能203は、ホームネットワーク1内に存在し、自装置が制御対象とする宅内機器を制御する。 The controller function 203 exists in the home network 1 and controls home devices that are controlled by the own device.
 図4はキッチン担当のコントローラであるコントローラ2の競合制御データベース205の設定状況を示しており、図5はリビング担当のコントローラであるコントローラ3の競合制御データベース205の設定状況を示している。エリアと対応機器の設定は、同一ネットワーク内のコントローラで統一されていることが必要である。このように、競合制御データベース205は、自装置がコントローラ機能203により制御を担当する担当範囲の情報を記憶している。 FIG. 4 shows the setting status of the conflict control database 205 of the controller 2 which is the controller in charge of kitchen, and FIG. 5 shows the setting status of the conflict control database 205 of the controller 3 which is the controller in charge of living. The area and compatible device settings must be unified by the controllers in the same network. As described above, the contention control database 205 stores information on a range in which the own device is in charge of control by the controller function 203.
 図6は本発明に関わるコントローラ2およびコントローラ3のそれぞれの競合制御機能204が取り扱う競合制御のための情報を示している。本実施の形態ではECHONET Lite(エコーネットライト)プロトコルで規定されたデータフォーマットを使い、各コントローラの競合制御機能204間で情報の伝達を行う場合を想定している。ただし、実際の適用では本フォーマットに基づくデータ以外のデータで情報伝達を行っても良い。 FIG. 6 shows information for contention control handled by the contention control functions 204 of the controller 2 and the controller 3 according to the present invention. In the present embodiment, it is assumed that information is transmitted between the competition control functions 204 of the controllers using a data format defined by the ECHONET Lite (Echonet Write) protocol. However, in actual application, information transmission may be performed using data other than data based on this format.
 競合制御機能204が取り扱うECHONET Liteプロトコルのフレーム(ECHONET Liteフレーム)9は、ECHONET Lite電文ヘッダ1(EHD1)、ECHONET Lite電文ヘッダ2(EHD2)、トランザクションID(TID)と、ECHONET Liteデータ(EDATA)で構成される。ECHONET Liteデータ901は、送信元ECHONET Liteオブジェクト指定(SEOJ)、相手先ECHONETC Liteオブジェクト指定(DEOJ)、ECHONET Liteサービス(ESV)、処理プロパティ数(OPC)と、複数のECHONET Liteプロパティ(EPC)、EDTのバイト数(PDC)、プロパティ値データ(EDT)から構成される。 The ECHONET Lite protocol frame (ECHONET Lite frame) 9 handled by the contention control function 204 includes an ECHONET Lite message header 1 (EHD1), an ECHONET Lite message header 2 (EHD2), a transaction ID (TID), and ECHONET Lite data (EDATA). Consists of. The ECHONET Lite data 901 includes a source ECHONET Lite object specification (SEOJ), a destination ECHONETC Lite object specification (DEOJ), an ECHONET Lite service (ESV), the number of processing properties (OPC), multiple ECHONET Lite properties (EPC), Consists of EDT byte count (PDC) and property value data (EDT).
 本実施の形態における競合制御には、ECHONET Liteフレームの送信元ECHONET Liteオブジェクト指定(SEOJ)902を利用する。送信元ECHONET Liteオブジェクト指定(SEOJ)902は、クラスグループコード、クラスコード、インスタンスコードから構成される。本情報を送信する機器はコントローラであるため、コントローラであることを示すために、クラスグループコードは0x05に設定し、クラスコードは0xFFを指定する。また、残りのインスタンスコードを受け持ちエリアコードとすることで、本データを送信するコントローラが自分で担当するエリアについて、このインスタンスコードを使って、他のコントローラに主張する。
 なお、ECHONET Liteプロトコルにおいて、クラスグループコード、クラスコード、インスタンスコードは他の目的に使われる目的で標準的には値が決められているが、そのうち現在リザーブとなっている値を本目的で使うことを想定している。このため、リザーブの中から値を定義している。上述の指定値は、これら値ではなくその他の値でも構わないが、ECHONET Liteプロトコルで現在利用目的が定義されているもの以外から選択することが望まれる。
The contention control in this embodiment uses the ECHONET Lite frame transmission source ECHONET Lite object designation (SEOJ) 902. The transmission source ECHONET Lite object specification (SEOJ) 902 includes a class group code, a class code, and an instance code. Since the device that transmits this information is a controller, the class group code is set to 0x05 and the class code is specified to be 0xFF to indicate that it is a controller. In addition, by taking the remaining instance code as the area code, the controller that transmits this data is in charge of the controller itself, and uses this instance code to insist on other controllers.
In the ECHONET Lite protocol, class group codes, class codes, and instance codes have standard values for other purposes, but the currently reserved values are used for this purpose. Assumes that. For this reason, values are defined from the reserve. The above specified values may be other values instead of these values, but it is desirable to select from those other than those currently defined for the purpose of use in the ECHONET Lite protocol.
 図7は本実施形態において、コントローラ2と、冷蔵庫4、換気扇5、IHクッキングヒータ6、エアコン7が設置されている家に、後からコントローラ3とTV8が設置されてきた場合の動作シーケンスについて示している。 FIG. 7 shows an operation sequence in the case where the controller 3 and the TV 8 are later installed in a house in which the controller 2, the refrigerator 4, the ventilation fan 5, the IH cooking heater 6, and the air conditioner 7 are installed. Yes.
 コントローラ2の競合制御機能204は、コントローラ2が起動されるか、コントローラ2がネットワークに接続されたタイミングで、通信機能202を介して、同一のネットワーク内に接続されている全ての機器に対して、プロパティ値読み出し1001を送信する。コントローラ2はキッチン担当のコントローラであるため、このプロパティ値読み出し1001は、図6に示した送信元ECHONETオブジェクト指定902のフィールドに、クラスグループコードに0x05、クラスコードに0xFF、インスタンスコードに「キッチン」が、それぞれ設定されている。 The contention control function 204 of the controller 2 is applied to all devices connected in the same network via the communication function 202 at the timing when the controller 2 is activated or the controller 2 is connected to the network. , Property value read 1001 is transmitted. Since the controller 2 is a controller in charge of the kitchen, this property value reading 1001 is “0x05” for the class group code, “0xFF” for the class code, and “kitchen” for the instance code in the field of the source ECHONET object designation 902 shown in FIG. Are set respectively.
 プロパティ値読み出し1001を受信した各家電機器(冷蔵庫4、換気扇5、IHクッキングヒータ6、エアコン7)は、それぞれの機器が対応する機能のECHONETオブジェクトのプロパティを設定したプロパティ値応答1002~1005を、コントローラ2に対して送信する。 Each home electric appliance (refrigerator 4, ventilation fan 5, IH cooking heater 6, air conditioner 7) that has received the property value read 1001 sends a property value response 1002 to 1005 in which the properties of the ECHONET object of the function corresponding to each device are set. 2 is transmitted.
 コントローラ2では、プロパティ値応答1002~1005を受信したことで、ネットワーク内に冷蔵庫4、換気扇5、IHクッキングヒータ6、エアコン7が存在していることがわかる。 The controller 2 receives the property value responses 1002 to 1005, so that it can be seen that the refrigerator 4, the ventilation fan 5, the IH cooking heater 6 and the air conditioner 7 exist in the network.
 次にコントローラ3の競合制御機能204は、コントローラ3が起動されるか、コントローラ3がネットワークに接続されたタイミングで、同一のネットワーク内に接続されている全ての機器に対して、通信機能202を介して、プロパティ値読み出し1006を送信する。コントローラ3はリビング担当のコントローラであるため、このプロパティ値読み出し1006は、図6に示した送信元ECHONETオブジェクト指定のフィールドに、クラスグループコードに0x05、クラスコードに0xFF、インスタンスコードに「リビング」を示すコードが設定されている。 Next, the contention control function 204 of the controller 3 sets the communication function 202 to all devices connected in the same network at the timing when the controller 3 is activated or the controller 3 is connected to the network. Via this, a property value read 1006 is transmitted. Since the controller 3 is a living controller, this property value read 1006 sets the class group code 0x05, the class code 0xFF, and the instance code “living” in the field of the source ECHONET object designation shown in FIG. The code shown is set.
 プロパティ値読み出し1006を受信した各家電機器(コントローラ2、冷蔵庫4、換気扇5、IHクッキングヒータ6、エアコン7、TV8)は、それぞれの機器が対応する機能のECHONETオブジェクトのプロパティを設定したプロパティ値応答1007~1012を、コントローラ2およびコントローラ3に対して送信する。 Each home appliance (controller 2, refrigerator 4, ventilation fan 5, IH cooking heater 6, air conditioner 7, TV 8) that has received the property value read 1006 has a property value response 1007 in which the properties of the ECHONET object of the function supported by each device are set. ˜1012 are transmitted to the controller 2 and the controller 3.
 この時、コントローラ3からのプロパティ値読み出し1006を受信したコントローラ2は、受信したプロパティ値読み出し1006の送信元ECHONETオブジェクト指定のフィールドに、クラスグループコードに0x05、クラスコードに0xFF、インスタンスコードに「リビング」を示すコードが設定されていることから、新しくネットワークに参入したコントローラ3がリビング担当のコントローラであることを知る。そしてコントローラ3に対してコントローラ2が送信するプロパティ値応答1012の送信元ECHONETオブジェクト指定のフィールドには、クラスグループコードに0x05、クラスコードに0xFF、インスタンスコードに「キッチン」を示すコードが設定されているため、コントローラ3はコントローラ2が、既にネットワークに存在しているキッチン担当のコントローラであることがわかる。 At this time, the controller 2 that has received the property value read 1006 from the controller 3 sets the class group code 0x05, the class code 0xFF, and the instance code “living room” in the field of the received property value read 1006 for the source ECHONET object designation. ”Is set, the controller 3 that has newly entered the network knows that it is the controller in charge of the living room. In the property value response 1012 sent from the controller 2 to the controller 3, the source ECHONET object designation field is set with a class group code of 0x05, a class code of 0xFF, and an instance code of “kitchen”. Therefore, the controller 3 knows that the controller 2 is a controller in charge of the kitchen that already exists in the network.
 この動作シーケンスによりコントローラ2、コントローラ3はお互いに、ネットワーク内に別のコントローラが存在していることと、相手の担当エリアを認識することができる。 This operation sequence allows the controller 2 and the controller 3 to recognize each other that another controller exists in the network and the partner's assigned area.
 図8はコントローラが他のコントローラからのプロパティ値読み出し1006を受信した際の、処理フローを示している。プロパティ値読み出しを受信したコントローラは、コントローラ内の競合制御機能204で、この処理フローに基づきコントローラ間の制御対象の競合制御を行う。プロパティ値読み出し1006を受信したコントローラは、最初に送信元コントローラの担当エリアを確認(1101)する処理で、送信元ECHONETオブジェクト指定902のインスタンスコードの情報から、送信元コントローラの担当エリアを確認する。 FIG. 8 shows a processing flow when the controller receives a property value read 1006 from another controller. The controller that has received the read property value performs contention control of the control target between controllers based on this processing flow by the contention control function 204 in the controller. The controller that has received the property value read 1006 first confirms the area in charge of the transmission source controller from the instance code information of the transmission source ECHONET object designation 902 in the process of confirming (1101) the area in charge of the transmission source controller.
 次に自装置と担当エリアが異なるかどうかを確認(1102)し、異なればプロパティ値読み出し1006の送信元コントローラの担当エリアに対する家電機器を自装置の制御範囲から外す(1103)処理を行う。同一である場合には自装置より後に同一エリアを担当するコントローラが参入したとみなし、自分で管理している家電機器の制御を続けるため特に処理を行わない。その後送信元コントローラの情報と担当エリアの情報を保存(1104)し、プロパティ値応答を送信元に送信する(1105)。 Next, it is confirmed whether or not the own device and the assigned area are different (1102), and if different, the home appliance for the assigned controller area of the transmission source controller of property value reading 1006 is removed from the control range of the own device (1103). If they are the same, it is considered that a controller in charge of the same area has entered after the device itself, and no particular processing is performed in order to continue control of home appliances managed by the device itself. Thereafter, the information on the transmission source controller and the information on the area in charge are stored (1104), and the property value response is transmitted to the transmission source (1105).
 これにより新たに担当エリアが異なるコントローラがネットワークに参入した際に、既に稼働しているコントローラが新しく参入したコントローラの担当範囲を認識し、制御対象機器を新しく参入したコントローラに譲り渡すことが可能になる。また1104で保存した送信元コントローラの情報と担当エリアの情報から、今後ネットワークに参入してくる家電機器に対して、自装置が制御するか、他のコントローラに制御権を渡すために制御範囲から外すかを決定できるようになる。 As a result, when a controller with a different assigned area enters the network, it becomes possible for the already operating controller to recognize the assigned range of the newly entered controller and transfer the control target device to the newly entered controller. . In addition, from the information of the transmission source controller and the information of the area in charge stored in 1104, the home apparatus controls the home appliances that will enter the network in the future, or from the control range in order to pass the control right to other controllers. It will be possible to decide whether to remove.
 図9はコントローラが自装置で送信したプロパティ値読み出し1006に対する他のコントローラからのプロパティ値応答1012を受信した場合の処理の内容を示した状態遷移図である。状態遷移の横軸は、プロパティ値応答を受信前の状態を示しており、縦軸は受信したプロパティ値応答の情報を示している。 FIG. 9 is a state transition diagram showing the contents of processing when the controller receives a property value response 1012 from another controller in response to the property value read 1006 transmitted by the controller. The horizontal axis of the state transition indicates the state before receiving the property value response, and the vertical axis indicates the received property value response information.
 プロパティ値応答を受信する前の状態としては、既存コントローラからの応答を未受信(1201)の状態、既存コントローラからの応答を受信済みで自装置と同一エリアを担当するコントローラが存在する(1202)状態、既存コントローラからの応答を受信済みで自装置と異なるエリアを担当するコントローラが存在する(1203)状態、がある。 As a state before receiving a property value response, there is a state in which a response from an existing controller has not been received (1201), and a controller that has received a response from an existing controller and is responsible for the same area as the own device (1202). There is a state in which there is a controller that has received a response from an existing controller and is in charge of an area different from the own device (1203).
 受信したプロパティ値応答の情報としては、受信した応答がコントローラからで、かつ自装置と同一エリア担当のコントローラである(1204)場合、受信した応答がコントローラからで、かつ自装置と異なるエリア担当のコントローラである(1205)場合、および、受信した応答がコントローラ以外からである(1206)場合、がある。 As the received property value response information, if the received response is from the controller and is the controller in charge of the same area as the own device (1204), the received response is from the controller and is in charge of an area in charge different from the own device. There is a case of being a controller (1205) and a case where the received response is from other than the controller (1206).
 コントローラの競合制御機能204は、既存コントローラからの応答を未受信(1201)の場合、自装置と同一エリアのコントローラから応答を受信(1204)した時には、受信したコントローラ情報と担当エリア情報を保存し、競合制御データベース205で管理している家電機器を自装置の制御範囲から外す(1207)処理を行う。
 既存コントローラからの応答を未受信(1201)の場合、自装置と異なるエリアのコントローラから応答を受信(1205)した時には、受信したコントローラ情報と担当エリア情報を競合制御データベース205に保存する(1208)処理を行う。
 既存コントローラからの応答を未受信(1201)の場合、コントローラ以外から応答を受信(1206)した時には、家電機器の情報を自装置の制御範囲として競合制御データベース205に保存する(1209)処理を行う。
If the controller's contention control function 204 has not received a response from an existing controller (1201), it receives the response from a controller in the same area as its own device (1204), and stores the received controller information and assigned area information. Then, the home appliance managed by the competition control database 205 is removed from the control range of the own device (1207).
If the response from the existing controller has not been received (1201), when the response is received from the controller in an area different from the own device (1205), the received controller information and assigned area information are stored in the contention control database 205 (1208). Process.
When the response from the existing controller is not received (1201), when the response is received from other than the controller (1206), the home appliance information is stored in the competition control database 205 as the control range of the own device (1209). .
 コントローラの競合制御機能204は、既存コントローラからの応答を受信済みで、そのコントローラが自装置と同一エリアを担当するコントローラである(1202)場合、自装置と同一エリアのコントローラから応答を受信(1204)した時、あるいは自装置と異なるエリアのコントローラから応答を受信(1205)した時には、受信したコントローラ情報と担当エリア情報を競合制御データベース205に保存する(1210)処理を行う。
 既存コントローラからの応答を受信済みで、そのコントローラが自装置と同一エリアを担当するコントローラである(1202)場合、受信した応答がコントローラ以外から(1206)である時には、家電機器の情報を自装置の制御範囲から外した状態で競合制御データベース205に保存する(1211)処理を行う。
If the controller's contention control function 204 has already received a response from the existing controller and the controller is the controller in charge of the same area as that of its own device (1202), it receives a response from the controller in the same area as that of its own device (1204) ), Or when a response is received from a controller in an area different from that of the own device (1205), the received controller information and assigned area information are stored in the conflict control database 205 (1210).
If the response from the existing controller has been received and the controller is the controller in charge of the same area as the own device (1202), when the received response is from other than the controller (1206), the home appliance information is sent to the own device. (1211) is stored in the contention control database 205 in a state outside the control range.
 コントローラの競合制御機能204は、既存コントローラからの応答を受信済みで、そのコントローラが自装置と異なるエリアを担当するコントローラである(1203)場合、自装置と同一エリアのコントローラから応答を受信(1204)した時には、受信したコントローラ情報と担当エリア情報を保存し、競合制御データベース205で管理している家電機器を自装置の制御範囲から外す(1212)処理を行う。
 既存コントローラからの応答を受信済みで、そのコントローラが自装置と異なるエリアを担当するコントローラである(1203)場合、自装置と異なるエリアのコントローラから応答を受信(1205)した時には、受信したコントローラ情報と担当エリア情報を競合制御データベース205に保存(1213)する処理を行う。
 既存コントローラからの応答を受信済みで、そのコントローラが自装置と異なるエリアを担当するコントローラである(1203)場合、受信した応答がコントローラ以外から(1206)の時には、家電機器の情報を自装置の制御範囲として競合制御データベース205に保存する(1214)処理を行う。
When the controller's contention control function 204 has received a response from the existing controller and the controller is a controller in charge of an area different from the own device (1203), the controller's conflict control function 204 receives a response from the controller in the same area as the own device (1204). ), The received controller information and assigned area information are stored, and the home appliance managed by the contention control database 205 is removed from the control range of its own device (1212).
When a response from an existing controller has been received and the controller is a controller in charge of an area different from the own device (1203), when a response is received from a controller in an area different from the own device (1205), the received controller information And the processing for saving the assigned area information in the contention control database 205 (1213).
If the response from the existing controller has been received and the controller is a controller in charge of an area different from that of the own device (1203), when the received response is from other than the controller (1206), the home appliance information is obtained from the own device. A process of storing in the contention control database 205 as a control range (1214) is performed.
 以上のように、コントローラの競合制御機能204は、競合制御データベース205に記憶された情報に基づき、ホームネットワーク1内に存在する他のコントローラとの間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報を送受し、ホームネットワーク1内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う。 As described above, the contention control function 204 of the controller arbitrates the range of home devices to be controlled with other controllers existing in the home network 1 based on the information stored in the contention control database 205. For this purpose, information on the assigned range is transmitted and received, and it is determined whether or not the own device is a control target for each in-home device existing in the home network 1.
 これらの処理により、先にホームネットワーク1に参入しているコントローラ2と、後からホームネットワーク1に参入するコントローラ3間で、自装置の担当エリア情報に基づき、制御対象機器の競合を回避することができるようになる。 Through these processes, the conflict between controlled devices between the controller 2 that has entered the home network 1 and the controller 3 that has entered the home network 1 later is determined based on the area information of its own device. Will be able to.
 以上のように、本発明の実施形態1における宅内機器制御装置では、ホームネットワークに参入している複数のコントローラ間で制御対象機器の競合を回避することができる効果が得られる。 As described above, in the in-home device control apparatus according to Embodiment 1 of the present invention, there is an effect that it is possible to avoid contention of control target devices among a plurality of controllers that have entered the home network.
実施の形態2.
 実施の形態2において、宅内機器制御装置を用いたシステム全体の構成図、宅内機器制御装置であるコントローラのハードウェア構成図、コントローラの機能ブロック構成図は、それぞれ、実施の形態1に示した、図1、図2、図3、と同一である
Embodiment 2. FIG.
In the second embodiment, the configuration diagram of the entire system using the home appliance control device, the hardware configuration diagram of the controller that is the home appliance control device, and the functional block configuration diagram of the controller are shown in the first embodiment, respectively. Same as FIG. 1, FIG. 2, FIG.
 図10は本発明の実施の形態2における、キッチン担当のコントローラであるコントローラ2の競合制御データベース205の設定状況を示しており、図11はリビング担当のコントローラであるコントローラ3の競合制御データベース205の設定状況を示している。エリアと対応機器の設定は、同一ネットワーク内のコントローラ間で統一されているものとする。実施の形態1で定義された情報に加えて、新たに優先度情報がデータベース内に定義されている。このように、競合制御データベース205は、自装置がコントローラ機能203により制御を担当する担当範囲の情報に加えて、自装置および他の制御装置の間の優先度の情報を記憶している。 FIG. 10 shows the setting status of the competition control database 205 of the controller 2 which is the controller in charge of kitchen in Embodiment 2 of the present invention, and FIG. 11 shows the setting of the competition control database 205 of the controller 3 which is the controller in charge of living. The setting status is shown. It is assumed that the setting of the area and the corresponding device is unified between controllers in the same network. In addition to the information defined in the first embodiment, priority information is newly defined in the database. As described above, the contention control database 205 stores information on priority between the own device and another control device in addition to information on a range in which the own device is in charge of control by the controller function 203.
図12は本発明の実施の形態2に関わるコントローラ2およびコントローラ3のそれぞれの競合制御機能204が取り扱う競合制御のための情報を示している。本実施の形態ではECHONET Liteプロトコルで規定されたデータフォーマットを使い、各コントローラの競合制御機能204間で情報の伝達を行う場合を想定している。なお、実際の適用では本フォーマットに基づくデータ以外のデータで情報伝達を行っても構わない。 FIG. 12 shows information for contention control handled by the contention control function 204 of each of the controller 2 and the controller 3 according to the second embodiment of the present invention. In this embodiment, it is assumed that information is transmitted between the contention control functions 204 of each controller using a data format defined by the ECHONET Lite protocol. In actual application, information transmission may be performed using data other than data based on this format.
 競合制御機能204が取り扱うECHONET Liteプロトコルのフレーム(ECHONET Liteフレーム)9は、ECHONET Lite電文ヘッダ1(EHD1)、ECHONET Lite電文ヘッダ2(EHD2)、トランザクションID(TID)と、ECHONET Liteデータ(EDATA)で構成される。ECHONET Liteデータ901は、送信元ECHONET Liteオブジェクト指定(SEOJ)、相手先ECHONETC Liteオブジェクト指定(DEOJ)、ECHONET Liteサービス(ESV)、処理プロパティ数(OPC)と、複数のECHONET Liteプロパティ(EPC)、EDTのバイト数(PDC)、プロパティ値データ(EDT)から構成される。 The ECHONET Lite protocol frame (ECHONET Lite frame) 9 handled by the contention control function 204 includes an ECHONET Lite message header 1 (EHD1), an ECHONET Lite message header 2 (EHD2), a transaction ID (TID), and ECHONET Lite data (EDATA). Consists of. The ECHONET Lite data 901 includes a source ECHONET Lite object specification (SEOJ), a destination ECHONETC Lite object specification (DEOJ), an ECHONET Lite service (ESV), the number of processing properties (OPC), multiple ECHONET Lite properties (EPC), Consists of EDT byte count (PDC) and property value data (EDT).
 本実施の形態における競合制御には、ECHONET Liteフレームの送信元ECHONET Liteオブジェクト指定(SEOJ)902を利用する。送信元ECHONET Liteオブジェクト指定(SEOJ)902は、クラスグループコード、クラスコード、インスタンスコードから構成される。本情報を送信する機器はコントローラであるため、コントローラであることを示すために、クラスグループコードは0x05に設定し、クラスコードは0xFFを指定する。残りのインスタンスコードを受け持ちエリアコードと優先度情報に基づき定義することで、本データを送信するコントローラが自分で担当するエリアと自装置の優先度について、このインスタンスコードを使って、他のコントローラに主張することが可能になる。 For the contention control in this embodiment, the source ECHONET Lite object specification (SEOJ) 902 of the ECHONET Lite frame is used. The transmission source ECHONET Lite object specification (SEOJ) 902 includes a class group code, a class code, and an instance code. Since the device that transmits this information is a controller, the class group code is set to 0x05 and the class code is specified to be 0xFF to indicate that it is a controller. By defining the remaining instance codes based on the area code and priority information, the controller sending this data is responsible for the area that it is responsible for and the priority of its own device. It becomes possible to insist.
 図13はコントローラが他のコントローラからのプロパティ値読み出し1006を受信した際の、処理フローを示している。プロパティ値読み出しを受信したコントローラは、コントローラ内の競合制御機能204で、この処理フローに基づきコントローラ間の制御対象の競合制御を行う。プロパティ値読み出しを受信したコントローラは、最初に送信元コントローラの担当エリアおよび優先度を確認(1501)する処理で、送信元ECHONETオブジェクト指定902のインスタンスコードの情報から、送信元コントローラの担当エリアを確認する。 FIG. 13 shows a processing flow when the controller receives a property value read 1006 from another controller. The controller that has received the read property value performs contention control of the control target between controllers based on this processing flow by the contention control function 204 in the controller. The controller that received the property value read first checks the area in charge of the transmission source controller from the instance code information of the transmission source ECHONET object specification 902 in the process of checking the area and priority of the transmission source controller (1501). To do.
 次に自装置と担当エリアが異なるかどうかと、自装置との優先度を確認(1502)し、エリアが異なるか、優先度が自装置より高い場合には、プロパティ値読み出しの送信元コントローラの担当エリアに対する家電機器を自装置の制御範囲から外す(1503)処理を行う。同一である場合には自装置より後に同一エリアを担当する優先度の低いコントローラが参入したとみなし、自分で管理している家電機器の制御を続けるため特に処理を行わない。その後送信元コントローラの情報と担当エリアの情報を保存(1504)し、プロパティ値応答を送信元に送信(1505)する。 Next, whether or not the own device and the assigned area are different and the priority with the own device are confirmed (1502). If the area is different or the priority is higher than that of the own device, the property value reading source controller The home appliance for the assigned area is removed from the control range of its own device (1503). If they are the same, it is considered that a low-priority controller in charge of the same area has entered after the device itself, and no particular processing is performed in order to continue control of home appliances managed by the device itself. Thereafter, the information of the transmission source controller and the information of the area in charge are saved (1504), and the property value response is transmitted to the transmission source (1505).
 以上のように、コントローラの競合制御機能204は、ホームネットワーク1内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報と優先度の情報を送受し、ホームネットワーク1内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う。 As described above, the contention control function 204 of the controller determines the information on the assigned range and the priority in order to mediate the range of the home device to be controlled with other control devices existing in the home network 1. Information is transmitted and received, and it is determined whether or not the own device is a control target for each home device in the home network 1.
 これにより新たに担当エリアが異なるコントローラがネットワークに参入した際に、既に稼働しているコントローラが新しく参入したコントローラの担当範囲と優先度を認識し、制御対象機器を新しく参入したコントローラに譲り渡すことが可能になる。 As a result, when a controller with a different assigned area enters the network, the already operating controller recognizes the assigned scope and priority of the newly entered controller, and transfers the control target device to the newly entered controller. It becomes possible.
 また1504で保存した送信元コントローラの情報と担当エリアの情報から、今後ネットワークに参入してくる家電機器に対して、自装置が制御するか、他のコントローラに制御権を渡すために制御範囲から外すかを決定できるようになる。
 同様にコントローラ3においてプロパティ値応答を受信した際にも、優先度の情報を受け取ることが可能になるため、新規参入したコントローラと先にネットワークに存在したコントローラの双方で優先度に基づいた競合制御を実現することができるようになる。
In addition, from the source controller information and the information on the area in charge stored in 1504, the home apparatus controls the home appliances that will enter the network in the future, or from the control range in order to pass control rights to other controllers. It will be possible to decide whether to remove.
Similarly, when the controller 3 receives a property value response, it becomes possible to receive priority information. Therefore, both the newly entered controller and the controller that previously existed in the network control contention based on the priority. Can be realized.
 以上のように、本発明の実施形態2における宅内機器制御装置では、ホームネットワークに参入している複数のコントローラ間で制御対象機器の競合を回避することができるとともに、複数のコントローラ間で優先度に基づいた競合制御を実現することができる効果が得られる。 As described above, in the in-home device control apparatus according to Embodiment 2 of the present invention, it is possible to avoid contention of control target devices among a plurality of controllers that have entered the home network, and priority among a plurality of controllers. The effect that the competition control based on the above can be realized is obtained.
 本発明にかかる宅内機器制御装置は、ホームネットワーク内に接続された宅内機器を制御するための宅内機器制御装置として適用できる。 The home device control device according to the present invention can be applied as a home device control device for controlling home devices connected in a home network.
 1 ホームネットワーク、2、3 コントローラ、4 冷蔵庫、5 換気扇、6 IHクッキングヒータ、7 エアコン、8 テレビ、9 ECHONET Liteフレーム、201 OS、202 通信機能、203 コントローラ機能、204 競合制御機能、205 競合制御DB、901 ECHONET Liteデータ、902 送信元ECHONET Liteオブジェクト指定 1 home network, 2, 3 controller, 4 refrigerator, 5 ventilation fan, 6 IH cooking heater, 7 air conditioner, 8 TV, 9 ECHONET Lite frame, 201 OS, 202 communication function, 203 controller function, 204 contention control function, 205 contention control DB , 901 ECHONET Lite data, 902 Sending ECHONET Lite object designation

Claims (8)

  1.  ホームネットワーク内に存在する宅内機器を制御する機器制御部と、
     自装置が上記機器制御部により制御を担当する宅内機器の担当範囲の情報を記憶する競合制御情報記憶部と、
     上記競合制御情報記憶部に記憶された情報に基づき、上記ホームネットワーク内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報を送受し、上記ホームネットワーク内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う競合制御部と、
     を備えたことを特徴とする宅内機器制御装置。
    A device control unit for controlling home devices existing in the home network;
    A contention control information storage unit that stores information on the range of responsibility of the in-home device that is controlled by the device control unit;
    Based on the information stored in the contention control information storage unit, in order to mediate the range of home devices to be controlled with other control devices existing in the home network, information related to the assigned range is transmitted and received. A contention control unit that determines whether or not the own device is a control target for each home device existing in the home network;
    A home appliance control device characterized by comprising:
  2.  上記競合制御部は、上記他の制御装置から受信した担当範囲に関する情報に、自装置の担当範囲が含まれる場合、上記担当範囲に対応する上記宅内機器を自装置の制御対象から外すよう上記競合制御情報記憶部に記憶された情報を変更させることを特徴とする請求項1に記載の宅内機器制御装置。 The contention control unit, when the information on the assigned range received from the other control device includes the assigned range of the own device, the contention control unit excludes the home device corresponding to the assigned range from the control target of the own device. The in-home device control apparatus according to claim 1, wherein information stored in the control information storage unit is changed.
  3.  上記競合制御部は、上記担当範囲に関する情報をECHONET Liteプロトコルで規定されたデータフォーマットを使って送受することを特徴とする請求項1または請求項2に記載の宅内機器制御装置。 The in-home device control device according to claim 1 or 2, wherein the contention control unit transmits and receives information on the assigned range using a data format defined by the ECHONET Lite protocol.
  4.  上記担当範囲に関する情報は、上記ECHONET Liteプロトコルの送信元ECHONET Liteオブジェクト指定の領域に格納されることを特徴とする請求項3に記載の宅内機器制御装置。 4. The in-home device control apparatus according to claim 3, wherein the information related to the assigned range is stored in a transmission source ECHONET Lite object designation area of the ECHONET Lite protocol.
  5.  上記競合制御情報記憶部は、上記担当範囲に加えて自装置および他の制御装置の間の優先度の情報を記憶し、
     上記競合制御部は、上記ホームネットワーク内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、上記担当範囲に関する情報と優先度の情報を送受し、上記ホームネットワーク内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行うことを特徴とする請求項1から請求項4のいずれか一項に記載の宅内機器制御装置。
    The contention control information storage unit stores the priority information between the own device and other control devices in addition to the assigned range,
    The contention control unit sends and receives information on the assigned range and priority information to mediate the range of the home device to be controlled with other control devices existing in the home network, 5. The home appliance control device according to claim 1, wherein each home appliance existing in the home network determines whether or not the device itself is a control target. 6. .
  6.  請求項1から請求項5のいずれか一項に記載の宅内機器制御装置と、ホームネットワークが接続されて構成されることを特徴とする制御システム。 A control system comprising: the home device control apparatus according to any one of claims 1 to 5; and a home network.
  7.  ホームネットワーク内に存在する宅内機器を制御する機器制御ステップと、
     自装置が上記機器制御ステップにより制御を担当する宅内機器の担当範囲の情報を記憶する競合制御情報記憶ステップと、
     上記競合制御情報記憶ステップにより記憶された情報に基づき、上記ホームネットワーク内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報を送受し、上記ホームネットワーク内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う競合制御ステップと、
     を備えたことを特徴とする宅内機器制御方法。
    A device control step for controlling home devices existing in the home network;
    A contention control information storage step for storing information on the range of responsibility of the home device for which the own device is responsible for control by the device control step;
    Based on the information stored in the contention control information storing step, information related to the assigned range is exchanged with other control devices existing in the home network in order to mediate the range of home devices to be controlled. A contention control step for determining whether or not the own device is a control target for each home device in the home network;
    A home appliance control method characterized by comprising:
  8.  宅内機器制御装置に、
     ホームネットワーク内に存在する宅内機器を制御する機器制御ステップと、
     自装置が上記機器制御ステップにより制御を担当する宅内機器の担当範囲の情報を記憶する競合制御情報記憶ステップと、
     上記競合制御情報記憶ステップにより記憶された情報に基づき、上記ホームネットワーク内に存在する他の制御装置との間で、制御対象の宅内機器の範囲を調停するために、担当範囲に関する情報を送受し、上記ホームネットワーク内に存在する各宅内機器に対し、自装置が制御対象とするか否かの判断を行う競合制御ステップと、
     を実行させることを特徴とするプログラム。
    In the home appliance control device,
    A device control step for controlling home devices existing in the home network;
    A contention control information storage step for storing information on the range of responsibility of the home device for which the own device is responsible for control by the device control step;
    Based on the information stored in the contention control information storing step, information related to the assigned range is exchanged with other control devices existing in the home network in order to mediate the range of home devices to be controlled. A contention control step for determining whether or not the own device is a control target for each home device in the home network;
    A program characterized by having executed.
PCT/JP2015/083166 2015-11-26 2015-11-26 Home device control apparatus, control system, home device control method, and program WO2017090140A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/083166 WO2017090140A1 (en) 2015-11-26 2015-11-26 Home device control apparatus, control system, home device control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/083166 WO2017090140A1 (en) 2015-11-26 2015-11-26 Home device control apparatus, control system, home device control method, and program

Publications (1)

Publication Number Publication Date
WO2017090140A1 true WO2017090140A1 (en) 2017-06-01

Family

ID=58763221

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/083166 WO2017090140A1 (en) 2015-11-26 2015-11-26 Home device control apparatus, control system, home device control method, and program

Country Status (1)

Country Link
WO (1) WO2017090140A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006093180A1 (en) * 2005-03-01 2006-09-08 Pioneer Corporation Control apparatus, control method, network system, control apparatus program, and information recording medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006093180A1 (en) * 2005-03-01 2006-09-08 Pioneer Corporation Control apparatus, control method, network system, control apparatus program, and information recording medium

Similar Documents

Publication Publication Date Title
KR101560470B1 (en) Smart access point apparatus and method for controlling internet of things apparatus using the smart access point apparatus
US20130159490A1 (en) Method and apparatus for smart home service based on cloud
CN113572799B (en) Method and device for accessing equipment to control platform and server
WO2020135487A1 (en) Method for dynamically building environment conditioning rule list in smart home, and device
CN104865835A (en) Intelligent household system based on ZigBee
CN106909081B (en) Household electrical appliance and expansion platform based on same
JP2009135783A (en) Communication adapter and connection information setting method thereof
JP2016524422A (en) Configuration connection device
US9560167B2 (en) Network system, communication method, server, and terminal
US20180176745A1 (en) M2m group and notification resource creation and information exchange methods therefor, and storage medium
JP2003289588A (en) Home electric appliance networking system and control method thereof
JP7279992B2 (en) Speech recognition device and its wake-up response method, computer storage medium
US11098914B2 (en) System and method for operating a HVAC system by determining occupied state of a structure via IP address
CN106933114B (en) Wireless transmission internet intelligent home system
WO2020073614A1 (en) Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner
CN113765758A (en) Method, system and device for transmitting scene linkage control instruction and storage medium
KR102401481B1 (en) Appliances and control method thereof
WO2024051708A1 (en) Control method, system and apparatus, electronic device, storage medium, and program product
WO2017090140A1 (en) Home device control apparatus, control system, home device control method, and program
WO2022217900A1 (en) Automatic control method for air conditioner, system, and air conditioner
US20170094035A1 (en) Management method and management device
US20150005909A1 (en) Communication Device, Communication Method, and Management Device
CN105393494A (en) Communication method and apparatus using smart module in home network system
CN114237126A (en) Control method, system, device, equipment and storage medium of target intelligent equipment
JP6320569B2 (en) Home control device and home control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15909259

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15909259

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP