JP2008199181A - System, device and method for communication - Google Patents

System, device and method for communication Download PDF

Info

Publication number
JP2008199181A
JP2008199181A JP2007030511A JP2007030511A JP2008199181A JP 2008199181 A JP2008199181 A JP 2008199181A JP 2007030511 A JP2007030511 A JP 2007030511A JP 2007030511 A JP2007030511 A JP 2007030511A JP 2008199181 A JP2008199181 A JP 2008199181A
Authority
JP
Japan
Prior art keywords
encryption
encryption key
communication
information
modem
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.)
Granted
Application number
JP2007030511A
Other languages
Japanese (ja)
Other versions
JP5199581B2 (en
Inventor
Junichi Shirasu
潤一 白須
Katsuhiro Yada
勝啓 矢田
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.)
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
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 Sumitomo Electric Industries Ltd, Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Industries Ltd
Priority to JP2007030511A priority Critical patent/JP5199581B2/en
Publication of JP2008199181A publication Critical patent/JP2008199181A/en
Application granted granted Critical
Publication of JP5199581B2 publication Critical patent/JP5199581B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To automatically set an encryption key without input through a PC for an arbitrary pair of communication devices selected by a user. <P>SOLUTION: A communication system has a pair of communication devices A and B which can constitute a local network, and an encryption key is transmitted and received between the communication devices A and B to share the key. Each of the communication devices A and B stores encryption information related to whether encryption operations are completed. In this state, one of the communication devices receives the encryption information from the other device, and then determines whether encryption operations are completed based on the encryption information on both of the devices. In response to the determination results, an encryption key is transmitted and received between them. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、暗号鍵を含む暗号設定用の制御フレームを送受信して暗号化を行う通信システム、通信装置及び通信方法に関するものである。   The present invention relates to a communication system, a communication apparatus, and a communication method for performing encryption by transmitting / receiving a control frame for encryption setting including an encryption key.

例えば、電力線通信システム(Power Line Communication System:以下、PLCシステムという。)は、周波数が50Hz又は60Hzの商用電流が流れる電力線に、通信信号としての高周波信号(数kHzから高いものでは数十MHz以上に及ぶ。)を重畳して通信を行うものである。
かかるPLCシステムは専用の通信回線を使用することなく、各家屋等に引き込まれた既設の電力線(配電線あるいは電灯線とも呼ばれる。)を利用して大容量のデータ送受信が可能なシステムとして注目されている。
For example, a power line communication system (hereinafter referred to as a PLC system) is a high-frequency signal (as high as several kHz to several tens of MHz or more) on a power line through which a commercial current with a frequency of 50 Hz or 60 Hz flows. To communicate with each other.
Such a PLC system has attracted attention as a system capable of transmitting and receiving large-capacity data using an existing power line (also called a distribution line or a light line) drawn into each house without using a dedicated communication line. ing.

上記PLCシステムでは、宅内に張られた電力線をあたかもLANのように使うことで宅内の電力線通信装置(PLCモデムやPLC通信が可能な情報家電機器等)同士が自由に通信可能である反面、隣接家屋とも電力線を通じて物理的に接続している。
このため、PLCシステムによってローカルネットワークを構築するためには、そのネットワークを構成する電力線通信装置が当該ネットワークの認証情報を持つ必要があり、この認証情報としては、当該ネットワークを特定するためのネットワークID、当該ネットワーク内で送受信される信号を暗号化するための暗号鍵などがある。
In the above-mentioned PLC system, power line communication devices (such as PLC modems and information home appliances capable of PLC communication) can be freely communicated with each other by using a power line stretched in the house as if it were a LAN. It is physically connected to the house through power lines.
For this reason, in order to construct a local network by the PLC system, it is necessary that the power line communication device constituting the network has authentication information of the network, and this authentication information includes a network ID for specifying the network. There are encryption keys for encrypting signals transmitted and received in the network.

これらの認証情報を、ローカルネットワークに含まれる電力線通信装置が共有することにより、他のネットワークのデータと自ネットワークのデータを区別して通信することができる。例えば、従来のPLCシステムでは、隣接家屋との通信を避けるために1つの家庭で1つの暗号鍵を設定し、この暗号鍵を用いて暗号化通信を行っている。
この場合、同一のネットワークに含まれる各通信装置は同一の暗号鍵を有しているが、この暗号鍵は隣接家屋のそれとは異なるため、隣接家屋の他のネットワークに属する電力線通信装置は当該家屋からの通信データを解読できない。このようにして、物理的には接続している電力線においても、論理的にネットワークを分けることができる(特許文献1参照)。
By sharing these pieces of authentication information among the power line communication devices included in the local network, it is possible to perform communication while distinguishing data of other networks from data of the own network. For example, in a conventional PLC system, one encryption key is set in one home in order to avoid communication with adjacent houses, and encrypted communication is performed using this encryption key.
In this case, each communication device included in the same network has the same encryption key, but since this encryption key is different from that of the adjacent house, the power line communication devices belonging to other networks of the adjacent house Communication data from cannot be decoded. In this way, the network can be logically separated even on physically connected power lines (see Patent Document 1).

特開2006−166273号公報JP 2006-166273 A

しかしながら、従来の電力線通信装置に対する暗号鍵の設定方法は、パーソナルコンピュータ(以下、PCという。)から電力線通信装置にアクセスしてユーザがコマンド入力を行うか、PCから電力線通信装置へのアクセス専用GUIを利用して入力する方法であり、ネットワークやPCの操作に精通していないユーザにとっては煩雑な作業であった。
また、PLCシステムでは、今後、電力線通信が可能なビデオ再生/録画機器とテレビモニタとの接続など、PCを用いないでネットワークを構築する必要性があるケースが増えてくると考えられるが、このようなケースでは、PCを所有していないユーザが暗号鍵の設定作業を行うことができない。
However, an encryption key setting method for a conventional power line communication apparatus is performed by accessing a power line communication apparatus from a personal computer (hereinafter referred to as a PC) and inputting a command by the user, or a dedicated GUI for accessing the power line communication apparatus from the PC. This is a complicated operation for a user who is not familiar with network and PC operations.
In the PLC system, it is considered that there will be an increasing number of cases where it is necessary to construct a network without using a PC, such as a connection between a video playback / recording device capable of power line communication and a TV monitor. In such a case, a user who does not have a PC cannot perform encryption key setting work.

一方、上記特許文献1に記載の暗号鍵の設定方法では、ヘッドエンド装置が暗号鍵を一元管理しており、そのヘッドエンド装置が、ネットワークへの接続を端緒として暗号鍵の付与を要求する各端末に対して当該暗号鍵を自動的に付与するようになっている。
しかし、このようにヘッドエンド装置で暗号鍵を一元管理する方式においても、そのヘッドエンド装置に対するコマンド入力をPCから行う必要がある。また、このような一元管理方式では、任意の一対の端末同士で簡単に暗号鍵の設定作業を行うことができないという欠点もある。
On the other hand, in the encryption key setting method described in Patent Document 1, the head end device centrally manages the encryption key, and the head end device requests the assignment of the encryption key starting with connection to the network. The encryption key is automatically assigned to the terminal.
However, even in such a system in which the head end device centrally manages the encryption key, it is necessary to input a command to the head end device from the PC. In addition, such a unified management method has a drawback that an encryption key setting operation cannot be easily performed between any pair of terminals.

本発明は、このような実情に鑑み、ユーザが選択した任意の一対の通信装置に対して、PCによる入力なしで暗号鍵を自動設定できるようにして、暗号鍵の設定作業を簡単に行える通信システム等を提供することを目的とする。   In view of such a situation, the present invention enables an encryption key to be set automatically for an arbitrary pair of communication devices selected by a user without input by a PC, so that the encryption key can be easily set. The purpose is to provide a system.

