JP2014239369A - Energy consumption apparatus control device and energy consumption apparatus control method - Google Patents

Energy consumption apparatus control device and energy consumption apparatus control method Download PDF

Info

Publication number
JP2014239369A
JP2014239369A JP2013121745A JP2013121745A JP2014239369A JP 2014239369 A JP2014239369 A JP 2014239369A JP 2013121745 A JP2013121745 A JP 2013121745A JP 2013121745 A JP2013121745 A JP 2013121745A JP 2014239369 A JP2014239369 A JP 2014239369A
Authority
JP
Japan
Prior art keywords
control
energy consuming
mail
control request
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013121745A
Other languages
Japanese (ja)
Inventor
伸太郎 村上
Shintaro Murakami
伸太郎 村上
佳史 井谷
Keishi Itani
佳史 井谷
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.)
Daiwa House Industry Co Ltd
Original Assignee
Daiwa House Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiwa House Industry Co Ltd filed Critical Daiwa House Industry Co Ltd
Priority to JP2013121745A priority Critical patent/JP2014239369A/en
Publication of JP2014239369A publication Critical patent/JP2014239369A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve the reliability of terminal authentication when the terminal authentication is executed in order to control a home electric appliance in a house according to a control request from a mobile terminal outside the house.SOLUTION: A home server 10, which controls the operation state of a home electric appliance in a house on the basis of a control request email transmitted from a user terminal 30 outside the house, obtains password information for terminal authentication by communicating with the user terminal 30 when it is in a state of being able to communicate with the user terminal 30 inside the house, registers the password information with a storage unit, and when it received the control request email, analyzes the email and obtains password information for terminal authentication integrated in an email sentence. Then, the home server 10 determines whether the password information obtained by analyzing the control request email and the registered password information match or not, and only when the home server 10 determines that they match to each other, controls the operation state of the home electric appliance on the basis of the control request email.

Description

本発明は、エネルギー消費機器制御装置及び同装置を用いたエネルギー消費機器制御方法に係り、特に、建物の外にある携帯端末から送信された制御要求に基づいて建物内のエネルギー消費機器の運転状態を制御するエネルギー消費機器制御装置及びエネルギー消費機器制御方法に関する。   The present invention relates to an energy consuming equipment control device and an energy consuming equipment control method using the same, and in particular, an operating state of an energy consuming equipment in a building based on a control request transmitted from a mobile terminal outside the building. The present invention relates to an energy consuming device control apparatus and an energy consuming device control method for controlling the energy consumption.

エネルギー消費機器の制御システムとして、ホームサーバやホームゲートウェイ等の制御装置を住宅内に設置して宅内にある家電機器の運転状態を制御するシステム、いわゆるHEMS(Home Energy Management System)が近年、注目されている。HEMSでは、上記制御装置が宅内ネットワークを通じて家電機器と通信して同機器の運転状態を制御したり運転状態に関する情報を収集したりする。   In recent years, a so-called HEMS (Home Energy Management System) has been attracting attention as a control system for energy consuming equipment, in which a control device such as a home server or home gateway is installed in a house to control the operating state of home appliances in the house. ing. In HEMS, the said control apparatus communicates with household appliances via a home network, controls the driving | running state of the apparatus, and collects the information regarding a driving | running state.

また、HEMSの中には、住宅の居住者が宅外から携帯端末を通じて送信した制御要求を制御装置が受信し、当該要求に応じて制御装置が家電機器を制御するというシステム、すなわち、遠隔制御システムが開発されている(例えば、特許文献1参照)。特許文献1に記載の遠隔制御システムによれば、外部のネットワークを通じて簡単な操作で宅外から宅内の家電機器を制御することが可能となり、さらに、信頼性の高い遠隔制御システムが実現される。   Also, in HEMS, a system in which a control device receives a control request transmitted from a house resident through a mobile terminal from outside the home, and the control device controls home appliances in response to the request, that is, remote control. A system has been developed (see, for example, Patent Document 1). According to the remote control system described in Patent Literature 1, it is possible to control home appliances from outside the house through a simple operation through an external network, and a highly reliable remote control system is realized.

具体的に説明すると、特許文献1に記載の遠隔制御システムでは、宅外からの制御要求を受けたときに、制御装置がその内部にした端末識別情報と制御要求の中に含まれた端末識別情報とを比較し、制御要求を送信した端末が制御装置側に登録された端末に含まれていない場合には家電機器の制御を実行しないこととしている。このような構成により、特許文献1に記載の遠隔制御システムでは、不埒な他人、例えば、居住者以外の者が制御装置に不正にアクセスして勝手に家電機器を遠隔制御して同機器が破損したり秘密が漏洩したりするという事態を回避することが可能となる。   Specifically, in the remote control system described in Patent Document 1, when receiving a control request from outside the home, the terminal identification information included in the control request by the control device and the terminal identification included in the control request When the terminal that compares the information and transmits the control request is not included in the terminal registered on the control device side, the home appliance is not controlled. With such a configuration, in the remote control system described in Patent Document 1, an illegitimate person, for example, a person other than a resident, illegally accesses the control device, and remotely controls the home appliance to damage the device. It is possible to avoid a situation where a secret or a secret leaks.

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

ところで、制御装置に登録される上記の端末識別情報は、通常、初期設定時において制御要求送信に用いられる端末側から制御装置に入力されることになるが、かかる入力をいかなる端末からも行い得るとすると、居住者以外の者が居住者になりすまして自己の端末の端末識別情報を制御装置に入力することにより、その者が制御装置に不正にアクセスして勝手に家電機器を遠隔操作するという事態を招いてしまうことになる。このような点で、宅内の機器制御を行うにあたって端末認証を実施する場合にはその信頼性、分かり易く言うと、上述した「なりすまし」による認証用情報の登録を排除し正当に認証用情報を登録し得る者の入力のみを受け付けるセキュリティ性を向上させる必要がある。   By the way, the above-described terminal identification information registered in the control device is normally input to the control device from the terminal side used for control request transmission at the time of initial setting, but such input can be performed from any terminal. Then, a person other than a resident impersonates a resident and inputs the terminal identification information of his / her terminal to the control device, so that the person illegally accesses the control device and operates the home appliance remotely without permission. It will invite a situation. In this regard, when performing terminal authentication for home appliance control, its reliability, in simple terms, excludes registration of authentication information by the above-mentioned “spoofing” and properly authenticates the authentication information. It is necessary to improve the security to accept only the input of those who can register.

そこで、本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、建物内のエネルギー消費機器を建物外にある携帯端末からの制御要求に応じて制御するにあたって端末認証を行う構成において認証の信頼性を向上させたエネルギー消費機器制御装置及びエネルギー消費機器制御方法を提供することである。   Therefore, the present invention has been made in view of the above-described problems, and the object of the present invention is to perform terminal authentication when controlling energy consuming equipment in a building in response to a control request from a mobile terminal outside the building. It is providing the energy consumption apparatus control apparatus and energy consumption apparatus control method which improved the reliability of authentication in the structure which performs.

前記課題は、本発明のエネルギー消費機器制御装置によれば、建物内に設置されており、該建物の外にある携帯端末から送信された制御要求に基づいて前記建物内で使用されるエネルギー消費機器の運転状態を制御するエネルギー消費機器制御装置であって、前記建物内において前記エネルギー消費機器制御装置と前記携帯端末とが互いに通信可能な状態にあるときに前記携帯端末と通信して第1認証用情報を取得し、該第1認証用情報を記憶部に登録する登録部と、前記エネルギー消費機器制御装置が前記制御要求を受信したときに該制御要求を解析することで該制御要求中に組み込まれた第2認証用情報を取得する解析部と、該解析部が取得した前記第2認証用情報と前記登録部が登録した前記第1認証用情報との双方が一致するか否かを判定する判定部と、前記双方が一致すると前記判定部が判定したときに限り、前記制御要求に基づいて前記運転状態を制御する制御実行部と、を備えることにより解決される。   According to the energy consuming equipment control device of the present invention, the problem is that the energy consumption used in the building based on the control request installed in the building and transmitted from the mobile terminal outside the building. An energy consuming device control device that controls an operation state of a device, wherein the energy consuming device control device and the portable terminal communicate with the portable terminal when the energy consuming device control apparatus and the portable terminal are communicable with each other in the building. A registration unit that acquires authentication information and registers the first authentication information in a storage unit, and the control request is being analyzed by analyzing the control request when the energy consuming equipment control device receives the control request. Whether or not both of the analysis unit that acquires the second authentication information incorporated in the first authentication information and the second authentication information acquired by the analysis unit and the first authentication information registered by the registration unit A determination unit, only when said judging unit with both match is determined, is solved by providing a control execution unit that controls the operating state on the basis of the control request.

上述した本発明のエネルギー消費機器制御装置の構成では、建物内のエネルギー消費機器を建物外にある携帯端末からの制御要求に応じて制御するにあたって端末認証を行うことになっており、その認証用の情報のうち、エネルギー消費機器制御装置側に登録されるものは、建物内においてエネルギー消費機器制御装置と携帯端末とが互いに通信可能な状態にあるときに取得される。つまり、携帯端末側から認証用情報をエネルギー消費機器制御装置に送信して同情報を登録する処理は、携帯端末が建物内にあるときに行われるため、建物への入出が許可されている者のみが上記の認証用情報の登録を行い得ることになる。ゆえに、建物外に居る者がエネルギー消費機器制御装置に対して不正にアクセスして自己の端末の認証用情報を登録させるような事態を回避することが可能となる。この結果、エネルギー消費機器制御装置側に登録された認証用情報と端末からの制御要求中に組み込まれた認証用情報とを比較して端末認証を行う場合に、その信頼性を高めることが可能となる。   In the configuration of the energy consuming equipment control device of the present invention described above, terminal authentication is performed when controlling the energy consuming equipment in the building in response to a control request from a portable terminal outside the building. The information registered on the energy consuming equipment control device side is acquired when the energy consuming equipment control device and the portable terminal are in a communicable state in the building. In other words, since the process of transmitting authentication information from the mobile terminal side to the energy consuming equipment control device and registering the information is performed when the mobile terminal is in the building, those who are permitted to enter and exit the building Only the above authentication information can be registered. Therefore, it is possible to avoid a situation where a person outside the building illegally accesses the energy consuming equipment control device and registers the authentication information of his / her terminal. As a result, it is possible to increase the reliability when performing terminal authentication by comparing authentication information registered on the energy consuming equipment control device side with authentication information incorporated in the control request from the terminal. It becomes.

また、上記の構成において、前記エネルギー消費機器制御装置は、前記建物内に構築された通信ネットワークを介して前記エネルギー消費機器を含む前記建物内の通信対象機器と通信可能であり、前記登録部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあるときに前記携帯端末と通信して前記第1認証用情報を取得すると、好適である。
より具体的には、前記登録部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあり、かつ、前記携帯端末のユーザにより前記第1認証用情報として入力された文字列情報を前記エネルギー消費機器制御装置に向けて配信するためのプログラムが前記携帯端末において起動しているときに前記携帯端末と通信して前記第1認証用情報としての前記文字列情報を取得し、前記解析部は、前記制御要求を解析することで、前記携帯端末が前記制御要求中に組み込んだ前記第2認証用情報としての文字列情報を取得するとよい。
以上の構成であれば、建物内に構築された通信ネットワークを介してエネルギー消費機器制御装置と通信可能なエリア内に携帯端末が入らない限り、当該端末の認証用情報をエネルギー消費機器制御装置に入力することができないことになる。この結果、端末認証の信頼性をより高めることが可能となる。
Further, in the above configuration, the energy consuming device control device can communicate with a communication target device in the building including the energy consuming device via a communication network constructed in the building, and the registration unit When the portable terminal is in an area communicable with the energy consuming device control apparatus via the communication network in the building, it is preferable that the first authentication information is acquired by communicating with the portable terminal. is there.
More specifically, the registration unit is in an area where the portable terminal can communicate with the energy consuming device control apparatus via the communication network in the building, and the user of the portable terminal The first authentication information is communicated with the portable terminal when a program for distributing the character string information input as the one authentication information to the energy consuming device control device is activated in the portable terminal. And the analysis unit may acquire the character string information as the second authentication information incorporated in the control request by the mobile terminal by analyzing the control request. .
With the above configuration, unless the mobile terminal enters the area that can communicate with the energy consuming device control device via the communication network built in the building, the authentication information of the terminal is stored in the energy consuming device control device. You will not be able to enter. As a result, the reliability of terminal authentication can be further increased.

また、上記の構成において、前記エネルギー消費機器制御装置は、前記建物としての住宅内に設置され、該住宅内で使用される前記エネルギー消費機器としての電気機器の運転状態を制御するホームサーバであり、前記登録部は、前記携帯端末が前記住宅内に構築された前記通信ネットワークとしての宅内ネットワークを介して前記ホームサーバと通信可能なエリア内にあり、かつ、前記プログラムが前記携帯端末において起動しているときに前記携帯端末と通信して前記第1認証用情報としての前記文字列情報を取得することとしてもよい。
以上の構成であれば、ホームサーバを通じて宅内の電気機器を遠隔制御する構成において、ホームサーバ側に登録された認証用情報と端末からの制御要求中に組み込まれた認証用情報とを比較して端末認証をするときの信頼性を向上させることが可能となる。
Further, in the above configuration, the energy consuming equipment control device is a home server that is installed in a house as the building and controls an operating state of the electrical equipment as the energy consuming equipment used in the house. The registration unit is in an area where the mobile terminal can communicate with the home server via a home network as the communication network built in the house, and the program is started on the mobile terminal. The character string information as the first authentication information may be acquired by communicating with the portable terminal.
With the above configuration, in the configuration where the home electrical device is remotely controlled through the home server, the authentication information registered on the home server side is compared with the authentication information incorporated in the control request from the terminal. It is possible to improve the reliability when performing terminal authentication.

