WO2019180761A1 - Relaying device, communication system, communication method, and program - Google Patents

Relaying device, communication system, communication method, and program Download PDF

Info

Publication number
WO2019180761A1
WO2019180761A1 PCT/JP2018/010699 JP2018010699W WO2019180761A1 WO 2019180761 A1 WO2019180761 A1 WO 2019180761A1 JP 2018010699 W JP2018010699 W JP 2018010699W WO 2019180761 A1 WO2019180761 A1 WO 2019180761A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
adapter
frame
communication method
connection means
Prior art date
Application number
PCT/JP2018/010699
Other languages
French (fr)
Japanese (ja)
Inventor
遠藤 弘明
正裕 石原
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2020508105A priority Critical patent/JPWO2019180761A1/en
Priority to PCT/JP2018/010699 priority patent/WO2019180761A1/en
Publication of WO2019180761A1 publication Critical patent/WO2019180761A1/en

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to a relay device, a communication system, a communication method, and a program.
  • HEMS Home Energy Management System
  • each home appliance is generally connected to the network via a communication adapter.
  • communication adapters for example, Patent Document 1.
  • ECHONET Lite which is a communication standard adopted by HEMS
  • a communication method (hereinafter referred to as a first communication method) between a communication adapter and home appliances is defined.
  • this first communication method it is currently premised that one communication adapter is connected to one home appliance.
  • the present invention has been made to solve the above-described problem, and enables relaying that enables connection between a plurality of devices including devices compatible with the first communication method and a communication adapter compatible with the second communication method.
  • An object is to provide a device or the like.
  • a relay device provides: Adapter connection means connected to a communication adapter that communicates with a second communication method that is a communication method newer than the first communication method; A plurality of device connection means connected to a plurality of devices; Communication method acquisition means for acquiring a communication method from each device connected to each of the plurality of device connection means;
  • the first communication frame is received from the first device via device connection means connected to the first device.
  • the first communication frame is converted into a second communication frame of the second communication method, transmitted to the communication adapter via the adapter connection means, and from the communication adapter to the first communication via the adapter connection means.
  • the third communication frame for the device is received, the third communication frame is converted into a fourth communication frame of the first communication method, and the first device is connected to the first device via the device connection means connected to the first device.
  • Communication means for transmitting is
  • the present invention it is possible to connect a plurality of devices including a device compatible with the first communication method and a communication adapter compatible with the second communication method.
  • the block diagram which shows the hardware constitutions of the control apparatus which concerns on this Embodiment The figure which shows an example of the format of the communication frame corresponding to a 1st communication system in this Embodiment.
  • the block diagram which shows the hardware constitutions of the relay apparatus which concerns on this Embodiment The block diagram which shows the hardware constitutions of the control circuit with which the relay apparatus which concerns on this Embodiment is provided
  • the flowchart which shows the procedure of the frame relay process (the 1) which the relay apparatus which concerns on this Embodiment performs The flowchart which shows the procedure of the frame relay process (the 2) which the relay apparatus which concerns on this Embodiment performs
  • FIG. 1 is a diagram showing an overall configuration of an energy management system including a communication system 1 according to an embodiment of the present invention.
  • This energy management system is a so-called HEMS (Home Energy Management ⁇ System) that manages electric power used in general households.
  • the energy management system includes a communication system 1 including a relay device 2 and a communication adapter 3, a control device 4, an operation terminal 5, and devices 6a to 6c.
  • the control device 4 is installed at an appropriate location in the house H, and controls the energy management system in an integrated manner. As shown in FIG. 2, the control device 4 includes a processor 40, a communication interface 41, a ROM (Read Only Memory) 42, a RAM (Random Access Memory) 43, and a secondary storage device 44. These components are connected to each other via a bus 45.
  • the processor 40 controls the control device 4 in an integrated manner.
  • the communication interface 41 includes a network card for wirelessly communicating with the communication adapter 3 via a wireless network (not shown) constructed in the house H.
  • This wireless network is, for example, a network conforming to ECHONET Lite.
  • the communication interface 41 includes a network card for wireless communication or wired communication with the operation terminal 5.
  • the ROM 42 stores a plurality of firmware and data used when executing these firmwares.
  • the RAM 43 is used as a work area for the processor 40.
  • the secondary storage device 44 includes an EEPROM (Electrically-Erasable Programmable-Read-Only Memory), a readable / writable nonvolatile semiconductor memory such as a flash memory, or an HDD (Hard Disk Drive).
  • the secondary storage device 44 stores one or a plurality of programs for managing the power consumed at home and data used when each program is executed.
  • the operation terminal 5 is a smart device such as a smartphone or a tablet terminal including an input device such as a push button, a touch panel, a touch pad, a display device such as an organic EL display or a liquid crystal display, and a communication interface.
  • the operation terminal 5 communicates with the control device 4 in accordance with a well-known communication standard such as Wi-Fi (registered trademark), Wi-SUN (registered trademark), or wired LAN.
  • the operation terminal 5 receives an operation from the user and transmits information indicating the received operation content to the control device 4. Further, the operation terminal 5 receives the information transmitted from the control device 4 and presented to the user, and displays the received information.
  • the operation terminal 5 plays a role as an interface (so-called user interface) with the user.
  • the devices 6a to 6c are home appliances installed in the house H (including the site).
  • the devices 6a to 6c include, for example, an air conditioner, an illuminator, a floor heating system, a floor cooling / heating system, a refrigerator, an IH (Induction Heating) cooker, a television, a water heater, and the like.
  • the devices 6a to 6c are connected to the above-described wireless network via the relay device 2 and the communication adapter 3.
  • the control device 4 can control the operation of the devices 6a to 6c and acquire desired information from the devices 6a to 6c.
  • the devices 6a and 6b communicate with the relay device 2 using the first communication method
  • the device 6c communicates with the relay device 2 using the second communication method that is a communication method newer than the first communication method. That is, the devices 6a and 6b are examples of the first device according to the present invention.
  • the communication adapter 3 communicates with the relay device 2 by the second communication method.
  • the first communication method is a communication method on the premise that one communication adapter is connected to one home appliance, and a communication frame of the format shown in FIG. 3 is used for communication between the home appliance and the communication adapter. It is done.
  • “STX” is an area in which the head code is stored. Specifically, “STX” stores a fixed value (for example, 0x02) indicating the first communication method.
  • “CN” is an area in which the type of command is stored. The command type includes, for example, information request, information request response, information setting, information setting response, and the like.
  • “DL” is an area in which the data length, that is, the size of data stored in “FD” is stored.
  • FD is an area in which data corresponding to the type of command is stored. For example, when the command type is information request, “FD” stores a property number indicating the requested information. When the command type is an information request response, “FD” stores data indicating the requested information.
  • FCC is an area in which a frame check code is stored. “FCC” stores, for example, the two's complement of the sum of “CN” to “FD”. The home appliance or communication adapter that has received the communication frame checks the frame check code to determine whether or not there is an error in the content of the communication frame.
  • the second communication method is a communication method in which a plurality of home appliances are connected to one communication adapter, and a communication frame in the format shown in FIG. 4 is used for communication between the home appliance and the communication adapter.
  • “STX” is an area in which the head code is stored. Specifically, “STX” stores a fixed value (for example, 0x03) indicating the second communication method. “DA” is an area in which data indicating the transmission destination of the communication frame is stored. “SA” is an area in which data indicating the transmission source of the communication frame is stored. For example, when the address of the communication adapter is “0x00”, the address of the home appliance is “0x01”, and a communication frame is transmitted from the communication adapter to the home appliance, the “DA” of the communication frame includes “0x01”. “Is stored, and” 0x00 "is stored in” SA ". “CN”, “DL”, “FD”, and “FCC” are the same as those in the first communication method.
  • the relay device 2 includes device connection units 20a to 20c, an adapter connection unit 21, and a control circuit 22.
  • the device connection portions 20a to 20c and the adapter connection portion 21 are all the same type connectors having five terminals.
  • the device connection units 20a to 20c are an example of a plurality of device connection means according to the present invention.
  • the adapter connection unit 21 is an example of adapter connection means according to the present invention.
  • the device connection unit 20a and the control circuit 22 are connected via a signal line 23a including a signal transmission line, a signal reception line, a ground line, and a pull-up voltage line (5V) of the signal line.
  • the device connection unit 20b and the control circuit 22 are connected via a signal line 23b
  • the device connection unit 20c and the control circuit 22 are connected via a signal line 23c
  • the adapter connection unit 21 and the control circuit 22 are connected to each other.
  • a signal line 23d are connected via a signal line 23d.
  • the device connection unit 20a, the control circuit 22, and the adapter connection unit 21 are connected via a power line 24 that transmits power from the device 6 connected to the device connection unit 20a. That is, the relay device 2 and the communication adapter 3 are supplied with power from the home appliance (any of the devices 6a to 6c) connected to the device connection unit 20a.
  • the power line 24 is an example of a power transmission unit according to the present invention.
  • the control circuit 22 includes a processor 220, a ROM 221, a RAM 222, and a secondary storage device 223. These components are connected to each other via a bus 224.
  • the processor 220 controls the relay device 2 in an integrated manner. Details of the functions of the relay apparatus 2 realized by the processor 220 will be described later.
  • the ROM 221 stores a plurality of firmware and data used when executing these firmware.
  • the RAM 222 is used as a work area for the processor 220.
  • the secondary storage device 223 is composed of a readable / writable nonvolatile semiconductor memory such as an EEPROM or a flash memory.
  • the secondary storage device 223 includes various programs including a program for relaying a communication frame exchanged between each of the devices 6a to 6c and the communication adapter 3 (hereinafter referred to as a relay program), Data used at runtime is stored.
  • the relay apparatus 2 functionally includes a communication method acquisition unit 200, a device object acquisition unit 201, and a frame relay unit 202 as shown in FIG. These functional units are realized by the processor 220 executing the relay program stored in the secondary storage device 223.
  • the communication method acquisition unit 200 is an example of a communication method acquisition unit according to the present invention.
  • the communication method acquisition unit 200 negotiates with the communication adapter 3 connected to the adapter connection unit 21 and the devices 6a to 6c connected to the device connection units 20a to 20c.
  • Communication information including a communication speed and a communication method is acquired from each of 6a to 6c.
  • the communication method acquisition unit 200 monitors the pull-up voltages of the signal lines 23a to 23c of the device connection units 20a to 20c, and narrows down only to the device connection unit 20 in which a predetermined voltage (5 V) is detected.
  • the above negotiation may be performed.
  • the communication method acquisition unit 200 allocates addresses to the devices 6a to 6c.
  • the address is determined according to the device connection unit 20 to which each device 6 is connected.
  • 0x01 is assigned to the device 6a connected to the device connection unit 20a
  • 0x02 is assigned to the device 6b connected to the device connection unit 20b, and is connected to the device connection unit 20c.
  • 0x03 is allocated to the device 6c.
  • the communication method acquisition unit 200 generates, for each device connection unit 20, information that associates the address of the device 6 to be connected with the communication information described above, and stores the information in the secondary storage device 223.
  • the device object acquisition unit 201 acquires device object data from each of the devices 6a to 6c when the negotiation by the communication method acquisition unit 200 is completed.
  • the device object data is data including unique information and operable control items for the device 6.
  • the device object acquisition unit 201 transmits data in which each acquired device object data is associated with the address of the device 6 to the communication adapter 3 via the adapter connection unit 21.
  • a series of processing by the communication method acquisition unit 200 and the device object acquisition unit 201 is referred to as start-up processing of the relay device 2.
  • the frame relay unit 202 is an example of communication means according to the present invention.
  • the frame relay unit 202 receives a communication frame from any one of the devices 6a to 6c via the corresponding device connection unit 20 after completion of the above startup processing, the frame relay unit 202 transmits the received communication frame via the adapter connection unit 21.
  • the frame relay unit 202 converts the received communication frame into a communication frame of the second communication method, and communicates the converted communication frame. Send to adapter 3.
  • the frame relay unit 202 changes “STX” of the received communication frame from 0x02 to 0x03, and joins “DA” and “SA”.
  • “DA” stores 0x03 which is the address of the communication adapter 3.
  • SA the address (0x01 or 0x02) of the transmission source device 6 is stored.
  • a communication frame (an example of the first communication frame according to the present invention) corresponding to the first communication method received from the device 6a or the device 6b (that is, the first device) becomes a communication frame (this book) of the second communication method.
  • the frame relay unit 202 transfers the received communication frame to the communication adapter 3 via the adapter connection unit 21 without processing the received communication frame.
  • the frame relay unit 202 When the frame relay unit 202 receives a communication frame from the communication adapter 3 via the adapter connection unit 21 after completion of the start-up process, the frame relay unit 202 transmits the communication frame to the device 6 indicated by “DA” of the communication frame. Is transmitted via the corresponding device connection unit 20. At this time, if the destination device 6 is compatible with the first communication method, the frame relay unit 202 converts the received communication frame into a communication frame of the first communication method, and converts the converted communication frame into the device. 6 to send. Specifically, the frame relay unit 202 removes “DA” and “SA” from the received communication frame, and further changes “STX” from 0x03 to 0x02. Thereby, a communication frame (an example of the third communication frame according to the present invention) corresponding to the second communication method received from the communication adapter 3 is converted into a communication frame of the first communication method (an example of the fourth communication frame according to the present invention). ).
  • the frame relay unit 202 transfers the received communication frame to the device 6 via the corresponding device connection unit 20 without processing the received communication frame.
  • FIG. 8 and 9 are flowcharts showing the procedure of the frame relay process executed by the relay device 2 (specifically, the frame relay unit 202) after the start-up process is completed.
  • FIG. 8 shows frame relay processing when a communication frame is received from the communication adapter 3
  • FIG. 9 shows frame relay processing when a communication frame is received from any of the devices 6a to 6c.
  • the frame relay unit 202 refers to “DA” in the received communication frame, identifies the corresponding device connection unit 20, and identifies the communication method corresponding to the identified device connection unit 20. In other words, the frame relay unit 202 specifies a communication method corresponding to the transmission destination device 6 (step S101). If the destination device 6 is compatible with the first communication method (step S102; YES), the frame relay unit 202 converts the received communication frame into a communication frame of the first communication method as described above (step S103). ). Then, the frame relay unit 202 transmits the communication frame converted through the identified device connection unit 20 to the transmission destination device 6 (step S104).
  • the frame relay unit 202 performs the transmission via the specified device connection unit 20 without processing the received communication frame. Transfer to the previous device 6 (step S105).
  • the frame relay unit 202 identifies a communication method corresponding to the device connection unit 20 that has received the communication frame. In other words, the frame relay unit 202 identifies a communication method corresponding to the transmission source device 6 of the received communication frame (step S201).
  • the frame relay unit 202 converts the received communication frame into a communication frame of the second communication method as described above (step S203). ). Then, the frame relay unit 202 transmits the converted communication frame to the communication adapter 3 via the adapter connection unit 21 (step S204).
  • step S202 when the transmission source device 6 is compatible with the second communication method (step S202; NO), the frame relay unit 202 transmits the received communication frame to the communication adapter 3 via the adapter connection unit 21. Transfer (step S205).
  • a plurality of home appliances (devices 6a and 6b) corresponding to the first communication method on the assumption that one communication adapter is connected to one home appliance.
  • a communication adapter 3 compatible with the second communication method in which a plurality of household electrical appliances can be connected to one communication adapter.
  • the relay device 2 can be connected to the three devices 6, but it may be configured to be connectable to a plurality of devices 6, and the number is not limited.
  • the method of converting the communication frame by the relay device 2 according to the above embodiment is also only It is an example.
  • the conversion from the first communication frame to the second communication frame and the conversion from the third communication frame to the fourth communication frame correspond to the formats of the first communication method and the second communication method.
  • Various techniques can be employed.
  • control device 4 may further include at least one of an input device for receiving an operation from the user and a display device for presenting information to the user.
  • the communication adapter 3 may be provided with a communication interface for connecting to the Internet via a broadband router (not shown) installed in the house H and communicate with a cloud server (not shown).
  • each functional unit (see FIG. 7) of the relay device 2 is realized by the processor 220 executing the relay program stored in the secondary storage device 223.
  • all or part of the functional units of the relay device 2 may be realized by dedicated hardware.
  • the dedicated hardware is, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application Specific Integrated ⁇ Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
  • the above relay program includes CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), magneto-optical disc (Magneto-Optical Disc), USB (Universal Serial Bus) memory, memory card, HDD, etc. It can be stored in a computer-readable recording medium and distributed.
  • CD-ROM Compact Disc Read Only Memory
  • DVD Digital Versatile Disc
  • magneto-optical disc Magnetic-Optical Disc
  • USB Universal Serial Bus
  • the relay program may be stored in a disk device or the like of a server on a network such as an intranet or the Internet, and the relay program may be downloaded to the relay device 2 from this server.
  • the present invention can be suitably employed in a system in which various devices and control devices are connected via a network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)

