This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2013-102618, filed on May 14, 2013, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a device control apparatus, a device control method, and a device control system.
To counter the problem of global warming, the Japanese government has encouraged the use of energy-saving home electrical appliances by providing preferential treatment. As a result, there has been widely used in households a large number of energy-saving home electronics mainly including appliances with large power consumption, such as air-conditioners, refrigerators, personal computers, and televisions. Further, in response to the social situation of unreliable power supply, there has recently been a wider view of energy conservation in entire housing facilities. This has facilitated the proliferation of smart houses in which the operations of electronic appliances are integrally controlled.
During the initial proliferation of smart houses, HEMS (Home Energy Management System) offering visualizations of power consumption amount and the like was mainly used to encourage energy saving in households, but in the future, it is considered that device control for compatibility between energy efficiency and housing comfort will become mainstream. In households, a plurality of services such as room temperature adjustment, illuminance adjustment, health care, home security, Adult Care Service is actually used to control each of electronic appliances over a network for the purposes of saving energy and increasing comfort of residential place.
However, on control of an electronic appliance by a service, a conflicting device may work in the state contrary to the working of the controlled device. At that time, when only the target device is controlled by the service, there may raise an inconsistency between the operation status of the conflicting device and the controlled device after completion of the control. For example, if the controlled device is an air-conditioner and the conflicting device is an power window, when the air-conditioner is to be controlled by a comfort control service to lower the room temperature by cooling operation in the summer season, if the power window is open in the same room as the air-conditioner is, warm air enters the room from the outside to interfere with the cooling operation of the air-conditioner.
Therefore, if the operation status of the conflicting device does not match the operation status of the controlled device appropriately, the service for controlling each of the electronic appliances may control the conflicting device before the control of the controlled device. For example, if the power window is open in the room equipped with the air-conditioner by a ventilation service, the comfort service operates to control the power window as a conflicting device and then start the operation of the air-conditioner. In addition, if a curtain is closed in the room equipped with a lighting device during the day by an illuminance adjustment service, HEMS operates to open the curtain and then adjust the illuminance of the lighting device. In such a manner as described above, if the operation status of the conflicting device does not match the operation status of the controlled device appropriately, the smart house is configured to control the conflicting device.
Patent Literature 1: Japanese Laid-open Patent Publication No. 2007-124240
Patent Literature 2: Japanese Laid-open Patent Publication No. 2012-195664
However, smart houses have a problem that no appropriate control can be made on the conflicting device.
When controlling the controlled device, the service is configured to perform exclusive control on the conflicting device so as not to accept any operation on the conflicting device, it is not possible to eliminate an inconsistency between operation statuses of the controlled device and the conflicting device. For example, on starting of the cooling operation of the air-conditioner in the summer season by the comfort control service, even if exclusive control is performed on operation on the power window as the conflicting device of the air-conditioner, the power window may be locked in the open state.
An integrated system controlling a plurality of devices associates controlled devices and conflicting devices in a database or the like to comprehend the conflicting devices corresponding to the controlled devices. When a new electronic appliance is installed in a household, the integrated system registers a conflicting device corresponding to the electronic appliance in the database. Accordingly, each time an electric appliance is installed in the household, the integrated system adds the item to the database.
According to an aspect of an embodiment, a device control apparatus includes a storage unit that stores operational sensor change information in which a controlled device, operation status of the controlled device, and change attribute of the controlled device set based on sensor information obtained by collecting a change in sensor measured value at regular time intervals, are associated with one another;
a specification unit that, upon acceptance of a request for control of the controlled device, specifies a conflicting device that conflicts with the controlled device in the change attribute related to the operation status, based on the operational sensor change information; and
a control unit that controls the specified conflicting device to interpolate the contents of the request so as to eliminate the conflict in the operation status between the conflicting device and the controlled device, and then executes the interpolated request.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
Preferred embodiments of the present invention will be explained with reference to accompanying drawings.
However, the present invention is not limited to the embodiments. The embodiments can be appropriately combined as far as there is no inconsistency between processes of the embodiments.
One example of a functional configuration of a device control apparatus according to a first embodiment will be described.
Provided on the outside of the device control apparatus 100 are a sensor 101, a device 110, and a service 120. The sensor 101 is connected to the sensor information acquisition unit 102. The sensor 101 is a thermometer, illuminometer, or the like, for example. The device 110 is connected to the device control unit 111 and the device information acquisition unit 114. The device 110 includes a controlled device 110a and a conflicting device 110b. The service 120 is connected to the device control request reception unit 121. The sensor information acquisition unit 102 acquires measurement value data transmitted from the sensor 101 and accumulates the acquired measurement value data in the sensor information 103.
Components of the Storage Unit
The components of the storage unit will be described below. The storage unit is a semiconductor memory element such as a RAM (random access memory), ROM (read only memory), or flash memory, hard disc, or optical disc, for example.
The sensor information 103 is history data obtained by collecting measurement data transmitted from the sensor 101 and storing the sensor measured values by time. A specific example will be provided.
For example, in the sensor information 103, the time “2013/7/21 13:13:00” at which the temperature was measured by the thermometer is associated with the device ID of the thermometer “Thermometer1”, the property indicative of the temperature measurement value “MeasuredTemp”, and the set value indicative of the measured temperature “27.5”. In addition, in the sensor information 103, the time “2013/7/21 13:14:00” is associated with the device ID “Thermometer1”, the property “MeasuredTemp”, and the set value “27.6”. Further, in the sensor information 103, the time “2013/7/21 13:15:00” is associated with the device ID “Thermometer1”, the property “MeasuredTemp”, and the set value “27.7”. As for the subsequent history data, in the sensor information 103, the temperature measured each minute is stored in association with the time.
The change value table 105 includes data indicative of a change value of sensor measured value as a criterion for determining the presence or absence of a change in change attribute. The change attribute indicates a change in a subject to be measured by the sensor 101. For example, in the case where the thermometer measures the room temperature, the change attribute takes room temperature rise, room temperature drop, or room temperature maintained. In this example, the change attribute takes room temperature rise when the room temperature exceeds a predetermined value, room temperature drop when the room temperature falls below a predetermined value, and room temperature maintained when the increase or decrease in the room temperature is smaller than a predetermined value.
In the change value table 105, a changed device making measurements such as a thermometer or an illuminometer is associated with a change value of sensor measured value. The change value is used as a criterion for determining whether there is any change in change attribute.
For example, in
The operational sensor change information 106 is data for specifying the conflicting device 110b conflicting with the change attribute of the controlled device. The operational sensor change information 106 associates the controlled device, the operation status of the controlled device, the changed device, and the change attribute with one another. The operational sensor change information 106 indicates whether the measured value raises, drops, or is maintained when the controlled device is in respective operation statuses.
For example, the operational sensor change information 106 illustrated in
The operational sensor change information 106 illustrated in
The operational sensor change information 106 illustrated in
The operational sensor change information 106 illustrated in
The device operation information 113 is history data indicative of operation status at each time.
The device operation information 113 includes on the first row “2013/7/21 13:15:00” as Time, “AirConditioner1” as Device ID, “OperationStatus” as Property, “Off” as Set value, and “energy-saving” as Set Service ID. Accordingly, the device operation information 113 indicates that the energy-saving service operated to power off the air-conditioner on Jul. 21, 2013, at 13:15:00. The device operation information 113 also includes on the second row “2013/7/21 15:11:55” as Time, “AirConditioner1” as Device ID, “OperationStatus” as Property, “On” as Set Value, and “-” as Set Service ID. Accordingly, the device operation information 113 indicates that the user powered on the air-conditioner on Jul. 21, 2013, at 15:11:55.
Components of the Control Unit
The components of the control unit will be described below. The functions of the control unit can be realized by an integrated circuit such as an ASIC (application specific integrated circuit) or FPGA (field programmable gate array), for example. The functions of the control unit can also be realized by a CPU (central processing unit) executing predetermined programs, for example.
The sensor information acquisition unit 102 acquires sensor measured values at each time from the sensor information 103. The sensor information acquisition unit 102 accumulates the acquired sensor measured values in the sensor information 103. For example, referring to
Meanwhile, referring to
The information change analysis unit 104 compares the amount of a change between a sensor value at a point of time when the device information acquisition unit 114 received the operation information of the device and a sensor value at the time when a specific period of time has elapsed, to the change value stored in the change value table 105, thereby to determine the presence or absence of a change in the change attribute. Specifically, first, the device information acquisition unit 114 detects a change in the operation status of the device, and notifies the change in the operation status of the device to the information change analysis unit 104. Then, the information change analysis unit 104 receives from the sensor information acquisition unit 102 the sensor measured value immediately after the change of the operation status of the device. The sensor measured value is equivalent to the saved value. Further, the information change analysis unit 104 receives the sensor measured value from the sensor information acquisition unit 102 at each change in the sensor measured value. The sensor measured value is equivalent to the latest received value.
In parallel to the acquisition of sensor measured values, the information change analysis unit 104 acquires the change value of sensor measured value as a criterion for determining the presence or absence of a change in the change attribute in the change value table 105. For the purpose, first, the information change analysis unit 104 searches the change value table 105 in
Then, the information change analysis unit 104 calculates a difference between the saved value and the latest received value acquired by the sensor information acquisition unit 102, to acquire the amount of change in the sensor measured value. When the amount of change in the sensor measured value is larger than the change value, the information change analysis unit 104 determines that the change attribute has increased or decreased. Meanwhile, when the amount of change in the sensor measured value after lapse of a specific period of time is smaller than the change value of the sensor measured value, the information change analysis unit 104 determines that the change attribute has not changed. Then, the information change analysis unit 104 updates the change attribute of the controlled device 110a in the operational sensor change information 106, based on the determination result.
For example, first, the information change analysis unit 104 receives the sensor measured value “27.5” acquired by the sensor information acquisition unit 102 and the measurement time “2013/7/21 13:13:00” when the air-conditioner was powered off. At that time, the information change analysis unit 104 saves the sensor measured value “27.5”. After that, the information change analysis unit 104 continues to receive sensor measured values. In parallel to the receipt of sensor measured values, the information change analysis unit 104 acquires the change value at temperature measurement by the thermometer. When acquiring the change value at temperature measurement by the thermometer from the change value table 105 in
Then, the information change analysis unit 104 receives minutely the sensor measured value, and receives the latest sensor measured value “29.1” at the measurement time “2013/7/21 13:18:00”. At that time, since the value of a difference between the sensor measured value “27.5” at the measurement time “2013/7/21 13:13:00” and the latest sensor measured value “29.1” is larger than the change value “1”, the information change analysis unit 104 determines the change attribute as “Up” at power-off of the air-conditioner. Then, as illustrated in
The information change analysis unit 104 also receives the sensor measured value “26.1” at opening of the power window acquired by the sensor information acquisition unit 102, and the measurement time “2013/7/21 10:35:00”. After that, the information change analysis unit 104 continues to receive sensor measured values. In parallel to the receipt of sensor measured values, the information change analysis unit 104 acquires the change value at temperature measurement by the thermometer. When acquiring the change value at temperature measurement by the thermometer from the change value table 105 in
Then, the information change analysis unit 104 receives minutely the sensor measured value, and receives the latest sensor measured value “27.2” at the measurement time “2013/7/21 10:38:00”. At that time, since the value of a difference between the sensor measured value “26.1” at the measurement time “2013/7/21 10:35:00” and the latest sensor measured value “27.2” is larger than the change value “1”, the information change analysis unit 104 determines the change attribute as “Up” at power-off of the air-conditioner. Then, as illustrated in
The device control request reception unit 121 accepts a request for control of the controlled device 110a from the service 120. The service 120 is “energy-saving service”, “air-conditioning service”, or the like, for example. The “energy-saving service” is used to automatically control household facilities such as an air-conditioner and an power window in the user's house according to information on the user's surrounding environments and the like, to realize reduction in power consumption. Meanwhile, the “air-conditioning service” is used to automatically control the household facilities such as an air-conditioner and an power window in the house, according to information on the user's surrounding environments and the like, to adjust the room temperature appropriately. The service 120 may be transmitted from a home gateway installed in the house or may be transmitted from a server over the Internet.
In response to the request accepted by the device control request reception unit 121, the device control unit 111 controls the controlled device 110a corresponding to the request. For the purpose, the device control unit 111 receives the device ID of the controlled device 110a as a target of the request and the contents of the request. Then, when no notification of the presence of the conflicting device 110b is received from the conflicting device information acquisition unit 112 described later, the device control unit 111 controls the controlled device 110a according to the contents of the received request.
For example, the device operation information 113 in
The conflicting device information acquisition unit 112 specifies the conflicting device 110b conflicting with the controlled device 110a, based on the operational sensor change information 106. For the purpose, the conflicting device information acquisition unit 112 receives the device ID of the controlled device 110a as a target of the request and the contents of the request. Then, the conflicting device information acquisition unit 112 specifies the conflicting device 110b conflicting with the controlled device 110a, based on the operational sensor change information 106.
Specifically, when the device control request reception unit 121 accepts a request for powering on the air-conditioner, the conflicting device information acquisition unit 112 performs the following process referring to
Then, the conflicting device information acquisition unit 112 searches the operational sensor change information 106 for the conflicting device 110b conflicting with “Down” as the change attribute of the air-conditioner. For example, the conflicting device information acquisition unit 112 ascertains the change attribute of the power window in the operational sensor change information 106 of
Then, the conflicting information device acquisition unit 112 ascertains from the device operation information 113 that the power window specified as conflicting device is in open state. Then, the conflicting device information acquisition unit 112 refers to the operational sensor change information 106. Then, the conflicting device information unit 112 ascertains that the change attribute “Up” in the open state of the power window conflicts with the change attribute “Down” of the air-conditioner.
Then, the conflicting device information acquisition unit 112 searches the operational sensor change information 106 for the operation status of the power window not conflicting with the air-conditioner. Specifically, the conflicting device information acquisition unit 112 searches the operational sensor change information 106 for the operation status of the power window with the device ID “Window1” and the change attribute “-” or “down”. Then, the conflicting device information acquisition unit 112 ascertains that the operation status of the changed device with the device ID “Window1” and the value “-” has “OperationStatus” as Property and “Off” as Value. The conflicting device information acquisition unit 112 then transmits to the device control unit 111 a control command for closing the power window, based on the ascertained operation status of the device with the device ID “Window1”.
Then, the device control unit 111 closes the power window. At that time, the device information acquisition unit 114 adds the record of closing the window on Jul. 22, 2013 at 11:45:00 to the fourth row of the device operation information 113 in
Process Flow of Creating the Operational Sensor Change Information
Next, a flow of a process for creating the operational sensor change information will be described.
As illustrated in
Next, when receiving the sensor measured value from the sensor 101 (step S11: No, step S17: Yes), the sensor information acquisition unit 102 acquires the device ID and the measured value from the sensor 101 (step S18). The sensor information acquisition unit 102 then determines whether the sensor measurement time is set in the timer (step S19). When the timer is not set (step S19: No), the sensor information acquisition unit 102 returns to the state waiting for an event (step S10). Meanwhile, when the timer is set (step S19: Yes), the sensor information acquisition unit 102 transmits to the information change analysis unit 104 the saved value of the sensor measured value in the sensor information 103 and the latest received value of the sensor measured value from the sensor 101. The information change analysis unit 104 calculates the value of a difference between the latest received value and the saved value (step S20). When the difference value does not exceed the change value (step S21: No), the information change analysis unit 104 returns to the state waiting for an event (step S10). Meanwhile, when the difference value exceeds the change value (step S21: Yes), the information change analysis unit 104 updates the operational sensor change information 106 to indicate that there is a change in the change attribute of the controlled device 110a (step S22). Then, the sensor information acquisition unit 102 clears the set timer (step S23).
Meanwhile, when the time set in the timer is exceeded, the sensor information acquisition unit 102 receives a timer event (step S11: No, step S17: No, step S24: Yes). In this case, the sensor information acquisition unit 102 transmits the latest value as the latest sensor measured value from the sensor 101 to the information change analysis unit 104. The information change analysis unit 104 calculates the value of a difference between the latest value of the sensor measured value and the saved value of the sensor measured value with a change in the operation status of the device (step S25). When the difference value exceeds the change value (step S26: Yes), the information change analysis unit 104 updates the operational sensor change information 106 to indicate that there is a change in the change attribute of the controlled device 110a (step S27). For example, in case the sensor 101 is a thermometer, the information change analysis unit 104 stores “Up” indicative of a temperature rise or “down” indicative of a temperature drop as the change attribute of the controlled device 110a in the operational sensor change information 106. Meanwhile, when the difference value does not exceed the change value (step S26: No), the information change analysis unit 104 updates the operational sensor change information 106 to indicate that there is no change in the change attribute of the controlled device 110a (step S28). For example, the information change analysis unit 104 stores “-” indicative of the absence of a temperature change as the change attribute of the controlled device 110a in the operational sensor change information 106. At step S24, when the received event is not device control (step S11: No, step S17: No, step S24: No), the device control request reception unit 121 returns to the state waiting for an event (step S10).
Process Flow of Controlling a Controlled Device with a Conflicting Device
Next, a flow of a process for controlling a controlled device having a conflicting device by the device control apparatus 100 will be described.
As illustrated in
Meanwhile, when determining that the conflicting device 110b exists (step S44: Yes), the conflicting device information acquisition unit 112 acquires the operation status of the conflicting device 110b from the device operation information 113 (step S45). Then, the conflicting device information acquisition unit 112 compares the change attribute of the controlled device 110a with the change attribute of the conflicting device 110b acquired from the operational sensor change information 106. The conflicting device information acquisition unit 112 determines from the comparison result whether the conflicting device 110b conflicts with the controlled device 110a (step S46). When determining that the conflicting device 110b does not conflict with the controlled device 110a (step S46: No), the conflicting device information acquisition unit 112 controls the controlled device 110a according to the contents of the request (step S49). Meanwhile, when determining that the conflicting device 110b conflicts with the controlled device 110a (step S46: Yes), the conflicting device information acquisition unit 112 acquires the contents of the control of the conflicting device 110b for eliminating the competition, based on the operational sensor change information 106 (step S47). The device control unit 111 then controls the conflicting device 110b according to the acquired contents of the control (step S48). Then, the device control unit 111 controls the controlled device 110a according to the contents of the request (step S49).
As described above, when accepting the request for control of the controlled device 110a, the device control apparatus 100 specifies the conflicting device 110b based on the operational sensor change information 106, controls the conflicting device 110b, and then executes the request for the controlled device 110a. This produces the advantage of appropriately controlling the conflicting device.
The time that elapses before a change in change attribute may vary depending on the size of a room in which a controlled device is installed or the performance of the controlled device. For example, the time during which the temperature of the room changes may vary depending on the size of a room in which an air-conditioner is installed or the performance of the air-conditioner. Accordingly, the information change analysis unit 104 may acquire sensor measured values within a monitoring time set for each controlled device 110a to determine the presence or absence of a change in the change attribute of the controlled device 110a.
For example, the monitoring time information 107 includes on the first row “DeviceID” as Type of Controlled Device, “AirConditioner1” as Value, “-” as Property, “-” as Property Value, and “three minutes” as Search Range. That is, the foregoing information indicates that the monitoring time is three minutes when a first air-conditioner is powered on or off. The monitoring time information 107 includes on the second row “DeviceID” as Type of Controlled Device, “AirConditioner2” as Value, “OperationStatus” as Property, “On” as Property Value, “five minutes” as Search Range. That is, the foregoing information indicates that the monitoring time is five minutes when a second air-conditioner is powered on.
As described above, in the monitoring time information 107, it is possible to, for each controlled device, set the monitoring time adapted to the performance of the controlled device, the size of a room in which the controlled device is installed, and the like. This makes it possible to set the appropriate change attribute of each controlled device in the operational sensor change information 106.
As described above, the conflicting device 110b is specified based on the operational sensor change information 106, but in some cases, it is preferred that the conflicting device 110b is not controlled when the controlled device 110a and the conflicting device 110b are installed in different places or are of different types. For example, if the conflicting device 110b of an air-conditioner is an power window, when the air-conditioner and the power window are installed in different rooms, the power window does not interfere with heating or cooling operations of the air-conditioner. In addition, if the conflicting device 110b of the air-conditioner is specified as an IH cooking heater, the device control unit 111 may stop operations of the IH cooking heater when the air-conditioner starts cooling operations.
Accordingly, the conflicting device information acquisition unit 112 may acquire information on the installation place and device type of each controlled device from profile information 116 and use the same for specification of the conflicting device.
Then, when determining that the conflicting device 110b exists (step S144: Yes), the conflicting device information acquisition unit 112 acquires profiles of the controlled device 110a and the conflicting device 110b from the profile information 116 (step S160). The conflicting device information acquisition unit 112 then determines whether there is a match in profile between the controlled device 110a and the conflicting device 110b (step S161). When there is no match in profile (step S161: No), the conflicting device information acquisition unit 112 returns to the state waiting for an event (step S140). Meanwhile, when there is a match in profile (step S161: Yes), the conflicting device information acquisition unit 112 acquires the operation status of the conflicting device 110b (step S145).
Then, when determining that the conflicting device 110b conflicts with the controlled device 110a (step S146: Yes), the conflicting device information acquisition unit 112 acquires the contents of the control of the conflicting device 110b (step S147). Then, the device control unit 111 controls the conflicting device 110b according to the acquired contents of the control (step S148). The device control unit 111 then controls the controlled device 110a according to the contents of the request (step S149).
After the device control request reception unit 121 accepts an urgent request from the service 120 and the device control unit 111 controls the conflicting device 110b in response to the request, the device control request reception unit 121 may accept a normal request from another service. For example, after accepting, on occurrence of a fire, a request for opening an power window to remove smoke from a security service, the device control request reception unit 121 may accept a request for closing an power window from an energy-saving service.
Thus, when receiving a request from a lower-priority service after the device control unit 111 executes a higher-priority service, the conflicting device information acquisition unit 112 does not need to cause the device control unit 111 to execute the request from the lower-priority service.
When determining that the conflicting device 110b exists (step S244: Yes), the conflicting device information acquisition unit 112 acquires the operation status of the conflicting device 110b (step S245). Then, when determining that the conflicting device 110b conflicts with the controlled device 110a (step S246: Yes), the conflicting device information acquisition unit 112 acquires the contents of the control of the conflicting device 110b (step S247). The conflicting device information acquisition unit 112 then acquires the priority of the lastly requested service 120 and the priority of the newly requested service 120 from the priority order information 115 (step S250). When the priority of the lastly requested service 120 is higher (step S251: No), the conflicting device information acquisition unit 112 returns to the state waiting for an event (step S240). Meanwhile, when the priority of the lastly requested service 120 is lower or on the same level (step S251: Yes), the conflicting device information acquisition unit 112 causes the device control unit 111 to control the conflicting device (step S248). Then, the device control unit 111 controls the controlled device 110a according to the contents of the request (step S249).
The change attribute of the controlled device may vary depending on the season or the time zone. For example, when an air-conditioner is started in the automatic operation mode in the summer season, the air-conditioner performs cooling operations to lower the room temperature, whereas when the air-conditioner is started in the automatic operation mode in the winter season, the air-conditioner performs heating operations to raise the room temperature. In addition, when an power window is opened in the summer season, the warm air enters into the room to raise the room temperature, whereas when the power window is opened in the winter season, cool air enters into the room to lower the room temperature. In such a manner as described above, the controlled device 110a may exhibit different change attributes in different seasons or time zones even if the controlled device is controlled in the same fashion.
Thus, the storage unit may hold a plurality of operational sensor change information 106 to corresponding to the seasons or time zones.
For example, as illustrated in
When receiving a timer event (step S124: Yes), the sensor information acquisition unit 102 transmits to the information change analysis unit 104 the saved value as a sensor measured value during operation of the device and the latest value as a latest sensor measured value. Then, the information change analysis unit 104 calculates the value of a difference between the latest value of the sensor measured value and the saved value of the sensor measured value (step S125). The information change analysis unit 104 then selects the operational sensor change information 106 according to the season or the time zone (step S130). When the difference value exceeds the change value (step S126: Yes), the information change analysis unit 104 updates the selected operational sensor change information 106 to indicate that there is a change in the change attribute of the controlled device 110a (step S127). Meanwhile, when the difference value does not exceed the change value (step S126: No), the information change analysis unit 104 updates the operational sensor change information 106 to indicate that there is no change in the change attribute of the controlled device 110a (step S128).
Then, when determining that the conflicting device 110b exits (step S344: Yes), the conflicting device information acquisition unit 112 acquires the operation status of the conflicting device 110b (step S345). When determining that there is a competition (step S346: Yes), the conflicting device information acquisition unit 112 causes the device control unit 111 to acquire the contents of the control of the conflicting device 110b (step S347). Then, the device control unit 111 controls the conflicting device 110b according to the acquired contents of the control (step S348). The device control unit 111 then controls the controlled device 110a according to the contents of the request (step S349).
In the foregoing embodiments, the control related to temperature adjustment is used as a specific example. However, the present invention is not limited to this but control related to illuminance adjustment may be used. For example, the conflicting device information acquisition unit 112 may specify the conflicting device of an interior lamp as an automatic curtain and control the device such that, when the user wishes to light on the interior lamp during the day, the automatic curtain is closed before lighting of the interior lamp or the like.
System Configuration of a Device Control System
The home gateway 310 terminates the communication protocols of the devices connected to the home network 300, and converts the same to a common communication protocol not depending on the devices. Thus, the home gateway 310 can make a request for control to each device even if the devices connected to the home network 300 use different protocols. For example, the home gateway 310 transmits a request for control to the air-conditioner 200 and the power window 220 to execute the requested control.
The broadband router 320 connects together the home network 300 and the Internet 400. The home gateway 310 has communication middleware to mediate among the controlled devices using various communication protocols. The home gateway 310 may operate the service 120 such as “energy-saving service” or “air-conditioning service”. A device control server 410 may operate the service 120 such as “energy-saving service” or “air-conditioning service”. That is, either the home gateway 310 or the device control server 410 may execute a request for control of the controlled device 110a.
The device control server 410 has communication middleware to communicate with the home gateway 310. Even when the controlled devices such as the air-conditioner 200 and the power window 220 use different communication protocols, the device control server 410 can use the communication middleware to enable utilization of a common interface. Accordingly, the device control server 410 can communicate with the controlled devices without regard to differences in communication protocols.
In general, the device control server 410 doesn't access the respective controlled devices via the Internet 400, but can access the respective controlled devices by setting port forwarding in the broadband router 320. Specifically, the device control server 410 uses prepared conversion data to convert the address of communication data and transmits the communication data to the home gateway 310 with specification of a specific port number of the home gateway 310. Then, the device control server 410 controls the controlled devices via the home gateway 310.
For example, the home gateway 310 accepts an event generated in the air-conditioner 200 when the user powers on or off the air-conditioner 200. Then, the device control server 410 accepts the event from the home gateway 310. The device control server 410 then stores a record of the event in the device operation information 113. For example, the device control server 410 stores an event with “AirConditioner1” as Device ID, “OperationStatus” as Property, and “On” as Value in the device operation information 113. After that, the device control server 410 controls the air-conditioner 200 via the home gateway 310. Control of the controlled device 110a by the device control server 410 will be described below.
When transmitting a request for opening the power window 220 by the “energy-saving service” to the home gateway, the device control server 410 sets “hgw1” as ID for identification of the home gateway and “Window1” as Device ID. Further, the device control server 410 sets “OperationStatus” as Property and “On” as Value, and invokes an API (application programming interface) related to the communication middleware. In such a manner as described above, the device control server 410 controls the power window via the home gateway 310. Similarly, the device control server 410 may control the power window 220 using the communication middleware included in the home gateway 310.
When transmitting a request for powering on the air-conditioner 200 by the “air-conditioning service” to the home gateway, the device control server 410 sets “hgw1” as ID for identification of the home gateway and “airconditioner1” as Device ID. Further, the device control server 410 sets “OperationStatus” as Property and “On” as Value, and invokes the API (application programming interface) related to the communication middleware. In such a manner as described above, the device control server 410 controls the air-conditioner 200 via the home gateway 310. Similarly, the device control server 410 may control the air-conditioner 200 using the communication middleware included in the home gateway 310.
According to one embodiment of the present invention, there is an advantage of performing appropriate control on conflicting devices.
All examples and conditional language recited herein are intended for pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present invention has(have) been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2013-102618 | May 2013 | JP | national |