また、上記の構成において、前記建物内で使用される前記エネルギー消費機器が複数存在するときに、前記携帯端末と通信して、複数の前記エネルギー消費機器の各々に対して付与された機器識別情報を前記携帯端末に向けて配信する配信部を更に備え、該配信部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあるときに、前記携帯端末と通信して前記機器識別情報を前記携帯端末に向けて配信し、前記解析部は、前記制御要求を解析することで、該制御要求中に組み込まれた前記第2認証用情報、制御対象となる前記エネルギー消費機器の前記機器識別情報、及び、制御条件を示す制御条件情報を取得し、前記制御実行部は、複数の前記エネルギー消費機器のうち、前記解析部が取得した前記機器識別情報に対応する機器の運転状態を、前記解析部が取得した前記制御条件情報が示す前記制御条件に従って制御すると、好適である。
以上の構成であれば、建物内に構築された通信ネットワークを介してエネルギー消費機器制御装置と通信可能なエリア内に携帯端末が入らない限り、当該端末の認証用情報をエネルギー消費機器制御装置に入力することができないことに加え、制御要求を発信するのに必要な機器識別情報を取得することができないことになる。つまり、建物の関係者以外の者は、自己の端末の認証用情報を入力することができず、さらに機器識別情報を欠くために制御要求を送ることもできないようになる。すなわち、上記の構成を採用すれば、建物の関係者以外の者がエネルギー消費機器制御装置に不正にアクセスして勝手に電気機器を遠隔操作する事態をより効果的に回避することが可能となる。
Further, in the above configuration, when there are a plurality of the energy consuming devices used in the building, the device identification information given to each of the plurality of the energy consuming devices by communicating with the mobile terminal Is distributed to the portable terminal, and the distribution unit is located in an area where the portable terminal is communicable with the energy consuming device control apparatus via the communication network in the building. The second authentication information incorporated in the control request by communicating with the mobile terminal and distributing the device identification information to the mobile terminal, and the analysis unit analyzing the control request Acquiring the device identification information of the energy consuming device to be controlled and control condition information indicating a control condition, and the control execution unit includes a plurality of the energy consuming devices Among them, the operating state of the device corresponding to the device identification information which the analysis unit has acquired, when the analyzing unit is controlled according to the control condition indicated by the acquired control condition information, which is preferable.
With the above configuration, unless the mobile terminal enters the area that can communicate with the energy consuming device control device via the communication network built in the building, the authentication information of the terminal is stored in the energy consuming device control device. In addition to being unable to input, device identification information necessary for transmitting a control request cannot be acquired. That is, a person other than the person concerned in the building cannot input authentication information of his / her terminal, and further cannot send a control request due to lack of device identification information. That is, if the above configuration is adopted, it is possible to more effectively avoid a situation in which a person other than the person concerned in the building illegally accesses the energy consuming equipment control device and remotely operates the electrical equipment without permission. .

また、上記の構成において、前記制御要求としての制御要求メールを外部通信ネットワーク経由で受信する制御要求メール受信部を更に備え、該制御要求メール受信部は、前記携帯端末から送信された前記制御要求メールを一時的に保存するメールサーバと前記外部通信ネットワークを介して定期的に通信し、前記メールサーバに保存されている前記制御要求メールを受信すると、好適である。
以上の構成であれば、定期的にメールサーバと通信して制御要求メールの有無を確認するので、認証済みの携帯端末から制御要求があったときには当該要求に応じた機器制御が確実に実行されるようになる。
In the above configuration, the control request mail receiving unit that receives the control request mail as the control request via an external communication network is further provided, and the control request mail receiving unit transmits the control request mail transmitted from the mobile terminal. It is preferable to periodically communicate with a mail server that temporarily stores mail via the external communication network and receive the control request mail stored in the mail server.
With the above configuration, since the communication with the mail server is periodically confirmed to check for the presence of the control request mail, when there is a control request from the authenticated portable terminal, the device control according to the request is surely executed. Become so.

また、前述した課題は、本発明のエネルギー消費機器制御方法によれば、建物内に設置されたエネルギー消費機器制御装置が前記建物の外にある携帯端末から送信された制御要求に基づいて前記建物内で使用されるエネルギー消費機器の運転状態を制御するエネルギー消費機器制御方法であって、前記建物内において前記エネルギー消費機器制御装置と前記携帯端末とが互いに通信可能な状態にあるときに前記エネルギー消費機器制御装置が前記携帯端末と通信して第1認証用情報を取得し、該第1認証用情報を記憶部に登録する工程と、前記エネルギー消費機器制御装置が前記制御要求を受信したときに該制御要求を解析することで該制御要求中に組み込まれた第2認証用情報を取得する工程と、取得した前記第2認証用情報と登録した前記第1認証用情報との双方が一致するか否かを前記エネルギー消費機器制御装置が判定する工程と、前記双方が一致すると判定したときに限り、前記エネルギー消費機器制御装置が前記制御要求に基づいて前記運転状態を制御する工程と、を備えることにより解決される。
上記の方法では、端末認証用の情報としてエネルギー消費機器制御装置側に登録されるものは、建物内においてエネルギー消費機器制御装置と携帯端末とが互いに通信可能な状態にあるときに取得されるので、建物外に居る者がエネルギー消費機器制御装置に対して不正にアクセスして自己の端末の認証用情報を入力するような事態を回避することが可能となる。これにより、エネルギー消費機器制御装置側に登録された認証用情報と端末からの制御要求中に組み込まれた認証用情報とを比較して端末認証を行う場合に、その信頼性を高めることが可能となる。
Further, according to the energy consuming equipment control method of the present invention, the above-described problem is that the energy consuming equipment control device installed in the building is based on a control request transmitted from a portable terminal outside the building. An energy consuming device control method for controlling an operating state of an energy consuming device used in a building, wherein the energy consuming device control device and the portable terminal are in a state where they can communicate with each other in the building. The consumer device control device communicates with the mobile terminal to obtain first authentication information, registers the first authentication information in the storage unit, and the energy consumer device control device receives the control request. A step of acquiring the second authentication information incorporated in the control request by analyzing the control request, and before registering the acquired second authentication information Only when the energy consuming device control device determines whether or not both of the first authentication information and the first authentication information match, the energy consuming device control device is based on the control request. And the step of controlling the operating state.
In the above method, what is registered on the energy consuming device control device side as information for terminal authentication is acquired when the energy consuming device control device and the portable terminal are in a communicable state in the building. It is possible to avoid a situation where a person outside the building illegally accesses the energy consuming equipment control device and inputs authentication information of his / her terminal. This makes it possible to increase the reliability when performing terminal authentication by comparing authentication information registered on the energy consuming equipment control device side with authentication information incorporated in the control request from the terminal. It becomes.

本発明のエネルギー消費機器制御装置及びエネルギー消費機器制御方法によれば、エネルギー消費機器制御装置側に登録された認証用情報と端末からの制御要求中に組み込まれた認証用情報とを比較して端末認証を行う場合に、その信頼性を高めることが可能となる。すなわち、本発明のエネルギー消費機器制御装置及びエネルギー消費機器制御方法により、建物の関係者以外の者がエネルギー消費機器制御装置に不正にアクセスして勝手に電気機器を遠隔操作する事態を効果的に回避することが可能となる。   According to the energy consuming equipment control device and the energy consuming equipment control method of the present invention, the authentication information registered on the energy consuming equipment control device side is compared with the authentication information incorporated in the control request from the terminal. When terminal authentication is performed, the reliability can be increased. That is, according to the energy consuming equipment control device and the energy consuming equipment control method of the present invention, it is possible to effectively prevent a person other than the person concerned in the building from illegally accessing the energy consuming equipment control device and remotely operating the electrical equipment without permission. It can be avoided.

本発明のエネルギー消費機器制御装置を含む制御システムの概念図である。It is a conceptual diagram of the control system containing the energy consuming equipment control apparatus of this invention. 本発明の一実施形態に係るエネルギー消費機器制御装置及び携帯端末のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the energy consuming equipment control apparatus which concerns on one Embodiment of this invention, and a portable terminal. 本発明の一実施形態に係るエネルギー消費機器制御装置及び携帯端末の各々の構成を機能面から説明した図である。It is the figure explaining each structure of the energy consuming equipment control apparatus which concerns on one Embodiment of this invention, and a portable terminal from the functional surface. 記憶部に記憶された情報の一例を示す図である。It is a figure which shows an example of the information memorize | stored in the memory | storage part. 初期設定の手順を示す図である。It is a figure which shows the procedure of initial setting. 初期設定用の操作画面の一例を示す図である。It is a figure which shows an example of the operation screen for initial setting. 機器制御処理の流れを示す概略図である。It is the schematic which shows the flow of an apparatus control process. 機器制御用の操作画面の一例を示す図である。It is a figure which shows an example of the operation screen for apparatus control. 制御要求メールの一例を示す図である。It is a figure which shows an example of a control request mail. エネルギー消費機器制御装置と携帯端末との間でメールの送受信を行うための設定情報の一例を示す図である。It is a figure which shows an example of the setting information for performing transmission / reception of mail between an energy consuming apparatus control apparatus and a portable terminal. 機器制御処理においてエネルギー消費機器制御装置側で行われる工程の流れを示す図である。It is a figure which shows the flow of the process performed by the energy consuming apparatus control apparatus side in an apparatus control process. 機器毎の制御条件とその制御内容との対応関係を示す図である。It is a figure which shows the correspondence of the control conditions for every apparatus, and its control content.

以下、本発明の一実施形態(以下、本実施形態)について図面を参照しながら説明する。
なお、以下では、住宅内で使用されるエネルギー消費機器、特に電気機器を制御するケースを具体例に挙げて説明することとする。ただし、あくまでも住宅は建物の一例に過ぎず、本発明は、住宅以外の建物、例えば商業ビル、工場内の建屋、店舗等において使用される電気機器を制御する場合にも適用可能である。また、本明細書において、住宅とは、一戸建ての家の他、マンションのような集合住宅における一部屋も含む概念である。
Hereinafter, an embodiment of the present invention (hereinafter, this embodiment) will be described with reference to the drawings.
In the following, a case of controlling an energy consuming device used in a house, particularly an electric device will be described as a specific example. However, a house is merely an example of a building, and the present invention can be applied to a case of controlling an electric device used in a building other than a house, such as a commercial building, a building in a factory, a store, or the like. In addition, in this specification, the term “house” is a concept that includes a single-family house as well as a single room in an apartment house such as a condominium.

<<エネルギー消費機器制御システムの概要>>
先ず、図1を参照しながら、本実施形態に係るエネルギー消費機器制御装置を含むシステム、すなわち、エネルギー消費機器制御システム(以下、本システム)Sについて、その概要を説明する。図1は、本システムSの概念図である。
本システムSは、宅内で使用されるエネルギー消費機器としての電気機器(以下、家電機器)を宅外から遠隔操作するためのものであり、図1に示すように、エネルギー消費機器制御装置としてのホームサーバ10、メールサーバ20、携帯端末としてのユーザ端末30、及び、制御対象となる電気機器である家電機器C1、C2を主たる構成要素として備えている。
<< Overview of Energy Consumption Equipment Control System >>
First, an outline of a system including an energy consuming equipment control device according to the present embodiment, that is, an energy consuming equipment control system (hereinafter, this system) S will be described with reference to FIG. FIG. 1 is a conceptual diagram of the system S.
This system S is for remotely operating an electric device (hereinafter referred to as a home appliance) as an energy consuming device used in a house from outside the house, and as shown in FIG. The main server 10, the mail server 20, a user terminal 30 as a mobile terminal, and home appliances C 1 and C 2 that are electric devices to be controlled are provided as main components.

より具体的に説明すると、住宅の居住者は、外出時に家電機器C1、C2の運転状態を切り替えるために、自己が保有するユーザ端末30を通じて制御要求メールをホームサーバ10に向けて送信する。ここで、制御要求メールは、家電機器C1、C2の運転状態を制御するためにユーザ端末30にインストールされた専用アプリケーションプログラム(以下、制御用アプリ)を起動した上で所定の入力操作を行うことによって作成され送信される。ちなみに、家電機器C1、C2の運転状態とは、発停(オンオフ)、冷房や暖房等の運転モード、設定温度等の運転管理値など、運転に関して制御可能な項目についての現状を示す概念である。   More specifically, the resident of the house transmits a control request mail to the home server 10 through the user terminal 30 owned by the resident in order to switch the operation state of the home appliances C1 and C2 when going out. Here, the control request mail performs a predetermined input operation after starting a dedicated application program (hereinafter, control application) installed in the user terminal 30 in order to control the operation state of the home appliances C1 and C2. Created and sent by Incidentally, the operation state of the home appliances C1 and C2 is a concept indicating the current state of items that can be controlled with respect to operation such as on / off, operation modes such as cooling and heating, operation management values such as set temperatures, and the like. .

なお、ユーザ端末30は、タブレットやPDA、スマートフォン、ノートパソコン、操作パネルのように携帯可能な通信端末であり、メール送受信機能等、一般的な携帯端末が備えている機能を搭載している。そして、ユーザ端末30は、そのユーザである住宅の居住者による入力操作を受け付けて所定の処理を実行する。以下では、ユーザ端末30がスマートフォンからなるケースを例に挙げて説明する。   Note that the user terminal 30 is a portable communication terminal such as a tablet, PDA, smartphone, notebook computer, or operation panel, and is equipped with a function that a general portable terminal has, such as a mail transmission / reception function. And the user terminal 30 receives the input operation by the resident of the house which is the user, and performs a predetermined | prescribed process. Hereinafter, a case where the user terminal 30 is a smartphone will be described as an example.

制御要求メールが送信されると、住宅内に設置されたホームサーバ10がメールサーバ20を介して制御要求メールを受信する。その後、ホームサーバ10は、受信した制御要求メールを解析した上で、同メールの文面に応じて宅内の家電機器C1、C2の運転状態を制御する。   When the control request mail is transmitted, the home server 10 installed in the house receives the control request mail via the mail server 20. Thereafter, the home server 10 analyzes the received control request mail, and controls the operation state of the home appliances C1 and C2 in the house according to the text of the mail.

ホームサーバ10について概説すると、ホームサーバ10は、住宅内においてHEMS(Home Energy Management System)を構成しており、住宅内に構築された通信ネットワーク、すなわち宅内ネットワークTNを通じて宅内の家電機器C1、C2と通信可能である。なお、本実施形態に係るホームサーバ10は、ECHONET LITE(登録商標。以下同じ)と呼ばれる通信プロトコルにて各家電機器C1、C2と通信する。ただし、通信プロトコルについては、ECHONET LITEに限定されるものではなく、他の通信プロトコル(例えば、ECHONET(登録商標))を採用することとしてもよい。   When the home server 10 is outlined, the home server 10 constitutes a home energy management system (HEMS) in the home, and the home appliances C1 and C2 in the home through a communication network built in the home, that is, the home network TN. Communication is possible. Note that the home server 10 according to the present embodiment communicates with each of the home appliances C1 and C2 using a communication protocol called ECHONET LITE (registered trademark, hereinafter the same). However, the communication protocol is not limited to ECHONET LITE, and other communication protocols (for example, ECHONET (registered trademark)) may be adopted.

また、本実施形態では、宅内ネットワークTNを通じてホームサーバ10と通信可能な家電機器C1、C2(換言すると、ホームサーバ10による制御の対象となる機器)が宅内に複数設置されており、図1ではその一例としてエアコン及び照明機器が図示されている。ただし、制御対象となる家電機器C1、C2の台数や種類については、特に制限がなく任意に設定することが可能である。
また、本実施形態では、家電機器C1、C2間で通信プロトコルが共通しており、いずれの機器においても上述のECHONET LITEが採用されている。ただし、これに限定されるものではなく、家電機器C1、C2間で採用される通信プロトコルが異なっていることとしてもよい。
In the present embodiment, a plurality of home appliances C1 and C2 (in other words, devices to be controlled by the home server 10) that can communicate with the home server 10 through the home network TN are installed in the home. As an example, an air conditioner and a lighting device are shown. However, the number and type of household electrical appliances C1 and C2 to be controlled are not particularly limited and can be arbitrarily set.
In the present embodiment, the home appliances C1 and C2 have a common communication protocol, and the above-described ECHONET LITE is adopted in both devices. However, it is not limited to this, It is good also as the communication protocol employ | adopted between household appliances C1 and C2.