Abstract

An adapter connecting unit (21) is connected to a communication adapter which performs communication by a second communication system as a communication system newer than a first communication system. Each of a plurality of device connecting units (20a to 20c) is connected to each of a plurality of devices. A control circuit (22) acquires the communication systems from each of the plurality of devices. When receiving a first communication frame from a first device corresponding to the first communication system among the plurality of devices, the control circuit (22) converts the first communication frame to a second communication frame of the second communication system and transmits the second communication frame to the communication adapter. When receiving a third communication frame with respect to the first device from the communication adapter, the control circuit (22) converts the third communication frame to a fourth communication frame of the first communication system and transmits the fourth communication frame to the first device.

Description

中継装置、通信システム、通信方法及びプログラムRelay device, communication system, communication method, and program
 本発明は、中継装置、通信システム、通信方法及びプログラムに関する。 The present invention relates to a relay device, a communication system, a communication method, and a program.
 宅内に構築されたネットワークに接続される様々な家電機器を統合的に管理するHEMS(Home Energy Management System)と呼ばれるシステムが広く知られている。HEMSにおいて、各家電機器は、上記のネットワークに通信アダプタを介して接続されるのが一般的である。かかる通信アダプタに関し、従来、種々の提案がなされている(例えば、特許文献1) A system called HEMS (Home Energy Management System) that comprehensively manages various home appliances connected to a network built in a home is widely known. In HEMS, each home appliance is generally connected to the network via a communication adapter. Conventionally, various proposals have been made regarding such communication adapters (for example, Patent Document 1).
