WO2016181486A1 - 宅内機器、通信アダプタ、制御方法、及び、プログラム - Google Patents

宅内機器、通信アダプタ、制御方法、及び、プログラム Download PDF

Info

Publication number
WO2016181486A1
WO2016181486A1 PCT/JP2015/063582 JP2015063582W WO2016181486A1 WO 2016181486 A1 WO2016181486 A1 WO 2016181486A1 JP 2015063582 W JP2015063582 W JP 2015063582W WO 2016181486 A1 WO2016181486 A1 WO 2016181486A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
home
unit
state
remote operation
Prior art date
Application number
PCT/JP2015/063582
Other languages
English (en)
French (fr)
Inventor
直之 樋原
平野 誠
裕信 矢野
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to CN201580078483.XA priority Critical patent/CN107431734B/zh
Priority to DE112015006528.8T priority patent/DE112015006528T5/de
Priority to US15/560,731 priority patent/US20180054322A1/en
Priority to PCT/JP2015/063582 priority patent/WO2016181486A1/ja
Priority to JP2017517508A priority patent/JP6556228B2/ja
Publication of WO2016181486A1 publication Critical patent/WO2016181486A1/ja

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/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • H04L12/2829Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality involving user profiles according to which the execution of a home appliance functionality is automatically triggered
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2613Household appliance in general
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways
    • 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
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • 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
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/062Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors using different frequency bands for speech and other data