そして、ホームサーバ10は、制御要求メールを受信すると、制御要求メールを解析して制御対象となる家電機器C1、C2及び制御条件を特定する。その上で、ホームサーバ10は、宅内ネットワークTNを通じて特定した制御対象機器と通信し、同機器の運転状態を特定した制御条件に従って制御する。   Then, when receiving the control request mail, the home server 10 analyzes the control request mail and specifies the home appliances C1 and C2 to be controlled and the control conditions. Then, the home server 10 communicates with the control target device specified through the home network TN and controls the operation state of the device according to the specified control condition.

なお、本実施形態に係るホームサーバ10は、家電機器C1、C2の運転状態を制御する処理(以下、機器制御処理)をホームサーバ10に実行させるためのAPI(Application Program Interface)を提供しており、ユーザ端末30にインストールされた制御用アプリでは、上記のAPIが利用されている。これにより、制御用アプリの開発者は、制御用アプリの開発時に、家電機器C1、C2の通信プロトコルを意識することなく一般的なWeb通信プログラムの開発手法にて制御用アプリを開発することが可能となる。   Note that the home server 10 according to the present embodiment provides an API (Application Program Interface) for causing the home server 10 to execute processing for controlling the operation state of the home appliances C1 and C2 (hereinafter, device control processing). In the control application installed in the user terminal 30, the above API is used. As a result, the developer of the control application can develop the control application using a general Web communication program development method without being aware of the communication protocol of the home appliances C1 and C2 when developing the control application. It becomes possible.

また、制御用アプリを実行するユーザ端末30側でも、機器制御処理の実行をホームサーバ10に対して要求するために制御要求メールを送信する際に上記のAPIを用いることで、メール文面を通信プロトコルに応じた形式に整える必要がなく比較的簡易的な電文形式とすることが可能となる。   In addition, the user terminal 30 that executes the control application also communicates the mail text by using the above API when sending the control request mail to request the home server 10 to execute the device control process. It is not necessary to arrange the format according to the protocol, and a relatively simple message format can be obtained.

また、制御対象とされた家電機器C1、C2側では、運転状態の制御が完了すると、ホームサーバ10に向けて制御完了を示す情報が送信される。当該情報を受け取ったホームサーバ10は、制御完了を通知する旨のメール(以下、確認メール)を作成し、当該確認メールを制御要求メールの送信元であるユーザ端末30に向けて送信する。ユーザ端末30は、メールサーバ20を介して上記の確認メールを受信し、同メールの文面を見たユーザ端末30の保有者である居住者は、制御要求に係る家電機器C1、C2の運転状態が所望の状態に切り替わったことを確認することが可能である。   In addition, on the home appliances C1 and C2 side to be controlled, information indicating the completion of control is transmitted to the home server 10 when the control of the driving state is completed. Receiving the information, the home server 10 creates a mail notifying that the control is completed (hereinafter referred to as a confirmation mail), and transmits the confirmation mail to the user terminal 30 that is the transmission source of the control request mail. The user terminal 30 receives the above confirmation mail via the mail server 20, and the resident who is the owner of the user terminal 30 who sees the text of the mail is the operating state of the home appliances C1 and C2 related to the control request. Can be confirmed to have switched to the desired state.

以上までに説明してきたように、本システムSによれば、住宅の居住者は、外出時に自己が保有する端末(すなわち、ユーザ端末30)を通じて宅内の家電機器C1、C2を遠隔操作することが可能である。一方、本システムSのような遠隔操作システムでは、不埒な他人、具体的には居住者以外の者がホームサーバ10に不正にアクセスして勝手に家電機器C1、C2を遠隔制御されてしまうために同機器C1、C2が破損したり秘密が漏洩したりするという事態を未然に回避することが必要となる。本システムSでは、このようなセキュリティ上の問題に対応するための措置が講じられており、その詳細については後述することとする。   As described above, according to the present system S, the resident of the house can remotely control the home appliances C1 and C2 in the home through a terminal (that is, the user terminal 30) that he / she owns when going out. Is possible. On the other hand, in a remote operation system such as the present system S, an unscrupulous person, specifically a person other than a resident, illegally accesses the home server 10 and remotely controls the home appliances C1 and C2. It is necessary to avoid the situation where the devices C1 and C2 are damaged or the secret is leaked. In the present system S, measures are taken to cope with such a security problem, and details thereof will be described later.

<<ホームサーバ及びユーザ端末の構成について>>
次に、ホームサーバ10及びユーザ端末30の構成について、図2を参照しながら説明する。図2は、本実施形態に係るホームサーバ10及びユーザ端末30のハードウェア構成を示す図である。
ホームサーバ10は、いわゆるホームゲートウェイから構成されており、図2に示すように、CPU10a、メモリ10b、通信用インタフェース10c及びハードディスクドライブ(図2中、HDDと表記)10dを有する。なお、ホームサーバ10には、制御要求メールの受信を契機として機器制御処理を実行するプログラム(以下、機器制御処理プログラム)がインストールされている。
<< About the configuration of home server and user terminal >>
Next, configurations of the home server 10 and the user terminal 30 will be described with reference to FIG. FIG. 2 is a diagram illustrating a hardware configuration of the home server 10 and the user terminal 30 according to the present embodiment.
The home server 10 includes a so-called home gateway, and includes a CPU 10a, a memory 10b, a communication interface 10c, and a hard disk drive (denoted as HDD in FIG. 2) 10d as shown in FIG. The home server 10 is installed with a program for executing device control processing (hereinafter referred to as device control processing program) upon receipt of the control request mail.

また、ホームサーバ10は、宅内ネットワークTNを通じて宅内の家電機器C1、C2を含む通信対象機器と通信可能であり、また、ユーザ端末30が宅内ネットワークTNの対応エリア内に入ったときにはユーザ端末30と通信することも可能である。ここで、宅内ネットワークTNの対応エリアとは、住宅内において宅内ネットワークTNを介してホームサーバ10と通信可能となるエリアのことである。なお、本実施形態に係る宅内ネットワークTNは、例えば無線LANネットワークにより構成されている。   The home server 10 can communicate with the communication target devices including the home electrical appliances C1 and C2 through the home network TN, and when the user terminal 30 enters the corresponding area of the home network TN, It is also possible to communicate. Here, the corresponding area of the home network TN is an area that can communicate with the home server 10 via the home network TN in a house. Note that the home network TN according to the present embodiment is configured by, for example, a wireless LAN network.

また、ホームサーバ10は、インターネット等からなる外部通信ネットワークUNを介して外部通信ネットワークUNに接続された機器と通信することが可能であり、例えば、図1に図示したメールサーバ20と通信することが可能である。このメールサーバ20は、ユーザ端末30から送信された制御要求メールやホームサーバ10から送信された確認メールを一時的に保存しておくために設置されたサーバであり、POP/STMPサーバである。   The home server 10 can communicate with a device connected to the external communication network UN via an external communication network UN such as the Internet. For example, the home server 10 communicates with the mail server 20 illustrated in FIG. Is possible. The mail server 20 is a server installed to temporarily store a control request mail transmitted from the user terminal 30 and a confirmation mail transmitted from the home server 10, and is a POP / STMP server.

一方、ユーザ端末30は、前述したように、スマートフォンにより構成されており、図2に示すように、CPU30a、メモリ30b、通信用インタフェース30c及びタッチパネル30dを備えている。なお、ユーザ端末30には、前述したように制御用アプリがインストールされている。
また、ユーザ端末30は、モバイル通信回線(図2中、破線にて示す)を通じてメール等の情報を送受信する。なお、ユーザ端末30が送受信するメール(具体的には、制御要求メールや確認メール)は、前述したように、メールサーバ20に一時的に保存される。
On the other hand, as described above, the user terminal 30 is configured by a smartphone, and includes a CPU 30a, a memory 30b, a communication interface 30c, and a touch panel 30d as illustrated in FIG. Note that the control application is installed in the user terminal 30 as described above.
Further, the user terminal 30 transmits and receives information such as mail through a mobile communication line (indicated by a broken line in FIG. 2). Note that mails (specifically, control request mails and confirmation mails) transmitted and received by the user terminal 30 are temporarily stored in the mail server 20 as described above.

以上までに説明してきたホームサーバ10及びユーザ端末30の構成について、以降、図3を参照しつつ機能面から改めて説明することとする。図3は、本実施形態に係るホームサーバ10及びユーザ端末30の各々の構成を機能面から説明した図である。
先ず、ホームサーバ10について説明すると、ホームサーバ10に搭載された機能を担う部分としては、図3に示すように、制御要求メール受信部11、サーバ側記憶部12、認証用情報登録部13、機器識別情報配信部14、メール解析部15、端末認証部16、制御実行部17、制御完了確認部18及び確認メール送信部19が挙げられる。これらは、ホームサーバ10のCPU10a、メモリ10b、通信用インタフェース10c及びハードディスクドライブ10d、並びに、ホームサーバ10にインストールされた機器制御処理プログラムが協働することにより構成されている。
Hereinafter, the configurations of the home server 10 and the user terminal 30 described above will be described again from the functional aspect with reference to FIG. FIG. 3 is a diagram illustrating the configuration of each of the home server 10 and the user terminal 30 according to the present embodiment in terms of functions.
First, the home server 10 will be described. As shown in FIG. 3, as a part responsible for functions installed in the home server 10, a control request mail receiving unit 11, a server-side storage unit 12, an authentication information registration unit 13, A device identification information distribution unit 14, a mail analysis unit 15, a terminal authentication unit 16, a control execution unit 17, a control completion confirmation unit 18, and a confirmation mail transmission unit 19 are included. These are configured by the cooperation of the CPU 10a of the home server 10, the memory 10b, the communication interface 10c and the hard disk drive 10d, and the device control processing program installed in the home server 10.

制御要求メール受信部11は、外部通信ネットワークUN経由でメールサーバ20に保存された制御要求メールを受信するものである。本実施形態において、制御要求メール受信部11は、メールサーバ20と外部通信ネットワークUNを介して定期的に通信して、メールサーバ20に保存された制御要求メールの中にホームサーバ10宛のメール(厳密には、送信先アドレスがホームサーバ10のアドレスに設定されたメール)が有るときに当該メールを受信してくる。なお、メールの有無を問い合わせるためにメールサーバ20にアクセスする間隔、すなわち、メール受信間隔については、自由に設定することが可能であるが、本実施形態では15分、30分、60分のいずれかに設定されている。   The control request mail receiver 11 receives the control request mail stored in the mail server 20 via the external communication network UN. In the present embodiment, the control request mail receiving unit 11 periodically communicates with the mail server 20 via the external communication network UN, and mail addressed to the home server 10 in the control request mail stored in the mail server 20. When there is (strictly speaking, a mail whose destination address is set to the address of the home server 10), the mail is received. Note that the interval at which the mail server 20 is accessed to inquire about the presence or absence of mail, that is, the mail reception interval, can be set freely. In this embodiment, any of 15 minutes, 30 minutes, and 60 minutes can be set. It is set to

サーバ側記憶部12は、記憶部に相当し、ホームサーバ10が取得した情報を記憶しておくものである。なお、サーバ側記憶部12に記憶された情報の中には、認証用情報登録部13により登録される端末ID情報や機器識別情報配信部14により配信される機器識別情報が含まれている。以下、図4を参照しながら、機器識別情報及び端末ID情報について説明する。図4は、サーバ側記憶部12に記憶された情報の一例を示す図である。   The server-side storage unit 12 corresponds to a storage unit and stores information acquired by the home server 10. The information stored in the server-side storage unit 12 includes terminal ID information registered by the authentication information registration unit 13 and device identification information distributed by the device identification information distribution unit 14. Hereinafter, the device identification information and the terminal ID information will be described with reference to FIG. FIG. 4 is a diagram illustrating an example of information stored in the server-side storage unit 12.

機器識別情報は、ホームサーバ10の制御対象となる宅内の家電機器C1、C2の各々を識別するために付与される情報であり、例えば、家電機器C1、C2を設置する時にホームサーバ10に登録される。機器識別情報の内容について詳しく説明すると、図4の(A)に示すように、各家電機器C1、C2の機器名、識別番号であるデバイスID、設置場所及び制御項目を含んでいる。制御項目とは、各家電機器C1、C2の運転状態に関して遠隔制御可能な事項、例えば、エアコンであればオンオフ、運転モード(暖房/冷房)、設定温度及び風量等が該当し、照明であればオンオフ、調色及び調光等が該当する。
なお、機器識別情報については、これに限定されるものではなく、上記の項目の一部が含まれていないこととしてもよく、あるいは、上記の項目以外の項目が含まれていることとしてもよい。
The device identification information is information that is given to identify each of the home electrical appliances C1 and C2 that are controlled by the home server 10, and is registered in the home server 10 when the home appliances C1 and C2 are installed, for example. Is done. The contents of the device identification information will be described in detail. As shown in FIG. 4A, the device names of each of the home appliances C1 and C2, device IDs that are identification numbers, installation locations, and control items are included. Control items include items that can be remotely controlled with respect to the operating state of each home appliance C1, C2, for example, on / off for an air conditioner, operation mode (heating / cooling), set temperature, air volume, etc. On-off, toning, dimming, etc. are applicable.
Note that the device identification information is not limited to this, and some of the above items may not be included, or items other than the above items may be included. .

端末ID情報は、ユーザ端末30を認証する際に用いられる情報であり、後述する初期設定持にホームサーバ10に登録される。端末ID情報の内容について詳しく説明すると、図4の(B)に示すように、認証用パスワード、ユーザ端末30から送信されたメールを受け取るメールサーバ(送信メールサーバ)、ユーザ端末30宛に送られたメールを受け取るメールサーバ(受信メールサーバ)、及び、メールアドレスの各々を示す文字列情報から構成されている。ここで、認証用パスワードを示す文字列情報は、本発明の第1認証用情報に相当し、後述する初期設定時に居住者がユーザ端末30を通じて入力した文字列を示すものである。   The terminal ID information is information used when authenticating the user terminal 30 and is registered in the home server 10 with an initial setting described later. The contents of the terminal ID information will be described in detail. As shown in FIG. 4B, the password for authentication, the mail server (sending mail server) that receives mail sent from the user terminal 30, and the user terminal 30 are sent. The mail server (received mail server) that receives the received mail and character string information indicating each of the mail addresses. Here, the character string information indicating the authentication password corresponds to the first authentication information of the present invention, and indicates the character string input by the resident through the user terminal 30 at the initial setting described later.

認証用情報登録部13は、登録部に相当し、後述する初期設定時にユーザ端末30と通信して上述した端末ID情報を取得し、サーバ側記憶部12に登録するものである。なお、前述したように、端末ID情報には第1認証用情報に相当する認証用パスワードの文字列情報が含まれているので、認証用情報登録部13は、ユーザ端末30と通信して第1認証用情報を取得して該第1認証用情報をサーバ側記憶部12に登録することになる。   The authentication information registering unit 13 corresponds to a registering unit, communicates with the user terminal 30 at the time of initial setting described later, acquires the terminal ID information described above, and registers it in the server-side storage unit 12. As described above, since the terminal ID information includes the character string information of the authentication password corresponding to the first authentication information, the authentication information registration unit 13 communicates with the user terminal 30 to One authentication information is acquired and the first authentication information is registered in the server-side storage unit 12.

