JP2014107637A - Communication apparatus, communication system - Google Patents

Communication apparatus, communication system Download PDF

Info

Publication number
JP2014107637A
JP2014107637A JP2012257750A JP2012257750A JP2014107637A JP 2014107637 A JP2014107637 A JP 2014107637A JP 2012257750 A JP2012257750 A JP 2012257750A JP 2012257750 A JP2012257750 A JP 2012257750A JP 2014107637 A JP2014107637 A JP 2014107637A
Authority
JP
Japan
Prior art keywords
registration
unit
terminal
controller
mode
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.)
Pending
Application number
JP2012257750A
Other languages
Japanese (ja)
Inventor
Osamu Nishimura
治 西村
Hirotatsu Shinomiya
弘達 篠宮
Seiji Futamura
誠示 二村
Teru Hashiguchi
輝 橋口
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.)
Panasonic Corp
Original Assignee
Panasonic 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
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2012257750A priority Critical patent/JP2014107637A/en
Publication of JP2014107637A publication Critical patent/JP2014107637A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication apparatus and a communication system capable of preventing incorrect registration of a slave unit included in an adjacent communication system.SOLUTION: A controller 1 as a master unit includes: a registration section 151 that registers a terminal 2 as a slave unit; a switching section 152 that switches operation mode; and a determination section 153 that determines whether a registration request is received from a single terminal 2 or from plural terminals 2 in a period of a registration mode. When the determination section 153 determines that a registration request is received from one terminal 2 only in a period operating in the registration mode, the controller 1 registers the terminal 2 which is the transmission source of the registration request in a registration section 151. On the other hand, when determination section 153 determines that plural registration requests are received from plural terminals 2 in a period operating in the registration mode, the controller 1 terminates the operation in the registration mode without performing registration of the terminals 2 which are transmission sources of the registration requests in the registration section 151.

Description

本発明は、子機との間で通信を行う通信装置、その通信装置を親機として用いた通信システムに関する。   The present invention relates to a communication device that performs communication with a child device and a communication system that uses the communication device as a parent device.

従来から、この種の通信システムとして、複数の無線機器同士が無線信号を用いて通信を行うように構成されたシステム(無線ネットワークシステム)が提供されている(たとえば特許文献1参照)。   Conventionally, as this type of communication system, a system (wireless network system) configured such that a plurality of wireless devices communicate with each other using a wireless signal has been provided (see, for example, Patent Document 1).

ここで、特許文献1には、親機(マスタ)である無線機器が、無線システム識別符号と自分の機器識別符号とを、予め決められたシステム設定用の無線チャネルを使って送信することが記載されている。子機(スレーブ)である無線機器は、親機から受信した無線システム識別符号と機器識別符号とを情報記憶手段に書き込み、自分の機器識別符号を親機に送信して登録モードを終了する。親機は、子機から受信した機器識別符号を情報記憶手段に書き込んで登録モードを終了する。   Here, in Patent Document 1, a wireless device that is a master unit (master) transmits a wireless system identification code and its own device identification code using a predetermined system setting wireless channel. Have been described. The wireless device that is a slave (slave) writes the wireless system identification code and device identification code received from the parent device to the information storage means, transmits its own device identification code to the parent device, and ends the registration mode. The parent device writes the device identification code received from the child device in the information storage means and ends the registration mode.

以後、通常通信となり、無線機器は識別符号を用いて通信相手を識別することが可能になる。   Thereafter, normal communication is performed, and the wireless device can identify the communication partner using the identification code.

特開2002−186034号公報JP 2002-186034 A

しかし、特許文献1に記載のシステムでは、たとえば集合住宅などで近くに複数の通信システムが存在する環境で、近くの通信システムにて同時に子機の登録が行われると、親機に、別の通信システムの子機が誤って登録されてしまう可能性がある。特に、新築の集合住宅などで、住人の入居前に施工業者が一斉に子機の登録作業を行うような場合、隣家の子機が誤って登録されるような作業ミスを生じる可能性がある。   However, in the system described in Patent Document 1, for example, in an environment where there are a plurality of communication systems nearby, such as in an apartment house, if a slave unit is registered simultaneously in a nearby communication system, There is a possibility that the slave unit of the communication system is registered by mistake. In particular, in a newly built apartment house or the like, when a contractor performs registration work of slave units all at once before a resident moves in, there is a possibility that an operation error will occur such that a slave unit of a neighboring house is mistakenly registered.

本発明は上記事由に鑑みて為されており、近くの通信システムの子機が誤って登録されてしまう可能性が低い通信装置、通信システムを提供することを目的とする。   The present invention has been made in view of the above reasons, and an object of the present invention is to provide a communication device and a communication system that have a low possibility that a slave unit of a nearby communication system is erroneously registered.

本発明の通信装置は、子機との間で通信を行う通信装置であって、登録済みの前記子機との間で通信を行う通常モードと前記子機の登録を行う登録モードとを切り替える切替部と、前記登録モードにおいて前記子機から登録要求を受信すると当該登録要求の送信元の前記子機を登録する登録部と、前記登録モードが選択されている期間に前記登録要求を1台の前記子機から受信したか複数台の前記子機から受信したかを判断する判断部とを有し、前記登録要求を1台の前記子機から受信した場合、当該子機について前記登録部にて登録を行い、前記登録要求を複数台の前記子機から受信した場合、当該複数台の前記子機について登録を行わずに前記登録モードを終了するように構成されていることを特徴とする。   The communication device of the present invention is a communication device that communicates with a slave unit, and switches between a normal mode for communicating with the registered slave unit and a registration mode for registering the slave unit When a registration request is received from the slave unit in the registration mode, a registration unit that registers the slave unit that is the transmission source of the registration request, and one registration request during a period in which the registration mode is selected A determination unit that determines whether the slave unit has been received from a plurality of the slave units, and when the registration request is received from one slave unit, the registration unit for the slave unit And when the registration request is received from a plurality of the slave units, the registration mode is terminated without registering the plurality of slave units. To do.

この通信装置において、前記登録部は前記子機を登録する際に当該子機に登録情報を送信して当該子機に当該登録情報を登録させるように構成されており、前記判断部にて複数台の前記子機から前記登録要求を受信したと判断されたときに、当該複数台の前記子機の中に前記登録情報を送信済みの子機があれば、当該子機に登録されている前記登録情報を消去するキャンセル部をさらに有することが望ましい。   In this communication apparatus, the registration unit is configured to transmit registration information to the slave unit when the slave unit is registered, and to register the registration information in the slave unit. If it is determined that the registration request has been received from a plurality of slave units, if there is a slave unit that has transmitted the registration information in the plurality of slave units, the slave unit is registered in the slave unit It is desirable to further include a cancel unit for deleting the registration information.

この通信装置において、前記判断部にて複数台の前記子機から前記登録要求を受信したと判断されたときに報知を行う報知部をさらに有することがより望ましい。   In this communication apparatus, it is more preferable that the communication device further includes a notification unit that performs notification when the determination unit determines that the registration request has been received from a plurality of slave units.

本発明の通信システムは、親機と子機との間で通信を行う通信システムであって、前記子機は、前記親機に対し登録要求を送信する送信部を有し、前記親機は、登録済みの前記子機との間で通信を行う通常モードと前記子機の登録を行う登録モードとを切り替える切替部と、前記登録モードにおいて前記子機から登録要求を受信すると当該登録要求の送信元の前記子機を登録する登録部と、前記登録モードが選択されている期間に前記登録要求を1台の前記子機から受信したか複数台の前記子機から受信したかを判断する判断部とを有し、前記登録要求を1台の前記子機から受信した場合、当該子機について前記登録部にて登録を行い、前記登録要求を複数台の前記子機から受信した場合、当該複数台の前記子機について登録を行わずに前記登録モードを終了するように構成されていることを特徴とする。   The communication system of the present invention is a communication system that performs communication between a parent device and a child device, wherein the child device includes a transmission unit that transmits a registration request to the parent device, A switching unit for switching between a normal mode for communicating with the registered slave unit and a registration mode for registering the slave unit, and when a registration request is received from the slave unit in the registration mode, A registration unit that registers the slave unit as a transmission source, and determines whether the registration request is received from one slave unit or a plurality of slave units during a period when the registration mode is selected A determination unit, and when the registration request is received from one slave unit, the registration unit is registered for the slave unit, and the registration request is received from a plurality of slave units. Without registering the plurality of slave units, Characterized in that it is configured to terminate the recording mode.