本発明は、ローカルネットワークを構成可能な一対の通信装置を備え、一方の通信装置と他方の通信装置との間で暗号鍵を共有するために当該暗号鍵を送受信する通信システムであって、
前記一方及び他方の通信装置は、暗号化作業が済みか未かに関する暗号化情報をそれぞれ記憶しており、他機の暗号化情報を自機が当該他機から受信し、当該自機の暗号化情報又は他機の暗号化情報若しくはこれらの双方が未であるかどうかを判定し、この判定結果に応じて前記暗号鍵の送受信を開始することを特徴とする。
The present invention is a communication system that includes a pair of communication devices capable of configuring a local network, and transmits and receives the encryption key in order to share the encryption key between one communication device and the other communication device,
The one and the other communication devices respectively store encryption information regarding whether or not the encryption work has been completed, and the own device receives the encryption information of the other device from the other device, and the encryption of the own device It is determined whether the encryption information or the encryption information of the other device or both of them is not yet received, and transmission / reception of the encryption key is started according to the determination result.

本発明の通信システムによれば、ローカルネットワークを構成可能な一方及び他方の通信装置は、予め、暗号化作業が済みか否かに関する暗号化情報(暗号化未又は暗号化済)を記憶している。
この状態において、他機の暗号化情報を自機が他機から受信すると、自機の暗号化情報又は他機の暗号化情報のいずれか若しくはこれらの双方が未であるかを判定するので、これらの通信装置が暗号化作業を行うべきもの同士か否かを自動的に判別できる。このため、ユーザが選択した任意の一対の通信装置であっても、PCによる入力なしで暗号鍵を自動設定することができる。
According to the communication system of the present invention, one and the other communication devices that can constitute the local network store in advance encryption information (unencrypted or encrypted) regarding whether or not the encryption work has been completed. Yes.
In this state, when the own device receives the encryption information of the other device from the other device, it is determined whether either or both of the encryption information of the own device and the encryption information of the other device is not yet. It is possible to automatically determine whether or not these communication devices should perform encryption work. For this reason, even if it is an arbitrary pair of communication apparatus which the user selected, an encryption key can be automatically set without input by PC.

具体的には、上記一方及び他方の通信装置において、前記自機の暗号化情報と前記他機の暗号化情報がともに未であると判定された場合には、前記自機が新たな暗号鍵を生成してその暗号鍵を前記他機に配付し、この配付を受けた前記他機が当該暗号鍵を自身の暗号鍵として記憶することにより、暗号鍵を自動設定することができる。   Specifically, when it is determined that the encryption information of the own device and the encryption information of the other device are not yet present in the one and the other communication devices, the own device uses a new encryption key. And the encryption key is distributed to the other device, and the other device that has received the distribution stores the encryption key as its own encryption key, so that the encryption key can be automatically set.

また、前記一方及び他方の通信装置において、前記自機の暗号化情報が済で前記他機の暗号化情報が未であると判定された場合には、前記自機が既に記憶している自身の暗号鍵を前記他機に配付し、この配付を受けた前記他機が当該暗号鍵を自らの暗号鍵として記憶するようにすればよい。
同様に、前記一方及び他方の通信装置において、前記自機の暗号化情報が未で前記他機の暗号化情報が済であると判定した場合には、逆に、前記他機が既に記憶している自身の暗号鍵を前記自機に配付し、この配付を受けた前記自機が当該暗号鍵を自らの暗号鍵として記憶するようにすればよい。
In addition, in the one and the other communication devices, when it is determined that the encryption information of the own device is completed and the encryption information of the other device is not yet, the own device has already stored The other key may be distributed to the other device, and the other device receiving the distribution may store the encryption key as its own encryption key.
Similarly, in the one and the other communication devices, when it is determined that the encryption information of the own device is not yet and the encryption information of the other device has been completed, the other device has already stored the reverse. It is only necessary to distribute the own encryption key to the own device and store the encryption key as the own encryption key.

なお、前記一方及び他方の通信装置において、前記自機の暗号化情報が済で前記他機の暗号化情報が済であると判定された場合には、既に設定されている暗号鍵を変更する必要がないので、前記自機及び前記他機が既に記憶している自身の暗号鍵を変更せずにそのまま保持するようにすればよい。   In the one and other communication devices, when it is determined that the encryption information of the own device has been completed and the encryption information of the other device has been completed, the already set encryption key is changed. Since there is no need, it is sufficient to keep the own encryption key stored in the own device and the other device without changing them.

本発明において、前記通信装置は、前記暗号化情報の送信を開始させるためのユーザインタフェースとなる操作部材(例えば、操作ボタン)を備えていることが好ましい。この場合、前記操作部材に対する操作タイミングが前記自機と他機との間で一定時間内(例えば、1分以内)であるときに前記判定を行うようにすれば、ユーザが選択していない他の通信装置との間で暗号鍵の設定作業が開始されるのを防止することができる。
また、例えば、3台以上の通信装置の前記操作部材が操作され、その操作タイミングが前記一定時間内であるときには、最初に操作された2台の通信装置の間で前記判定を行うようにすれば、想定外の通信装置との間で暗号鍵の設定作業が開始されるのを防止することができる。
In the present invention, it is preferable that the communication device includes an operation member (for example, an operation button) serving as a user interface for starting transmission of the encrypted information. In this case, if the determination is performed when the operation timing for the operation member is within a certain time (for example, within 1 minute) between the own device and the other device, the user has not selected It is possible to prevent the encryption key setting operation from being started with the other communication device.
For example, when the operation members of three or more communication devices are operated and the operation timing is within the predetermined time, the determination is performed between the two communication devices operated first. Thus, it is possible to prevent an encryption key setting operation from being started with an unexpected communication device.

上記の通り、本発明では、自機と他機の暗号化情報がいずれも済である場合には、自機及び他機は既に記憶している自身の暗号鍵を変更せずにそのまま保持し、暗号設定用の制御フレームの送受信は開始されない。このため、通信装置が暗号化情報を未に戻す機能を備えていないと、いったん設定した暗号鍵を二度と変更することができなくなる。
そこで、本発明において、前記通信装置が、外部からのリセット操作により、暗号化済みの暗号鍵を初期化して、自機の暗号化情報を未に戻すリセット機能を有することが好ましい。
また、この場合、前記リセット機能により初期化された後の初期暗号鍵が通信装置ごとに異なる値を持つようにすれば、初期暗号鍵が同一である場合に比べて、隣接家屋等に構築された他のローカルネットワーク内の通信装置との通信が確立する蓋然性が少なくなるので、セキュリティ上より好ましい。
As described above, in the present invention, when the encryption information of both the own device and the other device has been completed, the own device and the other device retain their own encryption keys without change. The transmission / reception of the encryption setting control frame is not started. For this reason, if the communication device does not have a function to return the encrypted information to the unset state, the encryption key once set cannot be changed again.
Therefore, in the present invention, it is preferable that the communication device has a reset function that initializes an encrypted encryption key and resets the encryption information of the own device to an unreturned state by an external reset operation.
In this case, if the initial encryption key after being initialized by the reset function has a different value for each communication device, it is constructed in an adjacent house or the like compared to the case where the initial encryption key is the same. In addition, the probability of establishing communication with a communication device in another local network is reduced, which is more preferable in terms of security.

上記の通り、本発明においては、自機と他機の暗号化情報との組み合わせで暗号化作業を行うか否かを決定し、また、いったん付与された暗号鍵をリセットする場合もあることから、通信装置に、少なくとも、前記暗号化情報、暗号化作業の成否及びリセット作業の成否を外部に表示する表示部を設けることにより、当該通信装置の動作状態をユーザに認識可能にすることが好ましい。   As described above, in the present invention, it is determined whether or not to perform encryption work in combination with the encryption information of the own device and the other device, and the encryption key once given may be reset. It is preferable that the communication device is provided with a display unit that displays at least the encryption information, the success / failure of the encryption work, and the success / failure of the reset operation so that the user can recognize the operation state of the communication device. .

以上説明したように、本発明によれば、ユーザが選択した任意の一対の通信装置に対して、PCによる入力なしで暗号鍵を自動設定できるので、暗号鍵の設定作業をより簡単に行うことができる。   As described above, according to the present invention, since an encryption key can be automatically set for any pair of communication devices selected by the user without input by a PC, the encryption key setting operation can be performed more easily. Can do.