機器識別情報配信部14は、配信部に相当し、後述する初期設定時にユーザ端末30と通信し、サーバ側記憶部12から読み出した機器識別情報をユーザ端末30に向けて配信するものである。そして、機器識別情報を受信したユーザ端末30は、ホームサーバ10により制御可能な家電機器C1、C2の各々について機器名、設置場所及び制御項目を認識するようになる。この結果、ユーザ端末30が制御要求メールを送信してホームサーバ10に機器制御処理の実行を要求するにあたり、図8に示すように、ユーザである居住者に対して制御対象となる候補の機器名とその設置場所を提示することが可能となる。その後、居住者が制御対象機器を指定するために行う入力操作を受け付けると、居住者に対して更に制御項目を提示し、各制御項目に対する居住者の入力操作(例えば、設定値の入力)を受け付けるようになる。   The device identification information distribution unit 14 corresponds to a distribution unit, communicates with the user terminal 30 during initial setting described later, and distributes the device identification information read from the server-side storage unit 12 toward the user terminal 30. And the user terminal 30 which received apparatus identification information comes to recognize an apparatus name, an installation place, and a control item about each of the household appliances C1 and C2 which can be controlled by the home server 10. FIG. As a result, when the user terminal 30 transmits a control request mail and requests the home server 10 to execute the device control process, as shown in FIG. It is possible to present the name and its location. After that, when the resident accepts an input operation for specifying the control target device, the control item is further presented to the resident, and the resident's input operation (for example, setting value input) for each control item is performed. Accept.

メール解析部15は、解析部に相当し、受信した制御要求メールを解析して、当該メールに組み込まれている各種情報を取得するものである。ここで、制御要求メールに組み込まれている情報には、メール送信元のユーザ端末30を識別するために付与された情報、当該制御要求メールにおいて制御対象とされている家電機器C1、C2の機器識別情報、及び、制御条件を示す制御条件情報が含まれている。これらの情報のうち、メール送信元のユーザ端末30を識別するために付与された情報は、本発明の第2認証用情報に相当し、具体的には、後述する初期設定時に居住者がユーザ端末30を通じて入力した認証用パスワードを示す文字列情報である。   The mail analysis unit 15 corresponds to an analysis unit, analyzes the received control request mail, and acquires various types of information incorporated in the mail. Here, the information incorporated in the control request mail includes information given to identify the user terminal 30 that is the mail transmission source, and appliances C1 and C2 that are controlled in the control request mail. Identification information and control condition information indicating a control condition are included. Among these pieces of information, the information given to identify the user terminal 30 that is the mail transmission source corresponds to the second authentication information of the present invention. Specifically, the resident is the user at the initial setting described later. This is character string information indicating an authentication password input through the terminal 30.

また、制御要求メールに組み込まれている情報のうち、制御対象とされた家電機器C1、C2の機器識別情報とは、居住者がユーザ端末30を通じて指定した家電機器C1、C2を識別するための情報、具体的には、居住者が指定した機器の識別番号、すなわち、デバイスIDを示す情報である。   In addition, among the information incorporated in the control request mail, the device identification information of the home appliances C1 and C2 that are controlled is for identifying the home appliances C1 and C2 designated by the resident through the user terminal 30. Information, specifically, an identification number of a device designated by a resident, that is, information indicating a device ID.

端末認証部16は、判定部に相当し、ホームサーバ10が制御要求メールを受信する度に端末認証処理を実行するものである。ここで、端末認証処理とは、認証用情報登録部13によりサーバ側記憶部12に登録された端末ID情報に含まれる認証用パスワードの文字列情報(第1認証用情報)、及び、メール解析部15が制御要求メールを解析して取得したユーザ端末30の識別情報である認証用パスワードの文字列情報(第2認証用情報)の双方が一致するか否かを判定する処理である。   The terminal authentication unit 16 corresponds to a determination unit, and executes terminal authentication processing each time the home server 10 receives a control request mail. Here, the terminal authentication processing is the character string information (first authentication information) of the authentication password included in the terminal ID information registered in the server-side storage unit 12 by the authentication information registration unit 13, and mail analysis. This is processing for determining whether or not both of the character string information (second authentication information) of the authentication password, which is the identification information of the user terminal 30 acquired by the unit 15 by analyzing the control request mail, match.

制御実行部17は、メール解析部15による解析結果に応じて、宅内の家電機器C1、C2の運転状態を制御するものである。具体的に説明すると、制御実行部17は、宅内にある複数の家電機器C1、C2のうち、メール解析部15が取得した機器識別情報が示すデバイスIDから対応する機器を特定するとともに、メール解析部15が取得した制御条件情報が示す制御条件を特定する。そして、制御実行部17は、特定した制御対象機器と宅内ネットワークTNを通じて通信し、特定した制御条件に従って運転状態が切り替わるような制御信号を上記機器に向けて出力する。   The control execution unit 17 controls the operating state of the home appliances C1 and C2 in the house according to the analysis result by the mail analysis unit 15. More specifically, the control execution unit 17 specifies a corresponding device from the device ID indicated by the device identification information acquired by the mail analysis unit 15 among the plurality of home appliances C1 and C2 in the home, and performs mail analysis. The control condition indicated by the control condition information acquired by the unit 15 is specified. Then, the control execution unit 17 communicates with the specified control target device through the home network TN, and outputs a control signal that switches the operation state according to the specified control condition to the device.

さらに、本実施形態において、制御実行部17は、端末認証部16が端末認証処理で比較対象とする2つの認証用パスワードの文字列情報が一致すると判定したときに限り、制御要求メールに基づいて家電機器C1、C2の運転状態を制御することとしている。つまり、本実施形態では、ユーザ端末30から送信された制御要求メールを受信したとき、端末認証処理で認証されたユーザ端末30からのメールでなければ、要求に応答せず機器制御処理の実行を拒否することとしている。   Further, in the present embodiment, the control execution unit 17 is based on the control request mail only when the terminal authentication unit 16 determines that the character string information of the two authentication passwords to be compared in the terminal authentication process matches. The operating state of the home appliances C1 and C2 is controlled. That is, in this embodiment, when the control request mail transmitted from the user terminal 30 is received, if the mail is not from the user terminal 30 authenticated by the terminal authentication process, the device control process is executed without responding to the request. I'm going to refuse.

制御完了確認部18は、制御対象となった家電機器C1、C2の運転状態を制御した後に同機器C1、C2から制御完了を示す情報を受信するものである。
確認メール送信部19は、制御完了確認部18が制御完了情報を受信したことを契機に、制御要求メールの送信元であるユーザ端末30に向けて確認メールを送信するものである。
The control completion confirmation unit 18 receives information indicating the completion of control from the devices C1 and C2 after controlling the operation state of the home appliances C1 and C2 to be controlled.
The confirmation mail transmission unit 19 transmits a confirmation mail to the user terminal 30 that is the transmission source of the control request mail when the control completion confirmation unit 18 receives the control completion information.

なお、ホームサーバ10については、上述した9つの機能以外の機能を備えていることとしてもよく、例えば、ユーザ端末30が宅内にあるか否かを検出する端末検出部、各家電機器C1、C2と定期的に通信して同機器C1、C2の現在の運転状態や消費電力を把握する状態把握部が備えられていることとしてもよい。   Note that the home server 10 may have functions other than the nine functions described above. For example, a terminal detection unit that detects whether or not the user terminal 30 is in the home, and each home appliance C1, C2 And a state grasping unit that grasps the current operating state and power consumption of the devices C1 and C2 periodically.

次に、ユーザ端末30について説明すると、ユーザ端末30に搭載された機能を担う部分としては、図3に示すように、入力操作受付部31、制御要求メール送信部32、端末側記憶部33、端末ID情報配信部34、機器識別情報取得部35及び確認メール受信部36が挙げられる。これらのうち、入力操作受付部31についてはユーザ端末30のタッチパネル30dにより構成されている。それ以外の部分、具体的には、制御要求メール送信部32、端末側記憶部33、端末ID情報配信部34、機器識別情報取得部35及び確認メール受信部36については、ユーザ端末30のCPU30a、メモリ30b及び通信用インタフェース30c、並びに、ユーザ端末30にインストールされた制御用アプリが協働することにより構成されている。   Next, the user terminal 30 will be described. As shown in FIG. 3, an input operation receiving unit 31, a control request mail transmitting unit 32, a terminal-side storage unit 33, and a part responsible for functions installed in the user terminal 30 are described. Examples include a terminal ID information distribution unit 34, a device identification information acquisition unit 35, and a confirmation mail reception unit 36. Among these, the input operation reception unit 31 is configured by the touch panel 30 d of the user terminal 30. For other parts, specifically, the control request mail transmission unit 32, the terminal side storage unit 33, the terminal ID information distribution unit 34, the device identification information acquisition unit 35, and the confirmation mail reception unit 36, the CPU 30a of the user terminal 30 The memory 30b, the communication interface 30c, and the control application installed in the user terminal 30 cooperate with each other.

入力操作受付部31は、ユーザである居住者がタッチパネル30dにて行う入力操作を受け付けるものである。なお、入力操作受付部31が受け付ける操作の中には、制御用アプリの起動操作、後述する初期設定時での認証用パスワードの入力操作、制御要求メールの送信に伴う入力操作が含まれている。   The input operation reception unit 31 receives an input operation performed by a resident who is a user on the touch panel 30d. The operations accepted by the input operation accepting unit 31 include a control application activation operation, an authentication password input operation at the time of initial setting described later, and an input operation associated with transmission of a control request mail. .

制御要求メール送信部32は、入力操作受付部31が所定の入力操作を受け付けた時点で制御要求メールを作成しホームサーバ10に向けて送信するものである。より具体的に説明すると、居住者がタッチパネル30dにて制御対象とする家電機器C1、C2及び制御条件を指定すると、制御要求メール送信部32は、その指定結果を示す情報を組み込んだ形で制御要求メールを作成する。また、このとき、制御要求メール送信部32は、後述する端末側記憶部33に記憶された認証用パスワードの文字列情報を読み出し、当該文字列情報も組み込んだ形で制御要求メールを作成する。   The control request mail transmission unit 32 creates a control request mail and transmits it to the home server 10 when the input operation reception unit 31 receives a predetermined input operation. More specifically, when the resident designates the home appliances C1 and C2 to be controlled and the control conditions on the touch panel 30d, the control request mail transmission unit 32 performs control in a form incorporating information indicating the designation result. Create a request email. At this time, the control request mail transmitting unit 32 reads the character string information of the authentication password stored in the terminal-side storage unit 33 described later, and creates the control request mail in a form that incorporates the character string information.

さらに、本実施形態では、制御要求メール送信部32が制御要求メールをホームサーバ10に向けて送信するにあたり、ホームサーバ10が提供する前述のAPIを利用することとしている。これにより、制御要求メール送信部32が制御要求メールを作成する際には、比較的簡易的な電文形式にて作成することが可能となる。なお、制御要求メールの文面等については、後に詳しく説明する。   Furthermore, in the present embodiment, when the control request mail transmitting unit 32 transmits the control request mail to the home server 10, the above-described API provided by the home server 10 is used. Thereby, when the control request mail transmitting unit 32 creates the control request mail, it can be created in a relatively simple message format. The text of the control request mail will be described in detail later.

端末側記憶部33は、ユーザ端末30が取得した情報を記憶しておくものである。端末側記憶部33に記憶された情報の中には、端末ID情報配信部34が配信する端末ID情報、及び、機器識別情報取得部35がホームサーバ10から取得した機器識別情報が含まれている。   The terminal-side storage unit 33 stores information acquired by the user terminal 30. The information stored in the terminal-side storage unit 33 includes the terminal ID information distributed by the terminal ID information distribution unit 34 and the device identification information acquired from the home server 10 by the device identification information acquisition unit 35. Yes.

端末ID情報については、既に説明したように、図4の(B)に示す内容、すなわち、認証用パスワード、送信メールサーバ、受信メールサーバ及びメールアドレスの各々を示す文字列情報から構成されている。これらの文字列情報の中で、認証用パスワードを示す文字列情報は、後述する初期設定時において居住者がユーザ端末30を通じて入力した文字列を入力操作受付部31が受け付けることで端末側記憶部33に記憶される。また、送信メールサーバ、受信メールサーバ及びメールアドレスについては、各々を示す文字列情報が、例えば、ユーザ端末30の購入契約時に設定されて端末側記憶部33に登録される。   As described above, the terminal ID information is composed of the contents shown in FIG. 4B, that is, character string information indicating each of the authentication password, the outgoing mail server, the incoming mail server, and the mail address. . Among these character string information, the character string information indicating the authentication password is stored in the terminal-side storage unit by the input operation receiving unit 31 receiving the character string input by the resident through the user terminal 30 at the initial setting described later. 33. For the outgoing mail server, the incoming mail server, and the mail address, character string information indicating each is set, for example, at the time of purchase contract of the user terminal 30 and registered in the terminal-side storage unit 33.

機器識別情報については、既に説明したように、図4の(A)に示す内容、すなわち、宅内にある遠隔制御可能な家電機器C1、C2の機器名、デバイスID、設置場所及び制御項目から構成されている。この機器識別情報が端末側記憶部33に記憶されると、以降に制御要求メールを作成する際に、入力操作受付部31が機器識別情報を端末側記憶部33から読み出す。そして、入力操作受付部31は、タッチパネル30dに入力画面を表示して制御要求メール作成に必要な情報の入力を受け付けるにあたり、図8に示すように、制御対象となる候補の機器名とその設置場所を提示し、制御対象機器の指定後には、制御項目を提示するようになる。   As already described, the device identification information includes the contents shown in FIG. 4A, that is, the device names, device IDs, installation locations, and control items of the home-controllable home appliances C1 and C2 in the home. Has been. When the device identification information is stored in the terminal-side storage unit 33, the input operation reception unit 31 reads the device identification information from the terminal-side storage unit 33 when a control request mail is subsequently created. The input operation accepting unit 31 displays the input screen on the touch panel 30d and accepts the input of information necessary for creating the control request mail, as shown in FIG. After the location is presented and the control target device is designated, the control item is presented.

端末ID情報配信部34は、後述する初期設定時に端末側記憶部33に記憶された端末ID情報を宅内ネットワークTN経由でホームサーバ10に向けて配信するものである。
機器識別情報取得部35は、後述する初期設定時に宅内ネットワークTN経由でホームサーバ10から送信されてくる機器識別情報を取得するものである。
確認メール受信部36は、ホームサーバ10から送信された確認メールを、メールサーバ20を介して受信するものである。
The terminal ID information distribution unit 34 distributes the terminal ID information stored in the terminal side storage unit 33 at the time of initial setting described later to the home server 10 via the home network TN.
The device identification information acquisition unit 35 acquires device identification information transmitted from the home server 10 via the home network TN at the time of initial setting described later.
The confirmation mail receiving unit 36 receives the confirmation mail transmitted from the home server 10 via the mail server 20.

