WO2012160987A1 - Gateway device, software setting method, and program - Google Patents

Gateway device, software setting method, and program Download PDF

Info

Publication number
WO2012160987A1
WO2012160987A1 PCT/JP2012/062007 JP2012062007W WO2012160987A1 WO 2012160987 A1 WO2012160987 A1 WO 2012160987A1 JP 2012062007 W JP2012062007 W JP 2012062007W WO 2012160987 A1 WO2012160987 A1 WO 2012160987A1
Authority
WO
WIPO (PCT)
Prior art keywords
end device
information
address
service software
software
Prior art date
Application number
PCT/JP2012/062007
Other languages
French (fr)
Japanese (ja)
Inventor
悠一朗 吉田
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Publication of WO2012160987A1 publication Critical patent/WO2012160987A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network

Definitions

  • the present invention relates to a gateway device that downloads and installs a required program, a software setting method, and a program.
  • a system has been developed that changes the set temperature of the air conditioner based on temperature information measured by a temperature sensor, or turns off the television receiver when a human sensor detects that no person is present.
  • NW Network
  • systems have been developed in which the direction of an NW (Network) camera is directed in the direction of human detection when the presence of a human is detected by a human sensor.
  • NW Network
  • an increasing number of systems connect an end device to a gateway device that relays communication between networks and realize various services using the end device via the gateway device.
  • a system that provides various services using such a gateway device has not yet become widespread.
  • setting information of a home device that is assumed to be connected to a network is stored in advance in a database included in the gateway device, and when the end device is connected to the gateway device, the attribute of the end device is stored.
  • a software setting system that reads (manufacturer name, product model number, manufacturing number, etc.), obtains setting information corresponding to the attribute from the database, sets the state of the end device, and further executes settings for the gateway device is described Has been.
  • Patent Document 1 has the following problems.
  • the first problem relates to network settings that allow end devices to connect to a network.
  • an end device that supports an IP (Internet Protocol) address and an end that has a UPnP (Universal Plug and Play) function.
  • the device is the target of the network setting, and the nonIP end device is not the target of the network setting.
  • the reason is that Patent Document 1 does not assume connection of a nonIP end device to the network.
  • the second problem is that there is no mechanism for the gateway device to automatically obtain service software for providing a service using an end device from the outside.
  • the reason is that the technology described in Patent Document 1 assumes that the service realized by the end device is only a service using the function of the end device alone, and provides various services using the end device. This is because it is not assumed.
  • the third problem is that there is no mechanism for determining whether or not the end device is the same when the IP address of the end device connected to the gateway device changes. This is because the technique described in Patent Document 1 does not assume the use of an end device using an IP address (acquisition of end device status information, remote operation of the end device, etc.).
  • the present invention can use a connected end device even with nonIP, can cope with the change of the IP address of the end device, and can automatically acquire service software corresponding to the end device, software
  • An object is to provide a setting method and a program.
  • a gateway device of the present invention when an end device is connected, obtains end device information including information for identifying the end device from the end device; When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected.
  • the device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other, and the device name is notified from the service software unit
  • a name resolution unit that extracts address / ID information currently set in the end device corresponding to the device name, and notifies the service software unit of the address / ID information;
  • the address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is An address notification / setting processing unit for notifying the service software unit;
  • the gateway device When an end device is connected, end device information including information for identifying the end device is acquired from the end device; When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. Obtain the service software from the outside, The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other, When the device name is notified from the service software unit that uses the end device according to the service software, the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information is extracted.
  • the address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is This is a method of notifying the service software section.
  • the program of the present invention is a program for setting software acquired from the outside in a computer, When an end device is connected, end device information including information for identifying the end device is acquired from the end device; When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected.
  • the device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other,
  • the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information
  • the MAC address corresponding to the address / ID information is This is for informing the service software section.
  • FIG. 1 is a block diagram showing a configuration example of a software setting system according to the present invention.
  • 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.
  • FIG. 4 is a flowchart showing an example of detailed processing in step A03 shown in FIG.
  • FIG. 5 is a flowchart showing an example of detailed processing in step A04 shown in FIG.
  • 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.
  • FIG. 1 is a block diagram showing a configuration example of a software setting system according to the present invention.
  • 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
  • FIG. 8 is a flowchart showing an example of an operation of using an end device by the software setting system shown in FIG.
  • FIG. 9 is a block diagram showing the configuration of the embodiment of the software setting system shown in FIG.
  • FIG. 10 is a table showing an example of end device information.
  • FIG. 11 is a table showing an example of information stored in the distribution DB shown in FIG.
  • FIG. 12 is a table showing an example of information stored in the address / IDDB shown in FIG.
  • FIG. 13 is a table showing an example of information stored in the name resolution DB shown in FIG.
  • FIG. 1 is a block diagram showing a configuration example of the software setting system of the present invention.
  • the software setting system of the present invention includes a gateway device 10, a software distribution server 31, and an end device 32.
  • the end device 32 is a device such as a sensor, an actuator, or a home appliance, and is connected to the gateway device 10 and used for realizing a predetermined service.
  • the gateway device 10 implements a service using the end device 32 in accordance with service software corresponding to the connected end device 32.
  • the gateway apparatus 10 requests the software distribution server 31 to distribute service software corresponding to the end device 32.
  • the software distribution server 31 is a server that distributes required service software in accordance with a request from the gateway device 10.
  • the gateway device 10 and the software 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.
  • the gateway device 10 includes a device connection interface 11, a device driver unit 12, a device management unit 13, a software distribution processing unit 14, an address notification / setting processing unit 15, an address / ID generation unit 16, and a name.
  • a resolution unit 17 and a service software unit 18 are provided.
  • the software distribution processing unit 14 includes a distribution DB 141, the address notification / setting processing unit 15 includes an address / IDDB 151, and the name resolution unit 17 includes a name resolution DB 171.
  • the device connection interface 11 provides an interface corresponding to the communication method of the end device 32 connected to the gateway device 10.
  • the device driver unit 12 acquires end device information from the end device 32 and transmits the acquired information to the device 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.
  • the device management unit 13 When the device management unit 13 receives the end device information from the device driver unit 12, the device management unit 13 stores the end device information and transmits the end device information to the software distribution processing unit 14.
  • the software distribution processing unit 14 Upon receiving the end device information from the device management unit 13, the software distribution processing unit 14 acquires service software information corresponding to the end device from the distribution DB 141 based on the received end device information, and stores the information in the software distribution server 31. Request distribution of service software. Further, the software distribution processing unit 14 transmits the received end device information to the address notification / setting processing unit 15. In the distribution DB 141, service software information for using the end device is stored in advance in association with the end device information.
  • the address notification / setting processing unit 15 When receiving the end device information from the software distribution 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.
  • the address / ID generation unit 16 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 the part 15.
  • the address notification / setting processing unit 15 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 the name resolution unit 17.
  • the name resolution unit 17 When the name resolution unit 17 receives the end device information (device name) and the address / ID information from the address notification / setting processing unit 15, the name resolution unit 17 associates the received end device information (device name) with the address / ID information to resolve the name. Store in the DB 171.
  • the service software unit 18 implements a service using the end device 32 by executing processing according to a program (service software) distributed from the software distribution server 31.
  • 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
  • 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.
  • the gateway apparatus 10 monitors whether or not the end device 32 is connected (step A01), and acquires end device information from the end device 32 when the end device 32 is connected. (Step A02).
  • the software distribution processing unit 14 requests the software distribution server 31 to distribute the service software 18 based on the acquired end device information (step A03).
  • the software distribution server 31 distributes the requested service software 18 to the gateway device 10 when the distribution of the service software 18 is requested from the software distribution processing unit 14 (step A04).
  • the gateway device 10 causes the address / ID generation unit 16 to generate an address / ID corresponding to the connected end device 32 by the address notification / setting processing unit 15, and the generated address / ID information to the address / IDDB 151. (Step A05).
  • the name resolution unit 17 associates the address / ID of the end device 32 with the end device name of the end device 32 and stores it in the name resolution DB 171 (step A06).
  • step A02 shown in FIG. 2 Next, a processing example of step A02 shown in FIG. 2 will be described with reference to FIG.
  • step A02 when the end device 32 is connected to the gateway apparatus 10, the device connection interface 11 recognizes the end device 32 and requests connection to the device driver unit 12 corresponding to the end device 32 (step B01). ).
  • the device driver unit 12 acquires device information from the connected end device 32 and transmits it to the device management unit 13 (step B02).
  • the device 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).
  • step A03 shown in FIG. 2 Next, a processing example of step A03 shown in FIG. 2 will be described with reference to FIG.
  • step A03 upon receiving the end device information from the device management unit 13 (step C01), the software distribution processing unit 14 searches the distribution DB 141 based on the received end device information, and the service software 18 that can be used by the end device 32. Is selected (step C02).
  • the software distribution processing unit 14 requests the software distribution server 31 to distribute the selected service software 18 (step C03).
  • the software distribution processing unit 14 transmits end device information to the address notification / setting processing unit 15 (step C04).
  • step A04 shown in FIG. 2 Next, a processing example of step A04 shown in FIG. 2 will be described with reference to FIG.
  • step A04 when receiving the distribution request for the service software 18 from the software distribution processing unit 14 (step D01), the software distribution server 31 distributes the requested service software 18 to the gateway device 10 (step D02).
  • the software distribution server 31 transmits a completion notification to the software distribution processing unit 14 (step D03).
  • step A05 shown in FIG. 2 Next, a processing example of step A05 shown in FIG. 2 will be described with reference to FIG.
  • 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).
  • the address / ID generation unit 16 generates an address / ID of the connected 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).
  • the address notification / setting processing unit 15 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 the connected end device 32. Store in the IDDB 151 (step E04).
  • the address notification / setting processing unit 15 notifies the name resolution unit 17 of the address / ID and end device information (device name) stored in the address / IDDB 151 (step E05).
  • step A06 shown in FIG. 2 Next, a processing example of step A06 shown in FIG. 2 will be described with reference to FIG.
  • step A06 upon receiving the end device information (device name) and address / ID information from the address notification / setting processing unit 15 (step F01), the name resolution unit 17 receives the address / ID information of the connected end device 32 and The device name of the end device 32 is associated and stored in the name resolution DB 171 (step F02).
  • FIG. 8 is a flowchart showing an example of an operation of using an end device by the software setting system shown in FIG.
  • the service software unit 18 uses the end device 32 to be used.
  • the name resolution unit 17 is requested to transmit the address / ID corresponding to the end device 32 using the device name (step G02).
  • the name resolution unit 17 searches the name resolution DB 271 and extracts the address / ID information currently set in the end device 32 corresponding to the device name. The address / ID information is notified to the service software unit 18 (step G03).
  • the service software unit 18 transmits the address / ID information received from the name resolution unit 17 to the address notification / setting processing unit 15 and requests transmission of the MAC address of the end device 32 corresponding to the address / ID information (step). G04).
  • the address notification / setting processing unit 15 searches the address / IDDB 151 in accordance with a request from the service software unit 18, extracts a MAC address corresponding to the address / ID information, and transmits the extracted MAC address to the service software unit 18. (Step G05).
  • the service 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 the device connection interface 11. 32 is accessed and the end device 32 is used (step G07).
  • the service 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 the name 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 the nonIP end device 32 can be connected to the gateway device 10 and used.
  • the service software unit 18 can identify the end device 32 not by the address / ID but by the device name. Therefore, even if the address / ID assigned to the end device 32 is changed for some reason.
  • the service software unit 18 can use the end device 32 without being affected by the service software unit 18.
  • service software information for using the end device 32 is stored in the distribution DB 141 provided in the software distribution processing unit 14, and the software distribution processing unit 14 selects available service software from the distribution DB 141 based on the end device information. Therefore, the gateway apparatus 10 can automatically acquire service software that can be used by the connected end device 32 from the software distribution server 31.
  • 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.
  • FIG. 9 is a block diagram showing the configuration of the embodiment of the software setting system shown in FIG.
  • the setting system of the present embodiment includes a home gateway 20 as a gateway device.
  • the home gateway 20 includes a software distribution server 41, an air conditioner (hereinafter referred to as an air conditioner) 42 as an end device,
  • an NW (Network) camera 43 and a temperature sensor 44 are connected. End devices such as the air conditioner 42, the NW camera 43, and the temperature sensor 44 are not connected to the home gateway 20 in the initial state.
  • the home gateway 20 includes a device connection interface 21, a ZigBee driver 22, a device management unit 23, a software distribution management unit 24, an address notification / setting processing unit 25, an address / ID generation unit 26, a name resolution unit 27, and home appliance remote control software.
  • the unit 28 is provided.
  • the ZigBee driver 22 corresponds to the device driver unit 12 shown in FIG. 1, and the home appliance remote control software unit 28 corresponds to the service software unit 18 shown in FIG.
  • the device connection interface 21 includes a ZigBee interface 211, a Z-Wave interface 212, a BlueTooth interface 213, and the like corresponding to the communication method of the end device.
  • the software distribution processing unit 24 includes a distribution DB 241
  • the address notification / setting processing unit 25 includes an address / IDDB 251
  • the name resolution unit 27 includes a name resolution DB 271.
  • the device connection interface 21 selects an interface corresponding to the communication method of the end device connected to the home gateway 20, and connects the end device to the corresponding device driver unit.
  • the end device is the air conditioner 42, the NW camera 43, the human sensor 44, and the like.
  • the device connection interface is a well-known interface such as the ZigBee interface 211, the Z-Wave interface 212, the BlueTooth interface 213, or the like. is there.
  • the end device connected to the home gateway 20 is the air conditioner 42 and the corresponding interface is a ZigBee interface will be described as an example.
  • the ZigBee driver 22 acquires end device information from the air conditioner 42 and notifies the device management unit 23 of the acquired end device information.
  • the device management unit 23 When the device management unit 23 receives the end device information from the ZigBee driver 22, the device management unit 23 stores the end device information and transmits it to the software distribution processing unit 24.
  • the software distribution processing unit 24 Upon receiving the end device information from the device management unit 23, the software distribution processing unit 24 acquires, from the distribution DB 241 for example, information on home appliance remote control software, which is service software corresponding to the air conditioner 42, based on the received end device information. To do. Based on the information acquired from the distribution DB 241, the software 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.
  • the address notification / setting processing unit 25 requests the address / ID generation unit 26 to generate an address / ID.
  • the address / ID generation unit 26 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.
  • 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 the name resolution unit 27.
  • the name resolution unit 27 Upon receiving the end device information (device name) and the address / ID information from the address notification / setting processing unit 25, the name resolution unit 27 associates the end device information (device name) with the address / ID information and performs name resolution DB 271. To store.
  • the software distribution server 41 distributes home appliance remote control software for controlling, for example, the air conditioner 42 to the home gateway 20 in accordance with a request from the software distribution processing unit 24.
  • the home gateway 20 receives and installs the program (home appliance remote control software) distributed from the software distribution server 41, and controls the operation of the air conditioner 42 by the home appliance remote control software unit 28 that executes processing according to the home appliance remote control software. Control.
  • program home appliance remote control software
  • the air conditioner 42 is connected to the home gateway 20 and operates according to the use request transmitted from the home gateway 20 when the above processing is completed.
  • FIG. 10 is a table showing an example of end device information
  • 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 the home gateway 20 is the temperature 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.
  • 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.
  • the home gateway 20 monitors whether or not the end device is connected. For example, when the temperature sensor 44 is connected (step A01 in FIG. 2), the home gateway 20 recognizes the information of the connected temperature sensor 44 and ends the temperature sensor 44. Device information is acquired (step A02 in FIG. 2).
  • the home gateway 20 requests the software distribution processing unit 24 to distribute the home appliance remote control software by the software distribution processing unit 24 (step A03 in FIG. 2).
  • the software distribution server 41 distributes the home appliance remote control software to the home gateway 20 in accordance with a request from the home gateway 20 (step A04 in FIG. 2).
  • the home gateway 20 causes the address notification / setting processing unit 25 to cause the address / ID generation unit 26 to generate the address / ID of the temperature sensor 44, and associates the address / ID with the end device information of the temperature sensor 44 in the address / IDDB 251.
  • Store step A05 in FIG. 2.
  • the home 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).
  • the service software unit realizes a service using the temperature sensor 44 by executing processing according to the home appliance remote control software distributed from the software distribution server 41.
  • step A02 when the temperature sensor 44 is connected to the home gateway 20, the device connection interface 21 requests connection to the ZigBee driver 22 corresponding to the communication method of the temperature sensor 44 (step B01 in FIG. 3).
  • the ZigBee driver 22 acquires end device information from the temperature sensor 44 and transmits it to the device management unit 23 (step B02 in FIG. 3).
  • the device management unit 23 stores the end device information transmitted from the ZigBee driver 22 and transmits the end device information to the software distribution processing unit 24 (step B03 in FIG. 3).
  • step A03 when receiving the end device information of the temperature sensor 44 from the device management unit 23 (step C01 in FIG. 4), the software distribution processing unit 24 searches the distribution DB 241 based on the received end device information and can use it. Home appliance remote control software 28 is selected (step C02 in FIG. 4).
  • the software distribution processing unit 24 requests the software distribution server 41 to distribute the selected home appliance remote control software 28 (step C03 in FIG. 4).
  • the software distribution processing unit 24 transmits the end device information of the temperature sensor 44 to the address notification / setting processing unit 25 (step C04 in FIG. 4).
  • step A04 when distribution of the home appliance remote control software 28 is requested from the software distribution processing unit 24 (step D01 in FIG. 5), the software distribution server 41 distributes the requested home appliance remote control software 28 to the home gateway 20. (Step D02 in FIG. 5).
  • the software distribution server 41 transmits a completion notification to the software distribution processing unit 24 (step D03 in FIG. 5).
  • step A05 when the address notification / setting processing unit 25 receives the end device information of the temperature 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).
  • the address / ID generation unit 26 generates an address / ID of the temperature 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).
  • the address notification / setting processing unit 25 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 the temperature 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 the temperature sensor 44 to the name resolution unit 27 (step E05 in FIG. 6).
  • step A06 when the name resolution unit 27 receives the end device information (device name) and address / ID of the temperature sensor 44 from the address notification / setting processing unit 25 (step F01 in FIG. 7), the name resolution unit 27 corresponds to the temperature 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).
  • the service software unit requests from the user according to the home appliance remote control software.
  • the name resolution unit 27 is requested to transmit an address / ID corresponding to the temperature sensor 44 (step G02 in FIG. 8).
  • the name resolution unit 27 searches the name resolution DB 271, extracts the address / ID currently set in the temperature sensor 44, and sends the address / ID to the service software unit. Notification is made (step G03 in FIG. 8).
  • the service software section transmits the address / ID received from the name 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).
  • 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).
  • the service software unit 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 the ZigBee driver 22 and the device.
  • the temperature sensor 44 is accessed via the connection interface 21 and the temperature sensor 44 is used (step G07 in FIG. 8).