Definitions

  • the present invention relates to a technique for appropriately determining an uncontrollable state and causing a home device to transition to a safe operation state.
  • home systems for example, energy management systems
  • various electrical devices and residential equipment hereinafter collectively referred to as home devices
  • home devices various electrical devices and residential equipment (hereinafter collectively referred to as home devices) connected in a home are connected according to a predetermined communication standard
  • home devices for example, various home devices such as air conditioners, lighting devices, rice cookers, IH cookers, dehumidifiers, ventilation fans, and water heaters are communicably connected, and management (monitoring and control) of each home device is appropriate. Can be done.
  • Patent Document 1 As a prior art of such a home system, for example, in Patent Document 1, when remote operation becomes impossible, a notification to that effect is given to the home, and if the operation cannot be obtained from the home, the home device is operated safely. An invention of a home system for transitioning to a state is disclosed.
  • the controller not only provides information from home appliances (for example, information on driving status, power consumption, various alerts, etc.) but also information on the outside of the home by various sensors (for example, temperature, humidity, illuminance, (Information such as vibration detection, smoke detection, gas detection, and intruder detection) can be collected and the in-home equipment can be controlled comprehensively. Therefore, recently, even if communication with the communication terminal is interrupted, it is considered that the home device can still be safely controlled as long as communication between the controller and the home device is possible.
  • home appliances for example, information on driving status, power consumption, various alerts, etc.
  • sensors for example, temperature, humidity, illuminance, (Information such as vibration detection, smoke detection, gas detection, and intruder detection) can be collected and the in-home equipment can be controlled comprehensively. Therefore, recently, even if communication with the communication terminal is interrupted, it is considered that the home device can still be safely controlled as long as communication between the controller and the home device is possible.
  • the present invention has been made in view of the above circumstances, and an object of the present invention is to appropriately determine an uncontrollable state and shift a home device to a safe operation state.
  • a home device provides: A home device remotely operated via a network, In the remote operation state in which the remote operation is performed, when communication with a management device that requests or mediates the remote operation is interrupted, a state management unit that transitions to a predetermined safe operation state, Is provided.
  • FIG. 1 is a schematic diagram illustrating an example of the overall configuration of a home system 1 according to an embodiment of the present invention.
  • the home system 1 is a system that allows a user to operate the communication terminal 50 from an outside location (outside the home) and remotely control the home device 10 disposed in the home H (inside the home) (outside home operation). It is.
  • the home system 1 includes a home device 10, a remote controller 10 a, a communication adapter 20, a controller 30, a server 40, and a communication terminal 50.
  • the communication adapter 20 and the controller 30 are communicably connected via the home network 80.
  • the communication adapter 20 and the in-home device 10 are connected via a connection cable, a connection connector, or the like.
  • FIG. 1 shows the case where one home appliance 10 and one controller 30 are arranged in the house H, this is for ease of explanation. A plurality of 30 or the like may be arranged.
  • the in-home device 10 is a home appliance or a house device disposed in the house H, and specifically, an air conditioner, a lighting device, a rice cooker, an IH cooker, a dehumidifier, a ventilator, a water heater, or the like.
  • an air conditioner a lighting device
  • a rice cooker a rice cooker
  • an IH cooker a dehumidifier
  • a ventilator a water heater, or the like.
  • a part of hot water heater etc. may be arrange
  • this home device 10 is provided with a remote controller 10a, and can accept an operation command from the remote controller 10a.
  • An example of the configuration of the home appliance 10 will be described below with reference to the block diagram of FIG.
  • the home device 10 includes a control unit 11, a storage unit 12, a timer 13, an input unit 14, an output unit 15, and an interface 16.
  • the control unit 11 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like (all not shown), and controls the entire home device 10.
  • the control unit 11 functionally includes a timer management module 11a, a state management module 11b, and a main function control module 11c. These functions are realized by the CPU using the RAM as a work memory and appropriately executing, for example, various programs (such as a program for state management processing described later) stored in the ROM.
  • the timer management module 11 a manages the operation of the timer 13 in accordance with various commands supplied from the input unit 14 or the interface 16. As will be described later, an operation command by an out-of-home operation, a notification command (details will be described later, a command to notify normal communication), and the like are supplied from the interface 16. On the other hand, as will be described later, an operation command based on a home operation is supplied from the input unit 14.
  • the timer management module 11a when an operation command by an out-of-home operation is supplied from the interface 16, the timer management module 11a operates the timer 13 to start counting. Although details will be described later, the operating timer 13 counts from the initial value to the reference value (time over). If a notification command is supplied from the interface 16 while the timer 13 is counting, the timer management module 11a resets the count. That is, the timer management module 11a returns the count of the timer 13 to the initial value and continues the count operation. Further, when an operation command by home operation is supplied from the input unit 14 or the like while the timer 13 is counting, the timer management module 11a stops the counting by the timer 13. That is, the timer management module 11a ends the operation of the timer 13.
  • the state management module 11b manages the operation state of the home device 10.
  • the in-home device 10 is in any one of the in-home operation state 12a, the out-of-home operation state 12b, and the safe operation state 12c as shown in FIG. In FIG. 3, the stop state (power off, etc.) is omitted.
  • the in-home operation state 12a indicates a state in which the home operation is performed from the remote controller 10a or the like.
  • the out-of-home operation state 12b indicates a state in which an out-of-home operation is performed from the communication terminal 50.
  • the safe operation state 12c has shown the state which is performing the safe operation (operation
  • the home device 10 is an air conditioner, blowing or stopping is defined as a safe operation. Further, if the home device 10 is a water heater, a stop is defined as a safe operation. Further, if the home appliance 10 is a ventilation fan, a low-consumption operation is defined as a safe operation. In addition, if the home appliance 10 is a rice cooker, heat retention and stop are defined as safe operations. Such a safe operation is an example, and can be changed as appropriate according to the actual home device 10.
  • the state management module 11b sets the state of the in-home device 10 to any one of the in-home operation state 12a, the out-of-home operation state 12b, and the safe operation state 12c according to the received operation command, the timer 13 being over, or the like. (Transition). For example, the state management module 11b makes a transition to the in-home operation state 12a when an in-home operation is performed in the out-of-home operation state 12b. Conversely, in the in-home operation state 12a, when an out-of-home operation is performed, the state management module 11b makes a transition to the out-of-home operation state 12b. Furthermore, when the state management module 11b detects a communication interruption in the out-of-home operation state 12b (when the timer 13 times out), the state management module 11b makes a transition to the safe operation state 12c.
  • the main function control module 11 c responds to an operation command supplied from the input unit 14 or the interface 16 to the main function of the home device 10 (for example, air conditioning, cooling, dehumidification, etc. Air-conditioning function, refrigeration and refrigeration functions, etc. for refrigerators).
  • the main function control module 11c controls the main function of the home appliance 10 so that when the state management module 11b is in the safe operation state 12c (when the timer 13 that has started counting is over), the main function control module 11c is in the safe operation state. .
  • the storage unit 12 is composed of, for example, a non-volatile semiconductor memory, and stores information about the home device 10 (for example, the operation state shown in FIG. 3 described above).
  • the storage unit 12 also stores programs executed by the control unit 11.
  • the timer 13 is composed of, for example, a crystal resonator, a counter, and the like, and in order to detect communication interruption in the out-of-home operation state (out-of-home operation state 12b in FIG. 3 described above), the no-communication time (the communication adapter 20 and the controller) 30) (no communication time with 30). That is, the timer 13 operates according to the instruction of the timer management module 11a described above, and counts from the initial value to exceeding the reference value (time over). Specifically, when the reference value is set to 24 hours, the timer 13 is over when the timer 13 counts exceeding 24 hours. In addition, such a reference value is an example and can be changed as appropriate according to the actual home device 10.
  • the timer 13 When the timer 13 reaches such a time-out, the communication interruption in the outside operation state is detected. Then, the detected communication interruption is notified to the main function control module 11c and the like described above.
  • the timer 13 resets the count in response to the instruction from the timer management module 11a described above (when a notification command is sent from the communication adapter 20 as will be described later), and stops the count (described later). As in the case of an operation command sent by home operation).
  • the input unit 14 includes, for example, an infrared receiving unit and receives an operation command (operation command by home operation) sent from the remote controller 10a.
  • the input unit 14 includes, for example, a plurality of input switches and the like, and receives an operation command in response to a user's pressing.
  • the input unit 14 acquires an operation command based on a home operation and supplies the operation command to the control unit 11.
  • the output unit 15 is composed of, for example, a liquid crystal panel or the like, and displays the operation status of the home appliance 10.
  • the interface 16 is composed of, for example, an external connection unit or the like, and is connected to the communication adapter 20 via a connection cable, a connection connector, or the like.
  • the interface 16 transmits and receives various information to and from the connected communication adapter 20.
  • the interface 16 receives operation commands and notification commands sent from the communication adapter 20 and supplies them to the control unit 11.
  • the operation command sent from the communication adapter 20 includes an operation command by an out-of-home operation from the communication terminal 50.
  • the interface 16 transmits the state change information supplied from the control unit 11 to the communication adapter 20. For example, when the state management module 11b changes from the out-of-home operation state to the in-home operation state (in the out-of-home operation state 12b of FIG. 3, when the home operation is performed from the remote controller 10a), the interface 16 State change information indicating that the state has changed to the home operation state is transmitted to the communication adapter 20.
  • the communication adapter 20 is an adapter for adding a communication function to the home device 10. That is, by attaching (connecting) the communication adapter 20 to the home device 10, the home device 10 can communicate via the home network 80.
  • An example of the configuration of the communication adapter 20 will be described below with reference to the block diagram of FIG. As illustrated, the communication adapter 20 includes a control unit 21, a storage unit 22, an interface 23, and a communication unit 24.
  • the control unit 21 includes, for example, a CPU, a ROM, a RAM, and the like (all not shown) and controls the communication adapter 20 as a whole. Functionally, the control unit 21 includes a message processing module 21a, a registration module 21b, and a command transmission module 21c. These functions are realized by the CPU using the RAM as a work memory and appropriately executing, for example, various programs (such as a communication management processing program described later) stored in the ROM. In addition, the control unit 21 accesses the home device 10 via the interface 23 at a predetermined cycle (as an example, one minute cycle), and collects various pieces of information about the home device 10 (storage unit) 22).
  • a predetermined cycle as an example, one minute cycle
  • the message processing module 21a processes a message (for example, a communication frame) received by the communication unit 24, generates a response message if necessary, and transmits the response message to the communication unit 24.
  • the electronic message processing module 21 a processes an electronic message of an operation request (external operation or in-home operation), and generates an operation command for the home device 10.
  • the message processing module 21 a processes a message of a status acquisition request (status inquiry of the home device 10), and generates a status acquisition request response message from the information about the home device 10 stored in the storage unit 22. Then, the message processing module 21a returns a message of the generated status acquisition request response to the communication unit 24.
  • the message processing module 21a is configured to send a processed status acquisition request message from the controller 30 that mediates remote operation in the out-of-home operation state (more specifically, in the management device information described later). If it matches the address, a notification command for notifying the home device 10 of normal communication is generated.
  • the registration module 21b When the operation request processed by the message processing module 21a is an out-of-home operation from the communication terminal 50, the registration module 21b generates management device information for holding the controller 30 that mediates remote operation as a management device. Then, it is registered in the storage unit 22. Specifically, the registration module 21b generates management device information 221 as shown in FIG.
  • the management device information 221 includes address information and state classification.
  • the address information is the address information of the controller 30 that actually mediated the remote operation. Even if a plurality of controllers 30 exist on the home network 80, one controller 30 that should be a management device can be identified. It is.
  • unique information such as a MAC address may be included in the management device information 221.
  • the state classification indicates the operation state (for example, an out-of-home operation state) of the home device 10.
  • the registration module 21b updates the state classification.
  • the management device information 221 itself may be deleted from the storage unit 22.
  • the command transmission module 21 c transmits the operation command and notification command generated by the message processing module 21 a to the home device 10 via the interface 23.
  • the storage unit 22 is composed of, for example, a non-volatile semiconductor memory and stores various information. As an example, the storage unit 22 stores the management device information 221 shown in FIG. The storage unit 22 also stores a program executed by the control unit 21.
  • the interface 23 is composed of, for example, an external connection unit or the like, and is connected to the household device 10 via a connection cable, a connection connector, or the like.
  • the interface 23 transmits and receives various information to and from the connected home device 10.
  • the communication unit 24 includes, for example, a wired LAN (Local Area Network) or a wireless LAN communication unit, and is controlled by the control unit 21 to perform communication via the home network 80.
  • the communication unit 24 receives an operation request (out-of-home operation or in-home operation) message or a status acquisition request message, and transmits a status acquisition request response message.
  • the controller 30 is, for example, a HEMS (Home Energy Management System) controller that controls the home device 10.
  • the controller 30 functions as a gateway that mediates remote operation (external operation) from the communication terminal 50.
  • An example of the configuration of the controller 30 will be described below with reference to the block diagram of FIG.
  • the controller 30 includes a control unit 31, a storage unit 32, an input unit 33, an output unit 34, an in-home communication unit 35, and an out-of-home communication unit 36.
  • the control unit 31 includes, for example, a CPU, a ROM, a RAM, and the like (all not shown), and controls the entire controller 30.
  • the control unit 31 performs processing such as adding a classification indicating an out-of-home operation to the message, and the processed message is stored in the home
  • the communication unit 35 transmits the data to the communication adapter 20.
  • the control part 31 produces
  • the storage unit 32 is composed of, for example, a nonvolatile semiconductor memory and stores various information. As an example, the storage unit 32 stores address information and the like necessary for accessing the communication adapter 20 and the server 40. The storage unit 32 also stores a program executed by the control unit 31.
  • the input unit 33 includes a plurality of input switches and the like, and accepts an operation in response to a user's pressing.
  • the output unit 34 is composed of, for example, a liquid crystal panel and displays the operation status of the controller 30 and the like.
  • the home communication unit 35 includes, for example, a wired LAN or wireless LAN communication unit, and is controlled by the control unit 31 to perform communication via the home network 80.
  • the outside communication unit 36 includes, for example, an ADSL (Asymmetric Digital Subscriber Line) modem or a cable modem for connecting to the Internet using an optical cable line, and is controlled by the control unit 31 to communicate via the outside network 80. I do.
  • ADSL Asymmetric Digital Subscriber Line
  • cable modem for connecting to the Internet using an optical cable line
  • the server 40 is a server computer that can communicate with the communication terminal 50 and the controller 30 via the external network 90.
  • the server 40 stores, for example, various information for identifying a contracted user (for example, a registered user name, a registered password, identification information of the communication terminal 50, and identification information of the controller 30). Then, after performing a predetermined authentication process with the communication terminal 50, the server 40 establishes a communication connection with the controller 30 based on the set connection information and the like. In this state, the server 40 transmits a message (message such as an operation request by an out-of-home operation) sent from the communication terminal 50 to the in-home device 10 (communication adapter 20) through the controller 30.
  • a message messages such as an operation request by an out-of-home operation
  • the communication terminal 50 is, for example, a portable communication terminal such as a smartphone, and is used by the user on the go (outside the house) or the like.
  • the communication terminal 50 includes a communication interface that can be connected to the outside network 90, and transmits a message (such as an operation request by an outside operation) to the in-home device 10 (communication adapter 20) through the server 40 or the like.
  • the communication terminal 50 accesses the server 40 on the outside network 90 and performs a predetermined authentication process, and then establishes a communication connection between the server 40 and the controller 30.
  • the communication terminal 50 transmits a message to the home device 10 (communication adapter 20) through the server 40 and the controller 30. That is, the communication terminal 50 enables the remote operation (external operation) of the home device 10 from outside the home in this way.
  • FIG. 7 is a flowchart illustrating an example of a state management process executed by the home device 10 (control unit 11).
  • FIG. 8 is a flowchart illustrating an example of a communication management process executed by the communication adapter 20 (control unit 21). First, the state management process of FIG. 7 will be described.
  • control unit 11 of the home device 10 determines whether or not a command has been received (step S101). That is, the control unit 11 determines whether a command is received from the input unit 14 or the interface 16. When determining that the command is not received (step S101; No), the control unit 11 advances the process to step S112 described later.
  • step S101 when it is determined that the command is received (step S101; Yes), the control unit 11 determines whether the command is an operation command (step S102). When determining that the operation command is an operation command (step S102; Yes), the control unit 11 determines whether the operation is an out-of-home operation (step S103).
  • step S103 When it is determined that the operation is an out-of-home operation (step S103; Yes), the control unit 11 refers to the storage unit 12 and determines whether or not the current operation state is in-home (step S104). When the control unit 11 determines that the in-home operation state is set (step S104; Yes), the control unit 11 changes to the out-of-home operation state and starts counting by the timer 13 (step S105). In other words, the timer management module 11a operates the timer 13 and starts counting the no-communication time in order to detect communication interruption in the out-of-home operation state.
  • step S104 when it is determined that the current state is not the in-home operation state (the out-of-home operation state) (step S104; No), the control unit 11 resets the count of the timer 13 (step S106). That is, since the timer 13 is already operating, the timer management module 11a returns the count of the timer 13 to the initial value and continues the counting operation.
  • step S103 When it is determined in step S103 described above that the operation is not an out-of-home operation (in-home operation) (step S103; No), the control unit 11 determines whether or not the operation state is currently out-of-home (step S107). ). When the control unit 11 determines that the operation state is not the out-of-home operation state (in-home operation state) (step S107; No), the process proceeds to step S109 described later.
  • control unit 11 changes the operation state to the in-home operation state and stops counting (step S108). That is, the timer management module 11a ends the operation of the timer 13.
  • the control unit 11 controls the main function according to the operation command (step S109). That is, the main function control module 11c responds to an operation command supplied from the input unit 14 or the interface 16 with the main function of the home appliance 10 (for example, an air conditioner such as cooling, heating, and dehumidifying if an air conditioner, If it is a refrigerator, it controls freezing and refrigeration functions).
  • an air conditioner such as cooling, heating, and dehumidifying if an air conditioner, If it is a refrigerator, it controls freezing and refrigeration functions).
  • step S102 When it is determined in step S102 described above that the command is not an operation command (step S102; No), the control unit 11 determines whether it is a communication normality notification (a notification command for notifying communication normality) (step S110). ). If the control unit 11 determines that it is not a communication normal notification (step S110; No), the process proceeds to step S112 described later.
  • a communication normality notification a notification command for notifying communication normality
  • step S110 when it is determined that the communication is normal notification (step S110; Yes), the control unit 11 resets the count of the timer 13 (step S111). That is, the timer management module 11a returns the count of the timer 13 to the initial value and continues the count operation.
  • the control part 11 discriminate
  • the control unit 11 determines that the operation state is not the out-of-home operation state (in-home operation state) (step S112; No)
  • the control unit 11 returns the process to step S101 described above.
  • step S112 when it is determined that the current state is an out-of-home operation state (step S112; Yes), the control unit 11 determines whether or not the timer 13 has timed out (step S113). When determining that the timer 13 has not timed out (step S113; No), the control unit 11 returns the process to step S101 described above.
  • step S113 when it is determined that the timer 13 has timed out (step S113; Yes), the control unit 11 makes a transition to the safe operation state (step S114). That is, since the communication interruption in the outside operation state is detected, the main function control module 11c shifts the main function of the home device 10 to the safe operation state.
  • control unit 21 of the communication adapter 20 determines whether or not a message has been received (step S201). In addition, if it determines with the control part 21 not receiving the message
  • step S201 when it is determined that a message has been received (step S201; Yes), the control unit 21 determines whether or not the received message is an operation request (step S202). When determining that the request is an operation request (step S202; Yes), the control unit 21 determines whether the operation is an out-of-home operation (step S203). When determining that the operation is not an out-of-home operation (in-home operation) (step S203; No), the control unit 21 advances the processing to step S205 described later. If the management device information (management device information 221 as shown in FIG. 5) is registered in the storage unit 22, it is deleted from the storage unit 22 (not shown in FIG. The status classification of the management device information 221 may be changed from the out-of-home operation state to the in-home operation state).
  • management device information management device information 221 as shown in FIG. 5
  • the status classification of the management device information 221 may be changed from the out-of-home operation state to the in-home operation state).
  • step S203 when it is determined that the operation is an out-of-home operation (step S203; Yes), the control unit 21 registers the management device information in the storage unit 22 (step S204). That is, the registration module 21 b generates management device information for holding the controller 30 that mediates remote operation as a management device, and registers the management device information in the storage unit 22. If the management device information has been registered in the storage unit 22, the control unit 21 overwrites and registers the management device information.
  • the control unit 21 generates an operation command (step S205). That is, the message processing module 21a generates an operation command corresponding to a message of an operation request (outside home operation or in-home operation).
  • step S202 When it is determined in step S202 described above that the request is not an operation request (step S202; No), the control unit 21 determines whether or not the received message is a status acquisition request (step S206). When determining that the request is not a state acquisition request (step S206; No), the control unit 21 returns the process to step S201 described above.
  • step S206 if it is determined that the request is a status acquisition request (step S206; Yes), the control unit 21 generates a response message and sends it back (step S207). That is, the message processing module 21 a processes the message for the status acquisition request, and generates a message for the status acquisition request response from the information about the home device 10 stored in the storage unit 22. Then, the message processing module 21a returns a message of the generated status acquisition request response to the communication unit 24.
  • the control unit 21 refers to the storage unit 22 and determines whether or not the in-home device 10 is in an out-of-home operation state (step S208). If the control unit 21 determines that the operation state is not the out-of-home operation state (step S208; No), the process returns to step S201 described above.
  • step S208 determines whether or not the transmission source of the message matches the address of the management device information (step). S209). That is, the control unit 21 determines whether the address of the transmission source of the processed status acquisition request message matches the address information of the management device information (management device information 221 shown in FIG. 5) registered in the storage unit 22. Determine. When determining that the address does not match the address of the management device information (step S209; No), the control unit 21 returns the process to step S201 described above.
  • control unit 21 when it is determined that the address matches the address of the managed device information (step S209; Yes), the control unit 21 generates a notification command indicating normal communication (step S210).
  • the control unit 21 transmits the generated command to the home device 10 (step S211). That is, the command transmission module 21c transmits the operation command generated in step S205 or step S210 to the home device 10 via the interface 23.
  • control part 21 returns a process to step S201 mentioned above.
  • the communication terminal 50 transmits an operation request message to the server 40 (step S301). Subsequently, the server 40 transmits an operation request message to the controller 30 (step S302).
  • the controller 30 transmits an out-of-home operation request message obtained by processing the operation request message to the communication adapter 20 (step S303). That is, when the control unit 31 of the controller 30 receives the operation request message in the outside communication unit 36, the control unit 31 performs processing such as adding a category indicating the outside operation to the message, and processes the processed message (outside operation request). Are transmitted from the in-home communication unit 35 to the communication adapter 20.
  • the communication adapter 20 holds managed device information (step S304). That is, the control unit 21 of the communication adapter 20 generates management device information (management device information 221 as shown in FIG. 5) for holding the controller 30 that mediates remote operation as a management device, and stores it in the storage unit 22. sign up.
  • management device information management device information 221 as shown in FIG. 5
  • the communication adapter 20 transmits an out-of-home operation request (operation command) to the home device 10 (step S305). That is, the control unit 21 of the communication adapter 20 generates an operation command corresponding to the out-of-home operation request and transmits it to the in-home device 10 via the interface 23.
  • the home device 10 starts counting (step S306). That is, the control unit 11 of the in-home device 10 operates the timer 13 and starts counting the no-communication time in order to detect communication interruption in the out-of-home operation state.
  • the controller 30 sends a status acquisition request message to the communication adapter 20 (step S311). That is, the control unit 31 of the controller 30 generates a status acquisition request message as a periodic operation, and transmits it from the in-home communication unit 35 to the communication adapter 20.
  • the communication adapter 20 transmits a status acquisition response message to the controller 30 (step S312).
  • the control unit 21 of the communication adapter 20 generates a status acquisition request response message from the information about the home device 10 stored in the storage unit 22 and causes the communication unit 24 to reply.
  • the communication adapter 20 transmits a communication normality notification (notification command) to the home device 10 (step S313). That is, the control unit 21 of the communication adapter 20 matches the address information of the managed device information (the managed device information 221 shown in FIG. 5) registered in the storage unit 22 with the address of the processed status acquisition request message. After confirming this, a notification command indicating normal communication is generated and transmitted to the home device 10 via the interface 23.
  • the home device 10 resets the count (step S314). That is, the control unit 11 of the home appliance 10 returns the count of the timer 13 to the initial value and continues the counting operation.
  • steps S311 to S314 are performed periodically (for example, every 10 minutes) as long as communication between the controller 30 and the communication adapter 20 is possible. Therefore, since the count by the timer 13 of the home device 10 is periodically reset in step S314, the timer 13 does not run out of time.
  • step S321 the timer 13 of the home device 10 eventually expires (step S321). Then, the household device 10 transitions to a safe operation state (step S322). That is, since the communication interruption in the out-of-home operation state is detected, the control unit 11 of the home device 10 shifts the main function of the home device 10 to the safe operation state.
  • the other device N in FIG. 10 indicates the controller 30 that did not mediate an out-of-home operation from the communication terminal 50. Further, the controller 30 in FIG. 10 indicates the controller 30 that mediates an out-of-home operation from the communication terminal 50.
  • step S ⁇ b> 301 an operation request from the communication terminal 50 (transmission of an operation request message) is started, and in step S ⁇ b> 306, counting by the timer 13 of the home device 10 starts.
  • step S313 the control unit 21 of the communication adapter 20 confirms that the address of the transmission source of the processed status acquisition request message matches the address information of the managed device information registered in the storage unit 22. Thus, a communication normality notification (notification command) is transmitted to the home device 10.
  • step S321 the timer 13 of the home device 10 is timed out in step S321, and in step S322, the home device 10 transitions to a safe operation state.
  • step S301 the operation request (transmission of an operation request message) from the communication terminal 50 is started in step S301, and the counting by the timer 13 of the home device 10 is started in step S306.
  • steps S311 to S314 are periodically performed if communication between the controller 30 and the communication adapter 20 is possible. For this reason, the timer 13 does not run out of time.
  • step S341 when a home operation request (operation command) is sent from the remote controller 10a to the home device 10 (step S341), the home device 10 stops counting by the timer 13 (step S342). That is, since the home operation has been performed in the out-of-home operation state, the control unit 11 of the home device 10 ends the operation of the timer 13.
  • FIG. 11 shows a case where a home operation is performed from the remote controller 10a.
  • the home device 10 stops counting by the timer 13 as in step S342.
  • the communication interruption is determined according to the communication status with the controller 30 that mediates the outside operation.
  • the communication with the controller 30 the controller 30 that mediates the out-of-home operation
  • the safe operation is performed. Transition to state. As a result, it is possible to appropriately determine an uncontrollable state and shift the home device 10 to the safe operation state.
  • the in-home device 10 performs communication through the communication adapter 20 has been described.
  • the in-home device 10 may have a communication function regardless of the communication adapter 20.
  • the home device 60 having a communication function will be described with reference to FIG.
  • the in-home device 60 includes a control unit 61, a storage unit 62, a timer 13, an input unit 14, an output unit 15, and a communication unit 64.
  • the timer 13 to the output unit 15 have the same configuration as the above-described home device 10 of FIG.
  • the control unit 61 includes, for example, a CPU, a ROM, a RAM, and the like (all not shown), and controls the entire home device 60. Functionally, the control unit 61 includes a timer management module 11a, a state management module 11b, a main function control module 11c, a message processing module 21a, and a registration module 21b. These functions are realized by the CPU using the RAM as a work memory and appropriately executing various programs stored in the ROM, for example.
  • the timer management module 11a to the main function control module 11c have the same configuration as the above-described home device 10 of FIG.
  • the timer management module 11a manages the operation of the timer 13 according to a message (operation request or status acquisition request) processed by the message processing module 21a.
  • the state management module 11b manages the operation state of the home appliance 10 according to a message (operation request) processed by the message processing module 21a, a timer 13 time-over, or the like.
  • the main function control module 11c controls the main function of the home appliance 10 according to a message (operation request) processed by the message processing module 21a.
  • the message processing module 21a and the registration module 21b have the same configuration as the communication adapter 20 of FIG. 4 described above.
  • the message processing module 21a processes a message (operation request or status acquisition request message) received by the communication unit 64.
  • the message processing module 21a controls the main function control module 11c according to the operation request.
  • the storage unit 62 stores the management device information 221 and the like shown in FIG. 5 described above, in addition to the storage unit 12 of the home device 10 described above.
  • the communication unit 64 includes, for example, a wired LAN or a wireless LAN communication unit, and is controlled by the control unit 61 to perform communication via the home network 80.
  • the communication unit 64 receives an operation request (out-of-home operation or in-home operation) message or a status acquisition request message, and transmits a status acquisition request response message.
  • the in-home device 60 having such a configuration discriminates the interruption of communication according to the communication status with the controller 30 that mediates the outside operation. In other words, regardless of the communication status with the communication terminal 50 that performed the out-of-home operation, the communication with the controller 30 that can safely control the in-home device 10 (the controller 30 that mediates the out-of-home operation) is determined, and the safe operation is performed. Transition to the state. As a result, it is possible to appropriately determine an uncontrollable state and shift the home device 10 to the safe operation state.
  • the communication terminal 50 establishes a communication connection with the controller 30 through the server 40 .
  • the communication terminal 50 directly communicates with the controller 30 without using such a server 40.
  • a connection may be established.
  • the control unit 21 executes the above-described communication management process of FIG.
  • the control unit 21 determines that the request is an operation request in step S202 (step S202; Yes)
  • the control unit 21 skips the determination in step S203, and in step S204, manages the device information (managed device information 221 shown in FIG. 5). ) And is registered in the storage unit 22. That is, the registration module 21 b generates management device information for holding the controller 30 that requested or mediated the remote operation as a management device, and registers the management device information in the storage unit 22.
  • control unit 21 generates an operation command in step S205.
  • the message processing module 21a unconditionally generates an operation command by an out-of-home operation even when the operation request is by an in-home operation.
  • the control part 21 transmits the produced
  • the in-home device 10 can directly execute the above-described state management process of FIG.
  • the operation commands sent from the communication adapter 20 are all operation commands based on the out-of-home operation, and the operation commands based on the in-home operation are only the operation commands sent from the remote controller 10a. Therefore, when an operation command is sent from the communication adapter 20, the control unit 11 changes the operation state to the out-of-home operation state and starts counting by the timer 13 in step S105 of FIG. That is, the timer management module 11a operates the timer 13 and starts counting the non-communication time in order to detect communication interruption in the remote operation state.
  • step S206 determines that it is a state acquisition request in step S206 of FIG. 8 (step S206; Yes)
  • it creates and returns a response message in step S207, and in step S209, It is determined whether or not the transmission source of the message matches the address of the management device information. That is, the control unit 21 determines whether the address of the transmission source of the status acquisition request message matches the address information of the management device information registered in the storage unit 22 (that is, the controller 30 that requested or mediated remote operation). Is determined. If it is determined that they match (step S209; Yes), the control unit 21 generates a notification command in step S210, and transmits the generated notification command to the home device 10 in step S211.
  • the in-home device 10 determines that it is a communication normal notification (notification command) in step S110 of FIG. 7 (step S110; Yes)
  • the timer 13 is reset in step S111.
  • the remote operation state is limited to the out-of-home operation, for example, in-home operation to the home device 10 or the like placed in a remote room.
  • the management device controller 30
  • the household apparatus 10 will change to a safe operation state.
  • Such a program distribution method is arbitrary.
  • a computer-readable medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card is readable.
  • a computer-readable medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card is readable.
  • the present invention can be suitably applied to a home device, a communication adapter, a control method, and a program that can appropriately determine an uncontrollable state and transition the home device to a safe operation state.

