JP5669967B2 - COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM - Google Patents

COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM Download PDF

Info

Publication number
JP5669967B2
JP5669967B2 JP2014019819A JP2014019819A JP5669967B2 JP 5669967 B2 JP5669967 B2 JP 5669967B2 JP 2014019819 A JP2014019819 A JP 2014019819A JP 2014019819 A JP2014019819 A JP 2014019819A JP 5669967 B2 JP5669967 B2 JP 5669967B2
Authority
JP
Japan
Prior art keywords
identification information
communication
communication adapter
address
type
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2014019819A
Other languages
Japanese (ja)
Other versions
JP2014217046A (en
Inventor
香 ▲高▼階
香 ▲高▼階
裕信 矢野
裕信 矢野
矢部 正明
正明 矢部
雄喜 小川
雄喜 小川
一郎 丸山
一郎 丸山
中村 慎二
慎二 中村
史郎 鈴木
史郎 鈴木
正之 小松
正之 小松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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
Priority to JP2013094664A priority Critical patent/JP5474233B1/en
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2014019819A priority patent/JP5669967B2/en
Priority to PCT/JP2014/061741 priority patent/WO2014175439A1/en
Publication of JP2014217046A publication Critical patent/JP2014217046A/en
Application granted granted Critical
Publication of JP5669967B2 publication Critical patent/JP5669967B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation 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/283Processing of data at an internetworking point of a home automation network
    • 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
    • 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
    • G08C2201/42Transmitting or receiving remote control signals via a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、通信装置、アドレス管理方法、プログラム及び通信システムに関する。   The present invention relates to a communication device, an address management method, a program, and a communication system.

コントローラやモバイル端末等の装置と宅内の機器とを通信ネットワークを介してデータ通信可能に接続し、コントローラ等の装置から機器を操作したり機器の状態を取得するシステムが知られている(例えば、特許文献1)。   A system is known in which devices such as controllers and mobile terminals are connected to home devices via a communication network so that data communication is possible, and devices are operated from devices such as controllers and the status of devices is acquired (for example, Patent Document 1).

このようなシステムでは、各機器にはIPアドレスが割り当てられている。コントローラ等の装置は、IPアドレスと、このIPアドレスに対応する機器の識別情報とを対応付けたテーブルを保持している。コントローラ等の装置は、このテーブルを参照して、通信したい機器のIPアドレスを取得し、機器と通信することが可能となる。   In such a system, each device is assigned an IP address. A device such as a controller holds a table in which IP addresses are associated with device identification information corresponding to the IP addresses. A device such as a controller can refer to this table to acquire the IP address of a device desired to communicate and communicate with the device.

ここで、機器のIPアドレスが変更された場合を考える。この場合、変更されたIPアドレスと機器との対応が上記テーブルには反映されないため、コントローラは、変更されたIPアドレスを取得することができず、この機器と通信することができなくなってしまう。   Here, consider a case where the IP address of the device is changed. In this case, since the correspondence between the changed IP address and the device is not reflected in the table, the controller cannot acquire the changed IP address and cannot communicate with the device.

この点に関し、機器が、自身の変更されたIPアドレスをブロードキャストで通知する仕組みが知られている。この通知を受信したコントローラ等の装置は、通知されたIPアドレスに対して機器の識別情報の取得要求を送信し、機器から返信された識別情報とIPアドレスとを対応付けてテーブルに新たに登録する。これにより、機器のIPアドレスが変更された場合でも、コントローラ等の装置は、この機器と通信することが可能となる。   With respect to this point, a mechanism is known in which a device notifies its changed IP address by broadcast. Upon receiving this notification, a device such as a controller transmits a request for acquiring device identification information to the notified IP address, and newly registers the identification information returned from the device in association with the IP address in the table. To do. Accordingly, even when the IP address of the device is changed, a device such as a controller can communicate with the device.

特開2012−129916号公報JP2012-129916A

上述した手法では、機器はブロードキャストでIPアドレスの変更を通知するため、通信環境によっては、コントローラ等の装置がその通知を確実に受信できるとは限らなかった。   In the above-described method, since the device notifies the change of the IP address by broadcast, depending on the communication environment, the device such as the controller may not be able to reliably receive the notification.

本発明は、上記実情に鑑みてなされたものであり、機器のIPアドレスが変更されても、確実に通信を行うことが可能な通信装置、アドレス管理方法、プログラム及び通信システムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides a communication device, an address management method, a program, and a communication system capable of reliably performing communication even when the IP address of a device is changed. Objective.

上記目的を達成するため、本発明の通信装置は、
通信ネットワークを介して、複数の機器それぞれに接続した各通信アダプタと通信する通信装置であって、
前記通信アダプタ毎に、該通信アダプタに割り当てられているIPアドレスと、該通信アダプタの識別情報と、該通信アダプタに接続されている機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段と、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記通信アダプタと通信を試み、該通信アダプタに割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該通信アダプタに接続されている機器の種類を判別する種類判別手段と、
前記種類判別手段が判別した種類の機器に接続した通信アダプタを対象とした識別情報の取得要求を、前記各通信アダプタに送信する識別情報要求手段と、
前記送信した取得要求に対して前記通信アダプタから返信された識別情報のうち、IPアドレスの変更が検知された通信アダプタの識別情報と一致するものを特定する識別情報特定手段と、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した通信アダプタのIPアドレスに更新する機器対応更新手段と、
を備えることを特徴とする。
In order to achieve the above object, the communication device of the present invention provides:
A communication device that communicates with each communication adapter connected to each of a plurality of devices via a communication network,
For each communication adapter, an IP address assigned to the communication adapter, identification information of the communication adapter, and information indicating the type of the device connected to the communication adapter are stored in association with each other. Storage means;
When the communication with the communication adapter is attempted by designating the IP address stored in the device correspondence storage means, and the change of the IP address assigned to the communication adapter is detected, the device correspondence storage means is referred to. A type discriminating means for discriminating the type of equipment connected to the communication adapter;
Identification information requesting means for transmitting an identification information acquisition request for a communication adapter connected to the type of device determined by the type determining means to each of the communication adapters;
Identification information identifying means for identifying one of the identification information returned from the communication adapter in response to the transmitted acquisition request that matches the identification information of the communication adapter in which the change of the IP address is detected;
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information identified by the identification information identification unit to the IP address of the communication adapter that returned the identification information;
It is characterized by providing.

本発明によれば、IPアドレスが変更された機器と同じ種類の機器のみを対象とした識別情報の取得要求を送信するため、これに対する応答の数を少なくすることができる。従って、IPアドレスが変更された場合であっても、確実に通信を行うことができる。   According to the present invention, since an identification information acquisition request is sent only to a device of the same type as the device whose IP address has been changed, the number of responses to the request can be reduced. Therefore, even if the IP address is changed, communication can be performed reliably.

本発明の実施形態に係る機器制御システムの構成を示す図である。It is a figure which shows the structure of the apparatus control system which concerns on embodiment of this invention. コントローラの構成を示すブロック図である。It is a block diagram which shows the structure of a controller. 機器対応テーブルの構成例を示す図である。It is a figure which shows the structural example of an apparatus corresponding table. 通信アダプタの構成を示すブロック図である。It is a block diagram which shows the structure of a communication adapter. 機器状態取得処理の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of an apparatus state acquisition process. 機器状態取得処理の具体例を説明するための図である。It is a figure for demonstrating the specific example of an apparatus state acquisition process. 本発明の実施形態に係る機器制御システムの他の構成を示す図である。It is a figure which shows the other structure of the apparatus control system which concerns on embodiment of this invention.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付す。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

図1は、本発明の実施形態に係る機器制御システム1(通信システム)の全体構成を示す図である。この機器制御システム1は、住居7内の各機器4(4A,4B,4C,…)の状態を監視したり、動作を制御するためのシステムである。機器制御システム1は、コントローラ2と、通信アダプタ3(3A,3B,3C,…)と、機器4(4A,4B,4C,…)と、を備える。コントローラ2と各通信アダプタ3とは、ECHONET Liteに準拠した宅内ネットワーク5を介して、互いにデータ通信可能に接続されている。また、通信アダプタ3A,3B,3C,…と、それぞれ対応する機器4A,4B,4C,…とは、シリアルケーブル等の通信線6(6A,6B,6C,…)を介して、互いにデータ通信可能に接続されている。   FIG. 1 is a diagram showing an overall configuration of a device control system 1 (communication system) according to an embodiment of the present invention. The device control system 1 is a system for monitoring the state of each device 4 (4A, 4B, 4C,...) In the residence 7 and controlling the operation. The device control system 1 includes a controller 2, a communication adapter 3 (3A, 3B, 3C,...), And a device 4 (4A, 4B, 4C,...). The controller 2 and each communication adapter 3 are connected to each other so as to be able to perform data communication with each other via a home network 5 compliant with ECHONET Lite. Further, the communication adapters 3A, 3B, 3C,... And the corresponding devices 4A, 4B, 4C,... Communicate with each other via a communication line 6 (6A, 6B, 6C,...) Such as a serial cable. Connected as possible.

コントローラ2(通信装置)は、宅内ネットワーク5および通信アダプタ3を介して、機器4と通信を行い、機器4の遠隔制御や状態の取得を行う。コントローラ2は、図2に示すように、ネットワーク通信部21と、表示部22と、入力部23と、記憶部24と、制御部25と、を備える。   The controller 2 (communication device) communicates with the device 4 via the home network 5 and the communication adapter 3 to perform remote control of the device 4 and acquisition of the state. As illustrated in FIG. 2, the controller 2 includes a network communication unit 21, a display unit 22, an input unit 23, a storage unit 24, and a control unit 25.

ネットワーク通信部21は、例えば、無線通信用のインタフェースを備え、制御部25の制御の下、宅内ネットワーク5を介して、通信アダプタ3とデータ通信を行う。   The network communication unit 21 includes, for example, a wireless communication interface, and performs data communication with the communication adapter 3 via the home network 5 under the control of the control unit 25.

表示部22は、液晶パネル等を備え、制御部25の制御の下、機器4を管理するための各種の画面等を表示する。   The display unit 22 includes a liquid crystal panel and displays various screens for managing the device 4 under the control of the control unit 25.

入力部23は、例えば、タッチパネルであり、ユーザからの操作入力を受け付ける処理を行う。例えば、入力部23としてタッチパネルを採用する場合、静電容量の変化を検出する透明な平板状の静電容量センサが、液晶表示器に重ねて実装される。この静電容量センサにより、ユーザの指先や専用のペン等によるタッチ面(ユーザにとっては液晶表示器の表示画面)の接触(押圧)が検出されると、その位置の情報(座標データ)が制御部25に出力される。制御部25は、その位置情報に基づいて、ユーザの操作内容を判別する。ユーザが入力部23を介して入力操作を行うと、その操作内容に応じた信号が制御部25に出力される。   The input unit 23 is a touch panel, for example, and performs a process of receiving an operation input from the user. For example, when a touch panel is employed as the input unit 23, a transparent flat plate capacitive sensor that detects a change in electrostatic capacitance is mounted on the liquid crystal display. When this capacitive sensor detects contact (press) on the touch surface (for the user, the display screen of the liquid crystal display) with the user's fingertip or a dedicated pen, the position information (coordinate data) is controlled. Is output to the unit 25. The control unit 25 determines the operation content of the user based on the position information. When the user performs an input operation via the input unit 23, a signal corresponding to the operation content is output to the control unit 25.

記憶部24は、いわゆる二次記憶装置(補助記憶装置)としての役割を担い、例えば、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ等で構成される。記憶部24は、管理対象の機器4の一覧、機器4の操作内容の一覧、機器4管理用の画面データ、制御部25が実行するプログラム等を記憶する。また、記憶部24は、機器対応テーブル241と機器状態テーブル242とを備える。   The storage unit 24 plays a role as a so-called secondary storage device (auxiliary storage device), and includes, for example, a readable and writable nonvolatile semiconductor memory such as a flash memory. The storage unit 24 stores a list of devices 4 to be managed, a list of operation contents of the devices 4, screen data for managing the devices 4, programs executed by the control unit 25, and the like. The storage unit 24 includes a device correspondence table 241 and a device state table 242.

機器対応テーブル241は、通信アダプタ3と、この通信アダプタ3に接続されている機器4との対応関係を定義するテーブルである。この機器対応テーブル241を参照することにより、コントローラ2は、通信アダプタ3を介して、所望の機器と通信することが可能となる。具体的には、機器対応テーブル241には、図3に示すように、通信アダプタ3に付与されているIPアドレスと、この通信アダプタ3の識別情報であるMACアドレス(Media Access Contorl address)と、この通信アダプタ3に接続されている機器の種類とが対応付けられて格納される。   The device correspondence table 241 is a table that defines a correspondence relationship between the communication adapter 3 and the device 4 connected to the communication adapter 3. By referring to this device correspondence table 241, the controller 2 can communicate with a desired device via the communication adapter 3. Specifically, as shown in FIG. 3, the device correspondence table 241 includes an IP address assigned to the communication adapter 3, a MAC address (Media Access Control address) that is identification information of the communication adapter 3, The type of device connected to the communication adapter 3 is stored in association with it.

機器状態テーブル242は、各機器4の動作状態等が格納されるテーブルである。機器状態テーブル242の情報は、定期的に、最新の情報に更新される。   The device state table 242 is a table in which the operation state of each device 4 is stored. Information in the device status table 242 is periodically updated to the latest information.

図2に戻り、制御部25は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等(何れも図示せず)を備え、CPUが、RAMをワークメモリとして用い、ROMや記憶部24に記憶されている各種プログラムを適宜実行することにより、当該コントローラ2全体を制御する。   Returning to FIG. 2, the control unit 25 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like (none of which are shown), and the CPU uses the RAM as a work memory. The controller 2 as a whole is controlled by appropriately executing various programs stored in the ROM and the storage unit 24.

例えば、制御部25は、所定の時間毎(例えば、30秒毎)に、宅内ネットワーク5を介して通信アダプタ3と通信し、この通信アダプタ3に接続されている各機器4の状態を取得して機器状態テーブル242の内容を更新する。その際、通信エラーとなり、機器4の状態を取得できなかった場合、制御部25は、この機器4と同種の機器4と接続する通信アダプタ3に対して、識別番号の取得を要求する。制御部25は、この要求に対して通信アダプタ3から返信されてきた識別情報(MACアドレス)と、通信エラーとなった機器4の識別情報(MACアドレス)とが一致する場合に、機器対応テーブル241のこの通信アダプタ3におけるIPアドレスと識別情報との対応関係を更新する。なお、制御部25の行うこれらの処理の詳細については後述する。   For example, the control unit 25 communicates with the communication adapter 3 via the home network 5 every predetermined time (for example, every 30 seconds), and acquires the state of each device 4 connected to the communication adapter 3. The contents of the device status table 242 are updated. At this time, if a communication error occurs and the state of the device 4 cannot be acquired, the control unit 25 requests the communication adapter 3 connected to the same type of device 4 as the device 4 to acquire an identification number. When the identification information (MAC address) returned from the communication adapter 3 in response to this request matches the identification information (MAC address) of the device 4 that has caused a communication error, the control unit 25 matches the device correspondence table. The correspondence relationship between the IP address and the identification information in the communication adapter 3 of 241 is updated. Details of these processes performed by the control unit 25 will be described later.

図1に戻り、通信アダプタ3は、通信線6を介して接続される機器4を宅内ネットワーク5に接続させるための装置である。通信アダプタ3は、図4に示すように、ネットワーク通信部31と、機器通信部32と、記憶部33と、制御部34と、を備える。   Returning to FIG. 1, the communication adapter 3 is a device for connecting the device 4 connected via the communication line 6 to the home network 5. As illustrated in FIG. 4, the communication adapter 3 includes a network communication unit 31, a device communication unit 32, a storage unit 33, and a control unit 34.

ネットワーク通信部31は、宅内ネットワーク5に接続するための通信インタフェースを備え、制御部34の制御の下、宅内ネットワーク5を介して、コントローラ2とデータ通信を行う。機器通信部32は、通信線6と接続するためのコネクタ等を備え、制御部34の制御の下、通信線6を介して、機器4とデータ通信を行う。   The network communication unit 31 includes a communication interface for connecting to the home network 5 and performs data communication with the controller 2 via the home network 5 under the control of the control unit 34. The device communication unit 32 includes a connector or the like for connecting to the communication line 6, and performs data communication with the device 4 through the communication line 6 under the control of the control unit 34.

記憶部33は、例えば、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ等で構成され、制御部34が実行するプログラムや各種の固定データを記憶する。また、記憶部33は、機器種類情報331と、機器状態情報332とを記憶する。   The storage unit 33 is configured by, for example, a readable / writable nonvolatile semiconductor memory such as a flash memory, and stores a program executed by the control unit 34 and various fixed data. In addition, the storage unit 33 stores device type information 331 and device state information 332.

機器種類情報331は、接続されている機器4の種類を示す情報であり、「冷蔵庫」、「テレビ」、「センサ」等を示す。機器種類情報331は、例えば、通信アダプタ3が機器4に初めて接続された際に、機器4から取得され、記憶部33に保存される。   The device type information 331 is information indicating the type of the connected device 4 and indicates “refrigerator”, “TV”, “sensor”, and the like. The device type information 331 is acquired from the device 4 and stored in the storage unit 33 when the communication adapter 3 is connected to the device 4 for the first time, for example.

機器状態情報332は、接続されている機器4の動作状態等を示す情報である。例えば、機器4がエアコンの場合、機器状態情報332は、設定温度、運転モード、風量等を示す情報となる。   The device state information 332 is information indicating the operation state and the like of the connected device 4. For example, when the device 4 is an air conditioner, the device state information 332 is information indicating a set temperature, an operation mode, an air volume, and the like.

制御部34は、CPU、ROM、RAM等(何れも図示せず)を備え、CPUが、RAMをワークメモリとして用い、ROMや記憶部33に記憶されている各種プログラムを適宜実行することにより、通信アダプタ3全体を制御する。   The control unit 34 includes a CPU, a ROM, a RAM, and the like (all not shown), and the CPU uses the RAM as a work memory and appropriately executes various programs stored in the ROM and the storage unit 33. The entire communication adapter 3 is controlled.

例えば、制御部34は、所定の時間毎(例えば、1秒毎)に、接続されている機器4に状態の取得を要求して機器状態情報331を取得し、記憶部33に記憶する。また、制御部34は、上述したように、所定の時間毎(例えば、30秒毎)のコントローラ2からの要求に応じて、機器状態情報331をコントローラ2に送信する。また、制御部34は、コントローラ2からの要求に応じて、自身のMACアドレスをコントローラ2に送信する。   For example, the control unit 34 requests the connected device 4 to acquire the state every predetermined time (for example, every second), acquires the device state information 331, and stores the device state information 331 in the storage unit 33. Further, as described above, the control unit 34 transmits the device state information 331 to the controller 2 in response to a request from the controller 2 every predetermined time (for example, every 30 seconds). Further, the control unit 34 transmits its own MAC address to the controller 2 in response to a request from the controller 2.

図1に戻り、機器4は、住居7で使用されるエアコン、照明機器、炊飯器、IH調理器、除湿機、テレビ等の機器である。   Returning to FIG. 1, the device 4 is a device such as an air conditioner, a lighting device, a rice cooker, an IH cooker, a dehumidifier, and a television used in the house 7.

続いて、上記のように構成した機器制御システム1のコントローラ2が実施する機器状態取得処理の動作について、図5のフローチャートを参照して説明する。コントローラ2は、電源が投入されると、定期的に、通信アダプタ3から機器状態情報332を取得する機器状態取得処理を実行する。   Next, the operation of the device state acquisition process performed by the controller 2 of the device control system 1 configured as described above will be described with reference to the flowchart of FIG. When the power is turned on, the controller 2 periodically executes device state acquisition processing for acquiring device state information 332 from the communication adapter 3.

まず、制御部25は、所定時間(例えば、30秒)が経過したか否かを判別する(ステップS101)。所定時間が経過していない場合(ステップS101;No)、制御部25は処理を待機する。   First, the control unit 25 determines whether or not a predetermined time (for example, 30 seconds) has elapsed (step S101). If the predetermined time has not elapsed (step S101; No), the control unit 25 waits for processing.

所定時間が経過した場合(ステップS101;Yes)、制御部25は、機器対応テーブル241に登録されている通信アダプタ3のIPアドレスを1つ選択する(ステップS102)。そして、制御部25は、ネットワーク通信部21を制御し、宅内ネットワーク5を介して、選択したIPアドレス宛に、機器状態の取得要求(状態取得要求)を送信する(ステップS103)。   When the predetermined time has elapsed (step S101; Yes), the control unit 25 selects one IP address of the communication adapter 3 registered in the device correspondence table 241 (step S102). Then, the control unit 25 controls the network communication unit 21 to transmit a device status acquisition request (status acquisition request) to the selected IP address via the home network 5 (step S103).

状態取得要求の送信先のIPアドレスが割り当てられている通信アダプタ3の制御部34は、状態取得要求を受信すると、機器状態情報332および自身のMACアドレスを含んだ応答(状態取得応答)をコントローラ2に返信する。   When the control unit 34 of the communication adapter 3 to which the IP address of the transmission destination of the status acquisition request is assigned receives the status acquisition request, the controller 34 sends a response (status acquisition response) including the device status information 332 and its own MAC address. Reply to 2.

一方、IPアドレスが変更される等して、状態取得要求の送信先に指定したIPアドレスが割り当てられている通信アダプタ3がない場合、宅内ネットワーク5は、コントローラ5からの状態取得要求に対してエラーコードを返信する。   On the other hand, if there is no communication adapter 3 to which the IP address designated as the transmission destination of the status acquisition request is assigned because the IP address is changed, the home network 5 responds to the status acquisition request from the controller 5. Returns an error code.

コントローラ2の制御部25は、ステップS103で送信した状態取得要求に対する返信(応答)を受信すると(ステップS104)、通信エラーが発生したか否かを判別する(ステップS105)。具体的には、コントローラ2は、エラーコードが返信された場合にエラーと判別する。若しくは、コントローラ2は、通信アダプタ3から受信した状態取得応答に含まれる送信元のMACアドレスと、ステップS103で送信した状態取得要求の送信先のIPアドレスに対応付けられているMACアドレスとが一致しない場合に、通信エラーと判別する。   When the control unit 25 of the controller 2 receives a reply (response) to the status acquisition request transmitted in step S103 (step S104), it determines whether or not a communication error has occurred (step S105). Specifically, the controller 2 determines an error when an error code is returned. Alternatively, the controller 2 matches the MAC address of the transmission source included in the status acquisition response received from the communication adapter 3 with the MAC address associated with the transmission destination IP address of the status acquisition request transmitted in step S103. If not, it is determined as a communication error.

通信エラーが発生していないと判別された場合(ステップS105;No)、制御部25は、受信した状態取得応答に含まれる機器状態情報332を用いて機器状態テーブル242の内容を更新し(ステップS106)、ステップS112に処理は移る。   When it is determined that no communication error has occurred (step S105; No), the control unit 25 updates the contents of the device state table 242 using the device state information 332 included in the received state acquisition response (step S105). S106), the process proceeds to step S112.