以下、図面に基づいて本発明の実施形態を説明する。
〔宅内ネットワークの構成〕
図1は、複数の家屋H1,H2に電力線通信技術を用いて構築された宅内ネットワーク(LAN)を示している。
この電力線通信による宅内ネットワークでは、各家屋H1,H2内の宅内配電線10,11を利用して、それぞれの建物H1,H2ごとに独立したネットワーク(LAN)が構築されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Home network configuration]
FIG. 1 shows a home network (LAN) constructed using a power line communication technique in a plurality of houses H1, H2.
In this home network using power line communication, an independent network (LAN) is constructed for each of the buildings H1 and H2 using the home distribution lines 10 and 11 in the houses H1 and H2.

各家屋H1,H2の宅内配電線(建物内電力線)10,11は、引き込み線12,13を介して、電柱に架設される等により家屋H1,H2の近傍にある屋外電力線100に接続されている。
なお、引き込み線12,13は、各家屋H1,H2の分電盤14,15に接続されており、分電盤14,15から分岐した複数の宅内配電線10,11が各家屋内H1,H2に敷設されている。
The in-house distribution lines (in-building power lines) 10 and 11 of the houses H1 and H2 are connected to the outdoor power lines 100 in the vicinity of the houses H1 and H2 through the lead-in lines 12 and 13 by being installed on a power pole. Yes.
The lead-in wires 12 and 13 are connected to the distribution boards 14 and 15 of the houses H1 and H2, and a plurality of in-house distribution lines 10 and 11 branched from the distribution boards 14 and 15 are connected to the indoors H1 and H1, respectively. It is laid on H2.

各宅内配電線10,11には、それぞれ、1又は複数の終端部が設けられており、各終端部には複数の電源コンセント(壁面コンセント)16,17が接続されている。これらのコンセント16,17の差込口に、複数の電力線通信装置(以下、単に「モデム」という。)A〜Fがそれぞれ接続されている。この各モデムA〜Fは、配電線10,11を介して、PLC信号の伝送を行うとともに電力供給を受ける。   Each of the in-house distribution lines 10 and 11 is provided with one or a plurality of terminal portions, and a plurality of power outlets (wall outlets) 16 and 17 are connected to each terminal portion. A plurality of power line communication devices (hereinafter simply referred to as “modems”) A to F are connected to the outlets of these outlets 16 and 17, respectively. Each of the modems A to F transmits a PLC signal and receives power supply via the distribution lines 10 and 11.

なお、PLCによりネットワークを構成する場合、当該ネットワークには、電力線通信を制御する親モデムが含まれている必要がある。
もっとも、この親モデムの機能は、親モデム専用機に担わせてもよいが、すべてのモデムが親モデムとしての機能を有していて、最も古くから電源が投入されているモデムが親モデムとなり、後から電源が投入されたモデムは子モデムとなる等により、親モデムがネットワークの状態に応じて適宜決まるようにしてもよい。
When a network is configured by PLC, the network needs to include a parent modem that controls power line communication.
Of course, this parent modem function may be assigned to the parent modem dedicated machine, but all modems have a function as a parent modem, and the modem that has been powered on for the longest time is the parent modem. The modem that is turned on later may be a child modem, so that the parent modem may be appropriately determined according to the state of the network.

ここで、家屋H1,H2ごとに独立したネットワーク(LAN)が構築しようとしても、各家屋H1,H2の宅内配電線10,11は、電力線100を介して繋がっている。従って、一方のネットワークの信号は、他方のネットワークに到達することができる。そこで、各ネットワークを独立化するため、各モデムA〜Fには、セキュリティ情報として、ネットワーク識別子及び暗号鍵に関するデータが設定可能となっている。
なお、ネットワーク識別子は、自他ネットワークを区別すべくネットワーク毎にユニークに設定され、同一ネットワークに属するモデムA〜Cは、共通のネットワーク識別子を持つ。また、同一ネットワークに属するモデムA〜Cは、共通の暗号鍵を持ち、ネットワーク外からは信号を読み取れない。
Here, even if an independent network (LAN) is to be constructed for each of the houses H <b> 1 and H <b> 2, the in-house distribution lines 10 and 11 of the houses H <b> 1 and H <b> 2 are connected via the power line 100. Therefore, the signal of one network can reach the other network. Therefore, in order to make each network independent, each modem A to F can set data relating to a network identifier and an encryption key as security information.
The network identifier is uniquely set for each network so as to distinguish the own network from other networks, and the modems A to C belonging to the same network have a common network identifier. The modems A to C belonging to the same network have a common encryption key and cannot read signals from outside the network.

〔モデムの構成〕
図2は、上記モデムA,Bの内部構成を示すブロック図である。なお、他のモデムC,D,E,Fの構成も同様である。
図2に示すように、このモデムA,Bは、筐体20から延設された電源コード21を有し、このコード21の先端に設けられた電源プラグ22を介して、コンセントに接続可能となっている。電源コード21は、筐体20内の電源回路23とPLC送受信部(通信部)24に接続されている。この送受信部24は、信号の変復調等の処理を行って他のモデムと電力線通信を行うものである。また、モデムA,Bは、PLC送受信部24の制御、送受信データの処理、及び、後述する暗号化作業やリセット作業等を行う制御部25を備えている。
[Modem configuration]
FIG. 2 is a block diagram showing the internal configuration of the modems A and B. As shown in FIG. The configurations of the other modems C, D, E, and F are the same.
As shown in FIG. 2, the modems A and B have a power cord 21 extending from the housing 20 and can be connected to an outlet via a power plug 22 provided at the tip of the cord 21. It has become. The power cord 21 is connected to a power circuit 23 and a PLC transmission / reception unit (communication unit) 24 in the housing 20. The transmission / reception unit 24 performs processing such as signal modulation / demodulation to perform power line communication with other modems. The modems A and B include a control unit 25 that controls the PLC transmission / reception unit 24, processes transmission / reception data, and performs an encryption operation and a reset operation, which will be described later.

モデムA,BのPLC送受信部24は、所定の電力線通信用の周波数帯域において、複数の搬送波(マルチキャリア)を用いる周波数多重方式、より具体的には、直交化周波数多重(OFDM:orthogonal Frequency Domain Multiplex)とよばれる変調方式で変調を行う。このため、PLC送受信部24は、直交振幅変調(QAM:Quadrature Amplitude Modulation)機能を有しており、送信すべきデータを複数のキャリアに分散割当し、割り当てられたデータに基づいてキャリアの振幅(パワー)及び位相を変調する。
なお、本実施形態では、通常の電力線通信の際の周波数帯域として2MHz〜30MHzを用い、全帯域(2MHz〜30MHz)でのキャリア数を2048本(N本)としているが、これに限定されるものではない。
The PLC transmitting / receiving unit 24 of the modems A and B is a frequency multiplexing method using a plurality of carriers (multicarrier) in a predetermined frequency band for power line communication, more specifically, orthogonal frequency multiplexing (OFDM). Modulation is performed using a modulation method called Multiplex. For this reason, the PLC transmission / reception unit 24 has a quadrature amplitude modulation (QAM) function, and distributes and allocates data to be transmitted to a plurality of carriers. Based on the allocated data, the carrier amplitude ( Power) and phase.
In this embodiment, 2 MHz to 30 MHz is used as a frequency band in normal power line communication, and the number of carriers in the entire band (2 MHz to 30 MHz) is set to 2048 (N), but the present invention is limited to this. It is not a thing.

モデムA,Bの制御部25は、前記セキュリティ情報の1つである暗号鍵の設定作業を行う暗号設定処理部26を備えており、この処理部26は、他のモデムA,Bとの間で暗号鍵を共有するために、当該暗号鍵を含む暗号設定用の制御フレーム35(又は38)をPLC送受信部24に行わせることができる。
制御部25には、不揮発性のメモリ27が接続されており、このメモリ27は、上記暗号鍵の記憶領域と、後述する暗号化作業が済みか否かに関する暗号化情報(「暗号化未」又は「暗号化済」)の記憶領域を備えている。
The control unit 25 of the modems A and B includes an encryption setting processing unit 26 that performs an operation of setting an encryption key that is one of the security information. The processing unit 26 is connected to the other modems A and B. In order to share the encryption key, it is possible to cause the PLC transmission / reception unit 24 to perform the encryption setting control frame 35 (or 38) including the encryption key.
A non-volatile memory 27 is connected to the control unit 25, and the memory 27 stores the encryption key storage area and encryption information (“unencrypted”) regarding whether or not an encryption operation described later has been completed. Or “encrypted”) storage area.