Abstract

A gateway device acquires a set of end device information from an end device upon being connected to said device. The gateway device selects a service software corresponding to the aforementioned end device information and externally acquires said service software. Moreover, when an end device is to be used by means of a process in accordance with the service software, an end device connected via a device name instead of an address or ID is identified.

Description

ゲートウェイ装置、ソフトウェア設定方法及びプログラムGateway device, software setting method and program
 本発明は、所要のプログラムをダウンロードしてインストールするゲートウェイ装置、ソフトウェア設定方法及びプログラムに関する。 The present invention relates to a gateway device that downloads and installs a required program, a software setting method, and a program.
 生活レベルや環境問題意識の向上により、家庭内でもネットワークを介して各種の家電機器やセンサ等のエンドデバイスを制御する機会が増えつつある。 Due to the improvement of living level and awareness of environmental issues, opportunities to control various home appliances and sensors and other end devices via the network are increasing.
 例えば温度センサで計測した温度情報に基づいてエアーコンディショナーの設定温度を変更したり、人感センサにより人が存在しないことを検出したときはテレビジョン受像機の電源をOFFしたりするシステムが開発されている。また、家庭やオフィスのセキュリティシステムでは、人感センサで人の存在を検出した場合にNW(Network)カメラの向きを人の検出方向へ向ける等のシステムも開発されている。さらに、最近ではネットワーク間の通信を中継するゲートウェイ装置にエンドデバイスを接続して、ゲートウェイ装置を介して該エンドデバイスを用いた各種のサービスを実現するシステムも増えつつある。しかしながら、このようなゲートウェイ装置を用いて様々なサービスを提供するシステムは、未だ広く普及していない。 For example, a system has been developed that changes the set temperature of the air conditioner based on temperature information measured by a temperature sensor, or turns off the television receiver when a human sensor detects that no person is present. ing. Further, in home and office security systems, systems have been developed in which the direction of an NW (Network) camera is directed in the direction of human detection when the presence of a human is detected by a human sensor. Furthermore, recently, an increasing number of systems connect an end device to a gateway device that relays communication between networks and realize various services using the end device via the gateway device. However, a system that provides various services using such a gateway device has not yet become widespread.
 その原因の一つとして利便性の問題がある。現状、エンドデバイスをゲートウェイ装置に接続して利用する場合、利用者は、該エンドデバイスを動作させるためのドライバや該エンドデバイスを用いたサービスを実現するためのサービスソフトウェアをゲートウェイ装置にインストールする共に、該エンドデバイスを利用するための様々な設定(例えばネットワークを介して他の装置と通信するためのネットワーク設定、ネットワークを介した不正なアクセスを防止するためのファイアウォール機能の設定等)を行わなくてはならない。そのため、利用者に大きな負担を強いる結果となっている。このような問題に対処するため、ドライバやサービスソフトウェアのインストールや設定を自動で行う仕組みが求められている。 One of the causes is convenience. Currently, when an end device is connected to a gateway device and used, the user installs a driver for operating the end device and service software for realizing a service using the end device in the gateway device. Without performing various settings for using the end device (for example, network settings for communicating with other devices via the network, firewall function settings for preventing unauthorized access via the network, etc.) must not. As a result, this results in a heavy burden on the user. In order to deal with such problems, a mechanism for automatically installing and setting drivers and service software is required.
 例えば、特許文献1には、ネットワークへの接続が想定される宅内機器の設定情報を予めゲートウェイ装置が備えるデータベースに保存しておき、ゲートウェイ装置にエンドデバイスが接続されると、該エンドデバイスの属性(製造メーカ名、製品モデル番号、製造番号等)を読み取り、その属性に対応する設定情報をデータベースから取得してエンドデバイスの状態を設定し、更にゲートウェイ装置に対する設定を実行するソフトウェア設定システムが記載されている。 For example, in Patent Document 1, setting information of a home device that is assumed to be connected to a network is stored in advance in a database included in the gateway device, and when the end device is connected to the gateway device, the attribute of the end device is stored. A software setting system that reads (manufacturer name, product model number, manufacturing number, etc.), obtains setting information corresponding to the attribute from the database, sets the state of the end device, and further executes settings for the gateway device is described Has been.
 しかしながら、特許文献1に記載された背景技術のソフトウェア設定システムでは以下のような問題がある。 However, the background art software setting system described in Patent Document 1 has the following problems.
 第1の問題点は、エンドデバイスをネットワークへ接続可能にするネットワーク設定に関し、特許文献1に記載の技術ではIP(Internet Protocol)アドレス対応のエンドデバイス及びUPnP(Universal Plug and Play)機能を有するエンドデバイスをネットワーク設定の対象としており、nonIPのエンドデバイスをネットワーク設定の対象としていないことである。その理由は、特許文献1では、ネットワークに対するnonIPのエンドデバイスの接続を想定していないためである。 The first problem relates to network settings that allow end devices to connect to a network. In the technology described in Patent Document 1, an end device that supports an IP (Internet Protocol) address and an end that has a UPnP (Universal Plug and Play) function. The device is the target of the network setting, and the nonIP end device is not the target of the network setting. The reason is that Patent Document 1 does not assume connection of a nonIP end device to the network.
 第2の問題点は、ゲートウェイ装置がエンドデバイスを利用してサービスを提供するためのサービスソフトウェアを外部から自動的に入手するための仕組みがないことである。その理由は、特許文献1に記載の技術では、エンドデバイスで実現するサービスは該エンドデバイス単体の機能を利用したサービスのみを想定しており、エンドデバイスを利用した様々なサービスを提供することを想定していないためである。 The second problem is that there is no mechanism for the gateway device to automatically obtain service software for providing a service using an end device from the outside. The reason is that the technology described in Patent Document 1 assumes that the service realized by the end device is only a service using the function of the end device alone, and provides various services using the end device. This is because it is not assumed.
 第3の問題点は、ゲートウェイ装置に接続されたエンドデバイスのIPアドレスが変化した場合、同一のエンドデバイスであるか否かを判定する仕組みがないことである。その理由は、特許文献1に記載の技術では、IPアドレスを用いたエンドデバイスの利用(エンドデバイスの状態情報の取得、エンドデバイスの遠隔操作等)を想定していないためである。 The third problem is that there is no mechanism for determining whether or not the end device is the same when the IP address of the end device connected to the gateway device changes. This is because the technique described in Patent Document 1 does not assume the use of an end device using an IP address (acquisition of end device status information, remote operation of the end device, etc.).