一方、通信エラーが発生したと判別された場合(ステップS105;Yes)、制御部25は、この通信エラーにより通信できなかった機器の種類を特定する(ステップS107)。具体的には、制御部25は、機器対応テーブル241を参照して、ステップS102で選択したIPアドレスに対応付けられている機器4の種類を特定すればよい。   On the other hand, when it is determined that a communication error has occurred (step S105; Yes), the control unit 25 identifies the type of device that could not communicate due to this communication error (step S107). Specifically, the control unit 25 may identify the type of the device 4 associated with the IP address selected in step S102 with reference to the device correspondence table 241.

そして、制御部25は、ステップS107で特定した種類の機器4からMACアドレスの取得を要求するMACアドレス取得要求をブロードキャストで各通信アダプタ3に送信する(ステップS108)。   Then, the control unit 25 broadcasts a MAC address acquisition request for requesting acquisition of a MAC address from the type of device 4 specified in step S107 to each communication adapter 3 (step S108).

MACアドレス取得要求を受信した各通信アダプタ3の制御部34は、機器種類情報331を参照して、自身がこの要求の対象機種である否かを判別する。要求対象でないと判別した場合、制御部34は、この要求に対して応答しない。一方、要求対象であると判別した場合、制御部34は、自身のMACアドレスとIPアドレスとをコントローラ2に返信する。   The control unit 34 of each communication adapter 3 that has received the MAC address acquisition request refers to the device type information 331 and determines whether or not it is the target model of this request. If it is determined that the request is not made, the control unit 34 does not respond to this request. On the other hand, when determining that it is a request target, the control unit 34 returns its own MAC address and IP address to the controller 2.