なお、ユーザ端末30については、上述した6つの機能以外の機能を備えていることとしてもよく、例えば、宅内の各家電機器C1、C2の現在の運転状態や消費電力を示す情報をホームサーバ10に対して要求する状態情報要求部や、当該情報を展開してタッチパネル30d等の表示画面に宅内の各家電機器C1、C2の現在の運転状態や消費電力を表示する状態表示部が備えられていることとしてもよい。   In addition, about the user terminal 30, it is good also as having functions other than the six functions mentioned above, for example, the information which shows the present driving state and power consumption of each household appliances C1 and C2 in a home | home server 10 is provided. A status information requesting unit for requesting the information, and a status display unit for expanding the information and displaying the current operating status and power consumption of each home appliance C1 and C2 on the display screen such as the touch panel 30d. It is good to be.

<<機器制御処理の内容及び手順>>
次に、機器制御処理について、その内容と手順を具体的に説明する。
本実施形態に係る機器制御処理は、ホームサーバ10とユーザ端末30との協働により実現され、本発明のエネルギー消費機器制御方法を採用している。すなわち、機器制御処理に関する下記の説明は、本発明のエネルギー消費機器制御方法、具体的にはホームサーバ10を用いて宅内の家電機器C1、C2を制御する方法についての説明に相当する。
機器制御処理は、事前工程としての初期設定、制御要求メールの送受信、機器制御の実行の順で進行する。以下、各工程について図面を参照しながら個別に説明する。
<< Contents and procedure of device control process >>
Next, the content and procedure of the device control process will be specifically described.
The device control processing according to the present embodiment is realized by the cooperation of the home server 10 and the user terminal 30, and employs the energy consuming device control method of the present invention. That is, the following description regarding the device control process corresponds to the description of the energy consuming device control method of the present invention, specifically, the method of controlling the home electrical appliances C1 and C2 using the home server 10.
The device control process proceeds in the order of initial setting as a preliminary process, transmission / reception of a control request mail, and execution of device control. Hereinafter, each process will be described individually with reference to the drawings.

(初期設定)
初期設定は、機器制御処理の実行に先駆けて行われ、端末認証や制御要求メールの送受信に必要な情報をホームサーバ10とユーザ端末30との間で相互に交換する工程である。この初期設定は、ユーザ端末30が住宅内にあるときに行われ、具体的には、宅内ネットワークTNの対応エリア内にあるときに行われる。
以下、図5及び6を参照しながら初期設定の手順について詳しく説明する。図5は、初期設定の手順を示す図である。図6は、初期設定用の操作画面の一例を示す図である。
(Initial setting)
The initial setting is performed prior to the execution of the device control process, and is a process of exchanging information necessary for terminal authentication and control request mail transmission / reception between the home server 10 and the user terminal 30. This initial setting is performed when the user terminal 30 is in a house, specifically, when the user terminal 30 is in a corresponding area of the home network TN.
Hereinafter, the initial setting procedure will be described in detail with reference to FIGS. FIG. 5 is a diagram showing an initial setting procedure. FIG. 6 is a diagram illustrating an example of an initial setting operation screen.

図5に示すように、初期設定は、ユーザ端末30が宅内ネットワークTNの対応エリア内に入って同ネットワークTNに接続しているところから始まる(S001)。一方で、初期設定にあたり、制御用アプリを入手してユーザ端末30にインストールしておく(S002)。なお、本実施形態では、外部のアプリ提供サイトからダウンロードして制御用アプリを入手することとしている、ただし、制御用アプリの入手方法については特に限定されるものではない。   As shown in FIG. 5, the initial setting starts when the user terminal 30 enters the corresponding area of the home network TN and is connected to the network TN (S001). On the other hand, for the initial setting, a control application is obtained and installed in the user terminal 30 (S002). In the present embodiment, the control application is obtained by downloading from an external application providing site. However, the method for obtaining the control application is not particularly limited.

そして、インストールされたユーザ端末30において制御用アプリが起動すると(S003)、ユーザ端末30が宅内に設置されたホームサーバ10を認識し、同ホームサーバ10との間で通信を開始する(S004)。その後、初期設定が実施され、ホームサーバ10とユーザ端末30との間で各種情報の交換が行われるようになる。このように制御用アプリの初回起動時にユーザ端末30が宅内ネットワークTNの対応エリア内にあると、初期設定が自動的に行われるようになっている。   When the control application is activated on the installed user terminal 30 (S003), the user terminal 30 recognizes the home server 10 installed in the house and starts communication with the home server 10 (S004). . Thereafter, initial setting is performed, and various information is exchanged between the home server 10 and the user terminal 30. As described above, if the user terminal 30 is in the corresponding area of the home network TN when the control application is activated for the first time, the initial setting is automatically performed.

具体的に説明すると、制御用アプリが初めて起動すると、ユーザ端末30のタッチパネル30dに図6に図示の初期設定画面P1が描画される。この初期設定画面P1の中央部分には2つのボタンが表示されており、そのうちの一方(図6中、「機器自動設定」と表示されたボタン)を押すと、ホームサーバ10が機器識別情報をユーザ端末30に向けて配信し、ユーザ端末30は、宅内ネットワークTNを通じて同情報を受信する(S005)。   More specifically, when the control application is activated for the first time, the initial setting screen P1 illustrated in FIG. 6 is drawn on the touch panel 30d of the user terminal 30. Two buttons are displayed in the central portion of the initial setting screen P1, and when one of them is pressed (the button labeled “automatic device setting” in FIG. 6), the home server 10 displays the device identification information. The information is distributed toward the user terminal 30, and the user terminal 30 receives the information through the home network TN (S005).

厳密に説明すると、ホームサーバ10の機器識別情報配信部14が、サーバ側記憶部12に記憶された各家電機器C1、C2の機器識別情報を読み出してユーザ端末30に向けて配信し、ユーザ端末30の機器識別情報取得部35が宅内ネットワークTN経由で同情報を取得するものである。取得された機器識別情報は、ユーザ端末30の端末側記憶部33に記憶される。この結果、図6に示すように、ユーザ端末30では、宅内にある遠隔制御可能な家電機器C1、C2とその設置場所を一覧形式で表示することが可能となる。   Strictly speaking, the device identification information distribution unit 14 of the home server 10 reads out the device identification information of the home appliances C1 and C2 stored in the server-side storage unit 12 and distributes the device identification information to the user terminal 30, and the user terminal 30 device identification information acquisition units 35 acquire the same information via the home network TN. The acquired device identification information is stored in the terminal-side storage unit 33 of the user terminal 30. As a result, as shown in FIG. 6, the user terminal 30 can display the home-control devices C1 and C2 that can be remotely controlled in the house and their installation locations in a list format.

また、初期設定画面P1に表示されたもう一つのボタン(図6中、「各種設定」と表示されたボタン)を押すと、不図示のパスワード入力画面が初期設定画面P1上にポップアップ表示される。上記のパスワード入力画面にて居住者が認証用パスワードとしての文字列を入力すると、ユーザ端末30の入力操作受付部31が当該入力操作を受け付けて認証用パスワードを示す文字列情報を端末側記憶部33に記憶する。その後、ユーザ端末30の端末ID情報配信部34が、記憶された認証用パスワードの文字列情報を含む端末ID情報をホームサーバ10に向けて配信し、ホームサーバ10の認証用情報登録部13が宅内ネットワークTNを通じて上記の端末ID情報を取得する。そして、取得された端末ID情報は、ホームサーバ10のサーバ側記憶部12に登録される(S006)。   Further, when another button displayed on the initial setting screen P1 (a button labeled “various settings” in FIG. 6) is pressed, a password input screen (not shown) pops up on the initial setting screen P1. . When the resident inputs a character string as an authentication password on the password input screen, the input operation reception unit 31 of the user terminal 30 receives the input operation and displays character string information indicating the authentication password. 33. Thereafter, the terminal ID information distribution unit 34 of the user terminal 30 distributes the terminal ID information including the character string information of the stored authentication password to the home server 10, and the authentication information registration unit 13 of the home server 10 The terminal ID information is acquired through the home network TN. The acquired terminal ID information is registered in the server-side storage unit 12 of the home server 10 (S006).

以上の結果、図6に示すように、ホームサーバ10との間で初期設定を行ったユーザ端末30の識別情報、すなわち、端末ID情報がホームサーバ10に登録されるようになる。このように本実施形態では、ユーザ端末30が住宅内において宅内ネットワークTNの対応エリア内にあり、かつ、制御用アプリがユーザ端末30において起動しているときにホームサーバ10とユーザ端末30との間で端末ID情報及び機器識別情報の送受信が行われる。ここで、制御用アプリは、初期設定において行われる上記一連の処理を実行するためのプログラムである。かかる意味で、制御用アプリは、ユーザ端末30のユーザである居住者による認証用パスワードの入力操作を受け付けて入力された文字列情報をホームサーバ10に向けて配信するためのプログラムに相当すると言える。   As a result, as shown in FIG. 6, the identification information of the user terminal 30 that has been initially set up with the home server 10, that is, the terminal ID information is registered in the home server 10. Thus, in the present embodiment, when the user terminal 30 is in the corresponding area of the home network TN in the house and the control application is activated on the user terminal 30, the home server 10 and the user terminal 30 Terminal ID information and device identification information are transmitted and received between the terminals. Here, the control application is a program for executing the series of processes performed in the initial setting. In this sense, the control application can be said to correspond to a program for accepting an input operation of an authentication password by a resident who is a user of the user terminal 30 and distributing character string information input to the home server 10. .

なお、本実施形態では、制御用アプリの初回起動時に上記の初期設定、すなわち、ホームサーバ10とユーザ端末30との間における端末ID情報及び機器識別情報の送受信が行われることとしたが、当該工程の実施時期は、制御用アプリの初回起動時に限定されるものではない。例えば、ユーザ端末30での制御用アプリの起動回数が2回目以上である場合に、居住者が所定の操作を行って認証用パスワードを更新したときには上記と同様の手順にてユーザ端末30から改めて端末ID情報を送信し、ホームサーバ10に登録されている情報を更新することとしてもよい。また、セキュリティ性をより高める目的から、ユーザ端末30側で数か月に1回の頻度で定期的に認証用パスワードの更新を居住者に求めることとし、パスワードの入力完了後に上記と同様の手順にてユーザ端末30から改めて端末ID情報を送信し、ホームサーバ10に登録されている情報を更新することとしてもよい。   In this embodiment, when the control application is started for the first time, the above initial setting, that is, transmission / reception of the terminal ID information and the device identification information between the home server 10 and the user terminal 30 is performed. The execution time of the process is not limited to the first activation of the control application. For example, when the number of activations of the control application on the user terminal 30 is the second or more, when the resident performs a predetermined operation and updates the authentication password, the user terminal 30 renews the procedure in the same manner as described above. It is good also as transmitting terminal ID information and updating the information registered into the home server 10. FIG. For the purpose of further improving security, the user terminal 30 periodically asks the resident to update the authentication password once every several months, and the same procedure as above after completing the password input. The terminal ID information may be transmitted again from the user terminal 30 and the information registered in the home server 10 may be updated.

さらには、機器の購入や買い替えにより宅内の家電機器C1、C2の組み合わせが変更した場合に、上記と同様の手順にてホームサーバ10から変更後の機器識別情報をユーザ端末30に向けて配信し、ユーザ端末30側では宅内ネットワークTNを通じて上記の機器識別情報を取得し、端末側記憶部33に記憶された機器識別情報を更新することとしてもよい。なお、かかるケースにおいて機器識別情報の更新を居住者に促す目的から、家電機器C1、C2の組み合わせが変更したときにはその旨の通知をホームサーバ10がユーザ端末30に送信すると好適である。   Furthermore, when the combination of household electrical appliances C1 and C2 in the house is changed due to the purchase or replacement of the device, the changed device identification information is distributed from the home server 10 to the user terminal 30 in the same procedure as described above. The user terminal 30 may acquire the device identification information through the home network TN and update the device identification information stored in the terminal-side storage unit 33. In this case, for the purpose of prompting the resident to update the device identification information, it is preferable that the home server 10 sends a notification to that effect to the user terminal 30 when the combination of the home appliances C1 and C2 is changed.

(制御要求メールの送受信)
制御要求メールは、居住者が外出時にユーザ端末30にて制御用アプリを起動させた上で所定の入力操作を行うことにより作成されてホームサーバ10に向けて送信され、メールサーバ20を経由してホームサーバ10に受け取られる。
以下、制御要求メールの送受信の流れについて、図7乃至10を参照しながら詳しく説明することとする。図7は、制御要求メールの送受信を含む機器制御処理全般の流れを大まかに示した図である。図8は、機器制御用の操作画面の一例を示す図である。図9は、制御要求メールの文例を示す図である。図10は、ホームサーバ10とユーザ端末30との間でメールの送受信を行うための設定情報の一例を示す図である。
(Sending / receiving control request mail)
The control request e-mail is generated by performing a predetermined input operation after the resident starts up a control application on the user terminal 30 when going out, and is transmitted to the home server 10 via the mail server 20. And received by the home server 10.
Hereinafter, the flow of transmission / reception of the control request mail will be described in detail with reference to FIGS. FIG. 7 is a diagram schematically showing a general flow of device control processing including transmission / reception of a control request mail. FIG. 8 is a diagram illustrating an example of an operation screen for device control. FIG. 9 is a diagram illustrating a sentence example of the control request mail. FIG. 10 is a diagram illustrating an example of setting information for sending and receiving mail between the home server 10 and the user terminal 30.

制御要求メールの送受信は、図7に示すように、先ず居住者が外出時にユーザ端末30にて制御用アプリを起動するところから始める(S011)。このとき、初期設定が完了していると、図8に示すような制御対象機器の候補の一覧がユーザ端末30のタッチパネル30dに表示されるようになる。かかる制御対象機器の候補の一覧は、ユーザ端末30の入力操作受付部31が端末側記憶部33に記憶された機器識別情報を読み出して展開することにより表示される。   As shown in FIG. 7, the transmission / reception of the control request mail is started when the resident starts up the control application on the user terminal 30 when going out (S011). At this time, if the initial setting is completed, a list of control target device candidates as shown in FIG. 8 is displayed on the touch panel 30 d of the user terminal 30. The list of control target device candidates is displayed when the input operation receiving unit 31 of the user terminal 30 reads out and expands the device identification information stored in the terminal-side storage unit 33.

その後、居住者がタッチパネル30dに表示された候補機器の中から制御対象機器を指定する操作を行う(S012)。この機器指定操作は、入力操作受付部31によって受け付けられ、当該操作の受け付けに伴って、指定された家電機器C1、C2の制御用画面Q1、Q2がタッチパネル30dに描画されるようになる。この制御用画面Q1、Q2には、対応する家電機器C1、C2の運転状態に関して制御可能な項目(制御項目)が表示され、各制御項目については居住者の入力操作により変更可能となっている。   Thereafter, the resident performs an operation of designating a control target device from among the candidate devices displayed on the touch panel 30d (S012). The device designation operation is accepted by the input operation accepting unit 31, and the control screens Q1 and Q2 of the designated home appliances C1 and C2 are drawn on the touch panel 30d as the operation is accepted. On the control screens Q1 and Q2, items (control items) that can be controlled with respect to the operation state of the corresponding home appliances C1 and C2 are displayed, and each control item can be changed by a resident's input operation. .