モデムA,Bの筐体20には、暗号化作業用の操作部材である押しボタン28と、リセット作業用の操作部材であるリセットボタン29とが設けられている。
これらのボタン28,29はともに制御部25に接続され、ユーザが押しボタン28を押下すると、上記暗号設定処理部26が後述する暗号化作業を開始し、ユーザがリセットボタン29を押下すると、同暗号設定処理部26が後述するリセット作業を開始するようになっている。
The casings 20 of the modems A and B are provided with a push button 28 that is an operation member for encryption work and a reset button 29 that is an operation member for reset work.
Both of these buttons 28 and 29 are connected to the control unit 25. When the user presses the push button 28, the encryption setting processing unit 26 starts an encryption operation described later, and when the user presses the reset button 29, the same operation is performed. The encryption setting processing unit 26 starts a reset operation described later.

このように、本実施形態では、ユーザが押しボタン28を操作して暗号化作業を開始したり、ユーザがリセットボタン29を操作してリセット作業を開始したりする。
このため、各モデムA,Bの暗号化状態(暗号化済か暗号化未か)や、ボタン操作した後の暗号化やリセットが成功したかどうかを、ユーザが知ることが重要である。そこで、モデムA,Bの筐体20には、上記各作業の状態変化をユーザに認識させるための、LED等よりなる表示部30が設けられている。
本実施形態の表示部30は、後述するモデムA,Bの状態変化(図4及び図5に示す、暗号化未、暗号化済、暗号化作業中、暗号化失敗、設定リセット作業中、及び、設定リセット失敗)を外部に表示するものである。かかる表示の区別は、例えば、LEDの発光色の変化や、複数のLEDの点灯数又は点灯回数の変化等で表現することができる。
Thus, in this embodiment, the user operates the push button 28 to start the encryption work, or the user operates the reset button 29 to start the reset work.
For this reason, it is important for the user to know the encryption state (encrypted or unencrypted) of each of the modems A and B and whether the encryption or reset after the button operation is successful. Therefore, the casing 20 of the modems A and B is provided with a display unit 30 made up of LEDs or the like for allowing the user to recognize the change in the state of each work.
The display unit 30 according to the present embodiment is configured to change the state of modems A and B described later (not shown in FIG. 4 and FIG. 5). , Setting reset failure). Such display distinction can be expressed by, for example, a change in the emission color of LEDs, a change in the number of lights or the number of times of lighting of a plurality of LEDs, and the like.

〔暗号化作業〕
本実施形態では、ユーザが一対のモデムA,Bの押しボタン28を押下すると、制御部25が以下に説明する暗号化作業のモードに入り、図3に示す所定の変更条件をクリアした場合に、当該モデムA,B間で暗号鍵を共有するため制御通信をPLC送受信部24に行わせる。なお、この制御通信の詳細(図6及び図7)については後述する。
すなわち、ユーザは、暗号鍵を共有させたい2台のモデムA,Bの押しボタン28をほぼ同時に押すことで、前記制御通信を開始させることができる。この場合、押す順序は関係ないものとする。このように、一対のモデムA,Bの押しボタン28を同時に押下して暗号鍵を共有させる作業を、「暗号化作業」と呼ぶ。
[Encryption work]
In the present embodiment, when the user presses the push button 28 of the pair of modems A and B, the control unit 25 enters an encryption operation mode described below and clears the predetermined change condition shown in FIG. In order to share the encryption key between the modems A and B, the PLC communication unit 24 is caused to perform control communication. Details of this control communication (FIGS. 6 and 7) will be described later.
That is, the user can start the control communication by substantially simultaneously pressing the push buttons 28 of the two modems A and B to share the encryption key. In this case, the order of pressing is not relevant. In this manner, the work of simultaneously pressing the push buttons 28 of the pair of modems A and B to share the encryption key is referred to as “encryption work”.

モデムA,Bは、それぞれ、暗号化情報として「暗号化未」又は「暗号化済」のいずれかの状態を前記メモリ27に記憶している。そして、各モデムA,Bの制御部は、図3に示す変更条件に基づき、一対のモデムA,Bの状態の組み合わせによって、暗号鍵の変更を行うか否かを判定する。
ここで、「暗号化未」とは、上記暗号化作業が行われておらず、初期暗号鍵を所有している状態のことを意味する。この初期暗号鍵は、PLC機器のメーカが工場出荷時に設定することを想定しており、この初期暗号鍵は、PLC機器ごとに同じでも異なっていてもよい。
Each of the modems A and B stores either “not encrypted” or “encrypted” in the memory 27 as encryption information. And the control part of each modem A and B determines whether an encryption key is changed by the combination of the state of a pair of modems A and B based on the change conditions shown in FIG.
Here, “unencrypted” means that the encryption operation has not been performed and the initial encryption key is owned. This initial encryption key is assumed to be set by the manufacturer of the PLC device at the time of factory shipment, and this initial encryption key may be the same or different for each PLC device.

もっとも、PLC機器ごとに異なる初期暗号鍵を有する方が、セキュリティ上望ましい。その理由は、ユーザがモデムを入手した後で暗号化作業をするまでは、初期暗号鍵を持つ他のPLC機器(隣接家屋のモデムを含む。)と接続可能であるため、意図しない情報が入ってきたり、流出したりする可能性があるからである。
一方、「暗号化済」とは、暗号化作業を完了した状態を意味する。「暗号化未」から「暗号化済」への状態変化は、暗号化作業により発生する。また、「暗号化済」から「暗号化未」への状態変化は、後述するリセット作業により発生する。
Of course, it is desirable in terms of security to have different initial encryption keys for each PLC device. The reason is that after the user obtains the modem, it can be connected to other PLC devices with the initial encryption key (including the modem in the neighboring house) until the encryption work is performed, so unintended information is entered. This is because there is a possibility of coming out or spilling.
On the other hand, “encrypted” means a state where the encryption work is completed. The state change from “unencrypted” to “encrypted” occurs due to the encryption operation. Further, the state change from “encrypted” to “unencrypted” occurs due to a reset operation described later.

〔暗号鍵の変更条件〕
図3の表に示すように、暗号化作業を行うモデムAとモデムBにおいて、モデムAの暗号化情報とモデムBの暗号化情報がともに「暗号化未」であると判定された場合には、押しボタン28の押下が早い方のモデムAが新たな暗号鍵を生成し、モデムAとモデムBは以後、その暗号鍵を使用する。
なお、この場合、モデムBに対する暗号鍵の設定は、後述の通り、暗号鍵を含む制御フレーム35をモデムBに配付し、この配付を受けたモデムBが当該暗号鍵を自身の暗号鍵として記憶することによって行われる。
[Encryption key change conditions]
As shown in the table of FIG. 3, when it is determined that the encryption information of the modem A and the encryption information of the modem B are both “unencrypted” in the modem A and the modem B that perform encryption work. The modem A that presses the push button 28 earlier generates a new encryption key, and the modem A and the modem B use the encryption key thereafter.
In this case, as will be described later, the encryption key is set to the modem B by distributing a control frame 35 including the encryption key to the modem B, and the modem B receiving the distribution stores the encryption key as its own encryption key. Is done by doing.

また、暗号化作業を行うモデムAとモデムBにおいて、モデムAの暗号化情報が「暗号化未」でモデムBの暗号化情報が「暗号化済」であると判定された場合には、モデムAは、モデムBが既に記憶している暗号鍵を使用する。
この場合、モデムAに対する暗号鍵の設定は、後述の通り、暗号鍵を含む制御フレーム38をモデムBがモデムAに配付し、この配付を受けたモデムAが当該暗号鍵を自身の暗号鍵として記憶することによって行われる。
If it is determined that the encryption information of the modem A is “unencrypted” and the encryption information of the modem B is “encrypted” in the modem A and the modem B that perform encryption work, A uses the encryption key that the modem B has already stored.
In this case, as will be described later, the encryption key is set to the modem A by the modem B distributing the control frame 38 including the encryption key to the modem A, and the modem A receiving the distribution uses the encryption key as its encryption key. Done by memorizing.