本発明は、判断部にて複数台の子機から登録要求を受信したと判断されると、当該複数台の子機について登録を行わずに登録モードを終了するように構成されているので、近くの通信システムの子機が誤って登録されてしまう可能性が低いという利点がある。   Since the present invention is configured to end the registration mode without performing registration for the plurality of slave units when the determination unit determines that the registration request has been received from the plurality of slave units, There is an advantage that there is a low possibility that a slave unit of a nearby communication system is erroneously registered.

実施形態に係る通信システムのシステム構成図である。1 is a system configuration diagram of a communication system according to an embodiment. 実施形態に係る通信システムのコントローラおよび端末の構成を示すブロック図である。It is a block diagram which shows the structure of the controller and terminal of the communication system which concern on embodiment. 実施形態に係る通信システムの登録時の動作説明図である。It is operation | movement explanatory drawing at the time of registration of the communication system which concerns on embodiment. 実施形態に係る通信システムの登録失敗時の動作説明図である。It is operation | movement explanatory drawing at the time of registration failure of the communication system which concerns on embodiment. 実施形態に係る通信システムの登録ネゴシエーション処理の動作説明図である。It is operation | movement explanatory drawing of the registration negotiation process of the communication system which concerns on embodiment.

本実施形態の通信システム10は、図2に示すように、需要家100に設置されたコントローラ1と、需要家100で使用されコントローラ1との通信機能を具備する複数台の端末201,202,・・・とを備えている。コントローラ1は「親機」、「通信装置」として機能し、端末201,202,・・・(以下、各々を区別しないときには「端末2」という)は「子機」として機能する。   As shown in FIG. 2, the communication system 10 according to the present embodiment includes a controller 1 installed in the customer 100 and a plurality of terminals 201, 202, which are used in the customer 100 and have a communication function with the controller 1. ... and. The controller 1 functions as a “master unit” and a “communication device”, and the terminals 201, 202,... (Hereinafter referred to as “terminal 2” when not distinguished from each other) function as a “slave unit”.

さらに本実施形態の通信システム10は、コントローラ1との通信機能を具備する通信装置32をさらに備えている。通信装置32は、需要家100で使用された電力を計測する電力メータ3の計測装置31に付設されている。通信装置32は計測装置31と筐体(図示せず)を共用することが好ましいが、計測装置31とは別に筐体を有していてもよい。以下では、需要家100が集合住宅の各住戸である場合について例示するが、この例に限らず、需要家100はたとえば戸建て住宅、事務所、工場などであってもよい。   Furthermore, the communication system 10 according to the present embodiment further includes a communication device 32 having a communication function with the controller 1. The communication device 32 is attached to the measuring device 31 of the power meter 3 that measures the power used by the customer 100. The communication device 32 preferably shares a housing (not shown) with the measuring device 31, but may have a housing separately from the measuring device 31. Below, although illustrated about the case where the consumer 100 is each dwelling unit of a housing complex, not only this example but the consumer 100 may be a detached house, an office, a factory, etc., for example.

コントローラ1は、HEMS(Home Energy Management System)機器であって、各種の電気機器(図示せず)に付設あるいは一体化された端末2との間で双方向に通信を行う。端末2が付設または一体化される電気機器としては、たとえば太陽電池や蓄電池やパワーコンディショナ等の電源設備、IHクッキングヒータや給湯器や住宅情報盤等の設備機器、テレビ等の家電機器、パーソナルコンピュータやタブレット端末等の情報機器がある。   The controller 1 is a HEMS (Home Energy Management System) device, and performs bidirectional communication with a terminal 2 attached to or integrated with various electric devices (not shown). Examples of electrical equipment to which the terminal 2 is attached or integrated include power supply equipment such as solar cells, storage batteries, and power conditioners, equipment equipment such as IH cooking heaters, water heaters, and housing information panels, home appliances such as televisions, and personal computers. And information devices such as tablet terminals.

コントローラ1は、図1に示すように、端末2との通信を行う第1通信部11と、通信装置32(図2参照)との通信を行う第2通信部12と、操作入力を受け付ける操作部13と、表示灯14と、各部の動作を制御する制御部15と、メモリ16とを有している。このコントローラ1は、需要家100の分電盤(図示せず)内に収納されていてもよいし、分電盤とは別に筐体を有していてもよい。表示灯14は、LED(発光ダイオード)からなり、その点灯状態によりコントローラ1の動作状態を表示する。制御部15は、マイコン(マイクロコンピュータ)を主構成とし、所定のプログラムを実行することにより種々の機能を実現する。   As illustrated in FIG. 1, the controller 1 includes a first communication unit 11 that performs communication with the terminal 2, a second communication unit 12 that performs communication with the communication device 32 (see FIG. 2), and an operation that receives an operation input. It has the part 13, the indicator lamp 14, the control part 15 which controls operation | movement of each part, and the memory 16. The controller 1 may be housed in a distribution board (not shown) of the customer 100, or may have a casing separately from the distribution board. The indicator lamp 14 consists of LED (light emitting diode), and displays the operation state of the controller 1 by the lighting state. The control unit 15 has a microcomputer as a main component, and implements various functions by executing predetermined programs.

第1通信部11は、端末2との間で電波を伝送媒体に用いた通信路を通して双方向に無線通信を行うように構成されている。第2通信部12は、通信装置32との間で電波を伝送媒体に用いた通信路を通して双方向に無線通信を行うように構成されている。コントローラ1は、端末2から電気機器の消費電力等の情報を取得し、通信装置32経由で電力会社に送信したり、端末2経由で電気機器の動作を制御したりする機能を備えている。さらに、コントローラ1は、通信装置32から受信した検針データ等を、需要家100の住宅情報盤やテレビ、パーソナルコンピュータ、タブレット端末等の電気機器に表示させたりする機能を備えている。   The first communication unit 11 is configured to perform two-way wireless communication with the terminal 2 through a communication path using radio waves as a transmission medium. The second communication unit 12 is configured to perform two-way wireless communication with the communication device 32 through a communication path using radio waves as a transmission medium. The controller 1 has a function of acquiring information such as power consumption of the electric device from the terminal 2 and transmitting the information to the power company via the communication device 32 or controlling the operation of the electric device via the terminal 2. Furthermore, the controller 1 has a function of displaying meter reading data received from the communication device 32 on an electrical device such as a home information panel of the consumer 100, a television, a personal computer, or a tablet terminal.

端末2は、図1に示すように、コントローラ1との通信を行う第3通信部21と、操作入力を受け付ける操作部22と、表示灯23と、各部の動作を制御する制御部24と、メモリ25とを有している。表示灯23は、LEDからなり、その点灯状態により端末2の動作状態を表示する。制御部24は、マイコンを主構成とし、所定のプログラムを実行することにより種々の機能を実現する。   As shown in FIG. 1, the terminal 2 includes a third communication unit 21 that performs communication with the controller 1, an operation unit 22 that receives an operation input, an indicator lamp 23, and a control unit 24 that controls the operation of each unit. And a memory 25. Indicator lamp 23 consists of LED, and displays the operating state of terminal 2 by the lighting state. The control unit 24 has a microcomputer as a main configuration, and implements various functions by executing predetermined programs.

電力メータ3の計測装置31は、電力会社(電気事業者)からの商用電力が供給される配電線(図示せず)に接続されており、需要家100で使用された電力量を計測する。計測装置31は、図2に示すように通信装置32と共にいわゆるスマートメータとしての電力メータ3を構成し、配電線に接続されている上位装置(図示せず)と通信装置32とが通信を行うことにより、検針データを電力会社に送信して遠隔検針等を可能にする。ここで、検針データは、少なくとも電力メータ3で所定期間内に測定された電力量(需要家100での使用電力量)を含んでいる。   The measuring device 31 of the power meter 3 is connected to a distribution line (not shown) to which commercial power is supplied from an electric power company (electricity company), and measures the amount of power used by the customer 100. As shown in FIG. 2, the measuring device 31 constitutes a power meter 3 as a so-called smart meter together with the communication device 32, and the host device (not shown) connected to the distribution line communicates with the communication device 32. As a result, the meter reading data is transmitted to the electric power company to enable remote meter reading. Here, the meter reading data includes at least the amount of electric power (the amount of electric power used by the customer 100) measured within a predetermined period by the electric power meter 3.

