次に本発明について図面を用いて説明する。Next, the present invention will be described with reference to the drawings.
図1は、本発明のソフトウェア設定システムの一構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of the software setting system of the present invention.
図1に示すように、本発明のソフトウェア設定システムは、ゲートウェイ装置10、ソフトウェア配信サーバ31及びエンドデバイス32を有する。As shown in FIG. 1, the software setting system of the present invention includes agateway device 10, asoftware distribution server 31, and anend device 32.
エンドデバイス32は、センサ、アクチュエータ、家電機器等のデバイスであり、ゲートウェイ装置10に接続されて所定のサービスを実現するために用いられる。Theend device 32 is a device such as a sensor, an actuator, or a home appliance, and is connected to thegateway device 10 and used for realizing a predetermined service.
ゲートウェイ装置10は、接続されたエンドデバイス32に対応するサービスソフトウェアにしたがって、該エンドデバイス32を用いたサービスを実現する。ゲートウェイ装置10は、エンドデバイス32が接続されると、該エンドデバイス32に対応するサービスソフトウェアの配信をソフトウェア配信サーバ31へ要求する。Thegateway device 10 implements a service using theend device 32 in accordance with service software corresponding to theconnected end device 32. When theend device 32 is connected, thegateway apparatus 10 requests thesoftware distribution server 31 to distribute service software corresponding to theend device 32.
ソフトウェア配信サーバ31は、ゲートウェイ装置10からの要求にしたがって所要のサービスソフトウェアを配信するサーバである。Thesoftware distribution server 31 is a server that distributes required service software in accordance with a request from thegateway device 10.
ゲートウェイ装置10及びソフトウェア配信サーバ31は、周知のCPU、メモリ、論理回路等を備え、プログラムにしたがって処理を実行する情報処理装置(コンピュータ)によって実現できる。Thegateway device 10 and thesoftware distribution server 31 include a known CPU, memory, logic circuit, and the like, and can be realized by an information processing device (computer) that executes processing according to a program.
図1に示すように、ゲートウェイ装置10は、デバイス接続用インターフェース11、デバイスドライバ部12、デバイス管理部13、ソフトウェア配信処理部14、アドレス通知・設定処理部15、アドレス/ID生成部16、名前解決部17及びサービスソフトウェア部18を備える。As shown in FIG. 1, thegateway device 10 includes adevice connection interface 11, a device driver unit 12, adevice management unit 13, a softwaredistribution processing unit 14, an address notification /setting processing unit 15, an address /ID generation unit 16, and a name. Aresolution unit 17 and aservice software unit 18 are provided.
ソフトウェア配信処理部14は配信DB141を備え、アドレス通知・設定処理部15はアドレス/IDDB151を備え、名前解決部17は名前解決DB171を備えている。The softwaredistribution processing unit 14 includes adistribution DB 141, the address notification /setting processing unit 15 includes an address / IDDB 151, and thename resolution unit 17 includes aname resolution DB 171.
デバイス接続インターフェース11は、ゲートウェイ装置10に接続されたエンドデバイス32の通信方式に対応するインターフェースを提供する。Thedevice connection interface 11 provides an interface corresponding to the communication method of theend device 32 connected to thegateway device 10.
デバイスドライバ部12は、エンドデバイス32がゲートウェイ装置10に接続されると、エンドデバイス32からエンドデバイス情報を取得し、取得した情報をデバイス管理部13に送信する。エンドデバイス情報は、エンドデバイスの製造者コード、デバイス名、MAC(Media Access Control)アドレス等のエンドデバイスを識別するための情報、製造番号、エンドデバイスの状態を示す情報等が含まれる。When theend device 32 is connected to thegateway apparatus 10, the device driver unit 12 acquires end device information from theend device 32 and transmits the acquired information to thedevice management unit 13. The end device information includes information for identifying an end device such as a manufacturer code of the end device, a device name, a MAC (Media Access Control) address, a serial number, and information indicating the state of the end device.
デバイス管理部13は、デバイスドライバ部12からエンドデバイス情報を受信すると、該エンドデバイス情報を保存すると共に、該エンドデバイス情報をソフトウェア配信処理部14に送信する。When thedevice management unit 13 receives the end device information from the device driver unit 12, thedevice management unit 13 stores the end device information and transmits the end device information to the softwaredistribution processing unit 14.
ソフトウェア配信処理部14は、デバイス管理部13からエンドデバイス情報を受信すると、受信したエンドデバイス情報に基づき、配信DB141から該エンドデバイスに対応するサービスソフトウェアの情報を取得し、ソフトウェア配信サーバ31に該サービスソフトウェアの配信を要求する。また、ソフトウェア配信処理部14は、受信したエンドデバイス情報をアドレス通知・設定処理部15に送信する。配信DB141には、予めエンドデバイスを利用するためのサービスソフトウェアの情報がエンドデバイス情報に関連付けて格納されている。Upon receiving the end device information from thedevice management unit 13, the softwaredistribution processing unit 14 acquires service software information corresponding to the end device from thedistribution DB 141 based on the received end device information, and stores the information in thesoftware distribution server 31. Request distribution of service software. Further, the softwaredistribution processing unit 14 transmits the received end device information to the address notification /setting processing unit 15. In thedistribution DB 141, service software information for using the end device is stored in advance in association with the end device information.
アドレス通知・設定処理部15は、ソフトウェア配信処理部14からエンドデバイス情報を受信すると、アドレス/ID生成部16に該エンドデバイスのアドレス/IDの生成を要求する。When receiving the end device information from the softwaredistribution processing unit 14, the address notification /setting processing unit 15 requests the address /ID generation unit 16 to generate the address / ID of the end device.
アドレス/ID生成部16は、アドレス通知・設定処理部15からアドレス/ID生成要求を受信すると、接続されたエンドデバイスのアドレス/IDを生成し、生成したアドレス/ID情報をアドレス通知・設定処理部15に送信する。When the address /ID generation unit 16 receives the address / ID generation request from the address notification /setting processing unit 15, the address /ID generation unit 16 generates an address / ID of the connected end device, and the generated address / ID information is subjected to address notification / setting processing. It transmits to thepart 15.
アドレス通知・設定処理部15は、アドレス/ID生成部16からアドレス/ID情報を受信すると、受信したアドレス/ID情報とエンドデバイス情報(MACアドレス)とを関連付けてアドレス/IDDB151に格納し、エンドデバイス情報(デバイス名)及びアドレス/ID情報を名前解決部17に送信する。When the address notification /setting processing unit 15 receives the address / ID information from the address /ID generation unit 16, the address notification /setting processing unit 15 associates the received address / ID information with the end device information (MAC address) and stores them in the address / IDDB 151. Device information (device name) and address / ID information are transmitted to thename resolution unit 17.
名前解決部17は、アドレス通知・設定処理部15からエンドデバイス情報(デバイス名)及びアドレス/ID情報を受信すると、受信したエンドデバイス情報(デバイス名)とアドレス/ID情報とを関連付けて名前解決DB171に格納する。When thename resolution unit 17 receives the end device information (device name) and the address / ID information from the address notification /setting processing unit 15, thename resolution unit 17 associates the received end device information (device name) with the address / ID information to resolve the name. Store in theDB 171.
サービスソフトウェア部18は、ソフトウェア配信サーバ31から配信されたプログラム(サービスソフトウェア)にしたがって処理を実行することで、エンドデバイス32を用いたサービスを実現する。Theservice software unit 18 implements a service using theend device 32 by executing processing according to a program (service software) distributed from thesoftware distribution server 31.
次に図1~図7を用いて本実施形態のエンドデバイスの設定動作について説明する。Next, the setting operation of the end device according to this embodiment will be described with reference to FIGS.
図2は、図1に示したソフトウェア設定システムによるエンドデバイスの設定動作の一例を示すフローチャートである。図3は図2に示したステップA02の詳細処理例を示すフローチャートであり、図4は図2に示したステップA03の詳細処理例を示すフローチャートである。また、図5は図2に示したステップA04の詳細処理例を示すフローチャートであり、図6は図2に示したステップA05の詳細処理例を示すフローチャートである。図7は図2に示したステップA06の詳細処理例を示すフローチャートである。FIG. 2 is a flowchart showing an example of an end device setting operation by the software setting system shown in FIG. FIG. 3 is a flowchart showing an example of detailed processing in step A02 shown in FIG. 2, and FIG. 4 is a flowchart showing an example of detailed processing in step A03 shown in FIG. 5 is a flowchart showing an example of detailed processing in step A04 shown in FIG. 2, and FIG. 6 is a flowchart showing an example of detailed processing in step A05 shown in FIG. FIG. 7 is a flowchart showing an example of detailed processing in step A06 shown in FIG.
図2に示すように、ゲートウェイ装置10は、エンドデバイス32が接続されたか否かを監視しており(ステップA01)、エンドデバイス32が接続されると、該エンドデバイス32からエンドデバイス情報を取得する(ステップA02)。As shown in FIG. 2, thegateway apparatus 10 monitors whether or not theend device 32 is connected (step A01), and acquires end device information from theend device 32 when theend device 32 is connected. (Step A02).
ソフトウェア配信処理部14は、取得したエンドデバイス情報に基づき、ソフトウェア配信サーバ31にサービスソフトウェア18の配信を要求する(ステップA03)。The softwaredistribution processing unit 14 requests thesoftware distribution server 31 to distribute theservice software 18 based on the acquired end device information (step A03).
ソフトウェア配信サーバ31は、ソフトウェア配信処理部14からサービスソフトウェア18の配信が要求されると、要求されたサービスソフトウェア18をゲートウェイ装置10に配信する(ステップA04)。Thesoftware distribution server 31 distributes the requestedservice software 18 to thegateway device 10 when the distribution of theservice software 18 is requested from the software distribution processing unit 14 (step A04).
一方、ゲートウェイ装置10は、アドレス通知・設定処理部15により、接続されたエンドデバイス32に対応するアドレス/IDをアドレス/ID生成部16に生成させ、生成されたアドレス/ID情報をアドレス/IDDB151に格納する(ステップA05)。On the other hand, thegateway device 10 causes the address /ID generation unit 16 to generate an address / ID corresponding to theconnected end device 32 by the address notification /setting processing unit 15, and the generated address / ID information to the address / IDDB 151. (Step A05).
名前解決部17は、エンドデバイス32のアドレス/IDと該エンドデバイス32のエンドデバイス名とを関連付けて名前解決DB171に格納する(ステップA06)。Thename resolution unit 17 associates the address / ID of theend device 32 with the end device name of theend device 32 and stores it in the name resolution DB 171 (step A06).
次に図2に示したステップA02の処理例について図3を用いて説明する。Next, a processing example of step A02 shown in FIG. 2 will be described with reference to FIG.
ステップA02において、デバイス接続インターフェース11は、ゲートウェイ装置10にエンドデバイス32が接続されると、該エンドデバイス32を認識し、該エンドデバイス32に対応するデバイスドライバ部12に接続を要求する(ステップB01)。In step A02, when theend device 32 is connected to thegateway apparatus 10, thedevice connection interface 11 recognizes theend device 32 and requests connection to the device driver unit 12 corresponding to the end device 32 (step B01). ).
デバイスドライバ部12は、接続されたエンドデバイス32からデバイス情報を取得してデバイス管理部13へ送信する(ステップB02)。The device driver unit 12 acquires device information from theconnected end device 32 and transmits it to the device management unit 13 (step B02).
デバイス管理部13は、デバイスドライバ部12から送信されたデバイス情報を保存すると共に、ソフトウェア配信処理部14へ該エンドデバイス情報を送信する(ステップB03)。Thedevice management unit 13 stores the device information transmitted from the device driver unit 12 and transmits the end device information to the software distribution processing unit 14 (step B03).
次に図2に示したステップA03の処理例について図4を用いて説明する。Next, a processing example of step A03 shown in FIG. 2 will be described with reference to FIG.
ステップA03において、ソフトウェア配信処理部14は、デバイス管理部13からエンドデバイス情報を受信すると(ステップC01)、受信したエンドデバイス情報に基づき配信DB141を検索し、エンドデバイス32で利用可能なサービスソフトウェア18を選択する(ステップC02)。In step A03, upon receiving the end device information from the device management unit 13 (step C01), the softwaredistribution processing unit 14 searches thedistribution DB 141 based on the received end device information, and theservice software 18 that can be used by theend device 32. Is selected (step C02).
次に、ソフトウェア配信処理部14は、選択したサービスソフトウェア18の配信をソフトウェア配信サーバ31に要求する(ステップC03)。Next, the softwaredistribution processing unit 14 requests thesoftware distribution server 31 to distribute the selected service software 18 (step C03).
また、ソフトウェア配信処理部14は、エンドデバイス情報をアドレス通知・設定処理部15へ送信する(ステップC04)。Also, the softwaredistribution processing unit 14 transmits end device information to the address notification / setting processing unit 15 (step C04).
次に図2に示したステップA04の処理例について図5を用いて説明する。Next, a processing example of step A04 shown in FIG. 2 will be described with reference to FIG.
ステップA04において、ソフトウェア配信サーバ31は、ソフトウェア配信処理部14からサービスソフトウェア18の配信要求を受信すると(ステップD01)、要求されたサービスソフトウェア18をゲートウェイ装置10に配信する(ステップD02)。In step A04, when receiving the distribution request for theservice software 18 from the software distribution processing unit 14 (step D01), thesoftware distribution server 31 distributes the requestedservice software 18 to the gateway device 10 (step D02).
ソフトウェア配信サーバ31は、サービスソフトウェア18の配信が完了すると、完了通知をソフトウェア配信処理部14へ送信する(ステップD03)。When the distribution of theservice software 18 is completed, thesoftware distribution server 31 transmits a completion notification to the software distribution processing unit 14 (step D03).
次に図2に示したステップA05の処理例について図6を用いて説明する。Next, a processing example of step A05 shown in FIG. 2 will be described with reference to FIG.
ステップA05において、アドレス通知・設定処理部15は、ソフトウェア配信処理部14からエンドデバイス情報を受信すると(ステップE01)、アドレス/ID生成部16にアドレス/IDの生成を要求する(ステップE02)。In step A05, when receiving the end device information from the software distribution processing unit 14 (step E01), the address notification /setting processing unit 15 requests the address /ID generation unit 16 to generate an address / ID (step E02).
アドレス/ID生成部16は、アドレス通知・設定処理部15の要求にしたがって、接続されたエンドデバイス32のアドレス/IDを生成し、生成したアドレス/ID情報をアドレス通知・設定処理部15へ送信する(ステップE03)。The address /ID generation unit 16 generates an address / ID of theconnected end device 32 in accordance with a request from the address notification /setting processing unit 15 and transmits the generated address / ID information to the address notification /setting processing unit 15. (Step E03).
アドレス通知・設定処理部15は、アドレス/ID生成部16からアドレス/ID情報を受信すると、該アドレス/ID情報と接続されたエンドデバイス32のエンドデバイス情報(MACアドレス)とを関連付けてアドレス/IDDB151に格納する(ステップE04)。When the address notification /setting processing unit 15 receives the address / ID information from the address /ID generation unit 16, the address notification /setting processing unit 15 associates the address / ID information with the end device information (MAC address) of theconnected end device 32. Store in the IDDB 151 (step E04).
また、アドレス通知・設定処理部15は、アドレス/IDDB151に格納したアドレス/ID及びエンドデバイス情報(デバイス名)を名前解決部17に通知する(ステップE05)。Further, the address notification /setting processing unit 15 notifies thename resolution unit 17 of the address / ID and end device information (device name) stored in the address / IDDB 151 (step E05).
次に図2に示したステップA06の処理例について図7を用いて説明する。Next, a processing example of step A06 shown in FIG. 2 will be described with reference to FIG.
ステップA06において、名前解決部17は、アドレス通知・設定処理部15からエンドデバイス情報(デバイス名)及びアドレス/ID情報を受信すると(ステップF01)、接続されたエンドデバイス32のアドレス/ID情報と該エンドデバイス32のデバイス名とを関連付けて名前解決DB171に格納する(ステップF02)。In step A06, upon receiving the end device information (device name) and address / ID information from the address notification / setting processing unit 15 (step F01), thename resolution unit 17 receives the address / ID information of theconnected end device 32 and The device name of theend device 32 is associated and stored in the name resolution DB 171 (step F02).
次に、図8を用いて本実施形態のエンドデバイスの利用動作例について説明する。Next, a usage operation example of the end device of this embodiment will be described with reference to FIG.
図8は、図1に示したソフトウェア設定システムによるエンドデバイスの利用動作の一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of an operation of using an end device by the software setting system shown in FIG.
図8に示すように、利用者が、サービスソフトウェア部18を用いて、ゲートウェイ装置10に接続されたエンドデバイス32の利用を要求すると(ステップG01)、サービスソフトウェア部18は、利用するエンドデバイス32のデバイス名を用いて名前解決部17にエンドデバイス32に対応するアドレス/IDの送信を要求する(ステップG02)。As shown in FIG. 8, when the user requests the use of theend device 32 connected to thegateway apparatus 10 using the service software unit 18 (step G01), theservice software unit 18 uses theend device 32 to be used. Thename resolution unit 17 is requested to transmit the address / ID corresponding to theend device 32 using the device name (step G02).
名前解決部17は、サービスソフトウェア部18からデバイス名が通知されると、名前解決DB271を検索し、該デバイス名に対応するエンドデバイス32に現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報をサービスソフトウェア部18に通知する(ステップG03)。When the device name is notified from theservice software unit 18, thename resolution unit 17 searches the name resolution DB 271 and extracts the address / ID information currently set in theend device 32 corresponding to the device name. The address / ID information is notified to the service software unit 18 (step G03).
サービスソフトウェア部18は、名前解決部17から受信したアドレス/ID情報をアドレス通知・設定処理部15へ送信し、該アドレス/ID情報に対応するエンドデバイス32のMACアドレスの送信を要求する(ステップG04)。Theservice software unit 18 transmits the address / ID information received from thename resolution unit 17 to the address notification /setting processing unit 15 and requests transmission of the MAC address of theend device 32 corresponding to the address / ID information (step). G04).
アドレス通知・設定処理部15は、サービスソフトウェア部18からの要求にしたがってアドレス/IDDB151を検索し、アドレス/ID情報に対応するMACアドレスを抽出し、抽出したMACアドレスをサービスソフトウェア部18に送信する(ステップG05)。The address notification /setting processing unit 15 searches the address / IDDB 151 in accordance with a request from theservice software unit 18, extracts a MAC address corresponding to the address / ID information, and transmits the extracted MAC address to theservice software unit 18. (Step G05).
サービスソフトウェア部18は、アドレス通知・設定処理部15から受信したMACアドレスの情報を保持し(ステップG06)、保持したMACアドレスを用いてデバイスドライバ部12及びデバイス接続用インターフェース11を介してエンドデバイス32にアクセスし、エンドデバイス32を利用する(ステップG07)。Theservice software unit 18 stores the MAC address information received from the address notification / setting processing unit 15 (step G06), and uses the stored MAC address to transmit the end device via the device driver unit 12 and thedevice connection interface 11. 32 is accessed and theend device 32 is used (step G07).
次に、本実施形態のソフトウェア設定システムの効果について説明する。Next, the effect of the software setting system of this embodiment will be described.
本実施形態によれば、サービスソフトウェア部18は、利用するエンドデバイスのデバイス名を指定すると、該デバイス名に対応するアドレス/ID情報が名前解決部17から通知され、該アドレス/ID情報に基づきアドレス通知・設定処理部15からエンドデバイスのMACアドレスが通知されるため、nonIPのエンドデバイス32であってもゲートウェイ装置10に接続して利用できる。According to the present embodiment, when theservice software unit 18 designates the device name of the end device to be used, the address / ID information corresponding to the device name is notified from thename resolution unit 17, and based on the address / ID information Since the MAC address of the end device is notified from the address notification /setting processing unit 15, even thenonIP end device 32 can be connected to thegateway device 10 and used.
また、サービスソフトウェア部18はエンドデバイス32を利用する際に、アドレス/IDではなくデバイス名でエンドデバイス32を識別できるため、エンドデバイス32に割り当てられたアドレス/IDが何らかの理由で変更されても、サービスソフトウェア部18はその影響を受けることなくエンドデバイス32を利用できる。Further, when using theend device 32, theservice software unit 18 can identify theend device 32 not by the address / ID but by the device name. Therefore, even if the address / ID assigned to theend device 32 is changed for some reason. Theservice software unit 18 can use theend device 32 without being affected by theservice software unit 18.
さらに、ソフトウェア配信処理部14が備える配信DB141でエンドデバイス32を利用するためのサービスソフトウェアの情報を保存し、ソフトウェア配信処理部14はエンドデバイス情報に基づいて配信DB141から利用可能なサービスソフトウェアを選択するため、ゲートウェイ装置10は、接続されたエンドデバイス32で利用できるサービスソフトウェアを自動でソフトウェア配信サーバ31から取得できる。
(実施例)
次に本発明の実施例について図面を用いて説明する。Further, service software information for using theend device 32 is stored in thedistribution DB 141 provided in the softwaredistribution processing unit 14, and the softwaredistribution processing unit 14 selects available service software from thedistribution DB 141 based on the end device information. Therefore, thegateway apparatus 10 can automatically acquire service software that can be used by theconnected end device 32 from thesoftware distribution server 31.
(Example)
Next, embodiments of the present invention will be described with reference to the drawings.
以下では、ゲートウェイ装置としてホームゲートウェイを想定し、該ホームゲートウェイに接続して利用可能な各種のエンドデバイスの設定例と、該エンドデバイスを用いたサービスの利用例について説明する。Hereinafter, assuming a home gateway as the gateway device, examples of setting various end devices that can be used by connecting to the home gateway and examples of using services using the end devices will be described.
図9は、図1に示したソフトウェア設定システムの実施例の構成を示すブロック図である。FIG. 9 is a block diagram showing the configuration of the embodiment of the software setting system shown in FIG.
図9に示すように、本実施例の設定システムは、ゲートウェイ装置としてホームゲートウェイ20を備え、ホームゲートウェイ20に、ソフトウェア配信サーバ41と、エンドデバイスであるエアーコンディショナー(以下、エアコンと称す)42、NW(Network)カメラ43及び温度センサ44とが接続された構成である。エアコン42、NWカメラ43及び温度センサ44等のエンドデバイスは、初期状態ではホームゲートウェイ20に接続されていないものとする。As shown in FIG. 9, the setting system of the present embodiment includes ahome gateway 20 as a gateway device. Thehome gateway 20 includes asoftware distribution server 41, an air conditioner (hereinafter referred to as an air conditioner) 42 as an end device, In this configuration, an NW (Network)camera 43 and atemperature sensor 44 are connected. End devices such as theair conditioner 42, theNW camera 43, and thetemperature sensor 44 are not connected to thehome gateway 20 in the initial state.
ホームゲートウェイ20は、デバイス接続インターフェース21、ZigBee用ドライバ22、デバイス管理部23、ソフトウェア配信管理部24、アドレス通知・設定処理部25、アドレス/ID生成部26、名前解決部27及び家電遠隔制御ソフトウェア部28を備える。Thehome gateway 20 includes adevice connection interface 21, aZigBee driver 22, adevice management unit 23, a softwaredistribution management unit 24, an address notification /setting processing unit 25, an address /ID generation unit 26, aname resolution unit 27, and home appliance remote control software. Theunit 28 is provided.
ZigBee用ドライバ22は、図1に示したデバイスドライバ部12に対応し、家電遠隔制御ソフトウェア部28は、図1に示したサービスソフトウェア部18に対応する。TheZigBee driver 22 corresponds to the device driver unit 12 shown in FIG. 1, and the home appliance remotecontrol software unit 28 corresponds to theservice software unit 18 shown in FIG.
デバイス接続インターフェース21は、エンドデバイスの通信方式に対応するZigBee用インターフェース211、Z-Wave用インターフェース212、BlueTooth用インターフェース213等を備える。Thedevice connection interface 21 includes aZigBee interface 211, a Z-Wave interface 212, aBlueTooth interface 213, and the like corresponding to the communication method of the end device.
ソフトウェア配信処理部24は配信DB241を備え、アドレス通知・設定処理部25はアドレス/IDDB251を備え、名前解決部27は名前解決DB271を備えている。The softwaredistribution processing unit 24 includes adistribution DB 241, the address notification /setting processing unit 25 includes an address / IDDB 251, and thename resolution unit 27 includes a name resolution DB 271.
家電遠隔制御ソフトウェア部28には、初期状態でプログラム(家電遠隔制御ソフトウェア)がインストールされていないものとする。It is assumed that no program (home appliance remote control software) is installed in the home appliance remotecontrol software unit 28 in the initial state.
デバイス接続インターフェース21は、ホームゲートウェイ20に接続されたエンドデバイスの通信方式に対応するインターフェースを選択し、該エンドデバイスを対応するデバイスドライバ部に接続する。Thedevice connection interface 21 selects an interface corresponding to the communication method of the end device connected to thehome gateway 20, and connects the end device to the corresponding device driver unit.
エンドデバイスは、上述したようにエアコン42、NWカメラ43、人感センサ44等であり、デバイス接続インターフェースは、ZigBee用インターフェース211、Z-Wave用インターフェース212、BlueTooth用インターフェース213等、周知のインターフェースである。As described above, the end device is theair conditioner 42, theNW camera 43, thehuman sensor 44, and the like. The device connection interface is a well-known interface such as theZigBee interface 211, the Z-Wave interface 212, theBlueTooth interface 213, or the like. is there.
以下、ホームゲートウェイ20に接続されるエンドデバイスがエアコン42であり、対応するインターフェースがZigBee用インターフェースである場合を例にして説明する。Hereinafter, the case where the end device connected to thehome gateway 20 is theair conditioner 42 and the corresponding interface is a ZigBee interface will be described as an example.
ZigBee用ドライバ22は、ホームゲートウェイ20にエアコン42が接続されると、該エアコン42からエンドデバイス情報を取得し、取得したエンドデバイス情報をデバイス管理部23に通知する。When theair conditioner 42 is connected to thehome gateway 20, theZigBee driver 22 acquires end device information from theair conditioner 42 and notifies thedevice management unit 23 of the acquired end device information.
デバイス管理部23は、ZigBee用ドライバ22からエンドデバイス情報を受信すると、該エンドデバイス情報を保存すると共に、ソフトウェア配信処理部24へ送信する。When thedevice management unit 23 receives the end device information from theZigBee driver 22, thedevice management unit 23 stores the end device information and transmits it to the softwaredistribution processing unit 24.
ソフトウェア配信処理部24は、デバイス管理部23からエンドデバイス情報を受信すると、受信したエンドデバイス情報に基づいて、エアコン42に対応するサービスソフトウェアである、例えば家電遠隔制御ソフトウェアの情報を配信DB241から取得する。そして、配信DB241から取得した情報に基づいてソフトウェア配信サーバ41に家電遠隔制御ソフトウェアの配信を要求すると共に、エンドデバイス情報をアドレス通知・設定処理部25に送信する。Upon receiving the end device information from thedevice management unit 23, the softwaredistribution processing unit 24 acquires, from thedistribution DB 241 for example, information on home appliance remote control software, which is service software corresponding to theair conditioner 42, based on the received end device information. To do. Based on the information acquired from thedistribution DB 241, thesoftware distribution server 41 is requested to distribute the home appliance remote control software, and the end device information is transmitted to the address notification /setting processing unit 25.
アドレス通知・設定処理部25は、ソフトウェア配信処理部24からエンドデバイス情報を受信すると、アドレス/ID生成部26にアドレス/IDの生成を要求する。When receiving the end device information from the softwaredistribution processing unit 24, the address notification /setting processing unit 25 requests the address /ID generation unit 26 to generate an address / ID.
アドレス/ID生成部26は、アドレス通知・設定処理部25からアドレス/IDの生成が要求されると、エンドデバイス(エアコン42)に対応するアドレス/IDを生成し、生成したアドレス/ID情報をアドレス通知・設定処理部25に送信する。When the address notification /setting processing unit 25 requests generation of an address / ID, the address /ID generation unit 26 generates an address / ID corresponding to the end device (air conditioner 42), and generates the generated address / ID information. This is transmitted to the address notification /setting processing unit 25.
アドレス通知・設定処理部25は、アドレス/ID生成部26から受信したアドレス/ID情報とエンドデバイス情報(MACアドレス)とを関連付けてアドレス/IDDB251に格納し、エンドデバイス情報(デバイス名)及びアドレス/ID情報を名前解決部27に送信する。The address notification /setting processing unit 25 associates the address / ID information received from the address /ID generation unit 26 with the end device information (MAC address) and stores it in the address / IDDB 251, and stores the end device information (device name) and the address. / ID information is transmitted to thename resolution unit 27.
名前解決部27は、アドレス通知・設定処理部25からエンドデバイス情報(デバイス名)及びアドレス/ID情報を受信すると、該エンドデバイス情報(デバイス名)とアドレス/ID情報とを関連付けて名前解決DB271に格納する。Upon receiving the end device information (device name) and the address / ID information from the address notification /setting processing unit 25, thename resolution unit 27 associates the end device information (device name) with the address / ID information and performs name resolution DB 271. To store.
ソフトウェア配信サーバ41は、ソフトウェア配信処理部24からの要求にしたがってホームゲートウェイ20に、例えばエアコン42を制御するための家電遠隔制御ソフトウェアを配信する。Thesoftware distribution server 41 distributes home appliance remote control software for controlling, for example, theair conditioner 42 to thehome gateway 20 in accordance with a request from the softwaredistribution processing unit 24.
ホームゲートウェイ20は、ソフトウェア配信サーバ41から配信されたプログラム(家電遠隔制御ソフトウェア)を受信してインストールし、該家電遠隔制御ソフトウェアにしたがって処理を実行する家電遠隔制御ソフトウェア部28によりエアコン42の動作を制御する。Thehome gateway 20 receives and installs the program (home appliance remote control software) distributed from thesoftware distribution server 41, and controls the operation of theair conditioner 42 by the home appliance remotecontrol software unit 28 that executes processing according to the home appliance remote control software. Control.
エアコン42は、ホームゲートウェイ20へ接続され、上記の処理が終了すると、ホームゲートウェイ20から送信される利用要求にしたがって動作する。Theair conditioner 42 is connected to thehome gateway 20 and operates according to the use request transmitted from thehome gateway 20 when the above processing is completed.
図10はエンドデバイス情報の一例を示す表であり、図11は図9に示した配信DBに格納される情報の一例を示す表である。図12は図9に示したアドレス/IDDBに格納される情報の一例を示す表であり、図13は図9に示した名前解決DBに格納される情報の一例を示す表である。図10は、ホームゲートウェイ20に接続されるエンドデバイスが温度センサ44である場合のエンドデバイス情報の一例を示している。図11は、配信DBに関連付けて登録されるエンドデバイス及びサービスソフトウェアの一例を示している。図12は、アドレス/IDDBに関連付けて登録されるエンドデバイス情報及びアドレス/ID情報の一例を示している。図13は、名前解決DBに関連付けて登録されるエンドデバイスのアドレス/ID及びデバイス名の一例を示している。FIG. 10 is a table showing an example of end device information, and FIG. 11 is a table showing an example of information stored in the distribution DB shown in FIG. 12 is a table showing an example of information stored in the address / IDDB shown in FIG. 9, and FIG. 13 is a table showing an example of information stored in the name resolution DB shown in FIG. FIG. 10 shows an example of end device information when the end device connected to thehome gateway 20 is thetemperature sensor 44. FIG. 11 shows an example of end devices and service software registered in association with the distribution DB. FIG. 12 shows an example of end device information and address / ID information registered in association with the address / IDDB. FIG. 13 shows an example of the end device address / ID and device name registered in association with the name resolution DB.
図11に示すように、ホームゲートウェイ20には、1台のNWカメラ、2台のエアコン、1台の照明装置が接続され、既にこれらのエンドデバイスに対応するサービスソフトウェアがそれぞれ配備(インストール)されているものとする。また、それに対応してアドレス/IDDB251には図12に示すエンドデバイス情報及びアドレス/ID情報が格納され、名前解決DB271には図13に示すエンドデバイスのアドレス/ID及びデバイス名が格納されているものとする。As shown in FIG. 11, one NW camera, two air conditioners, and one lighting device are connected to thehome gateway 20, and service software corresponding to these end devices has already been installed (installed). It shall be. Correspondingly, the address / ID DB 251 stores the end device information and address / ID information shown in FIG. 12, and the name resolution DB 271 stores the address / ID and device name of the end device shown in FIG. Shall.
ここで、図10に示したエンドデバイス情報を備える温度センサ44をホームゲートウェイ20にさらに接続する場合を例にして本実施例の動作を説明する。Here, the operation of this embodiment will be described by taking as an example the case where thetemperature sensor 44 having end device information shown in FIG. 10 is further connected to thehome gateway 20.
ホームゲートウェイ20は、エンドデバイスが接続されたか否を監視し、例えば温度センサ44が接続されると(図2のステップA01)、接続された温度センサ44の情報を認識し、温度センサ44からエンドデバイス情報を取得する(図2のステップA02)。Thehome gateway 20 monitors whether or not the end device is connected. For example, when thetemperature sensor 44 is connected (step A01 in FIG. 2), thehome gateway 20 recognizes the information of the connectedtemperature sensor 44 and ends thetemperature sensor 44. Device information is acquired (step A02 in FIG. 2).
次に、ホームゲートウェイ20は、取得した温度センサ44のエンドデバイス情報に基づき、ソフトウェア配信処理部24によってソフトウェア配信サーバ41に家電遠隔制御ソフトウェアの配信を要求する(図2のステップA03)。Next, based on the acquired end device information of thetemperature sensor 44, thehome gateway 20 requests the softwaredistribution processing unit 24 to distribute the home appliance remote control software by the software distribution processing unit 24 (step A03 in FIG. 2).
ソフトウェア配信サーバ41は、ホームゲートウェイ20の要求にしたがって家電遠隔制御ソフトウェアをホームゲートウェイ20に配信する(図2のステップA04)。Thesoftware distribution server 41 distributes the home appliance remote control software to thehome gateway 20 in accordance with a request from the home gateway 20 (step A04 in FIG. 2).
ホームゲートウェイ20は、アドレス通知・設定処理部25によりアドレス/ID生成部26に温度センサ44のアドレス/IDを生成させ、該アドレス/IDを温度センサ44のエンドデバイス情報に関連付けてアドレス/IDDB251に格納する(図2のステップA05)。Thehome gateway 20 causes the address notification /setting processing unit 25 to cause the address /ID generation unit 26 to generate the address / ID of thetemperature sensor 44, and associates the address / ID with the end device information of thetemperature sensor 44 in the address / IDDB 251. Store (step A05 in FIG. 2).
また、ホームゲートウェイ20は、名前解決部27によってエンドデバイス情報(デバイス名)及びアドレス/ID情報を付けて名前解決DB271に格納する(図2のステップA06)。In addition, thehome gateway 20 stores the end device information (device name) and address / ID information in the name resolution DB 271 by the name resolution unit 27 (step A06 in FIG. 2).
サービスソフトウェア部は、ソフトウェア配信サーバ41から配信された家電遠隔制御ソフトウェアにしたがって処理を実行することで、温度センサ44を用いたサービスを実現する。The service software unit realizes a service using thetemperature sensor 44 by executing processing according to the home appliance remote control software distributed from thesoftware distribution server 41.
ステップA02において、デバイス接続インターフェース21は、ホームゲートウェイ20に温度センサ44が接続されると、温度センサ44の通信方式に対応するZigBee用ドライバ22に接続を要求する(図3のステップB01)。In step A02, when thetemperature sensor 44 is connected to thehome gateway 20, thedevice connection interface 21 requests connection to theZigBee driver 22 corresponding to the communication method of the temperature sensor 44 (step B01 in FIG. 3).
ZigBee用ドライバ22は、温度センサ44が接続されると、該温度センサ44からエンドデバイス情報を取得し、デバイス管理部23へ送信する(図3のステップB02)。When thetemperature sensor 44 is connected, theZigBee driver 22 acquires end device information from thetemperature sensor 44 and transmits it to the device management unit 23 (step B02 in FIG. 3).
デバイス管理部23は、ZigBee用ドライバ22から送信されたエンドデバイス情報を保存すると共に、ソフトウェア配信処理部24へ該エンドデバイス情報を送信する(図3のステップB03)。Thedevice management unit 23 stores the end device information transmitted from theZigBee driver 22 and transmits the end device information to the software distribution processing unit 24 (step B03 in FIG. 3).
ステップA03において、ソフトウェア配信処理部24は、デバイス管理部23から温度センサ44のエンドデバイス情報を受信すると(図4のステップC01)、受信したエンドデバイス情報に基づいて配信DB241を検索し、利用可能な家電遠隔制御ソフトウェア28を選択する(図4のステップC02)。In step A03, when receiving the end device information of thetemperature sensor 44 from the device management unit 23 (step C01 in FIG. 4), the softwaredistribution processing unit 24 searches thedistribution DB 241 based on the received end device information and can use it. Home applianceremote control software 28 is selected (step C02 in FIG. 4).
次に、ソフトウェア配信処理部24は、選択した家電遠隔制御ソフトウェア28の配信をソフトウェア配信サーバ41に要求する(図4のステップC03)。Next, the softwaredistribution processing unit 24 requests thesoftware distribution server 41 to distribute the selected home appliance remote control software 28 (step C03 in FIG. 4).
ソフトウェア配信処理部24は、温度センサ44のエンドデバイス情報をアドレス通知・設定処理部25へ送信する(図4のステップC04)。The softwaredistribution processing unit 24 transmits the end device information of thetemperature sensor 44 to the address notification / setting processing unit 25 (step C04 in FIG. 4).
ステップA04において、ソフトウェア配信サーバ41は、ソフトウェア配信処理部24から家電遠隔制御ソフトウェア28の配信が要求されると(図5のステップD01)、要求された家電遠隔制御ソフトウェア28をホームゲートウェイ20に配信する(図5のステップD02)。In step A04, when distribution of the home applianceremote control software 28 is requested from the software distribution processing unit 24 (step D01 in FIG. 5), thesoftware distribution server 41 distributes the requested home applianceremote control software 28 to thehome gateway 20. (Step D02 in FIG. 5).
ソフトウェア配信サーバ41は、家電遠隔制御ソフトウェア28の配信が完了すると、完了通知をソフトウェア配信処理部24へ送信する(図5のステップD03)。When the distribution of the home applianceremote control software 28 is completed, thesoftware distribution server 41 transmits a completion notification to the software distribution processing unit 24 (step D03 in FIG. 5).
ステップA05において、アドレス通知・設定処理部25は、ソフトウェア配信処理部24から温度センサ44のエンドデバイス情報を受信すると(図6のステップE01)、アドレス/ID生成部26にアドレス/IDの生成を要求する(図6のステップE02)。In step A05, when the address notification /setting processing unit 25 receives the end device information of thetemperature sensor 44 from the software distribution processing unit 24 (step E01 in FIG. 6), the address /ID generation unit 26 generates the address / ID. Request (step E02 in FIG. 6).
アドレス/ID生成部26は、アドレス通知・設定処理部25からの要求にしたがって温度センサ44のアドレス/IDを生成し、生成したアドレス/ID情報をアドレス通知・設定処理部25へ送信する(図6のステップE03)。The address /ID generation unit 26 generates an address / ID of thetemperature sensor 44 in accordance with a request from the address notification /setting processing unit 25, and transmits the generated address / ID information to the address notification / setting processing unit 25 (FIG. 6 step E03).
アドレス通知・設定処理部25は、アドレス/ID生成部26からアドレス/ID情報を受信すると、該アドレス/ID情報と温度センサ44のエンドデバイス情報(MAとアドレス)とを関連付けてアドレス/IDDB251に格納する(図6のステップE04)。また、アドレス通知・設定処理部25は、アドレス/IDDB251に格納したアドレス/ID及び温度センサ44のエンドデバイス情報(デバイス名)を名前解決部27に送信する(図6のステップE05)。When the address notification /setting processing unit 25 receives the address / ID information from the address /ID generation unit 26, the address notification /setting processing unit 25 associates the address / ID information with the end device information (MA and address) of thetemperature sensor 44 in the address / IDDB 251. Store (step E04 in FIG. 6). Further, the address notification /setting processing unit 25 transmits the address / ID stored in the address / IDDB 251 and the end device information (device name) of thetemperature sensor 44 to the name resolution unit 27 (step E05 in FIG. 6).
ステップA06において、名前解決部27は、アドレス通知・設定処理部25から温度センサ44のエンドデバイス情報(デバイス名)及びアドレス/IDを受信すると(図7のステップF01)、温度センサ44に対応するアドレス/IDとエンドデバイス名とを関連付けて名前解決DB271に格納する(図7のステップF02)。In step A06, when thename resolution unit 27 receives the end device information (device name) and address / ID of thetemperature sensor 44 from the address notification / setting processing unit 25 (step F01 in FIG. 7), thename resolution unit 27 corresponds to thetemperature sensor 44. The address / ID and the end device name are associated with each other and stored in the name resolution DB 271 (step F02 in FIG. 7).
次に、本実施例のエンドデバイスの利用動作について説明する。Next, the usage operation of the end device of this embodiment will be described.
利用者が、家電遠隔制御ソフトウェアの処理にしたがってホームゲートウェイ20に接続された温度センサ44の利用を要求すると(図8のステップG01)、サービスソフトウェア部は、家電遠隔制御ソフトウェアにしたがって利用者から要求された温度センサ44のデバイス名を用いて名前解決部27に温度センサ44に対応するアドレス/IDの送信を要求する(図8のステップG02)。When the user requests use of thetemperature sensor 44 connected to thehome gateway 20 according to the processing of the home appliance remote control software (step G01 in FIG. 8), the service software unit requests from the user according to the home appliance remote control software. Using the device name of thetemperature sensor 44, thename resolution unit 27 is requested to transmit an address / ID corresponding to the temperature sensor 44 (step G02 in FIG. 8).
名前解決部27は、サービスソフトウェア部からデバイス名が通知されると、名前解決DB271を検索し、温度センサ44に現在設定されているアドレス/IDを抽出し、該アドレス/IDをサービスソフトウェア部に通知する(図8のステップG03)。When the device name is notified from the service software unit, thename resolution unit 27 searches the name resolution DB 271, extracts the address / ID currently set in thetemperature sensor 44, and sends the address / ID to the service software unit. Notification is made (step G03 in FIG. 8).
サービスソフトウェア部は、名前解決部27から受信したアドレス/IDをアドレス通知・設定処理部25へ送信し、該アドレス/IDに対応するMACアドレスの送信を要求する(図8のステップG04)。The service software section transmits the address / ID received from thename resolution section 27 to the address notification /setting processing section 25 and requests transmission of the MAC address corresponding to the address / ID (step G04 in FIG. 8).
アドレス通知・設定処理部25は、サービスソフトウェア部からの要求にしたがってアドレス/IDDB251を検索し、アドレス/IDに対応するMACアドレスの情報をサービスソフトウェア部に送信する(図8のステップG05)。The address notification /setting processing unit 25 searches the address / IDDB 251 according to the request from the service software unit, and transmits the MAC address information corresponding to the address / ID to the service software unit (step G05 in FIG. 8).
サービスソフトウェア部は、アドレス通知・設定処理部25からMACアドレスの情報を受信すると、該情報を保持し(図8のステップG06)、保持したMACアドレスの情報を用いて、ZigBee用ドライバ22及びデバイス接続用インターフェース21を介して温度センサ44にアクセスし、温度センサ44を利用する(図8のステップG07)。When the service software unit receives the MAC address information from the address notification /setting processing unit 25, the service software unit holds the information (step G06 in FIG. 8), and uses the held MAC address information to use theZigBee driver 22 and the device. Thetemperature sensor 44 is accessed via theconnection interface 21 and thetemperature sensor 44 is used (step G07 in FIG. 8).
以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されものではない。本願発明の構成や詳細は本願発明のスコープ内で当業者が理解し得る様々な変更が可能である。As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
この出願は、2011年5月24日に出願された特願2011-115895号を基礎とする優先権を主張し、その開示の全てをここに取り込む。This application claims priority based on Japanese Patent Application No. 2011-115895 filed on May 24, 2011, the entire disclosure of which is incorporated herein.