特許第4465353号公報Japanese Patent No. 4465353
 そこで本発明は、接続されたエンドデバイスがnonIPでも利用可能であり、エンドデバイスのIPアドレスが変化しても対応可能であり、該エンドデバイスに対応するサービスソフトウェアを自動で取得できるゲートウェイ装置、ソフトウェア設定方法及びプログラムを提供することを目的とする。 Therefore, the present invention can use a connected end device even with nonIP, can cope with the change of the IP address of the end device, and can automatically acquire service software corresponding to the end device, software An object is to provide a setting method and a program.
 上記目的を達成するため本発明のゲートウェイ装置は、エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得するデバイスドライバ部と、
 予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得するソフトウェア配信処理部と、
 前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部と、
 前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存し、前記サービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報を前記サービスソフトウェア部に通知する名前解決部と、
 前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存し、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知するアドレス通知・設定処理部と、
を有する。
In order to achieve the above object, a gateway device of the present invention, when an end device is connected, obtains end device information including information for identifying the end device from the end device;
When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. A software distribution processing unit for obtaining the service software from the outside;
A service software unit that uses the end device according to the service software;
The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other, and the device name is notified from the service software unit A name resolution unit that extracts address / ID information currently set in the end device corresponding to the device name, and notifies the service software unit of the address / ID information;
The address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is An address notification / setting processing unit for notifying the service software unit;
Have
 また、本発明のソフトウェア設定方法は、ゲートウェイ装置が、
 エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得し、
 予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得し、
 前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存し、
 前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報を前記サービスソフトウェア部に通知し、
 前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存し、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知する方法である。