特開2014-178892号公報JP 2014-177882 A
 HEMSで採用されている通信規格であるエコーネットライト(ECHONET Lite)では、通信アダプタと家電機器間の通信方式(以下、第1通信方式という。)を定めている。この第1通信方式においては、現在、1つの家電機器に対して1つの通信アダプタを接続することが前提の規約となっている。 In ECHONET Lite, which is a communication standard adopted by HEMS, a communication method (hereinafter referred to as a first communication method) between a communication adapter and home appliances is defined. In this first communication method, it is currently premised that one communication adapter is connected to one home appliance.
 一方、HEMSを導入する家庭においては、複数の家電機器が上記のネットワークに接続されるのが一般的であり、当該家電機器の数分の通信アダプタが必要となる。このため、多くの家電機器が上記のネットワークに接続される家庭では、コストが嵩むという実情がある。 On the other hand, in a home where HEMS is introduced, a plurality of home appliances are generally connected to the network, and communication adapters corresponding to the number of the home appliances are required. For this reason, in the home where many household appliances are connected to the above-mentioned network, there is a situation that cost increases.
 上記の実情に対し、業界からは、1つの通信アダプタに複数の家電機器が接続されるようにするための新たな通信方式(以下、第2通信方式という。)の制定についての要望がある。しかしながら、このような第2通信方式が制定され、対応する通信アダプタが仮に開発された場合、既存の第1通信方式に対応した家電機器を接続することができないという問題が生じる。 In response to the above situation, there is a demand from the industry for the establishment of a new communication method (hereinafter referred to as the second communication method) for connecting a plurality of home appliances to one communication adapter. However, when such a second communication method is established and a corresponding communication adapter is tentatively developed, there arises a problem that home appliances corresponding to the existing first communication method cannot be connected.
 本発明は、上記の問題を解決するためになされたものであり、第1通信方式に対応した機器を含む複数の機器と、第2通信方式に対応した通信アダプタとの接続を可能にする中継装置等を提供することを目的とする。 The present invention has been made to solve the above-described problem, and enables relaying that enables connection between a plurality of devices including devices compatible with the first communication method and a communication adapter compatible with the second communication method. An object is to provide a device or the like.
 上記目的を達成するため、本発明に係る中継装置は、
 第1通信方式より新しい通信方式である第2通信方式で通信する通信アダプタと接続されるアダプタ接続手段と、
 複数の機器と接続される複数の機器接続手段と、
 前記複数の機器接続手段の各々に接続される各機器から通信方式を取得する通信方式取得手段と、
 前記複数の機器に、前記第1通信方式に対応する第1機器が含まれている場合、前記第1機器から前記第1機器に接続される機器接続手段を介して第1通信フレームを受信すると、前記第1通信フレームを前記第2通信方式の第2通信フレームに変換して、前記アダプタ接続手段を介して前記通信アダプタに送信し、前記通信アダプタから前記アダプタ接続手段を介して前記第1機器に対する第3通信フレームを受信すると、前記第3通信フレームを前記第1通信方式の第4通信フレームに変換して、前記第1機器に接続される機器接続手段を介して前記第1機器に送信する通信手段と、を備える。
In order to achieve the above object, a relay device according to the present invention provides:
Adapter connection means connected to a communication adapter that communicates with a second communication method that is a communication method newer than the first communication method;
A plurality of device connection means connected to a plurality of devices;
Communication method acquisition means for acquiring a communication method from each device connected to each of the plurality of device connection means;
When the first device corresponding to the first communication method is included in the plurality of devices, the first communication frame is received from the first device via device connection means connected to the first device. The first communication frame is converted into a second communication frame of the second communication method, transmitted to the communication adapter via the adapter connection means, and from the communication adapter to the first communication via the adapter connection means. When the third communication frame for the device is received, the third communication frame is converted into a fourth communication frame of the first communication method, and the first device is connected to the first device via the device connection means connected to the first device. Communication means for transmitting.
 本発明によれば、第1通信方式に対応した機器を含む複数の機器と、第2通信方式に対応した通信アダプタとの接続を可能にする。 According to the present invention, it is possible to connect a plurality of devices including a device compatible with the first communication method and a communication adapter compatible with the second communication method.