また、暗号化作業を行うモデムAとモデムBにおいて、モデムAの暗号化情報が「暗号化済」でモデムBの暗号化情報が「暗号化未」であると判定された場合には、モデムBは、モデムAが既に記憶している暗号鍵を使用する。
なお、この場合も、モデムBに対する暗号鍵の設定は、暗号鍵を含む制御フレーム35をモデムAがモデムBに配付し、この配付を受けたモデムBが当該暗号鍵を自身の暗号鍵として記憶することによって行われる。
If it is determined that the encryption information of the modem A is “encrypted” and the encryption information of the modem B is “unencrypted” in the modem A and the modem B that perform encryption work, B uses the encryption key that modem A has already stored.
In this case as well, the encryption key is set to the modem B by distributing the control frame 35 including the encryption key to the modem B by the modem A and storing the encryption key as its own encryption key. Is done by doing.

また、モデムAとモデムBの双方が「暗号化済」であると判定された場合には、両モデムA,Bは、既に記憶している自身の暗号鍵を変更せずそのまま保持し、この場合、暗号化作業は失敗とする。
このため、「暗号化済」のモデムA,B同士の間で暗号鍵を共有したい場合には、いずれか一方のモデムに対して、いったん暗号化情報を「暗号化未」に戻す後述のリセット作業を行ってから、暗号化作業を行うことになる。
When it is determined that both the modem A and the modem B are “encrypted”, the modems A and B both keep their own encryption keys without being changed. The encryption operation fails.
For this reason, when it is desired to share the encryption key between the "encrypted" modems A and B, the reset described later returns the encryption information to "unencrypted" once for either modem. After performing the work, the encryption work is performed.

このように、本実施形態では、ユーザが選択した任意の一対のモデムに対して、それぞれ暗号化作業を行うようになっている。
従って、例えば、「暗号化未」のモデムA〜Eが5台あるとすれば、例えば、モデムAとモデムB、モデムBとモデムC、モデムCとモデムD、モデムDとモデムEというように、ユーザが選択した任意の一対のモデムに対して、それぞれ暗号化作業を行う必要がある。
As described above, in this embodiment, the encryption operation is performed for each pair of modems selected by the user.
Therefore, for example, if there are five "unencrypted" modems A to E, for example, modem A and modem B, modem B and modem C, modem C and modem D, modem D and modem E, etc. Therefore, it is necessary to perform encryption for each pair of modems selected by the user.

〔リセット作業〕
モデムA,Bの暗号化情報を、「暗号化済」から「暗号化未」に戻したいときには、前記リセットボタン29を利用したリセット作業を行う。すなわち、リセットボタン29が押下されると、モデムA,Bの制御部25は、メモリ27が記憶している暗号化情報を、「暗号化済」から「暗号化未」に変更する。このリセット作業は、暗号化作業と異なり、1台のモデムA,Bに対して単独で実施することができる。
このリセット作業は、すでに暗号化されてどこかのネットワークに入っているモデムを離脱させたい場合や、別のネットワークに入れたい場合に、そのモデムの暗号化設定をリセットする場合に行う。
[Reset work]
When it is desired to return the encryption information of the modems A and B from “encrypted” to “unencrypted”, a reset operation using the reset button 29 is performed. That is, when the reset button 29 is pressed, the control unit 25 of the modems A and B changes the encryption information stored in the memory 27 from “encrypted” to “unencrypted”. Unlike the encryption operation, this reset operation can be performed independently for one modem A or B.
This reset operation is performed when the modem that has already been encrypted and entered into some network is to be disconnected, or when the encryption setting of the modem is reset when it is desired to enter another network.

また、リセットボタン29が押下されると、制御部25は、暗号化状態を「暗号化未」に設定すると同時に、メモリ27が記録している暗号鍵の値を初期化する。この暗号鍵の初期化については、2通りの実施方法がある。
その1つは、モデムA,Bが予め工場出荷時の暗号鍵をデフォルトとして保管している場合に、そのデフォルトの暗号鍵に戻す方法であり、もう1つは、暗号鍵を乱数等によってランダムなものに設定し直す方法である。
前者の方法では、リセット作業のたびに暗号鍵が同一になるが、モデムが工場出荷時の暗号鍵を保管しておく必要がある。後者の方法では、リセット作業のたびに暗号鍵が変化するので、管理が複雑になる反面、初期暗号鍵をモデムA,Bごとに異なるものにすることができる。
When the reset button 29 is pressed, the control unit 25 sets the encryption state to “unencrypted” and at the same time initializes the value of the encryption key recorded in the memory 27. There are two methods for initializing the encryption key.
One method is to restore the default encryption key when the modems A and B store the factory default encryption key as a default. The other method is to randomly change the encryption key by a random number or the like. It is a method of resetting to something.
In the former method, the encryption key is the same every time resetting is performed, but the modem needs to store the encryption key at the time of factory shipment. In the latter method, since the encryption key changes every reset operation, the management becomes complicated, but the initial encryption key can be made different for each of the modems A and B.

〔押しボタン28を押下した時の状態変化〕
図4は、モデムA,Bにおける暗号化作業の状態変化を示している。
このうち、図4(a)は、「暗号化未」のモデムA,Bの押しボタン28を押下した時の状態変化を示している。
同図に示すように、「暗号化未」であるモデムA,Bの押しボタン28を押下すると、「暗号化作業中」の状態となる。そして、暗号化作業が無事に成功すると「暗号化済」の状態になり、失敗した場合には「暗号化失敗」の状態になる。なお、図4(a)の破線矢印に示すように、「暗号化失敗」の状態から押しボタン28を押下して、再度、「暗号化作業中」の状態にすることもできる。
[Change in state when push button 28 is pressed]
FIG. 4 shows the state change of the encryption work in the modems A and B.
Among these, FIG. 4A shows a change in state when the push button 28 of the modems A and B “unencrypted” is pressed.
As shown in the figure, when the push buttons 28 of the modems A and B that are “unencrypted” are pressed, the state of “encryption work in progress” is entered. Then, if the encryption operation is successful, the state becomes “encrypted”, and if it fails, the state becomes “encryption failure”. Note that, as indicated by the dashed arrow in FIG. 4A, the push button 28 can be pressed from the “encryption failure” state to reenter the “encryption work” state.

図4(b)は、暗号化済のモデムA,Bの押しボタン28を押下した時の状態変化を示している。
同図に示すように、「暗号化済」であるモデムA,Bの押しボタン28を押下すると、「暗号化作業中」の状態となる。そして、後述する暗号化作業が無事に成功すると「暗号化済」の状態に戻り、失敗した場合には「暗号化失敗」の状態になる。なお、図4(b)の破線矢印に示すように、「暗号化失敗」の状態から押しボタン28を押下して、再度、「暗号化作業中」の状態にすることもできる。
FIG. 4B shows a change in state when the push buttons 28 of the encrypted modems A and B are pressed.
As shown in the figure, when the push buttons 28 of the modems A and B which are “encrypted” are pressed, the state of “encryption work in progress” is entered. When the encryption operation described later succeeds successfully, the state returns to the “encrypted” state, and when it fails, the state becomes “encryption failure”. Note that, as indicated by a broken line arrow in FIG. 4B, the push button 28 can be pressed from the “encryption failure” state to reenter the “encryption work” state.

〔リセットボタン29を押下した時の状態変化〕
図5は、モデムA,Bにおけるリセット作業の状態変化を示している。
このうち、図5(a)は、「暗号化済」のモデムA,Bのリセットボタン29を押下した時の状態変化を示している。
同図に示すように、「暗号化済」であるモデムA,Bのリセットボタン29を押下すると、「設定リセット中」の状態となる。そして、リセット作業が無事に成功すると「暗号化未」の状態になり、失敗した場合には「設定リセット失敗」の状態になる。なお、図5(a)の破線矢印に示すように、「設定リセット失敗」の状態からリセットボタン29を押下して、再度、「設定リセット中」の状態にすることもできる。
[Change in state when the reset button 29 is pressed]
FIG. 5 shows a change in state of the reset operation in the modems A and B.
Among these, FIG. 5A shows a change in state when the reset button 29 of the “encrypted” modems A and B is pressed.
As shown in the figure, when the reset button 29 of the modems A and B which are “encrypted” is pressed, the state of “setting resetting” is entered. If the reset operation is successful, the state becomes “unencrypted”, and if it fails, the state becomes “setting reset failure”. Note that, as indicated by the dashed arrow in FIG. 5A, the “setting reset failure” state can be pressed again to re-enter the “setting resetting” state.