In the software setting method of the present invention, the gateway device
When an end device is connected, end device information including information for identifying the end device is acquired from the end device;
When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. Obtain the service software from the outside,
The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other,
When the device name is notified from the service software unit that uses the end device according to the service software, the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information is extracted. To the service software department,
The address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is This is a method of notifying the service software section.
 また、本発明のプログラムは、コンピュータに、外部から取得したソフトウェアを設定するためのプログラムであって、
 エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得させ、
 予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得させ、
 前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存させ、
 前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出させ、該アドレス/ID情報を前記サービスソフトウェア部に通知させ、
 前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存させ、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知させるためのものである。
The program of the present invention is a program for setting software acquired from the outside in a computer,
When an end device is connected, end device information including information for identifying the end device is acquired from the end device;
When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. Obtain the service software from the outside,
The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other,
When the device name is notified from the service software unit that uses the end device according to the service software, the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information To the service software department,
When the address / ID information and the MAC address included in the end device information are stored in association with each other and the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is This is for informing the service software section.
図1は、本発明のソフトウェア設定システムの一構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of a software setting system according to the present invention. 図2は、図1に示したソフトウェア設定システムによるエンドデバイスの設定動作の一例を示すフローチャートである。FIG. 2 is a flowchart showing an example of an end device setting operation by the software setting system shown in FIG. 図3は、図2に示したステップA02の詳細処理例を示すフローチャートである。FIG. 3 is a flowchart showing an example of detailed processing in step A02 shown in FIG. 図4は、図2に示したステップA03の詳細処理例を示すフローチャートである。FIG. 4 is a flowchart showing an example of detailed processing in step A03 shown in FIG. 図5は、図2に示したステップA04の詳細処理例を示すフローチャートである。FIG. 5 is a flowchart showing an example of detailed processing in step A04 shown in FIG. 図6は、図2に示したステップA05の詳細処理例を示すフローチャートである。FIG. 6 is a flowchart showing an example of detailed processing in step A05 shown in FIG. 図7は、図2に示したステップA06の詳細処理例を示すフローチャートである。FIG. 7 is a flowchart showing an example of detailed processing in step A06 shown in 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. 図9は、図1に示したソフトウェア設定システムの実施例の構成を示すブロック図である。FIG. 9 is a block diagram showing the configuration of the embodiment of the software setting system shown in FIG. 図10は、エンドデバイス情報の一例を示す表である。FIG. 10 is a table showing an example of end device information. 図11は、図9に示した配信DBに格納される情報の一例を示す表である。FIG. 11 is a table showing an example of information stored in the distribution DB shown in FIG. 図12は、図9に示したアドレス/IDDBに格納される情報の一例を示す表である。FIG. 12 is a table showing an example of information stored in the address / IDDB shown in FIG. 図13は、図9に示した名前解決DBに格納される情報の一例を示す表である。FIG. 13 is a table showing an example of information stored in the name resolution DB shown in FIG.
 次に本発明について図面を用いて説明する。 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 a gateway device 10, a software distribution server 31, and an end device 32.
 エンドデバイス32は、センサ、アクチュエータ、家電機器等のデバイスであり、ゲートウェイ装置10に接続されて所定のサービスを実現するために用いられる。 The end device 32 is a device such as a sensor, an actuator, or a home appliance, and is connected to the gateway device 10 and used for realizing a predetermined service.
 ゲートウェイ装置10は、接続されたエンドデバイス32に対応するサービスソフトウェアにしたがって、該エンドデバイス32を用いたサービスを実現する。ゲートウェイ装置10は、エンドデバイス32が接続されると、該エンドデバイス32に対応するサービスソフトウェアの配信をソフトウェア配信サーバ31へ要求する。 The gateway device 10 implements a service using the end device 32 in accordance with service software corresponding to the connected end device 32. When the end device 32 is connected, the gateway apparatus 10 requests the software distribution server 31 to distribute service software corresponding to the end device 32.
 ソフトウェア配信サーバ31は、ゲートウェイ装置10からの要求にしたがって所要のサービスソフトウェアを配信するサーバである。 The software distribution server 31 is a server that distributes required service software in accordance with a request from the gateway device 10.
 ゲートウェイ装置10及びソフトウェア配信サーバ31は、周知のCPU、メモリ、論理回路等を備え、プログラムにしたがって処理を実行する情報処理装置(コンピュータ)によって実現できる。 The gateway device 10 and the software 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, the gateway device 10 includes a device connection interface 11, a device driver unit 12, a device management unit 13, a software distribution processing unit 14, an address notification / setting processing unit 15, an address / ID generation unit 16, and a name. A resolution unit 17 and a service software unit 18 are provided.
 ソフトウェア配信処理部14は配信DB141を備え、アドレス通知・設定処理部15はアドレス/IDDB151を備え、名前解決部17は名前解決DB171を備えている。 The software distribution processing unit 14 includes a distribution DB 141, the address notification / setting processing unit 15 includes an address / IDDB 151, and the name resolution unit 17 includes a name resolution DB 171.
 デバイス接続インターフェース11は、ゲートウェイ装置10に接続されたエンドデバイス32の通信方式に対応するインターフェースを提供する。 The device connection interface 11 provides an interface corresponding to the communication method of the end device 32 connected to the gateway device 10.
 デバイスドライバ部12は、エンドデバイス32がゲートウェイ装置10に接続されると、エンドデバイス32からエンドデバイス情報を取得し、取得した情報をデバイス管理部13に送信する。エンドデバイス情報は、エンドデバイスの製造者コード、デバイス名、MAC(Media Access Control)アドレス等のエンドデバイスを識別するための情報、製造番号、エンドデバイスの状態を示す情報等が含まれる。 When the end device 32 is connected to the gateway apparatus 10, the device driver unit 12 acquires end device information from the end device 32 and transmits the acquired information to the device 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 the device management unit 13 receives the end device information from the device driver unit 12, the device management unit 13 stores the end device information and transmits the end device information to the software distribution processing unit 14.
 ソフトウェア配信処理部14は、デバイス管理部13からエンドデバイス情報を受信すると、受信したエンドデバイス情報に基づき、配信DB141から該エンドデバイスに対応するサービスソフトウェアの情報を取得し、ソフトウェア配信サーバ31に該サービスソフトウェアの配信を要求する。また、ソフトウェア配信処理部14は、受信したエンドデバイス情報をアドレス通知・設定処理部15に送信する。配信DB141には、予めエンドデバイスを利用するためのサービスソフトウェアの情報がエンドデバイス情報に関連付けて格納されている。 Upon receiving the end device information from the device management unit 13, the software distribution processing unit 14 acquires service software information corresponding to the end device from the distribution DB 141 based on the received end device information, and stores the information in the software distribution server 31. Request distribution of service software. Further, the software distribution processing unit 14 transmits the received end device information to the address notification / setting processing unit 15. In the distribution 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 software distribution 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 the part 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 the name resolution unit 17.
 名前解決部17は、アドレス通知・設定処理部15からエンドデバイス情報(デバイス名)及びアドレス/ID情報を受信すると、受信したエンドデバイス情報(デバイス名)とアドレス/ID情報とを関連付けて名前解決DB171に格納する。 When the name resolution unit 17 receives the end device information (device name) and the address / ID information from the address notification / setting processing unit 15, the name resolution unit 17 associates the received end device information (device name) with the address / ID information to resolve the name. Store in the DB 171.
 サービスソフトウェア部18は、ソフトウェア配信サーバ31から配信されたプログラム(サービスソフトウェア)にしたがって処理を実行することで、エンドデバイス32を用いたサービスを実現する。 The service software unit 18 implements a service using the end device 32 by executing processing according to a program (service software) distributed from the software 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, the gateway apparatus 10 monitors whether or not the end device 32 is connected (step A01), and acquires end device information from the end device 32 when the end device 32 is connected. (Step A02).
 ソフトウェア配信処理部14は、取得したエンドデバイス情報に基づき、ソフトウェア配信サーバ31にサービスソフトウェア18の配信を要求する(ステップA03)。 The software distribution processing unit 14 requests the software distribution server 31 to distribute the service software 18 based on the acquired end device information (step A03).
 ソフトウェア配信サーバ31は、ソフトウェア配信処理部14からサービスソフトウェア18の配信が要求されると、要求されたサービスソフトウェア18をゲートウェイ装置10に配信する(ステップA04)。 The software distribution server 31 distributes the requested service software 18 to the gateway device 10 when the distribution of the service 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, the gateway device 10 causes the address / ID generation unit 16 to generate an address / ID corresponding to the connected 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)。 The name resolution unit 17 associates the address / ID of the end device 32 with the end device name of the end 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 the end device 32 is connected to the gateway apparatus 10, the device connection interface 11 recognizes the end 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 the connected end device 32 and transmits it to the device management unit 13 (step B02).
 デバイス管理部13は、デバイスドライバ部12から送信されたデバイス情報を保存すると共に、ソフトウェア配信処理部14へ該エンドデバイス情報を送信する(ステップB03)。 The device 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 software distribution processing unit 14 searches the distribution DB 141 based on the received end device information, and the service software 18 that can be used by the end device 32. Is selected (step C02).
 次に、ソフトウェア配信処理部14は、選択したサービスソフトウェア18の配信をソフトウェア配信サーバ31に要求する(ステップC03)。 Next, the software distribution processing unit 14 requests the software distribution server 31 to distribute the selected service software 18 (step C03).
 また、ソフトウェア配信処理部14は、エンドデバイス情報をアドレス通知・設定処理部15へ送信する(ステップC04)。 Also, the software distribution 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 the service software 18 from the software distribution processing unit 14 (step D01), the software distribution server 31 distributes the requested service software 18 to the gateway device 10 (step D02).
 ソフトウェア配信サーバ31は、サービスソフトウェア18の配信が完了すると、完了通知をソフトウェア配信処理部14へ送信する(ステップD03)。 When the distribution of the service software 18 is completed, the software 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 the connected 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 the connected end device 32. Store in the IDDB 151 (step E04).
 また、アドレス通知・設定処理部15は、アドレス/IDDB151に格納したアドレス/ID及びエンドデバイス情報(デバイス名)を名前解決部17に通知する(ステップE05)。 Further, the address notification / setting processing unit 15 notifies the name 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), the name resolution unit 17 receives the address / ID information of the connected end device 32 and The device name of the end 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 the end device 32 connected to the gateway apparatus 10 using the service software unit 18 (step G01), the service software unit 18 uses the end device 32 to be used. The name resolution unit 17 is requested to transmit the address / ID corresponding to the end device 32 using the device name (step G02).
 名前解決部17は、サービスソフトウェア部18からデバイス名が通知されると、名前解決DB271を検索し、該デバイス名に対応するエンドデバイス32に現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報をサービスソフトウェア部18に通知する(ステップG03)。 When the device name is notified from the service software unit 18, the name resolution unit 17 searches the name resolution DB 271 and extracts the address / ID information currently set in the end 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)。 The service software unit 18 transmits the address / ID information received from the name resolution unit 17 to the address notification / setting processing unit 15 and requests transmission of the MAC address of the end 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 the service software unit 18, extracts a MAC address corresponding to the address / ID information, and transmits the extracted MAC address to the service software unit 18. (Step G05).
 サービスソフトウェア部18は、アドレス通知・設定処理部15から受信したMACアドレスの情報を保持し(ステップG06)、保持したMACアドレスを用いてデバイスドライバ部12及びデバイス接続用インターフェース11を介してエンドデバイス32にアクセスし、エンドデバイス32を利用する(ステップG07)。 The service 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 the device connection interface 11. 32 is accessed and the end 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 the service 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 the name 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 the nonIP end device 32 can be connected to the gateway device 10 and used.
 また、サービスソフトウェア部18はエンドデバイス32を利用する際に、アドレス/IDではなくデバイス名でエンドデバイス32を識別できるため、エンドデバイス32に割り当てられたアドレス/IDが何らかの理由で変更されても、サービスソフトウェア部18はその影響を受けることなくエンドデバイス32を利用できる。 Further, when using the end device 32, the service software unit 18 can identify the end device 32 not by the address / ID but by the device name. Therefore, even if the address / ID assigned to the end device 32 is changed for some reason. The service software unit 18 can use the end device 32 without being affected by the service software unit 18.
 さらに、ソフトウェア配信処理部14が備える配信DB141でエンドデバイス32を利用するためのサービスソフトウェアの情報を保存し、ソフトウェア配信処理部14はエンドデバイス情報に基づいて配信DB141から利用可能なサービスソフトウェアを選択するため、ゲートウェイ装置10は、接続されたエンドデバイス32で利用できるサービスソフトウェアを自動でソフトウェア配信サーバ31から取得できる。