本発明の実施の形態に係る通信システムを包含したエネルギー管理システムの全体構成を示す図The figure which shows the whole structure of the energy management system including the communication system which concerns on embodiment of this invention. 本実施の形態に係る制御装置のハードウェア構成を示すブロック図The block diagram which shows the hardware constitutions of the control apparatus which concerns on this Embodiment 本実施の形態において第1通信方式に対応する通信フレームのフォーマットの一例を示す図The figure which shows an example of the format of the communication frame corresponding to a 1st communication system in this Embodiment. 本実施の形態において第2通信方式に対応する通信フレームのフォーマットの一例を示す図The figure which shows an example of the format of the communication frame corresponding to a 2nd communication system in this Embodiment. 本実施の形態に係る中継装置のハードウェア構成を示すブロック図The block diagram which shows the hardware constitutions of the relay apparatus which concerns on this Embodiment 本実施の形態に係る中継装置が備える制御回路のハードウェア構成を示すブロック図The block diagram which shows the hardware constitutions of the control circuit with which the relay apparatus which concerns on this Embodiment is provided 本実施の形態に係る中継装置の機能構成を示す図The figure which shows the function structure of the relay apparatus which concerns on this Embodiment. 本実施の形態に係る中継装置が実行するフレーム中継処理(その1)の手順を示すフローチャートThe flowchart which shows the procedure of the frame relay process (the 1) which the relay apparatus which concerns on this Embodiment performs 本実施の形態に係る中継装置が実行するフレーム中継処理(その2)の手順を示すフローチャートThe flowchart which shows the procedure of the frame relay process (the 2) which the relay apparatus which concerns on this Embodiment performs
 以下、本発明の実施の形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
 図1は、本発明の実施の形態に係る通信システム1を包含したエネルギー管理システムの全体構成を示す図である。このエネルギー管理システムは、一般家庭で使用される電力の管理を行う、いわゆる、HEMS(Home Energy Management System)と呼ばれるシステムである。エネルギー管理システムは、中継装置2と通信アダプタ3を備える通信システム1と、制御装置4と、操作端末5と、機器6a~6cとを備える。 FIG. 1 is a diagram showing an overall configuration of an energy management system including a communication system 1 according to an embodiment of the present invention. This energy management system is a so-called HEMS (Home Energy Management 管理 System) that manages electric power used in general households. The energy management system includes a communication system 1 including a relay device 2 and a communication adapter 3, a control device 4, an operation terminal 5, and devices 6a to 6c.
 制御装置4は、家屋H内の適切な場所に設置され、エネルギー管理システムを統括的に制御する。制御装置4は、図2に示すように、プロセッサ40と、通信インタフェース41と、ROM(Read Only Memory)42と、RAM(Random Access Memory)43と、二次記憶装置44とを備える。これらの構成部は、バス45を介して相互に接続される。プロセッサ40は、この制御装置4を統括的に制御する。 The control device 4 is installed at an appropriate location in the house H, and controls the energy management system in an integrated manner. As shown in FIG. 2, the control device 4 includes a processor 40, a communication interface 41, a ROM (Read Only Memory) 42, a RAM (Random Access Memory) 43, and a secondary storage device 44. These components are connected to each other via a bus 45. The processor 40 controls the control device 4 in an integrated manner.
 通信インタフェース41は、家屋H内に構築された無線ネットワーク(図示せず)を介して、通信アダプタ3と無線通信するためのネットワークカードを備える。この無線ネットワークは、例えば、エコーネットライト(ECHONET Lite)に準じたネットワークである。さらに、通信インタフェース41は、操作端末5と無線通信又は有線通信するためのネットワークカードを備える。 The communication interface 41 includes a network card for wirelessly communicating with the communication adapter 3 via a wireless network (not shown) constructed in the house H. This wireless network is, for example, a network conforming to ECHONET Lite. Further, the communication interface 41 includes a network card for wireless communication or wired communication with the operation terminal 5.
 ROM42は、複数のファームウェア及びこれらのファームウェアの実行時に使用されるデータを記憶する。RAM43は、プロセッサ40の作業領域として使用される。 The ROM 42 stores a plurality of firmware and data used when executing these firmwares. The RAM 43 is used as a work area for the processor 40.
 二次記憶装置44は、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ又はHDD(Hard Disk Drive)を含んで構成される。二次記憶装置44には、この家庭で消費される電力を管理するための1又は複数のプログラムと、各プログラムの実行時に使用されるデータが記憶される。 The secondary storage device 44 includes an EEPROM (Electrically-Erasable Programmable-Read-Only Memory), a readable / writable nonvolatile semiconductor memory such as a flash memory, or an HDD (Hard Disk Drive). The secondary storage device 44 stores one or a plurality of programs for managing the power consumed at home and data used when each program is executed.
 操作端末5は、押しボタン、タッチパネル、タッチパッド等の入力デバイスと、有機ELディスプレイ、液晶ディスプレイ等の表示デバイスと、通信インタフェースとを備えた、例えば、スマートフォン、タブレット端末等のスマートデバイスである。操作端末5は、制御装置4と、Wi-Fi(登録商標)、Wi-SUN(登録商標)、有線LAN等の周知の通信規格に則った通信を行う。操作端末5は、ユーザからの操作を受け付け、受け付けた操作内容を示す情報を制御装置4に送信する。また、操作端末5は、制御装置4から送信された、ユーザに提示するための情報を受信し、受信した情報を表示する。このように、操作端末5は、ユーザとのインタフェース(いわゆる、ユーザインタフェース)としての役割を担う。 The operation terminal 5 is a smart device such as a smartphone or a tablet terminal including an input device such as a push button, a touch panel, a touch pad, a display device such as an organic EL display or a liquid crystal display, and a communication interface. The operation terminal 5 communicates with the control device 4 in accordance with a well-known communication standard such as Wi-Fi (registered trademark), Wi-SUN (registered trademark), or wired LAN. The operation terminal 5 receives an operation from the user and transmits information indicating the received operation content to the control device 4. Further, the operation terminal 5 receives the information transmitted from the control device 4 and presented to the user, and displays the received information. Thus, the operation terminal 5 plays a role as an interface (so-called user interface) with the user.
 機器6a~6cは、家屋H(敷地も含む)内に設置される家電機器である。機器6a~6cには、例えば、エアコン、照明器、床暖房システム、床冷暖房システム、冷蔵庫、IH(Induction Heating)調理器、テレビ、給湯機等が含まれる。 The devices 6a to 6c are home appliances installed in the house H (including the site). The devices 6a to 6c include, for example, an air conditioner, an illuminator, a floor heating system, a floor cooling / heating system, a refrigerator, an IH (Induction Heating) cooker, a television, a water heater, and the like.
 また、機器6a~6cは、中継装置2及び通信アダプタ3を介して上述した無線ネットワークに接続される。これにより、制御装置4は、機器6a~6cの動作を制御したり、機器6a~6cから所望の情報を取得することができる。本実施の形態では、機器6a,6bは、第1通信方式で中継装置2と通信し、機器6cは、第1通信方式より新しい通信方式である第2通信方式で中継装置2と通信する。つまり、機器6a,6bは、本発明に係る第1機器の一例である。また、通信アダプタ3は、第2通信方式で中継装置2と通信する。第1通信方式とは、1つの家電機器に対して1つの通信アダプタを接続することが前提の通信方式であり、家電機器と通信アダプタ間の通信では、図3に示すフォーマットの通信フレームが用いられる。 Further, the devices 6a to 6c are connected to the above-described wireless network via the relay device 2 and the communication adapter 3. Thereby, the control device 4 can control the operation of the devices 6a to 6c and acquire desired information from the devices 6a to 6c. In the present embodiment, the devices 6a and 6b communicate with the relay device 2 using the first communication method, and the device 6c communicates with the relay device 2 using the second communication method that is a communication method newer than the first communication method. That is, the devices 6a and 6b are examples of the first device according to the present invention. Further, the communication adapter 3 communicates with the relay device 2 by the second communication method. The first communication method is a communication method on the premise that one communication adapter is connected to one home appliance, and a communication frame of the format shown in FIG. 3 is used for communication between the home appliance and the communication adapter. It is done.
 図3において、“STX”は、先頭コードが格納される領域である。詳細には、“STX”には、第1通信方式を示す固定値(例えば、0x02)が格納される。“CN”は、コマンドの種別が格納される領域である。コマンドの種別には、例えば、情報要求、情報要求応答、情報設定、情報設定応答等が含まれる。“DL”は、データ長、即ち、“FD”に格納されるデータのサイズが格納される領域である。 In FIG. 3, “STX” is an area in which the head code is stored. Specifically, “STX” stores a fixed value (for example, 0x02) indicating the first communication method. “CN” is an area in which the type of command is stored. The command type includes, for example, information request, information request response, information setting, information setting response, and the like. “DL” is an area in which the data length, that is, the size of data stored in “FD” is stored.