コントローラ2の制御部25は、各通信アダプタ3からMACアドレスを受信すると(ステップS109)、受信したMACアドレスのうち、ステップS105で通信エラーと判別された通信アダプタ3のMACアドレスと一致するものを特定する(ステップS110)。   When the control unit 25 of the controller 2 receives the MAC address from each communication adapter 3 (step S109), the control unit 25 of the received MAC addresses matches the MAC address of the communication adapter 3 determined as a communication error in step S105. Specify (step S110).

そして、制御部25は、機器対応テーブル241でステップS110で特定したMACアドレスに対応付けられているIPアドレスを、そのMACアドレスの送信元の通信アダプタ3のIPアドレスに更新し(ステップS111)、ステップS112に処理は移る。     Then, the control unit 25 updates the IP address associated with the MAC address specified in step S110 in the device correspondence table 241 to the IP address of the communication adapter 3 that is the transmission source of the MAC address (step S111). The process moves to step S112.

ステップS112において、制御部25は、機器対応テーブル241に登録されている各通信アダプタ3に割り当てられているIPアドレスを全て選択したか否かを判別する(ステップS112)。未選択のIPアドレスがある場合(ステップS112;No)、ステップS102に処理は戻り、制御部25は、未選択のIPアドレスを選択して機器の状態取得を要求し、通信エラーが発生した場合に機器対応テーブル241を更新する一連の処理を繰り返す(ステップS102〜ステップS111)。一方、未選択のIPアドレスがある場合(ステップS112;No)、処理はステップS101に戻る。   In step S112, the control unit 25 determines whether or not all IP addresses assigned to the respective communication adapters 3 registered in the device correspondence table 241 have been selected (step S112). If there is an unselected IP address (step S112; No), the process returns to step S102, and the control unit 25 selects an unselected IP address to request device status acquisition and a communication error occurs. A series of processing for updating the device correspondence table 241 is repeated (steps S102 to S111). On the other hand, when there is an unselected IP address (step S112; No), the process returns to step S101.