(実施例)
 次に本発明の実施例について図面を用いて説明する。
Further, service software information for using the end device 32 is stored in the distribution DB 141 provided in the software distribution processing unit 14, and the software distribution processing unit 14 selects available service software from the distribution DB 141 based on the end device information. Therefore, the gateway apparatus 10 can automatically acquire service software that can be used by the connected end device 32 from the software 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 a home gateway 20 as a gateway device. The home gateway 20 includes a software 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 a temperature sensor 44 are connected. End devices such as the air conditioner 42, the NW camera 43, and the temperature sensor 44 are not connected to the home gateway 20 in the initial state.
 ホームゲートウェイ20は、デバイス接続インターフェース21、ZigBee用ドライバ22、デバイス管理部23、ソフトウェア配信管理部24、アドレス通知・設定処理部25、アドレス/ID生成部26、名前解決部27及び家電遠隔制御ソフトウェア部28を備える。 The home gateway 20 includes a device connection interface 21, a ZigBee driver 22, a device management unit 23, a software distribution management unit 24, an address notification / setting processing unit 25, an address / ID generation unit 26, a name resolution unit 27, and home appliance remote control software. The unit 28 is provided.
 ZigBee用ドライバ22は、図1に示したデバイスドライバ部12に対応し、家電遠隔制御ソフトウェア部28は、図1に示したサービスソフトウェア部18に対応する。 The ZigBee driver 22 corresponds to the device driver unit 12 shown in FIG. 1, and the home appliance remote control software unit 28 corresponds to the service software unit 18 shown in FIG.
 デバイス接続インターフェース21は、エンドデバイスの通信方式に対応するZigBee用インターフェース211、Z-Wave用インターフェース212、BlueTooth用インターフェース213等を備える。 The device connection interface 21 includes a ZigBee interface 211, a Z-Wave interface 212, a BlueTooth interface 213, and the like corresponding to the communication method of the end device.
 ソフトウェア配信処理部24は配信DB241を備え、アドレス通知・設定処理部25はアドレス/IDDB251を備え、名前解決部27は名前解決DB271を備えている。 The software distribution processing unit 24 includes a distribution DB 241, the address notification / setting processing unit 25 includes an address / IDDB 251, and the name 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 remote control software unit 28 in the initial state.
 デバイス接続インターフェース21は、ホームゲートウェイ20に接続されたエンドデバイスの通信方式に対応するインターフェースを選択し、該エンドデバイスを対応するデバイスドライバ部に接続する。 The device connection interface 21 selects an interface corresponding to the communication method of the end device connected to the home 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 the air conditioner 42, the NW camera 43, the human sensor 44, and the like. The device connection interface is a well-known interface such as the ZigBee interface 211, the Z-Wave interface 212, the BlueTooth interface 213, or the like. is there.
 以下、ホームゲートウェイ20に接続されるエンドデバイスがエアコン42であり、対応するインターフェースがZigBee用インターフェースである場合を例にして説明する。 Hereinafter, the case where the end device connected to the home gateway 20 is the air conditioner 42 and the corresponding interface is a ZigBee interface will be described as an example.
 ZigBee用ドライバ22は、ホームゲートウェイ20にエアコン42が接続されると、該エアコン42からエンドデバイス情報を取得し、取得したエンドデバイス情報をデバイス管理部23に通知する。 When the air conditioner 42 is connected to the home gateway 20, the ZigBee driver 22 acquires end device information from the air conditioner 42 and notifies the device management unit 23 of the acquired end device information.
 デバイス管理部23は、ZigBee用ドライバ22からエンドデバイス情報を受信すると、該エンドデバイス情報を保存すると共に、ソフトウェア配信処理部24へ送信する。 When the device management unit 23 receives the end device information from the ZigBee driver 22, the device management unit 23 stores the end device information and transmits it to the software distribution processing unit 24.
 ソフトウェア配信処理部24は、デバイス管理部23からエンドデバイス情報を受信すると、受信したエンドデバイス情報に基づいて、エアコン42に対応するサービスソフトウェアである、例えば家電遠隔制御ソフトウェアの情報を配信DB241から取得する。そして、配信DB241から取得した情報に基づいてソフトウェア配信サーバ41に家電遠隔制御ソフトウェアの配信を要求すると共に、エンドデバイス情報をアドレス通知・設定処理部25に送信する。 Upon receiving the end device information from the device management unit 23, the software distribution processing unit 24 acquires, from the distribution DB 241 for example, information on home appliance remote control software, which is service software corresponding to the air conditioner 42, based on the received end device information. To do. Based on the information acquired from the distribution DB 241, the software 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 software distribution 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 the name 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, the name 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を制御するための家電遠隔制御ソフトウェアを配信する。 The software distribution server 41 distributes home appliance remote control software for controlling, for example, the air conditioner 42 to the home gateway 20 in accordance with a request from the software distribution processing unit 24.
 ホームゲートウェイ20は、ソフトウェア配信サーバ41から配信されたプログラム(家電遠隔制御ソフトウェア)を受信してインストールし、該家電遠隔制御ソフトウェアにしたがって処理を実行する家電遠隔制御ソフトウェア部28によりエアコン42の動作を制御する。 The home gateway 20 receives and installs the program (home appliance remote control software) distributed from the software distribution server 41, and controls the operation of the air conditioner 42 by the home appliance remote control software unit 28 that executes processing according to the home appliance remote control software. Control.
 エアコン42は、ホームゲートウェイ20へ接続され、上記の処理が終了すると、ホームゲートウェイ20から送信される利用要求にしたがって動作する。 The air conditioner 42 is connected to the home gateway 20 and operates according to the use request transmitted from the home 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 the home gateway 20 is the temperature 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 the home 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 the temperature sensor 44 having end device information shown in FIG. 10 is further connected to the home gateway 20.
 ホームゲートウェイ20は、エンドデバイスが接続されたか否を監視し、例えば温度センサ44が接続されると(図2のステップA01)、接続された温度センサ44の情報を認識し、温度センサ44からエンドデバイス情報を取得する(図2のステップA02)。 The home gateway 20 monitors whether or not the end device is connected. For example, when the temperature sensor 44 is connected (step A01 in FIG. 2), the home gateway 20 recognizes the information of the connected temperature sensor 44 and ends the temperature 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 the temperature sensor 44, the home gateway 20 requests the software distribution 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)。 The software distribution server 41 distributes the home appliance remote control software to the home 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)。 The home gateway 20 causes the address notification / setting processing unit 25 to cause the address / ID generation unit 26 to generate the address / ID of the temperature sensor 44, and associates the address / ID with the end device information of the temperature sensor 44 in the address / IDDB 251. Store (step A05 in FIG. 2).
 また、ホームゲートウェイ20は、名前解決部27によってエンドデバイス情報(デバイス名)及びアドレス/ID情報を付けて名前解決DB271に格納する(図2のステップA06)。 In addition, the home 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 the temperature sensor 44 by executing processing according to the home appliance remote control software distributed from the software distribution server 41.
 ステップA02において、デバイス接続インターフェース21は、ホームゲートウェイ20に温度センサ44が接続されると、温度センサ44の通信方式に対応するZigBee用ドライバ22に接続を要求する(図3のステップB01)。 In step A02, when the temperature sensor 44 is connected to the home gateway 20, the device connection interface 21 requests connection to the ZigBee 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 the temperature sensor 44 is connected, the ZigBee driver 22 acquires end device information from the temperature sensor 44 and transmits it to the device management unit 23 (step B02 in FIG. 3).
 デバイス管理部23は、ZigBee用ドライバ22から送信されたエンドデバイス情報を保存すると共に、ソフトウェア配信処理部24へ該エンドデバイス情報を送信する(図3のステップB03)。 The device management unit 23 stores the end device information transmitted from the ZigBee 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 the temperature sensor 44 from the device management unit 23 (step C01 in FIG. 4), the software distribution processing unit 24 searches the distribution DB 241 based on the received end device information and can use it. Home appliance remote control software 28 is selected (step C02 in FIG. 4).
 次に、ソフトウェア配信処理部24は、選択した家電遠隔制御ソフトウェア28の配信をソフトウェア配信サーバ41に要求する(図4のステップC03)。 Next, the software distribution processing unit 24 requests the software distribution server 41 to distribute the selected home appliance remote control software 28 (step C03 in FIG. 4).
 ソフトウェア配信処理部24は、温度センサ44のエンドデバイス情報をアドレス通知・設定処理部25へ送信する(図4のステップC04)。 The software distribution processing unit 24 transmits the end device information of the temperature 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 appliance remote control software 28 is requested from the software distribution processing unit 24 (step D01 in FIG. 5), the software distribution server 41 distributes the requested home appliance remote control software 28 to the home gateway 20. (Step D02 in FIG. 5).
 ソフトウェア配信サーバ41は、家電遠隔制御ソフトウェア28の配信が完了すると、完了通知をソフトウェア配信処理部24へ送信する(図5のステップD03)。 When the distribution of the home appliance remote control software 28 is completed, the software 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 the temperature 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 the temperature 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 the temperature 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 the temperature 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 the name resolution unit 27 receives the end device information (device name) and address / ID of the temperature sensor 44 from the address notification / setting processing unit 25 (step F01 in FIG. 7), the name resolution unit 27 corresponds to the temperature 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 the temperature sensor 44 connected to the home 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 the temperature sensor 44, the name 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, the name resolution unit 27 searches the name resolution DB 271, extracts the address / ID currently set in the temperature 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 the name 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 the ZigBee driver 22 and the device. The temperature sensor 44 is accessed via the connection interface 21 and the temperature 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.