通信装置32と上位装置との間の通信は、配電線を伝送媒体に用いて通信を行う電力線搬送通信(PLC:Power Line Communications)により実現される。つまり、通信装置32と上位装置との間には、電力メータ3の上流側の配電線を伝送媒体に用いた通信路が形成され、通信装置32は、この通信路を通して上位装置との間で電力線搬送通信を行うことにより、検針データを上位装置に送信する。   Communication between the communication device 32 and the host device is realized by power line communication (PLC) that performs communication using a distribution line as a transmission medium. That is, a communication path using the distribution line upstream of the power meter 3 as a transmission medium is formed between the communication apparatus 32 and the upper apparatus, and the communication apparatus 32 communicates with the upper apparatus through this communication path. By performing power line carrier communication, meter reading data is transmitted to the host device.

一方、通信装置32は、コントローラ1との間では、電波を伝送媒体に用いた通信路を通して双方向に無線通信を行うように構成されている。これにより、コントローラ1は、たとえば電力メータ3の計測結果を表示して需要家100の使用電力量を可視化したり、エネルギー需要のピークを抑制(ピークカット)するために電力会社側からの信号に基づいて端末(電気機器)2の動作を制御したりできる。   On the other hand, the communication device 32 is configured to perform two-way wireless communication with the controller 1 through a communication path using radio waves as a transmission medium. Thereby, the controller 1 displays the measurement result of the electric power meter 3, for example, visualizes the electric power consumption of the customer 100, or uses the signal from the electric power company side to suppress the peak of energy demand (peak cut). Based on this, the operation of the terminal (electrical device) 2 can be controlled.

なお、商用電力は、変電所から、集合住宅の電気室などに設置された降圧トランス(図示せず)に配電され、降圧トランスにて降圧された後で配電線を通して需要家100に供給される。上位装置は、降圧トランスの近傍に設置され、光ファイバ等を用いた専用回線(図示せず)を経由して、電力会社あるいは電力量の集計サービスを行う事業者が運営するサーバ(図示せず)に検針データを送信する。   The commercial power is distributed from a substation to a step-down transformer (not shown) installed in an electrical room of an apartment house, and after being stepped down by the step-down transformer, is supplied to the customer 100 through the distribution line. . The host device is installed in the vicinity of the step-down transformer, and is a server (not shown) that is operated by an electric power company or an operator that provides a total amount of power via a dedicated line (not shown) using an optical fiber or the like. ) To send meter reading data.

また、需要家100に設置された分電盤内には分岐回路ごとに使用電力量を測定する計測ユニット(図示せず)が設けられていてもよく、この場合、コントローラ1は計測ユニットでの測定結果を取得可能となるように計測ユニットにも接続される。この構成では、コントローラ1は、通信装置32からピークカットのための信号を受信すると、計測ユニットで計測されている現在の各分岐回路の使用電力に基づいて、電気機器を制御するための信号を端末2に送信する。これにより、コントローラ1は、エネルギー需要のピークを抑制(ピークカット)するために電力会社側からの信号に基づいて、需要家100で使用されている電気機器の動作を制御することができる。   Further, a measurement unit (not shown) for measuring the amount of power used for each branch circuit may be provided in the distribution board installed in the customer 100. In this case, the controller 1 is a measurement unit. It is also connected to the measurement unit so that the measurement result can be acquired. In this configuration, when the controller 1 receives a signal for peak cut from the communication device 32, the controller 1 outputs a signal for controlling the electrical device based on the current power consumption of each branch circuit measured by the measurement unit. Transmit to terminal 2. Thereby, the controller 1 can control the operation | movement of the electric equipment currently used by the consumer 100 based on the signal from the electric power company side, in order to suppress the peak of energy demand (peak cut).

さらに、コントローラ1は、電力メータ3ごとに予め割り当てられている識別情報(たとえばメータ番号)を用いて通信装置32を識別している。つまり、需要家100へのコントローラ1の設置時に、施工業者が、この需要家100の電力メータ3の識別番号をコントローラ1に登録することにより、以後、コントローラ1にて電力メータ3を識別可能になる。そのため、コントローラ1は、需要家100の通信装置32と通信する際、たとえば隣家の通信装置32と誤って通信するようなことはない。   Further, the controller 1 identifies the communication device 32 using identification information (for example, a meter number) assigned in advance for each power meter 3. That is, when the controller 1 is installed in the consumer 100, the contractor registers the identification number of the power meter 3 of the consumer 100 in the controller 1 so that the controller 1 can identify the power meter 3 thereafter. Become. Therefore, when the controller 1 communicates with the communication device 32 of the customer 100, for example, the controller 1 does not erroneously communicate with the communication device 32 of the neighbor.

ところで、コントローラ1と端末2とを通信可能とするためには、同一の需要家100に設けられているコントローラ1と端末2との関連付けを行ってコントローラ1と端末2との間で接続を確立する必要がある。つまり、端末2の追加・変更時には、新設された端末2とコントローラ1との間で通信を開始するために、コントローラ1に新設の端末2を登録して同一需要家100におけるコントローラ1と端末2とを関連付ける登録作業が必要である。なお、ここでいう接続は、物理的な接続ではなく、互いに通信相手としての紐付けがされて双方向の通信が可能な状態となる論理的な接続を意味する。   By the way, in order to enable communication between the controller 1 and the terminal 2, the connection between the controller 1 and the terminal 2 is established by associating the controller 1 and the terminal 2 provided in the same customer 100 with each other. There is a need to. That is, when the terminal 2 is added or changed, in order to start communication between the newly established terminal 2 and the controller 1, the newly established terminal 2 is registered in the controller 1 and the controller 1 and the terminal 2 in the same customer 100 are registered. Registration work to associate with is required. Note that the connection here means not a physical connection but a logical connection that is linked to each other as a communication partner to enable bidirectional communication.

以下に、本実施形態の通信システム10において、端末2を登録するための構成につい説明する。   Below, the structure for registering the terminal 2 in the communication system 10 of this embodiment is demonstrated.

通信システム10の運用開始後においては、コントローラ1は、既に接続済みの住宅情報盤やテレビ、パーソナルコンピュータ、タブレット端末等の電気機器をユーザインタフェースとして、新設の端末2の登録に用いることができる。具体的には、ユーザは、これらの電気機器に搭載されているWebブラウザなどによりコントローラ1にアクセスし、GUI(Graphical UserInterface)等を用いて必要な情報を入力することによりコントローラ1に新設の端末2を登録できる。   After the operation of the communication system 10 is started, the controller 1 can be used for registration of the newly established terminal 2 by using an already-connected house information panel, an electric device such as a television, a personal computer, or a tablet terminal as a user interface. Specifically, the user accesses the controller 1 using a Web browser or the like installed in these electric devices, and inputs necessary information using a GUI (Graphical User Interface) or the like, thereby newly installing a terminal in the controller 1. 2 can be registered.

ただし、通信システム10の運用開始前(初期導入時)などにおいては、通常、コントローラ1は、ユーザインタフェースとして利用可能な一切の電気機器に接続されていない状態にある。そのため、新築の集合住宅などで、住人の入居前に複数の需要家100について施工業者がたとえばIHクッキングヒータや給湯器の端末2を一斉に登録する場合、コントローラ1に隣家の端末2が誤って登録されてしまうことが考えられる。   However, before the operation of the communication system 10 is started (at the time of initial introduction), the controller 1 is normally not connected to any electrical equipment that can be used as a user interface. Therefore, when a contractor registers, for example, an IH cooking heater or a hot water heater terminal 2 for a plurality of customers 100 in a newly built apartment house before the resident enters, the neighboring terminal 2 is mistakenly registered in the controller 1. It is thought that it will be done.

そこで、本実施形態の通信システム10は、図1に示すようにコントローラ1および端末2に以下の構成を採用することにより、誤登録が生じることを防止している。   Therefore, the communication system 10 according to the present embodiment prevents the erroneous registration from occurring by adopting the following configuration in the controller 1 and the terminal 2 as shown in FIG.

すなわち、親機であるコントローラ1は、端末2を登録する登録部151、動作モードを切り替える切替部152、後述する判断部153およびキャンセル部154としての機能を制御部15に有している。また、子機である端末2は、各々、コントローラ1に対し登録要求を送信する送信部241、動作モードを切り替える切替部242、後述する消去部243としての機能を制御部24に有している。   That is, the controller 1 serving as the parent device has functions as a registration unit 151 that registers the terminal 2, a switching unit 152 that switches operation modes, a determination unit 153, and a cancellation unit 154, which will be described later, in the control unit 15. Each of the terminals 2 serving as slave units has functions as a transmission unit 241 that transmits a registration request to the controller 1, a switching unit 242 that switches operation modes, and an erasing unit 243, which will be described later, in the control unit 24. .