(具体例)
続いて、上述した機器状態取得処理について、図6を用いてより具体的に説明する。なお、前提として、図3に示すような情報が機器対応テーブル241に格納されているものとする。
(Concrete example)
Next, the above-described device state acquisition process will be described more specifically with reference to FIG. It is assumed that information as shown in FIG. 3 is stored in the device correspondence table 241 as a premise.

まず、図3に示す機器対応テーブル241に登録されている各通信アダプタ3A〜3BのIPアドレスに変更がない場合において、上述した機器状態取得処理(ステップT1)が開始された場合を考える。この場合、コントローラ2の制御部25が、IPアドレス「192.168.32.100」を宛先とする状態取得要求を送信すると(ステップT2)、そのIPアドレスが割り当てられている通信アダプタ3Aから、そのMACアドレス「04-A3-43-5F-43-23」を含んだ状態取得応答が送信される(ステップT3)。そして、このIPアドレス「192.168.32.100」とMACアドレス「04-A3-43-5F-43-23」とは、図3に示す機器対応テーブル241に対応付けられて登録されているため、通信は成功と判断される(ステップT4)。なお、ここでは図示していないが、その後、通信アダプタ3B、3Cに対しても状態取得要求が送信されてその応答が返信されるが、何れも通信成功と判断される。   First, let us consider a case where the above-described device state acquisition process (step T1) is started when there is no change in the IP address of each of the communication adapters 3A to 3B registered in the device correspondence table 241 shown in FIG. In this case, when the control unit 25 of the controller 2 transmits a status acquisition request with the IP address “192.168.32.100” as the destination (step T2), the MAC address “MAC address“ from the communication adapter 3A to which the IP address is allocated is assigned. A status acquisition response including “04-A3-43-5F-43-23” is transmitted (step T3). The IP address “192.168.32.100” and the MAC address “04-A3-43-5F-43-23” are registered in association with the device correspondence table 241 shown in FIG. Judgment is successful (step T4). Although not shown here, after that, a status acquisition request is transmitted to the communication adapters 3B and 3C and a response is returned, and it is determined that the communication is successful.