Abstract

ステップS301にて、通信端末(50)からの操作要求から始まり、ステップS306にて、宅内機器(10)のタイマによるカウントが開始する。ステップS311~S314の処理は、コントローラ(30)と通信アダプタ(20)との通信が可能であれば、定期的に行われる。つまり、ステップS314にて、宅内機器(10)のタイマが定期的にリセットされるため、タイマがタイムオーバーとなることがない。一方、何らかの原因で、コントローラ(30)と通信アダプタ(20)との通信が行われないと、やがて、ステップS321にて、宅内機器(10)のタイマがタイムオーバーとなり、ステップS322にて、宅内機器(10)は、安全動作状態に遷移する。

Description

宅内機器、通信アダプタ、制御方法、及び、プログラム
 本発明は、制御不能な状態を適切に判別し、宅内機器を安全動作状態に遷移させるための技術に関する。
 近年、宅内に配置した種々の電気機器や住設機器(以下、まとめて宅内機器と記す)を予め定められた通信規格にて接続したホームシステム(一例として、エネルギーマネジメントシステム等)が普及している。このホームシステムでは、例えば、エアコン,照明機器,炊飯器,IH調理器,除湿機,換気扇,給湯器といった種々の宅内機器が通信可能に接続され、各宅内機器の管理(モニタリングや制御)が適切に行えるようになっている。
 最近では、スマートフォン等の通信端末を用いて、このようなホームシステムに宅外からアクセスし、外出先等のユーザが、宅内機器を遠隔操作することも可能となっている。それでも、現実には、通信端末周辺における通信環境の悪化や、通信端末のバッテリの消耗等を要因として通信が途絶し、遠隔操作が不能となってしまうことも起こり得る。その際、宅内機器は、遠隔操作時における最終指示に基づいた動作を継続するのが一般的であるが、このような動作を無条件に継続させることは、安全上の問題となり得るとして懸念されていた。
 このようなホームシステムの先行技術として、例えば、特許文献1には、遠隔操作が不能となった際にその旨を宅内に報知し、宅内から操作が得られない場合に、宅内機器を安全動作状態に遷移させるホームシステムの発明が開示されている。