切替部152は、登録済みの端末2との間で通信を行う通常モードと、端末2の登録を行う登録モードとを切り替える。ここで、切替部152は、操作部13の操作に応じて通常モードと登録モードとを交互に切り替える。   The switching unit 152 switches between a normal mode in which communication is performed with the registered terminal 2 and a registration mode in which the terminal 2 is registered. Here, the switching unit 152 alternately switches between the normal mode and the registration mode in accordance with the operation of the operation unit 13.

登録部151は、登録モードにおいて端末2から登録要求を受信すると、この登録要求の送信元の端末2を登録する。ここで、登録部151は、コントローラ1のメモリ16に、端末2との通信に必要な登録データを書き込むことにより、端末2の登録を行う。ここでいう登録データは、端末2ごとに予め割り当てられている固有の番号(MACアドレス)等であり、端末2のメモリ25に予め記憶されている。   When the registration unit 151 receives a registration request from the terminal 2 in the registration mode, the registration unit 151 registers the terminal 2 that has transmitted the registration request. Here, the registration unit 151 registers the terminal 2 by writing registration data necessary for communication with the terminal 2 in the memory 16 of the controller 1. The registration data here is a unique number (MAC address) assigned in advance for each terminal 2 and is stored in the memory 25 of the terminal 2 in advance.

つまり、コントローラ1は、登録モードにおいて、メモリ16への登録データの書き込みを行い、通常モードにおいては、メモリ16に登録データが記憶されている端末2を通信相手として通信を行う。   That is, the controller 1 writes registration data to the memory 16 in the registration mode, and performs communication using the terminal 2 in which the registration data is stored in the memory 16 as a communication partner in the normal mode.

さらに本実施形態では、登録部151は、端末2を登録する際に、この端末2に対して登録情報を送信して、この端末2に登録情報を登録させるように構成されている。ここでいう登録情報は、少なくともコントローラ1−端末2間の通信に必要なセッション鍵を含む。登録情報を受信した端末2は、メモリ25に、コントローラ1との通信に必要な登録情報を書き込むことにより、登録情報の登録を行う。   Furthermore, in this embodiment, when registering the terminal 2, the registration unit 151 is configured to transmit registration information to the terminal 2 so that the terminal 2 registers the registration information. The registration information here includes at least a session key necessary for communication between the controller 1 and the terminal 2. The terminal 2 that has received the registration information registers the registration information by writing the registration information necessary for communication with the controller 1 in the memory 25.

判断部153は、登録モードが選択されている期間に、登録要求を1台の端末2から受信したか複数台(2台以上)の端末2から受信したかを判断する。言い換えれば、判断部153は、コントローラ1が登録モードで動作している期間に、登録要求を受信した場合において、登録要求の送信元の端末2が1台か複数台かを判断する。   The determination unit 153 determines whether a registration request is received from one terminal 2 or a plurality (two or more) of terminals 2 during a period when the registration mode is selected. In other words, the determination unit 153 determines whether the registration request transmission source terminal 2 is one or a plurality of terminals when the registration request is received while the controller 1 is operating in the registration mode.

具体的には、判断部153は、切替部152にてコントローラ1の動作モードが登録モードに切り替えられてから、再び通常モードに切り替えられるまでの期間に亘り、登録要求の受信状況を監視する。このとき、判断部153は、1台の端末2から登録要求を受信し、以降、他の端末2からの登録要求を受信しなければ、1台の端末2のみから登録要求を受信したと判断して、正常と判断する。一方、1台の端末2から登録要求を受信したのと同時にあるいは受信後に、他の端末2からの登録要求を受信すれば、判断部153は、複数台の端末2から登録要求を受信したと判断し、異常と判断する。   Specifically, the determination unit 153 monitors the reception status of the registration request over a period from when the operation mode of the controller 1 is switched to the registration mode by the switching unit 152 until it is switched to the normal mode again. At this time, the determination unit 153 receives a registration request from one terminal 2 and determines that it has received a registration request from only one terminal 2 unless it receives a registration request from another terminal 2 thereafter. Then, it is determined to be normal. On the other hand, if a registration request is received from another terminal 2 at the same time or after the registration request is received from one terminal 2, the determination unit 153 receives the registration request from a plurality of terminals 2. Judgment is made and abnormal.

そして、コントローラ1は、登録モードで動作している期間において、判断部153にて正常(1台の端末2のみから登録要求を受信した)と判断された場合には、登録部151にてこの登録要求の送信元の端末2を登録する。一方、コントローラ1は、登録モードで動作している期間において、判断部153にて異常(複数台の端末2から登録要求を受信した)と判断された場合には、これらの登録要求の送信元の端末2について登録部151での登録を行わない。つまり、コントローラ1は、判断部153にて複数台の端末2から登録要求を受信したと判断されると、これら複数台の端末2について登録を行わずに登録モードを終了するように構成されている。   If the determination unit 153 determines that the controller 1 is normal (receives a registration request from only one terminal 2) during the period of operation in the registration mode, the registration unit 151 Register the terminal 2 that sent the registration request. On the other hand, when the controller 1 determines that the determination unit 153 is abnormal (received registration requests from a plurality of terminals 2) during the period of operation in the registration mode, the transmission source of these registration requests The terminal 2 is not registered in the registration unit 151. That is, the controller 1 is configured to end the registration mode without registering the plurality of terminals 2 when the determination unit 153 determines that the registration request is received from the plurality of terminals 2. Yes.

要するに、登録部151は、登録モードにおいて端末2から登録要求を受信し、且つ登録モードが継続している期間中に他の端末2から登録要求を受信しないことを条件に、登録要求の送信元の端末2を登録する。言い換えれば、登録部151は、登録モードにおいて登録要求を受信することがあっても、この登録モードが継続している期間中に他の端末2からの登録要求を受信すると、この登録モードの期間中にはいずれの端末2の登録も行わない。   In short, the registration unit 151 receives the registration request from the terminal 2 in the registration mode, and does not receive the registration request from another terminal 2 during the period in which the registration mode is continued. Terminal 2 is registered. In other words, even if the registration unit 151 receives a registration request in the registration mode, if the registration unit 151 receives a registration request from another terminal 2 during the period in which the registration mode continues, the registration mode 151 No registration of any terminal 2 is performed.

キャンセル部154は、コントローラ1が登録モードで動作している期間において、判断部153にて複数台の端末2から登録要求を受信したと判断されたときに、これら複数台の端末2の中に登録情報を送信済みの端末2があれば、この登録情報を消去する。すなわち、登録部151は上述したように端末2の登録時に端末2に登録情報を送信するので、判断部153にて複数台の端末2から登録要求を受信したと判断された時点で、これら複数台の端末2の一部には既に登録情報が送信されている場合がある。このような場合、キャンセル部154は、登録情報を送信済みの端末2に対して登録情報を消去するための消去要求を送信し、登録情報を消去する。   When the determination unit 153 determines that the registration request has been received from the plurality of terminals 2 during the period in which the controller 1 is operating in the registration mode, the cancel unit 154 includes the plurality of terminals 2. If there is a terminal 2 to which registration information has been transmitted, this registration information is deleted. That is, since the registration unit 151 transmits registration information to the terminal 2 at the time of registration of the terminal 2 as described above, when the determination unit 153 determines that the registration request has been received from the plurality of terminals 2, the plurality of the registration information is transmitted. In some cases, registration information has already been transmitted to some of the terminals 2. In such a case, the cancel unit 154 transmits an erasure request for erasing the registration information to the terminal 2 that has already transmitted the registration information, and erases the registration information.

また、端末2の送信部241は、コントローラ1に対して登録要求を送信する。切替部242は、コントローラ1との間で通信を行う通常モードと、登録要求を送信する登録モードとを切り替える。ここで、切替部242は、操作部22の操作に応じて通常モードと登録モードとを交互に切り替える。つまり、端末2は、登録モードにおいて登録要求の送信を行い、通常モードにおいては、コントローラ1を通信相手として通信を行う。   In addition, the transmission unit 241 of the terminal 2 transmits a registration request to the controller 1. The switching unit 242 switches between a normal mode for performing communication with the controller 1 and a registration mode for transmitting a registration request. Here, the switching unit 242 switches between the normal mode and the registration mode alternately according to the operation of the operation unit 22. That is, the terminal 2 transmits a registration request in the registration mode, and communicates with the controller 1 as a communication partner in the normal mode.