その後、通信アダプタ3A,3Bの再起動がなされた際等に、通信アダプタ3Aと3BのIPアドレスが入れ替えられた場合を考える。即ち、通信アダプタ3AのIPアドレスが「192.168.32.100」から「192.168.32.102」に、通信アダプタ3BのIPアドレスが「192.168.32.102」から「192.168.32.100」に変更されたこととなる。   Then, consider a case where the IP addresses of the communication adapters 3A and 3B are switched when the communication adapters 3A and 3B are restarted. That is, the IP address of the communication adapter 3A is changed from “192.168.32.100” to “192.168.32.102”, and the IP address of the communication adapter 3B is changed from “192.168.32.102” to “192.168.32.100”.

そして、このIPアドレスの変更後、機器状態取得処理(ステップT5)が開始された場合を考える。この場合、コントローラ2の制御部25が、IPアドレス「192.168.32.100」を宛先とする状態取得要求を送信すると(ステップT6)、そのIPアドレスが割り当てられている通信アダプタ3Bから、そのMACアドレス「04-A3-43-5F-43-24」を含んだ状態取得応答が送信される(ステップT7)。そして、このIPアドレス「192.168.32.100」とMACアドレス「04-A3-43-5F-43-24」とは、図3に示す機器対応テーブル241に対応付けられて登録されていない。従って、通信はエラーと判断される(ステップT8)。   Then, consider the case where the device status acquisition process (step T5) is started after this IP address change. In this case, when the control unit 25 of the controller 2 transmits a status acquisition request with the IP address “192.168.32.100” as the destination (step T6), the MAC address “MAC address“ from the communication adapter 3B to which the IP address is assigned is sent. A status acquisition response including “04-A3-43-5F-43-24” is transmitted (step T7). The IP address “192.168.32.100” and the MAC address “04-A3-43-5F-43-24” are not registered in association with the device correspondence table 241 shown in FIG. Therefore, the communication is determined to be an error (step T8).

そして、図3より、通信エラーと判断されたIPアドレス「192.168.32.100」に対応する機器4の種類は「エアコン」であるため、コントローラ2の制御部25は、機種「エアコン」を対象としたMACアドレスの取得を要求するMACアドレス取得要求が各通信アダプタ3A〜3Cにブロードキャストで送信する(ステップT9,ステップT10,ステップT11)。   From FIG. 3, since the type of the device 4 corresponding to the IP address “192.168.32.100” determined to be a communication error is “air conditioner”, the control unit 25 of the controller 2 targets the model “air conditioner”. A MAC address acquisition request for requesting acquisition of the MAC address is broadcasted to each of the communication adapters 3A to 3C (step T9, step T10, and step T11).

通信アダプタ3Aに接続する機器4の機種は「エアコン」であるため、MACアドレス取得要求をブロードキャストで受信すると、通信アダプタ3Aは、自身のMACアドレス「04-A3-43-5F-43-23」を送信する(ステップT12)。しかしながら、送信された通信アダプタ3AのMACアドレスと、ステップT8で通信エラーと判断された通信アダプタ3Bとは異なるため(ステップT13)、ここではIPアドレスの更新はなされない。   Since the model of the device 4 connected to the communication adapter 3A is “air conditioner”, when the MAC address acquisition request is received by broadcast, the communication adapter 3A receives its own MAC address “04-A3-43-5F-43-23”. Is transmitted (step T12). However, since the transmitted MAC address of the communication adapter 3A is different from the communication adapter 3B determined to have a communication error in step T8 (step T13), the IP address is not updated here.

また、通信アダプタ3Bに接続する機器4の機種は「エアコン」であるため、MACアドレス取得要求をブロードキャストで受信すると、通信アダプタ3Bは、自身のMACアドレス「04-A3-43-5F-43-24」を送信する(ステップT14)。この通知されたMACアドレスと、ステップT8で通信エラーと判断された通信アダプタ3BのMACアドレスは一致する(ステップT15)。従って、コントローラ2の制御部25は、図3に示す機器対応テーブル241でMACアドレス「04-A3-43-5F-43-24」に対応付けられているIPアドレス「192.168.32.102」を、ステップT14でMACアドレスを送信した通信アダプタ3Bの現在のIPアドレス「192.168.32.100」に更新する(ステップT16)。これにより、通信アダプタ3Bの変更されたIPアドレスとMACアドレスとの関係が機器対応テーブル241に正しく反映されたこととなり、以降は、コントローラ2は、正常に通信アダプタ3Bと通信することが可能となる。なお、通信アダプタ3Aについては、その後、通信アダプタ3Aに状態取得要求が送信された際に、機器対応テーブル241のIPアドレスが更新される。   Further, since the model of the device 4 connected to the communication adapter 3B is “air conditioner”, when the MAC address acquisition request is received by broadcast, the communication adapter 3B receives its own MAC address “04-A3-43-5F-43-”. 24 "is transmitted (step T14). The notified MAC address matches the MAC address of the communication adapter 3B determined as a communication error in step T8 (step T15). Therefore, the control unit 25 of the controller 2 sets the IP address “192.168.32.102” associated with the MAC address “04-A3-43-5F-43-24” in the device correspondence table 241 shown in FIG. The communication adapter 3B that has transmitted the MAC address at T14 is updated to the current IP address “192.168.32.100” (step T16). As a result, the relationship between the changed IP address and the MAC address of the communication adapter 3B is correctly reflected in the device correspondence table 241, and thereafter, the controller 2 can normally communicate with the communication adapter 3B. Become. For the communication adapter 3A, the IP address in the device correspondence table 241 is updated when a status acquisition request is transmitted to the communication adapter 3A.

また、通信アダプタ3Cに接続する機器4の機種は「テレビ」であるため、通信アダプタ3CはMACアドレス取得要求をブロードキャストで受信しても、この要求に対してコントローラ2に応答しない。   Further, since the model of the device 4 connected to the communication adapter 3C is “TV”, the communication adapter 3C does not respond to the controller 2 in response to the request even if it receives the MAC address acquisition request by broadcast.