制御用画面Q1、Q2について図8を参照しながら具体的に説明すると、居住者が制御対象機器としてリビングのエアコンを指定すると、当該エアコン用の制御用画面Q1が描画され、同画面Q1には、運転モード、風量及び設定温度が制御項目として表示されている。同様に、居住者が制御対象機器としてリビングのLED照明を指定すると、当該LED照明用の制御用画面Q2が描画され、同画面Q2には、調色や調光が制御項目として表示されている。   The control screens Q1 and Q2 will be described in detail with reference to FIG. 8. When a resident designates a living room air conditioner as a control target device, the control screen Q1 for the air conditioner is drawn and displayed on the screen Q1. The operation mode, the air volume and the set temperature are displayed as control items. Similarly, when the resident designates the LED lighting in the living room as the control target device, a control screen Q2 for the LED lighting is drawn, and the toning and dimming are displayed as control items on the screen Q2. .

そして、居住者は、タッチパネル30d上で所定の入力操作(タッチ操作)を行うことにより各制御項目を設定する。このように制御項目の設定値を指定する結果、機器制御処理における制御条件が決まる。すなわち、居住者は、制御用画面Q1、Q2にて制御条件を指定する(S013)。   Then, the resident sets each control item by performing a predetermined input operation (touch operation) on the touch panel 30d. As a result of specifying the setting value of the control item in this way, the control condition in the device control process is determined. That is, the resident designates the control conditions on the control screens Q1 and Q2 (S013).

一方、各制御用画面Q1、Q2にはメール送信ボタン(図8中、「送信」と表示されたボタン)が表示されており、居住者がメール送信ボタンを押すと、ユーザ端末30の制御要求メール送信部32が自動的に制御要求メールを作成しホームサーバ10に向けて送信する(S014、S015)。   On the other hand, a mail transmission button (a button labeled “Send” in FIG. 8) is displayed on each of the control screens Q1 and Q2. When the resident presses the mail transmission button, a control request for the user terminal 30 is made. The mail transmission unit 32 automatically creates a control request mail and transmits it to the home server 10 (S014, S015).

より具体的に説明すると、制御要求メール送信部32が、メール送信ボタンが押されることを契機として、メール送信プログラムを起動させるとともに、前述のステップS012、S013にて居住者が指定した家電機器C1、C2及び制御条件を特定する。さらに、制御要求メール送信部32は、端末側記憶部33に記憶されている認証用パスワードを示す文字列情報を読み出す。その後、制御要求メール送信部32は、特定した制御対象機器及び制御条件を示す情報と読み出した認証用パスワードの文字列情報をメール本文に入力する。   More specifically, the control request mail transmission unit 32 starts the mail transmission program when the mail transmission button is pressed, and the home appliance C1 designated by the resident in the above-described steps S012 and S013. , C2 and control conditions are specified. Further, the control request mail transmission unit 32 reads out character string information indicating the authentication password stored in the terminal-side storage unit 33. Thereafter, the control request mail transmission unit 32 inputs the information indicating the specified control target device and control conditions and the character string information of the read authentication password into the mail body.

なお、本実施形態では、前述したように、制御要求メール送信部32が制御要求メールを送信するにあたりホームサーバ10が提供するAPIを利用するため、比較的簡易的な電文形式にて制御要求メールを作成することが可能である。分かり易く説明すると、本実施形態では、図9に示すように、「パスワード」、「コマンド」及び「オプション」を連ねた形式でメール本文が入力される。   In the present embodiment, as described above, since the control request mail transmission unit 32 uses the API provided by the home server 10 when transmitting the control request mail, the control request mail is in a relatively simple message format. Can be created. To explain in an easy-to-understand manner, in this embodiment, as shown in FIG. 9, the mail text is input in a format in which “password”, “command”, and “option” are connected.

ここで、「パスワード」の欄には認証用パスワードの文字列情報が入力され、「コマンド」の欄には制御対象機器を特定するための情報(例えば、機器名称等)が入力され、「オプション」の欄には制御条件情報が入力される。「オプション」の欄に入力される制御条件情報の内容について言及しておくと、例えば、設定する制御条件のうち、設定温度については具体的な数値が該当し、運転モードについては「cold」又は「hot」のように運転モードを特定するための文字列情報が該当する。   Here, the character string information of the authentication password is input in the “password” field, and information (for example, the device name) for specifying the control target device is input in the “command” field. The control condition information is input in the "" column. When referring to the contents of the control condition information input in the “option” column, for example, among the control conditions to be set, specific numerical values are applicable for the set temperature, and “cold” or “ The character string information for specifying the operation mode such as “hot” is applicable.

そして、上記の手順にてメール本文が完成した後、制御要求メール送信部32は、ホームサーバ10に向けて制御要求メールを送信する。なお、ユーザ端末30からホームサーバ10に向けてメールを送信するにあたって設定すべき情報、具体的には図10に図示した設定情報(例えば、受信サーバアドレスや受信サーバユーザ名)については、ホームサーバ10が提供するAPIを利用してSET/GET方式により取得したり設定したりすることが可能である。   Then, after the mail text is completed by the above procedure, the control request mail transmitting unit 32 transmits the control request mail to the home server 10. Note that information to be set when transmitting mail from the user terminal 30 to the home server 10, specifically, the setting information illustrated in FIG. 10 (for example, the receiving server address and the receiving server user name) It is possible to obtain and set by the SET / GET method using the API provided by the network 10.

その後、ユーザ端末30から送信された制御要求メールは、指定されたメールサーバ20に一時的に保存される。一方で、ホームサーバ10は、定期的にメールサーバ20にアクセスし、自分宛てに送信された制御要求メールの有無を確認し、当該メールが有る場合には外部通信ネットワークUN経由で同メールを受信してくる(S016)。
より具体的に説明すると、ホームサーバ10の制御要求メール受信部11がメールサーバ20と外部通信ネットワークUNを介して定期的に通信し、メールサーバ20に保存された制御要求メールの中に自分宛てのメールが有るときには当該メールを受信する。
Thereafter, the control request mail transmitted from the user terminal 30 is temporarily stored in the designated mail server 20. On the other hand, the home server 10 periodically accesses the mail server 20, checks whether there is a control request mail sent to itself, and receives the mail via the external communication network UN if there is such a mail. (S016).
More specifically, the control request mail receiving unit 11 of the home server 10 periodically communicates with the mail server 20 via the external communication network UN, and is addressed to itself in the control request mail stored in the mail server 20. If there is an e-mail, the e-mail is received.

(機器制御の実行)
ホームサーバ10は、制御要求メールを受信した後、図7のステップS017以降の工程を行い、制御要求メールに応じた機器制御を実行する。その概要を説明すると、図7に示すように、制御要求メールを受信したホームサーバ10では、同メールを解析した上で端末認証を行い(S017)、その後、制御要求メールにおいて制御対象とされた家電機器C1、C2及び制御条件を特定する(S018)。そして、ホームサーバ10は、特定した制御対象機器と宅内ネットワークTNを通じて通信し、特定した制御条件に従って運転状態が切り替わるような制御信号を上記の制御対象機器に向けて出力する(S019)。
(Executing device control)
After receiving the control request mail, the home server 10 performs the processes after step S017 in FIG. 7 and executes device control according to the control request mail. The outline will be explained. As shown in FIG. 7, the home server 10 that has received the control request mail performs terminal authentication after analyzing the mail (S017), and is subsequently controlled in the control request mail. The home appliances C1, C2 and the control conditions are specified (S018). Then, the home server 10 communicates with the specified control target device via the home network TN, and outputs a control signal that switches the operation state according to the specified control condition to the control target device (S019).

一方、制御信号を受けとった家電機器C1、C2側では、不図示のコントローラが制御信号に応じて運転状態を切り替えるように機器各部を制御する。そして、制御が完了すると、上記のコントローラが宅内ネットワークTNを通じて制御完了を示す情報をホームサーバ10に向けて送信する。一方、ホームサーバ10側では、制御完了確認部18が上記の制御完了情報を受信したことを契機に、確認メール送信部19が制御要求メールの送信元であるユーザ端末30に向けて確認メールを送信する(S020)。   On the other hand, on the home appliances C1 and C2 side that have received the control signal, a controller (not shown) controls each part of the device so as to switch the operation state in accordance with the control signal. When the control is completed, the controller transmits information indicating the control completion to the home server 10 through the home network TN. On the other hand, on the home server 10 side, when the control completion confirmation unit 18 receives the control completion information, the confirmation mail transmission unit 19 sends a confirmation mail to the user terminal 30 that is the transmission source of the control request mail. Transmit (S020).

そして、ユーザ端末30の確認メール受信部36がメールサーバ20を介して確認メールを受信した時点で、機器制御処理の全工程が終了することになる。   Then, when the confirmation mail receiving unit 36 of the user terminal 30 receives the confirmation mail via the mail server 20, all the device control processing steps are completed.

ところで、本実施形態では、前述したように、ホームサーバ10が制御要求メールを受信すると、制御要求メールを解析して端末認証を行う工程S017が実行される。そして、端末認証において制御要求メールの送信元であるユーザ端末30が遠隔制御要求を許可された端末であるとホームサーバ10が判断した場合には、制御要求メールを解析して制御対象機器及び制御条件を特定する工程S018、制御対象機器に向けて制御信号を出力する工程S019が続いて実施される。これらの工程S017〜S019について、以下、図11及び12を参照しながら詳しく説明する。図11は、機器制御処理においてホームサーバ10側で行われる工程の流れ、特に制御要求メールを受信してからの流れを示す図である。図12は、機器毎の制御条件とその制御内容との対応関係を示す図である。   By the way, in the present embodiment, as described above, when the home server 10 receives the control request mail, the process S017 is performed to analyze the control request mail and perform terminal authentication. When the home server 10 determines that the user terminal 30 that is the transmission source of the control request mail in the terminal authentication is a terminal for which a remote control request is permitted, the control request mail is analyzed to control the control target device and the control device. A step S018 for specifying a condition and a step S019 for outputting a control signal to the device to be controlled are subsequently performed. These steps S017 to S019 will be described in detail below with reference to FIGS. FIG. 11 is a diagram showing a flow of steps performed on the home server 10 side in the device control process, particularly a flow after receiving a control request mail. FIG. 12 is a diagram illustrating a correspondence relationship between the control conditions for each device and the control contents.

ホームサーバ10の制御要求メール受信部11がメールサーバ20を介して制御要求メールを受信すると(S021)、以降、図11に示す手順にて各工程が実施される。具体的に説明すると、先ず、メール解析部15が制御要求メールを解析し、同メールに組み込まれている各種情報を取得する。   When the control request mail receiving unit 11 of the home server 10 receives the control request mail via the mail server 20 (S021), each process is performed according to the procedure shown in FIG. More specifically, first, the mail analysis unit 15 analyzes the control request mail and acquires various types of information incorporated in the mail.

より具体的に説明すると、メール解析部15は、メール本文に組み込まれた認証用パスワードの文字列情報を取得する。その後、メール解析部15により取得された認証用パスワードの文字列情報がホームサーバ10のサーバ側記憶部12に登録された認証用パスワードの文字列情報の中に含まれているか否かを端末認証部16が判定する(S022)。そして、端末認証部16は、上記2つの文字列情報が一致していないと判断すると、制御要求メールを送信してきたユーザ端末30に向けてエラーメッセージを送信する(S023)。   More specifically, the mail analysis unit 15 acquires character string information of an authentication password incorporated in the mail text. Thereafter, terminal authentication is performed to determine whether or not the character string information of the authentication password acquired by the mail analysis unit 15 is included in the character string information of the authentication password registered in the server-side storage unit 12 of the home server 10. The part 16 determines (S022). If the terminal authentication unit 16 determines that the two character string information does not match, the terminal authentication unit 16 transmits an error message to the user terminal 30 that has transmitted the control request mail (S023).

これに対して、認証用パスワードを示す2つの文字列情報が一致すると判断されたとき、メール解析部15は、制御要求メールを更に解析して、制御要求メールの送信元のメールアドレスを示す情報を取得する。その後、メール解析部15により取得されたメールアドレスと、上記の認証用パスワードに対応するものとしてサーバ側記憶部12に記憶されたメールアドレス(つまり、端末ID情報として認証用パスワードとセットで登録されたメールアドレス)とが一致するか否かを端末認証部16が判断する(S024)。そして、端末認証部16は、上記2つメールアドレスが一致していないと判断すると、制御要求メールを送信してきたユーザ端末30に向けてエラーメッセージを送信する(S023)。   On the other hand, when it is determined that the two character string information indicating the authentication password matches, the mail analysis unit 15 further analyzes the control request mail and information indicating the mail address of the transmission source of the control request mail To get. Thereafter, the e-mail address acquired by the e-mail analysis unit 15 and the e-mail address stored in the server-side storage unit 12 as corresponding to the above authentication password (that is, registered as a set with the authentication password as terminal ID information). Terminal authentication unit 16 determines whether or not the e-mail address matches (S024). If the terminal authentication unit 16 determines that the two mail addresses do not match, the terminal authentication unit 16 transmits an error message to the user terminal 30 that has transmitted the control request mail (S023).

これに対して、メールアドレスが一致すると判断されたとき、メール解析部15は、制御用メールを更に解析して、メール本文中、「コマンド」欄に入力された制御対象機器を示す情報、及び、「オプション」欄に入力された制御条件情報を取得する。その後、制御実行部17は、メール解析部15により取得された制御対象機器を示す情報及び制御条件情報に応じて、制御対象機器に該当する家電機器C1、C2に向けて制御信号を出力する。   On the other hand, when it is determined that the mail addresses match, the mail analysis unit 15 further analyzes the control mail, information indicating the control target device input in the “command” field in the mail text, and The control condition information input in the “option” field is acquired. Thereafter, the control execution unit 17 outputs a control signal to the home appliances C1 and C2 corresponding to the control target device in accordance with the information indicating the control target device acquired by the mail analysis unit 15 and the control condition information.

具体的に説明すると、制御実行部17は、図12に示す対応関係から、制御対象機器及び制御条件に対応した制御内容(図12中、「電文内容」と表示)を特定し、特定した内容で運転状態が変わるような制御信号を生成して出力する。
なお、制御実行部17は、制御信号の出力に先立って、制御信号出力の前段階で制御対象機器を示す情報及び制御条件情報が適切な形式となっているか否かを判定する(S025)。そして、制御実行部17は、上記の情報のいずれかが適切な形式となっていないと判断したとき、制御要求メールを送信してきたユーザ端末30に向けてエラーメッセージを送信する(S026)。
More specifically, the control execution unit 17 specifies the control content (displayed as “message content” in FIG. 12) corresponding to the control target device and the control condition from the correspondence relationship shown in FIG. Generates and outputs a control signal that changes the operating state.
Prior to the output of the control signal, the control execution unit 17 determines whether the information indicating the control target device and the control condition information are in an appropriate format at the previous stage of the output of the control signal (S025). When the control execution unit 17 determines that any of the above information is not in an appropriate format, the control execution unit 17 transmits an error message to the user terminal 30 that has transmitted the control request mail (S026).

