JP2007097022A - Communication system, communication equipment, and communication method - Google Patents

Communication system, communication equipment, and communication method Download PDF

Info

Publication number
JP2007097022A
JP2007097022A JP2005286141A JP2005286141A JP2007097022A JP 2007097022 A JP2007097022 A JP 2007097022A JP 2005286141 A JP2005286141 A JP 2005286141A JP 2005286141 A JP2005286141 A JP 2005286141A JP 2007097022 A JP2007097022 A JP 2007097022A
Authority
JP
Japan
Prior art keywords
communication
encryption key
encrypted
predetermined
received
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.)
Withdrawn
Application number
JP2005286141A
Other languages
Japanese (ja)
Inventor
Sunao Morita
直 森田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2005286141A priority Critical patent/JP2007097022A/en
Publication of JP2007097022A publication Critical patent/JP2007097022A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily perform secure communication between desired communication devices. <P>SOLUTION: In a communication system 1, an HD recorder 13 or a VTR 14 acquires a communication function list from a TV 11 via a repeater 12 by NFC communication. The HD recorder 13 or the VTR 14 then transmits to the TV 11 a request of contents data by any communication means other than NFC communication on the basis of the communication function list and after confirming (authenticating) that the HD recorder 13 or the VTR 14 is a regular recipient of contents data, the TV 11 transmits the contents data by the same communication means as the communication means by which the contents data are requested. The present invention can be applied to, for example, communication equipment including an NFC function. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、通信システム、通信装置、および通信方法に関し、特に、所望の通信装置間でのセキュアな通信を簡単に行うことができるようにする通信システム、通信装置、および通信方法に関する。   The present invention relates to a communication system, a communication device, and a communication method, and more particularly, to a communication system, a communication device, and a communication method that enable easy secure communication between desired communication devices.

放送局から送信されてくる番組などのデータ(コンテンツデータ)とその内容に関するデータである関連データをテレビジョン受像機が受信し、受信された関連データを携帯情報端末に電磁誘導を用いた近接通信(無線通信)により送信するシステムが本出願人により提案されている(例えば、特許文献1参照)。ここで、近接通信とは、通信する装置どうしの距離が、数10cm以内となって可能となる通信を意味し、通信する装置どうし(の筐体)が接触して行う通信も含まれる。   Proximity communication using electromagnetic induction to a portable information terminal by receiving data (content data) such as a program transmitted from a broadcasting station and related data that is data related to the data, and receiving the related data. A system for transmitting by (wireless communication) has been proposed by the present applicant (see, for example, Patent Document 1). Here, the proximity communication means communication that enables a distance between communicating devices within several tens of centimeters, and includes communication that is performed by contacting (communicating with) the communicating devices.

特開2005−39625号公報JP 2005-39625 A

一方、テレビジョン受像機が受信したコンテンツデータを、ハードディスクレコーダなどに無線で送信する場合、セキュリティを保持したコンテンツデータの送信を行うために、テレビジョン受像機とハードディスクレコーダの通信装置どうしで暗号鍵を交換し、その暗号鍵でコンテンツデータを暗号化して送信する必要があるが、これまでの手法は手順が煩雑で使いづらい面があった。   On the other hand, when content data received by a television receiver is wirelessly transmitted to a hard disk recorder or the like, an encryption key is used between the communication devices of the television receiver and the hard disk recorder in order to transmit content data with security. However, it is necessary to encrypt and transmit the content data with the encryption key. However, the conventional methods have a complicated procedure and are difficult to use.

本発明は、このような状況に鑑みてなされたものであり、所望の通信装置間でのセキュアな通信を簡単に行うことができるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to easily perform secure communication between desired communication apparatuses.

本発明の第1の側面の通信システムは、第1および第2の通信装置と、前記第1と第2の通信装置それぞれと通信が可能な中継装置からなる通信システムにおいて、前記第1の通信装置は、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する第1の暗号鍵生成手段と、前記第1の暗号鍵を記憶する第1の記憶手段と、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記第2の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段を制御する制御手段とを備え、前記中継装置は、前記第1の暗号鍵を用いて前記第1の通信手段と暗号化通信を行うとともに、前記第2の通信装置から供給される第2の暗号鍵で前記第2の通信装置と暗号化通信を行う第3の通信手段と、前記第1および第2の暗号鍵を記憶する第2の記憶手段とを備え、前記第2の通信装置は、前記中継装置と暗号化通信を行うための前記第2の暗号鍵を生成する第2の暗号鍵生成手段と、前記第2の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第4の通信手段と、前記所定の通信方式と異なる通信方式で前記第1の通信装置と暗号化通信を行う1以上の第5の通信手段と、1以上の前記第5の通信手段のなかから、1つの通信手段を選択する選択手段とを備え、前記第3の通信手段は、前記第1の通信装置が有している通信機能についての情報を要求する通信機能情報要求を、前記第1の通信装置に送信し、前記第1の通信手段は、前記通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、前記第3の通信手段は、前記通信機能リストを前記第1の通信装置から受信するとともに、受信された前記通信機能リストを前記第2の通信装置に送信し、前記第4の通信手段は、前記通信機能リストを前記中継装置から受信し、前記選択手段は、受信された前記通信機能リストに基づいて、1以上の前記第2の通信手段と通信方式が一致する通信手段を、1以上の前記第5の通信手段のなかから1つ選択し、選択された前記第5の通信手段は、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を前記第1の通信装置に送信し、1以上の前記第2の通信手段のうちの、選択された前記第5の通信手段と通信方式が一致する前記第2の通信手段は、暗号化されている前記通信開始要求を前記第2の通信装置から受信し、前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記第2の通信装置を認証する。   The communication system according to the first aspect of the present invention is a communication system including first and second communication devices and a relay device capable of communicating with each of the first and second communication devices. The apparatus includes: a first encryption key generation unit that generates a first encryption key for performing encrypted communication with the relay device; a first storage unit that stores the first encryption key; A first communication unit that performs encrypted communication with the relay apparatus using a predetermined communication method using the encryption key, and performs encrypted communication with the second communication apparatus using a communication method different from the predetermined communication method. The second communication means includes a control means for controlling one or more of the second communication means, and the relay device encrypts the first communication means with the first encryption key. A second encryption key that performs communication and is supplied from the second communication device A second communication unit configured to perform encrypted communication with the second communication device; and a second storage unit configured to store the first and second encryption keys. A second encryption key generating means for generating the second encryption key for performing encrypted communication with a device, and performing encrypted communication with the relay device using the second encryption key by the predetermined communication method. A fourth communication means for performing, one or more fifth communication means for performing encrypted communication with the first communication device in a communication method different from the predetermined communication method, and one or more of the fifth communication means. A selection means for selecting one communication means, wherein the third communication means sends a communication function information request for requesting information about a communication function possessed by the first communication device. The first communication means transmits the communication function information request In response to the communication function information request, a communication function list, which is a list showing one or more of the second communication means, is transmitted to the relay apparatus, and the control means Controls all of the one or more second communication means to wait for reception, and the third communication means receives the communication function list from the first communication device and receives the received communication. The function list is transmitted to the second communication device, the fourth communication unit receives the communication function list from the relay device, and the selection unit is configured to 1 based on the received communication function list. One communication means having the same communication method as the second communication means is selected from the one or more fifth communication means, and the selected fifth communication means is a predetermined encryption key. Encrypted with The communication start request for requesting the start of communication is transmitted to the first communication device, and the communication method matches the selected fifth communication means among the one or more second communication means. The second communication means receives the encrypted communication start request from the second communication apparatus, and the control means further determines whether or not the encrypted communication start request has been decrypted. Then, the second communication device is authenticated.

本発明の第1の側面においては、第1および第2の通信装置と、前記第1と第2の通信装置それぞれと通信が可能な中継装置からなる通信システムにおいて、前記第1の通信装置では、前記中継装置と暗号化通信を行うための第1の暗号鍵が生成され、前記第1の暗号鍵が第1の記憶手段に記憶され、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信が行われ、前記所定の通信方式と異なる通信方式で前記第2の通信装置と暗号化通信が行われ、1以上の通信手段が制御される。前記中継装置では、前記第1の暗号鍵を用いて前記第1の通信装置と暗号化通信が行われ、前記第2の通信装置から供給される第2の暗号鍵で前記第2の通信装置と暗号化通信が行われ、前記第1および第2の暗号鍵が第2の記憶手段に記憶される。前記第2の通信装置では、前記中継装置と暗号化通信を行うための前記第2の暗号鍵が生成され、前記第2の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信が行われ、前記所定の通信方式と異なる通信方式で前記第1の通信装置と暗号化通信が行われ、1以上の通信手段のなかから、1つの通信手段が選択される。そして、前記第1の通信装置が有している通信機能についての情報を要求する通信機能情報要求が、前記中継装置から前記第1の通信装置に送信され、前記中継装置から送信された前記通信機能情報要求が前記第1の通信装置で受信されるとともに、前記第1の通信装置では、前記通信機能情報要求に応答して、通信機能リストが前記中継装置に送信され、さらに、1以上の通信手段のすべてを受信待ち状態に制御され、前記中継装置において、前記通信機能リストが前記第1の通信装置から受信されるとともに、受信された前記通信機能リストが前記第2の通信装置に送信され、前記第2の通信装置では、前記通信機能リストが前記中継装置から受信され、受信された前記通信機能リストに基づいて、1以上の通信手段と通信方式が一致する通信手段が選択され、選択された通信手段において、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求が前記第1の通信装置に送信され、前記第1の通信装置の1以上の通信手段のうちの、前記第2の通信装置で選択された通信手段と通信方式が一致する通信手段によって、前記第2の通信装置からの、暗号化されている前記通信開始要求が受信され、暗号化されている前記通信開始要求の復号ができたか否かで、前記第2の通信装置が認証される。   In the first aspect of the present invention, in the communication system including the first and second communication devices and the relay device capable of communicating with each of the first and second communication devices, the first communication device A first encryption key for performing encrypted communication with the relay device is generated, the first encryption key is stored in a first storage means, and the relay device is used with the first encryption key. Encrypted communication is performed using a predetermined communication method, encrypted communication is performed with the second communication device using a communication method different from the predetermined communication method, and one or more communication units are controlled. The relay device performs encrypted communication with the first communication device using the first encryption key, and the second communication device with a second encryption key supplied from the second communication device. And the first and second encryption keys are stored in the second storage means. In the second communication device, the second encryption key for performing encrypted communication with the relay device is generated, and encryption is performed with the relay device and the predetermined communication method using the second encryption key. Communication is performed, encrypted communication is performed with the first communication device using a communication method different from the predetermined communication method, and one communication unit is selected from one or more communication units. The communication function information request for requesting information about the communication function of the first communication device is transmitted from the relay device to the first communication device, and the communication transmitted from the relay device. A function information request is received by the first communication device, and in response to the communication function information request, the first communication device transmits a communication function list to the relay device. All of the communication means are controlled to be in a reception waiting state, and in the relay device, the communication function list is received from the first communication device, and the received communication function list is transmitted to the second communication device. In the second communication device, the communication function list is received from the relay device, and one or more communication means and a communication method match based on the received communication function list. A communication means is selected, and in the selected communication means, a communication start request for requesting the start of communication, which is encrypted with a predetermined encryption key, is transmitted to the first communication apparatus, and the first communication apparatus The communication start request encrypted from the second communication device by the communication device having the same communication method as the communication device selected by the second communication device among the one or more communication devices. Is received and the second communication device is authenticated based on whether or not the encrypted communication start request has been decrypted.

本発明の第2の側面の通信装置は、他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置において、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を記憶する記憶手段と、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段を制御する制御手段とを備え、前記第1の通信手段は、前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、1以上の前記第2の通信手段のうちの、いずれか1つの前記第2の通信手段は、前記通信機能リストに基づいて前記他の通信装置が送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し、前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する。   A communication apparatus according to a second aspect of the present invention includes: another communication apparatus; a relay apparatus that relays data for communicating with the other communication apparatus; and a communication apparatus that performs encrypted communication. Key generating means for generating a first encryption key for performing encrypted communication, storage means for storing the first encryption key, and the relay device and a predetermined communication method using the first encryption key A first communication means for performing encrypted communication with the first communication means, one or more second communication means for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method, and one or more second communication devices. Control means for controlling the communication means, wherein the first communication means receives a communication function information request for requesting information about a communication function possessed by the communication apparatus from the relay apparatus, and 1 or more in response to a communication function information request Each of the second communication means transmits a communication function list which is a list indicated to the relay apparatus, and the control means controls all of the one or more second communication means to be in a reception waiting state, Of the second communication means, any one of the second communication means is encrypted with a predetermined encryption key transmitted from the other communication device based on the communication function list. Then, upon receiving a communication start request for requesting the start of communication, the control means further authenticates the other communication device depending on whether or not the encrypted communication start request has been decrypted.

前記通信開始要求は、前記他の通信装置が前記中継装置から受信した前記第1の暗号鍵で暗号化されており、前記制御手段には、前記第1の暗号鍵で前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証させることができる。   The communication start request is encrypted with the first encryption key received by the other communication device from the relay device, and the control means decrypts the communication start request with the first encryption key. The other communication device can be authenticated depending on whether or not the communication is successful.

前記暗号鍵生成手段には、第2の暗号鍵も生成させ、前記記憶手段には、前記第2の暗号鍵も記憶させ、前記第1の通信手段には、前記第2の暗号鍵も前記中継装置に送信させ、前記通信開始要求は、前記他の通信装置が前記中継装置から受信した前記第2の暗号鍵で暗号化されており、前記制御手段には、前記第2の暗号鍵で前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証させることができる。   The encryption key generation means also generates a second encryption key, the storage means also stores the second encryption key, and the first communication means also stores the second encryption key and the second encryption key. The communication start request is encrypted with the second encryption key received by the other communication device from the relay device, and the control means uses the second encryption key. The other communication device can be authenticated depending on whether or not the communication start request has been decrypted.

前記記憶手段には、前記中継装置との通信により取得された前記中継装置を識別するIDも記憶させ、前記いずれか1つの前記第2の通信手段には、前記通信開始要求として、前記IDを受信させ、前記制御手段には、さらに、受信された前記IDが前記記憶手段に記憶されている前記IDと一致するか否かも判定させることができる。   The storage means also stores an ID for identifying the relay apparatus acquired by communication with the relay apparatus, and the one of the second communication means stores the ID as the communication start request. The control means can further determine whether or not the received ID matches the ID stored in the storage means.

前記所定の通信方式は、NFCIP-1 (Near Field Communication Interface Interface and Protocol-1)に従った通信方式とさせることができる。   The predetermined communication method may be a communication method according to NFCIP-1 (Near Field Communication Interface Interface and Protocol-1).

前記所定の通信方式と異なる通信方式は、IEEE(The Institute of Electrical and Electronic Engineers)802.11aまたは802.11b、Bluetooth,Ethernet(登録商標)、またはIEEE1394に従った通信方式のいずれかとさせることができる。   The communication method different from the predetermined communication method may be any one of IEEE (The Institute of Electrical and Electronic Engineers) 802.11a or 802.11b, Bluetooth, Ethernet (registered trademark), or IEEE1394.

本発明の第2の側面の通信方法は、他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を記憶する記憶手段と、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段を制御する制御手段とを備える通信装置の通信方法において、前記第1の通信手段において、前記中継装置から前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、前記通信機能リストに基づいて前記他の通信装置が前記所定の通信方式と異なる通信方式で送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し、暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証するステップを含む。   A communication method according to a second aspect of the present invention includes another communication device and a relay device that relays data for communication with the other communication device, and performs encrypted communication processing, and the relay device and the encryption device An encryption key generation unit that generates a first encryption key for performing communication, a storage unit that stores the first encryption key, and the relay device using the first encryption key in a predetermined communication method A first communication unit that performs encrypted communication; one or more second communication units that perform encrypted communication with the other communication device using a communication method different from the predetermined communication method; and one or more second devices And a communication function information request for requesting information on a communication function of the communication apparatus from the relay apparatus in the first communication means. And receiving the communication function information. In response to the request, a communication function list, which is a list indicating each of the one or more second communication units, is transmitted to the relay apparatus, and all of the one or more second communication units are placed in a reception waiting state. A communication start request for requesting the start of communication, which is encrypted with a predetermined encryption key, which is transmitted by a communication method different from the predetermined communication method by the other communication device based on the communication function list. A step of authenticating the other communication device based on whether the received communication start request received and decrypted has been successfully decrypted.

本発明の第2の側面においては、所定の通信方式で暗号化通信する第1の通信手段において、通信装置が有している通信機能についての情報を要求する通信機能情報要求が受信されるとともに、前記通信機能情報要求に応答して、前記所定の通信方式と異なる通信方式で暗号化通信する1以上の第2の通信手段それぞれが示されたリストである通信機能リストが中継装置に送信され、1以上の前記第2の通信手段のすべてが受信待ち状態に制御され、前記通信機能リストに基づいて他の通信装置が前記所定の通信方式と異なる通信方式で送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求が受信され、暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置が認証される。   In the second aspect of the present invention, a communication function information request for requesting information about a communication function possessed by a communication device is received by the first communication means that performs encrypted communication using a predetermined communication method. In response to the communication function information request, a communication function list, which is a list indicating one or more second communication units that perform encrypted communication using a communication method different from the predetermined communication method, is transmitted to the relay device. All of the one or more second communication means are controlled to be in a reception waiting state, and based on the communication function list, other communication devices transmit with a communication method different from the predetermined communication method. The encrypted communication start request for requesting the start of communication is received, and the other communication device is authenticated based on whether or not the encrypted communication start request has been decrypted.

本発明の第3の側面の通信装置は、他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置において、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段とを備え、前記第1の通信手段は、前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し、前記選択手段は、受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し、選択された前記第2の通信手段は、前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記他の通信装置に送信する。   According to a third aspect of the present invention, there is provided a communication apparatus comprising: another communication apparatus; a relay apparatus that relays data for communicating with the other communication apparatus; and a communication apparatus that performs encrypted communication. An encryption key generating means for generating a first encryption key for performing encrypted communication, and a first communication means for performing encrypted communication with the relay device using the first encryption key by the predetermined communication method. , One or more second communication means for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method, and one communication means among the one or more second communication means. Selecting means for selecting, wherein the first communication means receives from the relay device a communication function list and a second encryption key which are lists each of the communication means possessed by the other communication device. The selection means receives the communication received The communication means having the same communication method as the communication means included in the function list is selected from one or more of the second communication means, and the selected second communication means selects the second encryption means. A communication start request for requesting the start of communication, encrypted with the key, is transmitted to the other communication device.

前記第2の暗号鍵は、前記他の通信装置によって生成された暗号鍵であるようにさせることができる。   The second encryption key may be an encryption key generated by the other communication device.

前記第2の暗号鍵は、前記他の通信装置と前記中継装置が前記所定の通信方式で暗号化通信を行う場合に使用される暗号鍵であるようにさせることができる。   The second encryption key may be an encryption key used when the other communication device and the relay device perform encrypted communication using the predetermined communication method.

前記所定の通信方式は、NFCIP-1 (Near Field Communication Interface Interface and Protocol-1)に従った通信方式とさせることができる。   The predetermined communication method may be a communication method according to NFCIP-1 (Near Field Communication Interface Interface and Protocol-1).

前記所定の通信方式と異なる通信方式は、IEEE(The Institute of Electrical and Electronic Engineers)802.11aまたは802.11b、Bluetooth、またはIEEE1394に従った通信方式のいずれかとさせることができる。   The communication method different from the predetermined communication method can be any of communication methods according to IEEE (The Institute of Electrical and Electronic Engineers) 802.11a or 802.11b, Bluetooth, or IEEE1394.

本発明の第3の側面の通信方法は、他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段とを備える通信装置の通信方法において、前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し、受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し、前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記所定の通信方式と異なる通信方式で前記他の通信装置に送信するステップを含む。   The communication method according to the third aspect of the present invention includes another communication device and a relay device that relays data for communication with the other communication device, performs encrypted communication processing, and performs encryption with the relay device. Encryption key generation means for generating a first encryption key for performing communication, first communication means for performing encrypted communication with the relay apparatus using the first encryption key in the predetermined communication method, One communication means is selected from one or more second communication means for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method and one or more second communication means. Receiving a communication function list and a second encryption key, each of which is a list indicating each communication means included in the other communication device, from the relay device. Included in the received communication function list A communication start request that selects one communication means having the same communication method as the communication means from one or more of the second communication means and requests the start of communication encrypted with the second encryption key. Transmitting to the other communication device by a communication method different from the predetermined communication method.

本発明の第3の側面においては、所定の通信方式で暗号化通信する第1の通信手段において、他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと暗号鍵が中継装置から受信され、受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段が、前記所定の通信方式と異なる通信方式で暗号化通信する1以上の第2の通信手段のなかから1つ選択され、前記暗号鍵で暗号化された、通信の開始を要求する通信開始要求が前記所定の通信方式と異なる通信方式で前記他の通信装置に送信される。   In the third aspect of the present invention, in the first communication means for performing encrypted communication by a predetermined communication method, a communication function list and a cipher that are lists each showing the communication means possessed by another communication apparatus One or more second communication units that receive a key from a relay device and that communicate with the communication unit included in the received communication function list in encrypted communication using a communication method different from the predetermined communication method. A communication start request for selecting the start of communication, which is selected from among communication means and encrypted with the encryption key, is transmitted to the other communication device using a communication method different from the predetermined communication method.

本発明の第1の側面によれば、所望の通信装置間でのセキュアな通信を簡単に行うことができる。   According to the first aspect of the present invention, secure communication between desired communication devices can be easily performed.

本発明の第2および第3の側面によれば、他の通信装置とセキュアな通信を簡単に行うことができる。   According to the second and third aspects of the present invention, secure communication with other communication devices can be easily performed.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書又は図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書又は図面に記載されていることを確認するためのものである。従って、明細書又は図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between the constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の第1の側面の通信システムは、
第1および第2の通信装置(例えば、図2のTV11およびHDレコーダ13)と、前記第1と第2の通信装置それぞれと通信が可能な中継装置(例えば、図2の中継器12)からなる通信システムにおいて、
前記第1の通信装置は、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する第1の暗号鍵生成手段(例えば、図2の乱数発生部31)と、
前記第1の暗号鍵を記憶する第1の記憶手段(例えば、図2のメモリ39)と、
前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段(例えば、図2のNFC I/F35)と、
前記所定の通信方式と異なる通信方式で前記第2の通信装置と暗号化通信を行う1以上の第2の通信手段(例えば、図2の無線LAN I/F36やIEEE1394 I/F37など)と、
1以上の前記第2の通信手段を制御する制御手段(例えば、図2の制御部38)と
を備え、
前記中継装置は、
前記第1の暗号鍵を用いて前記第1の通信装置と暗号化通信を行うとともに、前記第2の通信装置から供給される第2の暗号鍵で前記第2の通信装置と暗号化通信を行う第3の通信手段(例えば、図2のNFC I/F53)と、
前記第1および第2の暗号鍵を記憶する第2の記憶手段(例えば、図2のメモリ55)と
を備え、
前記第2の通信装置は、
前記中継装置と暗号化通信を行うための前記第2の暗号鍵を生成する第2の暗号鍵生成手段(例えば、図2の乱数発生部71)と、
前記第2の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第4の通信手段(例えば、図2のNFC I/F75)と、
前記所定の通信方式と異なる通信方式で前記第1の通信装置と暗号化通信を行う1以上の第5の通信手段(例えば、図2の無線LAN I/F76やIEEE1394 I/F77)と、
1以上の前記第5の通信手段のなかから、1つの通信手段を選択する選択手段(例えば、図2の制御部78)と
を備え、
前記第3の通信手段は、前記第1の通信装置が有している通信機能についての情報を要求する通信機能情報要求を、前記第1の通信装置に送信し(例えば、図5のステップS54)、
前記第1の通信手段は、前記通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し(例えば、図4のステップS34およびS39)、
前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し(例えば、図4のステップS40)、
前記第3の通信手段は、前記通信機能リストを前記第1の通信装置から受信するとともに、受信された前記通信機能リストを前記第2の通信装置に送信し(例えば、図5のステップS55およびS61)、
前記第4の通信手段は、前記通信機能リストを前記中継装置から受信し(例えば、図6のステップS84)、
前記選択手段は、受信された前記通信機能リストに基づいて、1以上の前記第2の通信手段と通信方式が一致する通信手段を、1以上の前記第5の通信手段のなかから1つ選択し(例えば、図6のステップS87)、
選択された前記第5の通信手段は、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を前記第1の通信装置に送信し(例えば、図6のステップS89)、
1以上の前記第2の通信手段のうちの、選択された前記第5の通信手段と通信方式が一致する前記第2の通信手段は、暗号化されている前記通信開始要求を前記第2の通信装置から受信し(例えば、図4のステップS41)、
前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記第2の通信装置を認証する(例えば、図4のステップS42)。
The communication system according to the first aspect of the present invention includes:
From the first and second communication devices (for example, the TV 11 and the HD recorder 13 in FIG. 2) and the relay devices (for example, the repeater 12 in FIG. 2) capable of communicating with the first and second communication devices, respectively. In the communication system
The first communication device is:
First encryption key generation means (for example, a random number generator 31 in FIG. 2) for generating a first encryption key for performing encrypted communication with the relay device;
First storage means for storing the first encryption key (for example, the memory 39 in FIG. 2);
A first communication means (for example, NFC I / F 35 in FIG. 2) that performs encrypted communication with the relay device using the first encryption key by a predetermined communication method;
One or more second communication means (for example, wireless LAN I / F 36 or IEEE1394 I / F 37 in FIG. 2) for performing encrypted communication with the second communication device using a communication method different from the predetermined communication method;
Control means for controlling one or more second communication means (for example, the control unit 38 in FIG. 2),
The relay device is
Encrypted communication with the first communication device using the first encryption key, and encrypted communication with the second communication device using the second encryption key supplied from the second communication device. 3rd communication means to perform (for example, NFC I / F53 of FIG. 2),
Second storage means for storing the first and second encryption keys (for example, the memory 55 in FIG. 2);
The second communication device is:
Second encryption key generation means (for example, a random number generator 71 in FIG. 2) for generating the second encryption key for performing encrypted communication with the relay device;
A fourth communication means (for example, NFC I / F 75 in FIG. 2) that performs encrypted communication with the relay apparatus by the predetermined communication method using the second encryption key;
One or more fifth communication means (for example, wireless LAN I / F 76 or IEEE1394 I / F 77 in FIG. 2) for performing encrypted communication with the first communication device using a communication method different from the predetermined communication method;
Selecting means (for example, the control unit 78 in FIG. 2) for selecting one communication means from among the one or more fifth communication means;
The third communication means transmits a communication function information request for requesting information about the communication function of the first communication device to the first communication device (for example, step S54 in FIG. 5). ),
The first communication means is a list that receives the communication function information request from the relay device and is a list in which one or more second communication means are indicated in response to the communication function information request. The function list is transmitted to the relay device (for example, steps S34 and S39 in FIG. 4),
The control means controls all of the one or more second communication means to be in a reception waiting state (for example, step S40 in FIG. 4),
The third communication means receives the communication function list from the first communication device and transmits the received communication function list to the second communication device (for example, step S55 and FIG. 5). S61),
The fourth communication means receives the communication function list from the relay device (for example, step S84 in FIG. 6),
The selecting means selects one of the one or more fifth communication means from the one or more of the fifth communication means, based on the received communication function list. (For example, step S87 in FIG. 6),
The selected fifth communication means transmits a communication start request for requesting the start of communication, which is encrypted with a predetermined encryption key, to the first communication device (for example, step S89 in FIG. 6). ,
Of the one or more second communication means, the second communication means whose communication method matches the selected fifth communication means sends the encrypted communication start request to the second communication means. Received from the communication device (for example, step S41 in FIG. 4),
The control means further authenticates the second communication device depending on whether or not the encrypted communication start request has been decrypted (for example, step S42 in FIG. 4).

本発明の第2の側面の通信装置は、
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置(例えば、図2のTV11)において、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段(例えば、図2の乱数発生部31)と、
前記第1の暗号鍵を記憶する記憶手段(例えば、図2のメモリ39)と、
前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段(例えば、図2のNFC I/F35)と、
前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段(例えば、図2の無線LAN I/F36やIEEE1394 I/F37など)と、
1以上の前記第2の通信手段を制御する制御手段(例えば、図2の制御部38)と
を備え、
前記第1の通信手段は、前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し(例えば、図4のステップS34およびS39)、
前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し(例えば、図4のステップS40)、
1以上の前記第2の通信手段のうちの、いずれか1つの前記第2の通信手段は、前記通信機能リストに基づいて前記他の通信装置が送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し(例えば、図4のステップS41)、
前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する(例えば、図4のステップS42)。
The communication device of the second aspect of the present invention is
In another communication device, a relay device that relays data for communicating with the other communication device, and a communication device that performs encrypted communication (for example, the TV 11 in FIG. 2),
Encryption key generation means (for example, the random number generator 31 in FIG. 2) for generating a first encryption key for performing encrypted communication with the relay device;
Storage means for storing the first encryption key (for example, the memory 39 in FIG. 2);
A first communication means (for example, NFC I / F 35 in FIG. 2) that performs encrypted communication with the relay device using the first encryption key by a predetermined communication method;
One or more second communication means (for example, wireless LAN I / F 36 or IEEE1394 I / F 37 in FIG. 2) for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method;
Control means for controlling one or more second communication means (for example, the control unit 38 in FIG. 2),
The first communication means receives a communication function information request for requesting information about a communication function possessed by the communication apparatus from the relay apparatus, and responds to the communication function information request with one or more communication function information requests. A communication function list, which is a list indicated by each of the second communication means, is transmitted to the relay device (for example, steps S34 and S39 in FIG. 4),
The control means controls all of the one or more second communication means to be in a reception waiting state (for example, step S40 in FIG. 4),
Of the one or more second communication means, any one of the second communication means is encrypted with a predetermined encryption key transmitted from the other communication device based on the communication function list. A communication start request for requesting the start of communication is received (for example, step S41 in FIG. 4),
The control means further authenticates the other communication device depending on whether or not the encrypted communication start request has been decrypted (for example, step S42 in FIG. 4).

本発明の第2の側面の通信方法は、
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を記憶する記憶手段と、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段を制御する制御手段とを備える通信装置の通信方法において、
前記第1の通信手段において、前記中継装置から前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し(例えば、図4のステップS34およびS39)、
1以上の前記第2の通信手段のすべてを受信待ち状態に制御し(例えば、図4のステップS40)、
前記通信機能リストに基づいて前記他の通信装置が前記所定の通信方式と異なる通信方式で送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し(例えば、図4のステップS41)、
暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する(例えば、図4のステップS42)
ステップを含む。
The communication method according to the second aspect of the present invention includes:
Performs encrypted communication processing with another communication device and a relay device that relays data for communication with the other communication device, and generates a first encryption key for performing encrypted communication with the relay device An encryption key generation unit that performs storage, a storage unit that stores the first encryption key, a first communication unit that performs encrypted communication with the relay apparatus using a first communication key using a predetermined communication method, A communication apparatus comprising one or more second communication means for performing encrypted communication with the other communication apparatus using a communication method different from the predetermined communication method, and a control means for controlling the one or more second communication means. In the communication method of
The first communication means receives a communication function information request for requesting information about a communication function possessed by the communication apparatus from the relay apparatus, and responds to the communication function information request with one or more communication function information requests. A communication function list, which is a list indicated by each of the second communication means, is transmitted to the relay device (for example, steps S34 and S39 in FIG. 4),
Controlling all of the one or more second communication means to be in a reception waiting state (for example, step S40 in FIG. 4);
Based on the communication function list, the communication apparatus receives a communication start request for requesting the start of communication, which is transmitted by a communication method different from the predetermined communication method, and is encrypted with a predetermined encryption key ( For example, step S41) in FIG.
The other communication device is authenticated based on whether or not the encrypted communication start request has been decrypted (for example, step S42 in FIG. 4).
Includes steps.

本発明の第3の側面の通信装置は、
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置(例えば、図2のHDレコーダ13)において、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段(例えば、図2の乱数発生部71)と、
前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段(例えば、図2のNFC I/F75)と、
前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段(例えば、図2の無線LAN I/F76やIEEE1394 I/F77など)と、
1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段(例えば、図2の制御部78)と
を備え、
前記第1の通信手段は、前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し(例えば、図6のステップS84)、
前記選択手段は、受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し(例えば、図6のステップS87)、
選択された前記第2の通信手段は、前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記他の通信装置に送信する(例えば、図6のステップS89)。
The communication device of the third aspect of the present invention is
In another communication device, a relay device that relays data for communicating with the other communication device, and a communication device that performs encrypted communication (for example, the HD recorder 13 in FIG. 2),
Encryption key generation means (for example, a random number generator 71 in FIG. 2) for generating a first encryption key for performing encrypted communication with the relay device;
A first communication means (for example, NFC I / F 75 in FIG. 2) that performs encrypted communication with the relay apparatus using the first encryption key by the predetermined communication method;
One or more second communication means (for example, a wireless LAN I / F 76 or IEEE1394 I / F 77 in FIG. 2) that performs encrypted communication with the other communication device using a communication method different from the predetermined communication method;
Selecting means (for example, the control unit 78 in FIG. 2) for selecting one communication means from among the one or more second communication means;
The first communication unit receives from the relay device a communication function list and a second encryption key, each of which is a list indicating each communication unit included in the other communication device (for example, FIG. 6). Step S84),
The selection means selects one communication means whose communication method matches the communication means included in the received communication function list from the one or more second communication means (for example, step of FIG. 6). S87),
The selected second communication means transmits a communication start request for requesting the start of communication, encrypted with the second encryption key, to the other communication device (for example, step S89 in FIG. 6). .

本発明の第3の側面の通信方法は、
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段とを備える通信装置の通信方法において、
前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し(例えば、図6のステップS84)、
受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し(例えば、図6のステップS87)、
前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記所定の通信方式と異なる通信方式で前記他の通信装置に送信する(例えば、図6のステップS89)
ステップを含む。
The communication method according to the third aspect of the present invention is:
Performs encrypted communication processing with another communication device and a relay device that relays data for communication with the other communication device, and generates a first encryption key for performing encrypted communication with the relay device An encryption key generating means for performing encrypted communication with the relay device using the first encryption key in the predetermined communication system, and the other in a communication system different from the predetermined communication system. In a communication method of a communication apparatus, comprising: one or more second communication means for performing encrypted communication with the communication apparatus; and a selection means for selecting one communication means from the one or more second communication means ,
A communication function list and a second encryption key, which are lists each indicating communication means possessed by the other communication device, are received from the relay device (for example, step S84 in FIG. 6).
One communication means whose communication method matches the communication means included in the received communication function list is selected from the one or more second communication means (for example, step S87 in FIG. 6).
A communication start request for requesting the start of communication, encrypted with the second encryption key, is transmitted to the other communication device using a communication method different from the predetermined communication method (for example, step S89 in FIG. 6).
Includes steps.

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明を適用した通信システムの一実施の形態の構成例を示している。   FIG. 1 shows a configuration example of an embodiment of a communication system to which the present invention is applied.

図1の通信システム1は、テレビジョン受像機11(以下、TV11と称する)、中継器12、ハードディスクレコーダ13(以下、HDレコーダ13と称する)、およびビデオテープレコーダ14(以下、VTR14と称する)により構成されている。   A communication system 1 in FIG. 1 includes a television receiver 11 (hereinafter referred to as TV 11), a repeater 12, a hard disk recorder 13 (hereinafter referred to as HD recorder 13), and a video tape recorder 14 (hereinafter referred to as VTR 14). It is comprised by.

TV11(通信装置)は、図示せぬ放送局から送信されてくる番組のデータ(以下、コンテンツデータと称する)を受信し、表示する。また、TV11は、中継器12とNFC(Near Field Communication)通信を行って、暗号化通信を行うためのセッション鍵Aを交換し、自身(TV11)が有する通信手段(通信機能)のリストである通信機能リストを中継器12に送信する。ここで、NFC通信は、ISO/IEC IS 18092としても承認されている、NFCIP-1 (NFC Interface and Protocol-1)に従った通信方式(以下、適宜NFC通信方式とも称する)により行われる通信であり、13.56MHzの電波(電磁波)を用いる近接(無線)通信である。   The TV 11 (communication device) receives and displays program data (hereinafter referred to as content data) transmitted from a broadcast station (not shown). In addition, the TV 11 performs NFC (Near Field Communication) communication with the repeater 12, exchanges a session key A for performing encrypted communication, and is a list of communication means (communication function) possessed by itself (TV 11). The communication function list is transmitted to the repeater 12. Here, NFC communication is communication performed in accordance with NFCIP-1 (NFC Interface and Protocol-1), which is also approved as ISO / IEC IS 18092 (hereinafter also referred to as NFC communication method as appropriate). Yes, it is proximity (wireless) communication using radio waves (electromagnetic waves) of 13.56 MHz.

さらに、TV11は、NFC通信以外の通信手段で、HDレコーダ13やVTR14から、TV11が受信したコンテンツデータの要求があった場合には、その要求があったのと同一の通信手段で、コンテンツデータをHDレコーダ13やVTR14に送信する。従って、TV11は、NFC通信と、NFC通信以外の通信手段との、少なくとも2以上の通信手段を有している。   Further, when the TV 11 receives a request for the content data received by the TV 11 from the HD recorder 13 or the VTR 14 by a communication means other than the NFC communication, the content data is transmitted by the same communication means as the request. Is transmitted to the HD recorder 13 and the VTR 14. Therefore, the TV 11 has at least two or more communication means of NFC communication and communication means other than NFC communication.

中継器12(中継装置)は、例えば、ユーザが片手で把持可能な携帯端末であり、TV11、HDレコーダ13、およびVTR14とNFC通信を行う。具体的には、中継器12は、TV11との間でセッション鍵Aを交換し、そのセッション鍵Aを用いて暗号化通信を行い、TV11の通信機能リストを受信する。また、中継器12は、同様にHDレコーダ13またはVTR14ともセッション鍵BまたはCをそれぞれ交換し、暗号化通信によって、TV11の通信機能リストをHDレコーダ13またはVTR14に送信する。   The repeater 12 (relay device) is, for example, a portable terminal that a user can hold with one hand, and performs NFC communication with the TV 11, the HD recorder 13, and the VTR 14. Specifically, the repeater 12 exchanges a session key A with the TV 11, performs encrypted communication using the session key A, and receives a communication function list of the TV 11. Similarly, the repeater 12 also exchanges the session key B or C with the HD recorder 13 or VTR 14 respectively, and transmits the communication function list of the TV 11 to the HD recorder 13 or VTR 14 by encrypted communication.

HDレコーダ13(通信装置)は、内部に有するチューナ(図示せず)で受信したり、他の通信装置(例えば、TV11)から受信したコンテンツデータをハードディスク74a(図2)に記録する。HDレコーダ13がTV11からコンテンツデータを受信して、記録する場合、HDレコーダ13は、セッション鍵Bを用いて中継器12と暗号化通信を行い、中継器12からTV11の通信機能リストを受信する。そして、HDレコーダ13は、TV11の通信機能リストを参照し、TV11が有する通信手段のなかから最適な通信手段を選択し、選択した通信手段で、TV11にコンテンツデータを要求する。従って、HDレコーダ13も、NFC通信と、NFC通信以外の通信手段との、少なくとも2以上の通信手段を有している。   The HD recorder 13 (communication device) records content data received by an internal tuner (not shown) or received from another communication device (for example, the TV 11) on the hard disk 74a (FIG. 2). When the HD recorder 13 receives and records content data from the TV 11, the HD recorder 13 performs encrypted communication with the repeater 12 using the session key B, and receives the communication function list of the TV 11 from the repeater 12. . Then, the HD recorder 13 refers to the communication function list of the TV 11, selects an optimum communication means from the communication means possessed by the TV 11, and requests content data from the TV 11 using the selected communication means. Therefore, the HD recorder 13 also has at least two or more communication means of NFC communication and communication means other than NFC communication.

VTR14(通信装置)は、内部に有するチューナ(図示せず)で受信したり、他の通信装置(例えば、TV11)から受信したコンテンツデータをビデオテープ(図示せず)に記録する。VTR14がTV11からコンテンツデータを受信して、記録する場合、VTR14は、セッション鍵Cを用いて中継器12と暗号化通信を行い、中継器12からTV11の通信機能リストを受信する。そしてVTR14は、TV11の通信機能リストを参照し、TV11が有する通信手段のなかから最適な通信手段を選択し、選択した通信手段で、TV11にコンテンツデータを要求する。従って、VTR14も、NFC通信と、NFC通信以外の通信手段との、少なくとも2以上の通信手段を有している。   The VTR 14 (communication device) records content data received by a tuner (not shown) included therein or received from another communication device (for example, the TV 11) on a video tape (not shown). When the VTR 14 receives and records content data from the TV 11, the VTR 14 performs encrypted communication with the repeater 12 using the session key C, and receives the communication function list of the TV 11 from the repeater 12. Then, the VTR 14 refers to the communication function list of the TV 11, selects an optimal communication means from the communication means possessed by the TV 11, and requests content data from the TV 11 using the selected communication means. Therefore, the VTR 14 also has at least two or more communication means of NFC communication and communication means other than NFC communication.

なお、NFC通信には、パッシブモードとアクティブモードの2つの通信モードがある。   NFC communication has two communication modes, a passive mode and an active mode.

パッシブモードでは、一方の通信装置が、自身が発生する電磁波(に対応する搬送波)を変調することにより、他方の通信装置にデータを送信し、他方の通信装置は、一方の通信装置が発生する電磁波(に対応する搬送波)を負荷変調することにより、一方の通信装置にデータを送信する。   In the passive mode, one communication device transmits data to the other communication device by modulating an electromagnetic wave (corresponding to) generated by itself, and the other communication device generates one communication device. Data is transmitted to one communication device by load-modulating the electromagnetic wave (corresponding to the carrier wave).

一方、アクティブモードでは、互いの通信装置それぞれが、自身で電磁波(に対応する搬送波)を発生させ、それを変調することによりデータを送信する。   On the other hand, in the active mode, each communication device generates an electromagnetic wave (corresponding to the carrier wave) and modulates it to transmit data.

ここで、電磁誘導による近接通信を行う場合、最初に電磁波を出力して通信を開始し、いわば通信の主導権を握る装置を、イニシエータと呼ぶ。イニシエータは、通信相手にコマンドを送信し、その通信相手は、そのコマンドに対するレスポンスを返す形で、近接通信が行われるが、イニシエータからのコマンドに対するレスポンスを返す通信相手を、ターゲットと呼ぶ。   Here, when performing proximity communication by electromagnetic induction, a device that first outputs an electromagnetic wave and starts communication, and so to speak, is called an initiator. The initiator transmits a command to the communication partner, and the communication partner returns a response to the command to perform near field communication. A communication partner that returns a response to the command from the initiator is called a target.

図1の通信システム1では、パッシブモードによるNFC通信が行われるものとし、中継器12がイニシエータとなって、ターゲットであるTV11、HDレコーダ13、またはVTR14と通信を開始する。   In the communication system 1 of FIG. 1, it is assumed that NFC communication in the passive mode is performed, and the repeater 12 serves as an initiator to start communication with the target TV 11, HD recorder 13, or VTR 14.

以上のように構成される通信システム1では、HDレコーダ13またはVTR14は、中継器12からNFC通信によって受信して得られる通信機能リストを基に、NFC通信以外の通信手段でコンテンツデータの要求をTV11に送信し、TV11は、HDレコーダ13またはVTR14がコンテンツデータの正当な受信者であることを確認後(認証後)、コンテンツデータを、コンテンツデータの要求がなされたのと同一の通信手段で送信する。   In the communication system 1 configured as described above, the HD recorder 13 or the VTR 14 requests content data by a communication means other than NFC communication based on a communication function list obtained by receiving NFC communication from the repeater 12. The TV 11 confirms that the HD recorder 13 or the VTR 14 is a valid receiver of the content data (after authentication), and then the content data is transmitted to the TV 11 using the same communication means as the request for the content data. Send.

なお、HDレコーダ13とVTR14は、TV11および中継器12に対して同様の通信を行うため、以下では、TV11または中継器12とHDレコーダ13との間の通信について説明することとする。   Since HD recorder 13 and VTR 14 perform similar communication with TV 11 and repeater 12, communication between TV 11 or repeater 12 and HD recorder 13 will be described below.

図2は、TV11、中継器12、およびHDレコーダ13それぞれの詳細な構成例を示すブロック図である。TV11、中継器12、またはHDレコーダ13内の各ブロックは、装置内において、必要に応じて相互にデータを授受することが可能とされている。   FIG. 2 is a block diagram illustrating detailed configuration examples of the TV 11, the repeater 12, and the HD recorder 13. Each block in the TV 11, the repeater 12, or the HD recorder 13 can exchange data with each other as necessary in the apparatus.

TV11は、乱数発生部31、暗号化部32、復号部33、表示部34、NFC I/F(InterFace)35、無線LAN(Local Area Network) I/F36、IEEE(The Institute of Electrical and Electronic Engineers)1394 I/F37、制御部38、およびメモリ39により構成されている。   The TV 11 includes a random number generation unit 31, an encryption unit 32, a decryption unit 33, a display unit 34, an NFC I / F (InterFace) 35, a wireless LAN (Local Area Network) I / F 36, IEEE (The Institute of Electrical and Electronic Engineers). 1394 I / F 37, control unit 38, and memory 39.

乱数発生部31は、中継器12やHDレコーダと暗号化通信を行うための暗号鍵となる乱数を生成する。例えば、乱数発生部31は、中継部12と暗号化通信を行うためのセッション鍵A、およびHDレコーダ13と暗号化通信を行うための機器間通信鍵を生成し、制御部38に供給する。   The random number generation unit 31 generates a random number serving as an encryption key for performing encrypted communication with the repeater 12 and the HD recorder. For example, the random number generation unit 31 generates a session key A for performing encrypted communication with the relay unit 12 and an inter-device communication key for performing encrypted communication with the HD recorder 13, and supplies them to the control unit 38.

暗号化部32は、制御部38から供給される暗号鍵を用いて、中継器12またはHDレコーダ13に送信するデータ(送信データ)を暗号化し、制御部28に供給する。復号部33は、制御部38から供給された暗号化されている受信データを復号し、制御部38に供給する。   The encryption unit 32 encrypts data (transmission data) to be transmitted to the repeater 12 or the HD recorder 13 using the encryption key supplied from the control unit 38 and supplies the encrypted data to the control unit 28. The decryption unit 33 decrypts the encrypted reception data supplied from the control unit 38 and supplies the decrypted reception data to the control unit 38.

表示部34は、CRT(Cathode Ray Tube)やLCD(Liquid Crystal display)などで構成され、制御部38から供給される信号(映像信号)に基づいて、コンテンツデータに対応する画像を表示する。   The display unit 34 includes a CRT (Cathode Ray Tube), an LCD (Liquid Crystal display), and the like, and displays an image corresponding to the content data based on a signal (video signal) supplied from the control unit 38.

NFC I/F35は、NFC通信方式により、制御部38から供給される送信データを中継器12に送信するとともに、中継器12から送信されてくる受信データを受信し、制御部38に供給する。例えば、NFC I/F35は、制御部38から供給される通信機能リストを中継器12に送信する。なお、NFC I/F35は、セッション鍵Aにより送信データおよび受信データが暗号化された通信(暗号化通信)を行う。   The NFC I / F 35 transmits the transmission data supplied from the control unit 38 to the repeater 12 by the NFC communication method, receives the reception data transmitted from the repeater 12, and supplies the received data to the control unit 38. For example, the NFC I / F 35 transmits a communication function list supplied from the control unit 38 to the repeater 12. The NFC I / F 35 performs communication (encrypted communication) in which transmission data and reception data are encrypted by the session key A.

無線LAN I/F36は、いわゆるWi-Fiと呼ばれるIEEE(The Institute of Electrical and Electronic Engineers) 802.11aまたは802.11bに従った通信方式により、HDレコーダ13と通信を行う。IEEE1394 I/F37は、IEEE1394に従った通信方式(例えば、i.Link(商標)など)により、HDレコーダ13と通信を行う。例えば、無線LAN I/F36およびIEEE1394 I/F37は、制御部38により受信待ち状態に設定され、HDレコーダ13からコンテンツデータのやりとりを行うための通信開始要求が送信されてくるのを待機する。そして、通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37が、HDレコーダ13にコンテンツデータを送信する。なお、無線LAN I/F36またはIEEE1394 I/F37は、コンテンツデータをHDレコーダ13に送信する場合、機器間通信鍵を用いた暗号化通信を行う。   The wireless LAN I / F 36 communicates with the HD recorder 13 by a communication method according to IEEE (The Institute of Electrical and Electronic Engineers) 802.11a or 802.11b called so-called Wi-Fi. The IEEE1394 I / F 37 communicates with the HD recorder 13 by a communication method (for example, i.Link (trademark) or the like) according to IEEE1394. For example, the wireless LAN I / F 36 and the IEEE1394 I / F 37 are set in a reception waiting state by the control unit 38 and wait for a communication start request for exchanging content data from the HD recorder 13 to be transmitted. Then, the wireless LAN I / F 36 or the IEEE1394 I / F 37 that has received the communication start request transmits the content data to the HD recorder 13. Note that the wireless LAN I / F 36 or the IEEE1394 I / F 37 performs encrypted communication using the inter-device communication key when transmitting content data to the HD recorder 13.

制御部38は、TV11内の各部を制御する。例えば、制御部38は、乱数発生部31が生成したセッション鍵Aおよび機器間通信鍵を暗号化部32および復号部33に供給し、送信データを暗号化部32に暗号化させたり、受信データを復号部33に復号させる。また、制御部38は、TV11が有する通信機能(通信手段)それぞれが示された通信機能リストを生成し、メモリ39に記憶させるとともに、NFC I/F35に供給する。ここで、通信機能リストには、NFC I/F35によるNFC通信機能、無線LAN I/F36による無線LAN通信機能、IEEE1394 I/F37によるIEEE1394通信機能をそれぞれ表すID(以下、ネットワークIDと称する)が含まれる。ネットワークIDは、例えば、TV11の各通信機能を特定することができるIPアドレスや、チャネル番号、ノードIDなどである。また、制御部38は、通信機能リストをNFC I/F35に供給した後に、無線LAN I/F36およびIEEE1394 I/F37を、受信待ち状態にさせる。   The control unit 38 controls each unit in the TV 11. For example, the control unit 38 supplies the session key A and the inter-device communication key generated by the random number generation unit 31 to the encryption unit 32 and the decryption unit 33, and causes the encryption unit 32 to encrypt transmission data or receive data Is decoded by the decoding unit 33. In addition, the control unit 38 generates a communication function list indicating each communication function (communication means) of the TV 11, stores the communication function list in the memory 39, and supplies it to the NFC I / F 35. Here, in the communication function list, there are IDs (hereinafter referred to as network IDs) representing the NFC communication function by the NFC I / F 35, the wireless LAN communication function by the wireless LAN I / F 36, and the IEEE1394 communication function by the IEEE1394 I / F 37, respectively. included. The network ID is, for example, an IP address that can specify each communication function of the TV 11, a channel number, a node ID, or the like. In addition, after supplying the communication function list to the NFC I / F 35, the control unit 38 causes the wireless LAN I / F 36 and the IEEE1394 I / F 37 to wait for reception.

メモリ39は、中継器12またはHDレコーダ13との通信に必要なデータを記憶する。例えば、メモリ39は、上述した通信機能リストや機器間通信鍵を記憶する。   The memory 39 stores data necessary for communication with the repeater 12 or the HD recorder 13. For example, the memory 39 stores the communication function list and the inter-device communication key described above.

以上のように構成されるTV11では、NFC I/F35がセッション鍵Aを用いて中継器12と暗号化通信を行い、通信機能リストと機器間通信鍵を送信する。また、HDレコーダ13から通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37が機器間通信鍵を用いてHDレコーダ13と暗号化通信を行い、コンテンツデータを送信する。   In the TV 11 configured as described above, the NFC I / F 35 performs encrypted communication with the repeater 12 using the session key A, and transmits a communication function list and an inter-device communication key. The wireless LAN I / F 36 or IEEE1394 I / F 37 that has received the communication start request from the HD recorder 13 performs encrypted communication with the HD recorder 13 using the inter-device communication key, and transmits the content data.

中継器12は、暗号化部51、復号部52、NFC I/F53、制御部54、およびメモリ55により構成されている。   The repeater 12 includes an encryption unit 51, a decryption unit 52, an NFC I / F 53, a control unit 54, and a memory 55.

暗号化部51は、TV11から供給されたセッション鍵Aや、HDレコーダ13から供給されたセッション鍵Bを用いて、TV11またはHDレコーダ13に送信する送信データを暗号化して、制御部54に供給する。復号部52は、TV11またはHDレコーダ13から受信した受信データをセッション鍵Aまたはセッション鍵Bでそれぞれ復号し、制御部54に供給する。   The encryption unit 51 encrypts transmission data to be transmitted to the TV 11 or the HD recorder 13 using the session key A supplied from the TV 11 or the session key B supplied from the HD recorder 13, and supplies the encrypted transmission data to the control unit 54. To do. The decryption unit 52 decrypts the received data received from the TV 11 or the HD recorder 13 with the session key A or the session key B, and supplies the decrypted data to the control unit 54.

NFC I/F35は、NFC通信方式により、制御部54から供給される送信データをTV11またはHDレコーダ13に送信するとともに、TV11またはHDレコーダ13から送信されてくる受信データを受信し、制御部38に供給する。例えば、NFC I/F35は、TV11の通信機能リストをTV11から受信し、HDレコーダ13に送信する。   The NFC I / F 35 transmits the transmission data supplied from the control unit 54 to the TV 11 or the HD recorder 13 by the NFC communication method, and also receives the reception data transmitted from the TV 11 or the HD recorder 13. To supply. For example, the NFC I / F 35 receives the communication function list of the TV 11 from the TV 11 and transmits it to the HD recorder 13.

制御部54は、中継器12内の各部を制御する。例えば、制御部54は、NFC I/F53がTV11から受信したTV11の通信機能リストをメモリ55に一時記憶させ、HDレコーダ13と接続後にメモリ55からTV11の通信機能リストを読み出し、NFC I/F53を制御して、HDレコーダ13に送信させる。   The control unit 54 controls each unit in the repeater 12. For example, the control unit 54 temporarily stores the communication function list of the TV 11 received by the NFC I / F 53 from the TV 11 in the memory 55, reads out the communication function list of the TV 11 from the memory 55 after connection with the HD recorder 13, and performs the NFC I / F 53. To be transmitted to the HD recorder 13.

メモリ55は、TV11およびHDレコーダ13との通信に必要なデータを記憶する。例えば、メモリ55は、上述したセッション鍵AおよびBやTV11の通信機能リストを記憶する。   The memory 55 stores data necessary for communication with the TV 11 and the HD recorder 13. For example, the memory 55 stores the communication function list of the session keys A and B and the TV 11 described above.

以上のように構成される中継器12では、NFC I/F53がセッション鍵Aを用いて中継器TV11と暗号化通信を行い、通信機能リストと機器間通信鍵を受信する。また、NFC I/F53は、セッション鍵Bを用いてHDレコーダ13と暗号化通信を行い、通信機能リストと機器間通信鍵を送信する。   In the repeater 12 configured as described above, the NFC I / F 53 performs encrypted communication with the repeater TV 11 using the session key A, and receives the communication function list and the inter-device communication key. The NFC I / F 53 performs encrypted communication with the HD recorder 13 using the session key B, and transmits a communication function list and an inter-device communication key.

HDレコーダ13は、乱数発生部71、暗号化部72、復号部73、記録再生部74、ハードディスク74a、NFC I/F75、無線LAN I/F76、IEEE1394 I/F77、制御部78、およびメモリ79により構成されている。   The HD recorder 13 includes a random number generation unit 71, an encryption unit 72, a decryption unit 73, a recording / reproduction unit 74, a hard disk 74a, an NFC I / F 75, a wireless LAN I / F 76, an IEEE1394 I / F 77, a control unit 78, and a memory 79. It is comprised by.

乱数発生部71は、中継器12と暗号化通信を行うための暗号鍵となる乱数を生成する。例えば、乱数発生部71は、中継部12と暗号化通信を行うためにセッション鍵Bを生成し、制御部38に供給する。   The random number generator 71 generates a random number that serves as an encryption key for performing encrypted communication with the repeater 12. For example, the random number generation unit 71 generates a session key B for performing encrypted communication with the relay unit 12 and supplies the session key B to the control unit 38.

暗号化部72は、制御部38から供給される暗号鍵を用いて、TV11または中継器12に送信する送信データを暗号化し、制御部78に供給する。復号部73は、制御部78から供給された暗号化された受信データを復号し、制御部78に供給する。   The encryption unit 72 encrypts transmission data to be transmitted to the TV 11 or the repeater 12 using the encryption key supplied from the control unit 38 and supplies the encrypted transmission data to the control unit 78. The decryption unit 73 decrypts the encrypted received data supplied from the control unit 78 and supplies the decrypted reception data to the control unit 78.

記録再生部74は、ハードディスク74aを駆動するドライブ装置などで構成され、TV11から送信されてきたコンテンツデータをハードディスク74aに記録する。なお、記録再生部74は、ハードディスク74aに記録されたコンテンツデータを読み出し、制御部78に供給することもできる。   The recording / reproducing unit 74 is configured by a drive device or the like that drives the hard disk 74a, and records content data transmitted from the TV 11 on the hard disk 74a. The recording / reproducing unit 74 can also read the content data recorded on the hard disk 74 a and supply it to the control unit 78.

NFC I/F75は、NFC通信方式により、制御部78から供給される送信データを中継器12に送信するとともに、中継器12から送信されてくる受信データを受信し、制御部78に供給する。例えば、NFC I/F75は、中継器12から送信されてくる通信機能リストおよび機器間通信鍵を受信し、制御部78に供給する。なお、NFC I/F75は、セッション鍵Bにより送信データおよび受信データが暗号化された通信(暗号化通信)を行う。   The NFC I / F 75 transmits the transmission data supplied from the control unit 78 to the repeater 12 by the NFC communication method, receives the reception data transmitted from the repeater 12, and supplies the received data to the control unit 78. For example, the NFC I / F 75 receives the communication function list and the inter-device communication key transmitted from the repeater 12 and supplies them to the control unit 78. The NFC I / F 75 performs communication (encrypted communication) in which transmission data and reception data are encrypted with the session key B.

無線LAN I/F76は、IEEE802.11aまたは802.11bに従った通信方式により、TV11と通信を行う。IEEE1394 I/F77は、IEEE1394に従った通信方式により、TV11と通信を行う。例えば、無線LAN I/F76またはIEEE1394 I/F77は、制御部78の制御により、通信開始要求をTV11に送信して、TV11との間で機器間通信鍵を用いた暗号化通信を開始し、TV11から送ってもらったコンテンツデータを受信する。   The wireless LAN I / F 76 communicates with the TV 11 by a communication method according to IEEE802.11a or 802.11b. The IEEE1394 I / F 77 communicates with the TV 11 by a communication method according to IEEE1394. For example, the wireless LAN I / F 76 or the IEEE1394 I / F 77 transmits a communication start request to the TV 11 under the control of the control unit 78 and starts encrypted communication with the TV 11 using the inter-device communication key. The content data sent from the TV 11 is received.

制御部78は、HDレコーダ13内の各部を制御する。例えば、制御部78は、乱数発生部71が生成したセッション鍵Bを暗号化部72および復号部73に供給し、NFC I/F75が中継器12に送信する送信データを暗号化部32にセッション鍵Bで暗号化させたり、NFC I/F75が中継器12から受信した受信データを復号部33にセッション鍵Bで復号させる。また、制御部38は、TV11の通信機能リストをNFC I/F75から取得し、メモリ79に記憶させる。そして、制御部78は、TV11からコンテンツデータを受信するのに最適な通信手段(通信機能)を通信機能リストのなかから選択し、選択した通信手段(本実施の形態では、無線LAN I/F36か、またはIEEE1394 I/F37)に、通信開始要求を送信させる。   The control unit 78 controls each unit in the HD recorder 13. For example, the control unit 78 supplies the session key B generated by the random number generation unit 71 to the encryption unit 72 and the decryption unit 73, and sends the transmission data transmitted from the NFC I / F 75 to the repeater 12 to the encryption unit 32. The data is encrypted with the key B, or the reception data received by the NFC I / F 75 from the repeater 12 is decrypted by the decryption unit 33 with the session key B. Further, the control unit 38 acquires the communication function list of the TV 11 from the NFC I / F 75 and stores it in the memory 79. Then, the control unit 78 selects a communication means (communication function) optimal for receiving content data from the TV 11 from the communication function list, and selects the selected communication means (in this embodiment, the wireless LAN I / F 36). Or the IEEE1394 I / F 37) transmits a communication start request.

メモリ79は、中継器12またはHDレコーダ13との通信に必要なデータを記憶する。例えば、メモリ79は、中継器12から受信したTV11の通信機能リストを記憶する。   The memory 79 stores data necessary for communication with the repeater 12 or the HD recorder 13. For example, the memory 79 stores a communication function list of the TV 11 received from the repeater 12.

以上のように構成されるHDレコーダ13では、NFC I/F75がセッション鍵Bを用いて中継器12と暗号化通信を行い、通信機能リストと機器間通信鍵を受信する。また、無線LAN I/F76またはIEEE1394 I/F77が機器間通信鍵を用いてTV11と暗号化通信を行い、コンテンツデータを受信する。   In the HD recorder 13 configured as described above, the NFC I / F 75 performs encrypted communication with the repeater 12 using the session key B, and receives the communication function list and the inter-device communication key. Further, the wireless LAN I / F 76 or the IEEE1394 I / F 77 performs encrypted communication with the TV 11 using the inter-device communication key, and receives content data.

次に、TV11、中継器12、およびHDレコーダ13において、HDレコーダ13が、TV11の通信機能リストのなかから選択した通信手段で、コンテンツデータの受信を開始するまでの処理の概要について図3を参照して説明する。   Next, in the TV 11, the repeater 12, and the HD recorder 13, FIG. 3 shows an outline of processing until the HD recorder 13 starts receiving content data with the communication means selected from the communication function list of the TV 11. The description will be given with reference.

即ち、図3は、TV11とHDレコーダ13とがコンテンツデータのやりとりを行うために接続する、TV11、中継器12、およびHDレコーダ13の接続処理(概要)を説明するフローチャートである。   That is, FIG. 3 is a flowchart for explaining a connection process (outline) of the TV 11, the repeater 12, and the HD recorder 13 that are connected in order for the TV 11 and the HD recorder 13 to exchange content data.

初めに、ステップS1において、イニシエータとしての中継器12がTV11とのNFC通信を開始し、TV11と中継器12との間でセッション鍵Aを交換する。これ以降、TV11と中継器12との間では、セッション鍵Aによる暗号化通信が行われる。また、ここで得られたセッション鍵Aは、メモリ55に記憶される。   First, in step S <b> 1, the repeater 12 as an initiator starts NFC communication with the TV 11 and exchanges a session key A between the TV 11 and the repeater 12. Thereafter, encrypted communication using the session key A is performed between the TV 11 and the repeater 12. Further, the session key A obtained here is stored in the memory 55.

ステップS2において、中継器12は、TV11が有している通信手段(通信機能)についての情報を要求する通信機能情報要求を、セッション鍵Aで暗号化してTV11に送信する。   In step S <b> 2, the repeater 12 encrypts a communication function information request for requesting information about communication means (communication function) possessed by the TV 11 with the session key A and transmits the request to the TV 11.

通信機能情報要求を受信したTV11は、ステップS3において、機器間通信鍵としての乱数を生成し、ステップS4に進み、メモリ39に記憶させる。そして、ステップS5において、TV11は、中継器12からの通信機能情報要求に応答して、TV11の通信機能リストと機器間通信鍵を、セッション鍵Aで暗号化して中継器12に送信する。その後、ステップS6において、TV11は、無線LAN I/F36およびIEEE1394 I/F37を受信待ち状態にする。   The TV 11 that has received the communication function information request generates a random number as an inter-device communication key in step S3, proceeds to step S4, and stores it in the memory 39. In step S <b> 5, in response to the communication function information request from the repeater 12, the TV 11 encrypts the communication function list of the TV 11 and the device-to-device communication key with the session key A and transmits them to the repeater 12. Thereafter, in step S6, the TV 11 puts the wireless LAN I / F 36 and the IEEE1394 I / F 37 into a reception waiting state.

ステップS7において、中継器12は、TV11から送信されてきた通信機能リストと機器間通信鍵を受信し、メモリ55に記憶させる。   In step S <b> 7, the repeater 12 receives the communication function list and the inter-device communication key transmitted from the TV 11 and stores them in the memory 55.

その後、ステップS8において、中継器12は、HDレコーダ13とのNFC通信を開始し、中継器12とHDレコーダ13との間でセッション鍵Bを交換する。これ以降、中継器12とHDレコーダ13との間では、セッション鍵Bによる暗号化通信が行われる。   Thereafter, in step S <b> 8, the repeater 12 starts NFC communication with the HD recorder 13 and exchanges a session key B between the repeater 12 and the HD recorder 13. Thereafter, encrypted communication using the session key B is performed between the repeater 12 and the HD recorder 13.

ステップS9において、中継器12は、メモリ55に記憶しておいたTV11の通信機能リストと機器間通信鍵をHDレコーダ13に送信する。HDレコーダ13は、ステップS10において、中継器12から送信されてくる、TV11の通信機能リストと機器間通信鍵を受信し、メモリ79に記憶させ、ステップS11に進み、受信した旨の受信確認を中継器12に送信する。   In step S <b> 9, the repeater 12 transmits the communication function list of the TV 11 and the device communication key stored in the memory 55 to the HD recorder 13. The HD recorder 13 receives the communication function list of the TV 11 and the inter-device communication key transmitted from the repeater 12 in step S10, stores them in the memory 79, proceeds to step S11, and confirms reception of the reception. It transmits to the repeater 12.

ステップS12において、HDレコーダ13は、受信した通信機能リストから適切な通信機能を選択する。例えば、HDレコーダ13は、無線LAN通信機能とIEEE1394通信機能の2つの通信機能が通信機能リストにある場合には、通信速度の速いIEEE1394通信機能を選択する。即ち、HDレコーダ13は、IEEE1394 I/F77を選択する。   In step S12, the HD recorder 13 selects an appropriate communication function from the received communication function list. For example, when two communication functions of a wireless LAN communication function and an IEEE1394 communication function are in the communication function list, the HD recorder 13 selects the IEEE1394 communication function having a high communication speed. That is, the HD recorder 13 selects IEEE1394 I / F77.

ステップS13において、HDレコーダ13は、コンテンツデータをTV11から送信してもらう(受信する)ための通信の開始を要求する通信開始要求を機器間通信鍵で暗号化し、ステップS14に進み、それを、選択した通信手段(IEEE1394 I/F77)によりTV11に送信する。なお、図3における太線の矢印は、NFC通信以外の選択された通信手段による通信を表している。   In step S13, the HD recorder 13 encrypts the communication start request for requesting the start of communication for receiving (receiving) the content data from the TV 11 with the inter-device communication key, and proceeds to step S14. It transmits to TV11 by the selected communication means (IEEE1394 I / F77). In addition, the thick line arrow in FIG. 3 represents the communication by the selected communication means other than NFC communication.

ステップS15において、TV11は、機器間通信鍵が一致したか否か、即ち、受信待ち状態に設定されている無線LAN I/F36またはIEEE1394 I/F37において所定のコマンドを受信し、その受信されたコマンドがメモリ39に記憶されている機器間通信鍵で復号できたか否かを判定する。ステップS15で、機器間通信鍵が一致しなかった場合、即ち、無線LAN I/F36またはIEEE1394 I/F37においてコマンドが受信されたが、メモリ39に記憶されている機器間通信鍵で受信されたコマンドを復号することができず、受信されたコマンドを認識することができなかった場合、TV11では、何らの処理もおこなわれない。   In step S15, the TV 11 receives a predetermined command in the wireless LAN I / F 36 or the IEEE1394 I / F 37 set in the reception waiting state whether or not the communication key between devices matches, and the received command is received. It is determined whether or not the command can be decrypted with the inter-device communication key stored in the memory 39. In step S15, if the inter-device communication key does not match, that is, the command is received at the wireless LAN I / F 36 or IEEE1394 I / F 37, but is received with the inter-device communication key stored in the memory 39. If the command cannot be decoded and the received command cannot be recognized, the TV 11 does not perform any processing.

一方、ステップS15で、機器間通信鍵が一致した場合、即ち、無線LAN I/F36またはIEEE1394 I/F37においてコマンドが受信され、メモリ39に記憶されている機器間通信鍵で受信されたコマンドを復号することができ、その復号されたコマンドが、コンテンツデータの送信を求める通信開始要求であった場合、ステップS16に進み、TV11は、通信開始要求を受信した通信手段(IEEE1394 I/F37)により、通信開始要求を承認する要求承認をHDレコーダ13に送信する。その後、通信開始要求を受信した通信手段によって、所定のコンテンツデータが(機器間通信鍵で暗号化されて)HDレコーダ13に送信される。   On the other hand, if the inter-device communication keys match in step S15, that is, the command is received by the wireless LAN I / F 36 or IEEE1394 I / F 37, and the command received by the inter-device communication key stored in the memory 39 is When the decrypted command is a communication start request for requesting transmission of content data, the process proceeds to step S16, and the TV 11 uses the communication means (IEEE1394 I / F 37) that has received the communication start request. The request approval for approving the communication start request is transmitted to the HD recorder 13. Thereafter, predetermined content data (encrypted with the inter-device communication key) is transmitted to the HD recorder 13 by the communication means that has received the communication start request.

次に、図3の接続処理の詳細について、TV11、中継器12、およびHDレコーダ13ごとに、図4乃至図6を参照して説明する。   Next, details of the connection process in FIG. 3 will be described for each of the TV 11, the repeater 12, and the HD recorder 13 with reference to FIGS. 4 to 6.

図4は、TV11の接続処理を説明するフローチャートである。   FIG. 4 is a flowchart for explaining the connection process of the TV 11.

初めに、ステップS31において、NFC I/F35は、中継器12からセッション鍵交換要求を受信したか否かを判定し、セッション鍵交換要求を受信したと判定されるまで待機する。   First, in step S31, the NFC I / F 35 determines whether or not a session key exchange request has been received from the repeater 12, and waits until it is determined that a session key exchange request has been received.

ステップS31で、中継器12からセッション鍵交換要求を受信したと判定された場合、ステップS32に進み、NFC I/F35は、受信したセッション鍵交換要求を制御部38に供給する。また、ステップS32において、制御部38は、乱数発生部31を制御して乱数を発生させる。乱数発生部31は、セッション鍵Aとしての乱数を生成し、ステップS33に進む。   If it is determined in step S31 that the session key exchange request has been received from the repeater 12, the process proceeds to step S32, and the NFC I / F 35 supplies the received session key exchange request to the control unit 38. In step S32, the control unit 38 controls the random number generation unit 31 to generate a random number. The random number generator 31 generates a random number as the session key A, and proceeds to step S33.

ステップS33において、NFC I/F35は、制御部38の制御にしたがい、セッション鍵Aを中継器12と交換する。そして、ステップS34に進み、NFC I/F35は、TV11が有している通信手段についての情報を要求する通信機能情報要求を受信したか否かを判定し、通信機能要求を受信したと判定されるまで待機する。ここで受信される通信機能情報要求は、ステップS33で交換されたセッション鍵Aで暗号化されている。   In step S <b> 33, the NFC I / F 35 exchanges the session key A with the repeater 12 under the control of the control unit 38. Then, the process proceeds to step S34, where the NFC I / F 35 determines whether or not a communication function information request for requesting information about communication means possessed by the TV 11 has been received, and it is determined that a communication function request has been received. Wait until The communication function information request received here is encrypted with the session key A exchanged in step S33.

ステップS34で、中継器12から通信機能情報要求を受信したと判定された場合、ステップS35に進み、制御部38は、NFC I/F35から供給された(セッション鍵Aで暗号化されている)通信機能情報要求を復号部33に供給する。復号部33は、暗号化されている通信機能情報要求をセッション鍵Aで復号し、ステップS36に進む。   When it is determined in step S34 that the communication function information request has been received from the repeater 12, the process proceeds to step S35, and the control unit 38 is supplied from the NFC I / F 35 (encrypted with the session key A). The communication function information request is supplied to the decoding unit 33. The decryption unit 33 decrypts the encrypted communication function information request with the session key A, and proceeds to step S36.

ステップS36において、制御部38は、乱数発生部31に機器間通信鍵としての乱数を生成させる。乱数発生部31は、HDレコーダ13と暗号化通信を行うための暗号鍵となる乱数(機器間通信鍵)を生成し、制御部38に供給する。   In step S36, the control unit 38 causes the random number generation unit 31 to generate a random number as an inter-device communication key. The random number generation unit 31 generates a random number (an inter-device communication key) that serves as an encryption key for performing encrypted communication with the HD recorder 13 and supplies the generated random number to the control unit 38.

ステップS37において、制御部38は、乱数発生部31から供給された機器間通信鍵をメモリ39に記憶させる。   In step S <b> 37, the control unit 38 stores the inter-device communication key supplied from the random number generation unit 31 in the memory 39.

ステップS38において、制御部38は、自身の通信機能リストを生成し、メモリ39に記憶させるとともに、その通信機能リストと機器間通信鍵を、暗号化部32に供給し、セッション鍵Aで暗号化させる。暗号化部32は、通信機能リストと機器間通信鍵をセッション鍵Aで暗号化し、ステップS39に進む。   In step S38, the control unit 38 generates its own communication function list, stores it in the memory 39, supplies the communication function list and the inter-device communication key to the encryption unit 32, and encrypts them with the session key A. Let The encryption unit 32 encrypts the communication function list and the device-to-device communication key with the session key A, and proceeds to step S39.

ステップS39において、制御部38は、暗号化部32により暗号化された通信機能リストと機器間通信鍵をNFC I/F35に供給する。NFC I/F35は、セッション鍵Aで暗号化されている、TV11の通信機能リストと機器間通信鍵を中継器12に送信して、ステップS40に進む。   In step S39, the control unit 38 supplies the NFC I / F 35 with the communication function list and the device-to-device communication key encrypted by the encryption unit 32. The NFC I / F 35 transmits the communication function list of the TV 11 and the device-to-device communication key encrypted with the session key A to the repeater 12, and proceeds to step S40.

ステップS40において、制御部38は、無線LAN I/F36およびIEEE1394 I/F37の各通信手段を受信待ち状態にさせる(制御する)。   In step S40, the control unit 38 places (controls) the wireless LAN I / F 36 and IEEE1394 I / F 37 communication means in a reception waiting state.

その後、ステップS41に進み、受信待ち状態となった無線LAN I/F36またはIEEE1394 I/F37のいずれかが、HDレコーダ13からの通信開始要求を受信したか否かを判定し、通信開始要求を受信したと判定されるまで待機する。   Thereafter, the process proceeds to step S41, where it is determined whether any of the wireless LAN I / F 36 or IEEE1394 I / F 37 that has been in a reception waiting state has received a communication start request from the HD recorder 13, and a communication start request is issued. Wait until it is determined that it has been received.

そして、ステップS41で、無線LAN I/F36またはIEEE1394 I/F37のいずれかが、HDレコーダ13からの通信開始要求を受信したと判定された場合、ステップS42に進み、機器間通信鍵が一致したか否かが判定される。   If it is determined in step S41 that either the wireless LAN I / F 36 or the IEEE1394 I / F 37 has received a communication start request from the HD recorder 13, the process proceeds to step S42, and the communication keys between devices match. It is determined whether or not.

ステップS42で、機器間通信鍵が一致しないと判定された場合、即ち、受信待ち状態に設定されている無線LAN I/F36またはIEEE1394 I/F37において受信されたコマンドがメモリ39に記憶されている機器間通信鍵で復号できなかった場合、ステップS43がスキップされ、接続処理が終了される。   If it is determined in step S42 that the communication keys between the devices do not match, that is, the command received by the wireless LAN I / F 36 or IEEE1394 I / F 37 set in the reception waiting state is stored in the memory 39. If decryption cannot be performed using the inter-device communication key, step S43 is skipped and the connection process is terminated.

一方、ステップS42で、機器間通信鍵が一致した場合、即ち、無線LAN I/F36またはIEEE1394 I/F37において受信されたコマンドを、メモリ39に記憶されている機器間通信鍵で復号することができ、その復号されたコマンドが、コンテンツデータのやりとりを行うための通信開始要求であった場合、ステップS43に進み、通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37は、通信開始要求を承認する要求承認をHDレコーダ13に送信する。続いて、通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37によるコンテンツデータの送信が行われる。   On the other hand, if the inter-device communication keys match in step S42, that is, the command received in the wireless LAN I / F 36 or IEEE1394 I / F 37 can be decrypted with the inter-device communication key stored in the memory 39. If the decrypted command is a communication start request for exchanging content data, the process proceeds to step S43, and the wireless LAN I / F 36 or IEEE1394 I / F 37 that has received the communication start request starts communication. A request approval for approving the request is transmitted to the HD recorder 13. Subsequently, content data is transmitted by the wireless LAN I / F 36 or IEEE1394 I / F 37 that has received the communication start request.

次に、図5のフローチャートを参照して、中継器12の接続処理について説明する。   Next, the connection process of the repeater 12 will be described with reference to the flowchart of FIG.

初めに、ステップS51において、NFC I/F53は、制御部54からの制御にしたがい、TV11に対してセッション鍵交換要求を送信し、ステップS52に進む。   First, in step S51, the NFC I / F 53 transmits a session key exchange request to the TV 11 according to the control from the control unit 54, and the process proceeds to step S52.

ステップS52において、NFC I/F53は、セッション鍵交換要求に応じてTV11から送信されてくるセッション鍵Aを受信し、受信したセッション鍵Aを再びTV11に送信し、セッション鍵AをTV11との間で交換する。ここで得られたセッション鍵Aは、制御部54に供給され、制御部54からさらに暗号化部51、復号部52、およびメモリ55に供給される。   In step S <b> 52, the NFC I / F 53 receives the session key A transmitted from the TV 11 in response to the session key exchange request, transmits the received session key A to the TV 11 again, and transmits the session key A to the TV 11. Replace with. The session key A obtained here is supplied to the control unit 54, and further supplied from the control unit 54 to the encryption unit 51, the decryption unit 52, and the memory 55.

ステップS53において、制御部54は、TV11に送信する通信機能情報要求を、セッション鍵Aとともに暗号化部51に供給し、セッション鍵Aで暗号化させる。暗号化部51は、供給された通信機能情報要求をセッション鍵Aで暗号化し、制御部54に供給して、ステップS54に進む。   In step S53, the control unit 54 supplies the communication function information request to be transmitted to the TV 11 to the encryption unit 51 together with the session key A, and encrypts the request with the session key A. The encryption unit 51 encrypts the supplied communication function information request with the session key A, supplies the request to the control unit 54, and proceeds to step S54.

ステップS54において、制御部54は、セッション鍵Aで暗号化された通信機能情報要求をNFC I/F53に供給する。NFC I/F53は、制御部54から供給された(セッション鍵Aで暗号化されている)通信機能情報要求をTV11に送信して、ステップS55に進む。   In step S54, the control unit 54 supplies the NFC I / F 53 with the communication function information request encrypted with the session key A. The NFC I / F 53 transmits the communication function information request (encrypted with the session key A) supplied from the control unit 54 to the TV 11 and proceeds to step S55.

その後、ステップS55において、NFC I/F53は、送信した通信機能情報要求に応じて、TV11から通信機能リストと機器間通信鍵が送信されてくるまで待機する。即ち、ステップS55では、NFC I/F53は、TV11から通信機能リストと機器間通信鍵を受信したか否かを判定し、通信機能リストと機器間通信鍵を受信したと判定された場合、ステップS56に進む。   Thereafter, in step S55, the NFC I / F 53 waits until the communication function list and the inter-device communication key are transmitted from the TV 11 in response to the transmitted communication function information request. That is, in step S55, the NFC I / F 53 determines whether or not the communication function list and the inter-device communication key are received from the TV 11, and if it is determined that the communication function list and the inter-device communication key are received, Proceed to S56.

ステップS56において、NFC I/F53は、受信した(セッション鍵Aで暗号化されている)通信機能リストと機器間通信鍵を制御部54に供給し、制御部54は、それを復号部52に供給して、復号させる。復号部52は、制御部54から供給された通信機能リストと機器間通信鍵をセッション鍵Aで復号し、ステップS57に進む。   In step S56, the NFC I / F 53 supplies the received communication function list (encrypted with the session key A) and the inter-device communication key to the control unit 54, and the control unit 54 sends them to the decryption unit 52. Supply and decrypt. The decryption unit 52 decrypts the communication function list and the inter-device communication key supplied from the control unit 54 with the session key A, and proceeds to step S57.

ステップS57において、制御部54は、復号部52で復号して得られた、TV11の通信機能リストと機器間通信鍵をメモリ55に供給し、記憶させる。   In step S <b> 57, the control unit 54 supplies the communication function list of the TV 11 and the device-to-device communication key obtained by decryption by the decryption unit 52 to the memory 55 and stores them.

ステップS58において、NFC I/F53は、制御部54からの制御にしたがい、HDレコーダ13に対してセッション鍵交換要求を送信し、ステップS59に進む。   In step S58, the NFC I / F 53 transmits a session key exchange request to the HD recorder 13 according to the control from the control unit 54, and proceeds to step S59.

ステップS59において、NFC I/F53は、セッション鍵交換要求に応じてHDレコーダ13から送信されてくるセッション鍵Bを受信し、受信したセッション鍵Bを再びHDレコーダ13に送信し、セッション鍵BをHDレコーダ13との間で交換する。ここで得られたセッション鍵Bも、制御部54に供給され、制御部54からさらに暗号化部51、復号部52、およびメモリ55に供給される。   In step S59, the NFC I / F 53 receives the session key B transmitted from the HD recorder 13 in response to the session key exchange request, and transmits the received session key B to the HD recorder 13 again. Exchange with HD recorder 13. The session key B obtained here is also supplied to the control unit 54, and further supplied from the control unit 54 to the encryption unit 51, the decryption unit 52, and the memory 55.

ステップS60において、制御部54は、メモリ55に記憶されているTV11の通信機能リストと機器間通信鍵を、セッション鍵Bとともに暗号化部51に供給し、セッション鍵Bで暗号化させる。暗号化部51は、供給された通信機能リストと機器間通信鍵をセッション鍵Bで暗号化し、制御部54に供給して、ステップS61に進む。   In step S <b> 60, the control unit 54 supplies the communication function list of the TV 11 and the inter-device communication key stored in the memory 55 to the encryption unit 51 together with the session key B, and encrypts them with the session key B. The encryption unit 51 encrypts the supplied communication function list and the inter-device communication key with the session key B, supplies the encrypted communication function list to the control unit 54, and proceeds to step S61.

ステップS61において、制御部54は、セッション鍵Bで暗号化された通信機能リストと機器間通信鍵をNFC I/F53に供給する。NFC I/F53は、制御部54から供給された(セッション鍵Bで暗号化されている)通信機能リストと機器間通信鍵をHDレコーダ13に送信して、ステップS62に進む。   In step S <b> 61, the control unit 54 supplies the communication function list encrypted with the session key B and the inter-device communication key to the NFC I / F 53. The NFC I / F 53 transmits the communication function list (encrypted with the session key B) and the inter-device communication key supplied from the control unit 54 to the HD recorder 13, and proceeds to step S62.

その後、ステップS62において、NFC I/F53は、送信した通信機能リストと機器間通信鍵に対する受信確認をHDレコーダ13から受信して、処理を終了する。   Thereafter, in step S62, the NFC I / F 53 receives a reception confirmation for the transmitted communication function list and the inter-device communication key from the HD recorder 13, and ends the process.

次に、図6のフローチャートを参照して、HDレコーダ13の接続処理について説明する。   Next, the connection process of the HD recorder 13 will be described with reference to the flowchart of FIG.

初めに、ステップS81において、NFC I/F75は、中継器12からセッション鍵交換要求を受信したか否かを判定し、セッション鍵交換要求を受信したと判定されるまで待機する。   First, in step S81, the NFC I / F 75 determines whether or not a session key exchange request has been received from the repeater 12, and waits until it is determined that a session key exchange request has been received.

ステップS81で、中継器12からセッション鍵交換要求を受信したと判定された場合、ステップS82に進み、NFC I/F75は、受信したセッション鍵交換要求を制御部78に供給する。また、ステップS82において、制御部78は、乱数発生部71を制御して乱数を発生させる。乱数発生部71は、セッション鍵Bとしての乱数を生成し、ステップS83に進む。   If it is determined in step S81 that the session key exchange request has been received from the repeater 12, the process proceeds to step S82, and the NFC I / F 75 supplies the received session key exchange request to the control unit 78. In step S82, the controller 78 controls the random number generator 71 to generate a random number. The random number generation unit 71 generates a random number as the session key B, and proceeds to step S83.

ステップS83において、NFC I/F75は、制御部78の制御にしたがい、セッション鍵Bを中継器12と交換する。そして、ステップS84に進み、NFC I/F75は、TV11の通信機能リストと機器間通信鍵を受信したか否かを判定し、TV11の通信機能リストと機器間通信鍵を受信したと判定されるまで待機する。ここで受信されるTV11の通信機能リストと機器間通信鍵は、ステップS83で交換されたセッション鍵Bで暗号化されている。   In step S <b> 83, the NFC I / F 75 exchanges the session key B with the relay device 12 under the control of the control unit 78. In step S84, the NFC I / F 75 determines whether the communication function list of the TV 11 and the communication key between devices have been received, and determines that the communication function list of the TV 11 and the communication key between devices have been received. Wait until. The TV 11 communication function list and inter-device communication key received here are encrypted with the session key B exchanged in step S83.

ステップS84で、中継器12から、TV11の通信機能リストと機器間通信鍵を受信したと判定された場合、ステップS85に進み、制御部78は、NFC I/F75から供給された(セッション鍵Bで暗号化されている)TV11の通信機能リストと機器間通信鍵を復号部73に供給する。復号部73は、暗号化されているTV11の通信機能リストと機器間通信鍵をセッション鍵Bで復号し、制御部78に供給して、ステップS86に進む。   If it is determined in step S84 that the communication function list of the TV 11 and the inter-device communication key have been received from the repeater 12, the process proceeds to step S85, and the control unit 78 is supplied from the NFC I / F 75 (session key B The communication function list of the TV 11 and the inter-device communication key (encrypted with the above) are supplied to the decryption unit 73. The decryption unit 73 decrypts the encrypted communication function list of the TV 11 and the inter-device communication key with the session key B, supplies them to the control unit 78, and proceeds to step S86.

ステップS86において、制御部78は、TV11の通信機能リストと機器間通信鍵をメモリ79に供給し、記憶させるとともに、TV11の通信機能リストと機器間通信鍵を受信したことを表す受信確認をNFC I/F75に送信させる。NFC I/F75は、制御部78の制御にしたがい、中継器12に受信確認を送信して、ステップS87に進む。   In step S86, the control unit 78 supplies the TV 11 communication function list and the device-to-device communication key to the memory 79 and stores them in the memory 79, and confirms the reception confirmation indicating that the TV 11 communication function list and the device-to-device communication key have been received. Send to I / F75. Under the control of the control unit 78, the NFC I / F 75 transmits a reception confirmation to the repeater 12, and proceeds to step S87.

ステップS87において、制御部38は、TV11の通信機能リストのなかから、適切な通信手段を選択する。ここで、TV11の通信機能リストには、上述したように、TV11のNFC I/F35に対応するNFC通信機能、無線LAN I/F36に対応する無線LAN通信機能、およびIEEE1394 I/F37に対応するIEEE1394通信機能をそれぞれ表すネットワークIDが含まれている。そこで、制御部38は、例えば、通信速度の最も速いIEEE1394通信機能を選択する。即ち、制御部38は、通信機能リストに基づいて、IEEE1394 I/F77を選択する。また例えば、制御部38は、TV11の通信機能リストにIEEE1394通信機能があったとしても、自分(HDレコーダ13)のIEEE1394 I/F77とケーブル接続されていない場合には、無線LAN通信機能を選択する。   In step S87, the control unit 38 selects an appropriate communication means from the communication function list of the TV 11. Here, the communication function list of the TV 11 corresponds to the NFC communication function corresponding to the NFC I / F 35 of the TV 11, the wireless LAN communication function corresponding to the wireless LAN I / F 36, and the IEEE1394 I / F 37 as described above. Includes network IDs representing each IEEE1394 communication function. Therefore, the control unit 38 selects, for example, the IEEE1394 communication function having the fastest communication speed. That is, the control unit 38 selects the IEEE1394 I / F 77 based on the communication function list. Also, for example, the control unit 38 selects the wireless LAN communication function when it is not connected to the IEEE1394 I / F 77 of its own (HD recorder 13) even if the communication function list of the TV 11 includes the IEEE1394 communication function. To do.

ステップS88において、制御部78は、通信開始要求を機器間通信鍵とともに暗号化部72に供給し、機器間通信鍵で暗号化させる。暗号化部72は、通信開始要求を機器間通信鍵で暗号化し、ステップS89に進む。   In step S88, the control unit 78 supplies the communication start request together with the inter-device communication key to the encryption unit 72, and encrypts it with the inter-device communication key. The encryption unit 72 encrypts the communication start request with the inter-device communication key, and proceeds to step S89.

ステップS89において、制御部38は、暗号化部72により暗号化された通信開始要求を選択した通信手段(ここでは、IEEE1394 I/F77が選択されたものとして以下説明する)に供給する。IEEE1394 I/F77は、機器間通信鍵で暗号化されている、通信開始要求をTV11に送信して、ステップS90に進む。   In step S89, the control unit 38 supplies the communication start request encrypted by the encryption unit 72 to the selected communication means (which will be described below assuming that the IEEE1394 I / F 77 is selected). The IEEE1394 I / F 77 transmits a communication start request encrypted with the device-to-device communication key to the TV 11, and proceeds to step S 90.

ステップS90において、通信開始要求を送信したIEEE1394 I/F77が、TV11からの要求承認を受信したか否かを判定し、要求承認を受信したと判定されるまで待機する。   In step S90, it is determined whether the IEEE1394 I / F 77 that has transmitted the communication start request has received the request approval from the TV 11, and waits until it is determined that the request approval has been received.

そして、ステップS90で、TV11からの要求承認を受信したと判定された場合、接続処理を終了する。続いて、TV11とHDレコーダ13との間で、ハードディスク74aに記録させるコンテンツデータの暗号化通信が行われる。   If it is determined in step S90 that the request approval from the TV 11 has been received, the connection process is terminated. Subsequently, encrypted communication of content data to be recorded on the hard disk 74a is performed between the TV 11 and the HD recorder 13.

以上のように、図3乃至図6を参照して説明したTV11、中継器12、およびHDレコーダ13の接続処理においては、イニシエータとしての中継器12がNFC通信によりTV11およびHDレコーダ13にセッション鍵の交換要求を送信し、TV11またはHDレコーダ13とそれぞれ、セッション鍵AまたはBを交換する。そして、それ以降、中継器12は、TV11またはHDレコーダ13との間で、セッション鍵AまたはBをそれぞれ用いた暗号化通信を行う。従って、中継器12とTV11またはHDレコーダ13との間で、セキュアな通信を行うことができる。   As described above, in the connection process of the TV 11, the repeater 12, and the HD recorder 13 described with reference to FIGS. 3 to 6, the repeater 12 as the initiator transmits a session key to the TV 11 and the HD recorder 13 by NFC communication. Is exchanged, and the session key A or B is exchanged with the TV 11 or the HD recorder 13, respectively. Thereafter, the repeater 12 performs encrypted communication with the TV 11 or the HD recorder 13 using the session key A or B, respectively. Therefore, secure communication can be performed between the repeater 12 and the TV 11 or the HD recorder 13.

そして、TV11は、セッション鍵Aを用いた暗号化通信により、TV11の通信機能リストと機器間通信鍵を中継器12に送信し、中継器12は、セッション鍵Bを用いた暗号化通信により、それをHDレコーダ13に送信する。HDレコーダ13は、TV11の通信機能リストと機器間通信鍵を中継器12から受信し、その通信機能リストのなかから最適な通信手段(通信機能)を選択する。そして、HDレコーダ13は、選択した通信手段により、機器間通信鍵で暗号化した通信開始要求をTV11に送信する。TV11は、通信開始要求が機器間通信鍵で復号できたか否かにより、機器間通信鍵がメモリ39に記憶しているものと一致することを確認して、HDレコーダ13を認証する。これにより、それ以降、TV11とHDレコーダ13との間で、機器間通信鍵を用いた暗号化通信が行うことができるようになり、所定のコンテンツデータをセキュアに送受信することができる。   Then, the TV 11 transmits the communication function list of the TV 11 and the inter-device communication key to the repeater 12 by encrypted communication using the session key A, and the repeater 12 performs the encrypted communication using the session key B by It is transmitted to the HD recorder 13. The HD recorder 13 receives the communication function list of the TV 11 and the inter-device communication key from the repeater 12, and selects the optimum communication means (communication function) from the communication function list. Then, the HD recorder 13 transmits a communication start request encrypted with the inter-device communication key to the TV 11 by the selected communication means. The TV 11 authenticates the HD recorder 13 by confirming that the inter-device communication key matches that stored in the memory 39 depending on whether the communication start request can be decrypted by the inter-device communication key. Thereby, encrypted communication using the inter-device communication key can be performed between the TV 11 and the HD recorder 13 thereafter, and predetermined content data can be securely transmitted and received.

上述した接続処理を、中継器12を操作(把持)するユーザの立場から見ると、ユーザは、最初に中継器12をTV11に近づけ、次に中継器12をHDレコーダ13に近づけるだけで、所定の(所望の)コンテンツデータがTV11からHDレコーダ13に送信されることになる。ユーザが中継器12を移動させるときの中継器12の移動方向はTV11からHDレコーダ13の方向となり、コンテンツデータが、TV11から、送信(転送)させるHDレコーダ13に流れる方向と同一である。従って、ユーザは、コンテンツデータを移動元から移動先に運ぶような直感的な操作を中継器12に対して行っているということができる。即ち、TV11、中継器12、およびHDレコーダ13が共通に有しているNFC通信機能を利用して、ユーザの直感的な操作で、セッション鍵A,B、機器間通信鍵、および通信機能リストの通信が可能となり、ユーザが、簡単に、TV11からHDレコーダ13へのコンテンツデータの送信(の設定)を行うことができる。   From the standpoint of the user who operates (holds) the repeater 12, the user can determine the predetermined value by simply bringing the repeater 12 close to the TV 11 and then bringing the repeater 12 close to the HD recorder 13. (Desired) content data is transmitted from the TV 11 to the HD recorder 13. The moving direction of the repeater 12 when the user moves the repeater 12 is the direction from the TV 11 to the HD recorder 13 and is the same as the direction in which the content data flows from the TV 11 to the HD recorder 13 to be transmitted (transferred). Accordingly, it can be said that the user is performing an intuitive operation on the repeater 12 to carry the content data from the movement source to the movement destination. That is, using the NFC communication function shared by the TV 11, the repeater 12, and the HD recorder 13, the session keys A and B, the inter-device communication keys, and the communication function list are intuitively operated by the user. Thus, the user can easily transmit (set) the content data from the TV 11 to the HD recorder 13.

なお、上述した接続処理では、HDレコーダ13がTV11の通信機能リストのなかから選択した通信手段で確実に認証される(要求承認が返信される)場合の例について説明したが、選択した通信手段で通信相手(TV11)が返信してこない場合も考えられる。そのような場合には、即ち、選択した通信手段で一定期間スキャンして、通信相手が見つからない場合には、次の通信手段を選択するようにすることができる。   In the connection process described above, an example has been described in which the HD recorder 13 is reliably authenticated by the communication means selected from the communication function list of the TV 11 (request approval is returned). The other party (TV 11) may not reply. In such a case, that is, when the selected communication means scans for a certain period and no communication partner is found, the next communication means can be selected.

また、上述した例では、TV11とHDレコーダ13との間でコンテンツデータがやりとりされるようになる前までの接続処理(認識処理)について説明したが、TV11からHDレコーダ13に何のコンテンツデータを送信するか、即ち、送信されるコンテンツデータの指定は、HDレコーダ13で行っても良いし、TV11で行っても良い。また、中継器12で行われるようにしてもよい。   In the example described above, connection processing (recognition processing) before content data is exchanged between the TV 11 and the HD recorder 13 has been described. However, what content data is transmitted from the TV 11 to the HD recorder 13. The transmission, that is, the designation of the content data to be transmitted may be performed by the HD recorder 13 or the TV 11. Further, it may be performed by the repeater 12.

次に、TV11、中継器12、およびHDレコーダ13のその他の接続処理について説明する。上述した例では、TV11が機器間通信鍵を生成して、その一致を確認したが、以下の例では、TV11は機器間通信鍵を生成せず、TV11と中継器12との間のNFC通信で使用されるセッション鍵AをHDレコーダ13に供給(送信)し、セッション鍵Aの一致を確認することにより、TV11がHDレコーダ13を認証する。   Next, other connection processing of the TV 11, the repeater 12, and the HD recorder 13 will be described. In the example described above, the TV 11 generates an inter-device communication key and confirms the match. However, in the following example, the TV 11 does not generate an inter-device communication key, and NFC communication between the TV 11 and the repeater 12 is performed. The TV 11 authenticates the HD recorder 13 by supplying (transmitting) the session key A used in the above to the HD recorder 13 and confirming that the session key A matches.

初めに、図7のフローチャートを参照して、TV11、中継器12、およびHDレコーダ13の接続処理(概要)を説明する。   First, the connection process (outline) of the TV 11, the repeater 12, and the HD recorder 13 will be described with reference to the flowchart of FIG.

初めに、ステップS101において、イニシエータとしての中継器12がTV11とのNFC通信を開始し、TV11と中継器12との間でセッション鍵Aを交換する。これ以降、TV11と中継器12との間では、セッション鍵Aによる暗号化通信が行われる。また、ここで得られたセッション鍵Aは、メモリ55に記憶される。   First, in step S <b> 101, the repeater 12 as an initiator starts NFC communication with the TV 11 and exchanges a session key A between the TV 11 and the repeater 12. Thereafter, encrypted communication using the session key A is performed between the TV 11 and the repeater 12. Further, the session key A obtained here is stored in the memory 55.

ステップS102において、TV11は、NFC通信において中継器12から送信されてきたコマンドに含まれる、中継器12を識別する機器IDをメモリ39に記憶させる。   In step S <b> 102, the TV 11 stores a device ID for identifying the repeater 12 included in the command transmitted from the repeater 12 in the NFC communication in the memory 39.

ステップS103において、中継器12は、TV11が有している通信手段(通信機能)についての情報を要求する通信機能情報要求を、セッション鍵Aで暗号化してTV11に送信する。   In step S <b> 103, the repeater 12 encrypts a communication function information request for requesting information about communication means (communication function) of the TV 11 with the session key A and transmits the request to the TV 11.

通信機能情報要求を受信したTV11は、ステップS104において、TV11の通信機能リストをセッション鍵Aで暗号化して中継器12に送信する。その後、ステップS105において、TV11は、無線LAN I/F36およびIEEE1394 I/F37を受信待ち状態にする。   The TV 11 that has received the communication function information request encrypts the communication function list of the TV 11 with the session key A and transmits it to the repeater 12 in step S104. Thereafter, in step S105, the TV 11 puts the wireless LAN I / F 36 and the IEEE1394 I / F 37 into a reception waiting state.

ステップS106において、中継器12は、TV11から送信されてきた通信機能リストと機器間通信鍵を受信し、メモリ55に記憶させる。   In step S <b> 106, the repeater 12 receives the communication function list and the inter-device communication key transmitted from the TV 11 and stores them in the memory 55.

その後、ステップS107において、中継器12は、HDレコーダ13とのNFC通信を開始し、中継器12とHDレコーダ13との間でセッション鍵Bを交換する。これ以降、中継器12とHDレコーダ13との間では、セッション鍵Bによる暗号化通信が行われる。   Thereafter, in step S107, the repeater 12 starts NFC communication with the HD recorder 13, and exchanges a session key B between the repeater 12 and the HD recorder 13. Thereafter, encrypted communication using the session key B is performed between the repeater 12 and the HD recorder 13.

ステップS108において、TV11は、NFC通信において中継器12から送信されてきたコマンドに含まれる、中継器12を識別する機器IDをメモリ79に記憶させる。   In step S <b> 108, the TV 11 stores a device ID for identifying the repeater 12 included in the command transmitted from the repeater 12 in the NFC communication in the memory 79.

ステップS109において、中継器12は、メモリ55に記憶しておいたTV11の通信機能リストとセッション鍵AをHDレコーダ13に送信する。HDレコーダ13は、ステップS110において、中継器12から送信されてくる、TV11の通信機能リストとセッション鍵Aを受信し、メモリ79に記憶させ、ステップS111に進み、受信した旨の受信確認を中継器12に送信する。   In step S <b> 109, the repeater 12 transmits the communication function list of the TV 11 and the session key A stored in the memory 55 to the HD recorder 13. In step S110, the HD recorder 13 receives the communication function list and session key A of the TV 11 transmitted from the repeater 12, stores them in the memory 79, proceeds to step S111, and relays the reception confirmation indicating that it has been received. To the device 12.

ステップS112において、HDレコーダ13は、受信した通信機能リストから適切な通信機能を選択する。例えば、HDレコーダ13は、無線LAN通信機能とIEEE1394通信機能の2つの通信機能が通信機能リストにある場合には、通信速度の速いIEEE1394通信機能を選択する。また、ここで得られたセッション鍵Aは、メモリ55に記憶される。   In step S112, the HD recorder 13 selects an appropriate communication function from the received communication function list. For example, when two communication functions of a wireless LAN communication function and an IEEE1394 communication function are in the communication function list, the HD recorder 13 selects the IEEE1394 communication function having a high communication speed. Further, the session key A obtained here is stored in the memory 55.

ステップS113において、HDレコーダ13は、コンテンツデータをTV11から送信してもらう(受信する)ための通信の開始を要求する通信開始要求として、中継器12の機器IDをセッション鍵Aで暗号化し、ステップS114に進み、それを、選択した通信手段(IEEE1394 I/F77)によりTV11に送信する。なお、図7における太線の矢印は、NFC通信以外の選択された通信手段による通信を表している。   In step S113, the HD recorder 13 encrypts the device ID of the repeater 12 with the session key A as a communication start request for requesting the start of communication for receiving (receiving) the content data from the TV 11, and the step Proceeding to S114, it is transmitted to the TV 11 by the selected communication means (IEEE1394 I / F77). In addition, the thick line arrow in FIG. 7 represents the communication by the selected communication means other than NFC communication.

ステップS115において、TV11は、セッション鍵Aが一致したか否か、即ち、受信待ち状態に設定されている無線LAN I/F36またはIEEE1394 I/F37において所定のコマンドを受信し、その受信されたコマンドがメモリ39に記憶されているセッション鍵Aで復号できたか否かを判定する。また、ステップS115では、セッション鍵Aで受信されたコマンドが復号できた場合、復号して得られる中継器12の機器IDがメモリ39に記憶されている中継器12の機器IDと一致するかも判定される。   In step S115, the TV 11 receives a predetermined command in the wireless LAN I / F 36 or the IEEE1394 I / F 37 set in the reception waiting state whether or not the session key A matches, and the received command Is decrypted with the session key A stored in the memory 39. In step S115, if the command received with the session key A can be decrypted, it is also determined whether the device ID of the repeater 12 obtained by decryption matches the device ID of the repeater 12 stored in the memory 39. Is done.

ステップS115で、セッション鍵Aが一致しなかった場合、即ち、無線LAN I/F36またはIEEE1394 I/F37においてコマンドが受信されたが、メモリ39に記憶されているセッション鍵Aで受信されたコマンドを復号することができず、受信されたコマンドを認識することができなかった場合、TV11では、何らの処理もおこなわれない。   In step S115, if the session key A does not match, that is, the command received by the wireless LAN I / F 36 or IEEE1394 I / F 37, the command received by the session key A stored in the memory 39 is If the decoding cannot be performed and the received command cannot be recognized, the TV 11 does not perform any processing.

一方、ステップS115で、セッション鍵Aが一致した場合、即ち、無線LAN I/F36またはIEEE1394 I/F37において受信されたコマンドをセッション鍵Aで復号することができ、かつ、その復号されたコマンドが、メモリ39に記憶してある中継器12の機器IDと一致した場合、ステップS116に進み、TV11は、通信開始要求を受信した通信手段(IEEE1394 I/F37)により、通信開始要求を承認する要求承認をHDレコーダ13に送信する。その後、通信開始要求を受信した通信手段によって、所定のコンテンツデータが(セッション鍵Aで暗号化されて)HDレコーダ13に送信される。   On the other hand, if the session key A matches in step S115, that is, the command received at the wireless LAN I / F 36 or IEEE1394 I / F 37 can be decrypted with the session key A, and the decrypted command is If the device ID of the repeater 12 stored in the memory 39 matches, the process proceeds to step S116, and the TV 11 requests the communication means (IEEE1394 I / F 37) that has received the communication start request to approve the communication start request. The approval is transmitted to the HD recorder 13. Thereafter, the predetermined content data (encrypted with the session key A) is transmitted to the HD recorder 13 by the communication means that has received the communication start request.

次に、図7の接続処理の詳細について、TV11、中継器12、およびHDレコーダ13ごとに、図8乃至図10を参照して説明する。   Next, details of the connection process in FIG. 7 will be described for each of the TV 11, the repeater 12, and the HD recorder 13 with reference to FIGS. 8 to 10.

図8は、TV11の接続処理を説明するフローチャートである。   FIG. 8 is a flowchart for explaining the connection process of the TV 11.

初めに、ステップS131において、NFC I/F35は、中継器12からセッション鍵交換要求を受信したか否かを判定し、セッション鍵交換要求を受信したと判定されるまで待機する。   First, in step S131, the NFC I / F 35 determines whether a session key exchange request has been received from the repeater 12, and waits until it is determined that a session key exchange request has been received.

ステップS131で、中継器12からセッション鍵交換要求を受信したと判定された場合、ステップS132に進み、NFC I/F35は、受信したセッション鍵交換要求を制御部38に供給する。また、ステップS132において、制御部38は、乱数発生部31を制御して乱数を発生させる。乱数発生部31は、セッション鍵Aとしての乱数を生成し、ステップS133に進む。   If it is determined in step S131 that a session key exchange request has been received from the repeater 12, the process proceeds to step S132, and the NFC I / F 35 supplies the received session key exchange request to the control unit 38. In step S132, the control unit 38 controls the random number generation unit 31 to generate a random number. The random number generation unit 31 generates a random number as the session key A, and the process proceeds to step S133.

ステップS133において、NFC I/F35は、制御部38の制御にしたがい、セッション鍵Aを中継器12と交換する。そして、ステップS134に進み、制御部38は、NFC通信において中継器12から送信されてきたコマンドに含まれる、中継器12を識別する機器IDをメモリ39に記憶させる。   In step S133, the NFC I / F 35 exchanges the session key A with the repeater 12 under the control of the control unit 38. In step S134, the control unit 38 causes the memory 39 to store the device ID for identifying the repeater 12 included in the command transmitted from the repeater 12 in the NFC communication.

ステップS135において、NFC I/F35は、TV11が有している通信手段についての情報を要求する通信機能情報要求を受信したか否かを判定し、通信機能要求を受信したと判定されるまで待機する。ここで受信される通信機能情報要求は、ステップS133で交換されたセッション鍵Aで暗号化されている。   In step S135, the NFC I / F 35 determines whether or not a communication function information request for requesting information about communication means possessed by the TV 11 has been received, and waits until it is determined that a communication function request has been received. To do. The communication function information request received here is encrypted with the session key A exchanged in step S133.

ステップS135で、中継器12から通信機能情報要求を受信したと判定された場合、ステップS136に進み、制御部38は、NFC I/F35から供給された(セッション鍵Aで暗号化されている)通信機能情報要求を復号部33に供給する。復号部33は、暗号化されている通信機能情報要求をセッション鍵Aで復号し、ステップS137に進む。   When it is determined in step S135 that the communication function information request has been received from the repeater 12, the process proceeds to step S136, and the control unit 38 is supplied from the NFC I / F 35 (encrypted with the session key A). The communication function information request is supplied to the decoding unit 33. The decryption unit 33 decrypts the encrypted communication function information request with the session key A, and the process proceeds to step S137.

ステップS137において、制御部38は、自身の通信機能リストを生成し、メモリ39に記憶させるとともに、その通信機能リストを、暗号化部32に供給し、セッション鍵Aで暗号化させる。暗号化部32は、通信機能リストをセッション鍵Aで暗号化し、ステップS138に進む。   In step S137, the control unit 38 generates its own communication function list, stores it in the memory 39, supplies the communication function list to the encryption unit 32, and encrypts it with the session key A. The encryption unit 32 encrypts the communication function list with the session key A, and the process proceeds to step S138.

ステップS138において、制御部38は、暗号化部32により暗号化された通信機能リストをNFC I/F35に供給する。NFC I/F35は、セッション鍵Aで暗号化されている、TV11の通信機能リストを中継器12に送信して、ステップS139に進む。   In step S138, the control unit 38 supplies the communication function list encrypted by the encryption unit 32 to the NFC I / F 35. The NFC I / F 35 transmits the communication function list of the TV 11 encrypted with the session key A to the repeater 12, and proceeds to step S139.

ステップS139において、制御部38は、無線LAN I/F36およびIEEE1394 I/F37の各通信手段を受信待ち状態にさせる(制御する)。   In step S139, the control unit 38 causes each communication unit of the wireless LAN I / F 36 and the IEEE1394 I / F 37 to be in a reception waiting state (control).

その後、ステップS140に進み、受信待ち状態となった無線LAN I/F36またはIEEE1394 I/F37のいずれかが、HDレコーダ13からの通信開始要求を受信したか否かを判定し、通信開始要求を受信したと判定されるまで待機する。   Thereafter, the process proceeds to step S140, where it is determined whether any of the wireless LAN I / F 36 or IEEE1394 I / F 37 that has been in a reception waiting state has received a communication start request from the HD recorder 13, and a communication start request is issued. Wait until it is determined that it has been received.

そして、ステップS140で、無線LAN I/F36またはIEEE1394 I/F37のいずれかが、HDレコーダ13からの通信開始要求を受信したと判定された場合、ステップS141に進み、セッション鍵Aが一致したか否かが判定される。   If it is determined in step S140 that either the wireless LAN I / F 36 or IEEE1394 I / F 37 has received a communication start request from the HD recorder 13, the process proceeds to step S141, and whether the session key A matches. It is determined whether or not.

ステップS141で、セッション鍵Aが一致しないと判定された場合、即ち、受信待ち状態に設定されている無線LAN I/F36またはIEEE1394 I/F37において受信されたコマンドがメモリ39に記憶されているセッション鍵Aで復号できなかった場合、ステップS142がスキップされ、接続処理が終了される。   If it is determined in step S141 that the session key A does not match, that is, the session in which the command received in the wireless LAN I / F 36 or IEEE1394 I / F 37 set in the reception waiting state is stored in the memory 39 is stored. If decryption is not possible with the key A, step S142 is skipped and the connection process is terminated.

一方、ステップS141で、セッション鍵Aが一致した場合、即ち、無線LAN I/F36またはIEEE1394 I/F37において受信されたコマンドを、メモリ39に記憶されているセッション鍵Aで復号することができ、その復号された通信開始要求としてのコマンドが、メモリ39に記憶してある中継器12の機器IDと一致した場合、ステップS142に進み、通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37が、通信開始要求を承認する要求承認をHDレコーダ13に送信する。続いて、通信開始要求を受信した無線LAN I/F36またはIEEE1394 I/F37によるコンテンツデータの送信が行われる。   On the other hand, if the session key A matches in step S141, that is, the command received at the wireless LAN I / F 36 or IEEE1394 I / F 37 can be decrypted with the session key A stored in the memory 39, When the decoded command as a communication start request matches the device ID of the repeater 12 stored in the memory 39, the process proceeds to step S142, and the wireless LAN I / F 36 or IEEE1394 I / F that has received the communication start request. F37 transmits a request approval for approving the communication start request to the HD recorder 13. Subsequently, content data is transmitted by the wireless LAN I / F 36 or IEEE1394 I / F 37 that has received the communication start request.

次に、図9のフローチャートを参照して、中継器12の接続処理について説明する。   Next, the connection process of the repeater 12 will be described with reference to the flowchart of FIG.

初めに、ステップS151において、NFC I/F53は、制御部54からの制御にしたがい、TV11に対してセッション鍵交換要求を送信し、ステップS152に進む。   First, in step S151, the NFC I / F 53 transmits a session key exchange request to the TV 11 according to the control from the control unit 54, and the process proceeds to step S152.

ステップS152において、NFC I/F53は、セッション鍵交換要求に応じてTV11から送信されてくるセッション鍵Aを受信し、受信したセッション鍵Aを再びTV11に送信し、セッション鍵AをTV11との間で交換する。ここで得られたセッション鍵Aは、制御部54に供給され、制御部54からさらに暗号化部51、復号部52、およびメモリ55に供給される。   In step S <b> 152, the NFC I / F 53 receives the session key A transmitted from the TV 11 in response to the session key exchange request, transmits the received session key A to the TV 11 again, and transmits the session key A to the TV 11. Replace with. The session key A obtained here is supplied to the control unit 54, and further supplied from the control unit 54 to the encryption unit 51, the decryption unit 52, and the memory 55.

ステップS153において、制御部54は、TV11に送信する通信機能情報要求を、セッション鍵Aとともに暗号化部51に供給し、セッション鍵Aで暗号化させる。暗号化部51は、供給された通信機能情報要求をセッション鍵Aで暗号化し、制御部54に供給して、ステップS154に進む。   In step S153, the control unit 54 supplies the communication function information request to be transmitted to the TV 11 to the encryption unit 51 together with the session key A, and encrypts the request with the session key A. The encryption unit 51 encrypts the supplied communication function information request with the session key A, supplies the request to the control unit 54, and proceeds to step S154.

ステップS154において、制御部54は、セッション鍵Aで暗号化された通信機能情報要求をNFC I/F53に供給する。NFC I/F53は、制御部54から供給された(セッション鍵Aで暗号化されている)通信機能情報要求をTV11に送信して、ステップS155に進む。   In step S154, the control unit 54 supplies the communication function information request encrypted with the session key A to the NFC I / F 53. The NFC I / F 53 transmits the communication function information request (encrypted with the session key A) supplied from the control unit 54 to the TV 11 and proceeds to step S155.

その後、ステップS155において、NFC I/F53は、送信した通信機能情報要求に応じて、TV11から通信機能リストが送信されてくるまで待機する。即ち、ステップS155では、NFC I/F53は、TV11から通信機能リストを受信したか否かを判定し、通信機能リストを受信したと判定された場合、ステップS156に進む。   Thereafter, in step S155, the NFC I / F 53 waits until a communication function list is transmitted from the TV 11 in response to the transmitted communication function information request. That is, in step S155, the NFC I / F 53 determines whether or not the communication function list has been received from the TV 11, and if it is determined that the communication function list has been received, the process proceeds to step S156.

ステップS156において、NFC I/F53は、受信した(セッション鍵Aで暗号化されている)通信機能リストを制御部54に供給し、制御部54は、それを復号部52に供給して、復号させる。復号部52は、制御部54から供給された通信機能リストをセッション鍵Aで復号し、ステップS157に進む。   In step S156, the NFC I / F 53 supplies the received communication function list (encrypted with the session key A) to the control unit 54, and the control unit 54 supplies it to the decryption unit 52 for decryption. Let The decryption unit 52 decrypts the communication function list supplied from the control unit 54 with the session key A, and the process proceeds to step S157.

ステップS157において、制御部54は、復号部52で復号して得られた、TV11の通信機能リストをメモリ55に供給し、記憶させる。   In step S157, the control unit 54 supplies the communication function list of the TV 11 obtained by decoding by the decoding unit 52 to the memory 55 and stores it.

ステップS158において、NFC I/F53は、制御部54からの制御にしたがい、HDレコーダ13に対してセッション鍵交換要求を送信し、ステップS159に進む。   In step S158, the NFC I / F 53 transmits a session key exchange request to the HD recorder 13 according to the control from the control unit 54, and proceeds to step S159.

ステップS159において、NFC I/F53は、セッション鍵交換要求に応じてHDレコーダ13から送信されてくるセッション鍵Bを受信し、受信したセッション鍵Bを再びHDレコーダ13に送信し、セッション鍵BをHDレコーダ13との間で交換する。ここで得られたセッション鍵Bも、制御部54に供給され、制御部54からさらに暗号化部51、復号部52、およびメモリ55に供給される。   In step S159, the NFC I / F 53 receives the session key B transmitted from the HD recorder 13 in response to the session key exchange request, transmits the received session key B to the HD recorder 13 again, and receives the session key B. Exchange with HD recorder 13. The session key B obtained here is also supplied to the control unit 54, and further supplied from the control unit 54 to the encryption unit 51, the decryption unit 52, and the memory 55.

ステップS160において、制御部54は、メモリ55に記憶されているTV11の通信機能リストとセッション鍵Aを、セッション鍵Bとともに暗号化部51に供給し、セッション鍵Bで暗号化させる。暗号化部51は、供給された通信機能リストとセッション鍵Aをセッション鍵Bで暗号化し、制御部54に供給して、ステップS161に進む。   In step S <b> 160, the control unit 54 supplies the communication function list of the TV 11 and the session key A stored in the memory 55 to the encryption unit 51 together with the session key B, and encrypts them with the session key B. The encryption unit 51 encrypts the supplied communication function list and the session key A with the session key B, supplies them to the control unit 54, and proceeds to step S161.

ステップS161において、制御部54は、セッション鍵Bで暗号化された通信機能リストとセッション鍵AをNFC I/F53に供給する。NFC I/F53は、制御部54から供給された(セッション鍵Bで暗号化されている)通信機能リストとセッション鍵AをHDレコーダ13に送信して、ステップS162に進む。   In step S161, the control unit 54 supplies the communication function list encrypted with the session key B and the session key A to the NFC I / F 53. The NFC I / F 53 transmits the communication function list (encrypted with the session key B) and the session key A supplied from the control unit 54 to the HD recorder 13, and proceeds to step S162.

その後、ステップS162において、NFC I/F53は、送信した通信機能リストとセッション鍵Aに対する受信確認をHDレコーダ13から受信して、処理を終了する。   Thereafter, in step S162, the NFC I / F 53 receives a reception confirmation for the transmitted communication function list and the session key A from the HD recorder 13, and ends the process.

次に、図10のフローチャートを参照して、HDレコーダ13の接続処理について説明する。   Next, the connection process of the HD recorder 13 will be described with reference to the flowchart of FIG.

初めに、ステップS181において、NFC I/F75は、中継器12からセッション鍵交換要求を受信したか否かを判定し、セッション鍵交換要求を受信したと判定されるまで待機する。   First, in step S181, the NFC I / F 75 determines whether or not a session key exchange request has been received from the repeater 12, and waits until it is determined that a session key exchange request has been received.

ステップS181で、中継器12からセッション鍵交換要求を受信したと判定された場合、ステップS182に進み、NFC I/F75は、受信したセッション鍵交換要求を制御部78に供給する。また、ステップS182において、制御部78は、乱数発生部71を制御して乱数を発生させる。乱数発生部71は、セッション鍵Bとしての乱数を生成し、ステップS183に進む。   If it is determined in step S181 that the session key exchange request has been received from the repeater 12, the process proceeds to step S182, and the NFC I / F 75 supplies the received session key exchange request to the control unit 78. In step S182, the control unit 78 controls the random number generation unit 71 to generate a random number. The random number generation unit 71 generates a random number as the session key B, and proceeds to step S183.

ステップS183において、NFC I/F75は、制御部78の制御にしたがい、セッション鍵Bを中継器12と交換する。そして、ステップS184に進み、制御部78は、NFC通信において中継器12から送信されてきたコマンドに含まれる、中継器12を識別する機器IDをメモリ79に記憶させる。   In step S 183, the NFC I / F 75 exchanges the session key B with the relay device 12 under the control of the control unit 78. In step S184, the control unit 78 causes the memory 79 to store the device ID for identifying the repeater 12 included in the command transmitted from the repeater 12 in the NFC communication.

そして、ステップS185に進み、NFC I/F75は、TV11の通信機能リストとセッション鍵Aを受信したか否かを判定し、TV11の通信機能リストとセッション鍵Aを受信したと判定されるまで待機する。ここで受信されるTV11の通信機能リストとセッション鍵Aは、ステップS183で交換されたセッション鍵Bで暗号化されている。   In step S185, the NFC I / F 75 determines whether the communication function list of the TV 11 and the session key A are received, and waits until it is determined that the communication function list of the TV 11 and the session key A are received. To do. The communication function list and session key A of the TV 11 received here are encrypted with the session key B exchanged in step S183.

ステップS185で、中継器12から、TV11の通信機能リストとセッション鍵Aを受信したと判定された場合、ステップS186に進み、制御部78は、NFC I/F75から供給された(セッション鍵Bで暗号化されている)TV11の通信機能リストとセッション鍵Aを復号部73に供給する。復号部73は、暗号化されているTV11の通信機能リストとセッション鍵Aをセッション鍵Bで復号し、制御部78に供給して、ステップS187に進む。   In step S185, when it is determined that the communication function list of TV 11 and the session key A are received from the repeater 12, the process proceeds to step S186, and the control unit 78 is supplied from the NFC I / F 75 (with the session key B). The communication function list of TV 11 and the session key A (encrypted) are supplied to the decryption unit 73. The decryption unit 73 decrypts the encrypted communication function list of the TV 11 and the session key A with the session key B, supplies them to the control unit 78, and proceeds to step S187.

ステップS187において、制御部78は、TV11の通信機能リストとセッション鍵Aをメモリ79に供給し、記憶させるとともに、TV11の通信機能リストとセッション鍵Aを受信したことを表す受信確認をNFC I/F75に送信させる。NFC I/F75は、制御部78の制御にしたがい、中継器12に受信確認を送信して、ステップS188に進む。   In step S187, the control unit 78 supplies the communication function list of the TV 11 and the session key A to the memory 79 and stores them in the memory 79, and receives a reception confirmation indicating that the communication function list of the TV 11 and the session key A have been received. Send to F75. Under the control of the control unit 78, the NFC I / F 75 transmits a reception confirmation to the repeater 12, and proceeds to step S188.

ステップS188において、制御部38は、TV11の通信機能リストのなかから、適切な通信手段を選択する。ここで、TV11の通信機能リストには、上述したように、TV11のNFC I/F35に対応するNFC通信機能、無線LAN I/F36に対応する無線LAN通信機能、およびIEEE1394 I/F37に対応するIEEE1394通信機能をそれぞれ表すネットワークIDが含まれている。そこで、制御部38は、例えば、通信速度の最も速いIEEE1394通信機能を選択する。即ち、制御部38は、通信機能リストに基づいて、IEEE1394 I/F77を選択する。また例えば、制御部38は、TV11の通信機能リストにIEEE1394通信機能があったとしても、自分(HDレコーダ13)のIEEE1394 I/F77とケーブル接続されていない場合には、無線LAN通信機能を選択する。   In step S188, the control unit 38 selects an appropriate communication means from the communication function list of the TV 11. Here, the communication function list of the TV 11 corresponds to the NFC communication function corresponding to the NFC I / F 35 of the TV 11, the wireless LAN communication function corresponding to the wireless LAN I / F 36, and the IEEE1394 I / F 37 as described above. Includes network IDs representing each IEEE1394 communication function. Therefore, the control unit 38 selects, for example, the IEEE1394 communication function having the fastest communication speed. That is, the control unit 38 selects the IEEE1394 I / F 77 based on the communication function list. Also, for example, the control unit 38 selects the wireless LAN communication function when it is not connected to the IEEE1394 I / F 77 of its own (HD recorder 13) even if the communication function list of the TV 11 includes the IEEE1394 communication function. To do.

ステップS189において、制御部78は、メモリ79に記憶されている中継器の機器IDを、セッション鍵Aとともに暗号化部72に供給し、セッション鍵Aで暗号化させる。暗号化部72は、中継器12の機器IDをセッション鍵Aで暗号化し、ステップS190に進む。   In step S189, the control unit 78 supplies the device ID of the repeater stored in the memory 79 to the encryption unit 72 together with the session key A, and encrypts it with the session key A. The encryption unit 72 encrypts the device ID of the repeater 12 with the session key A, and proceeds to step S190.

ステップS190において、制御部38は、暗号化部72により暗号化された中継器12の機器IDを、選択した通信手段(ここでは、IEEE1394 I/F77が選択されたものとして以下説明する)に供給する。IEEE1394 I/F77は、セッション鍵Aで暗号化されている中継器12の機器IDを、通信開始要求として、TV11に送信し、ステップS191に進む。   In step S190, the control unit 38 supplies the device ID of the repeater 12 encrypted by the encryption unit 72 to the selected communication means (which will be described below assuming that the IEEE1394 I / F 77 is selected). To do. The IEEE1394 I / F 77 transmits the device ID of the repeater 12 encrypted with the session key A to the TV 11 as a communication start request, and proceeds to step S191.

ステップS191において、通信開始要求を送信したIEEE1394 I/F77が、TV11からの要求承認を受信したか否かを判定し、要求承認を受信したと判定されるまで待機する。   In step S191, the IEEE1394 I / F 77 that has transmitted the communication start request determines whether or not the request approval from the TV 11 has been received, and waits until it is determined that the request approval has been received.

そして、ステップS191で、TV11からの要求承認を受信したと判定された場合、接続処理を終了する。続いて、TV11とHDレコーダ13との間で、ハードディスク74aに記録させるコンテンツデータの暗号化通信が行われる。   If it is determined in step S191 that the request approval from the TV 11 has been received, the connection process is terminated. Subsequently, encrypted communication of content data to be recorded on the hard disk 74a is performed between the TV 11 and the HD recorder 13.

以上のように、図7乃至図10を参照して説明したTV11、中継器12、およびHDレコーダ13の接続処理においては、イニシエータとしての中継器12がNFC通信によりTV11およびHDレコーダ13にセッション鍵の交換要求を送信し、TV11またはHDレコーダ13とそれぞれ、セッション鍵AまたはBを交換する。そして、それ以降、中継器12は、TV11またはHDレコーダ13との間で、セッション鍵AまたはBをそれぞれ用いた暗号化通信を行う。従って、中継器12とTV11またはHDレコーダ13との間で、セキュアな通信を行うことができる。   As described above, in the connection process of the TV 11, the repeater 12, and the HD recorder 13 described with reference to FIGS. 7 to 10, the repeater 12 as the initiator transmits a session key to the TV 11 and the HD recorder 13 by NFC communication. Is exchanged, and the session key A or B is exchanged with the TV 11 or the HD recorder 13, respectively. Thereafter, the repeater 12 performs encrypted communication with the TV 11 or the HD recorder 13 using the session key A or B, respectively. Therefore, secure communication can be performed between the repeater 12 and the TV 11 or the HD recorder 13.

そして、TV11は、セッション鍵Aを用いた暗号化通信により、TV11の通信機能リストを中継器12に送信し、中継器12は、セッション鍵Bを用いた暗号化通信により、TV11の通信機能リストとセッション鍵AをHDレコーダ13に送信する。HDレコーダ13は、TV11の通信機能リストとセッション鍵Aを中継器12から受信し、その通信機能リストのなかから最適な通信手段(通信機能)を選択する。そして、HDレコーダ13は、選択した通信手段により、セッション鍵Aで暗号化した中継器12の機器IDを通信開始要求としてTV11に送信する。TV11は、受信された通信開始要求がセッション鍵Aで復号できたか否かにより、セッション鍵Aが一致することを確認し、さらに、復号された通信開始要求としての機器IDがメモリ39に記憶している中継器12の機器IDと一致することを確認して、HDレコーダ13を認証する。これにより、それ以降、TV11とHDレコーダ13との間で、セッション鍵Aを用いた暗号化通信が行うことができるようになり、所定のコンテンツデータをセキュアに送受信することができる。なお、図3乃至図6を参照して説明した接続処理と同様に、TV11は、セッション鍵Aが一致することのみでHDレコーダ13を認証するようにしてもよい。   The TV 11 transmits the communication function list of the TV 11 to the repeater 12 by encrypted communication using the session key A, and the repeater 12 transmits the communication function list of the TV 11 by encrypted communication using the session key B. And the session key A are transmitted to the HD recorder 13. The HD recorder 13 receives the communication function list of the TV 11 and the session key A from the repeater 12, and selects the optimum communication means (communication function) from the communication function list. Then, the HD recorder 13 transmits the device ID of the repeater 12 encrypted with the session key A to the TV 11 as a communication start request by the selected communication means. The TV 11 confirms that the session key A matches according to whether or not the received communication start request can be decrypted with the session key A, and further stores the decrypted communication start request in the memory 39 as the device ID. The HD recorder 13 is authenticated by confirming that it matches the device ID of the repeater 12 being connected. Thereby, encrypted communication using the session key A can be performed between the TV 11 and the HD recorder 13 thereafter, and predetermined content data can be securely transmitted and received. Note that, similarly to the connection process described with reference to FIGS. 3 to 6, the TV 11 may authenticate the HD recorder 13 only by matching the session key A.

図7乃至図10に示した接続処理においても、図3乃至図6の接続処理における場合と同様に、ユーザの直感的な操作で、セッション鍵A,B、および通信機能リストの通信が可能となり、ユーザが、簡単に、TV11からHDレコーダ13へのコンテンツデータの送信(の設定)を行うことができる。   In the connection process shown in FIGS. 7 to 10, session keys A and B and the communication function list can be communicated by a user's intuitive operation, as in the connection process of FIGS. The user can easily transmit (set) the content data from the TV 11 to the HD recorder 13.

また、TV11やHDレコーダ13が複数ある通信手段のうちの、どの通信手段を使用してコンテンツデータを移動させる(送受信する)かの設定について、従来は、リモートコマンダ等により出力端子(入力端子)の設定の操作を行う必要があったが、本実施の形態によれば、HDレコーダ13が最適な(最も性能の良い)通信機能を選択することができるので、ユーザはより簡単な操作で、TV11からHDレコーダ13へのコンテンツデータの移動をさせることができる。   Further, regarding the setting of which communication means is used to move (transmit / receive) content data among communication means having a plurality of TVs 11 and HD recorders 13, conventionally, an output terminal (input terminal) by a remote commander or the like. However, according to the present embodiment, since the HD recorder 13 can select the optimal (best performance) communication function, the user can perform a simpler operation. Content data can be moved from the TV 11 to the HD recorder 13.

また、本実施の形態では、TV11およびHDレコーダ13がNFC通信機能以外に備える通信機能として、無線LAN通信機能とIEEE1394通信機能の2つの通信機能を有している例について説明したが、TV11またはHDレコーダ13は、有線によるLAN(Ethernet(登録商標))やBluetoothなど、その他の通信機能であってもよい。   In the present embodiment, an example in which the TV 11 and the HD recorder 13 have two communication functions of a wireless LAN communication function and an IEEE1394 communication function as communication functions provided in addition to the NFC communication function has been described. The HD recorder 13 may be another communication function such as a wired LAN (Ethernet (registered trademark)) or Bluetooth.

さらに、本実施の形態では、コンテンツデータの移動元としてのTV11が、コンテンツデータの移動先であるHDレコーダ13に送信する例について説明したが、コンテンツデータの移動元および移動先の装置としては、上述したTV11、HDレコーダ13、およびVTR14に限らない。例えば、コンテンツデータの移動元の装置として、放送番組を受信するチューナ、コンテンツデータの移動先の装置として、チューナが内蔵されていない分離型のテレビジョン受像機などでもよい。また、移動元の装置と移動先の装置とでやりとりされるデータは、コンテンツデータに限定されず、その他のデータであってよい。   Furthermore, in the present embodiment, an example has been described in which the TV 11 as the content data movement source transmits to the HD recorder 13 that is the content data movement destination. However, as the content data movement source and movement destination devices, It is not limited to the TV 11, HD recorder 13, and VTR 14 described above. For example, a content data transfer source device may be a tuner that receives a broadcast program, and a content data transfer destination device may be a separate television receiver that does not have a built-in tuner. Further, data exchanged between the movement source device and the movement destination device is not limited to content data, and may be other data.

なお、本明細書において、フローチャートに記述されたステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the steps described in the flowcharts are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes performed in time series in the described order. It also includes processing.

また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。   Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

本発明を適用した通信システムの一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the communication system to which this invention is applied. TV11、中継器12、およびHDレコーダ13それぞれの詳細な構成例を示すブロック図である。It is a block diagram which shows the detailed structural example of TV11, the repeater 12, and the HD recorder 13, respectively. TV11、中継器12、およびHDレコーダ13の接続処理を説明するフローチャートである。It is a flowchart explaining the connection process of TV11, the repeater 12, and the HD recorder 13. FIG. TV11の接続処理を説明するフローチャートである。It is a flowchart explaining the connection process of TV11. 中継器12の接続処理を説明するフローチャートである。It is a flowchart explaining the connection process of the repeater. HDレコーダ13の接続処理を説明するフローチャートである。4 is a flowchart for explaining a connection process of the HD recorder 13. TV11、中継器12、およびHDレコーダ13のその他の接続処理を説明するフローチャートである。It is a flowchart explaining the other connection processing of TV11, the repeater 12, and the HD recorder 13. TV11のその他の接続処理を説明するフローチャートである。It is a flowchart explaining the other connection process of TV11. 中継器12のその他の接続処理を説明するフローチャートである。10 is a flowchart illustrating other connection processing of the repeater 12. HDレコーダ13のその他の接続処理を説明するフローチャートである。It is a flowchart explaining the other connection processing of the HD recorder.

符号の説明Explanation of symbols

1 通信システム, 11 テレビジョン受像機(TV), 12 中継器, 13 ハードディスク(HD)レコーダ, 14 ビデオテープレコーダ(VTR), 31 乱数発生部, 32 暗号化部, 33 復号部, 35 NFC I/F, 36 無線LAN I/F, 37 IEEE1394 I/F, 38 制御部, 39 メモリ, 51 暗号化部, 52 復号部, 53 NFC I/F, 54 制御部, 55 メモリ, 71 乱数発生部, 72 暗号化部, 73 復号部, 74 記録再生部, 74a ハードディスク, 75 NFC I/F, 76 無線LAN I/F, 77 IEEE1394 I/F, 78 制御部, 79 メモリ   DESCRIPTION OF SYMBOLS 1 Communication system, 11 Television receiver (TV), 12 Repeater, 13 Hard disk (HD) recorder, 14 Videotape recorder (VTR), 31 Random number generation part, 32 Encryption part, 33 Decryption part, 35 NFC I / F, 36 Wireless LAN I / F, 37 IEEE1394 I / F, 38 Control unit, 39 Memory, 51 Encryption unit, 52 Decryption unit, 53 NFC I / F, 54 Control unit, 55 Memory, 71 Random number generation unit, 72 Encryption unit, 73 Decryption unit, 74 Recording / playback unit, 74a Hard disk, 75 NFC I / F, 76 Wireless LAN I / F, 77 IEEE1394 I / F, 78 Control unit, 79 Memory

Claims (14)

第1および第2の通信装置と、前記第1と第2の通信装置それぞれと通信が可能な中継装置からなる通信システムにおいて、
前記第1の通信装置は、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する第1の暗号鍵生成手段と、
前記第1の暗号鍵を記憶する第1の記憶手段と、
前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、
前記所定の通信方式と異なる通信方式で前記第2の通信装置と暗号化通信を行う1以上の第2の通信手段と、
1以上の前記第2の通信手段を制御する制御手段と
を備え、
前記中継装置は、
前記第1の暗号鍵を用いて前記第1の通信装置と暗号化通信を行うとともに、前記第2の通信装置から供給される第2の暗号鍵で前記第2の通信装置と暗号化通信を行う第3の通信手段と、
前記第1および第2の暗号鍵を記憶する第2の記憶手段と
を備え、
前記第2の通信装置は、
前記中継装置と暗号化通信を行うための前記第2の暗号鍵を生成する第2の暗号鍵生成手段と、
前記第2の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第4の通信手段と、
前記所定の通信方式と異なる通信方式で前記第1の通信装置と暗号化通信を行う1以上の第5の通信手段と、
1以上の前記第5の通信手段のなかから、1つの通信手段を選択する選択手段と
を備え、
前記第3の通信手段は、前記第1の通信装置が有している通信機能についての情報を要求する通信機能情報要求を、前記第1の通信装置に送信し、
前記第1の通信手段は、前記通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、
前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、
前記第3の通信手段は、前記通信機能リストを前記第1の通信装置から受信するとともに、受信された前記通信機能リストを前記第2の通信装置に送信し、
前記第4の通信手段は、前記通信機能リストを前記中継装置から受信し、
前記選択手段は、受信された前記通信機能リストに基づいて、1以上の前記第2の通信手段と通信方式が一致する通信手段を、1以上の前記第5の通信手段のなかから1つ選択し、
選択された前記第5の通信手段は、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を前記第1の通信装置に送信し、
1以上の前記第2の通信手段のうちの、選択された前記第5の通信手段と通信方式が一致する前記第2の通信手段は、暗号化されている前記通信開始要求を前記第2の通信装置から受信し、
前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記第2の通信装置を認証する
を備える通信システム。
In a communication system comprising first and second communication devices and relay devices capable of communicating with the first and second communication devices,
The first communication device is:
First encryption key generation means for generating a first encryption key for performing encrypted communication with the relay device;
First storage means for storing the first encryption key;
First communication means for performing encrypted communication with the relay apparatus by a predetermined communication method using the first encryption key;
One or more second communication means for performing encrypted communication with the second communication device using a communication method different from the predetermined communication method;
Control means for controlling one or more of the second communication means,
The relay device is
Encrypted communication with the first communication device using the first encryption key, and encrypted communication with the second communication device using the second encryption key supplied from the second communication device. A third communication means for performing;
And second storage means for storing the first and second encryption keys,
The second communication device is:
Second encryption key generation means for generating the second encryption key for performing encrypted communication with the relay device;
Fourth communication means for performing encrypted communication with the relay apparatus using the second encryption key by the predetermined communication method;
One or more fifth communication means for performing encrypted communication with the first communication device in a communication method different from the predetermined communication method;
Selecting means for selecting one communication means from among the one or more fifth communication means;
The third communication means transmits a communication function information request for requesting information about the communication function of the first communication device to the first communication device,
The first communication means is a list that receives the communication function information request from the relay device and is a list in which one or more second communication means are indicated in response to the communication function information request. Send a function list to the relay device;
The control means controls all of the one or more second communication means to be in a reception waiting state,
The third communication unit receives the communication function list from the first communication device and transmits the received communication function list to the second communication device.
The fourth communication means receives the communication function list from the relay device;
The selection means selects one communication means whose communication method matches one or more second communication means based on the received communication function list from one or more fifth communication means. And
The selected fifth communication means transmits a communication start request for requesting the start of communication, encrypted with a predetermined encryption key, to the first communication device,
Of the one or more second communication means, the second communication means having a communication method that matches the selected fifth communication means sends the encrypted communication start request to the second communication means. Received from the communication device,
The control means further comprises: authenticating the second communication device based on whether or not the encrypted communication start request has been decrypted.
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置において、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、
前記第1の暗号鍵を記憶する記憶手段と、
前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、
前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、
1以上の前記第2の通信手段を制御する制御手段と
を備え、
前記第1の通信手段は、前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を前記中継装置から受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、
前記制御手段は、1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、
1以上の前記第2の通信手段のうちの、いずれか1つの前記第2の通信手段は、前記通信機能リストに基づいて前記他の通信装置が送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し、
前記制御手段は、さらに、暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する
通信装置。
In another communication device, a relay device that relays data for communicating with the other communication device, and a communication device that performs encrypted communication,
Encryption key generating means for generating a first encryption key for performing encrypted communication with the relay device;
Storage means for storing the first encryption key;
First communication means for performing encrypted communication with the relay apparatus by a predetermined communication method using the first encryption key;
One or more second communication means for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method;
Control means for controlling one or more of the second communication means,
The first communication means receives a communication function information request for requesting information about a communication function possessed by the communication apparatus from the relay apparatus, and responds to the communication function information request with one or more communication function information requests. A communication function list, which is a list in which each of the second communication means is indicated, is transmitted to the relay device;
The control means controls all of the one or more second communication means to be in a reception waiting state,
Of the one or more second communication means, any one of the second communication means is encrypted with a predetermined encryption key transmitted from the other communication device based on the communication function list. Receiving a communication start request requesting the start of communication,
The control device further authenticates the other communication device based on whether or not the encrypted communication start request has been decrypted.
前記通信開始要求は、前記他の通信装置が前記中継装置から受信した前記第1の暗号鍵で暗号化されており、
前記制御手段は、前記第1の暗号鍵で前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する
請求項2に記載の通信装置。
The communication start request is encrypted with the first encryption key received by the other communication device from the relay device,
The communication device according to claim 2, wherein the control unit authenticates the other communication device based on whether or not the communication start request has been decrypted with the first encryption key.
前記暗号鍵生成手段は、第2の暗号鍵も生成し、
前記記憶手段は、前記第2の暗号鍵も記憶し、
前記第1の通信手段は、前記第2の暗号鍵も前記中継装置に送信し、
前記通信開始要求は、前記他の通信装置が前記中継装置から受信した前記第2の暗号鍵で暗号化されており、
前記制御手段は、前記第2の暗号鍵で前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する
請求項2に記載の通信装置。
The encryption key generation means also generates a second encryption key,
The storage means also stores the second encryption key,
The first communication means also transmits the second encryption key to the relay device;
The communication start request is encrypted with the second encryption key received by the other communication device from the relay device,
The communication apparatus according to claim 2, wherein the control unit authenticates the other communication apparatus based on whether or not the communication start request can be decrypted with the second encryption key.
前記記憶手段は、前記中継装置との通信により取得された前記中継装置を識別するIDも記憶し、
前記いずれか1つの前記第2の通信手段は、前記通信開始要求として、前記IDを受信し、
前記制御手段は、さらに、受信された前記IDが前記記憶手段に記憶されている前記IDと一致するか否かも判定する
請求項2に記載の通信装置。
The storage means also stores an ID for identifying the relay device acquired by communication with the relay device,
The any one of the second communication means receives the ID as the communication start request,
The communication device according to claim 2, wherein the control unit further determines whether or not the received ID matches the ID stored in the storage unit.
前記所定の通信方式は、NFCIP-1 (Near Field Communication Interface and Protocol-1)に従った通信方式である
請求項2に記載の通信装置。
The communication apparatus according to claim 2, wherein the predetermined communication method is a communication method in accordance with NFCIP-1 (Near Field Communication Interface and Protocol-1).
前記所定の通信方式と異なる通信方式は、IEEE(The Institute of Electrical and Electronic Engineers)802.11aまたは802.11b、Bluetooth,Ethernet(登録商標)、またはIEEE1394に従った通信方式のいずれかである
請求項2に記載の通信装置。
The communication method different from the predetermined communication method is any one of IEEE (The Institute of Electrical and Electronic Engineers) 802.11a or 802.11b, Bluetooth, Ethernet (registered trademark), or IEEE1394 communication method. The communication apparatus as described in.
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を記憶する記憶手段と、前記第1の暗号鍵を用いて前記中継装置と所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段を制御する制御手段とを備える通信装置の通信方法において、
前記第1の通信手段において、前記中継装置から前記通信装置が有している通信機能についての情報を要求する通信機能情報要求を受信するとともに、前記通信機能情報要求に応答して、1以上の前記第2の通信手段それぞれが示されたリストである通信機能リストを前記中継装置に送信し、
1以上の前記第2の通信手段のすべてを受信待ち状態に制御し、
前記通信機能リストに基づいて前記他の通信装置が前記所定の通信方式と異なる通信方式で送信した、所定の暗号鍵で暗号化されている、通信の開始を要求する通信開始要求を受信し、
暗号化されている前記通信開始要求の復号ができたか否かで、前記他の通信装置を認証する
ステップを含む通信方法。
Performs encrypted communication processing with another communication device and a relay device that relays data for communication with the other communication device, and generates a first encryption key for performing encrypted communication with the relay device An encryption key generation unit that performs storage, a storage unit that stores the first encryption key, a first communication unit that performs encrypted communication with the relay apparatus using a first communication key using a predetermined communication method, A communication apparatus comprising one or more second communication means for performing encrypted communication with the other communication apparatus using a communication method different from the predetermined communication method, and a control means for controlling the one or more second communication means. In the communication method of
The first communication means receives a communication function information request for requesting information about a communication function possessed by the communication apparatus from the relay apparatus, and responds to the communication function information request with one or more communication function information requests. A communication function list, which is a list in which each of the second communication means is indicated, is transmitted to the relay device;
Controlling all of the one or more second communication means to be in a reception waiting state;
Receiving a communication start request for requesting the start of communication, which is encrypted with a predetermined encryption key, transmitted by the other communication device based on the communication function list, using a communication method different from the predetermined communication method;
A communication method including a step of authenticating the other communication device based on whether or not the encrypted communication start request has been decrypted.
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信する通信装置において、
前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、
前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段と、
前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、
1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段と
を備え、
前記第1の通信手段は、前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し、
前記選択手段は、受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し、
選択された前記第2の通信手段は、前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記他の通信装置に送信する
通信装置。
In another communication device, a relay device that relays data for communicating with the other communication device, and a communication device that performs encrypted communication,
Encryption key generating means for generating a first encryption key for performing encrypted communication with the relay device;
First communication means for performing encrypted communication with the relay device by the predetermined communication method using the first encryption key;
One or more second communication means for performing encrypted communication with the other communication device using a communication method different from the predetermined communication method;
Selecting means for selecting one communication means from among the one or more second communication means; and
The first communication means receives from the relay apparatus a communication function list and a second encryption key that are lists each of the communication means of the other communication apparatus.
The selection means selects one communication means whose communication method matches the communication means included in the received communication function list from one or more second communication means,
The selected second communication means transmits a communication start request for requesting the start of communication, which is encrypted with the second encryption key, to the other communication device.
前記第2の暗号鍵は、前記他の通信装置によって生成された暗号鍵である
請求項9に記載の通信装置。
The communication device according to claim 9, wherein the second encryption key is an encryption key generated by the other communication device.
前記第2の暗号鍵は、前記他の通信装置と前記中継装置が前記所定の通信方式で暗号化通信を行う場合に使用される暗号鍵である
請求項10に記載の通信装置。
The communication device according to claim 10, wherein the second encryption key is an encryption key used when the other communication device and the relay device perform encrypted communication using the predetermined communication method.
前記所定の通信方式は、NFCIP-1 (Near Field Communication Interface and Protocol-1)に従った通信方式である
請求項9に記載の通信装置。
The communication apparatus according to claim 9, wherein the predetermined communication method is a communication method in accordance with NFCIP-1 (Near Field Communication Interface and Protocol-1).
前記所定の通信方式と異なる通信方式は、IEEE(The Institute of Electrical and Electronic Engineers)802.11aまたは802.11b、Bluetooth、またはIEEE1394に従った通信方式のいずれかである
請求項9に記載の通信装置。
The communication device according to claim 9, wherein the communication method different from the predetermined communication method is any one of communication methods according to IEEE (The Institute of Electrical and Electronic Engineers) 802.11a or 802.11b, Bluetooth, or IEEE1394.
他の通信装置、および、前記他の通信装置と通信するためのデータを中継する中継装置と、暗号化通信処理を行い、前記中継装置と暗号化通信を行うための第1の暗号鍵を生成する暗号鍵生成手段と、前記第1の暗号鍵を用いて前記中継装置と前記所定の通信方式で暗号化通信を行う第1の通信手段と、前記所定の通信方式と異なる通信方式で前記他の通信装置と暗号化通信を行う1以上の第2の通信手段と、1以上の前記第2の通信手段のなかから、1つの通信手段を選択する選択手段とを備える通信装置の通信方法において、
前記他の通信装置が有している通信手段それぞれが示されたリストである通信機能リストと第2の暗号鍵を前記中継装置から受信し、
受信された前記通信機能リストに含まれる通信手段と通信方式が一致する通信手段を、1以上の前記第2の通信手段のなかから1つ選択し、
前記第2の暗号鍵で暗号化された、通信の開始を要求する通信開始要求を前記所定の通信方式と異なる通信方式で前記他の通信装置に送信する
ステップを含む通信方法。
Performs encrypted communication processing with another communication device and a relay device that relays data for communication with the other communication device, and generates a first encryption key for performing encrypted communication with the relay device An encryption key generating means for performing encrypted communication with the relay device using the first encryption key in the predetermined communication system, and the other in a communication system different from the predetermined communication system. In a communication method of a communication apparatus, comprising: one or more second communication means for performing encrypted communication with the communication apparatus; and a selection means for selecting one communication means from the one or more second communication means ,
Receiving a communication function list and a second encryption key from the relay device, each of which is a list indicating each communication means of the other communication device;
Selecting one communication means whose communication method matches the communication means included in the received communication function list from the one or more second communication means;
A communication method including a step of transmitting a communication start request for requesting the start of communication, encrypted with the second encryption key, to the other communication device using a communication method different from the predetermined communication method.
JP2005286141A 2005-09-30 2005-09-30 Communication system, communication equipment, and communication method Withdrawn JP2007097022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005286141A JP2007097022A (en) 2005-09-30 2005-09-30 Communication system, communication equipment, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005286141A JP2007097022A (en) 2005-09-30 2005-09-30 Communication system, communication equipment, and communication method

Publications (1)

Publication Number Publication Date
JP2007097022A true JP2007097022A (en) 2007-04-12

Family

ID=37982126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005286141A Withdrawn JP2007097022A (en) 2005-09-30 2005-09-30 Communication system, communication equipment, and communication method

Country Status (1)

Country Link
JP (1) JP2007097022A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100819844B1 (en) * 2006-10-31 2008-04-07 (주)아세아항측 Method for measuring national level control point using and visual information in geodetic surveying
JP2010537560A (en) * 2007-08-21 2010-12-02 ソニー株式会社 Short range registration method of audio video device for home system
CN101909336A (en) * 2009-06-03 2010-12-08 卡西欧计算机株式会社 Use different communication modes to communicate the wireless communication system of handing-over
JP2013520907A (en) * 2010-02-26 2013-06-06 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating electronic device
JP2013225824A (en) * 2012-04-23 2013-10-31 Toshiba Corp Electronic apparatus, radio connection control method, and radio connection control program
US8761118B2 (en) 2009-04-03 2014-06-24 Casio Computer Co., Ltd. Wireless communication system and wireless communication method to perform handover of communication using different communication systems
JP2014529210A (en) * 2011-07-25 2014-10-30 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating electronic device
CN105270286A (en) * 2014-06-23 2016-01-27 现代摩比斯株式会社 Vehicle control apparatus and mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100819844B1 (en) * 2006-10-31 2008-04-07 (주)아세아항측 Method for measuring national level control point using and visual information in geodetic surveying
JP2010537560A (en) * 2007-08-21 2010-12-02 ソニー株式会社 Short range registration method of audio video device for home system
US8819429B2 (en) 2007-08-21 2014-08-26 Sony Corporation Near field registration of home system audio-video device
US8761118B2 (en) 2009-04-03 2014-06-24 Casio Computer Co., Ltd. Wireless communication system and wireless communication method to perform handover of communication using different communication systems
US8315566B2 (en) 2009-06-03 2012-11-20 Casio Computer Co., Ltd. Wireless communication system for communication handover by using different communication modes
CN101909336A (en) * 2009-06-03 2010-12-08 卡西欧计算机株式会社 Use different communication modes to communicate the wireless communication system of handing-over
JP2013520907A (en) * 2010-02-26 2013-06-06 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating electronic device
US8942626B2 (en) 2010-02-26 2015-01-27 Lg Electronics Inc. Electronic device and method for operating an electronic device
US9544819B2 (en) 2010-02-26 2017-01-10 Lg Electronics Inc. Electronic device and method for operating an electronic device
US9826438B2 (en) 2010-02-26 2017-11-21 Lg Electronics Inc. Electronic device and method for operating an electronic device
JP2014529210A (en) * 2011-07-25 2014-10-30 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating electronic device
US9425861B2 (en) 2011-07-25 2016-08-23 Lg Electronics Inc. Electronic device and operating method thereof
JP2016189595A (en) * 2011-07-25 2016-11-04 エルジー エレクトロニクス インコーポレイティド Electronic apparatus and operation method of electronic apparatus
JP2013225824A (en) * 2012-04-23 2013-10-31 Toshiba Corp Electronic apparatus, radio connection control method, and radio connection control program
CN105270286A (en) * 2014-06-23 2016-01-27 现代摩比斯株式会社 Vehicle control apparatus and mobile terminal

Similar Documents

Publication Publication Date Title
US7719438B2 (en) System and method for universal remote control
US8060016B2 (en) Wireless communication method, and wireless communication apparatus and wireless communication system using the same
JP2007097022A (en) Communication system, communication equipment, and communication method
EP2725850A2 (en) Electronic apparatus and control method of system
US20060239236A1 (en) Wireless communication apparatus, communication system and method of configuring wireless communication therein
JP6776023B2 (en) Communication equipment, communication methods, and programs
US10659575B2 (en) Wireless communication apparatus and processing method thereby deciding a providing apparatus for providing a communication parameter for a wireless network
CN102387501A (en) Secure wireless link between two devices using probes
JP4561893B2 (en) Data transmitting apparatus, data receiving apparatus, data transmitting method and data receiving method
CN105471974A (en) Intelligent equipment capable of realizing remote control, terminal equipment and method
CN101523801A (en) UPnP authentication and authorization
JP2009239573A (en) Radio communication mediation apparatus, radio communication mediation program, and av system
CN110321085A (en) Printer
JP2011103658A (en) Electronic device, and network connection method of the same
US11868673B2 (en) Wireless device using a mirroring request for a screen sharing device
JP2009284076A (en) Wireless device, wireless control system, and wireless control method
JP2004214976A (en) Av data transmitting apparatus, av data receiving apparatus, av data wireless communication system, and electronic apparatus
KR20060054519A (en) Device, system and method for transmting contents at home network
US8898470B2 (en) Method and apparatus for performing security communication
WO2006061837A2 (en) A method and system for facilitating communication
JP2014011522A (en) Image display device
JP4586692B2 (en) Key sharing system, key sharing device, and key sharing method
JP2005244345A (en) Wireless communications system, wireless communication method, and wireless communications terminal
DK2599322T3 (en) Secure remote control for audio / video receiver / decoder
JP2011077640A (en) Radio transmission system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202