Claims (10)

  1.  エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得するデバイスドライバ部と、
     予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得するソフトウェア配信処理部と、
     前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部と、
     前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存し、前記サービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報を前記サービスソフトウェア部に通知する名前解決部と、
     前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存し、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知するアドレス通知・設定処理部と、
    を有するゲートウェイ装置。
    When an end device is connected, a device driver unit that acquires end device information including information for identifying the end device from the end device;
    When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. A software distribution processing unit for obtaining the service software from the outside;
    A service software unit that uses the end device according to the service software;
    The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other, and the device name is notified from the service software unit A name resolution unit that extracts address / ID information currently set in the end device corresponding to the device name, and notifies the service software unit of the address / ID information;
    The address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is An address notification / setting processing unit for notifying the service software unit;
    A gateway device.
  2.  前記アドレス通知・設定処理部からの要求にしたがって前記エンドデバイスのアドレス/IDを生成するアドレス/ID生成部をさらに有する請求項1記載のゲートウェイ装置。 The gateway device according to claim 1, further comprising an address / ID generation unit that generates an address / ID of the end device in accordance with a request from the address notification / setting processing unit.
  3.  前記デバイスドライバ部から前記エンドデバイス情報を受信し、該エンドデバイス情報を保存すると共に、該エンドデバイス情報を前記ソフトウェア配信処理部に送信するデバイス管理部をさらに有する請求項1または2記載のゲートウェイ装置。 The gateway device according to claim 1, further comprising a device management unit that receives the end device information from the device driver unit, stores the end device information, and transmits the end device information to the software distribution processing unit. .
  4.  請求項1から3のいずれか1項記載のゲートウェイ装置と、
     前記ゲートウェイ装置からの要求にしたがって前記ゲートウェイ装置に前記サービスソフトウェアを配信するソフトウェア配信サーバと、
    を有するソフトウェア配信システム。
    The gateway device according to any one of claims 1 to 3,
    A software distribution server that distributes the service software to the gateway device in accordance with a request from the gateway device;
    A software distribution system.
  5.  ゲートウェイ装置が、
     エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得し、
     予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得し、
     前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存し、
     前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出し、該アドレス/ID情報を前記サービスソフトウェア部に通知し、
     前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存し、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知するソフトウェア設定方法。
    Gateway device
    When an end device is connected, end device information including information for identifying the end device is acquired from the end device;
    When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. Obtain the service software from the outside,
    The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other,
    When the device name is notified from the service software unit that uses the end device according to the service software, the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information is extracted. To the service software department,
    The address / ID information and the MAC address included in the end device information are stored in association with each other, and when the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is A software setting method for notifying the service software section.
  6.  前記エンドデバイス情報が通知されると、前記エンドデバイスのアドレス/IDを生成する請求項5記載のソフトウェア設定方法。 6. The software setting method according to claim 5, wherein when the end device information is notified, an address / ID of the end device is generated.
  7.  前記エンドデバイス情報を受信すると、該エンドデバイス情報を保存すると共に、該エンドデバイス情報を、前記サービスソフトウェアを選択するための処理へ通知する請求項5または6記載のソフトウェア設定方法。 The software setting method according to claim 5 or 6, wherein upon receiving the end device information, the end device information is stored and the end device information is notified to a process for selecting the service software.
  8.  コンピュータに、外部から取得したソフトウェアを設定するためのプログラムであって、
     エンドデバイスが接続されると、前記エンドデバイスから該エンドデバイスを識別するための情報を含むエンドデバイス情報を取得させ、
     予め前記エンドデバイス情報に関連付けて保存された前記エンドデバイスを利用するためのサービスソフトウェアを示す情報に基づき、前記エンドデバイス情報が通知されると、該エンドデバイス情報に対応するサービスソフトウェアを選択して該サービスソフトウェアを外部から取得させ、
     前記エンドデバイス情報に含まれるデバイス名と前記エンドデバイス情報に基づいて生成された前記エンドデバイスのアドレス/IDを示すアドレス/ID情報とを関連付けて保存させ、
     前記サービスソフトウェアにしたがって前記エンドデバイスを利用するサービスソフトウェア部からデバイス名が通知されると、該デバイス名に対応するエンドデバイスに現在設定されているアドレス/ID情報を抽出させ、該アドレス/ID情報を前記サービスソフトウェア部に通知させ、
     前記アドレス/ID情報と前記エンドデバイス情報に含まれるMACアドレスとを関連付けて保存させ、前記サービスソフトウェア部から前記アドレス/ID情報が通知されると、該アドレス/ID情報に対応する前記MACアドレスを前記サービスソフトウェア部へ通知させるためのプログラム。
    A program for setting externally acquired software on a computer,
    When an end device is connected, end device information including information for identifying the end device is acquired from the end device;
    When the end device information is notified based on information indicating service software for using the end device stored in advance in association with the end device information, the service software corresponding to the end device information is selected. Obtain the service software from the outside,
    The device name included in the end device information and the address / ID information indicating the address / ID of the end device generated based on the end device information are stored in association with each other,
    When the device name is notified from the service software unit that uses the end device according to the service software, the address / ID information currently set in the end device corresponding to the device name is extracted, and the address / ID information To the service software department,
    When the address / ID information and the MAC address included in the end device information are stored in association with each other and the address / ID information is notified from the service software unit, the MAC address corresponding to the address / ID information is A program for notifying the service software unit.
  9.  前記エンドデバイス情報が通知されると、前記エンドデバイスのアドレス/IDを生成するための請求項8記載のプログラム。 The program according to claim 8, for generating an address / ID of the end device when the end device information is notified.
  10.  前記エンドデバイス情報を受信すると、該エンドデバイス情報を保存すると共に、該エンドデバイス情報を、前記サービスソフトウェアを選択するための処理へ通知するための請求項8または9記載のプログラム。 10. The program according to claim 8 or 9, wherein when receiving the end device information, the end device information is stored, and the end device information is notified to a process for selecting the service software.