図5(b)は、暗号化未のモデムA,Bのリセットボタン29を押下した時の状態変化を示している。
同図に示すように、「暗号化未」であるモデムA,Bのリセットボタン29を押下すると、「設定リセット中」の状態となる。そして、リセット作業が無事に成功すると「暗号化未」の状態に戻り、失敗した場合には「設定リセット失敗」の状態になる。なお、図5(b)の破線矢印に示すように、「設定リセット失敗」の状態からリセットボタン29を押下して、再度、「設定リセット中」の状態にすることもできる。
FIG. 5B shows a change in state when the reset button 29 of the unencrypted modems A and B is pressed.
As shown in the figure, when the reset button 29 of the modems A and B that are “unencrypted” is pressed, a “setting resetting” state is entered. If the reset operation is successful, the state returns to the “encryption not performed” state. If the reset operation is unsuccessful, the state is “setting reset failed”. Note that, as indicated by a broken line arrow in FIG. 5B, the “setting reset failure” state can be pressed again to return to the “setting resetting” state again.

〔制御通信の内容(2台の場合)〕
図6は、モデムAとモデムBとの間で行われる、暗号化作業のための制御通信を示している。この図6の例では、モデムAに対して押しボタン28が押下されたあと、一定時間内(例えば、1分以内)で暫くしてから、モデムBに対する押しボタン28が押下されたものと仮定している。
この場合、最初に押しボタン28が押下されたモデムAは、まず、PLC送受信部24から自身の暗号化情報を含む第一の通知フレーム31をブロードキャストし、これにより、暗号化作業を行うべき相手のモデムをサーチする。
[Contents of control communication (2 units)]
FIG. 6 shows control communication for encryption work performed between the modem A and the modem B. In the example of FIG. 6, it is assumed that the push button 28 for the modem A is pushed for a while within a certain time (for example, within one minute) after the push button 28 is pushed for the modem A. is doing.
In this case, the modem A whose push button 28 is first pressed first broadcasts the first notification frame 31 including its own encryption information from the PLC transmission / reception unit 24, and thereby the partner to which encryption work should be performed. Search for modems.

その後、モデムBの押しボタン28が押下されると、当該モデムBが暗号化作業のモードに入る。このモデムBが上記第一の通知フレーム31を受信すると、モデムAに、自身の暗号化情報を含む第二の通知フレーム32を返信し、これによって、両者のハンドシェイクが確立する。また、モデムBは、上記第一の通知フレーム31を受けた時点で、図3の暗号鍵の変更条件が成立するか否かを判定する。
一方、モデムAは、第二の通知フレーム32を受けた時点で、図3の暗号鍵の変更条件が成立するか否かを判定する。
Thereafter, when the push button 28 of the modem B is pressed, the modem B enters the encryption work mode. When the modem B receives the first notification frame 31, the modem B returns a second notification frame 32 including its own encryption information to the modem A, thereby establishing a handshake between them. Further, when the modem B receives the first notification frame 31, the modem B determines whether or not the encryption key change condition in FIG.
On the other hand, when the modem A receives the second notification frame 32, the modem A determines whether or not the encryption key change condition in FIG.

その後、モデムAが、変更条件が成立しているか否かの判定結果を記載した判定フレーム33をモデムBに送信し、モデムBはその判断結果が自身の判断結果と合致するか否かを判定し、合致している場合には応答フレーム34をモデムAに返信する。
ここで、モデムAが「暗号化未」でかつモデムBも「暗号化未」である場合には、モデムAは、暗号鍵を新たに生成し、その生成した暗号鍵を含む制御フレーム35をモデムBに送信する。この制御フレーム35を受信したモデムBは、自身の暗号鍵をその制御フレーム35に記載された暗号鍵に変更する。
Thereafter, the modem A transmits a determination frame 33 in which the determination result indicating whether or not the change condition is satisfied is transmitted to the modem B, and the modem B determines whether or not the determination result matches its own determination result. If they match, the response frame 34 is returned to the modem A.
Here, when the modem A is “unencrypted” and the modem B is also “unencrypted”, the modem A newly generates an encryption key, and generates a control frame 35 including the generated encryption key. Transmit to modem B. The modem B that has received the control frame 35 changes its encryption key to the encryption key described in the control frame 35.

その後、暗号鍵の変更完了をモデムAに通知する変更完了フレーム36と、暗号化作業の終了を通知する終了フレーム37のやり取りを経て、暗号化作業が終了する。
また、モデムAが「暗号化済」でかつモデムBが「暗号化未」である場合には、モデムAは、自身の暗号鍵を含む制御フレーム35をモデムBに送信し、上記変更完了フレーム36と終了フレーム27のやり取りを経て、暗号化作業が終了する。
Thereafter, the encryption operation is completed through the exchange of the change completion frame 36 for notifying the modem A of the completion of the encryption key change and the end frame 37 for notifying the end of the encryption operation.
When the modem A is “encrypted” and the modem B is “unencrypted”, the modem A transmits a control frame 35 including its encryption key to the modem B, and the change completion frame is transmitted. After the exchange of 36 and the end frame 27, the encryption work is completed.

一方、モデムAが「暗号化未」でかつモデムBが「暗号化済」である場合には、図6に破線で示すように、モデムBが、自身の暗号鍵を含む制御フレーム38をモデムAに送信し、この制御フレーム38を受けたモデムAが、自身の暗号鍵をその制御フレーム38に記載された暗号鍵に変更する。なお、この場合には、暗号鍵を変更したモデムAがモデムBに変更完了フレーム36a(図6の破線)を送信し、これを受けたモデムBが終了フレーム37a(図6の破線)をモデムAに返信し、暗号化作業が終了する。
更に、モデムAが「暗号化済」でかつモデムBも「暗号化済」である場合には、いずれのモデムA,Bからも制御フレーム35,38の送信は行われず、失敗である旨を記載した前記終了フレーム37がモデムBに送信され、暗号化作業が終了する。
On the other hand, when the modem A is “unencrypted” and the modem B is “encrypted”, the modem B transmits the control frame 38 including its encryption key to the modem as shown by a broken line in FIG. The modem A that has transmitted to A and received the control frame 38 changes its encryption key to the encryption key described in the control frame 38. In this case, the modem A whose encryption key has been changed transmits the change completion frame 36a (dashed line in FIG. 6) to the modem B, and the modem B receiving this transmits the end frame 37a (dashed line in FIG. 6) to the modem. A is returned to A, and the encryption operation is completed.
Further, when the modem A is “encrypted” and the modem B is also “encrypted”, the control frames 35 and 38 are not transmitted from any of the modems A and B. The described end frame 37 is transmitted to the modem B, and the encryption operation is completed.

このように、本実施形態によれば、ローカルネットワークを構成可能な一対のモデムA及びBが予め暗号化情報(暗号化未又は暗号化済)を記憶しており、自機の暗号化情報を含む通知フレーム31,32を他機から受信すると、図3に示す暗号鍵の変更条件が成立するか否かを判定するようになっているので、そのモデムA及びBが暗号化作業を行うべきもの同士か否かを自動的に判別できる。このため、ユーザが選択した任意の一対のモデムA,Bであっても、PCによる入力なしで暗号鍵を自動設定することができる。   As described above, according to the present embodiment, the pair of modems A and B capable of configuring the local network stores the encryption information (not encrypted or encrypted) in advance, and the encryption information of the own device is stored. When the notification frames 31 and 32 are received from the other device, it is determined whether or not the encryption key change condition shown in FIG. 3 is satisfied. Therefore, the modems A and B should perform the encryption operation. It is possible to automatically determine whether or not they are things. For this reason, even with any pair of modems A and B selected by the user, the encryption key can be automatically set without input by the PC.