その後、制御信号を受信した家電機器C1、C2側で正常に運転状態が切り替わると、当該機器C1、C2からホームサーバ10に向けて制御完了を示す情報が配信される(S027)。なお、本実施形態において、上記の制御完了情報は、具体的にはXMLデータからなる戻り値である。より詳しく説明すると、ホームサーバ10が提供するAPIは、REST(Representational State Transfer)式のAPIであり、レスポンスとしてXMLデータを受信するものである。ただし、これに限定されるものではなく、ホームサーバ10が提供するAPIについては、SOAP式のAPIであってもよい。   Thereafter, when the home appliances C1 and C2 that have received the control signal are switched to the normal operating state, information indicating control completion is distributed from the devices C1 and C2 to the home server 10 (S027). In the present embodiment, the control completion information is specifically a return value made up of XML data. More specifically, the API provided by the home server 10 is a REST (Representational State Transfer) type API, and receives XML data as a response. However, the present invention is not limited to this, and the API provided by the home server 10 may be a SOAP type API.

そして、制御完了確認部18が制御完了情報を受信すると、確認メール送信部19が確認メールを作成する(S029)。一方で、何らかの原因により運転状態が正常に切り替わらずに制御完了確認部18が制御完了情報を受信しない場合、制御実行部17は、制御要求メールを送信してきたユーザ端末30に向けてエラーメッセージを送信する(S028)。   Then, when the control completion confirmation unit 18 receives the control completion information, the confirmation mail transmission unit 19 creates a confirmation mail (S029). On the other hand, when the control completion confirmation unit 18 does not receive the control completion information because the operation state is not normally switched for some reason, the control execution unit 17 sends an error message to the user terminal 30 that has transmitted the control request mail. Transmit (S028).

その後、確認メール送信部19は、確認メールを送信する際に必要な情報、例えばメール送信先のメールアドレスや送信メールサーバのアドレスを取得した上で(S030)、制御要求メールを送信してきたユーザ端末30に向けて確認メールを送信する(S031)。確認メールは、前述したように、メールサーバ20に一時的に保存されることになり、ユーザ端末30の確認メール受信部36がメールサーバ20にアクセスすることでメールサーバ20に記憶された自分宛ての確認メールを受信するようになる。   Thereafter, the confirmation mail transmitting unit 19 acquires information necessary for transmitting the confirmation mail, for example, the mail address of the mail transmission destination and the address of the transmission mail server (S030), and the user who has transmitted the control request mail A confirmation mail is transmitted to the terminal 30 (S031). As described above, the confirmation mail is temporarily stored in the mail server 20, and the confirmation mail receiving unit 36 of the user terminal 30 accesses the mail server 20 to address the mail stored in the mail server 20. You will receive a confirmation email.

<<本実施形態に係るホームサーバの有効性について>>
以上までに説明してきたように、本実施形態に係るホームサーバ10は、住宅外にあるユーザ端末30から送信される制御要求メールに応じて住宅内の家電機器C1、C2を制御するにあたって端末認証を行う。ここで、端末認証用の情報のうち、ホームサーバ10側に登録されるものは、住宅内においてホームサーバ10とユーザ端末30とが互いに通信可能な状態にあるとき、具体的にはユーザ端末30が宅内ネットワークTNの対応エリア内に入ったときに取得される。そして、ホームサーバ10は、端末認証処理で認証されたユーザ端末30からの制御要求メールでなければ、要求に応答せず機器制御処理の実行を拒否することとしている。
<< Effectiveness of Home Server According to this Embodiment >>
As described above, the home server 10 according to the present embodiment authenticates the terminal when controlling the home appliances C1 and C2 in the house according to the control request mail transmitted from the user terminal 30 outside the house. I do. Here, among the information for terminal authentication, the information registered on the home server 10 side is specifically the user terminal 30 when the home server 10 and the user terminal 30 can communicate with each other in the house. Is acquired when entering the corresponding area of the home network TN. The home server 10 refuses to execute the device control process without responding to the request unless it is a control request mail from the user terminal 30 authenticated by the terminal authentication process.

以上のように本実施形態では、端末認証用の情報をホームサーバ10に登録する処理(すなわち、初期設定)が、ユーザ端末30が住宅内にあることを条件に実行される。したがって、住宅への入出が許可された居住者及びこれに準じた者のみが上記の初期設定を行い得ることになる。ゆえに、住宅外に居る他人がホームサーバ10に対して不正にアクセスしてその者が保有する端末の認証用情報を登録させるような事態を回避することが可能となる。これにより、ホームサーバ10側に登録された認証用情報と制御要求メール中に組み込まれた認証用情報とを比較して端末認証を行うことの信頼性、すなわち、セキュリティ性を高めることが可能となる。   As described above, in the present embodiment, the process of registering terminal authentication information in the home server 10 (that is, initial setting) is executed on condition that the user terminal 30 is in the house. Accordingly, only the resident who is permitted to enter and exit the house and a person in accordance with the resident can perform the initial setting. Therefore, it is possible to avoid a situation in which another person outside the house illegally accesses the home server 10 and registers the authentication information of the terminal held by the person. Thereby, it is possible to improve the reliability of terminal authentication by comparing the authentication information registered on the home server 10 side with the authentication information incorporated in the control request mail, that is, security. Become.

また、本実施形態では、ユーザ端末30が宅内ネットワークTNの対応エリア内に入り、かつ、制御用アプリがユーザ端末30において起動しているときに初期設定が行われることとしている。このような構成であれば、ユーザ端末30が宅内ネットワークTNを介してホームサーバ10と通信可能なエリア内に入らない限り、当該端末の認証用情報を登録することができないことになるので、端末認証の信頼性をより高めることが可能となる。   In the present embodiment, initial setting is performed when the user terminal 30 enters the corresponding area of the home network TN and the control application is activated on the user terminal 30. With such a configuration, the authentication information of the terminal cannot be registered unless the user terminal 30 enters an area communicable with the home server 10 via the home network TN. It becomes possible to further improve the reliability of authentication.

また、本実施形態では、住宅内で使用される家電機器C1、C2が複数存在することとした。このような構成において制御要求メールを送信する際には制御対象機器及び制御条件を指定することになり、かかる指定を行う上では複数の家電機器C1、C2の各々を識別するための識別情報(機器識別情報)が必要となる。そして、本実施形態では、ユーザ端末30が宅内ネットワークTNの対応エリア内に入っているときに、ユーザ端末30がホームサーバ10と通信して上記の機器識別情報を取得することになっている。このような構成であれば、ユーザ端末30が宅内ネットワークTNの対応エリア内に入らない限り、当該端末の認証用情報をホームサーバ10に登録することができず、さらには、上記の機器識別情報を取得することもできない。つまり、住宅の居住者以外の者は、自己の端末の認証用情報を登録することもできず、さらに機器識別情報を欠くために制御要求を送ることもできなくなる。この結果、居住者以外の者により勝手に自宅の家電機器C1、C2を遠隔操作されてしまう事態をより効果的に回避することが可能となる。   In the present embodiment, there are a plurality of home appliances C1 and C2 used in a house. In such a configuration, when a control request mail is transmitted, a control target device and a control condition are specified, and in performing such specification, identification information ( Device identification information) is required. In this embodiment, when the user terminal 30 is in the corresponding area of the home network TN, the user terminal 30 communicates with the home server 10 to acquire the device identification information. With such a configuration, unless the user terminal 30 enters the corresponding area of the home network TN, the authentication information of the terminal cannot be registered in the home server 10, and further, the device identification information described above You can't even get That is, a person other than the resident of the house cannot register the authentication information of his / her terminal, and further cannot send a control request due to lack of device identification information. As a result, it is possible to more effectively avoid a situation in which home appliances C1 and C2 at home are arbitrarily remotely controlled by a person other than the resident.

また、本実施形態において、ホームサーバ10は、制御要求メールを一時的に保存するメールサーバ20に定期的にアクセスして自分宛ての制御要求メールの有無を確認し、メールサーバ20に上記の制御要求メールが保存されているときには外部通信ネットワークUN経由で受信することとしている。このような構成であれば、定期的にメールサーバ20と通信して制御要求メールの有無を確認するので、認証済みのユーザ端末30から制御要求メールが送信されたときには当該メールの文面に応じた機器制御が確実に実行されるようになる。   Further, in the present embodiment, the home server 10 periodically accesses the mail server 20 that temporarily stores the control request mail, confirms whether or not there is a control request mail addressed to itself, and controls the mail server 20 to perform the above control. When the request mail is stored, it is received via the external communication network UN. In such a configuration, since the communication with the mail server 20 is periodically confirmed to check for the presence of the control request mail, when the control request mail is transmitted from the authenticated user terminal 30, the mail according to the text of the mail Device control is reliably executed.

<<その他の実施形態>>
以上までに本発明の一実施形態について説明してきたが、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは勿論である。
<< Other Embodiments >>
Although one embodiment of the present invention has been described above, the above embodiment is for facilitating the understanding of the present invention and does not limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes the equivalents thereof.

また、上記の実施形態では、ホームサーバ10による制御の対象となる機器が宅内の家電機器C1、C2であることとしたが、制御対象機器となるエネルギー消費機器については、電気機器に限定されず、電気以外の他のエネルギー、例えば、ガスや石油等の化石燃料を消費する機器(具体的には給湯器やガス暖房機等)、水道水を消費する機器(具体的には、食洗機等)を制御対象機器とすることとしてもよい。また、制御対象機器には、エネルギー消費機器の他、施錠装置等のセキュリティ装置を含めることとしてもよい。   In the above embodiment, the devices to be controlled by the home server 10 are the home appliances C1 and C2, but the energy consuming devices to be controlled are not limited to electric devices. , Equipment that consumes fossil fuels such as gas and oil (specifically, water heaters and gas heaters), and other equipment that consumes tap water (specifically, dishwashers) Etc.) may be controlled devices. In addition to the energy consuming device, the control target device may include a security device such as a locking device.

また、上記の実施形態では、ホームサーバ10によって運転状態が制御される機器が宅内に複数設けられていることとしたが、これに限定されるものではなく、ホームサーバ10による制御の対象となる機器が1台のみであることとしてもよい。   In the above embodiment, a plurality of devices whose operation state is controlled by the home server 10 are provided in the house. However, the present invention is not limited to this and is subject to control by the home server 10. It is good also as having only one apparatus.

また、上記の実施形態では、ユーザ端末30からホームサーバ10に対して機器制御の実施を要求するために、ホームサーバ10に向けて制御要求メールを送信することとした。ただし、制御要求をホームサーバ10に向けて送信する手段についてはメールに限定されるものではなく、例えば、ホームサーバ10に対して機器制御処理の実行を要求するアプリケーションプログラムが制御要求用のデータ(メールとは異なるデータ)を生成し、当該データをホームサーバ10に向けて送信することとしてもよい。   In the above embodiment, the control request mail is transmitted to the home server 10 in order to request the home server 10 to perform device control from the user terminal 30. However, the means for transmitting the control request to the home server 10 is not limited to e-mail. For example, an application program that requests the home server 10 to execute the device control processing is the control request data ( Data different from mail) may be generated and the data may be transmitted to the home server 10.

また、上記の実施形態では、端末認証用の情報として認証用パスワードを示す文字列情報がホームサーバ10の記憶部(すなわち、サーバ側記憶部12)に登録されていることとしたが、これに限定されるものではない。つまり、端末認証用の情報としては、認証用パスワードの文字列情報以外であってもよく、例えば、ユーザ端末30に対して付与された機器番号(具体的にはIPアドレス)、ユーザ端末30からメールを送信する際の送信元メールアドレス、ユーザID、携帯電話やスマートフォンの場合には電話番号を端末認証用の情報として用いてもよい。
また、端末認証用の情報を登録した記憶部については、ホームサーバ10に設けられているケースに限定されず、ホームサーバ10とは異なる機器、具体的にはホームサーバ10と通信可能な機器、例えば、住宅販売会社や管理会社が保有したセンターサーバを記憶部として用いることとしてもよい。
In the above embodiment, the character string information indicating the authentication password is registered in the storage unit of the home server 10 (that is, the server-side storage unit 12) as the terminal authentication information. It is not limited. That is, the terminal authentication information may be other than the character string information of the authentication password. For example, a device number (specifically, an IP address) assigned to the user terminal 30, In the case of a transmission source e-mail address, user ID, mobile phone, or smartphone when sending e-mail, a telephone number may be used as information for terminal authentication.
Further, the storage unit in which the information for terminal authentication is registered is not limited to the case provided in the home server 10, and is different from the home server 10, specifically, a device that can communicate with the home server 10, For example, a center server owned by a home sales company or a management company may be used as the storage unit.

また、上記の実施形態では、ユーザ端末30のユーザである居住者が制御用アプリを起動して所定の入力操作を行うと、ユーザ端末30側で制御要求メールを作成することとした。また、上記の制御用アプリは、制御要求メールの本文中に端末認証用の情報、具体的には、端末側記憶部33に記憶された認証用パスワードの文字列情報を自動的に組み込む機能を備えていることとした。ただし、制御要求メールに組み込まれる認証用パスワードについては、制御用アプリの機能により自動的に入力するケースに限定されず、メール作成の度に居住者が手入力することとしてもよい。   In the above embodiment, when a resident who is a user of the user terminal 30 activates the control application and performs a predetermined input operation, the control request mail is created on the user terminal 30 side. In addition, the above-described control application has a function of automatically incorporating information for terminal authentication, specifically, character string information of the authentication password stored in the terminal-side storage unit 33 in the body of the control request mail. We decided to have it. However, the authentication password incorporated in the control request mail is not limited to the case where the password is automatically input by the function of the control application, and may be manually input by the resident every time the mail is created.

また、上記の実施形態では、ホームサーバ10に対する家電機器C1、C2の制御要求の送信を居住者が自発的に行うケースを例に挙げて説明したが、ユーザ端末30を通じて居住者に対して警告や注意喚起等をして制御要求の送信を促すこととしてもよい。
例えば、ホームサーバ10が宅内ネットワークTNの対応エリア内にユーザ端末30が有るか否かを確認して居住者の在否を判定し、居住者が外出していると判定したときに所定の家電機器C1、C2(例えば、エアコン)がオン状態になっている場合にはユーザ端末30を通じてその旨を居住者に通知して制御要求の送信を促すこととしてもよい。
あるいは、ホームサーバ10が予め居住者のスケジュールや行動パターンを記憶しておき、居住者が外出先から帰宅する時刻に合わせて宅内の家電機器C1、C2をオンにし所定の条件で運転させておく必要があるかどうかを、ユーザ端末30を通じて居住者に問い合わせる等して制御要求の送信を促すこととしてもよい。
In the above embodiment, the case where the resident spontaneously transmits a control request for the home appliances C1 and C2 to the home server 10 has been described as an example. It is also possible to prompt the user to send a control request by calling attention or the like.
For example, when the home server 10 confirms whether or not the user terminal 30 is within the corresponding area of the home network TN, the presence / absence of the resident is determined, and when it is determined that the resident is out, the predetermined home appliance When the devices C1 and C2 (for example, an air conditioner) are in an on state, the user may be notified through the user terminal 30 to prompt transmission of a control request.
Alternatively, the home server 10 stores the resident's schedule and behavior pattern in advance, and turns on the home electrical appliances C1 and C2 in accordance with the time at which the resident returns home from the outside, and operates the vehicle under predetermined conditions. It may be urged to transmit a control request by inquiring of a resident through the user terminal 30 whether or not it is necessary.