特開2015-35647号公報
 上述した特許文献1に記載のホームシステムでは、通信端末との通信途絶を検出することで、宅内機器が制御不能な状態となったと判別し、宅内機器を安全動作状態に遷移させている。しかしながら、最近のホームシステムでは、システム全体を制御するコントローラの機能が充実してきており、日中や深夜に限らず、24時間、状況の変化に応じて宅内機器を適切に制御できるようになっている。例えば、コントローラは、宅内機器からの情報(一例として、運転状況、消費電力、及び、各種アラート等の情報)だけでなく、各種センサ等による宅内外の情報(一例として、温度、湿度、照度、振動検知、煙検知、ガス検知、及び、侵入者検知等の情報)を収集し、総合的に、宅内機器を制御可能である。そのため、最近では、通信端末との通信が途絶したとしても、コントローラと宅内機器との通信が可能であれば、依然として、宅内機器を安全に制御できると考えられるようになっている。
 また、このようなホームシステムでは、通信規格等が統一されているため、異なるメーカの製品が混在する場合もある。例えば、宅内機器とコントローラとが異なるメーカの製品である場合に、通信端末との通信途絶をコントローラ側が検出したとしても、宅内機器側には伝えられないことも生じ得る。そのため、宅内機器側で、制御不能な状態を適切に判別することが求められていた。
 本発明は、上記の事情に鑑みてなされたもので、制御不能な状態を適切に判別し、宅内機器を安全動作状態に遷移させることを目的とする。
 上記目的を達成するために、本発明に係る宅内機器は、
 ネットワークを介して遠隔操作される宅内機器であって、
 前記遠隔操作が行われている遠隔操作状態において、前記遠隔操作を要求又は仲介した管理機器との通信が途絶すると、予め定められた安全動作状態に遷移させる状態管理部、
 を備える。
 本発明によれば、制御不能な状態を適切に判別し、宅内機器を安全動作状態に遷移させることができる。
本発明の実施形態に係るホームシステムの全体構成の一例を示す模式図である。 宅内機器の構成の一例を示すブロック図である。 宅内機器の動作状態を説明するための模式図である。 通信アダプタの構成の一例を示すブロック図である。 通信アダプタの記憶部に記憶される宅外操作管理情報の一例を示す模式図である。 コントローラの構成の一例を示すブロック図である。 宅内機器によって実行される状態管理処理の一例を示すフローチャートである。 通信アダプタによって実行される通信管理処理の一例を示すフローチャートである。 ホームシステムの全体動作を説明するためのフロー図である。 他の機器からのアクセスを含めたホームシステムの全体動作を説明するためのフロー図である。 リモコンからの宅内操作を含めたホームシステムの全体動作を説明するためのフロー図である。 他の実施形態に係る宅内機器の構成の一例を示すブロック図である。
 以下、本発明の実施形態について、図面を参照しながら詳細に説明する。なお、図中同一又は相当部分には同一符号を付す。以下では、具体例として、本発明がホームシステムにおける宅内機器等に適用される場合について説明するが、他のシステムにおける機器においても同様に本発明を適用することができる。すなわち、以下に説明する実施形態は説明のためのものであり、本発明の範囲を制限するものではない。従って、当業者であればこれらの各要素又は全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。