消去部243は、コントローラ1から消去要求を受信すると、メモリ25に登録されている登録情報を消去する。さらに、消去部243は、メモリ25から登録情報が正常に消去されると、消去応答をコントローラ1に送信することで、登録情報が確実に消去されたことをコントローラ1に通知する。   When receiving the erasure request from the controller 1, the erasure unit 243 erases the registration information registered in the memory 25. Further, when the registration information is normally erased from the memory 25, the erasure unit 243 notifies the controller 1 that the registration information has been securely erased by transmitting an erasure response to the controller 1.

なお、本実施形態ではコントローラ1の操作部13は登録確認ボタンとキャンセルボタンとの2つの押ボタンを備えており、端末2の操作部22は単一の押ボタンを備えている。   In the present embodiment, the operation unit 13 of the controller 1 includes two push buttons, a registration confirmation button and a cancel button, and the operation unit 22 of the terminal 2 includes a single push button.

以下、本実施形態の通信システム10における登録時の具体的な動作例について、図3および図4を参照して説明する。図3は、コントローラ1が判断部153にて正常(1台の端末2のみから登録要求を受信した)と判断し、端末2を登録する場合の動作を示す。図4は、コントローラ1が判断部153にて異常(複数台の端末2から登録要求を受信した)と判断し、端末2の登録を行わない場合の動作を示す。   Hereinafter, a specific operation example at the time of registration in the communication system 10 according to the present embodiment will be described with reference to FIGS. 3 and 4. FIG. 3 shows an operation when the controller 1 determines that the determination unit 153 is normal (receives a registration request from only one terminal 2) and registers the terminal 2. FIG. 4 shows an operation when the controller 1 determines that the determination unit 153 is abnormal (receives registration requests from a plurality of terminals 2) and does not register the terminals 2.

まず図3の例では、コントローラ1は、通常モードで動作中に、操作部13において登録確認ボタンが1回押操作されると(S1)、切替部152にて動作モードを通常モードから登録モードへ移行させる(S2)。   First, in the example of FIG. 3, when the controller 1 is operated in the normal mode and the registration confirmation button is pressed once in the operation unit 13 (S1), the switching unit 152 changes the operation mode from the normal mode to the registration mode. (S2).

一方、端末2は、操作部22において押ボタンが1回押操作されると(S3)、切替部242にて動作モードを通常モードから登録モードへ移行させる(S4)。端末2は、登録モードに移行すると、送信部241から登録要求の送信を行う(S5)。コントローラ1は、登録要求を受信したことをトリガにして、端末2との間で登録ネゴシエーション処理を開始し、この登録ネゴシエーション処理により端末2の登録を行う(S6)。   On the other hand, when the push button is pressed once in the operation unit 22 (S3), the terminal 2 causes the switching unit 242 to shift the operation mode from the normal mode to the registration mode (S4). When the terminal 2 shifts to the registration mode, the terminal 2 transmits a registration request from the transmission unit 241 (S5). The controller 1 uses the reception of the registration request as a trigger to start a registration negotiation process with the terminal 2, and registers the terminal 2 by this registration negotiation process (S6).

ただし、コントローラ1は、最初に登録要求を受信後、登録ネゴシエーション処理を開始する前に、他の端末2から登録要求を受信しなかった場合のみ、登録ネゴシエーション処理を開始する。言い換えれば、コントローラ1は、最初に登録要求を受信後、登録ネゴシエーション処理を開始する前に、他の端末2から登録要求を受信すると、登録ネゴシエーション処理を開始せずに中止する。そして、コントローラ1は、登録モードに移行してから一定時間以内に登録ネゴシエーション処理が開始されなければ、登録失敗と判断し、タイムアウトして通常モードに移行する。端末2は、登録要求を送信してから一定時間以内にコントローラ1からの応答がなければ、登録失敗と判断し、タイムアウトして通常モードに移行する。   However, the controller 1 starts the registration negotiation process only when the registration request is not received from the other terminal 2 before starting the registration negotiation process after receiving the registration request first. In other words, after receiving the registration request for the first time and before starting the registration negotiation process, the controller 1 stops without starting the registration negotiation process when receiving a registration request from another terminal 2. If the registration negotiation process is not started within a predetermined time after shifting to the registration mode, the controller 1 determines that the registration has failed, times out, and shifts to the normal mode. If there is no response from the controller 1 within a certain time after transmitting the registration request, the terminal 2 determines that the registration has failed, times out, and shifts to the normal mode.

コントローラ1は、登録モードに移行後、登録ネゴシエーション処理が完了するまでは、表示灯14をたとえば点滅させることにより、表示灯14の点灯状態にて登録中であることを表示する。同様に、端末2は、登録モードに移行後、登録ネゴシエーション処理が完了するまでは、表示灯23をたとえば点滅させることにより、表示灯23の点灯状態にて登録中であることを表示する。   After the transition to the registration mode, the controller 1 displays that the display lamp 14 is being registered by blinking the indicator lamp 14, for example, until the registration negotiation process is completed. Similarly, after the terminal 2 shifts to the registration mode, the display lamp 23 blinks, for example, until the registration negotiation process is completed, thereby displaying that the registration is being performed in the lighting state of the display lamp 23.

コントローラ1は、登録に成功して登録ネゴシエーション処理が正常に完了すると、表示灯14をたとえば連続点灯させることにより、表示灯14の点灯状態にて登録完了を表示する。この状態で登録確認ボタンが1回押操作されると(S7)、コントローラ1は、切替部152にて動作モードを登録モードから通常モードへ移行させ、表示灯14を消灯させる(S8)。また、コントローラ1は、登録ネゴシエーション処理の完了後、一定時間(たとえば5分)が経過すれば、登録確認ボタンが押操作されなくても、自動的に切替部152にて動作モードを登録モードから通常モードへ移行させ、表示灯14を消灯させる。   When the registration is successful and the registration negotiation process is normally completed, the controller 1 displays the registration completion in the lighting state of the indicator lamp 14 by, for example, continuously lighting the indicator lamp 14. When the registration confirmation button is pressed once in this state (S7), the controller 1 causes the switching unit 152 to shift the operation mode from the registration mode to the normal mode, and turns off the indicator lamp 14 (S8). Further, the controller 1 automatically switches the operation mode from the registration mode in the switching unit 152 even when the registration confirmation button is not pressed when a certain time (for example, 5 minutes) has elapsed after the registration negotiation process is completed. The mode is shifted to the normal mode, and the indicator lamp 14 is turned off.

同様に、端末2は、登録に成功して登録ネゴシエーション処理が正常に完了すると、表示灯23をたとえば連続点灯させることにより、表示灯23の点灯状態にて登録完了を表示する。この状態で押ボタンが1回押操作されると(S9)、端末2は、切替部242にて動作モードを登録モードから通常モードへ移行させ、表示灯23を消灯させる(S10)。また、端末2は、登録ネゴシエーション処理の完了後、一定時間(たとえば5分)が経過すれば、押ボタンが押操作されなくても、自動的に切替部242にて動作モードを登録モードから通常モードへ移行させ、表示灯23を消灯させる。   Similarly, when the registration is successful and the registration negotiation process is normally completed, the terminal 2 displays the registration completion in the lighting state of the indicator lamp 23 by, for example, continuously lighting the indicator lamp 23. When the push button is pressed once in this state (S9), the terminal 2 causes the switching unit 242 to shift the operation mode from the registration mode to the normal mode, and turns off the indicator lamp 23 (S10). Further, the terminal 2 automatically switches the operation mode from the registration mode to the normal mode in the switching unit 242 even if the push button is not pressed when a certain time (for example, 5 minutes) elapses after the registration negotiation process is completed. The mode is changed and the indicator lamp 23 is turned off.

あるいは、コントローラ1は、登録ネゴシエーション処理が完了して表示灯14の点灯状態にて登録完了を表示している状態で、登録確認ボタンではなくキャンセルボタンが1回押操作されると、端末2の登録をキャンセルする。具体的には、コントローラ1は、キャンセルボタンが押操作されると、直前の登録ネゴシエーション処理にてメモリ16に書き込んだ端末2の登録データを個別に消去する。   Alternatively, when the registration negotiation process is completed and the registration completion is displayed with the indicator lamp 14 turned on, the controller 1 presses the cancel button instead of the registration confirmation button once. Cancel registration. Specifically, when the cancel button is pressed, the controller 1 individually deletes the registration data of the terminal 2 written in the memory 16 in the previous registration negotiation process.