このように、本実施形態によれば、コントローラ2は、IPアドレスが変更されて通信エラーが発生した際に、接続できない機器4と同じ種類の機器4に接続されている通信アダプタ3を対象にした識別情報(MACアドレス)の取得要求をブロードキャストで送信する。そして、コントローラ2は、その応答結果に基づいて、機器対応テーブル241を更新して、通信エラーを解消する。従って、接続できない機器4と同じ種類の機器4に接続されている通信アダプタ3からしか、応答が来ないため、応答の数を減らすことができ、確実に通信エラーを解消することが可能となる。   Thus, according to the present embodiment, the controller 2 targets the communication adapter 3 connected to the same type of device 4 as the device 4 that cannot be connected when a communication error occurs due to an IP address change. The identification information (MAC address) acquisition request is transmitted by broadcast. Then, the controller 2 updates the device correspondence table 241 based on the response result to eliminate the communication error. Therefore, since a response can be received only from the communication adapter 3 connected to the same type of device 4 as the device 4 that cannot be connected, the number of responses can be reduced and communication errors can be reliably eliminated. .

なお、本発明は、上記実施形態に限定されず、本発明の要旨を逸脱しない部分での種々の修正は勿論可能である。   In addition, this invention is not limited to the said embodiment, Of course, the various correction in the part which does not deviate from the summary of this invention is possible.

例えば、上記実施形態では、通信アダプタ3の識別情報として、MACアドレスを採用したが、シリアル番号等、他の識別情報も採用可能である。   For example, in the above embodiment, the MAC address is adopted as the identification information of the communication adapter 3, but other identification information such as a serial number can also be adopted.

また、機器4が、宅内ネットワーク5との通信機能を有する機器である場合、図7に示すように、通信アダプタ3を用いずに、機器制御システム1を構成してもよい。この場合、コントローラ2は、機器4に割り当てられているIPアドレスを指定し、宅内ネットワーク5を介して、機器4と直接通信を行うことが可能となる。また、この場合、機器対応テーブル241に格納されているIPアドレスとMACアドレスは、機器4を示すものとなる。   When the device 4 is a device having a communication function with the home network 5, the device control system 1 may be configured without using the communication adapter 3 as shown in FIG. In this case, the controller 2 can designate an IP address assigned to the device 4 and directly communicate with the device 4 via the home network 5. In this case, the IP address and the MAC address stored in the device correspondence table 241 indicate the device 4.

また、上記実施形態では、宅内ネットワーク5は、ECHONET Liteに準拠したものであると説明したが、他のプロトコルに準拠した宅内ネットワーク5であっても、本発明は適用可能である。   Moreover, although the said embodiment demonstrated that the home network 5 was based on ECHONET Lite, this invention is applicable also to the home network 5 based on another protocol.

また、例えば、本実施形態に係るコントローラ2の動作を規定する動作プログラムを既存のパーソナルコンピュータや情報端末機器等に適用することで、当該パーソナルコンピュータ等を本発明に係るコントローラ2として機能させることも可能である。   In addition, for example, by applying an operation program that defines the operation of the controller 2 according to the present embodiment to an existing personal computer, an information terminal device, or the like, the personal computer or the like may function as the controller 2 according to the present invention. Is possible.

また、このようなプログラムの配布方法は任意であり、例えば、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。   Further, the distribution method of such a program is arbitrary. For example, the program can be read by a computer such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card. It may be distributed by storing in a recording medium, or distributed via a communication network such as the Internet.

1 機器制御システム、2 コントローラ、3 通信アダプタ、4 機器、5 宅内ネットワーク、6 通信線、7 住居、21,31 ネットワーク通信部、22 表示部、23 入力部、24,33 記憶部、241 機器対応テーブル、242 機器状態テーブル、25,34 制御部、32 機器通信部、331 機器種類情報、332 機器状態情報 1 device control system, 2 controller, 3 communication adapter, 4 device, 5 home network, 6 communication line, 7 dwelling, 21, 31 network communication unit, 22 display unit, 23 input unit, 24, 33 storage unit, 241 device compatible Table, 242 Device status table, 25, 34 Control unit, 32 Device communication unit, 331 Device type information, 332 Device status information

Claims (8)

通信ネットワークを介して、複数の機器それぞれに接続した各通信アダプタと通信する通信装置であって、
前記通信アダプタ毎に、該通信アダプタに割り当てられているIPアドレスと、該通信アダプタの識別情報と、該通信アダプタに接続されている機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段と、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記通信アダプタと通信を試み、該通信アダプタに割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該通信アダプタに接続されている機器の種類を判別する種類判別手段と、
前記種類判別手段が判別した種類の機器に接続した通信アダプタを対象とした識別情報の取得要求を、前記各通信アダプタに送信する識別情報要求手段と、
前記送信した取得要求に対して前記通信アダプタから返信された識別情報のうち、IPアドレスの変更が検知された通信アダプタの識別情報と一致するものを特定する識別情報特定手段と、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した通信アダプタのIPアドレスに更新する機器対応更新手段と、
を備えることを特徴とする通信装置。
A communication device that communicates with each communication adapter connected to each of a plurality of devices via a communication network,
For each communication adapter, an IP address assigned to the communication adapter, identification information of the communication adapter, and information indicating the type of the device connected to the communication adapter are stored in association with each other. Storage means;
When the communication with the communication adapter is attempted by designating the IP address stored in the device correspondence storage means, and the change of the IP address assigned to the communication adapter is detected, the device correspondence storage means is referred to. A type discriminating means for discriminating the type of equipment connected to the communication adapter;
Identification information requesting means for transmitting an identification information acquisition request for a communication adapter connected to the type of device determined by the type determining means to each of the communication adapters;
Identification information identifying means for identifying one of the identification information returned from the communication adapter in response to the transmitted acquisition request that matches the identification information of the communication adapter in which the change of the IP address is detected;
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information identified by the identification information identification unit to the IP address of the communication adapter that returned the identification information;
A communication apparatus comprising:
通信ネットワークを介して、複数の機器と通信する通信装置であって、
前記機器毎に、該機器に割り当てられているIPアドレスと、該機器の識別情報と、該機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段と、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記機器と通信を試み、該機器に割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該機器の種類を判別する種類判別手段と、
前記種類判別手段が判別した種類の機器を対象とした識別情報の取得要求を、前記複数の機器に送信する識別情報要求手段と、
前記送信した取得要求に対して前記機器から返信された識別情報のうち、IPアドレスの変更が検知された機器の識別情報と一致するものを特定する識別情報特定手段と、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した機器のIPアドレスに更新する機器対応更新手段と、
を備えることを特徴とする通信装置。
A communication device that communicates with a plurality of devices via a communication network,
Device correspondence storage means for storing, in association with each device, an IP address assigned to the device, identification information of the device, and information indicating the type of the device;
Attempting to communicate with the device by designating the IP address stored in the device correspondence storage means, when detecting a change in the IP address assigned to the device, refer to the device correspondence storage means, Type discriminating means for discriminating the type of the device;
An identification information requesting means for transmitting an identification information acquisition request for the type of device determined by the type determining unit to the plurality of devices;
Identification information identifying means for identifying one of the identification information returned from the device in response to the transmitted acquisition request that matches the identification information of the device in which the change of the IP address is detected;
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information identified by the identification information identification unit to the IP address of the device that returned the identification information;
A communication apparatus comprising:
前記識別情報要求手段は、前記取得要求を一斉同報通信で送信する、
ことを特徴とする請求項1又は2に記載の通信装置。
The identification information request means transmits the acquisition request by simultaneous broadcast communication.
The communication apparatus according to claim 1 or 2, wherein
通信ネットワークを介して、複数の機器それぞれに接続した各通信アダプタと通信する際のアドレス管理方法であって、
前記通信アダプタ毎に、該通信アダプタに割り当てられているIPアドレスと、該通信アダプタの識別情報と、該通信アダプタに接続されている機器の種類を示す情報と、の対応関係が定義された機器対応テーブルからIPアドレスを指定して前記通信アダプタと通信を試み、該通信アダプタに割り当てられているIPアドレスの変更を検知した際に、前記機器対応テーブルを参照して、該通信アダプタに接続されている機器の種類を判別し、
前記判別した種類の機器に接続した通信アダプタを対象とした識別情報の取得要求を、前記各通信アダプタに送信し、
前記送信した取得要求に対して前記通信アダプタから返信された識別情報のうち、IPアドレスの変更が検知された通信アダプタの識別情報と一致するものを特定し、
前記機器対応テーブルにおいて、前記特定した識別情報に対応付けられているIPアドレスを、該識別情報を返信した通信アダプタのIPアドレスに更新する、
ことを特徴とするアドレス管理方法。
An address management method for communicating with each communication adapter connected to each of a plurality of devices via a communication network,
For each communication adapter, a device in which a correspondence relationship between the IP address assigned to the communication adapter, identification information of the communication adapter, and information indicating the type of device connected to the communication adapter is defined When an attempt is made to communicate with the communication adapter by designating an IP address from the correspondence table, and a change in the IP address assigned to the communication adapter is detected, the device correspondence table is referenced to connect to the communication adapter. Determine the type of device
An identification information acquisition request for a communication adapter connected to the determined type of device is sent to each communication adapter,
Among the identification information returned from the communication adapter in response to the transmitted acquisition request, specify the one that matches the identification information of the communication adapter in which the change of the IP address is detected,
In the device correspondence table, the IP address associated with the identified identification information is updated to the IP address of the communication adapter that returned the identification information.
An address management method characterized by the above.
通信ネットワークを介して、複数の機器と通信する際のアドレス管理方法であって、
前記機器毎に、該機器に割り当てられているIPアドレスと、該機器の識別情報と、該機器の種類を示す情報と、の対応関係が定義された機器対応テーブルからIPアドレスを指定して前記機器と通信を試み、該機器に割り当てられているIPアドレスの変更を検知した際に、前記機器対応テーブルを参照して、該機器の種類を判別し、
前記判別した種類の機器を対象とした識別情報の取得要求を、前記複数の機器に送信し、
前記送信した取得要求に対して前記機器から返信された識別情報のうち、IPアドレスの変更が検知された機器の識別情報と一致するものを特定し、
前記機器対応テーブルにおいて、前記特定した識別情報に対応付けられているIPアドレスを、該識別情報を返信した機器のIPアドレスに更新する、
ことを特徴とするアドレス管理方法。
An address management method for communicating with a plurality of devices via a communication network,
For each of the devices, the IP address is designated from the device correspondence table in which the correspondence relationship between the IP address assigned to the device, the identification information of the device, and the information indicating the type of the device is defined. When trying to communicate with the device and detecting a change in the IP address assigned to the device, refer to the device correspondence table to determine the type of the device,
An identification information acquisition request for the determined type of device is transmitted to the plurality of devices,
Among the identification information returned from the device in response to the transmitted acquisition request, identify the identification information that matches the identification information of the device in which the change of the IP address is detected,
In the device correspondence table, the IP address associated with the identified identification information is updated to the IP address of the device that returned the identification information.
An address management method characterized by the above.
通信ネットワークを介して、複数の機器それぞれに接続した各通信アダプタと通信するコンピュータを、
前記通信アダプタ毎に、該通信アダプタに割り当てられているIPアドレスと、該通信アダプタの識別情報と、該通信アダプタに接続されている機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記通信アダプタと通信を試み、該通信アダプタに割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該通信アダプタに接続されている機器の種類を判別する種類判別手段、
前記種類判別手段が判別した種類の機器に接続した通信アダプタを対象とした識別情報の取得要求を、前記各通信アダプタに送信する識別情報要求手段、
前記送信した取得要求に対して前記通信アダプタから返信された識別情報のうち、IPアドレスの変更が検知された通信アダプタの識別情報と一致するものを特定する識別情報特定手段、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した通信アダプタのIPアドレスに更新する機器対応更新手段、
として機能させるプログラム。
A computer that communicates with each communication adapter connected to each of a plurality of devices via a communication network,
For each communication adapter, an IP address assigned to the communication adapter, identification information of the communication adapter, and information indicating the type of the device connected to the communication adapter are stored in association with each other. Storage means,
When the communication with the communication adapter is attempted by designating the IP address stored in the device correspondence storage means, and the change of the IP address assigned to the communication adapter is detected, the device correspondence storage means is referred to. A type discriminating means for discriminating the type of equipment connected to the communication adapter;
Identification information requesting means for transmitting an identification information acquisition request for a communication adapter connected to the type of device determined by the type determining means to each of the communication adapters,
Identification information specifying means for specifying, among the identification information returned from the communication adapter in response to the transmitted acquisition request, one that matches the identification information of the communication adapter in which the change of the IP address is detected,
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information identified by the identification information identification unit to the IP address of the communication adapter that returned the identification information;
Program to function as.
通信ネットワークを介して、複数の機器と通信するコンピュータを、
前記機器毎に、該機器に割り当てられているIPアドレスと、該機器の識別情報と、該機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記機器と通信を試み、該機器に割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該機器の種類を判別する種類判別手段、
前記種類判別手段が判別した種類の機器を対象とした識別情報の取得要求を、前記複数の機器に送信する識別情報要求手段、
前記送信した取得要求に対して前記機器から返信された識別情報のうち、IPアドレスの変更が検知された機器の識別情報と一致するものを特定する識別情報特定手段、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した機器のIPアドレスに更新する機器対応更新手段、
として機能させるプログラム。
A computer that communicates with multiple devices via a communication network
Device correspondence storage means for storing, in association with each device, an IP address assigned to the device, identification information of the device, and information indicating the type of the device;
Attempting to communicate with the device by designating the IP address stored in the device correspondence storage means, when detecting a change in the IP address assigned to the device, refer to the device correspondence storage means, Type discriminating means for discriminating the type of the device;
An identification information requesting unit for transmitting an identification information acquisition request for the type of device determined by the type determining unit to the plurality of devices;
Identification information specifying means for specifying the identification information returned from the device in response to the transmitted acquisition request, which matches the identification information of the device in which the change of the IP address is detected,
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information specified by the identification information specifying unit to the IP address of the device that returned the identification information;
Program to function as.
通信装置と、該通信装置と通信ネットワークを介して接続され、複数の機器それぞれに接続した各通信アダプタと、を備える通信システムであって、
前記通信装置は、
前記通信アダプタ毎に、該通信アダプタに割り当てられているIPアドレスと、該通信アダプタの識別情報と、該通信アダプタに接続されている機器の種類を示す情報と、を対応付けて記憶する機器対応記憶手段と、
前記機器対応記憶手段に記憶されているIPアドレスを指定して前記通信アダプタと通信を試み、該通信アダプタに割り当てられているIPアドレスの変更を検知した際に、前記機器対応記憶手段を参照して、該通信アダプタに接続されている機器の種類を判別する種類判別手段と、
前記種類判別手段が判別した種類の機器に接続した通信アダプタを対象とした識別情報の取得要求を、前記各通信アダプタに送信する識別情報要求手段と、
を有し、
前記各通信アダプタは、
前記通信装置から受信した前記取得要求の対象であるか否かを判別する判別手段と、
前記判別手段が対象であると判別した場合、自身の識別情報を前記通信装置に送信する識別情報送信手段と、
を有し、
前記通信装置は、
前記送信した取得要求に対して前記通信アダプタから返信された識別情報のうち、IPアドレスの変更が検知された通信アダプタの識別情報と一致するものを特定する識別情報特定手段と、
前記機器対応記憶手段において、前記識別情報特定手段が特定した識別情報に対応付けられて記憶されているIPアドレスを、該識別情報を返信した通信アダプタのIPアドレスに更新する機器対応更新手段と、を有する、
ことを特徴とする通信システム。
A communication system comprising: a communication device; and each communication adapter connected to the communication device via a communication network and connected to each of a plurality of devices,
The communication device
For each communication adapter, an IP address assigned to the communication adapter, identification information of the communication adapter, and information indicating the type of the device connected to the communication adapter are stored in association with each other. Storage means;
When the communication with the communication adapter is attempted by designating the IP address stored in the device correspondence storage means, and the change of the IP address assigned to the communication adapter is detected, the device correspondence storage means is referred to. A type discriminating means for discriminating the type of equipment connected to the communication adapter;
Identification information requesting means for transmitting an identification information acquisition request for a communication adapter connected to the type of device determined by the type determining means to each of the communication adapters;
Have
Each communication adapter is
Determining means for determining whether or not the acquisition request is received from the communication device;
If it is determined that the determination unit is a target, identification information transmission unit that transmits its own identification information to the communication device;
Have
The communication device
Identification information identifying means for identifying one of the identification information returned from the communication adapter in response to the transmitted acquisition request that matches the identification information of the communication adapter in which the change of the IP address is detected;
In the device correspondence storage unit, a device correspondence update unit that updates the IP address stored in association with the identification information identified by the identification information identification unit to the IP address of the communication adapter that returned the identification information; Having
A communication system characterized by the above.
JP2014019819A 2013-04-26 2014-02-04 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM Active JP5669967B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2013094664A JP5474233B1 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP2014019819A JP5669967B2 (en) 2013-04-26 2014-02-04 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
PCT/JP2014/061741 WO2014175439A1 (en) 2013-04-26 2014-04-25 Communication apparatus, address management method, program, and communication system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013094664A JP5474233B1 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP2014019819A JP5669967B2 (en) 2013-04-26 2014-02-04 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013094664A Division JP5474233B1 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM

Publications (2)

Publication Number Publication Date
JP2014217046A JP2014217046A (en) 2014-11-17
JP5669967B2 true JP5669967B2 (en) 2015-02-18

Family

ID=57136130

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2013094664A Active JP5474233B1 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP2014019819A Active JP5669967B2 (en) 2013-04-26 2014-02-04 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2013094664A Active JP5474233B1 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM

Country Status (2)

Country Link
JP (2) JP5474233B1 (en)
WO (1) WO2014175439A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5474233B1 (en) * 2013-04-26 2014-04-16 三菱電機株式会社 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP6314696B2 (en) * 2014-06-30 2018-04-25 株式会社バッファロー Network system, address notification method in network system, information processing apparatus, and apparatus
JP6086110B2 (en) * 2014-11-14 2017-03-01 ダイキン工業株式会社 Verification system
CN106130859A (en) * 2016-06-23 2016-11-16 北京东土科技股份有限公司 A kind of industry internet field layer wideband bus configuration management implementation method
WO2022123717A1 (en) * 2020-12-10 2022-06-16 三菱電機株式会社 Device management system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63105546A (en) * 1986-10-22 1988-05-10 Toshiba Corp Multiple address packet transmission system
JP2004214850A (en) * 2002-12-27 2004-07-29 Hitachi Ltd Gateway
US8065435B2 (en) * 2006-05-29 2011-11-22 China Mobile Communications Corporation Method for assigning address to the intelligent information household appliance and the sub-equipment in the household network
JP5470938B2 (en) * 2009-03-16 2014-04-16 株式会社リコー Information processing apparatus, information processing method, and program
JP2012129916A (en) * 2010-12-17 2012-07-05 Panasonic Corp Communication device
JP5474233B1 (en) * 2013-04-26 2014-04-16 三菱電機株式会社 COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM

Also Published As

Publication number Publication date
WO2014175439A1 (en) 2014-10-30
JP2014216961A (en) 2014-11-17
JP5474233B1 (en) 2014-04-16
JP2014217046A (en) 2014-11-17

Similar Documents

Publication Publication Date Title
JP5669967B2 (en) COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
EP3541043A1 (en) Account login method and apparatus
JP5960184B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, SERVER DEVICE, CONTROL METHOD, AND INFORMATION PROCESSING METHOD
US20160241893A1 (en) Media Player Including Automatic Configuration
CN107517438B (en) Method for requesting sharing of Bluetooth device, electronic device and computer storage medium
US20200169428A1 (en) Terminal apparatus, control apparatus, installation-location-ascertainment support system, installation-location-setting support system, installation-location-ascertainment support method, installation-location-setting support method, and program
EP3389332B1 (en) Commissioning of a plurality of devices
US20200275047A1 (en) Electronic apparatus, remote control apparatus, control method thereof, and electronic system
CN108551413B (en) Intelligent household equipment binding method and device, gateway equipment and storage medium
CN113111018B (en) Bus device addressing method and computer readable storage medium
WO2017111860A1 (en) Identification of objects for three-dimensional depth imaging
EP2756629B1 (en) Method and system for searching for object in network
US9922552B2 (en) Method of controlling device in manner free from contention among multiple controllers
CN113647061A (en) Equipment discovery method and device, control terminal and Internet of things auxiliary equipment
CN113661779B (en) Electronic device and control method thereof
US10256988B2 (en) Communication system, communication device, communication adapter, communication method, and program
KR20170067129A (en) Control system
TWI681685B (en) Connection method of wireless system
JP2020144757A (en) Control apparatus, control system, connection state determination method and program
US9848063B2 (en) Facilitating communication between smart object and application provider
KR102443628B1 (en) Electronic apparatus and control method thereof
TWI685272B (en) Connection method of wireless system
US20160080314A1 (en) Access point and control method thereof
US20160219494A1 (en) Method and device for controlling target device of host and client
US10574471B2 (en) Device control method, information storage medium, control apparatus, and device control system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141216

R150 Certificate of patent or registration of utility model

Ref document number: 5669967

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250