10 ホームサーバ
10a CPU、10b メモリ、10c 通信用インタフェース
10d ハードディスクドライブ
11 制御要求メール受信部、12 サーバ側記憶部
13 認証用情報登録部、14 機器識別情報配信部
15 メール解析部、16 端末認証部
17 制御実行部、18 制御完了確認部
19 確認メール送信部
20 メールサーバ
30 ユーザ端末
30a CPU、30b メモリ、30c 通信用インタフェース
30d タッチパネル
31 入力操作受付部、32 制御要求メール送信部
33 端末側記憶部、34 端末ID情報配信部
35 機器識別情報取得部、36 確認メール受信部
C1、C2 家電機器
P1 初期設定画面
Q1,Q2 制御用画面
S 本システム
TN 宅内ネットワーク
UN 外部通信ネットワーク
DESCRIPTION OF SYMBOLS 10 Home server 10a CPU, 10b Memory, 10c Communication interface 10d Hard disk drive 11 Control request mail receiving part, 12 Server side memory | storage part 13 Authentication information registration part, 14 Device identification information delivery part 15 Mail analysis part, 16 Terminal authentication part DESCRIPTION OF SYMBOLS 17 Control execution part, 18 Control completion confirmation part 19 Confirmation mail transmission part 20 Mail server 30 User terminal 30a CPU, 30b Memory, 30c Communication interface 30d Touch panel 31 Input operation reception part, 32 Control request mail transmission part 33 Terminal side memory | storage part 34 Terminal ID information distribution unit 35 Device identification information acquisition unit 36 Confirmation mail reception unit C1, C2 Home appliance P1 Initial setting screen Q1, Q2 Control screen S System TN Home network UN External communication network

Claims (7)

建物内に設置されており、該建物の外にある携帯端末から送信された制御要求に基づいて前記建物内で使用されるエネルギー消費機器の運転状態を制御するエネルギー消費機器制御装置であって、
前記建物内において前記エネルギー消費機器制御装置と前記携帯端末とが互いに通信可能な状態にあるときに前記携帯端末と通信して第1認証用情報を取得し、該第1認証用情報を記憶部に登録する登録部と、
前記エネルギー消費機器制御装置が前記制御要求を受信したときに該制御要求を解析することで該制御要求中に組み込まれた第2認証用情報を取得する解析部と、
該解析部が取得した前記第2認証用情報と前記登録部が登録した前記第1認証用情報との双方が一致するか否かを判定する判定部と、
前記双方が一致すると前記判定部が判定したときに限り、前記制御要求に基づいて前記運転状態を制御する制御実行部と、を備えることを特徴とするエネルギー消費機器制御装置。
An energy consuming equipment control device that is installed in a building and controls the operating state of the energy consuming equipment used in the building based on a control request transmitted from a mobile terminal outside the building,
When the energy consuming equipment control device and the portable terminal are in a state where they can communicate with each other in the building, the first authentication information is acquired by communicating with the portable terminal, and the first authentication information is stored in the storage unit. A registration department to register with,
An analysis unit that acquires the second authentication information incorporated in the control request by analyzing the control request when the energy consuming equipment control device receives the control request;
A determination unit that determines whether or not both the second authentication information acquired by the analysis unit and the first authentication information registered by the registration unit match;
And a control execution unit that controls the operating state based on the control request only when the determination unit determines that the two match.
前記エネルギー消費機器制御装置は、前記建物内に構築された通信ネットワークを介して前記エネルギー消費機器を含む前記建物内の通信対象機器と通信可能であり、
前記登録部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあるときに前記携帯端末と通信して前記第1認証用情報を取得することを特徴とする請求項1に記載のエネルギー消費機器制御装置。
The energy consuming device control device is capable of communicating with a communication target device in the building including the energy consuming device via a communication network constructed in the building,
The registration unit communicates with the mobile terminal to obtain the first authentication information when the mobile terminal is in an area where the mobile terminal can communicate with the energy consuming device control apparatus via the communication network in the building. The energy consuming equipment control device according to claim 1.
前記登録部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあり、かつ、前記携帯端末のユーザにより前記第1認証用情報として入力された文字列情報を前記エネルギー消費機器制御装置に向けて配信するためのプログラムが前記携帯端末において起動しているときに前記携帯端末と通信して前記第1認証用情報としての前記文字列情報を取得し、
前記解析部は、前記制御要求を解析することで、前記携帯端末が前記制御要求中に組み込んだ前記第2認証用情報としての文字列情報を取得することを特徴とする請求項2に記載のエネルギー消費機器制御装置。
The registration unit is in an area where the portable terminal can communicate with the energy consuming device control apparatus via the communication network in the building, and is input as the first authentication information by a user of the portable terminal The character string information as the first authentication information by communicating with the portable terminal when a program for distributing the character string information to the energy consuming device control device is activated in the portable terminal Get
The analysis unit according to claim 2, wherein the analysis unit acquires the character string information as the second authentication information incorporated in the control request by the mobile terminal by analyzing the control request. Energy consuming equipment control device.
前記エネルギー消費機器制御装置は、前記建物としての住宅内に設置され、該住宅内で使用される前記エネルギー消費機器としての電気機器の運転状態を制御するホームサーバであり、
前記登録部は、前記携帯端末が前記住宅内に構築された前記通信ネットワークとしての宅内ネットワークを介して前記ホームサーバと通信可能なエリア内にあり、かつ、前記プログラムが前記携帯端末において起動しているときに前記携帯端末と通信して前記第1認証用情報としての前記文字列情報を取得することを特徴とする請求項3に記載のエネルギー消費機器制御装置。
The energy consuming device control device is a home server that is installed in a house as the building and controls an operating state of an electric device as the energy consuming device used in the house,
The registration unit is in an area where the mobile terminal can communicate with the home server via a home network as the communication network built in the house, and the program is started on the mobile terminal. 4. The energy consuming equipment control device according to claim 3, wherein the character string information as the first authentication information is acquired by communicating with the portable terminal.
前記建物内で使用される前記エネルギー消費機器が複数存在するときに、前記携帯端末と通信して、複数の前記エネルギー消費機器の各々に対して付与された機器識別情報を前記携帯端末に向けて配信する配信部を更に備え、
該配信部は、前記携帯端末が前記建物内において前記通信ネットワークを介して前記エネルギー消費機器制御装置と通信可能なエリア内にあるときに、前記携帯端末と通信して前記機器識別情報を前記携帯端末に向けて配信し、
前記解析部は、前記制御要求を解析することで、該制御要求中に組み込まれた前記第2認証用情報、制御対象となる前記エネルギー消費機器の前記機器識別情報、及び、制御条件を示す制御条件情報を取得し、
前記制御実行部は、複数の前記エネルギー消費機器のうち、前記解析部が取得した前記機器識別情報に対応する機器の運転状態を、前記解析部が取得した前記制御条件情報が示す前記制御条件に従って制御することを特徴とする請求項3または4に記載のエネルギー消費機器制御装置。
When there are a plurality of the energy consuming devices used in the building, the device identification information given to each of the plurality of the energy consuming devices is directed to the portable terminal by communicating with the portable terminal. It further includes a distribution unit for distributing,
The distribution unit communicates with the portable terminal to transmit the device identification information when the portable terminal is in an area in the building where the energy consuming device control apparatus can communicate with the energy consuming device control apparatus. Deliver to your device,
The analysis unit analyzes the control request to control the second authentication information incorporated in the control request, the device identification information of the energy consuming device to be controlled, and a control condition Get condition information
The control execution unit, according to the control condition indicated by the control condition information acquired by the analysis unit, is an operation state of a device corresponding to the device identification information acquired by the analysis unit among the plurality of energy consuming devices. It controls, The energy consuming equipment control apparatus of Claim 3 or 4 characterized by the above-mentioned.
前記制御要求としての制御要求メールを外部通信ネットワーク経由で受信する制御要求メール受信部を更に備え、
該制御要求メール受信部は、前記携帯端末から送信された前記制御要求メールを一時的に保存するメールサーバと前記外部通信ネットワークを介して定期的に通信し、前記メールサーバに保存されている前記制御要求メールを受信することを特徴とする請求項1乃至5のいずれか一項に記載のエネルギー消費機器制御装置。
A control request mail receiving unit for receiving a control request mail as the control request via an external communication network;
The control request mail receiving unit periodically communicates with the mail server that temporarily stores the control request mail transmitted from the mobile terminal via the external communication network, and is stored in the mail server. 6. The apparatus for controlling energy consuming equipment according to claim 1, wherein the control request mail is received.
建物内に設置されたエネルギー消費機器制御装置が前記建物の外にある携帯端末から送信された制御要求に基づいて前記建物内で使用されるエネルギー消費機器の運転状態を制御するエネルギー消費機器制御方法であって、
前記建物内において前記エネルギー消費機器制御装置と前記携帯端末とが互いに通信可能な状態にあるときに前記エネルギー消費機器制御装置が前記携帯端末と通信して第1認証用情報を取得し、該第1認証用情報を記憶部に登録する工程と、
前記エネルギー消費機器制御装置が前記制御要求を受信したときに該制御要求を解析することで該制御要求中に組み込まれた第2認証用情報を取得する工程と、
取得した前記第2認証用情報と登録した前記第1認証用情報との双方が一致するか否かを前記エネルギー消費機器制御装置が判定する工程と、
前記双方が一致すると判定したときに限り、前記エネルギー消費機器制御装置が前記制御要求に基づいて前記運転状態を制御する工程と、を備えることを特徴とするエネルギー消費機器制御方法。
An energy consuming device control method for controlling an operating state of an energy consuming device used in the building based on a control request transmitted from a portable terminal outside the building by an energy consuming device control device installed in the building Because
When the energy consuming equipment control device and the mobile terminal are in a state where they can communicate with each other in the building, the energy consuming equipment control device communicates with the mobile terminal to obtain first authentication information, 1 registering information for authentication in the storage unit;
Obtaining the second authentication information incorporated in the control request by analyzing the control request when the energy consuming equipment control device receives the control request;
The energy consuming equipment control device determining whether or not both of the acquired second authentication information and the registered first authentication information match;
The energy consuming equipment control method comprising: the energy consuming equipment control device controlling the operation state based on the control request only when it is determined that the two match.
JP2013121745A 2013-06-10 2013-06-10 Energy consumption apparatus control device and energy consumption apparatus control method Pending JP2014239369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013121745A JP2014239369A (en) 2013-06-10 2013-06-10 Energy consumption apparatus control device and energy consumption apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013121745A JP2014239369A (en) 2013-06-10 2013-06-10 Energy consumption apparatus control device and energy consumption apparatus control method

Publications (1)

Publication Number Publication Date
JP2014239369A true JP2014239369A (en) 2014-12-18

Family

ID=52136195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013121745A Pending JP2014239369A (en) 2013-06-10 2013-06-10 Energy consumption apparatus control device and energy consumption apparatus control method

Country Status (1)

Country Link
JP (1) JP2014239369A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017060268A (en) * 2015-09-15 2017-03-23 株式会社デンソー Power management system for dwelling house
JP2017523737A (en) * 2015-03-25 2017-08-17 小米科技有限責任公司Xiaomi Inc. Smart home device control method, apparatus, electronic device, program, and storage medium
CN114584417A (en) * 2015-09-16 2022-06-03 奥韦尔克兹公司 Control method for home automation device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003209892A (en) * 2002-01-11 2003-07-25 Hitachi Ltd Method for remotely controlling home electric appliance
JP2004320139A (en) * 2003-04-11 2004-11-11 Toshiba Corp Remote control system and relaying apparatus
JP2007065715A (en) * 2005-08-29 2007-03-15 Nec Access Technica Ltd Method for setting network connection, electronic equipment, setting information generating device, setting system and program
JP2012124567A (en) * 2010-12-06 2012-06-28 Hitachi Ltd Control device, and method of controlling the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003209892A (en) * 2002-01-11 2003-07-25 Hitachi Ltd Method for remotely controlling home electric appliance
JP2004320139A (en) * 2003-04-11 2004-11-11 Toshiba Corp Remote control system and relaying apparatus
JP2007065715A (en) * 2005-08-29 2007-03-15 Nec Access Technica Ltd Method for setting network connection, electronic equipment, setting information generating device, setting system and program
JP2012124567A (en) * 2010-12-06 2012-06-28 Hitachi Ltd Control device, and method of controlling the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017523737A (en) * 2015-03-25 2017-08-17 小米科技有限責任公司Xiaomi Inc. Smart home device control method, apparatus, electronic device, program, and storage medium
JP2017060268A (en) * 2015-09-15 2017-03-23 株式会社デンソー Power management system for dwelling house
CN114584417A (en) * 2015-09-16 2022-06-03 奥韦尔克兹公司 Control method for home automation device, and storage medium

Similar Documents

Publication Publication Date Title
US9774608B2 (en) Device control method, device control system, and server device
US8588990B2 (en) Communicating through a server between appliances and applications
EP3051747B1 (en) Apparatus and method by which user device in home network system transmitshome-device-related information
US9467853B2 (en) Server for managing home appliance and system including the same
KR102269417B1 (en) A method and apparatus for registering a device based on an application supporting a home networking by multi users
CN111742292A (en) Electronic device, control method of electronic device, and server
US20160164694A1 (en) Smart device-based home network system and control method therefor
CN106165341A (en) The method for connecting network of household electrical appliance, the network connection system of household electrical appliance and household electrical appliance
JP2009217656A (en) Software update system in information apparatus
JP5030681B2 (en) Device setting device, network device, device name setting method and device name setting program
US9538375B2 (en) Method for configuring wireless connection settings, wireless communications apparatus, and display method
US11627171B2 (en) Voice calling with a connected device
KR102005059B1 (en) Apparatus for providing home network service and method thereof
JP2007257233A (en) Operation terminal for facility equipment
JP5496393B1 (en) Home equipment and remote control system
JP2007257232A (en) Operation terminal for facility equipment
JP2014239369A (en) Energy consumption apparatus control device and energy consumption apparatus control method
JP6956537B2 (en) Maintenance system and maintenance method for housing equipment
US9923769B2 (en) Methods and systems for verifying installation of a device
JP2002232970A (en) Remote control method for device to be controlled and remote control system
JP2018186452A (en) Pairing system for remote management of hot water use facility and communication adapter used in the same
US20170094035A1 (en) Management method and management device
JP2014175698A (en) Smart Access system
JP6415865B2 (en) Network system, communication control device, and communication device
JP2019161493A (en) Connection router determination method and equipment control system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160607