〔制御通信の内容(3台)〕
図7は、同じネットワークを構成する3つのモデムA〜Cに対して、押しボタン28が押下されたときの制御通信を示している。
図7(a)は、モデムAとモデムBの間で既に暗号化作業が開始され、その後に、モデムCの押しボタン28が押下された場合を示している。
この場合、モデムCは、自身と暗号化作業を行うべきモデムをサーチするための通知フレーム39をブロードキャストするが、既に暗号化作業を開始しているモデムAとモデムBは、その通知フレーム39に対して暗号化作業を行わない旨のNGフレーム40をモデムCに送信し、これにより、モデムCの暗号化作業は失敗して終了する。
[Contents of control communication (3 units)]
FIG. 7 shows control communication when the push button 28 is pressed for the three modems A to C configuring the same network.
FIG. 7A shows a case where the encryption operation has already started between the modem A and the modem B, and then the push button 28 of the modem C is pressed.
In this case, the modem C broadcasts a notification frame 39 for searching for a modem to perform encryption work with itself, but the modem A and the modem B that have already started the encryption work are in the notification frame 39. On the other hand, the NG frame 40 indicating that the encryption operation is not performed is transmitted to the modem C, whereby the encryption operation of the modem C is ended with failure.

また、図7(b)は、モデムAの第一の通知フレーム31に対して、モデムBとモデムCが共に第二の通知フレーム32,32を返信した場合を示している。
この場合、モデムAは、先に第二の通知フレーム32を発したモデムBに対して前記判定フレーム33を送信し、当該モデムBとの間で暗号化作業を確立する。他方、後で第二の通知フレーム32を発したモデムCに対しては、暗号化作業を行わない旨のNGフレーム40をモデムCに送信し、これにより、モデムCの暗号化作業は失敗して終了する
このように、本実施形態では、最初に押しボタン28が押下された2台のモデムA,Bの間で「暗号化作業」が成立し、3台目は失敗するようになっている。なお、4台目以上のモデムが存在する場合も同様である。
FIG. 7B shows a case where both the modem B and the modem C return the second notification frames 32 and 32 in response to the first notification frame 31 of the modem A.
In this case, the modem A transmits the determination frame 33 to the modem B that has transmitted the second notification frame 32 first, and establishes an encryption operation with the modem B. On the other hand, for the modem C that has issued the second notification frame 32 later, an NG frame 40 indicating that the encryption operation is not performed is transmitted to the modem C, whereby the encryption operation of the modem C fails. In this way, in this embodiment, “encryption work” is established between the two modems A and B whose push buttons 28 are first pressed, and the third unit fails. Yes. The same applies when there are four or more modems.

本発明は、上記実施形態に限定されるものではない。
例えば、上記実施形態では、押しボタン28とリセットボタン29を別個のボタンで構成したが、これらを1つのボタンで共用することもできる。この場合には、当該1つのボタンに対する操作方法を変える(長押しと短押し等)ことで、暗号化作業とリセット作業を区別することができる。
また、上記実施形態では電力線通信システムに本発明を適用した場合を例示したが、本発明は、無線LAN装置等のその他の通信装置を用いた通信システムに採用することもできる。
The present invention is not limited to the above embodiment.
For example, in the above embodiment, the push button 28 and the reset button 29 are configured as separate buttons, but these can be shared by one button. In this case, the encryption operation and the reset operation can be distinguished by changing the operation method for the one button (long press, short press, etc.).
Moreover, although the case where this invention was applied to the power line communication system was illustrated in the said embodiment, this invention can also be employ | adopted as the communication system using other communication apparatuses, such as a wireless LAN apparatus.

複数の家屋に構築された宅内ネットワークの構成図である。It is a block diagram of the home network constructed | assembled in the some house. PLCモデムの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a PLC modem. 暗号鍵の変更条件を示す表である。It is a table | surface which shows the change conditions of an encryption key. PLCモデムにおける暗号化作業の状態変化を示す図である。It is a figure which shows the state change of the encryption operation | work in a PLC modem. PLCモデムにおけるリセット作業の状態変化を示す図である。It is a figure which shows the state change of the reset operation | work in a PLC modem. モデムAとモデムBとの間で行われる、暗号化作業のための制御通信を示す図である。It is a figure which shows the control communication for encryption work performed between the modem A and the modem B. FIG. 同じネットワークを構成する3つのモデムA〜Cに対して、押しボタンが押下されたときの制御通信を示す図である。It is a figure which shows control communication when a pushbutton is pressed down with respect to three modems A-C which comprise the same network.

符号の説明Explanation of symbols

H1:家屋、H2:家屋、10:宅内配電線、11:宅内配電線、12:引き込み線、
13:引き込み線、14:分電盤、15:分電盤、16:電源コンセント、
17:電源コンセント、20:筐体、21:電源コード、22:電源プラグ、
23:電源回路、24:PLC送受信部(通信部)、25:制御部、
26:暗号設定処理部、27:メモリ、28:押しボタン(操作部材)、
29:リセットボタン(操作部材)、30:表示部、31:第一の通信フレーム、
32:第二の通信フレーム、33:判定フレーム、34:応答フレーム、
35:制御フレーム(A→B)、36,36a:変更完了フレーム、
37,37a:終了フレーム、38:制御フレーム(B→A)、39:通知フレーム、 40:NGフレーム、100:屋外電力線
H1: house, H2: house, 10: in-house distribution line, 11: in-house distribution line, 12: lead-in line,
13: Lead-in wire, 14: Distribution board, 15: Distribution board, 16: Power outlet,
17: power outlet, 20: housing, 21: power cord, 22: power plug,
23: Power supply circuit, 24: PLC transmission / reception unit (communication unit), 25: Control unit,
26: Encryption setting processing unit, 27: Memory, 28: Push button (operation member),
29: Reset button (operation member), 30: Display unit, 31: First communication frame,
32: second communication frame, 33: determination frame, 34: response frame,
35: Control frame (A → B), 36, 36a: Change completion frame,
37, 37a: End frame, 38: Control frame (B → A), 39: Notification frame, 40: NG frame, 100: Outdoor power line

Claims (10)