一方、図4の例では、コントローラ1が登録モードの期間に、本来登録すべき端末201だけでなく、偶々、隣家の端末210でも押ボタンが押操作され、登録要求の送信が行われた場合を示している。   On the other hand, in the example of FIG. 4, during the period when the controller 1 is in the registration mode, not only the terminal 201 that should be registered but also the neighbor's terminal 210 is accidentally pressed and the registration request is transmitted. Is shown.

すなわち、図4の例では、コントローラ1は、通常モードで動作中に、操作部13において登録確認ボタンが1回押操作されると(S11)、切替部152にて動作モードを通常モードから登録モードへ移行させる(S12)。   That is, in the example of FIG. 4, when the controller 1 is operated in the normal mode and the registration confirmation button is pressed once in the operation unit 13 (S11), the switching unit 152 registers the operation mode from the normal mode. The mode is changed (S12).

その後、隣家の端末210において、操作部22における押ボタンが1回押操作されると(S13)、端末210の動作モードが通常モードから登録モードへ移行する(S14)。端末210は、登録モードに移行すると、送信部241から登録要求の送信を行う(S15)。コントローラ1は、登録要求を受信したことをトリガにして、端末210との間で登録ネゴシエーション処理を開始し、この登録ネゴシエーション処理により端末210の登録を行う(S16)。   Thereafter, when the push button on the operation unit 22 is pressed once in the terminal 210 of the neighbor (S13), the operation mode of the terminal 210 shifts from the normal mode to the registration mode (S14). When the terminal 210 shifts to the registration mode, the terminal 210 transmits a registration request from the transmission unit 241 (S15). The controller 1 uses the reception of the registration request as a trigger to start a registration negotiation process with the terminal 210, and registers the terminal 210 through this registration negotiation process (S16).

図4の例では、端末210の押ボタンが押操作された(S13)直後、コントローラ1と同じ需要家100の端末201において、操作部22における押ボタンが1回押操作され(S17)、端末201の動作モードが通常モードから登録モードへ移行する(S18)。端末201は、登録モードに移行すると、送信部241から登録要求の送信を行う(S19)。   In the example of FIG. 4, immediately after the push button of the terminal 210 is pushed (S13), the push button in the operation unit 22 is pushed once in the terminal 201 of the same customer 100 as the controller 1 (S17). The operation mode 201 shifts from the normal mode to the registration mode (S18). When the terminal 201 shifts to the registration mode, the terminal 201 transmits a registration request from the transmission unit 241 (S19).

ここにおいて、コントローラ1は、登録モードが選択されている期間に、登録要求を1台の端末2から受信したか複数台(2台以上)の端末2から受信したかを判断している。図4の例では、コントローラ1は、端末201からの登録要求を受信した時点で2台の端末210,201から登録要求を受信することになるので、判断部153にて異常(複数台の端末2から登録要求を受信した)と判断する。コントローラ1は、判断部153にて異常と判断されると、これらの登録要求の送信元の端末210,201について登録部151での登録を行わない。   Here, the controller 1 determines whether a registration request is received from one terminal 2 or a plurality (two or more) of terminals 2 during a period when the registration mode is selected. In the example of FIG. 4, the controller 1 receives registration requests from the two terminals 210 and 201 at the time of receiving the registration request from the terminal 201. 2) has received a registration request. If the determination unit 153 determines that the controller 1 is abnormal, the controller 1 does not perform registration in the registration unit 151 with respect to the terminals 210 and 201 that have transmitted these registration requests.

したがって、コントローラ1は、端末201からの登録要求を受信したにもかかわらず、端末201との間では、登録ネゴシエーション処理を開始することなく中止する。また、コントローラ1は、隣家の端末210との間で登録ネゴシエーション処理を既に実行中であれば、この登録ネゴシエーション処理についても中止する。登録ネゴシエーション処理を途中で中止する場合、コントローラ1は、この登録ネゴシエーション処理にてメモリ16に書き込んだ隣家の端末210の登録データを消去する。   Therefore, the controller 1 cancels the registration negotiation process with the terminal 201 without starting the registration negotiation despite the reception of the registration request from the terminal 201. Moreover, if the registration negotiation process is already being executed with the neighboring terminal 210, the controller 1 also cancels the registration negotiation process. When canceling the registration negotiation process on the way, the controller 1 erases the registration data of the neighboring terminal 210 written in the memory 16 by the registration negotiation process.

さらに、コントローラ1は、端末210に送信済みの登録情報を消去すべく、キャンセル部154から端末210に対して消去要求を送信する(S20)。消去要求を受信した端末210は、メモリ25に登録されている登録情報を消去し、消去応答をコントローラ1に送信する(S21)。このような消去処理(S22)により、隣家の端末210に誤って登録されたコントローラ1の登録情報は、自動的に消去されることになる。   Further, the controller 1 transmits a deletion request from the cancel unit 154 to the terminal 210 in order to delete the registration information transmitted to the terminal 210 (S20). The terminal 210 that has received the erasure request erases the registration information registered in the memory 25 and transmits an erasure response to the controller 1 (S21). By such an erasing process (S22), the registration information of the controller 1 that is erroneously registered in the neighboring terminal 210 is automatically erased.

その後、コントローラ1は、登録ネゴシエーション処理の中止を受けて登録失敗と判断し(S23)、タイムアウトして通常モードに移行する(S24)。隣家の端末210は、登録要求を送信してから一定時間以内に登録ネゴシエーション処理が正常に完了しないことをもって登録失敗と判断し(S25)、タイムアウトして通常モードに移行する(S26)。端末201は、登録要求を送信してから一定時間以内にコントローラ1からの応答がないことをもって登録失敗と判断し(S27)、タイムアウトして通常モードに移行する(S28)。   Thereafter, the controller 1 determines that the registration has failed due to the cancellation of the registration negotiation process (S23), times out, and shifts to the normal mode (S24). The adjacent terminal 210 determines that the registration negotiation process has not been completed within a predetermined time after transmitting the registration request, and determines that the registration has failed (S25), and times out to shift to the normal mode (S26). The terminal 201 determines that the registration has failed when there is no response from the controller 1 within a predetermined time after transmitting the registration request (S27), and times out to shift to the normal mode (S28).

ここで、コントローラ1は、判断部153にて複数台の端末2から登録要求を受信したと判断されたときに報知を行う報知部(図示せず)をさらに有していてもよい。具体的には、報知部は、登録失敗と判断すると、たとえば表示灯14の点滅パターンを変えることにより、表示灯14の点灯状態にて登録失敗を報知(表示)する。同様に、端末2においても、登録失敗と判断すると、たとえば表示灯23の点滅パターンを変えることにより、表示灯23の点灯状態にて登録失敗を報知(表示)する報知部が設けられていてもよい。   Here, the controller 1 may further include a notification unit (not shown) that performs notification when the determination unit 153 determines that registration requests have been received from the plurality of terminals 2. Specifically, when the notification unit determines that the registration has failed, the notification unit notifies (displays) the registration failure in the lighting state of the display lamp 14, for example, by changing the blinking pattern of the display lamp 14. Similarly, even if the terminal 2 determines that the registration has failed, for example, a notification unit that notifies (displays) the registration failure in the lighting state of the indicator lamp 23 by changing the blinking pattern of the indicator lamp 23 may be provided. Good.

このように、コントローラ1は、登録モードの期間に複数台の端末210,201から登録要求を受信した場合、いずれの端末210,201の登録も行わないようにすることで、誤登録の可能性を排除する。   As described above, when the controller 1 receives a registration request from a plurality of terminals 210 and 201 during the registration mode period, the controller 1 may not register any of the terminals 210 and 201, thereby causing a possibility of erroneous registration. Eliminate.