PCT/JP2012/062007 2011-05-24 2012-05-10 Gateway device, software setting method, and program WO2012160987A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011-115895 2011-05-24
JP2011115895 2011-05-24

Publications (1)

Publication Number Publication Date
WO2012160987A1 true WO2012160987A1 (en) 2012-11-29

Family

ID=47217067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/062007 WO2012160987A1 (en) 2011-05-24 2012-05-10 Gateway device, software setting method, and program

Country Status (1)

Country Link
WO (1) WO2012160987A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004229266A (en) * 2002-11-29 2004-08-12 Sanyo Electric Co Ltd House electric appliance network system, house electric appliance network adapter, index server, house electric appliance network connection method, house electric appliance network adapter control method, and index server operating method
JP2005184043A (en) * 2003-12-15 2005-07-07 Sanyo Electric Co Ltd Adaptor device
JP4465353B2 (en) * 2004-06-07 2010-05-19 日本電信電話株式会社 Home network setting method, home gateway device, home gateway program, recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004229266A (en) * 2002-11-29 2004-08-12 Sanyo Electric Co Ltd House electric appliance network system, house electric appliance network adapter, index server, house electric appliance network connection method, house electric appliance network adapter control method, and index server operating method
JP2005184043A (en) * 2003-12-15 2005-07-07 Sanyo Electric Co Ltd Adaptor device
JP4465353B2 (en) * 2004-06-07 2010-05-19 日本電信電話株式会社 Home network setting method, home gateway device, home gateway program, recording medium