(実施形態)
 図1は、本発明の実施形態に係るホームシステム1の全体構成の一例を示す模式図である。このホームシステム1は、外出先等(宅外)から、ユーザが通信端末50を操作して、住宅H内(宅内)に配置されている宅内機器10を遠隔操作(宅外操作)可能なシステムである。図示するように、ホームシステム1は、宅内機器10と、リモコン10aと、通信アダプタ20と、コントローラ30と、サーバ40と、通信端末50とを備えている。なお、通信アダプタ20とコントローラ30とは、宅内ネットワーク80を介して通信可能に接続されている。そして、通信アダプタ20と宅内機器10とは、接続用ケーブルや接続用コネクタ等を介して接続されている。また、サーバ40とコントローラ30とは、宅外ネットワーク90を介して通信可能に接続されている。この図1では、住宅H内に宅内機器10やコントローラ30等がそれぞれ1台ずつ配置されている場合を示しているが、説明を容易にするためであり、実際には、宅内機器10やコントローラ30等が複数台配置されていてもよい。
 宅内機器10は、住宅H内に配置される家電機器や住設機器であり、具体的には、エアコン,照明機器,炊飯器,IH調理器,除湿機,換気扇,給湯器等である。なお、給湯器等は、一部が住宅H外にも配置され得るが、宅内機器10に含めて説明する。この宅内機器10は、一例として、リモコン10aが付属しており、リモコン10aからの操作コマンドを受け付け可能となっている。この宅内機器10の構成の一例について、以下、図2のブロック図を参照して説明する。
 図2に示すように、宅内機器10は、制御部11と、記憶部12と、タイマ13と、入力部14と、出力部15と、インタフェース16と、を備える。
 制御部11は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、及び、RAM(Random Access Memory)等を備え(何れも図示せず)、宅内機器10全体を制御する。制御部11は、機能的には、タイマ管理モジュール11aと、状態管理モジュール11bと、主機能制御モジュール11cとを備える。これらの機能は、CPUが、RAMをワークメモリとして用い、例えば、ROMに記憶されている各種プログラム(後述する状態管理処理のプログラム等)を適宜実行することにより実現される。
 タイマ管理モジュール11aは、入力部14又はインタフェース16から供給される各種コマンドに応じて、タイマ13の動作を管理する。なお、インタフェース16からは、後述するように、宅外操作による操作コマンドや、通知コマンド(詳細は後述するが、通信正常を知らせるコマンド)等が供給される。一方、入力部14からは、後述するように、宅内操作による操作コマンドが供給される。
 例えば、宅外操作による操作コマンドがインタフェース16から供給されると、タイマ管理モジュール11aは、タイマ13を動作させカウントを開始させる。なお、詳細は後述するが、動作中のタイマ13は、初期値から基準値を超える(タイムオーバー)までカウントする。また、タイマ13がカウント中に、通知コマンドがインタフェース16から供給されると、タイマ管理モジュール11aは、カウントをリセットする。つまり、タイマ管理モジュール11aは、タイマ13のカウントを初期値に戻し、カウント動作を継続させる。更に、タイマ13がカウント中に、宅内操作による操作コマンドが入力部14等から供給されると、タイマ管理モジュール11aは、タイマ13によるカウントを停止させる。つまり、タイマ管理モジュール11aは、タイマ13の動作を終了させる。
 状態管理モジュール11bは、宅内機器10の動作状態を管理する。なお、宅内機器10は、例えば、図3に示すような宅内操作状態12a、宅外操作状態12b、及び、安全動作状態12cの何れかの動作状態となる。なお、図3では、停止状態(電源OFF等)を省略している。宅内操作状態12aは、リモコン10a等から宅内操作されている状態を示している。宅外操作状態12bは、通信端末50から宅外操作されている状態を示している。そして、安全動作状態12cは、宅内機器10(機器の種類等)に応じて定められている安全動作(安全上に適した動作)を行っている状態を示している。具体的には、宅内機器10がエアコンであれば、安全動作として、送風や停止が定められている。また、宅内機器10が給湯器であれば、安全動作として、停止が定められている。また、宅内機器10が換気扇であれば、安全動作として、低消費運転が定められている。この他にも、宅内機器10が炊飯器であれば、安全動作として、保温や停止が定められている。なお、このような安全動作は一例であり、現実の宅内機器10に応じて適宜変更可能である。
 状態管理モジュール11bは、受信した操作コマンドやタイマ13のタイムオーバー等に応じて、宅内機器10の状態を、宅内操作状態12a、宅外操作状態12b、及び、安全動作状態12cの何れかに設定する(遷移させる)。例えば、状態管理モジュール11bは、宅外操作状態12bにおいて、宅内操作されると宅内操作状態12aに遷移させる。逆に、宅内操作状態12aにおいて、宅外操作されると状態管理モジュール11bは、宅外操作状態12bに遷移させる。更に、状態管理モジュール11bは、宅外操作状態12bにおいて、通信途絶を検出すると(タイマ13のタイムオーバーが生じた場合)、安全動作状態12cに遷移させる。
 図2に戻って、主機能制御モジュール11cは、入力部14又はインタフェース16から供給された操作コマンドに応じて、宅内機器10の主機能(例えば、エアコンであれば冷房、暖房、及び、除湿等の空調機能、冷蔵庫であれば冷凍、及び、冷蔵機能等)を制御する。また、主機能制御モジュール11cは、状態管理モジュール11bが安全動作状態12cになると(カウントを開始したタイマ13がタイムオーバーとなると)、安全動作状態となるように、宅内機器10の主機能を制御する。
 記憶部12は、例えば、不揮発性の半導体メモリ等で構成され、宅内機器10についての情報(一例として、上述した図3に示す動作状態等)を記憶する。また、記憶部12は、制御部11が実行するプログラム等も記憶する。
 タイマ13は、例えば、水晶振動子及びカウンタ等から構成され、宅外操作状態(上述した図3の宅外操作状態12b)における通信途絶を検出するために、無通信時間(通信アダプタ20とコントローラ30との無通信時間)をカウントする。つまり、タイマ13は、上述したタイマ管理モジュール11aの指示により動作し、初期値から基準値を超える(タイムオーバー)までカウントする。具体的に基準値が24時間に定められている場合、タイマ13が24時間を超えてカウントするとタイムオーバーとなる。なお、このような基準値は一例であり、現実の宅内機器10に応じて適宜変更可能である。
 タイマ13がこのようなタイムオーバーとなることで、宅外操作状態における通信途絶が検出される。そして、検出された通信途絶が、上述した主機能制御モジュール11c等に通知される。なお、タイマ13は、上述したタイマ管理モジュール11aからの指示に応じて、カウントをリセットし(後述するように、通信アダプタ20から通知コマンドが送られた場合)、また、カウントを停止する(後述するように、宅内操作による操作コマンドが送られた場合)。
 入力部14は、例えば、赤外線受信ユニット等から構成され、リモコン10aから送られる操作コマンド(宅内操作による操作コマンド)を受け付ける。なお、リモコン10aが付属しない宅内機器10の場合、入力部14は、例えば、複数の入力スイッチ等から構成され、ユーザの押下に応じた操作コマンドを受け付ける。何れにしても、入力部14は、宅内操作による操作コマンドを取得して、制御部11に供給する。
 出力部15は、例えば、液晶パネル等から構成され、宅内機器10の運転状況等を表示する。
 インタフェース16は、例えば、外部接続ユニット等から構成され、接続用ケーブルや接続用コネクタ等を介して、通信アダプタ20と接続する。インタフェース16は、接続した通信アダプタ20との間で種々の情報を送受信させる。例えば、インタフェース16は、通信アダプタ20から送られる操作コマンドや通知コマンドを受信して、制御部11に供給する。なお、通信アダプタ20から送られる操作コマンドは、通信端末50からの宅外操作による操作コマンドが含まれる。また、インタフェース16は、制御部11から供給される状態変化情報を通信アダプタ20に送信する。例えば、状態管理モジュール11bにて宅外操作状態から宅内操作状態に変化した場合(図3の宅外操作状態12bにおいて、リモコン10aから宅内操作がされた場合)に、インタフェース16は、宅外操作状態から宅内操作状態に変化したことを示す状態変化情報を、通信アダプタ20に送信する。
 図1に戻って、通信アダプタ20は、宅内機器10に通信機能を付加するためのアダプタである。つまり、宅内機器10に通信アダプタ20を取り付ける(接続する)ことで、宅内機器10は、宅内ネットワーク80を介した通信が可能となる。このような通信アダプタ20の構成の一例について、以下、図4のブロック図を参照して説明する。図示するように、通信アダプタ20は、制御部21と、記憶部22と、インタフェース23と、通信部24と、を備える。
 制御部21は、例えば、CPU、ROM、及び、RAM等を備え(何れも図示せず)、通信アダプタ20全体を制御する。制御部21は、機能的には、電文処理モジュール21aと、登録モジュール21bと、コマンド送信モジュール21cとを備える。これらの機能は、CPUが、RAMをワークメモリとして用い、例えば、ROMに記憶されている各種プログラム(後述する通信管理処理のプログラム等)を適宜実行することにより実現される。また、制御部21は、例えば、予め定められた周期(一例として、1分周期)で、インタフェース23を介して、宅内機器10にアクセスし、宅内機器10についての各種情報を収集する(記憶部22に記憶させる)。
 電文処理モジュール21aは、通信部24が受信した電文(一例として、通信フレーム等)を処理し、必要であれば応答電文を生成して通信部24に送信させる。例えば、電文処理モジュール21aは、操作要求(宅外操作や宅内操作)の電文を処理し、宅内機器10に対する操作コマンドを生成する。また、電文処理モジュール21aは、状態取得要求(宅内機器10の状態照会)の電文を処理し、記憶部22に記憶している宅内機器10についての情報から状態取得要求応答の電文を生成する。そして、電文処理モジュール21aは、生成した状態取得要求応答の電文を通信部24に返信させる。更に、電文処理モジュール21aは、宅外操作状態において、処理した状態取得要求の電文が、遠隔操作を仲介したコントローラ30から送られたものである場合(より詳細には、後述する管理機器情報のアドレスと一致した場合)に、通信正常を宅内機器10に通知するための通知コマンドを生成する。
 登録モジュール21bは、電文処理モジュール21aが処理した操作要求が、通信端末50からの宅外操作であった場合に、遠隔操作を仲介したコントローラ30を管理機器として保持するための管理機器情報を生成して、記憶部22に登録する。具体的に登録モジュール21bは、図5に示すような管理機器情報221を生成する。この管理機器情報221には、一例として、アドレス情報や状態区分が含まれている。アドレス情報は、実際に遠隔操作を仲介したコントローラ30のアドレス情報であり、仮に、複数のコントローラ30が宅内ネットワーク80上に存在していたとしても、管理機器とすべき1つのコントローラ30が識別可能である。なお、アドレス情報に加えて、MACアドレス等の固有情報を管理機器情報221に含めてもよい。また、状態区分は、宅内機器10の動作状態(例えば、宅外操作状態)を示している。なお、宅内機器10から、インタフェース23を介して、例えば、宅外操作状態から宅内操作状態に変化したことを示す状態変化情報が送られると、登録モジュール21bは、この状態区分を更新してもよく、また、管理機器情報221自体を記憶部22から消去してもよい。
 図4に戻って、コマンド送信モジュール21cは、電文処理モジュール21aが生成した操作コマンドや通知コマンドをインタフェース23を介して宅内機器10に送信する。
 記憶部22は、例えば、不揮発性の半導体メモリ等で構成され、種々の情報を記憶する。一例として、記憶部22は、上述した図5に示す管理機器情報221や宅内機器10についての各種情報を記憶する。また、記憶部22は、制御部21が実行するプログラム等も記憶する。
 インタフェース23は、例えば、外部接続ユニット等から構成され、接続用ケーブルや接続用コネクタ等を介して、宅内機器10と接続する。インタフェース23は、接続した宅内機器10との間で種々の情報を送受信させる。
 通信部24は、例えば、有線LAN(Local Area Network)や無線LANの通信ユニット等からなり、制御部21に制御され、宅内ネットワーク80を介した通信を行う。一例として、通信部24は、操作要求(宅外操作や宅内操作)の電文や状態取得要求の電文を受信し、また、状態取得要求応答の電文を送信する。
 図1に戻って、コントローラ30は、例えば、宅内機器10を制御するHEMS(Home Energy Management System)コントローラである。コントローラ30は、通信端末50からの遠隔操作(宅外操作)を仲介するゲートウェイとして機能する。このようなコントローラ30の構成の一例について、以下、図6のブロック図を参照して説明する。図示するように、コントローラ30は、制御部31と、記憶部32と、入力部33と、出力部34と、宅内通信部35と、宅外通信部36と、を備える。
 制御部31は、例えば、CPU、ROM、及び、RAM等を備え(何れも図示せず)、コントローラ30全体を制御する。一例として、制御部31は、宅外通信部36が通信端末50から送られる操作要求の電文を受信すると、宅外操作を示す区分を電文に追加する等の加工を行い、加工した電文を宅内通信部35から通信アダプタ20に送信させる。また、制御部31は、定期的な動作(一例として、10分毎に行われる動作)として、状態取得要求の電文を生成して、宅内通信部35から通信アダプタ20に送信させる。
 記憶部32は、例えば、不揮発性の半導体メモリ等で構成され、種々の情報を記憶する。一例として、記憶部32は、通信アダプタ20やサーバ40にアクセスするために必要なアドレス情報等を記憶する。また、記憶部32は、制御部31が実行するプログラム等も記憶する。
 入力部33は、複数の入力スイッチ等から構成され、ユーザの押下に応じた操作を受け付ける。
 出力部34は、例えば、液晶パネル等から構成され、コントローラ30の動作状況等を表示する。
 宅内通信部35は、例えば、有線LANや無線LANの通信ユニット等からなり、制御部31に制御され、宅内ネットワーク80を介した通信を行う。
 宅外通信部36は、例えば、ADSL(Asymmetric Digital Subscriber Line)モデムや光ケーブル回線を用いてインターネットに接続するためのケーブルモデム等からなり、制御部31に制御され、宅外ネットワーク80を介した通信を行う。
 図1に戻って、サーバ40は、宅外ネットワーク90を介して、通信端末50やコントローラ30と通信可能なサーバコンピュータである。サーバ40は、例えば、契約しているユーザを識別するための種々の情報(一例として、登録ユーザ名、登録パスワード、通信端末50の識別情報、及び、コントローラ30の識別情報等)を記憶する。そして、サーバ40は、通信端末50との間で予め定められた認証処理を行った後に、設定される接続情報等に基づいて、コントローラ30との通信接続を確立する。その状態で、サーバ40は、通信端末50から送られた電文(宅外操作による操作要求等の電文)をコントローラ30を通じて宅内機器10(通信アダプタ20)に送信する。
 通信端末50は、例えば、スマートフォン等の携帯型通信端末であり、外出先(宅外)等でユーザによって使用される。通信端末50は、宅外ネットワーク90に接続可能な通信インタフェース等を備えており、サーバ40等を通じて宅内機器10(通信アダプタ20)に電文(宅外操作による操作要求等)を送信する。例えば、通信端末50は、宅外ネットワーク90上のサーバ40にアクセスし、予め定められた認証処理を行った後に、サーバ40とコントローラ30との通信接続を確立させる。この状態で、通信端末50は、サーバ40及びコントローラ30を通じて、宅内機器10(通信アダプタ20)に電文を送信する。つまり、通信端末50は、このように宅外から宅内機器10の遠隔操作(宅外操作)を可能とする。
 以下、このような構成のホームシステム1における動作について、図7及び図8を参照して説明する。図7は、宅内機器10(制御部11)が実行する状態管理処理の一例を示すフローチャートである。また、図8は、通信アダプタ20(制御部21)が実行する通信管理処理の一例を示すフローチャートである。最初に、図7の状態管理処理について説明する。
 まず、宅内機器10の制御部11は、コマンドを受信したか否かを判別する(ステップS101)。すなわち、制御部11は、入力部14又はインタフェース16からコマンドを受信したかどうかを判別する。制御部11は、コマンドを受信していないと判別すると(ステップS101;No)、後述するステップS112に処理を進める。
 一方、コマンドを受信したと判別した場合(ステップS101;Yes)に、制御部11は、操作コマンドであるか否かを判別する(ステップS102)。制御部11は、操作コマンドであると判別すると(ステップS102;Yes)、宅外操作であるか否を判別する(ステップS103)。
 制御部11は、宅外操作であると判別すると(ステップS103;Yes)、記憶部12を参照し、現在、宅内操作状態であるか否を判別する(ステップS104)。制御部11は、宅内操作状態であると判別すると(ステップS104;Yes)、宅外操作状態に変更し、タイマ13によるカウントを開始させる(ステップS105)。すなわち、タイマ管理モジュール11aは、宅外操作状態における通信途絶を検出するために、タイマ13を動作させ、無通信時間のカウントを開始させる。
 一方、現在、宅内操作状態でない(宅外操作状態である)と判別した場合(ステップS104;No)に、制御部11は、タイマ13のカウントをリセットする(ステップS106)。すなわち、タイマ管理モジュール11aは、既にタイマ13が動作中であるため、タイマ13のカウントを初期値に戻し、カウント動作を継続させる。
 上述したステップS103にて、宅外操作でない(宅内操作である)と判別した場合に(ステップS103;No)、制御部11は、現在、宅外操作状態であるか否を判別する(ステップS107)。制御部11は、宅外操作状態でない(宅内操作状態である)と判別すると(ステップS107;No)、後述するステップS109に処理を進める。
 一方、現在、宅外操作状態であると判別した場合(ステップS107;Yes)に、制御部11は、動作状態を宅内操作状態に変更し、カウントを停止させる(ステップS108)。すなわち、タイマ管理モジュール11aは、タイマ13の動作を終了させる。
 制御部11は、操作コマンドに応じて、主機能を制御する(ステップS109)。すなわち、主機能制御モジュール11cは、入力部14又はインタフェース16から供給された操作コマンドに応じて、宅内機器10の主機能(例えば、エアコンであれば冷房、暖房、及び、除湿等の空調機能、冷蔵庫であれば冷凍、及び、冷蔵機能等)を制御する。
 上述したステップS102にて、操作コマンドでないと判別した場合(ステップS102;No)に、制御部11は、通信正常通知(通信正常を通知する通知コマンド)であるか否かを判別する(ステップS110)。制御部11は、通信正常通知でないと判別すると(ステップS110;No)、後述するステップS112に処理を進める。
 一方、通信正常通知であると判別した場合(ステップS110;Yes)に、制御部11は、タイマ13のカウントをリセットする(ステップS111)。すなわち、タイマ管理モジュール11aは、タイマ13のカウントを初期値に戻し、カウント動作を継続させる。
 制御部11は、現在、宅外操作状態であるか否を判別する(ステップS112)。制御部11は、宅外操作状態でない(宅内操作状態である)と判別すると(ステップS112;No)、上述したステップS101に処理を戻す。
 一方、現在、宅外操作状態であると判別した場合(ステップS112;Yes)に、制御部11は、タイマ13がタイムオーバーとなっているか否かを判別する(ステップS113)。制御部11は、タイマ13がタイムオーバーとなっていないと判別すると(ステップS113;No)、上述したステップS101に処理を戻す。
 一方、タイマ13がタイムオーバーとなっていると判別した場合(ステップS113;Yes)に、制御部11は、安全動作状態に遷移させる(ステップS114)。すなわち、宅外操作状態における通信途絶を検出したため、主機能制御モジュール11cは、宅内機器10の主機能を安全動作状態に遷移させる。
 続いて、通信アダプタ20(制御部21)が実行する図8の通信管理処理について説明する。
 まず、通信アダプタ20の制御部21は、電文を受信したか否かを判別する(ステップS201)。なお、制御部21は、電文を受信していないと判別すると(ステップS201;No)、受信するまで判別を繰り返す。
 一方、電文を受信したと判別した場合(ステップS201;Yes)に、制御部21は、受信した電文が操作要求であるか否かを判別する(ステップS202)。制御部21は、操作要求であると判別すると(ステップS202;Yes)、宅外操作であるか否かを判別する(ステップS203)。制御部21は、宅外操作でない(宅内操作である)と判別すると(ステップS203;No)、後述するステップS205に処理を進める。なお、管理機器情報(図5に示すような管理機器情報221)を記憶部22に登録している場合には、記憶部22から消去する(なお、消去せずに、図5に示すような管理機器情報221の状態区分を、宅外操作状態から宅内操作状態に変更してもよい)。
 一方、宅外操作であると判別した場合(ステップS203;Yes)に、制御部21は、管理機器情報を記憶部22に登録する(ステップS204)。すなわち、登録モジュール21bは、遠隔操作を仲介したコントローラ30を管理機器として保持するための管理機器情報を生成して、記憶部22に登録する。なお、管理機器情報が記憶部22に登録済みであれば、制御部21は、管理機器情報を上書きして登録する。
 制御部21は、操作コマンドを生成する(ステップS205)。すなわち、電文処理モジュール21aは、操作要求(宅外操作や宅内操作)の電文に応じた操作コマンドを生成する。
 上述したステップS202にて、操作要求でないと判別した場合(ステップS202;No)に、制御部21は、受信した電文が状態取得要求であるか否かを判別する(ステップS206)。制御部21は、状態取得要求でないと判別すると(ステップS206;No)、上述したステップS201に処理を戻す。
 一方、状態取得要求であると判別した場合(ステップS206;Yes)に、制御部21は、応答電文を生成して返信する(ステップS207)。すなわち、電文処理モジュール21aは、状態取得要求の電文を処理し、記憶部22に記憶している宅内機器10についての情報から状態取得要求応答の電文を生成する。そして、電文処理モジュール21aは、生成した状態取得要求応答の電文を通信部24に返信させる。
 制御部21は、記憶部22を参照して、宅内機器10が宅外操作状態であるか否かを判別する(ステップS208)。制御部21は、宅外操作状態でないと判別すると(ステップS208;No)、上述したステップS201に処理を戻す。
 一方、宅内機器10が宅外操作状態であると判別した場合に(ステップS208;Yes)、制御部21は、電文の送信元が管理機器情報のアドレスと一致するか否かを判別する(ステップS209)。すなわち、制御部21は、処理した状態取得要求の電文の送信元のアドレスが、記憶部22に登録した管理機器情報(図5に示す管理機器情報221)のアドレス情報と、一致するかどうかを判別する。制御部21は、管理機器情報のアドレスと一致しないと判別すると(ステップS209;No)、上述したステップS201に処理を戻す。
 一方、管理機器情報のアドレスと一致すると判別した場合に(ステップS209;Yes)、制御部21は、通信正常を示す通知コマンドを生成する(ステップS210)。
 制御部21は、生成したコマンドを宅内機器10へ送信する(ステップS211)。すなわち、コマンド送信モジュール21cは、ステップS205又はステップS210にて生成された操作コマンドをインタフェース23を介して宅内機器10に送信する。
 そして、制御部21は、上述したステップS201に処理を戻す。
 以下、このような処理を含めたホームシステム1における全体動作について、図9~図11のフロー図を参照して説明する。最初に、通信途絶の検出から安全動作状態に遷移するまでの様子を図9のフロー図を参照して説明する。
 まず、通信端末50は、操作要求の電文をサーバ40に送信する(ステップS301)。続いて、サーバ40は、操作要求の電文をコントローラ30に送信する(ステップS302)。
 コントローラ30は、操作要求の電文を加工した宅外操作要求の電文を通信アダプタ20に送信する(ステップS303)。すなわち、コントローラ30の制御部31は、宅外通信部36にて操作要求の電文を受信すると、宅外操作を示す区分を電文に追加する等の加工を行い、加工した電文(宅外操作要求の電文)を宅内通信部35から通信アダプタ20に送信させる。
 通信アダプタ20は、管理機器情報を保持する(ステップS304)。すなわち、通信アダプタ20の制御部21は、遠隔操作を仲介したコントローラ30を管理機器として保持するための管理機器情報(図5に示すような管理機器情報221)を生成して、記憶部22に登録する。
 通信アダプタ20は、宅外操作要求(操作コマンド)を宅内機器10に送信する(ステップS305)。すなわち、通信アダプタ20の制御部21は、宅外操作要求に応じた操作コマンドを生成し、インタフェース23を介して宅内機器10に送信する。
 宅内機器10は、カウントを開始する(ステップS306)。すなわち、宅内機器10の制御部11は、宅外操作状態における通信途絶を検出するために、タイマ13を動作させ、無通信時間のカウントを開始させる。
 コントローラ30は、状態取得要求の電文を通信アダプタ20に送信する(ステップS311)。すなわち、コントローラ30の制御部31は、定期的な動作として、状態取得要求の電文を生成して、宅内通信部35から通信アダプタ20に送信させる。
 通信アダプタ20は、状態取得応答の電文をコントローラ30に送信する(ステップS312)。すなわち、通信アダプタ20の制御部21は、記憶部22に記憶している宅内機器10についての情報から状態取得要求応答の電文を生成し、通信部24に返信させる。
 更に、通信アダプタ20は、通信正常通知(通知コマンド)を宅内機器10に送信する(ステップS313)。すなわち、通信アダプタ20の制御部21は、処理した状態取得要求の電文の送信元のアドレスが、記憶部22に登録した管理機器情報(図5に示す管理機器情報221)のアドレス情報と一致することを確認した上で、通信正常を示す通知コマンドを生成し、インタフェース23を介して宅内機器10に送信する。
 宅内機器10は、カウントをリセットする(ステップS314)。すなわち、宅内機器10の制御部11は、タイマ13のカウントを初期値に戻し、カウント動作を継続させる。
 これらステップS311~S314の処理は、コントローラ30と通信アダプタ20との通信が可能であれば、定期的(一例として、10分毎)に行われる。そのため、ステップS314にて宅内機器10のタイマ13によるカウントが定期的にリセットされるため、タイマ13がタイムオーバーとなることがない。
 一方、何らかの原因で、コントローラ30と通信アダプタ20との通信が行われないと、やがて、宅内機器10のタイマ13がタイムオーバーとなる(ステップS321)。すると、宅内機器10は、安全動作状態に遷移する(ステップS322)。すなわち、宅外操作状態における通信途絶を検出したため、宅内機器10の制御部11は、宅内機器10の主機能を安全動作状態に遷移させる。
 続いて、複数のコントローラ30が宅内ネットワーク80上に存在している場合の様子を、図10のフロー図を参照して説明する。なお、図10における他の機器Nは、通信端末50からの宅外操作を仲介しなかったコントローラ30を示している。また、図10におけるコントローラ30は、通信端末50からの宅外操作を仲介したコントローラ30を示している。
 図10においても、図9と同様に、ステップS301にて、通信端末50からの操作要求(操作要求電文の送信)から始まり、ステップS306にて、宅内機器10のタイマ13によるカウントが開始する。
 また、図9と同様に、ステップS311~S314の処理は、コントローラ30と通信アダプタ20との通信が可能であれば、定期的に行われる。なお、ステップS313にて、通信アダプタ20の制御部21は、処理した状態取得要求の電文の送信元のアドレスが、記憶部22に登録した管理機器情報のアドレス情報と一致することを確認した上で、通信正常通知(通知コマンド)を宅内機器10に送信している。
 そのため、他の機器N(つまり、通信端末50からの宅外操作を仲介しなかったコントローラ30)が、状態取得要求の電文を通信アダプタ20に送信しても(ステップS331)、通信アダプタ20は、状態取得応答の電文を他の機器Nに返信する(ステップS332)ものの、通信正常通知(通知コマンド)を宅内機器10に送信することがない。
 これにより、他の機器Nと通信アダプタ20との通信が行われてたとしても、コントローラ30(つまり、通信端末50からの宅外操作を仲介したコントローラ30)と通信アダプタ20との通信が行われないと、図9と同様に、ステップS321にて、宅内機器10のタイマ13がタイムオーバーとなり、ステップS322にて、宅内機器10は、安全動作状態に遷移する。
 更に続いて、宅内操作が行われた場合の様子を、図11のフロー図を参照して説明する。
 図11においても、図9と同様に、ステップS301にて、通信端末50からの操作要求(操作要求電文の送信)から始まり、ステップS306にて、宅内機器10のタイマ13によるカウントが開始する。
 また、図9と同様に、ステップS311~S314の処理は、コントローラ30と通信アダプタ20との通信が可能であれば、定期的に行われる。そのため、タイマ13がタイムオーバーとなることがない。
 その状態で、リモコン10aから宅内操作要求(操作コマンド)が宅内機器10に送られると(ステップS341)、宅内機器10は、タイマ13によるカウントを停止する(ステップS342)。すなわち、宅外操作状態において宅内操作が行われたため、宅内機器10の制御部11は、タイマ13の動作を終了させる。
 なお、図11では、リモコン10aから宅内操作が行われた場合を示しているが、宅内ネットワーク80上の何れかの機器から通信アダプタ20を通じて宅内操作による操作コマンドが送られた場合も、宅内機器10は、ステップS342と同様に、タイマ13によるカウントを停止する。
 このように、宅内機器10側では、宅外操作を仲介したコントローラ30との通信状況に応じて、通信の途絶を判別している。つまり、宅外操作を行った通信端末50との通信状況に依らず、宅内機器10を安全に制御できるコントローラ30(宅外操作を仲介したコントローラ30)との通信の途絶を判別し、安全動作状態に遷移している。この結果、制御不能な状態を適切に判別し、宅内機器10を安全動作状態に遷移させることができる。
(他の実施形態)
 上記の実施形態では、宅内機器10が通信アダプタ20を通じて、通信を行う場合について説明したが、このような通信アダプタ20に依らず、宅内機器10が通信機能を有していてもよい。以下、通信機能を有する宅内機器60について、図12を参照して説明する。
 図12に示すように、宅内機器60は、制御部61と、記憶部62と、タイマ13と、入力部14と、出力部15と、通信部64と、を備える。なお、タイマ13~出力部15は、上述した図2の宅内機器10と同様の構成である。
 制御部61は、例えば、CPU、ROM、及び、RAM等を備え(何れも図示せず)、宅内機器60全体を制御する。制御部61は、機能的には、タイマ管理モジュール11aと、状態管理モジュール11bと、主機能制御モジュール11cと、電文処理モジュール21aと、登録モジュール21bとを備える。これらの機能は、CPUが、RAMをワークメモリとして用い、例えば、ROMに記憶されている各種プログラムを適宜実行することにより実現される。
 タイマ管理モジュール11a~主機能制御モジュール11cは、上述した図2の宅内機器10と同様の構成である。なお、タイマ管理モジュール11aは、電文処理モジュール21aが処理する電文(操作要求や状態取得要求)に応じて、タイマ13の動作を管理する。また、状態管理モジュール11bは、電文処理モジュール21aが処理する電文(操作要求)やタイマ13のタイムオーバー等に応じて、宅内機器10の動作状態を管理する。更に、主機能制御モジュール11cは、電文処理モジュール21aが処理する電文(操作要求)に応じて、宅内機器10の主機能を制御する。
 一方、電文処理モジュール21a、及び、登録モジュール21bは、上述した図4の通信アダプタ20と同様の構成である。なお、電文処理モジュール21aは、通信部64が受信した電文(操作要求や状態取得要求の電文)を処理する。電文処理モジュール21aは、操作要求の電文を処理した場合に、その操作要求に応じて主機能制御モジュール11cを制御する。
 記憶部62は、上述した宅内機器10の記憶部12が記憶するものに加え、上述した図5に示す管理機器情報221等を記憶する。
 通信部64は、例えば、有線LANや無線LANの通信ユニット等からなり、制御部61に制御され、宅内ネットワーク80を介した通信を行う。一例として、通信部64は、操作要求(宅外操作や宅内操作)の電文や状態取得要求の電文を受信し、また、状態取得要求応答の電文を送信する。
 このような構成の宅内機器60は、宅外操作を仲介したコントローラ30との通信状況に応じて、通信の途絶を判別する。つまり、宅外操作を行った通信端末50との通信状況に依らず、宅内機器10を安全に制御できるコントローラ30(宅外操作を仲介したコントローラ30)との通信の途絶を判別し、安全動作状態に遷移する。この結果、制御不能な状態を適切に判別し、宅内機器10を安全動作状態に遷移させることができる。
 上記の実施形態では、通信端末50がサーバ40を通じて、コントローラ30との通信接続を確立する場合について説明したが、このようなサーバ40を用いずに、通信端末50が直接、コントローラ30との通信接続を確立できるようにしてもよい。
 上記の実施形態では、通信端末50からの操作要求(宅外操作)が送られたことを要件として、管理機器情報を登録し、通信の途絶を判別する場合について説明したが、このような宅外操作に限られず、宅内ネットワーク80を経由した全ての操作要求を要件として、管理機器情報を登録し、通信の途絶を判別するようにしてもよい。以下、宅内機器10が通信アダプタ20を通じて、通信を行う場合について説明するが、上述した通信機能を有する宅内機器60においても、同様に適用可能である。
 まず、通信アダプタ20が操作要求の電文を受信した場合について説明する。この場合、制御部21は、上述した図8の通信管理処理を一部分だけ変えて実行する。制御部21は、ステップS202にて、操作要求であることを判別すると(ステップS202;Yes)、ステップS203の判定をスキップし、ステップS204にて、管理機器情報(図5に示す管理機器情報221)を生成して、記憶部22に登録する。すなわち、登録モジュール21bは、遠隔操作を要求又は仲介したコントローラ30を、管理機器として保持するための管理機器情報を生成して、記憶部22に登録する。
 また、制御部21は、ステップS205にて、操作コマンドを生成する。この際、電文処理モジュール21aは、宅内操作による操作要求であった場合でも、無条件に宅外操作による操作コマンドを生成する。そして、制御部21は、ステップS211にて、生成したコマンド(操作コマンド)を宅内機器10へ送信する。
 一方、宅内機器10(制御部11)は、上述した図7の状態管理処理をそのまま実行できる。なお、通信アダプタ20から送られる操作コマンドは、全て宅外操作による操作コマンドとなり、宅内操作による操作コマンドは、リモコン10aから送られる操作コマンドだけになる。そのため、通信アダプタ20から操作コマンドが送られると、制御部11は、図7のステップS105にて、動作状態を宅外操作状態に変更し、タイマ13によるカウントを開始させる。すなわち、タイマ管理モジュール11aは、遠隔操作状態における通信途絶を検出するために、タイマ13を動作させ、無通信時間のカウントを開始させる。
 続いて、通信アダプタ20が状態取得要求の電文を受信した場合について説明する。この場合、制御部21は、図8のステップS206にて状態取得要求であることを判別すると(ステップS206;Yes)、ステップS207にて、応答電文を作成して返信し、ステップS209にて、電文の送信元が管理機器情報のアドレスと一致するか否かを判別する。すなわち、制御部21は、状態取得要求の電文の送信元のアドレスが、記憶部22に登録した管理機器情報(つまり、遠隔操作を要求又は仲介したコントローラ30)のアドレス情報と、一致するかどうかを判別する。そして、一致したと判別した場合(ステップS209;Yes)に、制御部21は、ステップS210にて、通知コマンドを生成し、ステップS211にて、生成した通知コマンドを宅内機器10へ送信する。
 一方、宅内機器10(制御部11)は、通信アダプタ20から送られた通知コマンドを受信すると、図7のステップS110にて、通信正常通知(通知コマンド)であることを判別し(ステップS110;Yes)、ステップS111にて、タイマ13をリセットする。なお、上記と同様に、通信アダプタ20から通知コマンドが送られない場合、やがてタイマ13は、タイムオーバーとなる。この場合、制御部11は、ステップS113にて、タイムオーバーを判別すると(ステップS113;Yes)、ステップS114にて、安全動作状態に遷移させる。すなわち、遠隔操作状態における通信途絶を検出したため、主機能制御モジュール11cは、宅内機器10の主機能を安全動作状態に遷移させる。
 このように、宅内ネットワーク80を経由して操作要求が送られると、宅外操作に限られす、例えば、離れた部屋に配置された宅内機器10などへの宅内操作も含めて、遠隔操作状態とし、遠隔操作を要求又は仲介した管理機器(コントローラ30)との通信の途絶を判別することになる。そして、そのような管理機器との通信を途絶すると、宅内機器10は、安全動作状態に遷移する。この結果、制御不能な状態を適切に判別し、宅内機器10を安全動作状態に遷移させることができる。
 上記の実施形態では、専用の宅内機器10,60を用いる場合について説明したが、これら宅内機器10,60の動作を規定する動作プログラムを既存のパーソナルコンピュータや情報端末機器等に適用することで、当該パーソナルコンピュータ等を本発明に係る宅内機器10,60として機能させることも可能である。
 また、このようなプログラムの配布方法は任意であり、例えば、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネット等の通信ネットワークを介して配布してもよい。
 本発明は、広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。
 本発明は、制御不能な状態を適切に判別し、宅内機器を安全動作状態に遷移させることのできる宅内機器、通信アダプタ、制御方法、及び、プログラムに好適に採用され得る。