なお、コントローラ1は、登録ネゴシエーション処理の途中に限らず、動作モードが登録モードの期間内に複数台の端末2から登録要求を受信すると、判断部153にて異常と判断し、端末2の登録を行わないように構成されていればよい。すなわち、コントローラ1は、隣家の端末210との間で登録ネゴシエーション処理を開始する前、あるいは登録ネゴシエーション処理の完了後であっても、登録モードの期間内であれば端末201からの登録要求を受信すると、これらの端末2の登録を行わない。   When the controller 1 receives a registration request from a plurality of terminals 2 within the period when the operation mode is the registration mode, not only in the middle of the registration negotiation process, the controller 1 determines that there is an abnormality and the registration of the terminal 2 It suffices if it is configured not to perform. That is, the controller 1 receives a registration request from the terminal 201 before starting the registration negotiation process with the neighboring terminal 210 or even after the registration negotiation process is completed, within the period of the registration mode. Then, these terminals 2 are not registered.

次に、本実施形態の通信システム10における登録ネゴシエーション処理について図5を参照して説明する。   Next, a registration negotiation process in the communication system 10 according to the present embodiment will be described with reference to FIG.

まず、コントローラ1および端末2はMACレイヤの設定のための処理(図5のS31〜33)を行う。すなわち、端末2は、コントローラ1に対して登録要求としてのアソシエーション要求を送信し(S31)、続けてデータ要求をコントローラ1に送信する(S32)。これに応答して、コントローラ1は、登録要求の送信元の端末2に接続を許可する内容のアソシエーション応答を送信する(S33)。これらの処理により、コントローラ1は端末2のショートアドレス、MACアドレス(64ビット)を取得し、コントローラ1−端末2間の通信に必要なPAN識別子やショートアドレスが設定される。   First, the controller 1 and the terminal 2 perform processing for setting the MAC layer (S31 to 33 in FIG. 5). That is, the terminal 2 transmits an association request as a registration request to the controller 1 (S31), and subsequently transmits a data request to the controller 1 (S32). In response to this, the controller 1 transmits an association response having a content permitting connection to the terminal 2 that has transmitted the registration request (S33). By these processes, the controller 1 acquires the short address and MAC address (64 bits) of the terminal 2, and a PAN identifier and a short address necessary for communication between the controller 1 and the terminal 2 are set.

次に、コントローラ1および端末2はセキュリティの設定のための処理(S34,35)を行う。すなわち、端末2は、コントローラ1に対して認証要求を送信する(S34)。これに応答して、コントローラ1は、認証要求の送信元の端末2にセッション鍵(家鍵)を配布する(S35)。これらの処理により、コントローラ1−端末2間の通信に必要なセッション鍵が設定される。   Next, the controller 1 and the terminal 2 perform processing for security setting (S34, 35). That is, the terminal 2 transmits an authentication request to the controller 1 (S34). In response to this, the controller 1 distributes the session key (house key) to the terminal 2 that sent the authentication request (S35). Through these processes, a session key necessary for communication between the controller 1 and the terminal 2 is set.

最後に、コントローラ1および端末2はアプリケーションレイヤの設定のための処理(S36〜38)を行う。すなわち、端末2は、インスタンスリスト通知をブロードキャストで送信する(S36)。それから、コントローラ1は、ハード情報取得要求を端末2に送信する(S37)。これに応答して、端末2は、ハード情報取得応答をコントローラ1に送信する(S38)。これらの処理により、コントローラ1は、端末2のハード情報、EOJ(ECHONETオブジェクト)を取得する。   Finally, the controller 1 and the terminal 2 perform processing for setting an application layer (S36 to 38). That is, the terminal 2 transmits an instance list notification by broadcasting (S36). Then, the controller 1 transmits a hardware information acquisition request to the terminal 2 (S37). In response to this, the terminal 2 transmits a hardware information acquisition response to the controller 1 (S38). Through these processes, the controller 1 acquires the hardware information and EOJ (ECHONET object) of the terminal 2.

なお、登録ネゴシエーション処理においては、インスタンスリスト通知以外の全てのデータについて、受信側のノードは送信側のノードに対し正常にデータを受信したことを表すACK(図5では破線で示す)を返信する。   In the registration negotiation process, for all data other than the instance list notification, the receiving node returns an ACK (indicated by a broken line in FIG. 5) indicating that the data has been normally received to the transmitting node. .

以上説明した本実施形態の通信システム10によれば、コントローラ(親機)1は、登録モードの期間において、複数台の端末2から登録要求を受信したと判断部153にて判断された場合には、これらの端末2について登録部151での登録を行わない。言い換えれば、コントローラ1は、登録モードにおいて登録要求を受信することがあっても、この登録モードが継続している期間中に他の端末2からの登録要求を受信すると、この登録モードの期間中にはいずれの端末2の登録も行わない。   According to the communication system 10 of the present embodiment described above, when the controller (master unit) 1 determines in the registration mode period that the determination unit 153 has received registration requests from a plurality of terminals 2. Does not register these terminals 2 in the registration unit 151. In other words, even if the controller 1 receives a registration request in the registration mode, if the controller 1 receives a registration request from another terminal 2 during the period in which the registration mode continues, the controller 1 No terminal 2 is registered.

すなわち、たとえば集合住宅などの環境で、近くの通信システム10にて同時に端末2の登録が行われた場合、コントローラ1は、登録モードの期間に本来登録すべき端末2の他、隣家などの想定外の端末2からの登録要求を受けることになる。このような場合、本実施形態の通信システム10によれば、コントローラ1は、登録モードの期間に複数台の端末2から登録要求を受信するので、これらの端末2について登録部151での登録を行わない。要するに、コントローラ1は、隣家などの想定外の端末2について誤登録の可能性がある場合には、登録を行わないので、誤登録の可能性を排除できる。   That is, for example, when the terminal 2 is registered simultaneously in the nearby communication system 10 in an environment such as an apartment house, the controller 1 assumes the terminal 2 that should be registered during the registration mode period, as well as the neighboring house. A registration request from an external terminal 2 is received. In such a case, according to the communication system 10 of the present embodiment, the controller 1 receives registration requests from a plurality of terminals 2 during the registration mode period, so registration of these terminals 2 by the registration unit 151 is performed. Not performed. In short, since the controller 1 does not perform registration when there is a possibility of erroneous registration of an unexpected terminal 2 such as a neighbor, the possibility of erroneous registration can be eliminated.

そして、コントローラ1が登録を行わなかった、つまり登録に失敗した場合には、改めて端末2の登録を行えばよいので、結果的に、誤登録の可能性を排除しつつ正しい端末2のみ登録することが可能である。特に、新築の集合住宅などで複数の住戸で一斉に登録作業を行うような場合、施工業者は、近くの通信システム10同士で登録のタイミングが重複した場合、タイミングをずらして改めて登録作業を行えば、隣家の端末2が誤って登録されることを確実に回避できる。   If the controller 1 does not register, that is, if registration fails, the terminal 2 may be registered again. As a result, only the correct terminal 2 is registered while eliminating the possibility of erroneous registration. It is possible. In particular, when a registration work is performed simultaneously in a plurality of dwelling units in a newly built apartment house, etc., when the registration timing overlaps between the nearby communication systems 10, the construction contractor performs the registration work again at different timings. For example, it can be surely avoided that the terminal 2 of the neighboring house is erroneously registered.

また、コントローラ1は、判断部153にて複数台の端末2から登録要求を受信したと判断されたときに、これら複数台の端末2の中に登録情報を送信済みの端末2があれば、この登録情報を消去するキャンセル部154を有している。したがって、コントローラ1は、既に登録情報を送信済みの端末2があっても、この端末2の登録を行わない場合には、この端末2から登録情報を消去することができる。   Further, when the controller 1 determines that the registration request has been received from the plurality of terminals 2 by the determination unit 153, if there is a terminal 2 that has already transmitted the registration information among the plurality of terminals 2, A cancel unit 154 for deleting the registered information is provided. Therefore, even if there is a terminal 2 that has already transmitted registration information, the controller 1 can delete the registration information from the terminal 2 when the terminal 2 is not registered.

さらに、コントローラ1は、判断部153にて複数台の端末2から登録要求を受信したと判断されたときに報知を行う報知部をさらに有する場合、登録に失敗したことをユーザに積極的に知らせることができる。そのため、登録に失敗した場合の端末2の再登録作業をユーザに早期に行わせることが可能になる。   Furthermore, when the controller 1 further includes a notification unit that notifies when the determination unit 153 determines that the registration request has been received from the plurality of terminals 2, the controller 1 actively notifies the user that registration has failed. be able to. Therefore, it is possible to prompt the user to re-register the terminal 2 when registration fails.