ローカルネットワークを構成可能な一対の通信装置を備え、一方の通信装置と他方の通信装置との間で暗号鍵を共有するために当該暗号鍵を送受信する通信システムであって、
前記一方及び他方の通信装置は、暗号化作業が済みか未かに関する暗号化情報をそれぞれ記憶しており、他機の暗号化情報を自機が当該他機から受信し、当該自機の暗号化情報又は他機の暗号化情報若しくはこれらの双方が未であるかどうかを判定し、この判定結果に応じて前記暗号鍵の送受信を開始することを特徴とする通信システム。
A communication system comprising a pair of communication devices capable of forming a local network, and transmitting and receiving the encryption key in order to share the encryption key between one communication device and the other communication device,
The one and the other communication devices respectively store encryption information regarding whether or not the encryption work has been completed, and the own device receives the encryption information of the other device from the other device, and the encryption of the own device The communication system is characterized in that it determines whether or not both the encrypted information and the encrypted information of the other device have been received, and starts transmission / reception of the encryption key in accordance with the determination result.
前記一方及び他方の通信装置において、前記自機の暗号化情報と前記他機の暗号化情報がともに未であると判定された場合に、前記自機が新たな暗号鍵を生成してその暗号鍵を前記他機に配付し、この配付を受けた前記他機が当該暗号鍵を自身の暗号鍵として記憶する請求項1に記載の通信システム。   In the one and the other communication devices, when it is determined that both the encryption information of the own device and the encryption information of the other device are not yet, the own device generates a new encryption key and The communication system according to claim 1, wherein a key is distributed to the other device, and the other device that has received the distribution stores the encryption key as its own encryption key. 前記一方及び他方の通信装置において、前記自機の暗号化情報が済で前記他機の暗号化情報が未であると判定された場合に、前記自機が既に記憶している自身の暗号鍵を前記他機に配付し、この配付を受けた前記他機が当該暗号鍵を自らの暗号鍵として記憶する請求項1に記載の通信システム。   In the one and the other communication devices, when it is determined that the encryption information of the own device has been completed and the encryption information of the other device is not yet, the own encryption key that the own device has already stored The communication system according to claim 1, wherein the other device that has received the distribution stores the encryption key as its own encryption key. 前記一方及び他方の通信装置において、前記自機の暗号化情報が未で前記他機の暗号化情報が済であると判定された場合に、前記他機が既に記憶している自身の暗号鍵を前記自機に配付し、この配付を受けた前記自機が当該暗号鍵を自らの暗号鍵として記憶する請求項1に記載の通信システム。   In the one and the other communication devices, when it is determined that the encryption information of the own device is not yet and the encryption information of the other device is already completed, the other device already stores its own encryption key The communication system according to claim 1, wherein the communication device distributes the device to the own device, and the own device that has received the distribution stores the encryption key as its own encryption key. 前記一方及び他方の通信装置において、前記自機の暗号化情報が済で前記他機の暗号化情報が済であると判定された場合に、前記自機及び前記他機が既に記憶している自身の暗号鍵を変更せずにそのまま保持する請求項1に記載の通信システム。   In the one and the other communication devices, when it is determined that the encryption information of the own device has been completed and the encryption information of the other device has been completed, the own device and the other device have already stored. The communication system according to claim 1, wherein the encryption key is held as it is without being changed. 前記通信装置は、前記暗号化情報の送信を開始させるためのユーザインタフェースとなる操作部材を備えており、
前記操作部材に対する操作タイミングが前記自機と他機との間で一定時間内であるときに、前記判定を行う請求項1〜5のいずれか1項に記載の通信システム。
The communication device includes an operation member serving as a user interface for starting transmission of the encrypted information,
The communication system according to any one of claims 1 to 5, wherein the determination is performed when an operation timing with respect to the operation member is within a predetermined time between the own device and another device.
3台以上の通信装置の前記操作部材に対する操作タイミングが前記一定時間内であるときに、最初に操作された2台の通信装置の間で前記判定を行う請求項6に記載の通信システム。   The communication system according to claim 6, wherein the determination is performed between the two communication devices operated first when operation timings of the three or more communication devices with respect to the operation member are within the predetermined time. 前記通信装置は、外部からのリセット操作により、暗号化済みの暗号鍵を初期化して、自機の暗号化情報を未に戻すリセット機能を有する請求項1〜7のいずれか1項に記載の通信システム。   8. The communication device according to claim 1, wherein the communication device has a reset function of initializing an encrypted encryption key and resetting the encrypted information of the own device to an unreturned state by an external reset operation. Communications system. 他の通信装置との間で暗号鍵を共有するために当該暗号鍵を送受信する通信装置であって、
暗号化作業が済みか未かに関する暗号化情報を記憶する記憶部と、
他機の暗号化情報を当該他機から受信可能な通信部と、
自機の暗号化情報又は他機の暗号化情報若しくはこれらの双方が未であるかどうかを判定し、この判定結果に応じて前記暗号鍵の送受信を前記通信部に行わせる制御部と、を備えていることを特徴とする通信装置。
A communication device that transmits and receives the encryption key to share the encryption key with other communication devices,
A storage unit for storing encryption information regarding whether the encryption work has been completed or not;
A communication unit capable of receiving encryption information of another device from the other device; and
A control unit for determining whether the encryption information of the own device or the encryption information of the other device or both of them is not yet, and causing the communication unit to transmit and receive the encryption key according to the determination result; A communication device comprising:
一方の通信装置と他方の通信装置との間で暗号鍵を共有するために当該暗号鍵の送受信を行う通信方法であって、
暗号化作業が済みか未かに関する暗号化情報を自機に記憶しておき、他機の暗号化情報を当該他機から前記自機に受信させ、前記自機の暗号化情報又は前記他機の暗号化情報若しくはこれらの双方が未であると判定した場合に前記暗号鍵の送受信を行うことを特徴とする通信方法。
A communication method for transmitting and receiving the encryption key in order to share the encryption key between one communication device and the other communication device,
Encryption information regarding whether or not encryption work has been completed is stored in the own machine, and the encryption information of the other machine is received from the other machine to the own machine, and the encrypted information of the own machine or the other machine is stored. A communication method characterized in that the encryption key is transmitted / received when it is determined that the encryption information or both of them is not yet available.
JP2007030511A 2007-02-09 2007-02-09 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD Expired - Fee Related JP5199581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007030511A JP5199581B2 (en) 2007-02-09 2007-02-09 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007030511A JP5199581B2 (en) 2007-02-09 2007-02-09 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2008199181A true JP2008199181A (en) 2008-08-28
JP5199581B2 JP5199581B2 (en) 2013-05-15

Family

ID=39757755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007030511A Expired - Fee Related JP5199581B2 (en) 2007-02-09 2007-02-09 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP5199581B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003204349A (en) * 2001-12-28 2003-07-18 Toshiba Corp Node device and communication control method
JP2004304600A (en) * 2003-03-31 2004-10-28 Fujitsu Ltd Digital terrestrial television broadcasting system and digital terrestrial television broadcasting right protection device
JP2004343816A (en) * 2004-09-10 2004-12-02 Matsushita Electric Ind Co Ltd Key sharing system
WO2005079036A1 (en) * 2004-02-18 2005-08-25 Sony Deutschland Gmbh Device registration in a wireless multi-hop ad-hoc network
JP2006050372A (en) * 2004-08-06 2006-02-16 Buffalo Inc System and method for connecting wireless lan, and access point

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003204349A (en) * 2001-12-28 2003-07-18 Toshiba Corp Node device and communication control method
JP2004304600A (en) * 2003-03-31 2004-10-28 Fujitsu Ltd Digital terrestrial television broadcasting system and digital terrestrial television broadcasting right protection device
WO2005079036A1 (en) * 2004-02-18 2005-08-25 Sony Deutschland Gmbh Device registration in a wireless multi-hop ad-hoc network
JP2006050372A (en) * 2004-08-06 2006-02-16 Buffalo Inc System and method for connecting wireless lan, and access point
JP2004343816A (en) * 2004-09-10 2004-12-02 Matsushita Electric Ind Co Ltd Key sharing system

Also Published As

Publication number Publication date
JP5199581B2 (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN104219791B (en) general environment expander
US9526061B2 (en) Method and apparatus for a wireless home mesh network with network topology visualizer
AU2014233175B2 (en) Wireless communications capable power distribution unit and techniques for communicating therewith
JP4166466B2 (en) Wireless communication system and wireless communication method, wireless communication apparatus and control method thereof, and computer program
JP4849972B2 (en) Communication device, communication system, image acquisition device, moving image acquisition device, and setting method thereof
KR100982070B1 (en) Communication method, communication system, and communication device
EP2560358B1 (en) Server connection method, server, and remote operation system
JP2016136756A (en) System and method for connecting audio controller to hidden audio network
CN102263782B (en) Information processor, information processing method and information processing system
KR20140084258A (en) One-click connect/disconnect feature for wireless devices forming a mesh network
WO2004021642A1 (en) Communication device, communication control method, and program
JP2004535703A (en) Method for providing security on a power line modem network
JP2001306428A (en) Network apparatus, network system, communication method, and recording medium
CN111787595B (en) Network distribution method, network distribution equipment and terminal equipment
US20050183115A1 (en) Content selection method, content selection requesting station, content providing station, content switching indication apparatus, program, computer-readable recording medium on which program is recorded, and network system
US8935765B2 (en) Method to enable mobile devices to rendezvous in a communication network
JP2009094768A (en) Power line communication apparatus and automatic registration method of the same
JP2004536490A (en) A device that provides security over a power line modem network
JP2008124859A (en) Communication system
JP5199581B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
Newman et al. Protecting domestic power-line communications
JP3883955B2 (en) Network system, management device, information device and program
JP2009044407A (en) Plc system and setting method of its common key
AU2015215978B2 (en) Systems and methods for connecting an audio controller to a hidden audio network
JP2008147927A (en) Power line communication apparatus and apparatus registration method of same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120529

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130208

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5199581

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

LAPS Cancellation because of no payment of annual fees