1 ホームシステム、10,60 宅内機器、10a リモコン、20 通信アダプタ、30 コントローラ、40 サーバ、50 通信端末、80 宅内ネットワーク、90 宅外ネットワーク

Claims (8)

  1.  ネットワークを介して遠隔操作される宅内機器であって、
     前記遠隔操作が行われている遠隔操作状態において、前記遠隔操作を要求又は仲介した管理機器との通信が途絶すると、予め定められた安全動作状態に遷移させる状態管理部、
     を備える宅内機器。
  2.  宅内ネットワークを介した通信を行う通信部と、
     前記通信部にて通信が行われていない無通信時間を計時する計時部と、
     前記通信部にて行われた通信が、前記管理機器との通信である場合に、前記計時部が計時する前記無通信時間を初期値にリセットする計時管理部と、を更に備え、
     前記状態管理部は、前記計時部が計時する前記無通信時間が予め定められた基準値を超えた場合に、前記安全動作状態に遷移させる、
     請求項1に記載の宅内機器。
  3.  前記宅内ネットワークには、前記管理機器となり得る複数のコントローラが含まれており、
     記憶部と、
     前記遠隔操作が行われた際に、前記遠隔操作を要求又は仲介した前記コントローラを識別するための識別情報を前記記憶部に登録する登録部と、を更に備え、
     前記計時管理部は、前記通信部にて行われた通信が、前記記憶部に登録した前記識別情報と一致する前記コントローラとの通信である場合に、前記無通信時間を初期値にリセットする、
     請求項2に記載の宅内機器。
  4.  宅内からの宅内操作を受け付ける入力部を更に備え、
     前記計時管理部は、前記入力部が前記宅内操作を受け付けた場合に、前記計時部を停止させ、
     前記状態管理部は、前記遠隔操作状態から宅内操作状態に変化させる、
     請求項2に記載の宅内機器。
  5.  前記宅内ネットワークには、他の機器が含まれており、
     前記通信部は、前記他の機器から送られる宅内操作を受信可能であり、
     前記計時管理部は、前記通信部が前記宅内操作を受信した場合に、前記計時部を停止させ、
     前記状態管理部は、前記遠隔操作状態から宅内操作状態に変化させる、
     請求項2に記載の宅内機器。
  6.  ネットワークを介した遠隔操作を宅内機器に中継する通信アダプタであって、
     前記宅内機器は、前記遠隔操作が行われている遠隔操作状態において、通信が行われていない無通信時間を計時し、当該無通信時間が予め定められた基準値を超えた場合に、予め定められた安全動作状態に遷移するものであり、
     宅内ネットワークを介した通信を行う通信部と、
     前記通信部にて行われた通信が、前記遠隔操作を要求又は仲介した管理機器との通信である場合に、前記無通信時間を初期値にリセットさせるコマンドを前記宅内機器に送信するコマンド送信部と、
     を備える通信アダプタ。
  7.  ネットワークを介して遠隔操作される宅内機器における制御方法であって、
     前記遠隔操作が行われている遠隔操作状態において、前記遠隔操作を要求又は仲介した管理機器との通信が途絶すると、予め定められた安全動作状態に遷移させる状態管理工程、
     を備える制御方法。
  8.  ネットワークを介して遠隔操作されるコンピュータを、
     前記遠隔操作が行われている遠隔操作状態において、前記遠隔操作を要求又は仲介した管理機器との通信が途絶すると、予め定められた安全動作状態に遷移させる状態管理部、
     として機能させるプログラム。