ところで、上記実施形態では、HEMS機器であるコントローラ1が親機(通信装置)を構成し、各種の電気機器に付設あるいは一体化された端末2が子機を構成する通信システム10を例示したが、この構成に限定する趣旨ではない。すなわち、通信システムは、親機と親機に登録された複数台の子機との間で通信を行う構成であればよく、たとえば電話システムであってもよい。   By the way, in the said embodiment, although the controller 1 which is HEMS apparatus comprises a main | base station (communication apparatus), although the terminal 2 attached to or integrated with various electric equipment illustrated the communication system 10 which comprises a subunit | mobile_unit. However, the present invention is not limited to this configuration. That is, the communication system only needs to be configured to perform communication between the parent device and a plurality of child devices registered in the parent device, and may be, for example, a telephone system.

1 コントローラ(親機、通信装置)
2、201,202,・・・ 端末(子機)
10 通信システム
15 制御部
151 登録部
152 切替部
153 判断部
154 キャンセル部
24 制御部
241 送信部
1 Controller (base unit, communication device)
2, 201, 202, ... Terminal (slave unit)
DESCRIPTION OF SYMBOLS 10 Communication system 15 Control part 151 Registration part 152 Switching part 153 Judgment part 154 Cancellation part 24 Control part 241 Transmission part

Claims (4)

子機との間で通信を行う通信装置であって、
登録済みの前記子機との間で通信を行う通常モードと前記子機の登録を行う登録モードとを切り替える切替部と、
前記登録モードにおいて前記子機から登録要求を受信すると当該登録要求の送信元の前記子機を登録する登録部と、
前記登録モードが選択されている期間に前記登録要求を1台の前記子機から受信したか複数台の前記子機から受信したかを判断する判断部とを有し、
前記登録要求を1台の前記子機から受信した場合、当該子機について前記登録部にて登録を行い、前記登録要求を複数台の前記子機から受信した場合、当該複数台の前記子機について登録を行わずに前記登録モードを終了するように構成されている
ことを特徴とする通信装置。
A communication device for communicating with a slave unit,
A switching unit that switches between a normal mode for communicating with the registered slave unit and a registration mode for registering the slave unit;
When receiving a registration request from the slave unit in the registration mode, a registration unit that registers the slave unit that is the transmission source of the registration request;
A determination unit that determines whether the registration request is received from one slave unit or a plurality of slave units during a period in which the registration mode is selected;
When the registration request is received from one slave unit, the registration unit registers the slave unit, and when the registration request is received from a plurality of slave units, the plurality of slave units The communication apparatus is configured to end the registration mode without performing registration for.
前記登録部は前記子機を登録する際に当該子機に登録情報を送信して当該子機に当該登録情報を登録させるように構成されており、
前記判断部にて複数台の前記子機から前記登録要求を受信したと判断されたときに、当該複数台の前記子機の中に前記登録情報を送信済みの子機があれば、当該子機に登録されている前記登録情報を消去するキャンセル部をさらに有する
ことを特徴とする請求項1に記載の通信装置。
The registration unit is configured to transmit registration information to the child device when registering the child device to register the registration information in the child device,
When the determination unit determines that the registration request has been received from a plurality of the slave units, if there is a slave unit that has transmitted the registration information in the plurality of slave units, the slave unit The communication apparatus according to claim 1, further comprising a cancel unit that deletes the registration information registered in a machine.
前記判断部にて複数台の前記子機から前記登録要求を受信したと判断されたときに報知を行う報知部をさらに有する
ことを特徴とする請求項1または2に記載の通信装置。
The communication apparatus according to claim 1, further comprising: a notification unit that performs notification when the determination unit determines that the registration request has been received from a plurality of the slave units.
親機と子機との間で通信を行う通信システムであって、
前記子機は、
前記親機に対し登録要求を送信する送信部を有し、
前記親機は、
登録済みの前記子機との間で通信を行う通常モードと前記子機の登録を行う登録モードとを切り替える切替部と、
前記登録モードにおいて前記子機から登録要求を受信すると当該登録要求の送信元の前記子機を登録する登録部と、
前記登録モードが選択されている期間に前記登録要求を1台の前記子機から受信したか複数台の前記子機から受信したかを判断する判断部とを有し、
前記登録要求を1台の前記子機から受信した場合、当該子機について前記登録部にて登録を行い、前記登録要求を複数台の前記子機から受信した場合、当該複数台の前記子機について登録を行わずに前記登録モードを終了するように構成されている
ことを特徴とする通信システム。
A communication system for performing communication between a master unit and a slave unit,
The slave is
A transmission unit that transmits a registration request to the master unit;
The base unit is
A switching unit that switches between a normal mode for communicating with the registered slave unit and a registration mode for registering the slave unit;
When receiving a registration request from the slave unit in the registration mode, a registration unit that registers the slave unit that is the transmission source of the registration request;
A determination unit that determines whether the registration request is received from one slave unit or a plurality of slave units during a period in which the registration mode is selected;
When the registration request is received from one slave unit, the registration unit registers the slave unit, and when the registration request is received from a plurality of slave units, the plurality of slave units The communication system is configured to end the registration mode without performing registration.
JP2012257750A 2012-11-26 2012-11-26 Communication apparatus, communication system Pending JP2014107637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012257750A JP2014107637A (en) 2012-11-26 2012-11-26 Communication apparatus, communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012257750A JP2014107637A (en) 2012-11-26 2012-11-26 Communication apparatus, communication system

Publications (1)

Publication Number Publication Date
JP2014107637A true JP2014107637A (en) 2014-06-09

Family

ID=51028790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012257750A Pending JP2014107637A (en) 2012-11-26 2012-11-26 Communication apparatus, communication system

Country Status (1)

Country Link
JP (1) JP2014107637A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11290442B2 (en) 2019-02-04 2022-03-29 Panasonic Intellectual Properly Management Co., Ltd. Communication device, communication method, and computer program
US11362892B2 (en) 2019-06-26 2022-06-14 Panasonic Intellectual Property Management Co., Ltd. Communication device, certification method, and computer readable recording medium for recertification of devices
US11831625B2 (en) 2019-12-11 2023-11-28 Panasonic Intellectual Property Management Co., Ltd. Gateway apparatus, communication method, and recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012156691A (en) * 2011-01-25 2012-08-16 Mitsubishi Electric Corp Electric home appliance system and radio setting method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012156691A (en) * 2011-01-25 2012-08-16 Mitsubishi Electric Corp Electric home appliance system and radio setting method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11290442B2 (en) 2019-02-04 2022-03-29 Panasonic Intellectual Properly Management Co., Ltd. Communication device, communication method, and computer program
US11362892B2 (en) 2019-06-26 2022-06-14 Panasonic Intellectual Property Management Co., Ltd. Communication device, certification method, and computer readable recording medium for recertification of devices
US11831625B2 (en) 2019-12-11 2023-11-28 Panasonic Intellectual Property Management Co., Ltd. Gateway apparatus, communication method, and recording medium

Similar Documents

Publication Publication Date Title
CN102843278B (en) Intelligent domestic network system and registration control device and household appliance registration method thereof
JP6362630B2 (en) Energy management equipment
EP2759161B1 (en) Energy management system
EP2479735B1 (en) Household electrical appliance system and radio setting method
US9294469B2 (en) Systems and methods for establishing a connection between an appliance and a home energy management device
CN102511129A (en) Nfc communication apparatus and method for controlling same
JP2014033300A (en) Household electric appliance controller, household electric appliance control system, and household electric appliance control method
JP2016143318A (en) Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program
JP6323331B2 (en) Information terminal, information display method, control program, and server
JP2014107637A (en) Communication apparatus, communication system
KR101772097B1 (en) Multiple access controller for boiler
JP6155530B2 (en) Communication system and communication equipment
KR20160051078A (en) Smart home controll system
JP6851008B2 (en) Equipment management device
JP2014049952A (en) Communication system and communication apparatus
JP2005057412A (en) Wireless data communication system, wireless master unit and wireless slave unit
JP2014055798A (en) Display unit, method and program
Zaman et al. A user-friendly low-cost mobile app based home appliance control and circuit breaker
WO2016067847A1 (en) Migration method for power management system, system used for migration, and server
CN110112622A (en) A kind of intelligent socket based on IPV6 networking
JPH1175271A (en) Transmitter for sending command to installation device
JP2020058198A (en) Management device
JP4162236B2 (en) Heat source machine communication system
KR102352926B1 (en) Setting communication device, communication system, information terminal control method and program
JP2019062383A (en) Relay device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150302

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151020

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160301