“FD”は、コマンドの種別に応じたデータが格納される領域である。例えば、コマンドの種別が情報要求の場合、“FD”には、要求する情報を示すプロパティ番号が格納される。また、コマンドの種別が情報要求応答の場合、“FD”には、要求された情報を示すデータが格納される。“FCC”は、フレームチェックコードが格納される領域である。“FCC”には、例えば、“CN”~“FD”までの総和の2の補数等が格納される。通信フレームを受信した家電機器又は通信アダプタは、フレームチェックコードをチェックすることで、当該通信フレームの内容に誤りがないかどうかを確認する。 “FD” is an area in which data corresponding to the type of command is stored. For example, when the command type is information request, “FD” stores a property number indicating the requested information. When the command type is an information request response, “FD” stores data indicating the requested information. “FCC” is an area in which a frame check code is stored. “FCC” stores, for example, the two's complement of the sum of “CN” to “FD”. The home appliance or communication adapter that has received the communication frame checks the frame check code to determine whether or not there is an error in the content of the communication frame.
 第2通信方式は、1つの通信アダプタに複数の家電機器が接続される通信方式であり、家電機器と通信アダプタ間の通信では、図4に示すフォーマットの通信フレームが用いられる。 The second communication method is a communication method in which a plurality of home appliances are connected to one communication adapter, and a communication frame in the format shown in FIG. 4 is used for communication between the home appliance and the communication adapter.
 図4において、“STX”は、先頭コードが格納される領域である。詳細には、“STX”には、第2通信方式を示す固定値(例えば、0x03)が格納される。“DA”は、当該通信フレームの送信先を示すデータが格納される領域である。“SA”は、当該通信フレームの送信元を示すデータが格納される領域である。例えば、通信アダプタのアドレスが“0x00”であり、家電機器のアドレスが“0x01”であって、通信アダプタから家電機器に通信フレームを送信する場合、当該通信フレームの“DA”には、“0x01”が格納され、“SA”には、“0x00”が格納されている。“CN”,“DL”,“FD”,“FCC”については、第1通信方式と同様である。 In FIG. 4, “STX” is an area in which the head code is stored. Specifically, “STX” stores a fixed value (for example, 0x03) indicating the second communication method. “DA” is an area in which data indicating the transmission destination of the communication frame is stored. “SA” is an area in which data indicating the transmission source of the communication frame is stored. For example, when the address of the communication adapter is “0x00”, the address of the home appliance is “0x01”, and a communication frame is transmitted from the communication adapter to the home appliance, the “DA” of the communication frame includes “0x01”. "Is stored, and" 0x00 "is stored in" SA ". “CN”, “DL”, “FD”, and “FCC” are the same as those in the first communication method.
 中継装置2は、図5に示すように、機器接続部20a~20cと、アダプタ接続部21と、制御回路22とを備える。機器接続部20a~20c及びアダプタ接続部21は、何れも、5つの端子を備える同型式のコネクタである。機器接続部20a~20cは、本発明に係る複数の機器接続手段の一例である。アダプタ接続部21は、本発明に係るアダプタ接続手段の一例である。 As shown in FIG. 5, the relay device 2 includes device connection units 20a to 20c, an adapter connection unit 21, and a control circuit 22. The device connection portions 20a to 20c and the adapter connection portion 21 are all the same type connectors having five terminals. The device connection units 20a to 20c are an example of a plurality of device connection means according to the present invention. The adapter connection unit 21 is an example of adapter connection means according to the present invention.
 機器接続部20aと制御回路22は、信号送信線と、信号受信線と、グランド線と、信号線のプルアップ用電圧線(5V)とを含む信号線23aを介して接続される。同様に、機器接続部20bと制御回路22は、信号線23bを介して接続され、機器接続部20cと制御回路22は、信号線23cを介して接続され、アダプタ接続部21と制御回路22は、信号線23dを介して接続される。 The device connection unit 20a and the control circuit 22 are connected via a signal line 23a including a signal transmission line, a signal reception line, a ground line, and a pull-up voltage line (5V) of the signal line. Similarly, the device connection unit 20b and the control circuit 22 are connected via a signal line 23b, the device connection unit 20c and the control circuit 22 are connected via a signal line 23c, and the adapter connection unit 21 and the control circuit 22 are connected to each other. Are connected via a signal line 23d.
 また、機器接続部20aと制御回路22及びアダプタ接続部21とは、機器接続部20aに接続される機器6からの電力を送電する電源線24を介して接続される。つまり、中継装置2と通信アダプタ3は、機器接続部20aに接続された家電機器(機器6a~6cの何れか)から、電力の供給を受ける。電源線24は、本発明に係る送電手段の一例である。 The device connection unit 20a, the control circuit 22, and the adapter connection unit 21 are connected via a power line 24 that transmits power from the device 6 connected to the device connection unit 20a. That is, the relay device 2 and the communication adapter 3 are supplied with power from the home appliance (any of the devices 6a to 6c) connected to the device connection unit 20a. The power line 24 is an example of a power transmission unit according to the present invention.
 制御回路22は、図6に示すように、プロセッサ220と、ROM221と、RAM222と、二次記憶装置223とを備える。これらの構成部は、バス224を介して相互に接続される。プロセッサ220は、この中継装置2を統括的に制御する。プロセッサ220によって実現される中継装置2の機能の詳細については後述する。 As shown in FIG. 6, the control circuit 22 includes a processor 220, a ROM 221, a RAM 222, and a secondary storage device 223. These components are connected to each other via a bus 224. The processor 220 controls the relay device 2 in an integrated manner. Details of the functions of the relay apparatus 2 realized by the processor 220 will be described later.
 ROM221は、複数のファームウェア及びこれらのファームウェアの実行時に使用されるデータを記憶する。RAM222は、プロセッサ220の作業領域として使用される。 The ROM 221 stores a plurality of firmware and data used when executing these firmware. The RAM 222 is used as a work area for the processor 220.
 二次記憶装置223は、EEPROM、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリで構成される。二次記憶装置223には、機器6a~6cの各々と通信アダプタ3との間でやり取りされる通信フレームを中継するためのプログラム(以下、中継プログラム)を含む各種のプログラムと、これらのプログラムの実行時に使用されるデータが記憶される。 The secondary storage device 223 is composed of a readable / writable nonvolatile semiconductor memory such as an EEPROM or a flash memory. The secondary storage device 223 includes various programs including a program for relaying a communication frame exchanged between each of the devices 6a to 6c and the communication adapter 3 (hereinafter referred to as a relay program), Data used at runtime is stored.
 続いて、中継装置2の機能について説明する。なお、以下の説明では、機器接続部20aに機器6aが接続され、機器接続部20bに機器6bが接続され、機器接続部20cに機器6cが接続されているものとする。中継装置2は、機能的には、図7に示すように、通信方式取得部200と、機器オブジェクト取得部201と、フレーム中継部202とを備える。これらの機能部は、プロセッサ220が二次記憶装置223に記憶されている上記の中継プログラムを実行することで実現される。 Subsequently, the function of the relay device 2 will be described. In the following description, it is assumed that the device 6a is connected to the device connection unit 20a, the device 6b is connected to the device connection unit 20b, and the device 6c is connected to the device connection unit 20c. The relay apparatus 2 functionally includes a communication method acquisition unit 200, a device object acquisition unit 201, and a frame relay unit 202 as shown in FIG. These functional units are realized by the processor 220 executing the relay program stored in the secondary storage device 223.
 通信方式取得部200は、本発明に係る通信方式取得手段の一例である。通信方式取得部200は、中継装置2の起動時に、アダプタ接続部21に接続される通信アダプタ3及び機器接続部20a~20cに接続される機器6a~6cとネゴシエーションを行い、通信アダプタ3及び機器6a~6cの各々から通信速度と通信方式を含む通信情報を取得する。この場合、通信方式取得部200は、機器接続部20a~20cの信号線23a~23cのプルアップ用電圧を監視し、予め定めた電圧(5V)が検出された機器接続部20のみに絞って、上記のネゴシエーションを行ってもよい。 The communication method acquisition unit 200 is an example of a communication method acquisition unit according to the present invention. When the relay device 2 is activated, the communication method acquisition unit 200 negotiates with the communication adapter 3 connected to the adapter connection unit 21 and the devices 6a to 6c connected to the device connection units 20a to 20c. Communication information including a communication speed and a communication method is acquired from each of 6a to 6c. In this case, the communication method acquisition unit 200 monitors the pull-up voltages of the signal lines 23a to 23c of the device connection units 20a to 20c, and narrows down only to the device connection unit 20 in which a predetermined voltage (5 V) is detected. The above negotiation may be performed.
 また、通信方式取得部200は、機器6a~6cに対してアドレスを割り振る。アドレスは、各機器6が接続される機器接続部20に応じて決定される。本実施の形態では、機器接続部20aに接続される機器6aには、0x01が割り振られ、機器接続部20bに接続される機器6bには、0x02が割り振られ、機器接続部20cに接続される機器6cには、0x03が割り振られる。 Further, the communication method acquisition unit 200 allocates addresses to the devices 6a to 6c. The address is determined according to the device connection unit 20 to which each device 6 is connected. In the present embodiment, 0x01 is assigned to the device 6a connected to the device connection unit 20a, and 0x02 is assigned to the device 6b connected to the device connection unit 20b, and is connected to the device connection unit 20c. 0x03 is allocated to the device 6c.
 通信方式取得部200は、機器接続部20毎に、接続される機器6のアドレスと、上記の通信情報とを対応付けた情報を生成し、二次記憶装置223に保存する。 The communication method acquisition unit 200 generates, for each device connection unit 20, information that associates the address of the device 6 to be connected with the communication information described above, and stores the information in the secondary storage device 223.
 機器オブジェクト取得部201は、通信方式取得部200による上記のネゴシエーションが完了すると、機器6a~6cの各々から機器オブジェクトデータを取得する。機器オブジェクトデータは、当該機器6について、固有の情報と、操作可能な制御項目とが含まれるデータである。機器オブジェクト取得部201は、取得した各機器オブジェクトデータと、当該機器6のアドレスとを対応付けたデータをアダプタ接続部21を介して通信アダプタ3に送信する。本実施の形態では、通信方式取得部200及び機器オブジェクト取得部201による一連の処理を中継装置2の立ち上げ処理という。 The device object acquisition unit 201 acquires device object data from each of the devices 6a to 6c when the negotiation by the communication method acquisition unit 200 is completed. The device object data is data including unique information and operable control items for the device 6. The device object acquisition unit 201 transmits data in which each acquired device object data is associated with the address of the device 6 to the communication adapter 3 via the adapter connection unit 21. In the present embodiment, a series of processing by the communication method acquisition unit 200 and the device object acquisition unit 201 is referred to as start-up processing of the relay device 2.
 フレーム中継部202は、本発明に係る通信手段の一例である。フレーム中継部202は、上記の立ち上げ処理の完了後、機器6a~機器6cの何れかから対応する機器接続部20を介して通信フレームを受信すると、受信した通信フレームをアダプタ接続部21を介して通信アダプタ3に送信する。その際、当該送信元の機器6が、第1通信方式に対応する場合は、フレーム中継部202は、受信した通信フレームを第2通信方式の通信フレームに変換し、変換後の通信フレームを通信アダプタ3に送信する。 The frame relay unit 202 is an example of communication means according to the present invention. When the frame relay unit 202 receives a communication frame from any one of the devices 6a to 6c via the corresponding device connection unit 20 after completion of the above startup processing, the frame relay unit 202 transmits the received communication frame via the adapter connection unit 21. To the communication adapter 3. At this time, if the transmission source device 6 is compatible with the first communication method, the frame relay unit 202 converts the received communication frame into a communication frame of the second communication method, and communicates the converted communication frame. Send to adapter 3.
 具体的には、フレーム中継部202は、受信した通信フレームの“STX”を0x02から0x03に変更すると共に、“DA”及び“SA”を加入する。この場合、“DA”には、通信アダプタ3のアドレスである0x03が格納される。また、“SA”には、送信元の機器6のアドレス(0x01又は0x02)が格納される。これにより、機器6a又は機器6b(即ち、第1機器)から受信した第1通信方式に対応する通信フレーム(本発明に係る第1通信フレームの一例)が、第2通信方式の通信フレーム(本発明に係る第2通信フレームの一例)に変換される。 Specifically, the frame relay unit 202 changes “STX” of the received communication frame from 0x02 to 0x03, and joins “DA” and “SA”. In this case, “DA” stores 0x03 which is the address of the communication adapter 3. In “SA”, the address (0x01 or 0x02) of the transmission source device 6 is stored. As a result, a communication frame (an example of the first communication frame according to the present invention) corresponding to the first communication method received from the device 6a or the device 6b (that is, the first device) becomes a communication frame (this book) of the second communication method. An example of the second communication frame according to the invention.
 一方、送信元の機器6が、第2通信方式に対応する場合、フレーム中継部202は、受信した通信フレームを加工せずに、アダプタ接続部21を介して通信アダプタ3へ転送する。 On the other hand, when the transmission source device 6 supports the second communication method, the frame relay unit 202 transfers the received communication frame to the communication adapter 3 via the adapter connection unit 21 without processing the received communication frame.
 また、フレーム中継部202は、上記の立ち上げ処理の完了後、通信アダプタ3からアダプタ接続部21を介して通信フレームを受信すると、当該通信フレームの“DA”で示される機器6へ当該通信フレームを対応する機器接続部20を介して送信する。その際、当該送信先の機器6が、第1通信方式に対応する場合、フレーム中継部202は、受信した通信フレームを第1通信方式の通信フレームに変換し、変換後の通信フレームを当該機器6に送信する。具体的には、フレーム中継部202は、受信した通信フレームから“DA”及び“SA”を取り除き、さらに、“STX”を0x03から0x02に変更する。これにより、通信アダプタ3から受信した第2通信方式に対応する通信フレーム(本発明に係る第3通信フレームの一例)が、第1通信方式の通信フレーム(本発明に係る第4通信フレームの一例)に変換される。 When the frame relay unit 202 receives a communication frame from the communication adapter 3 via the adapter connection unit 21 after completion of the start-up process, the frame relay unit 202 transmits the communication frame to the device 6 indicated by “DA” of the communication frame. Is transmitted via the corresponding device connection unit 20. At this time, if the destination device 6 is compatible with the first communication method, the frame relay unit 202 converts the received communication frame into a communication frame of the first communication method, and converts the converted communication frame into the device. 6 to send. Specifically, the frame relay unit 202 removes “DA” and “SA” from the received communication frame, and further changes “STX” from 0x03 to 0x02. Thereby, a communication frame (an example of the third communication frame according to the present invention) corresponding to the second communication method received from the communication adapter 3 is converted into a communication frame of the first communication method (an example of the fourth communication frame according to the present invention). ).
 一方、送信先の機器6が、第2通信方式に対応する場合、フレーム中継部202は、受信した通信フレームを加工せずに、対応する機器接続部20を介して当該機器6へ転送する。 On the other hand, when the destination device 6 is compatible with the second communication method, the frame relay unit 202 transfers the received communication frame to the device 6 via the corresponding device connection unit 20 without processing the received communication frame.
 図8及び図9は、立ち上げ処理の完了後に中継装置2(詳細には、フレーム中継部202)が実行するフレーム中継処理の手順を示すフローチャートである。図8は、通信アダプタ3から通信フレームを受信した場合のフレーム中継処理を示し、図9は、機器6a~6cの何れかから通信フレームを受信した場合のフレーム中継処理を示す。 8 and 9 are flowcharts showing the procedure of the frame relay process executed by the relay device 2 (specifically, the frame relay unit 202) after the start-up process is completed. FIG. 8 shows frame relay processing when a communication frame is received from the communication adapter 3, and FIG. 9 shows frame relay processing when a communication frame is received from any of the devices 6a to 6c.
 図8において、フレーム中継部202は、受信した通信フレームの“DA”を参照して、対応する機器接続部20を特定し、特定した機器接続部20に対応する通信方式を特定する。換言すると、フレーム中継部202は、送信先の機器6に対応する通信方式を特定する(ステップS101)。送信先の機器6が第1通信方式に対応する場合(ステップS102;YES)、フレーム中継部202は、受信した通信フレームを上述したようにして第1通信方式の通信フレームに変換する(ステップS103)。そして、フレーム中継部202は、特定した機器接続部20を介して変換した通信フレームを当該送信先の機器6に送信する(ステップS104)。 In FIG. 8, the frame relay unit 202 refers to “DA” in the received communication frame, identifies the corresponding device connection unit 20, and identifies the communication method corresponding to the identified device connection unit 20. In other words, the frame relay unit 202 specifies a communication method corresponding to the transmission destination device 6 (step S101). If the destination device 6 is compatible with the first communication method (step S102; YES), the frame relay unit 202 converts the received communication frame into a communication frame of the first communication method as described above (step S103). ). Then, the frame relay unit 202 transmits the communication frame converted through the identified device connection unit 20 to the transmission destination device 6 (step S104).
 一方、送信先の機器6が第2通信方式に対応する場合(ステップS102;NO)、フレーム中継部202は、受信した通信フレームを加工することなく、特定した機器接続部20を介して当該送信先の機器6に転送する(ステップS105)。 On the other hand, when the transmission destination device 6 is compatible with the second communication method (step S102; NO), the frame relay unit 202 performs the transmission via the specified device connection unit 20 without processing the received communication frame. Transfer to the previous device 6 (step S105).
 図9において、フレーム中継部202は、通信フレームを受信した機器接続部20に対応する通信方式を特定する。換言すると、フレーム中継部202は、受信した通信フレームの送信元の機器6に対応する通信方式を特定する(ステップS201)。送信元の機器6が第1通信方式に対応する場合(ステップS202;YES)、フレーム中継部202は、受信した通信フレームを上述したようにして第2通信方式の通信フレームに変換する(ステップS203)。そして、フレーム中継部202は、変換した通信フレームをアダプタ接続部21を介して通信アダプタ3に送信する(ステップS204)。 In FIG. 9, the frame relay unit 202 identifies a communication method corresponding to the device connection unit 20 that has received the communication frame. In other words, the frame relay unit 202 identifies a communication method corresponding to the transmission source device 6 of the received communication frame (step S201). When the transmission source device 6 is compatible with the first communication method (step S202; YES), the frame relay unit 202 converts the received communication frame into a communication frame of the second communication method as described above (step S203). ). Then, the frame relay unit 202 transmits the converted communication frame to the communication adapter 3 via the adapter connection unit 21 (step S204).
 一方、送信元の機器6が第2通信方式に対応する場合(ステップS202;NO)、フレーム中継部202は、受信した通信フレームを加工することなく、アダプタ接続部21を介して通信アダプタ3に転送する(ステップS205)。 On the other hand, when the transmission source device 6 is compatible with the second communication method (step S202; NO), the frame relay unit 202 transmits the received communication frame to the communication adapter 3 via the adapter connection unit 21. Transfer (step S205).
 以上説明したように、本実施の形態の通信システム1によれば、1つの家電機器に対して1つの通信アダプタの接続が前提の第1通信方式に対応した複数の家電機器(機器6a,6b)と、1つの通信アダプタに複数の家電機器が接続され得る第2通信方式に対応した通信アダプタ3とを互いに通信可能に接続させることができる。 As described above, according to the communication system 1 of the present embodiment, a plurality of home appliances ( devices 6a and 6b) corresponding to the first communication method on the assumption that one communication adapter is connected to one home appliance. ) And a communication adapter 3 compatible with the second communication method in which a plurality of household electrical appliances can be connected to one communication adapter.
 なお、本発明は、上記の実施の形態に限定されず、本発明の要旨を逸脱しない範囲での種々の変更は勿論可能である。 In addition, this invention is not limited to said embodiment, Of course, the various change in the range which does not deviate from the summary of this invention is possible.
 例えば、上記の実施の形態では、中継装置2は、3台の機器6と接続可能であったが、複数台の機器6と接続可能な構成であればよく、その台数に限定はない。 For example, in the above-described embodiment, the relay device 2 can be connected to the three devices 6, but it may be configured to be connectable to a plurality of devices 6, and the number is not limited.
 また、図3及び図4は、あくまで第1通信方式及び第2通信方式のフォーマットの一例を示すものであり、したがって、上記の実施の形態に係る中継装置2による通信フレームの変換の手法もあくまで一例である。本発明に係る中継装置において、第1通信フレームから第2通信フレームへの変換及び第3通信フレームから第4通信フレームへの変換には、第1通信方式及び第2通信方式のフォーマットに応じた様々な手法が採用され得る。 3 and 4 merely show an example of the format of the first communication method and the second communication method. Therefore, the method of converting the communication frame by the relay device 2 according to the above embodiment is also only It is an example. In the relay device according to the present invention, the conversion from the first communication frame to the second communication frame and the conversion from the third communication frame to the fourth communication frame correspond to the formats of the first communication method and the second communication method. Various techniques can be employed.
 また、制御装置4が、ユーザからの操作を受け付けるための入力デバイスと、ユーザに情報を提示するための表示デバイスの少なくとも何れかをさらに含んで構成されるようにしてもよい。 Further, the control device 4 may further include at least one of an input device for receiving an operation from the user and a display device for presenting information to the user.
 また、通信アダプタ3が、家屋H内に設置される図示しないブロードバンドルータを介してインターネットに接続するための通信インタフェースを備え、図示しないクラウドサーバと通信するようにしてもよい。 Further, the communication adapter 3 may be provided with a communication interface for connecting to the Internet via a broadband router (not shown) installed in the house H and communicate with a cloud server (not shown).
 上記の実施の形態では、プロセッサ220によって二次記憶装置223に記憶されている中継プログラムが実行されることで、中継装置2の各機能部(図7参照)が実現された。しかし、中継装置2の機能部の全部又は一部が、専用のハードウェアで実現されるようにしてもよい。専用のハードウェアとは、例えば、単一回路、複合回路、プログラム化されたプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、又は、これらの組み合わせである。 In the above embodiment, each functional unit (see FIG. 7) of the relay device 2 is realized by the processor 220 executing the relay program stored in the secondary storage device 223. However, all or part of the functional units of the relay device 2 may be realized by dedicated hardware. The dedicated hardware is, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application Specific Integrated 、 Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
 また、上記の中継プログラムは、CD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、光磁気ディスク(Magneto-Optical Disc)、USB(Universal Serial Bus)メモリ、メモリカード、HDD等のコンピュータ読み取り可能な記録媒体に格納して配布することが可能である。 In addition, the above relay program includes CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), magneto-optical disc (Magneto-Optical Disc), USB (Universal Serial Bus) memory, memory card, HDD, etc. It can be stored in a computer-readable recording medium and distributed.
 また、上記の中継プログラムをイントラネット、インターネット等のネットワーク上のサーバが有するディスク装置等に格納しておき、このサーバから中継装置2に中継プログラムがダウンロードされるようにしてもよい。 Alternatively, the relay program may be stored in a disk device or the like of a server on a network such as an intranet or the Internet, and the relay program may be downloaded to the relay device 2 from this server.
 本発明は、広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能である。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention can be variously modified and modified without departing from the spirit and scope of the broad sense. The above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. In other words, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.
 本発明は、様々な機器と制御装置とがネットワークを介して接続するシステムに好適に採用され得る。 The present invention can be suitably employed in a system in which various devices and control devices are connected via a network.
 1 通信システム、2 中継装置、3 通信アダプタ、4 制御装置、5 操作端末、6a~6c 機器、20a~20c 機器接続部、21 アダプタ接続部、22 制御回路、23a~23d 信号線、24 電源線、40,220 プロセッサ、41 通信インタフェース、42,221 ROM、43,222 RAM、44,223 二次記憶装置、45,224 バス、200 通信方式取得部、201 機器オブジェクト取得部、202 フレーム中継部 1 communication system, 2 relay device, 3 communication adapter, 4 control device, 5 operation terminal, 6a-6c device, 20a-20c device connection unit, 21 adapter connection unit, 22 control circuit, 23a-23d signal line, 24 power line , 40, 220 processor, 41 communication interface, 42, 221 ROM, 43, 222 RAM, 44, 223 secondary storage device, 45, 224 bus, 200 communication method acquisition unit, 201 device object acquisition unit, 202 frame relay unit