Similar Documents

Publication Publication Date Title
KR101560470B1 (en) Smart access point apparatus and method for controlling internet of things apparatus using the smart access point apparatus
CN107615783B (en) Wireless provisioning and configuration of hardware elements of a home automation system
KR101687340B1 (en) Method for setting home network operating environment and apparatus therefor
WO2015080012A1 (en) Air conditioning system and air conditioning management program
JP4337591B2 (en) Information processing apparatus, network system, and network system control method
US8732292B2 (en) Network system
JP2010282610A (en) Network system and management method therefor
KR101495536B1 (en) Method and apparatus for providing dynamically changed description of Universal Plug and Play
JP5974931B2 (en) Communication device
JP5542772B2 (en) Building equipment management system connection system, building equipment management system connection method, and building equipment management system connection program
JP2004194264A (en) Multi-master apparatus connecting network system and method of operating the same
WO2018049244A1 (en) System and method for operating a hvac system by determining occupied state of a structure via ip address
JP4281813B2 (en) Remote control system for air conditioner and initial setting device for air conditioner
JP6544685B2 (en) Control device, control method and control program
JP5868476B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
WO2012160987A1 (en) Gateway device, software setting method, and program
JP5506729B2 (en) Engineering equipment
US20170094035A1 (en) Management method and management device
JP5689156B2 (en) COMMUNICATION SYSTEM, SERVER DEVICE, CONTROL METHOD, AND PROGRAM
JP5940566B2 (en) Network system, constant connection method, server, electronic device, program
JP4079176B2 (en) Remote control system
JP6909836B2 (en) Communication terminal
JP6687430B2 (en) Device control device, device control method, and device operation content acquisition method
JP2010226456A (en) Communication system, communication server, access control method, access control program, and recording medium recording access control program
KR100773827B1 (en) Home network system and method of processing events thereof

Legal Events

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

Ref document number: 12790202

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12790202

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP