JP2008160214A - Communication terminal equipment and communication method - Google Patents

Communication terminal equipment and communication method Download PDF

Info

Publication number
JP2008160214A
JP2008160214A JP2006343481A JP2006343481A JP2008160214A JP 2008160214 A JP2008160214 A JP 2008160214A JP 2006343481 A JP2006343481 A JP 2006343481A JP 2006343481 A JP2006343481 A JP 2006343481A JP 2008160214 A JP2008160214 A JP 2008160214A
Authority
JP
Japan
Prior art keywords
communication
key
data
communication terminal
public key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006343481A
Other languages
Japanese (ja)
Inventor
Tsugumoto Kosugiyama
嗣基 小杉山
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2006343481A priority Critical patent/JP2008160214A/en
Publication of JP2008160214A publication Critical patent/JP2008160214A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide communication terminal equipment and a communication method for quickly executing data communication to be performed by radio. <P>SOLUTION: This communication method for establishing communication between communication terminal equipment which perform radio communication with each other includes: a step for generating a secret key by each terminal equipment; a step for generating a public key from the secret key by each terminal equipment; a step for exchanging the public key between the terminal equipment; a step for generating and displaying confirmation information by using the public key generated by each terminal equipment and the public key acquired from the other party; a step for generating a common key by using the secret key and the public key acquired from the other party by each terminal equipment; a step for generating an encryption key from a common key by each terminal equipment; a step for encrypting one part of the storage data of one terminal equipment by using the encryption key, and for transmitting the data to the other terminal equipment; a step for permitting the execution of the next step by receiving an instruction input; and a step for encrypting the residual storage data of one terminal equipment by using the encryption key, and for transmitting the data to the other terminal equipment. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、通信端末装置及び通信方法、詳しくは無線通信機能を有する通信端末装置と、この通信端末装置間の通信を確立する通信方法に関するものである。   The present invention relates to a communication terminal device and a communication method, and more particularly to a communication terminal device having a wireless communication function and a communication method for establishing communication between the communication terminal devices.

近年、無線によるデータ通信を行うための無線通信機能を具備する種々の通信端末装置が一般に普及している。このような通信端末装置同士間、もしくは同通信端末装置と外部装置との間で無線通信によるデータ交換を行うような場合には、通信内容を秘匿するために、暗号化されたデータの送受信を行うようにするのが一般である。   In recent years, various communication terminal devices having a wireless communication function for performing wireless data communication have become widespread. When exchanging data by wireless communication between such communication terminal devices or between the communication terminal device and an external device, transmission / reception of encrypted data is performed in order to conceal communication contents. It is common to do so.

このような無線データ通信において、暗号化通信を実現するための従来の無線通信規格の一つとして、ワイヤレスUSB(Wiress Univirsal Sireal Bus;以下、WUSBと略称する)規格というものがある。   In such wireless data communication, one of conventional wireless communication standards for realizing encrypted communication is a wireless USB (Wiress Universal Sireal Bus; hereinafter abbreviated as WUSB) standard.

このWUSB規格においては、パーソナルコンピュータ(以下、PCと略記する)等のホスト機器と、電子スチルカメラ(デジタルカメラともいう)等のデバイス機器との間で無線によるデータ通信の際に、通信する情報(データ)の漏洩を阻止し安全に通信を実現するための手順が規定されている。   In the WUSB standard, information communicated during wireless data communication between a host device such as a personal computer (hereinafter abbreviated as a PC) and a device device such as an electronic still camera (also referred to as a digital camera). A procedure for preventing leakage of (data) and realizing communication safely is defined.

即ち、WUSB規格に準拠した通信は、ホスト機器とデバイス機器との間で、まず通信データの暗号化及び復号化のための共通鍵CK(Connection Key)を交換し、その後、同CKから演算により導き出されるペア一時鍵PTK(Pairwise Temporal Key;暗号鍵ともいう)を用いてデータの暗号化を行い、この暗号化されたデータを送受信することで暗号化通信を実現するようになっている。   That is, in the communication conforming to the WUSB standard, a common key CK (Connection Key) for encryption and decryption of communication data is first exchanged between the host device and the device device, and thereafter, calculation is performed from the CK. Data is encrypted using the derived pair temporary key PTK (Pairwise Temporal Key; also referred to as an encryption key), and encrypted communication is realized by transmitting and receiving the encrypted data.

なお、上記WUSB規格による暗号化通信を行うには、その無線通信を行う手順の流れの中に、通信を確立するための手順として、データ通信を行おうとする両機器のそれぞれがその組み合わせで無線データ通信を行い得るか否かを判定するための認証作業が行われるのが通常である。   In addition, in order to perform encrypted communication based on the WUSB standard, each of the two devices that are to perform data communication is wirelessly combined with each other as a procedure for establishing communication in the flow of the wireless communication procedure. Usually, an authentication operation for determining whether or not data communication can be performed is performed.

ところが、上述のWUSB規格の暗号化通信の際に行われる認証作業には、使用者による確認操作手順を含んでいるため、その確認操作がなされるまでの間は、各機器は待機状態となることが強いられている。   However, since the authentication work performed in the above-described encrypted communication of the WUSB standard includes a confirmation operation procedure by the user, each device is in a standby state until the confirmation operation is performed. It is forced to be.

即ち、従来のWUSB規格によるデータ通信の流れの中において、確認操作のための待機時間が存在するということは、その後に行われるべきデータ通信自体も一時的に待機状態となってしまうことになる。このことは、近年、強く要望されている高速データ通信の実現を阻害する要因になってしまうという問題点がある。   That is, in the flow of data communication according to the conventional WUSB standard, the fact that there is a waiting time for the confirmation operation means that the data communication to be performed thereafter is also temporarily in a waiting state. . This has the problem of becoming a factor that hinders the realization of high-speed data communication that has been strongly demanded in recent years.

そこで、特定のホスト機器と特定のデバイス機器との間で認証作業を一度行い無線通信を確立した機器同士であれば、その無線通信接続のための通信設定情報としての認証情報を、各機器内部に設けられる不揮発性メモリー等に登録情報として記憶しておくように構成することが考えられる。このような構成とすることにより、同じ組合せのホスト機器とデバイス機器とで、再度、無線通信を行う場合、その二度目以降のデータ通信の際には、登録情報を参照することで認証情報の確認操作を省略することができるようになる。したがって、これによれば、より高速なデータ通信を実現することができる。   Therefore, if devices that have been authenticated once and established wireless communication between a specific host device and a specific device device, authentication information as communication setting information for the wireless communication connection is stored inside each device. It can be considered that the information is stored as registration information in a non-volatile memory or the like provided in the computer. By adopting such a configuration, when performing wireless communication again between the host device and the device device of the same combination, the authentication information is referred to by referring to the registration information in the second and subsequent data communication. The confirmation operation can be omitted. Therefore, according to this, higher-speed data communication can be realized.

しかしながら、無線通信を行う場合の用途や状況を考慮すると、通信相手毎に異なる認証情報等のデータを不揮発性メモリーに記憶させるような処理を必ず行うような構成は、必ずしも効率的なことではないと考えられる。   However, in consideration of the application and situation when performing wireless communication, a configuration that always performs processing such as storing data such as authentication information that differs for each communication partner in a nonvolatile memory is not always efficient. it is conceivable that.

例えば、デジタルカメラ同士の間において無線通信を行って、それぞれのデジタルカメラで撮影され記録媒体等に記録されている個人的な画像データファイル等をデータ交換するような場合には、一度限りの無線通信となる可能性が高いと考えられる。このような場合でも、その都度認証情報の記憶処理を行うとすると、不揮発性メモリーの浪費となり、その記憶容量を確保するためには、製造コストに影響を与えてしまうことにもなる。   For example, when performing wireless communication between digital cameras and exchanging data of personal image data files and the like that are shot with each digital camera and recorded on a recording medium or the like, wireless communication is performed only once. The possibility of communication is considered high. Even in such a case, if the authentication information is stored every time, the nonvolatile memory is wasted, and in order to secure the storage capacity, the manufacturing cost is affected.

一方、従来の機器においては、認証情報の確認操作を行う際には、例えば機器の表示画面上に、認証情報を表示すると共に、その認証情報が通信対象の機器と一致するものであるか否か等の確認を促すメッセージ等を文字等によって表示するようにしたものがある。しかし、その認証情報の確認画面に工夫がなく、例えば文字表示のみであれば、使用者にとっては、わかり難い表示になったり、興味を惹かない表示になってしまう。   On the other hand, in the conventional device, when the authentication information confirmation operation is performed, for example, the authentication information is displayed on the display screen of the device, and whether or not the authentication information matches the communication target device. There is a message in which a message or the like for prompting confirmation is displayed with characters or the like. However, the authentication information confirmation screen is not devised, and for example, if only the character display is used, the display becomes incomprehensible to the user or not interesting.

他方、上述したような無線通信機能を備えた各種の無線機器が広く普及したとしても、ある特定の無線機器の周辺において、他の同様の無線機器が日常的に稼動され、頻繁に認証のための通信が行われるような場合は、稀なことかと考えられる。したがって、このことは、例えば従来の手順に従う無線通信を行う場合の認証確認画面では、常に表示画像の指示を承諾する旨の「OK」を選択指示することになると考えられる。   On the other hand, even if various wireless devices having the wireless communication function as described above are widely spread, other similar wireless devices are operated on a daily basis in the vicinity of a specific wireless device, and are frequently used for authentication. It is thought that this is rare when such communication is performed. Therefore, for example, it is considered that “OK” for always accepting the instruction of the display image is selected and instructed on the authentication confirmation screen when performing wireless communication according to the conventional procedure.

さらに、上述したような通信状況、即ちカメラ同士の無線通信であって、個人的な画像データファイルを交換するような状況下等、場合によっては、通信内容を秘匿する必然性が低く、高いセキュリティレベルが要求されないような通信が行われることも多くなると考えられる。   Furthermore, in some cases, such as the above-described communication situation, that is, wireless communication between cameras, where personal image data files are exchanged, etc., the necessity of concealing the communication content is low, and the security level is high. It is thought that communication that does not require is often performed.

本発明は、上述した諸点に鑑みてなされたものであって、その目的とするところは、無線を用いて行うデータ通信をより高速に実行し得るようにした通信端末装置及び通信方法を提供するものである。   The present invention has been made in view of the above-described points, and an object of the present invention is to provide a communication terminal device and a communication method capable of performing data communication performed using radio at higher speed. Is.

上記目的を達成するために、本発明による通信方法は、相互に無線で通信する第1の通信端末装置と第2の通信端末装置との間の通信を確立する通信方法であって、それぞれの通信端末装置で秘密キーを生成する秘密キー生成ステップと、それぞれの通信端末装置で上記秘密キーから公開キーを生成する公開キー生成ステップと、上記第1の通信端末装置と上記第2の通信端末装置との間で上記公開キーを交換する公開キー交換ステップと、それぞれの通信端末装置で上記公開キー生成ステップで生成した公開キーと上記公開キー交換ステップで取得した公開キーとに基づいて確認情報を生成し表示する確認情報表示ステップと、それぞれの通信端末装置で上記秘密キーと上記公開キー交換ステップで取得した公開キーとにより共通キーを生成する共通キー生成ステップと、それぞれの通信端末装置で上記共通キーから暗号キーを生成する暗号キー生成ステップと、上記第1の通信端末装置に記憶されているデータの一部を上記暗号キーで暗号化して上記第2の通信端末装置に送信する第1の送信ステップと、使用者により入力された指示入力を受けて次の第2の送信ステップの実行を許可する許可ステップと、上記第1の通信端末装置に記憶されているデータの残りのデータを上記暗号キーで暗号化して上記第2の通信端末装置に送信する第2の送信ステップと、を実行することを特徴とする。   In order to achieve the above object, a communication method according to the present invention is a communication method for establishing communication between a first communication terminal apparatus and a second communication terminal apparatus that communicate with each other wirelessly. A secret key generating step for generating a secret key in the communication terminal device; a public key generating step for generating a public key from the secret key in each communication terminal device; the first communication terminal device and the second communication terminal; Confirmation information based on the public key exchange step for exchanging the public key with the device, the public key generated in the public key generation step in each communication terminal device, and the public key acquired in the public key exchange step A common key is generated by the confirmation information display step for generating and displaying the password, and the public key acquired in the public key exchange step and the secret key in each communication terminal device. A common key generation step, an encryption key generation step for generating an encryption key from the common key in each communication terminal device, and a part of data stored in the first communication terminal device is encrypted with the encryption key. A first transmission step for transmitting to the second communication terminal device, a permission step for allowing execution of the next second transmission step in response to an instruction input input by a user, and the first Performing a second transmission step of encrypting the remaining data stored in the communication terminal device with the encryption key and transmitting the encrypted data to the second communication terminal device.

また、本発明による通信端末装置は、通信機能を有する通信端末装置であって、外部装置との間でデータを送受信する通信手段と、上記外部装置に送信すべき情報を記憶する記憶手段と、秘密キーを生成する秘密キー生成手段と、上記秘密キーに基づいて第1の公開キーを生成する公開キー生成手段と、上記通信手段を介して上記外部装置に上記第1の公開キーを送信すると共に、上記通信手段を介して上記外部装置から第2の公開キーを受信する公開キー交換手段と、上記第1の公開キーと上記第2の公開キーとから確認情報を生成する確認情報生成手段と、上記確認情報を使用者に提示する確認情報提示手段と、使用者の指示操作を入力する操作入力手段と、上記秘密キーと上記第2の公開キーとから共通キーを生成する共通キー生成手段と、上記共通キーからデータを暗号化するための暗号キーを生成する暗号キー生成手段と、上記暗号キーでデータの暗号化処理を行う暗号化手段と、を具備し、上記暗号化手段は、上記記憶手段に記憶されているデータうち送信すべきデータの一部を暗号化処理して上記通信手段を介して送信すると共に、上記確認情報提示手段により使用者に提示された確認情報についての承認入力が上記操作入力手段から指示操作された場合には、上記送信すべきデータの残りのデータを上記暗号キーを用いて暗号化処理して上記通信手段を介して送信することを特徴とする。   The communication terminal device according to the present invention is a communication terminal device having a communication function, a communication means for transmitting / receiving data to / from an external device, a storage means for storing information to be transmitted to the external device, A secret key generating means for generating a secret key; a public key generating means for generating a first public key based on the secret key; and transmitting the first public key to the external device via the communication means. And a public key exchanging means for receiving a second public key from the external device via the communication means, and a confirmation information generating means for generating confirmation information from the first public key and the second public key. A confirmation information presenting means for presenting the confirmation information to the user, an operation input means for inputting the user's instruction operation, and a common key generation for generating a common key from the secret key and the second public key hand And an encryption key generating means for generating an encryption key for encrypting data from the common key, and an encryption means for encrypting data with the encryption key, and the encryption means comprises: A part of the data to be transmitted among the data stored in the storage means is encrypted and transmitted through the communication means, and the confirmation information presented to the user by the confirmation information presentation means is approved. When the input is instructed from the operation input means, the remaining data of the data to be transmitted is encrypted using the encryption key and transmitted via the communication means.

本発明によれば、無線を用いて行うデータ通信をより高速に実行し得るようにした通信端末装置及び通信方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the communication terminal device and communication method which can perform the data communication performed using a radio | wireless at higher speed can be provided.

以下、図示の実施の形態によって本発明を説明する。   The present invention will be described below with reference to the illustrated embodiments.

図1は、本発明の一実施形態の通信端末装置(デジタルカメラ)の内部概略構成を示すブロック構成図である。図2は、図1の通信端末装置における鍵生成部の内部詳細構成を示す要部ブロック構成図である。図3は、本発明の一実施形態の通信方法を示すフローチャートである。図4,図5は、図1の通信端末装置における認証情報確認画面の表示の例をそれぞれ示す図であって、図4は、一つの画像データファイルの転送を行った場合の認証情報確認画面の表示例であり、図5は、複数の画像データファイルの転送を行った場合の認証情報確認画面の表示例である。図6は、本実施形態の通信端末装置において、無線通信による画像データの転送を行う際の画像転送モードの変更処理のための処理シーケンスを示すフローチャートである。図7は、本実施形態の通信端末装置において、認証情報を不揮発性メモリーに記憶する際の処理シーケンスを示すフローチャートである。   FIG. 1 is a block configuration diagram showing an internal schematic configuration of a communication terminal device (digital camera) according to an embodiment of the present invention. FIG. 2 is a principal block configuration diagram showing an internal detailed configuration of the key generation unit in the communication terminal apparatus of FIG. FIG. 3 is a flowchart illustrating a communication method according to an embodiment of the present invention. 4 and 5 are diagrams respectively showing examples of display of the authentication information confirmation screen in the communication terminal device of FIG. 1, and FIG. 4 is an authentication information confirmation screen when one image data file is transferred. FIG. 5 is a display example of an authentication information confirmation screen when a plurality of image data files are transferred. FIG. 6 is a flowchart showing a processing sequence for changing the image transfer mode when transferring image data by wireless communication in the communication terminal device of this embodiment. FIG. 7 is a flowchart showing a processing sequence when storing authentication information in the nonvolatile memory in the communication terminal device of the present embodiment.

本実施形態の通信端末装置は、例えば光学レンズ等によって形成される被写体像を受光して、これを撮像素子等によって光電変換して電気的な画像信号を取得し、これを画像データとして記録媒体等に記録する撮影手段を具備し、かつ外部装置(例えばパーソナルコンピュータや外部ストレージ装置,デジタルカメラ等の他の通信端末装置)との間で無線通信を行う無線通信機能を具備するデジタルカメラである。なお、本実施形態のデジタルカメラにおいては、基本的にワイヤレスUSB規格(WUSB規格)に準拠した無線通信機能を備えているものとする。   The communication terminal device according to the present embodiment receives a subject image formed by an optical lens, for example, and photoelectrically converts the subject image by an image sensor or the like to obtain an electrical image signal, which is recorded as image data. A digital camera having a wireless communication function for performing wireless communication with an external device (for example, a personal computer, an external storage device, or another communication terminal device such as a digital camera). . Note that the digital camera of the present embodiment basically has a wireless communication function compliant with the wireless USB standard (WUSB standard).

本実施形態においては、通信端末装置であり第1の端末装置であるデジタルカメラ1をデバイス機器とする一方、このデバイス機器としてのデジタルカメラ1との間で無線によるデータ通信を行う相手側の通信端末装置であり第2の端末装置であるホスト機器として、例えば図1に示すようなパーソナルコンピュータ(以下、PCと略称する)2等を例示することができる。また、無線通信相手であるホスト機器としては、上記PC2以外にも、例えば通信機能を有する別のデジタルカメラや外部ストレージ装置等としてもよい。   In the present embodiment, the digital camera 1 that is a communication terminal device and the first terminal device is used as a device device, and communication on the other side that performs wireless data communication with the digital camera 1 as the device device. As a host device that is a terminal device and a second terminal device, for example, a personal computer (hereinafter abbreviated as a PC) 2 as shown in FIG. 1 can be exemplified. In addition to the PC 2, the host device that is the wireless communication partner may be another digital camera or an external storage device having a communication function, for example.

図1に示すように、本実施形態の通信端末装置としてのデジタルカメラ1は、CPU10と、バスコントローラ20と、撮像部11と、画像処理部12と、一時メモリー13と、表示部14と、記録媒体15と、有線通信部16と、無線通信部17と、暗号化復号化処理部18と、不揮発性メモリー21と、操作入力部22と、RTC(内部時計)23と、鍵生成部30等によって主に構成されている。   As shown in FIG. 1, a digital camera 1 as a communication terminal device according to the present embodiment includes a CPU 10, a bus controller 20, an imaging unit 11, an image processing unit 12, a temporary memory 13, a display unit 14, Recording medium 15, wired communication unit 16, wireless communication unit 17, encryption / decryption processing unit 18, nonvolatile memory 21, operation input unit 22, RTC (internal clock) 23, and key generation unit 30 Etc. are mainly composed.

CPU10は、本デジタルカメラ1における各回路等を電気的に統括制御して当該デジタルカメラ1のシステム全体を適宜制御するための制御手段である。このCPU10には、不揮発性メモリー21,操作入力部22,鍵生成部30,RTC13等が電気的にそれぞれ接続されていると共に、バスコントローラ20を介して撮像部11,画像処理部12,一時メモリー13,表示部14,記録媒体15,有線通信部16,無線通信部17,暗号化復号化処理部18等の各種回路が電気的に接続されている。   The CPU 10 is a control means for electrically controlling and controlling each circuit in the digital camera 1 and appropriately controlling the entire system of the digital camera 1. The CPU 10 is electrically connected to a non-volatile memory 21, an operation input unit 22, a key generation unit 30, an RTC 13 and the like, and also has an image pickup unit 11, an image processing unit 12, and a temporary memory via a bus controller 20. 13, various circuits such as a display unit 14, a recording medium 15, a wired communication unit 16, a wireless communication unit 17, and an encryption / decryption processing unit 18 are electrically connected.

撮像部11は、光学レンズ等によって形成される被写体像を電気的な画像信号として取得するための撮影手段である。この撮像部11は、例えば光学的な被写体像を形成する光学レンズ、この光学レンズで形成される光学的な被写体像を受光し光電変換処理を行って電気的な画像信号を出力する撮像素子、この撮像素子からの出力信号を受けて各種のアナログ信号処理を行う撮像回路、この撮像回路から出力されるアナログ信号をデジタル信号に変換するAD変換回路等によって構成される。   The imaging unit 11 is an imaging unit for acquiring a subject image formed by an optical lens or the like as an electrical image signal. The imaging unit 11 includes, for example, an optical lens that forms an optical subject image, an imaging element that receives an optical subject image formed by the optical lens, performs photoelectric conversion processing, and outputs an electrical image signal, An imaging circuit that receives various output signals from the imaging device and performs various analog signal processing, an AD conversion circuit that converts an analog signal output from the imaging circuit into a digital signal, and the like are configured.

画像処理部12は、撮像部11から出力されたデジタル形式の画像信号をバスコントローラ20を介して受け取って各種のデジタル的な画像信号処理を行う回路である。   The image processing unit 12 is a circuit that receives a digital image signal output from the imaging unit 11 via the bus controller 20 and performs various digital image signal processing.

一時メモリー13は、画像処理部12によって処理された画像信号をバスコントローラ20を介して受け取って当該画像処理済の画像信号や、この画像信号に関する各種データ等を一時的に記憶する記憶部である。この一時メモリー13としては、例えばSDRAM等の半導体記憶素子等が適用される。   The temporary memory 13 is a storage unit that receives the image signal processed by the image processing unit 12 via the bus controller 20 and temporarily stores the image signal that has been processed and various data related to the image signal. . As the temporary memory 13, for example, a semiconductor memory element such as SDRAM is applied.

表示部14は、例えば撮像部にて取得され画像処理部等において各種の信号処理が施された画像信号に基づいて画像を表示したり、当該デジタルカメラにおける各種の情報等を表示するための表示装置であって、カラー表示可能なものが用いられる。この表示部14は、画像信号を画像として表示する表示パネルや、この表示パネルを背面側から照明するバックライトユニットや、一時メモリー13からバスコントローラ20を介して受け取った画像信号を表示パネルを用いて表示するのに最適な形態の画像信号に変換処理したり表示パネルを制御する駆動回路等によって構成される。   The display unit 14 displays, for example, an image based on an image signal acquired by the imaging unit and subjected to various signal processing in the image processing unit or the like, or displays various information and the like in the digital camera. A device capable of color display is used. The display unit 14 uses a display panel that displays an image signal as an image, a backlight unit that illuminates the display panel from the back side, and an image signal received from the temporary memory 13 via the bus controller 20. In this case, the image signal is converted into an image signal having an optimum form for display, and a drive circuit or the like for controlling the display panel is used.

記録媒体15は、バスコントローラ20を介して受け取った画像データやその他各種データ等を記録するための不揮発性メモリー等からなる記憶手段でありデータ記録用の媒体である。この記録媒体15としては、例えばデジタルカメラ等の機器に対して着脱自在とする形態のものや、デジタルカメラ等の機器内部の電気回路に固設されている形態のもの等、具体的には例えば薄板形状,カード形状からなるメモリカード等、様々な形態のものがあり、いずれの形態のものでも、本実施形態のデジタルカメラに適用し得る。   The recording medium 15 is a storage means including a nonvolatile memory for recording image data received via the bus controller 20 and other various data, and is a data recording medium. Examples of the recording medium 15 include a configuration in which the recording medium 15 is detachable from a device such as a digital camera, and a configuration in which the recording medium 15 is fixed to an electric circuit inside the device such as a digital camera. There are various forms such as a memory card having a thin plate shape or a card shape, and any form can be applied to the digital camera of the present embodiment.

有線通信部16は、本デジタルカメラ1と外部装置2との間においてデータ等の送受信を接続ケーブル等を介して行うための接続部分(インターフェース)であって、例えばUSB(Universal Serial Bus)規格やIEEE1394等に準拠したものが適用される。   The wired communication unit 16 is a connection part (interface) for performing transmission / reception of data and the like between the digital camera 1 and the external device 2 via a connection cable, for example, the USB (Universal Serial Bus) standard, Those conforming to IEEE 1394 are applied.

無線通信部17は、本デジタルカメラ1と外部装置2との間で無線通信により暗号化された画像データ等の送受信を行う通信手段である。この無線通信部17は、無線による暗号データ通信等を行うのに際して外部装置2から発信される所定の形態の電磁波等の無線信号を受信すると共に、本デジタルカメラ1から発信する所定の形態の電磁波等の無線信号を送信する無線信号の入出力部である無線アンテナや、この無線アンテナに入力される無線信号を所定の形態の電気信号に変換してCPU10へ出力したり、無線アンテナから出力すべき無線信号を所定の形態の電気信号に変換する無線通信接続部(インターフェース)等によって主に構成されている。そして、無線通信部17は、バスコントローラ20を介してCPU10によって制御されることにより、無線通信機能を実現し得るようになっている。   The wireless communication unit 17 is a communication unit that transmits and receives image data and the like encrypted by wireless communication between the digital camera 1 and the external device 2. The wireless communication unit 17 receives a wireless signal such as an electromagnetic wave of a predetermined form transmitted from the external device 2 when performing wireless encryption data communication or the like, and also transmits an electromagnetic wave of a predetermined form transmitted from the digital camera 1. For example, a wireless antenna that is an input / output unit for a wireless signal that transmits a wireless signal or the like, or a wireless signal that is input to the wireless antenna is converted into an electrical signal of a predetermined form and output to the CPU 10 or output from the wireless antenna It is mainly configured by a wireless communication connection unit (interface) or the like that converts a wireless signal to be converted into an electric signal of a predetermined form. The wireless communication unit 17 can realize a wireless communication function by being controlled by the CPU 10 via the bus controller 20.

暗号化復号化処理部18は、無線通信によって外部装置2への送信に供する画像データ等のデータ暗号化処理や、外部装置2から無線通信によって受信した画像データ等のデータ復号化処理等をおこなう暗号化手段であり復号化手段である。この暗号化復号化処理部18は、バスコントローラ20を介して無線通信部17との間でデータの受け渡しを行う。   The encryption / decryption processing unit 18 performs data encryption processing such as image data to be transmitted to the external device 2 through wireless communication, data decryption processing of image data received from the external device 2 through wireless communication, and the like. It is an encryption means and a decryption means. The encryption / decryption processing unit 18 exchanges data with the wireless communication unit 17 via the bus controller 20.

不揮発性メモリー21は、CPU10により実行される処理プログラム(アプリケーションソフトウエア)等や、外部装置2と通信するための通信設定情報等の各種のデータ等や、本デジタルカメラ1における各種の設定データや固有データ等を記憶し保持するための不揮発性の記憶媒体である。この不揮発性メモリー21としては、例えばフラッシュロム(FlashROM)等が適用される。   The non-volatile memory 21 is a processing program (application software) executed by the CPU 10, various data such as communication setting information for communicating with the external device 2, various setting data in the digital camera 1, It is a non-volatile storage medium for storing and holding unique data and the like. For example, a flash ROM is used as the nonvolatile memory 21.

なお、不揮発性メモリー21に保持される各種のデータのうち、外部装置2と通信するための通信設定情報としては、例えば通信手段に関するWUSB認証情報や、当該デジタルカメラ1を特定するための固有ID番号であるCDID(Connection Device ID)情報等がある。   Of various types of data held in the nonvolatile memory 21, communication setting information for communicating with the external device 2 includes, for example, WUSB authentication information related to communication means and a unique ID for identifying the digital camera 1. There is CDID (Connection Device ID) information, which is a number.

本実施形態のデジタルカメラ1は、複数の外部装置(ホスト(Host)機器)に対して個別選択的に無線通信を行なうことができるようになっている。そのために、通信相手となる外部装置毎に複数のWUSB認証情報を含むWUSB認証情報データベース(以下、単に認証情報データという)を、不揮発性メモリー21の所定の領域に記憶して保持している。   The digital camera 1 according to the present embodiment can perform wireless communication individually and selectively with respect to a plurality of external devices (host devices). For this purpose, a WUSB authentication information database (hereinafter simply referred to as authentication information data) including a plurality of WUSB authentication information for each external device that is a communication partner is stored and held in a predetermined area of the nonvolatile memory 21.

不揮発性メモリー21に登録される認証情報データとしては、暗号化通信を行うのに際して必要となる情報であって、装置固有の各種情報群、即ち「CC(Connection Context)」と、これに付帯する付帯情報等のデータを無線通信相手となるホスト機器毎にグループ化された形態のデータベース形式で登録されている。   The authentication information data registered in the non-volatile memory 21 is information necessary for performing encrypted communication, and is associated with various device-specific information groups, that is, “CC (Connection Context)”. Data such as incidental information is registered in a database format that is grouped for each host device that is a wireless communication partner.

ここで「CC」に含まれる情報としては、
「CK(Connection Key;接続用共通鍵)」,
「CHID(Connection Host ID;接続ホストID)」,
「CDID(Connection Device ID;接続デバイスID)」
等がある。
Here, as information included in “CC”,
“CK (Connection Key)”,
“CHID (Connection Host ID)”,
“CDID (Connection Device ID)”
Etc.

また、付帯情報としては、例えば「認証時刻情報」や「画像交換モードフラグ情報」等がある。このうち「認証日時情報」は、通信相手機器との認証を行った際の日時に関する情報等である。   As supplementary information, for example, there are “authentication time information”, “image exchange mode flag information”, and the like. Among these, “authentication date / time information” is information relating to the date / time when authentication with the communication partner device is performed.

なお、この「認証日時情報」は、ホスト機器毎に対応する複数の認証情報が不揮発性メモリー21に記憶(登録)されている場合において、不揮発性メモリー21の記憶容量等を考慮して、新規の登録をするような場合に不要な情報を削除して記憶領域を確保するといったことがおこなわれる。そのような場合において、「認証日時情報」は、古い情報を削除する際の優先順位を決める等の際に参照されることになる。   This “authentication date / time information” is new in consideration of the storage capacity of the non-volatile memory 21 when a plurality of authentication information corresponding to each host device is stored (registered) in the non-volatile memory 21. For example, unnecessary information is deleted to secure a storage area. In such a case, the “authentication date / time information” is referred to when determining the priority order when deleting old information.

また、「画像交換モードフラグ情報」は、本デジタルカメラ1が、画像交換モード(後述する)で動作した時に認証情報データに付加されるフラグ情報である。   The “image exchange mode flag information” is flag information added to the authentication information data when the digital camera 1 operates in an image exchange mode (described later).

操作入力部22は、本デジタルカメラ1に設けられる各種の操作スイッチや操作ボタン等を含む操作入力手段の総称として用いている。即ち、操作入力部22は、例えばデジタルカメラ1の電源状態をオン又はオフ状態に切り換える電源ボタン,撮影動作を開始させるレリーズボタン,メニュー画面、認証確認画面等において選択設定を行う際の四方向選択キー(十字キーともいう)及びOKボタン等の各種操作部材と、これら操作部材のそれぞれに連動して各対応する指示信号等を発生させるスイッチ部材及び各スイッチ部材からの指示信号を伝達する電気回路等によって構成されるものである。この操作入力部22の各操作部材が使用者により適宜操作されると、これに応じて発生する指示信号は、CPU10に出力され、CPU10は、適宜各対応する制御を実行するようになっている。   The operation input unit 22 is used as a general term for operation input means including various operation switches and operation buttons provided in the digital camera 1. That is, the operation input unit 22 selects, for example, a four-way selection when performing selection setting on a power button for switching the power state of the digital camera 1 to ON or OFF, a release button for starting a photographing operation, a menu screen, an authentication confirmation screen, and the like Various operation members such as keys (also called cross keys) and OK buttons, switch members that generate corresponding instruction signals and the like in conjunction with these operation members, and electric circuits that transmit instruction signals from the switch members And the like. When each operation member of the operation input unit 22 is appropriately operated by the user, an instruction signal generated accordingly is output to the CPU 10, and the CPU 10 appropriately executes the corresponding control. .

RTC23は、例えば上記「認証日時情報」を取得する際に参照されたり、本デジタルカメラ1の撮影動作によって取得された画像データファイルが記録媒体15に記録される場合においてその記録画像データファイルに附される「撮影日時情報」を取得する際等に参照される内部時計である。   For example, the RTC 23 is referred to when acquiring the “authentication date / time information” or when the image data file acquired by the photographing operation of the digital camera 1 is recorded on the recording medium 15, the RTC 23 is attached to the recorded image data file. This is an internal clock that is referred to when acquiring “photographing date and time information”.

鍵生成部30は、暗号化通信を行う際に送信するデータの暗号化処理又は受信した暗号化データの復号化処理のための符合情報(鍵もしくはキーという)等を生成するための回路である。なお、この鍵生成部30は、デバイス側のデジタルカメラ1が具備するものとして説明しているが、全く同じ構成の鍵生成部をホスト側でも有している。   The key generation unit 30 is a circuit for generating code information (referred to as a key or a key) for encrypting data to be transmitted when performing encrypted communication or decrypting received encrypted data. . The key generation unit 30 is described as being included in the device-side digital camera 1, but the host side also has a key generation unit having the same configuration.

このことは、所定の通信方法に基づく無線暗号化通信を用いて画像データを含む画像データファイルを他の機器に送信するデバイス機器として機能し得る通信端末装置であるデジタルカメラ1は、同じ通信方法に基づく無線暗号化通信を用いて画像データを含む画像データファイルを他の機器より受信するホスト機器としても機能し得る。   This is because the digital camera 1, which is a communication terminal device that can function as a device device that transmits an image data file including image data to another device using wireless encryption communication based on a predetermined communication method, has the same communication method. It can also function as a host device that receives an image data file including image data from another device using wireless encryption communication based on the above.

同様に、本実施形態においてはホスト機器として機能するホストPC2も、同様の構成の鍵生成部30を具備していることから、デバイス機器として機器としても機能し得るものである。   Similarly, in the present embodiment, the host PC 2 that functions as a host device also includes the key generation unit 30 having the same configuration, and thus can function as a device as a device.

鍵生成部30は、図2に示すように、秘密鍵生成部31,公開鍵生成部32,公開鍵交換部33,確認情報生成部34,共通鍵生成部35,暗号鍵生成部36等によって構成されている。この鍵生成部30にて生成される各種の符合情報(鍵;キー)は、デジタルカメラ1がデバイス機器として機能する場合にも、またホスト機器として機能する場合においても、いずれの場合でも暗号化通信を実行する際には必ず使用されるものであるが、それぞれの場合で生成されるキーは若干異なる。図2に示す例では、鍵生成部30が設けられるデジタルカメラ1がデバイス機器として機能する場合を示している。   As shown in FIG. 2, the key generation unit 30 includes a secret key generation unit 31, a public key generation unit 32, a public key exchange unit 33, a confirmation information generation unit 34, a common key generation unit 35, an encryption key generation unit 36, and the like. It is configured. Various pieces of code information (key) generated by the key generation unit 30 are encrypted regardless of whether the digital camera 1 functions as a device device or a host device. Although it is always used when executing communication, the key generated in each case is slightly different. In the example illustrated in FIG. 2, the digital camera 1 provided with the key generation unit 30 functions as a device device.

秘密鍵生成部31は、ランダムなデータからなる秘密鍵(A,B)を生成する秘密キー生成手段である。ここで、秘密鍵生成部31は、当該デジタルカメラ1がデバイス機器のときには秘密鍵Aを、ホスト機器のときには秘密鍵Bを生成するものとする。   The secret key generation unit 31 is a secret key generation unit that generates a secret key (A, B) composed of random data. Here, the secret key generation unit 31 generates a secret key A when the digital camera 1 is a device device, and generates a secret key B when the digital camera 1 is a host device.

公開鍵生成部32は、秘密鍵(A,B)を用いて公開鍵(PKD,PKH;第1の公開キー)を生成する公開キー生成手段ものである。ここで、公開鍵生成部32は、当該デジタルカメラ1がデバイス機器のときには秘密鍵Aから公開鍵PKDを、ホスト機器のときには秘密鍵Bから公開鍵PKHを生成するものとする。   The public key generation unit 32 is a public key generation unit that generates a public key (PKD, PKH; first public key) using a secret key (A, B). Here, the public key generation unit 32 generates the public key PKD from the secret key A when the digital camera 1 is a device device, and generates the public key PKH from the secret key B when the digital camera 1 is a host device.

公開鍵交換部33は、公開鍵生成部32で生成された公開鍵(PKD,PKH)を無線通信部17に渡し、この公開鍵を無線通信によって相手方の機器との間で交換通信(送受信)を行う公開キー交換手段である。この交換通信により、デバイス機器側もホスト機器側も、いずれもが公開鍵PKD,PKHの両方を持つようになる。なお、公開鍵交換部33における交換通信により取得した公開鍵を第2の公開キーというものとする。   The public key exchange unit 33 passes the public key (PKD, PKH) generated by the public key generation unit 32 to the wireless communication unit 17, and exchanges communication (transmission / reception) with the counterpart device by wireless communication. It is a public key exchange means for performing With this exchange communication, both the device device side and the host device side have both public keys PKD and PKH. The public key acquired by exchange communication in the public key exchange unit 33 is referred to as a second public key.

確認情報生成部34は、公開鍵(PKD,PKH)から接続確認用の認証コードを表わすV値を生成する確認情報生成手段である。このV値は、例えば2〜4ケタからまり数列であって、ホスト機器とデバイス機器との組み合わせを確定するための数字である。   The confirmation information generation unit 34 is confirmation information generation means for generating a V value representing an authentication code for connection confirmation from a public key (PKD, PKH). This V value is, for example, a sequence of 2 to 4 digits, and is a number for determining a combination of a host device and a device device.

共通鍵生成部35は、秘密鍵(A,B)と公開鍵(PKD,PKH)とから共通鍵CKを生成する共通キー生成手段である。   The common key generation unit 35 is a common key generation unit that generates a common key CK from the secret key (A, B) and the public key (PKD, PKH).

暗号鍵生成部36は、共通鍵CKからペア一時鍵(暗号鍵ともいう)PTKを生成する暗号キー生成手段である。これにより生成された暗号鍵PTKはデータの暗号化処理及び復号化処理の際に、データの暗号化、または暗号化されたデータの復号化を行うのに用いられる。   The encryption key generation unit 36 is an encryption key generation unit that generates a pair temporary key (also referred to as an encryption key) PTK from the common key CK. The encryption key PTK generated thereby is used to encrypt data or decrypt encrypted data during data encryption and decryption.

その他、本発明に関連しない部分の構成については、通常一般のデジタルカメラと同様の構成となっているものとして、その詳細は、図示及び説明を省略する。   In addition, about the structure of the part which is not related to this invention, it is assumed that it is the structure similar to a normal digital camera normally, The illustration and description are abbreviate | omitted for the detail.

このように構成されるデジタルカメラ1を用いて、ホスト機器との間で無線によるデータ通信を行う際の作用を以下に説明する。   An operation when performing wireless data communication with the host device using the digital camera 1 configured as described above will be described below.

図3に示すフローチャートは、本発明の一実施形態の通信方法を示しており、具体的には本実施形態の通信端末装置としての上記デジタルカメラ1と、これ以外の外部装置であるホスト機器であるPC2(図1参照)との間で暗号化されたデータの通信を行う場合に、各機器にて実行される処理の流れを示している。   The flowchart shown in FIG. 3 shows a communication method according to an embodiment of the present invention. Specifically, the digital camera 1 as a communication terminal device according to the present embodiment and a host device that is an external device other than the above. The flow of processing executed by each device when encrypted data communication is performed with a certain PC 2 (see FIG. 1) is shown.

まず、デジタルカメラ1(デバイス側)とPC2(ホスト側)との両者の電源をオン状態とし、かつ所定の動作モード、例えば無線データ通信モードで動作可能な状態としておく。   First, the power sources of both the digital camera 1 (device side) and the PC 2 (host side) are turned on and are operable in a predetermined operation mode, for example, a wireless data communication mode.

即ち、ホスト機器であるPC2(以下ホストPC2という)は、図3のステップS1Aにおいて、使用者による動作モード切り換え操作によって、新規デバイス接続を許可するモード(無線データ通信モード)を設定しておく。これにより当該ホストPC2は、無線データ通信を行い得る旨を表わす信号を所定の電磁波等の形態で出力し続ける状態となる。   That is, the PC 2 (hereinafter referred to as the host PC 2), which is the host device, sets a mode (wireless data communication mode) that permits connection of a new device by an operation mode switching operation by the user in step S1A of FIG. Thus, the host PC 2 is in a state of continuously outputting a signal indicating that wireless data communication can be performed in the form of a predetermined electromagnetic wave or the like.

ホスト側がこの状態にあるときに、デバイス機器であるデジタルカメラ1の側では、まず、使用者による動作モード切り換え操作によって、無線データ通信モードを設定する。これにより、当該デジタルカメラ1は、図3のステップS1Bにおいて、新規デバイス接続可能なホストを探す処理の実行を開始する。   When the host side is in this state, on the digital camera 1 side which is a device device, first, the wireless data communication mode is set by the operation mode switching operation by the user. Accordingly, the digital camera 1 starts executing a process for searching for a host to which a new device can be connected in step S1B of FIG.

即ち、ステップS1Bにおいて、当該デジタルカメラ1は、自身の付近に無線データ通信を行い得る旨を表わす信号を含む電磁波等を出力しているホスト機器が存在しないか否かの探索を開始する。ここで、当該デジタルカメラは、図6のモード変更処理に移行する。   That is, in step S1B, the digital camera 1 starts searching for a host device that outputs an electromagnetic wave or the like including a signal indicating that wireless data communication can be performed in the vicinity thereof. Here, the digital camera shifts to the mode change process of FIG.

図6は、無線通信による画像データの転送を行う際の画像転送モードの変更処理のための処理シーケンスである。   FIG. 6 is a processing sequence for changing the image transfer mode when transferring image data by wireless communication.

本実施形態のデジタルカメラ1においては、無線通信による画像データの転送を行う際の動作形態、即ち画像転送モードには、従来のWUSB規格に準拠した通常転送モードと、本発明による画像転送モード、即ち接続確認の認証が確立する前の段階で、送受信しようとする画像データファイルのうちの一部のデータの送受信を実行する認証前画像転送モードとの二つの画像転送モードがある。   In the digital camera 1 of the present embodiment, an operation mode when transferring image data by wireless communication, that is, an image transfer mode includes a normal transfer mode compliant with the conventional WUSB standard, an image transfer mode according to the present invention, That is, there are two image transfer modes, that is, a pre-authentication image transfer mode in which a part of the image data file to be transmitted / received is transmitted / received before the authentication of connection confirmation is established.

本デジタルカメラ1は、状況に応じて二つの画像転送モードを切り換えて動作するようになっている。その切り換え動作は、図6に示すモード変更処理のシーケンスにて実現されることになる。   The digital camera 1 operates by switching between two image transfer modes according to the situation. The switching operation is realized by the mode change processing sequence shown in FIG.

即ち、デジタルカメラ1は、上述のステップS1Bにおいて、ホスト機器の探索処理を開始すると、次のステップS20Bの処理において、モード変更処理が実行される。このモード変更処理の詳細は、図6に示す通りである。   That is, when the digital camera 1 starts the host device search process in step S1B described above, the mode change process is executed in the next step S20B. The details of this mode change processing are as shown in FIG.

図6のステップS21において、デジタルカメラ1は、自身の周辺に新規デバイス接続が可能なホスト機器を発見すると、次のステップS22の処理に進む。   In step S21 of FIG. 6, when the digital camera 1 finds a host device that can be connected to a new device around itself, the process proceeds to the next step S22.

一方、上述のステップS21の処理にて、新規デバイス接続が可能なホスト機器が発見できなかった場合には、通信モードでの動作が実行できないことになるので、次のステップS29の処理に進み、このステップS29において、デジタルカメラ1は、通信動作を解除する処理を実行する。その後、ステップS30において、デジタルカメラ1は、待機状態となる。   On the other hand, if a host device capable of connecting to a new device cannot be found in the process of step S21 described above, the operation in the communication mode cannot be performed, so the process proceeds to the next step S29. In step S29, the digital camera 1 executes processing for canceling the communication operation. Thereafter, in step S30, the digital camera 1 enters a standby state.

上述のステップS21において、デジタルカメラ1によってホスト機器が発見されて、次のステップS22の処理に進むと、このステップS22において、デジタルカメラ1は、その他の通信可能なホスト機器の存在を確認する処理を行う。この確認動作は、上述のステップS1Bで実行されるホスト機器の探索処理と同様の処理である。即ち、このステップS22において、デジタルカメラ1は、自身の周辺に通信可能なホスト機器が複数存在するか否かの確認を行うわけである。   When the host device is discovered by the digital camera 1 in the above-described step S21 and the process proceeds to the next step S22, the digital camera 1 confirms the presence of another communicable host device in this step S22. I do. This confirmation operation is the same processing as the host device search processing executed in step S1B described above. That is, in this step S22, the digital camera 1 checks whether or not there are a plurality of host devices that can communicate in the vicinity of the digital camera 1.

そして、ステップS23において、デジタルカメラ1は、他の通信可能なホスト機器の存在を確認すると、次のステップS25の処理に進む。   In step S23, when the digital camera 1 confirms the presence of another communicable host device, the process proceeds to the next step S25.

ステップS25において、デジタルカメラ1は、接続先ホストの選択処理を実行する。この場合において、デジタルカメラ1は、上述のステップS21,S23にて発見した複数の接続可能なホスト機器についての情報を、その表示部14の表示画面に表示する。使用者は、この表示画面を見て、所定の操作部材を用いて接続を所望するホスト機器の選択操作を行う。その後、ステップS26の処理に進む。   In step S25, the digital camera 1 executes a connection destination host selection process. In this case, the digital camera 1 displays information about a plurality of connectable host devices discovered in the above-described steps S21 and S23 on the display screen of the display unit 14. The user looks at this display screen and performs a selection operation of a host device desired to be connected using a predetermined operation member. Thereafter, the process proceeds to step S26.

ステップS26において、デジタルカメラ1では、認証前画像転送モードによる動作を無効にする処理を実行する。その後、ステップS27の処理に進む。   In step S26, the digital camera 1 executes processing for invalidating the operation in the pre-authentication image transfer mode. Thereafter, the process proceeds to step S27.

ステップS27において、デジタルカメラ1は、通常の画像転送モードによる動作処理の実行を開始する。以降の処理は、従来通常の画像転送モードによる動作であるので、その説明は省略する。   In step S <b> 27, the digital camera 1 starts executing an operation process in the normal image transfer mode. Since the subsequent processing is an operation in the conventional normal image transfer mode, description thereof is omitted.

一方、上述のステップS23の処理において、デジタルカメラ1は、他の通信可能なホスト機器が存在しないことを確認した場合には、ステップS24の処理に進む。   On the other hand, in the process of step S23 described above, when the digital camera 1 confirms that there is no other communicable host device, the process proceeds to step S24.

ステップS24において、デジタルカメラ1は、認証前画像転送モードによる動作を有効にする処理を実行した後、元の処理(図3の処理シーケンス)に戻り(リターン)、ステップS2Bの処理に進む。   In step S24, the digital camera 1 executes processing for enabling the operation in the pre-authentication image transfer mode, and then returns (returns) to the original processing (processing sequence in FIG. 3) and proceeds to processing in step S2B.

図3に戻って、デジタルカメラ1は、ステップS2Bにおいて、上述の図6のステップS21の処理で存在を確認した通信相手方となるホスト機器に向けて接続要求信号を送信する処理を行う。   Returning to FIG. 3, in step S <b> 2 </ b> B, the digital camera 1 performs a process of transmitting a connection request signal to the host device serving as a communication partner whose presence has been confirmed in the process of step S <b> 21 of FIG.

これを受けてホスト側では、ステップS2Aにおいて、デジタルカメラ1からの接続要求信号を受信して、そのデジタルカメラ1が既に認証作業済みであるか否か、即ち自身の不揮発性メモリー等に登録されている認証情報データベースを検索し、当該デジタルカメラ1の接続要求信号に含まれる情報が登録済みのものか否かの判断を行う。ここで、既に認証作業が済んでおらず、そのデジタルカメラ1が新規のデバイス機器であると判断されたら、当該デバイス機器(デジタルカメラ1)に対して認証要求信号を送信する。   In response to this, the host side receives a connection request signal from the digital camera 1 in step S2A, and whether or not the digital camera 1 has already been authenticated, that is, is registered in its own nonvolatile memory or the like. The authentication information database is searched, and it is determined whether or not the information included in the connection request signal of the digital camera 1 is already registered. Here, if it is determined that the authentication work has not been completed and the digital camera 1 is a new device device, an authentication request signal is transmitted to the device device (digital camera 1).

これにより、デバイス側のデジタルカメラ1とホスト側のホストPC2とは、互いが無線接続による通信相手であることを識別し合ったことになる。続いて、互いを認証するための処理(Diffie−Hellman鍵公開プロトコル)に入る。   As a result, the digital camera 1 on the device side and the host PC 2 on the host side have identified each other as a communication partner by wireless connection. Subsequently, a process for authenticating each other (Diffie-Hellman key disclosure protocol) is entered.

即ち、デバイス側のデジタルカメラ1では、ホストPC2からの認証要求信号を受けて、ステップS3Bにおいて、鍵生成部30の秘密鍵生成部31が秘密鍵Aを生成する処理を実行する(秘密キー生成ステップ)。   That is, in the digital camera 1 on the device side, in response to the authentication request signal from the host PC 2, the secret key generation unit 31 of the key generation unit 30 executes the process of generating the secret key A (secret key generation) in step S3B. Step).

続いて、ステップS4Bにおいて、公開鍵生成部32が上記秘密鍵Aを使って公開鍵PKDを生成する処理を実行する(公開キー生成ステップ)。   Subsequently, in step S4B, the public key generation unit 32 executes a process of generating a public key PKD using the secret key A (public key generation step).

一方、ホスト側のホストPC2では、デバイス側へ認証要求信号を送信した後、ステップS3Aにおいて、鍵生成部(30)の秘密鍵生成部(31)が秘密鍵Bを生成する処理を実行する(秘密キー生成ステップ)。   On the other hand, in the host PC 2 on the host side, after transmitting the authentication request signal to the device side, in step S3A, the secret key generation unit (31) of the key generation unit (30) executes a process of generating the secret key B ( Secret key generation step).

続いて、ステップS4Aにおいて、公開鍵生成部(32)が上記秘密鍵Bを使って公開鍵PKHを生成する処理を実行する(公開キー生成ステップ)。   Subsequently, in step S4A, the public key generation unit (32) executes a process of generating a public key PKH using the secret key B (public key generation step).

こうして、デバイス側で公開鍵PKDが生成され、ホスト側で公開鍵PKHが生成されると、両者の公開鍵交換部33は、この公開鍵交換処理を実行する(公開キー交換ステップ)。   Thus, when the public key PKD is generated on the device side and the public key PKH is generated on the host side, both public key exchange units 33 execute this public key exchange process (public key exchange step).

即ち、ステップS5A,S5Bにおいて、デジタルカメラ1及びホストPC2は、それぞれが公開鍵PKD,PKHの送受信を行って鍵交換処理を実行する。これにより、両者は、公開鍵PKD,PKHの両方を持つことになる。   That is, in steps S5A and S5B, the digital camera 1 and the host PC 2 perform the key exchange process by transmitting and receiving the public keys PKD and PKH, respectively. Thus, both have both public keys PKD and PKH.

続いて、ステップS6A,S6Bにおいて、デジタルカメラ1及びホストPC2の確認情報生成部(34)は、それぞれが公開鍵PKD,PKHから接続確認用番号V値を生成する処理を実行する。そして、デジタルカメラ1は、ステップS7Bにおいて、上記V値を表示画面に認証確認画面として表示する。また、ホストPC2は、ステップS7Aにおいて、同V値を表示画面に認証確認画面として表示する(確認情報表示ステップ)。   Subsequently, in steps S6A and S6B, the confirmation information generation unit (34) of the digital camera 1 and the host PC 2 executes a process of generating a connection confirmation number V value from the public keys PKD and PKH, respectively. In step S7B, the digital camera 1 displays the V value on the display screen as an authentication confirmation screen. In step S7A, the host PC 2 displays the same V value on the display screen as an authentication confirmation screen (confirmation information display step).

なお、このV値としては、現在実行中の無線通信接続におけるデバイス機器とホスト機器との組み合わせを確定するための2〜4ケタの数字であって、デバイス機器とホスト機器とで同じ値が算出され表示される。   The V value is a 2- to 4-digit number for determining the combination of the device device and the host device in the currently executing wireless communication connection, and the same value is calculated for the device device and the host device. And displayed.

なお、従来のWUSB規格に準拠した無線通信を行う機器においては、この時点で、各機器それぞれの画面上にV値を表示させると共に、表示されたV値を使用者が確認し承認するためのOKボタン入力待ち画面、即ち認証確認画面が表示されることになる。各機器は、使用者による「確認OK」指示の入力を受けて、初めて通信動作を実行するようになっている。   In addition, in a device that performs wireless communication compliant with the conventional WUSB standard, at this time, the V value is displayed on the screen of each device, and the displayed V value is checked and approved by the user. An OK button input waiting screen, that is, an authentication confirmation screen is displayed. Each device is configured to execute a communication operation for the first time in response to an input of a “confirmation OK” instruction by the user.

これに対して、本実施形態の通信端末装置及び通信方法においては、この時点では「確認OK」の指示を待たずに、送受信しようとする画像データファイルのうちの一部のデータの送受信を実行する通信動作を開始させている。   On the other hand, in the communication terminal device and the communication method according to the present embodiment, at this time, without transmitting the “confirmation OK” instruction, transmission / reception of a part of the image data file to be transmitted / received is executed. The communication operation to start is started.

その通信動作を実行するのに先立って、まず、ホストPC2は、ステップS8Aにおいて、共通鍵生成部35が秘密鍵Bと公開鍵PKDとから共通鍵CKを生成する処理を実行する(共通キー生成ステップ)。   Prior to executing the communication operation, first, in step S8A, the host PC 2 executes a process in which the common key generation unit 35 generates a common key CK from the secret key B and the public key PKD (common key generation). Step).

また、同時にデジタルカメラ1は、ステップS8Bにおいて、共通鍵生成部35が秘密鍵Aと公開鍵PKHとから共通鍵CKを生成する処理を実行する(共通キー生成ステップ)。   At the same time, in step S8B, the digital camera 1 executes a process in which the common key generation unit 35 generates the common key CK from the secret key A and the public key PKH (common key generation step).

続いて、ホストPC2とデジタルカメラ1との両者は、ステップS9A,S9Bにおいて、暗号鍵生成部36が上記共通鍵CKからペア一時鍵(暗号鍵)PTKを生成する処理を実行する(暗号キー生成ステップ)。   Subsequently, both the host PC 2 and the digital camera 1 execute a process in which the encryption key generation unit 36 generates a pair temporary key (encryption key) PTK from the common key CK in steps S9A and S9B (encryption key generation). Step).

さらに、ホストPC2とデジタルカメラ1との両者は、ステップS10A,S10Bにおいて、暗号鍵生成部(36)が上記共通鍵CKから認証コードMIC値を生成し、この認証コードMIC値を互いに送受信して交換する処理を実行する。   Further, in both the host PC 2 and the digital camera 1, in steps S10A and S10B, the encryption key generation unit (36) generates an authentication code MIC value from the common key CK, and transmits and receives this authentication code MIC value to each other. Perform the replacement process.

ステップS11Bにおいて、デジタルカメラ1は、サムネイル画像送信ループを開始する。   In step S11B, the digital camera 1 starts a thumbnail image transmission loop.

ステップS12Bにおいて、デジタルカメラ1の暗号化復号化処理部18は、ペア一時鍵PTKを使って、選択されている送信予定の画像データファイルにおけるサムネイル画像(縮小画像)部分のデータと画像情報データとを暗号化するデータ暗号化処理を実行する。こうして生成された暗号データは、無線通信部17を介してホスト機器に向けて送信される(第1の送信ステップ)。   In step S12B, the encryption / decryption processing unit 18 of the digital camera 1 uses the pair temporary key PTK, the data of the thumbnail image (reduced image) portion and the image information data in the selected image data file to be transmitted. Data encryption processing for encrypting is executed. The encrypted data generated in this way is transmitted to the host device via the wireless communication unit 17 (first transmission step).

そして、ステップS14Bにおいて、デジタルカメラ1は、送信したサムネイル画像及び画像情報のデータをデジタルカメラ1の表示部14(図1参照)に所定の形態で表示する(インデックス表示ステップ)。その表示形態としては、例えば後述する図4,図5の認証確認画面等の形態である。その後、サムネイル画像送信ループを終了する。   In step S14B, the digital camera 1 displays the transmitted thumbnail image and image information data on the display unit 14 (see FIG. 1) of the digital camera 1 in a predetermined form (index display step). The display form is, for example, a form such as an authentication confirmation screen shown in FIGS. Thereafter, the thumbnail image transmission loop is terminated.

同時に、ホストPC2は、ステップS11Aにおいて、サムネイル画像受信ループを開始する。   At the same time, the host PC 2 starts a thumbnail image reception loop in step S11A.

ステップS12Aにおいて、ホストPC2は、デジタルカメラ1から送信された暗号データを無線通信部17によって受信して、暗号化復号化処理部18がペア一時鍵PTKを使って復号化する復号化処理を実行する。こうして復号化されたサムネイル画像データと画像情報データとは、ステップS13Aにおいて、ホストPC2の表示装置の表示部2a(図1参照)に所定の形態で表示される(インデックス表示ステップ)。その表示形態としては、例えば後述する図4,図5の認証確認画面等の形態である。   In step S12A, the host PC 2 receives the encrypted data transmitted from the digital camera 1 by the wireless communication unit 17, and executes a decryption process in which the encryption / decryption processing unit 18 decrypts it using the pair temporary key PTK. To do. The thumbnail image data and the image information data thus decoded are displayed in a predetermined form (index display step) on the display unit 2a (see FIG. 1) of the display device of the host PC 2 in step S13A. The display form is, for example, a form such as an authentication confirmation screen shown in FIGS.

ステップS14Aにおいて、ホストPC2は、サムネイル画像受信ループを終了する。   In step S14A, the host PC 2 ends the thumbnail image reception loop.

なお、デジタルカメラ1における上述のステップS11B〜S14Bのサムネイル画像送信ループが開始される時点において、デジタルカメラ1では、記録媒体15に記録されている複数の画像データファイルのうちから送信を所望する画像データファイル(少なくとも一つ以上)が予め使用者の選択操作等によって選択指示されているものとする。   Note that at the time when the thumbnail image transmission loop of the above-described steps S11B to S14B in the digital camera 1 is started, the digital camera 1 has an image desired to be transmitted from among a plurality of image data files recorded on the recording medium 15. It is assumed that a data file (at least one or more) is selected and instructed in advance by a user's selection operation or the like.

この場合において、使用者が予め選択指示した画像データファイルが一つのみである場合には、デバイス側のステップS11B〜S14Bのサムネイル画像送信ループ及びホスト側における上述のステップS11A〜S14Aのサムネイル画像受信ループは、それぞれ一巡するのみで終了し、ステップS13Aの処理におけるホスト側の認証確認画面は、例えば図4に示すような形態となる。   In this case, when there is only one image data file selected and designated in advance by the user, the thumbnail image transmission loop in steps S11B to S14B on the device side and the thumbnail image reception in steps S11A to S14A on the host side are performed. The loop is completed only once, and the authentication confirmation screen on the host side in the process of step S13A has a form as shown in FIG. 4, for example.

一方、使用者が予め選択指示した画像データファイルが複数ある場合には、ステップS11B〜S14Bのサムネイル画像送信ループ及びホストPC2における上述のステップS11A〜S14Aのサムネイル画像受信ループは、それぞれ送受信しようとする画像データファイルの数だけ巡回して終了する。そして、このとき、ステップS13Aの処理におけるホストPC2の認証確認画面は、例えば図5に示すような形態となる。   On the other hand, when there are a plurality of image data files selected and designated in advance by the user, the thumbnail image transmission loop in steps S11B to S14B and the thumbnail image reception loop in steps S11A to S14A in the host PC 2 each try to transmit / receive. It wraps around the number of image data files and ends. At this time, the authentication confirmation screen of the host PC 2 in the process of step S13A has a form as shown in FIG. 5, for example.

ここで、上述のステップS13AにおいてホストPC2の表示部2aに表示される認証確認画面、及びステップS13Bにおいてデジタルカメラ1の表示部14に表示される認証確認画面の形態について説明する。   Here, the forms of the authentication confirmation screen displayed on the display unit 2a of the host PC 2 in step S13A and the authentication confirmation screen displayed on the display unit 14 of the digital camera 1 in step S13B will be described.

なお、この場合において、表示部2a,14は、認証情報(確認情報)を表示画面に表示することで使用者に提示する確認情報提示手段として機能する。   In this case, the display units 2a and 14 function as confirmation information presenting means for presenting to the user by displaying authentication information (confirmation information) on the display screen.

送受信する画像データファイルが一つである場合には、表示部2a,14に表示される認証確認画面には、図4に示すように、認証コード(V値)を表示する領域41と、サムネイル画像を表示する領域42と、画像情報を表示する領域43と、確認のための「OK」指示を表示する領域44と、取り消し操作を行う「CANCEL」指示を表示する領域45と、表示画面の説明を文字で表わす説明分表示の領域46と、当該表示の有効時間をカウントダウンする秒時数を表示する領域47等が設けられる。   When there is one image data file to be transmitted and received, an authentication confirmation screen displayed on the display units 2a and 14 includes an area 41 for displaying an authentication code (V value) and a thumbnail as shown in FIG. An area 42 for displaying an image, an area 43 for displaying image information, an area 44 for displaying an “OK” instruction for confirmation, an area 45 for displaying a “CANCEL” instruction for performing a cancellation operation, and a display screen There are provided an explanatory display area 46 in which the description is expressed in characters, an area 47 for displaying the number of seconds for counting down the effective time of the display, and the like.

送受信する画像データファイルが複数である場合には、表示部2a,14に表示される認証確認画面には、図5に示すように、認証コード(V値)を表示する領域41と、複数のサムネイル画像をそれぞれ表示する領域42a,42b,42cと、確認のための「OK」指示を表示する領域44と、取り消し操作を行う「CANCEL」指示を表示する領域45と、表示画面の説明を文字で表わす説明分表示の領域46と、当該表示の有効時間をカウントダウンする秒時数等を表示する領域47等が設けられる。   When there are a plurality of image data files to be transmitted and received, the authentication confirmation screen displayed on the display units 2a and 14 includes an area 41 for displaying an authentication code (V value) and a plurality of areas as shown in FIG. Areas 42a, 42b, and 42c for displaying thumbnail images, an area 44 for displaying an “OK” instruction for confirmation, an area 45 for displaying a “CANCEL” instruction for performing a cancel operation, and a description of the display screen as characters And an area 47 for displaying the number of seconds for counting down the effective time of the display.

なお、図5の表示例では、画像情報を表示する領域を省略した形態を図示しているが、画面配置の工夫により、さらに画像情報を表示する領域を設けることは可能である。   In the display example of FIG. 5, a form in which an area for displaying image information is omitted is illustrated, but an area for displaying image information can be further provided by devising a screen layout.

図4,図5に示すような認証確認画面が表示されると、ホストPC2及びデジタルカメラ1は、ステップS15A,S15Bにおいて、所定の操作部材(OKボタン等)からの指示信号の待機状態となる。   When the authentication confirmation screen as shown in FIGS. 4 and 5 is displayed, the host PC 2 and the digital camera 1 enter a standby state for an instruction signal from a predetermined operation member (such as an OK button) in steps S15A and S15B. .

ここで、使用者は、認証確認画面を見てV値やサムネイル画像を確認した上で、所定の操作部材(操作入力部22)を用いて、これを承認する操作を行うか若しくはキャンセルする操作を行う。例えば、所定の操作部材(四方向選択キーにおける左右選択キー等)を操作することにより、「OK」領域44若しくは「CANCEL」領域45の何れかを反転表示させた後に、所定の操作部材(OKボタン等)を用いて決定操作を行う。   Here, the user confirms the V value and the thumbnail image on the authentication confirmation screen, and then performs an operation of approving or canceling the operation using a predetermined operation member (operation input unit 22). I do. For example, by operating a predetermined operation member (such as the left / right selection key in the four-way selection key), either the “OK” area 44 or the “CANCEL” area 45 is highlighted, and then the predetermined operation member (OK) is displayed. Button, etc.).

また、当該認証確認画面は、何の指示操作がなされないまま所定時間が経過すると、所定時間経過後に、自動的に表示が消えると共に、そのとき実行中の画像通信処理をキャンセル状態とするようになっている。そのために、領域47において、画面表示有効時間を表示するようにしている。したがって、使用者は、この有効時間内に、所望の操作を行う必要がある。   In addition, when the predetermined time elapses without any instruction operation being performed, the authentication confirmation screen automatically disappears after the predetermined time elapses, and the image communication process being executed at that time is canceled. It has become. Therefore, in the area 47, the screen display effective time is displayed. Therefore, the user needs to perform a desired operation within this effective time.

上述のようにして、使用者による承認の操作指示、即ちOKボタン等が押された場合には、デジタルカメラ1は、次のステップS16Bの処理の実行を許可する(許可ステップ)。   As described above, when an operation instruction for approval by the user, that is, when an OK button or the like is pressed, the digital camera 1 permits the execution of the processing of the next step S16B (permission step).

即ち、ステップS16Bにおいて、デジタルカメラ1の暗号化復号化処理部18は、上述のステップS11B〜S14Bの処理にてサムネイル画像及び画像情報のデータを送信した元の画像データファイルについて残りの主画像データを暗号化処理により暗号データ化する。これを受けて無線通信部17は、当該暗号データをホストPC2に向けて送信する(第2の送信ステップ)。   That is, in step S16B, the encryption / decryption processing unit 18 of the digital camera 1 uses the remaining main image data for the original image data file to which the thumbnail image and the image information data were transmitted in the processes of steps S11B to S14B described above. Is encrypted by encryption processing. In response to this, the wireless communication unit 17 transmits the encrypted data to the host PC 2 (second transmission step).

その後、ステップS18Bにおいて、デジタルカメラ1は、共通鍵CKを含む認証情報データを不揮発性メモリー21に記憶する処理を実行する。そして、当該デジタルカメラ1は、一連の動作を終了し、操作指示の待機状態に移行する。   Thereafter, in step S <b> 18 </ b> B, the digital camera 1 executes a process of storing authentication information data including the common key CK in the nonvolatile memory 21. Then, the digital camera 1 ends a series of operations and shifts to a standby state for an operation instruction.

一方、ホストPC2は、ステップS16Aにおいて、デジタルカメラ1からステップS16Bにおいて送信される暗号データを無線通信部(17)において受信して、これを暗号化復号化処理部18において復号化処理する。   On the other hand, in step S16A, the host PC 2 receives the encrypted data transmitted from the digital camera 1 in step S16B in the wireless communication unit (17), and decrypts it in the encryption / decryption processing unit.

続いて、ステップS17Aにおいて、ホストPC2は、上述のステップS12Aで受信したサムネイル画像及び画像情報のデータと上述のステップS16Aで受信した主画像データとを、つまり二回に分けてデジタルカメラ1から送信されてそれぞれ別に受信した各データをマージ処理して一つの画像データファイルとして生成する。そして、この画像データファイルを記録媒体(15)に記録する。   Subsequently, in step S17A, the host PC 2 transmits the thumbnail image and image information data received in step S12A and the main image data received in step S16A from the digital camera 1 in two steps. Each data received separately is merged to generate one image data file. The image data file is recorded on the recording medium (15).

その後、ステップS18Aにおいて、ホストPC2は、共通鍵CKを含む接続情報である認証情報データを不揮発性メモリー(21)に記憶する処理を行う(接続情報記憶ステップ)。そして、当該ホストPC2は、一連の動作を終了し、操作指示の待機状態に移行する。   Thereafter, in step S18A, the host PC 2 performs a process of storing authentication information data, which is connection information including the common key CK, in the nonvolatile memory (21) (connection information storage step). Then, the host PC 2 ends a series of operations and shifts to a standby state for an operation instruction.

上述したように、ホストPC2及びデジタルカメラ1は、図3のステップS18A,18Bにおいて、それぞれがそれぞれの不揮発性メモリー(21)に対して共通鍵CKを含む接続情報である認証情報データを記憶する処理を実行する(接続情報記憶ステップ)。この記憶処理の詳細を、図7のフローチャートによって以下に説明する。なお、図7の説明においては、デジタルカメラ1についての作用の流れを説明しているが、ホストPC2においても全く同様の作用によって、認証情報の記憶処理がなされる。   As described above, the host PC 2 and the digital camera 1 store authentication information data, which is connection information including the common key CK, in each nonvolatile memory (21) in steps S18A and 18B in FIG. Processing is executed (connection information storage step). Details of this storage processing will be described below with reference to the flowchart of FIG. In the description of FIG. 7, the flow of the operation of the digital camera 1 is described, but the authentication information is stored in the host PC 2 by the same operation.

図7に示すステップS31において、デジタルカメラ1は、RTC23(図1参照)から現在時刻の情報を取得する処理を実行する。その後、ステップS32の処理に進む。   In step S31 shown in FIG. 7, the digital camera 1 executes a process of acquiring information on the current time from the RTC 23 (see FIG. 1). Thereafter, the process proceeds to step S32.

ステップS32において、デジタルカメラ1は、画像交換モード情報を取得する処理を実行する。その後、ステップS33の処理に進む。   In step S <b> 32, the digital camera 1 executes processing for acquiring image exchange mode information. Thereafter, the process proceeds to step S33.

ステップS33において、デジタルカメラ1は、不揮発性メモリー21の記憶領域における認証情報データを記憶するための領域、即ち認証情報記憶テーブルに空きがあるか否かを探索するサーチ処理を実行する。   In step S <b> 33, the digital camera 1 executes a search process for searching for an area for storing the authentication information data in the storage area of the nonvolatile memory 21, that is, whether or not there is a vacancy in the authentication information storage table.

次いで、ステップS34において、デジタルカメラ1が、不揮発性メモリー21に認証情報記憶テーブルの空き領域を確認した場合には、ステップS38の処理に進む。   Next, when the digital camera 1 confirms an empty area of the authentication information storage table in the nonvolatile memory 21 in step S34, the process proceeds to step S38.

ステップS38において、デジタルカメラ1は、画像交換モード情報を含む認証情報を不揮発性メモリー21の空き領域に記憶する処理を実行する。その後、一連の動作を終了する。   In step S <b> 38, the digital camera 1 executes processing for storing authentication information including image exchange mode information in a free area of the nonvolatile memory 21. Then, a series of operation | movement is complete | finished.

一方、上述のステップS34の処理において、デジタルカメラ1は、不揮発性メモリー21に認証情報記憶テーブルの空き領域を確認できなかった場合には、次のステップS35の処理に進む。   On the other hand, when the digital camera 1 cannot confirm the empty area of the authentication information storage table in the nonvolatile memory 21 in the process of step S34 described above, the process proceeds to the next step S35.

ステップS35において、デジタルカメラ1は、不揮発性メモリー21における認証情報記憶テーブル内に記録されている複数の認証情報のうち画像交換モードフラグがオン(ON)となっているレコード(情報)の有無を確認する処理を実行する。ここで、画像交換モードフラグがオン(ON)であるレコード(情報)が確認された場合には、ステップS37の処理に進む。   In step S <b> 35, the digital camera 1 determines whether or not there is a record (information) in which the image exchange mode flag is on (ON) among a plurality of pieces of authentication information recorded in the authentication information storage table in the nonvolatile memory 21. Execute the process to check. Here, when a record (information) whose image exchange mode flag is ON is confirmed, the process proceeds to step S37.

ステップS37において、デジタルカメラ1は、該当レコード、即ち画像交換モードフラグがオン(ON)であるレコード(情報)を削除した後、この削除により生じた空き領域に今回の認証情報、即ち画像交換モード情報を含む最新の認証情報を書き込む上書き記憶処理を実行する。その後、一連の処理を終了する。   In step S37, the digital camera 1 deletes the corresponding record, that is, the record (information) whose image exchange mode flag is on (ON), and then deletes the current authentication information, that is, the image exchange mode, in the empty area generated by the deletion. An overwrite storage process for writing the latest authentication information including information is executed. Thereafter, the series of processing is terminated.

一方、上述のステップS35の処理において、画像交換モードフラグがオン(ON)であるレコード(情報)が確認されなかった場合には、次のステップS36の処理に進む。   On the other hand, when the record (information) whose image exchange mode flag is ON is not confirmed in the process of step S35 described above, the process proceeds to the next step S36.

ステップS36において、デジタルカメラ1は、不揮発性メモリー21の認証情報記憶テーブル内に記憶されている複数の認証情報のうち認証日付情報が最も古いレコード(情報)を探し、これを削除した後、この削除により生じた空き領域に今回の認証情報、即ち画像交換モード情報を含む最新の認証情報を書き込む上書き記憶処理を実行する。その後、一連の処理を終了する。   In step S36, the digital camera 1 searches for a record (information) having the oldest authentication date information from among a plurality of authentication information stored in the authentication information storage table of the nonvolatile memory 21, and deletes this record. Overwrite storage processing is executed in which the latest authentication information including the current authentication information, that is, the image exchange mode information, is written in the empty area generated by the deletion. Thereafter, the series of processing is terminated.

以上説明したように上記一実施形態によれば、デバイス側においては、認証確認画面(図4,図5)を表示中に、いずれ認証されるであろう認証情報データに含まれる暗号化コードを用いて画像データファイルの一部のデータを暗号化し、通信先であるホスト側に向けて暗号化データを送信するようにしている。そして、使用者による認証確認画面における承認指示を受けて残りの主画像データについての暗号化処理及び送信処理を実行するようにしている。この場合において、認証に先立って送信する画像データファイルの一部のデータとは、サムネイル画像や画像情報のデータとしている。   As described above, according to the above-described embodiment, on the device side, while the authentication confirmation screen (FIGS. 4 and 5) is being displayed, the encryption code included in the authentication information data that will be authenticated will be displayed. It is used to encrypt part of the data in the image data file and send the encrypted data to the host side which is the communication destination. Then, upon receiving an approval instruction on the authentication confirmation screen by the user, encryption processing and transmission processing for the remaining main image data are executed. In this case, the partial data of the image data file to be transmitted prior to authentication is thumbnail image or image information data.

このような構成によれば、使用者が認証確認画面を見ながら確認を行っている間に、転送しようとする画像データファイルの一部のデータを先行して通信相手に転送してしまうので、認証確認画面を表示して承認指示を待つ間は、処理動作を停止して認証後に初めて全データを転送する従来の通信方法に比べて、認証後に行われるデータ転送時のデータ量が少なくて済み、よって、転送時間の短縮化に寄与することができる。   According to such a configuration, while the user is confirming while looking at the authentication confirmation screen, a part of the data of the image data file to be transferred is transferred to the communication partner in advance. While waiting for the authorization instruction while displaying the authentication confirmation screen, the amount of data at the time of data transfer after authentication is smaller than the conventional communication method that stops processing operation and transfers all data for the first time after authentication. Therefore, it is possible to contribute to shortening the transfer time.

画像データファイルを受信する側(ホスト機器)においては、使用者による認証確認前の段階で、一部のデータを受信して、これを認証確認画面に含めた形態で表示するようにしている。また、使用者による認証が確定した後には残りの主画像データを受信して、先に受信していた一部のデータ(サムネイル画像及び画像情報データ)と合わせて(マージして)一つの画像データファイルを生成し、これを記録媒体15に記録するように構成している。   On the side (host device) that receives the image data file, a part of the data is received and displayed in a form included in the authentication confirmation screen before the authentication confirmation by the user. In addition, after the authentication by the user is confirmed, the remaining main image data is received and combined with (merged with) a part of the previously received data (thumbnail image and image information data). A data file is generated and recorded on the recording medium 15.

このような手段をとることにより、データ転送により受信されるであろう画像データファイルの概略(サムネイル画像)を認証確認する以前の段階で予め確認することができるので、視覚的に判りやすいユーザーインターフェースとすることができ、よって使用者に良好な使用感を与えることができる。   By adopting such means, the outline (thumbnail image) of the image data file that will be received by data transfer can be confirmed in advance before the authentication confirmation, so that the user interface that is easy to understand visually Therefore, it is possible to give a good feeling to the user.

使用者による認証確認前の段階で画像データファイルの一部のデータ(サムネイル画像等)を送信するための条件として、その画像転送がその場限りとなる可能性の高い画像交換モードである場合に限定しているので、手軽な画像転送を行い得るコミュニケーションツールとしての活用が可能となる。この場合においても、セキュリティを考慮して、所望の通信相手以外に通信可能な機器が付近に存在しないことを確認するようにしているので、不用意に所望の通信相手以外の通信接続がなされることを防止することができる。   As a condition for transmitting a part of the data of the image data file (thumbnail image etc.) at the stage before the authentication confirmation by the user, when the image exchange mode has a high possibility that the image transfer is limited on the spot. Since it is limited, it can be used as a communication tool that can easily transfer images. Even in this case, in consideration of security, since it is confirmed that there is no device that can communicate with other than the desired communication partner, communication connection other than the desired communication partner is inadvertently made. This can be prevented.

無線通信接続を確立した通信相手に対応する認証情報データは、各機器内の不揮発性メモリー(21)の記憶領域に記憶するようになっている。この場合において、認証情報データに画像交換モードフラグを含めるようにしたので、その認証情報データは画像交換モードによるものであるか否かの識別を容易に行い得るようにしている。   Authentication information data corresponding to a communication partner that has established a wireless communication connection is stored in a storage area of a nonvolatile memory (21) in each device. In this case, since the image exchange mode flag is included in the authentication information data, it is possible to easily identify whether or not the authentication information data is in the image exchange mode.

ところで、不揮発性メモリー(21)の記憶容量は有限なものであるので、不揮発性メモリー(21)において認証情報データを記憶するための領域である認証情報記憶テーブルに空き領域が存在しない場合には、比較的重要ではないと考えられる画像交換モードによる認証情報データから優先的に削除して空き領域を確保するようにしている。この場合において、削除の対象となる認証情報データは、画像交換モードフラグを参照して行われる。これにより、その場限りとなる可能性の高い画像交換モードによる認証情報データよりも、例えば特定のホストPCに対する認証情報データを残すようにすることで、不揮発性メモリー(21)の有限の記憶領域を効率的に使用することができ、よって不揮発性メモリー(21)を不必要に大容量化する必要がなくなり、機器自体の製造コストの上昇を抑えることができる。   By the way, since the storage capacity of the nonvolatile memory (21) is finite, when there is no free area in the authentication information storage table, which is an area for storing authentication information data in the nonvolatile memory (21). Therefore, an empty area is secured by preferentially deleting the authentication information data in the image exchange mode which is considered to be relatively unimportant. In this case, the authentication information data to be deleted is performed with reference to the image exchange mode flag. Accordingly, the authentication information data for the specific host PC is left, for example, rather than the authentication information data in the image exchange mode that is likely to be limited, so that the finite storage area of the nonvolatile memory (21). Therefore, it is not necessary to unnecessarily increase the capacity of the nonvolatile memory (21), and an increase in manufacturing cost of the device itself can be suppressed.

なお、本発明は上述した実施形態に限定されるものではなく、発明の主旨を逸脱しない範囲内において種々の変形や応用を実施し得ることが可能であることは勿論である。さらに、上記実施形態には、種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせによって、種々の発明が抽出され得る。例えば、上記一実施形態に示される全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。   It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications and applications can be implemented without departing from the spirit of the invention. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the effect of the invention Can be obtained as an invention.

本発明の一実施形態の通信端末装置の内部概略構成を示すブロック構成図。The block block diagram which shows the internal schematic structure of the communication terminal device of one Embodiment of this invention. 図1の通信端末装置における鍵生成部の内部詳細構成を示す要部ブロック構成図。The principal part block block diagram which shows the internal detailed structure of the key generation part in the communication terminal device of FIG. 本発明の一実施形態の通信方法を示すフローチャート。The flowchart which shows the communication method of one Embodiment of this invention. 図1の通信端末装置において一つの画像データファイルの転送を行った場合の認証情報確認画面の表示例を示す図。The figure which shows the example of a display of the authentication information confirmation screen at the time of transferring one image data file in the communication terminal device of FIG. 図1の通信端末装置において複数の画像データファイルの転送を行った場合の認証情報確認画面の表示例を示す図。The figure which shows the example of a display of the authentication information confirmation screen at the time of transferring several image data file in the communication terminal device of FIG. 図1の通信端末装置において、無線通信による画像データの転送を行う際の画像転送モードの変更処理シーケンスを示すフローチャート。FIG. 3 is a flowchart showing an image transfer mode change processing sequence when image data is transferred by wireless communication in the communication terminal apparatus of FIG. 1. FIG. 図1の通信端末装置において、認証情報を不揮発性メモリーに記憶する際の処理シーケンスを示すフローチャート。The flowchart which shows the process sequence at the time of memorize | storing authentication information in a non-volatile memory in the communication terminal device of FIG.

符号の説明Explanation of symbols

1……通信端末装置,デジタルカメラ,デバイス機器
2……外部装置,PC,ホスト機器
2a……表示部
10……CPU
11……撮像部
14……表示部
15……記録媒体
17……無線通信部
18……暗号化復号化処理部
21……不揮発性メモリー
22……操作入力部
30……鍵生成部
31……秘密鍵生成部
32……公開鍵生成部
33……公開鍵交換部
34……確認情報生成部
35……共通鍵生成部
36……暗号鍵生成部
DESCRIPTION OF SYMBOLS 1 ... Communication terminal device, digital camera, device apparatus 2 ... External device, PC, host apparatus 2a ... Display unit 10 ... CPU
DESCRIPTION OF SYMBOLS 11 ... Imaging part 14 ... Display part 15 ... Recording medium 17 ... Wireless communication part 18 ... Encryption / decryption processing part 21 ... Non-volatile memory 22 ... Operation input part 30 ... Key generation part 31 ... ... Secret key generation unit 32 ... Public key generation unit 33 ... Public key exchange unit 34 ... Confirmation information generation unit 35 ... Common key generation unit 36 ... Encryption key generation unit

Claims (7)

相互に無線で通信する第1の通信端末装置と第2の通信端末装置との間の通信を確立する通信方法であって、
それぞれの通信端末装置で秘密キーを生成する秘密キー生成ステップと、
それぞれの通信端末装置で上記秘密キーから公開キーを生成する公開キー生成ステップと、
上記第1の通信端末装置と上記第2の通信端末装置との間で上記公開キーを交換する公開キー交換ステップと、
それぞれの通信端末装置で上記公開キー生成ステップで生成した公開キーと上記公開キー交換ステップで取得した公開キーとに基づいて確認情報を生成し表示する確認情報表示ステップと、
それぞれの通信端末装置で上記秘密キーと上記公開キー交換ステップで取得した公開キーとにより共通キーを生成する共通キー生成ステップと、
それぞれの通信端末装置で上記共通キーから暗号キーを生成する暗号キー生成ステップと、
上記第1の通信端末装置に記憶されているデータの一部を上記暗号キーで暗号化して上記第2の通信端末装置に送信する第1の送信ステップと、
使用者により入力された指示入力を受けて次の第2の送信ステップの実行を許可する許可ステップと、
上記第1の通信端末装置に記憶されているデータの残りのデータを上記暗号キーで暗号化して上記第2の通信端末装置に送信する第2の送信ステップと、
を実行することを特徴とする通信方法。
A communication method for establishing communication between a first communication terminal apparatus and a second communication terminal apparatus that communicate with each other wirelessly,
A secret key generation step of generating a secret key in each communication terminal device;
A public key generation step of generating a public key from the secret key in each communication terminal device;
A public key exchange step for exchanging the public key between the first communication terminal device and the second communication terminal device;
A confirmation information display step for generating and displaying confirmation information based on the public key generated in the public key generation step and the public key acquired in the public key exchange step in each communication terminal device;
A common key generation step of generating a common key from the secret key and the public key acquired in the public key exchange step in each communication terminal device;
An encryption key generation step of generating an encryption key from the common key in each communication terminal device;
A first transmission step of encrypting a part of data stored in the first communication terminal device with the encryption key and transmitting the encrypted data to the second communication terminal device;
A permission step of allowing execution of the next second transmission step in response to an instruction input input by the user;
A second transmission step of encrypting the remaining data stored in the first communication terminal device with the encryption key and transmitting the encrypted data to the second communication terminal device;
The communication method characterized by performing.
上記第1の通信端末装置は、第1のデジタルカメラであり、
上記第1の送信ステップで送信するデータの一部は、上記第2の送信ステップで送信する画像データの縮小画像データであり、
上記第1の送信ステップの処理の後に、
上記第1の送信ステップで上記第1のデジタルカメラから送信された縮小画像データを受信し、その縮小画像データに基づく縮小画像を上記第2の通信端末装置の表示装置に表示するインデックス表示ステップを、
さらに実行することを特徴とする請求項1に記載の通信方法。
The first communication terminal device is a first digital camera,
A part of the data transmitted in the first transmission step is reduced image data of the image data transmitted in the second transmission step.
After the processing of the first transmission step,
An index display step of receiving reduced image data transmitted from the first digital camera in the first transmission step and displaying a reduced image based on the reduced image data on a display device of the second communication terminal device; ,
The communication method according to claim 1, further executed.
上記第2の通信端末装置は、第2のデジタルカメラであることを特徴とする請求項2に記載の通信方法。   The communication method according to claim 2, wherein the second communication terminal device is a second digital camera. 上記許可ステップの処理の後に、少なくとも一方の通信端末装置において、上記暗号キーを含む接続情報を不揮発性メモリーに記憶する接続情報記憶ステップを、さらに実行することを特徴とする請求項1に記載の通信方法。   The connection information storing step of storing connection information including the encryption key in a non-volatile memory is further executed in at least one of the communication terminal devices after the processing of the permission step. Communication method. 通信機能を有する通信端末装置であって、
外部装置との間でデータを送受信する通信手段と、
上記外部装置に送信すべき情報を記憶する記憶手段と、
秘密キーを生成する秘密キー生成手段と、
上記秘密キーに基づいて第1の公開キーを生成する公開キー生成手段と、
上記通信手段を介して上記外部装置に上記第1の公開キーを送信すると共に、上記通信手段を介して上記外部装置から第2の公開キーを受信する公開キー交換手段と、
上記第1の公開キーと上記第2の公開キーとから確認情報を生成する確認情報生成手段と、
上記確認情報を使用者に提示する確認情報提示手段と、
使用者の指示操作を入力する操作入力手段と、
上記秘密キーと上記第2の公開キーとから共通キーを生成する共通キー生成手段と、
上記共通キーからデータを暗号化するための暗号キーを生成する暗号キー生成手段と、
上記暗号キーでデータの暗号化処理を行う暗号化手段と、
を具備し、
上記暗号化手段は、上記記憶手段に記憶されているデータうち送信すべきデータの一部を暗号化処理して上記通信手段を介して送信すると共に、上記確認情報提示手段により使用者に提示された確認情報についての承認入力が上記操作入力手段から指示操作された場合には、上記送信すべきデータの残りのデータを上記暗号キーを用いて暗号化処理して上記通信手段を介して送信することを特徴とする通信端末装置。
A communication terminal device having a communication function,
A communication means for transmitting / receiving data to / from an external device;
Storage means for storing information to be transmitted to the external device;
A secret key generating means for generating a secret key;
Public key generating means for generating a first public key based on the secret key;
Public key exchange means for transmitting the first public key to the external device via the communication means and receiving a second public key from the external device via the communication means;
Confirmation information generating means for generating confirmation information from the first public key and the second public key;
Confirmation information presenting means for presenting the confirmation information to the user;
Operation input means for inputting a user's instruction operation;
A common key generating means for generating a common key from the secret key and the second public key;
Encryption key generation means for generating an encryption key for encrypting data from the common key;
Encryption means for encrypting data with the encryption key;
Comprising
The encryption means encrypts a part of the data to be transmitted among the data stored in the storage means, transmits the encrypted data via the communication means, and is presented to the user by the confirmation information presenting means. When the approval input for the confirmation information is instructed from the operation input means, the remaining data of the data to be transmitted is encrypted using the encryption key and transmitted via the communication means. A communication terminal device.
被写体を撮影する撮影手段を、さらに有し、
上記記憶手段は、上記撮影手段により撮影された画像を表わす画像データとして記憶し、
上記暗号化手段は、上記画像データに基づく縮小画像データと上記画像データに関連する画像情報データとを暗号化して、上記通信手段を介して送信することを特徴とする請求項5に記載の通信端末装置。
It further has a photographing means for photographing the subject,
The storage means stores image data representing an image photographed by the photographing means,
6. The communication according to claim 5, wherein the encryption unit encrypts the reduced image data based on the image data and the image information data related to the image data, and transmits the encrypted image data via the communication unit. Terminal device.
上記共通キーを含む接続情報を少なくとも記憶する不揮発性メモリーを、さらに有することを特徴とする請求項5に記載の通信端末装置。   The communication terminal device according to claim 5, further comprising a nonvolatile memory that stores at least connection information including the common key.
JP2006343481A 2006-12-20 2006-12-20 Communication terminal equipment and communication method Pending JP2008160214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006343481A JP2008160214A (en) 2006-12-20 2006-12-20 Communication terminal equipment and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006343481A JP2008160214A (en) 2006-12-20 2006-12-20 Communication terminal equipment and communication method

Publications (1)

Publication Number Publication Date
JP2008160214A true JP2008160214A (en) 2008-07-10

Family

ID=39660683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006343481A Pending JP2008160214A (en) 2006-12-20 2006-12-20 Communication terminal equipment and communication method

Country Status (1)

Country Link
JP (1) JP2008160214A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104393989A (en) * 2014-10-30 2015-03-04 北京神州泰岳软件股份有限公司 A secret key negotiating method and device
US11381388B2 (en) 2018-11-27 2022-07-05 Samsung Electronics Co., Ltd. Storage device sharing data encryption key as encrypted and operating method of storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104393989A (en) * 2014-10-30 2015-03-04 北京神州泰岳软件股份有限公司 A secret key negotiating method and device
US11381388B2 (en) 2018-11-27 2022-07-05 Samsung Electronics Co., Ltd. Storage device sharing data encryption key as encrypted and operating method of storage device

Similar Documents

Publication Publication Date Title
CN110032344B (en) Communication apparatus, control method thereof, and computer-readable recording medium
US20110317839A1 (en) Information processing device and method, program, and information processing system
JP2005333606A (en) Connection authentication in radio communication network system
US20100017612A1 (en) Electronic Apparatus and Communication System
JP4911705B2 (en) Imaging device
JP2009124302A (en) Wireless lan system
JP2008160214A (en) Communication terminal equipment and communication method
JP2006319575A (en) Mobile terminal system and function restriction method therefor
JP2009055201A (en) Communication system and communication device
JP4820143B2 (en) Control system and portable terminal
US20190028558A1 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
JP2007053612A (en) Communication device and communication method
US20190020655A1 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
JP3743814B2 (en) Image security system, electronic camera device, and image processing device
JP7026750B2 (en) Image processing equipment, its control method, and communication system
JP2010068480A (en) Image processing apparatus, method and program for executing encrypted job in the apparatus
US11108772B2 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
JP2009094818A (en) Terminal device
JP2011223638A (en) Imaging apparatus
CN105610775A (en) Decryption method and system thereof, encryption method and system thereof, and mobile terminal
JP2021190867A (en) Communication, control method therefor and program
JP4519688B2 (en) Information terminal device, information processing system, information processing program, and recording medium
JP2000299847A (en) Digital camera
JP7266727B2 (en) Communication device and its control method
JP2010239352A (en) Network terminal and communication method