Claims (5)

  1.  第1通信方式より新しい通信方式である第2通信方式で通信する通信アダプタと接続されるアダプタ接続手段と、
     複数の機器と一対一で接続される複数の機器接続手段と、
     前記複数の機器接続手段の各々に接続される各機器から通信方式を取得する通信方式取得手段と、
     前記複数の機器に、前記第1通信方式に対応する第1機器が含まれている場合、前記第1機器から前記第1機器に接続される機器接続手段を介して第1通信フレームを受信すると、前記第1通信フレームを前記第2通信方式の第2通信フレームに変換して、前記アダプタ接続手段を介して前記通信アダプタに送信し、前記通信アダプタから前記アダプタ接続手段を介して前記第1機器に対する第3通信フレームを受信すると、前記第3通信フレームを前記第1通信方式の第4通信フレームに変換して、前記第1機器に接続される機器接続手段を介して前記第1機器に送信する通信手段と、を備える、中継装置。
    Adapter connection means connected to a communication adapter that communicates with a second communication method that is a communication method newer than the first communication method;
    A plurality of device connection means connected one-to-one with a plurality of devices;
    Communication method acquisition means for acquiring a communication method from each device connected to each of the plurality of device connection means;
    When the first device corresponding to the first communication method is included in the plurality of devices, the first communication frame is received from the first device via device connection means connected to the first device. The first communication frame is converted into a second communication frame of the second communication method, transmitted to the communication adapter via the adapter connection means, and from the communication adapter to the first communication via the adapter connection means. When the third communication frame for the device is received, the third communication frame is converted into a fourth communication frame of the first communication method, and the first device is connected to the first device via the device connection means connected to the first device. And a communication means for transmitting.
  2.  前記複数の機器接続手段の何れか1つに接続される機器から受電した電力を、前記通信方式取得手段、前記通信手段及び前記通信アダプタに送電する送電手段をさらに備える、請求項1に記載の中継装置。 2. The apparatus according to claim 1, further comprising a power transmission unit configured to transmit power received from a device connected to any one of the plurality of device connection units to the communication method acquisition unit, the communication unit, and the communication adapter. Relay device.
  3.  制御装置と予め定めたネットワークを介して第1通信方式より新しい通信方式である第2通信方式で通信する通信アダプタと、中継装置と、を備え、
     前記中継装置は、
     前記通信アダプタと接続されるアダプタ接続手段と、
     複数の機器と一対一で接続される複数の機器接続手段と、
     前記複数の機器接続手段の各々に接続される各機器から通信方式を取得する通信方式取得手段と、
     前記複数の機器に、前記第1通信方式に対応する第1機器が含まれている場合、前記第1機器から前記第1機器に接続される機器接続手段を介して第1通信フレームを受信すると、前記第1通信フレームを前記第2通信方式の第2通信フレームに変換して、前記アダプタ接続手段を介して前記通信アダプタに送信し、前記通信アダプタから前記アダプタ接続手段を介して前記第1機器に対する第3通信フレームを受信すると、前記第3通信フレームを前記第1通信方式の第4通信フレームに変換して、前記第1機器に接続される機器接続手段を介して前記第1機器に送信する通信手段と、を備える、通信システム。
    A communication adapter that communicates with the control device in a second communication method that is newer than the first communication method via a predetermined network, and a relay device;
    The relay device is
    Adapter connection means connected to the communication adapter;
    A plurality of device connection means connected one-to-one with a plurality of devices;
    Communication method acquisition means for acquiring a communication method from each device connected to each of the plurality of device connection means;
    When the first device corresponding to the first communication method is included in the plurality of devices, the first communication frame is received from the first device via device connection means connected to the first device. The first communication frame is converted into a second communication frame of the second communication method, transmitted to the communication adapter via the adapter connection means, and from the communication adapter to the first communication via the adapter connection means. When the third communication frame for the device is received, the third communication frame is converted into a fourth communication frame of the first communication method, and the first device is connected to the first device via the device connection means connected to the first device. And a communication means for transmitting.
  4.  複数の機器接続手段に一対一で接続される複数の機器の各々から通信方式を取得し、
     前記複数の機器に、第1通信方式に対応する第1機器が含まれている場合、前記第1機器から前記第1機器に接続される機器接続手段を介して第1通信フレームを受信すると、前記第1通信フレームを、前記第1通信方式より新しい通信方式である第2通信方式の第2通信フレームに変換して、アダプタ接続手段を介して通信アダプタに送信し、前記通信アダプタから前記アダプタ接続手段を介して前記第1機器に対する第3通信フレームを受信すると、前記第3通信フレームを前記第1通信方式の第4通信フレームに変換して、前記第1機器に接続される機器接続手段を介して前記第1機器に送信する、通信方法。
    Obtaining a communication method from each of a plurality of devices connected one-to-one to a plurality of device connection means
    When the first device corresponding to the first communication method is included in the plurality of devices, when receiving the first communication frame from the first device via the device connection means connected to the first device, The first communication frame is converted into a second communication frame of a second communication method that is a communication method newer than the first communication method, and is transmitted to a communication adapter via adapter connection means. When a third communication frame for the first device is received via the connection means, the third communication frame is converted into a fourth communication frame of the first communication method, and device connection means connected to the first device A communication method of transmitting to the first device via
  5.  第1通信方式より新しい通信方式である第2通信方式で通信する通信アダプタと接続されるアダプタ接続手段と、複数の機器と一対一で接続される複数の機器接続手段と、を備えたコンピュータを、
     前記複数の機器接続手段の各々に接続される各機器から通信方式を取得する通信方式取得手段、
     前記複数の機器に、前記第1通信方式に対応する第1機器が含まれている場合、前記第1機器から前記第1機器に接続される機器接続手段を介して第1通信フレームを受信すると、前記第1通信フレームを前記第2通信方式の第2通信フレームに変換して、前記アダプタ接続手段を介して前記通信アダプタに送信し、前記通信アダプタから前記アダプタ接続手段を介して前記第1機器に対する第3通信フレームを受信すると、前記第3通信フレームを前記第1通信方式の第4通信フレームに変換して、前記第1機器に接続される機器接続手段を介して前記第1機器に送信する通信手段、として機能させるためのプログラム。
    A computer comprising: an adapter connection unit connected to a communication adapter that communicates with a second communication method that is a communication method newer than the first communication method; ,
    A communication method acquisition means for acquiring a communication method from each device connected to each of the plurality of device connection means;
    When the first device corresponding to the first communication method is included in the plurality of devices, the first communication frame is received from the first device via device connection means connected to the first device. The first communication frame is converted into a second communication frame of the second communication method, transmitted to the communication adapter via the adapter connection means, and from the communication adapter to the first communication via the adapter connection means. When the third communication frame for the device is received, the third communication frame is converted into a fourth communication frame of the first communication method, and the first device is connected to the first device via the device connection means connected to the first device. A program for functioning as a communication means for transmission.
PCT/JP2018/010699 2018-03-19 2018-03-19 Relaying device, communication system, communication method, and program WO2019180761A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020508105A JPWO2019180761A1 (en) 2018-03-19 2018-03-19 Relay device, communication system, communication method, and program
PCT/JP2018/010699 WO2019180761A1 (en) 2018-03-19 2018-03-19 Relaying device, communication system, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/010699 WO2019180761A1 (en) 2018-03-19 2018-03-19 Relaying device, communication system, communication method, and program

Publications (1)

Publication Number Publication Date
WO2019180761A1 true WO2019180761A1 (en) 2019-09-26

Family

ID=67988365

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/010699 WO2019180761A1 (en) 2018-03-19 2018-03-19 Relaying device, communication system, communication method, and program

Country Status (2)

Country Link
JP (1) JPWO2019180761A1 (en)
WO (1) WO2019180761A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2021234820A1 (en) * 2020-05-19 2021-11-25
WO2022172378A1 (en) * 2021-02-10 2022-08-18 三菱電機株式会社 Communication adaptor, communication control method and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006171949A (en) * 2004-12-14 2006-06-29 Sharp Corp Electric appliance and communication adapter connectable to eletric appliance
JP2006229422A (en) * 2005-02-16 2006-08-31 Sharp Corp Electrical equipment and communication adapter capable of being connected to electrical equipment
JP2014179783A (en) * 2013-03-14 2014-09-25 Toshiba Lighting & Technology Corp Electric apparatus and communication device
JP2017112408A (en) * 2015-12-14 2017-06-22 株式会社テイエルブイ Relay device between devices having communication systems different from each other, and control method in relay device
JP2017142652A (en) * 2016-02-10 2017-08-17 三菱電機株式会社 Communication device, communication system, communication method and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006171949A (en) * 2004-12-14 2006-06-29 Sharp Corp Electric appliance and communication adapter connectable to eletric appliance
JP2006229422A (en) * 2005-02-16 2006-08-31 Sharp Corp Electrical equipment and communication adapter capable of being connected to electrical equipment
JP2014179783A (en) * 2013-03-14 2014-09-25 Toshiba Lighting & Technology Corp Electric apparatus and communication device
JP2017112408A (en) * 2015-12-14 2017-06-22 株式会社テイエルブイ Relay device between devices having communication systems different from each other, and control method in relay device
JP2017142652A (en) * 2016-02-10 2017-08-17 三菱電機株式会社 Communication device, communication system, communication method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2021234820A1 (en) * 2020-05-19 2021-11-25
WO2021234820A1 (en) * 2020-05-19 2021-11-25 三菱電機株式会社 Apparatus, network apparatus, and command execution method
JP7267505B2 (en) 2020-05-19 2023-05-01 三菱電機株式会社 Equipment, network equipment and command execution method
WO2022172378A1 (en) * 2021-02-10 2022-08-18 三菱電機株式会社 Communication adaptor, communication control method and program
JP7383183B2 (en) 2021-02-10 2023-11-17 三菱電機株式会社 Communication adapter, communication control method and program

Also Published As

Publication number Publication date
JPWO2019180761A1 (en) 2020-08-20

Similar Documents

Publication Publication Date Title
TWI460954B (en) Smart home network system and its registration controller and registration method for household electrical device
JP5451950B2 (en) Setting method, device authentication method, device authentication system, and server
TWI514802B (en) Smart home network system and its signal conversion device
US20120191254A1 (en) Network system and control method thereof
JP2004135351A (en) Random number generating home network system and its control method
WO2019180761A1 (en) Relaying device, communication system, communication method, and program
US11537092B2 (en) Appliances and control method thereof
WO2018164107A1 (en) Management device, relay device, field wireless system, setting method, program, and recording medium
TWM456037U (en) Terminal control system and gateway
JP5774178B2 (en) Communication adapter, communication method, and program
JP4838096B2 (en) Home appliance communication control system
KR101242054B1 (en) M2M Module for Supporting Serial Communication Emulation through WiBro Network and Operation Method thereof
US20110047239A1 (en) Host device and slave device controlling method
JP2014230123A (en) Control system, terminal device, controller, control method and program
JP7336857B2 (en) CONTROL SYSTEM, CONNECTION STATE DETERMINATION METHOD AND PROGRAM
JP6320563B2 (en) Communication device, communication adapter, communication system, communication parameter response method, and program
CN105393494A (en) Communication method and apparatus using smart module in home network system
TW201620268A (en) Smart appliance control method and system
WO2016067847A1 (en) Migration method for power management system, system used for migration, and server
US20180293182A1 (en) Method for accessing a peripheral device
EP4155951A1 (en) Apparatus, network apparatus, and command execution method
JP6150778B2 (en) Electrical equipment, communication adapter and program
TW202322645A (en) Method for establishing point-to-point data transmission for IoT devices, computer device, and computer readable recording medium requiring no external network to perform point-to-point data transmission
CN112737898A (en) Control method and device of household appliance, electronic equipment and storage medium
WO2017090140A1 (en) Home device control apparatus, control system, home device control method, and program

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020508105

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18911081

Country of ref document: EP

Kind code of ref document: A1