PCT/JP2015/063582 2015-05-12 2015-05-12 宅内機器、通信アダプタ、制御方法、及び、プログラム WO2016181486A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201580078483.XA CN107431734B (zh) 2015-05-12 2015-05-12 屋内设备、通信适配器、控制方法以及记录介质
DE112015006528.8T DE112015006528T5 (de) 2015-05-12 2015-05-12 Haushaltsgerät, Kommunikationsadapter, Steuerungsverfahren und Programm
US15/560,731 US20180054322A1 (en) 2015-05-12 2015-05-12 Household apparatus, communication adapter, control method, and recording medium
PCT/JP2015/063582 WO2016181486A1 (ja) 2015-05-12 2015-05-12 宅内機器、通信アダプタ、制御方法、及び、プログラム
JP2017517508A JP6556228B2 (ja) 2015-05-12 2015-05-12 宅内機器、通信アダプタ、ホームシステム、制御方法、及び、プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/063582 WO2016181486A1 (ja) 2015-05-12 2015-05-12 宅内機器、通信アダプタ、制御方法、及び、プログラム

Publications (1)

Publication Number Publication Date
WO2016181486A1 true WO2016181486A1 (ja) 2016-11-17

Family

ID=57247852

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/063582 WO2016181486A1 (ja) 2015-05-12 2015-05-12 宅内機器、通信アダプタ、制御方法、及び、プログラム

Country Status (5)

Country Link
US (1) US20180054322A1 (ja)
JP (1) JP6556228B2 (ja)
CN (1) CN107431734B (ja)
DE (1) DE112015006528T5 (ja)
WO (1) WO2016181486A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092884A (zh) * 2017-11-23 2018-05-29 南京邮电大学 一种无线接入网关系统及应用方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4900891B2 (ja) * 2005-04-27 2012-03-21 キヤノン株式会社 通信装置及び通信方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010075015A (ja) * 2008-09-22 2010-04-02 Mitsubishi Electric Corp 家電機器デマンド制御システム
WO2014168151A1 (ja) * 2013-04-12 2014-10-16 京セラ株式会社 制御システム、制御装置、情報機器及び制御方法
JP2014212496A (ja) * 2013-04-22 2014-11-13 日立アプライアンス株式会社 冷凍サイクル機器の遠隔制御システム
JP2014216884A (ja) * 2013-04-26 2014-11-17 三菱電機株式会社 コントローラ、エネルギーマネジメントシステム、遠隔制御方法、及び、プログラム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5281970B2 (ja) * 2009-06-30 2013-09-04 信越ポリマー株式会社 空調システム
WO2013118511A1 (ja) * 2012-02-10 2013-08-15 パナソニック株式会社 設定方法、機器認証方法、機器認証システム、およびコントローラ
JP2014160314A (ja) * 2013-02-19 2014-09-04 Kddi Corp 監視制御システム、監視制御装置、監視制御方法およびプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010075015A (ja) * 2008-09-22 2010-04-02 Mitsubishi Electric Corp 家電機器デマンド制御システム
WO2014168151A1 (ja) * 2013-04-12 2014-10-16 京セラ株式会社 制御システム、制御装置、情報機器及び制御方法
JP2014212496A (ja) * 2013-04-22 2014-11-13 日立アプライアンス株式会社 冷凍サイクル機器の遠隔制御システム
JP2014216884A (ja) * 2013-04-26 2014-11-17 三菱電機株式会社 コントローラ、エネルギーマネジメントシステム、遠隔制御方法、及び、プログラム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092884A (zh) * 2017-11-23 2018-05-29 南京邮电大学 一种无线接入网关系统及应用方法

Also Published As

Publication number Publication date
JPWO2016181486A1 (ja) 2017-08-17
US20180054322A1 (en) 2018-02-22
DE112015006528T5 (de) 2018-02-15
CN107431734A (zh) 2017-12-01
CN107431734B (zh) 2020-09-04
JP6556228B2 (ja) 2019-08-07

Similar Documents

Publication Publication Date Title
JP6665244B2 (ja) ターゲット装置を制御するためのネットワークシステム、プロトコル及び方法
US10544946B2 (en) Intelligent HVAC control including automatic furnace shutdown event processing
EP3076093B1 (en) Air conditioning system and air conditioning management program
JP5710063B2 (ja) 宅内機器、ホームシステム、制御方法、および、プログラム
JP6129280B2 (ja) システムコントローラ、遠隔制御方法及びプログラム
WO2015071999A1 (ja) 端末装置、制御装置、設置位置確認支援システム、設置位置設定支援システム、設置位置確認支援方法、設置位置設定支援方法、及び、プログラム
US20140343698A1 (en) Device control apparatus, device control method, and device control system
JP6119792B2 (ja) 空気調和システムおよび空調管理プログラム
WO2015033596A1 (ja) 空調システム
JP2014194309A (ja) 空調システム
JP6556228B2 (ja) 宅内機器、通信アダプタ、ホームシステム、制御方法、及び、プログラム
TWI679384B (zh) 空氣清淨機以及網路系統
JP6599805B2 (ja) 空調制御システム
CN111108489A (zh) 服务器、信息处理方法、网络系统以及空气净化器
JPWO2014115242A1 (ja) 遠隔制御システム、機器制御装置、機器制御方法及びプログラム
JP2021076287A (ja) 空気調和機
US20240126877A1 (en) Malware detection method, malware detection device, and recording medium
KR20230018725A (ko) Ai 스위치를 제어하는 방법, 사용자 단말 및 컴퓨터 프로그램

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: 15891811

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017517508

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15560731

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112015006528

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891811

Country of ref document: EP

Kind code of ref document: A1