JP5207654B2 - Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card - Google Patents

Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card Download PDF

Info

Publication number
JP5207654B2
JP5207654B2 JP2007107354A JP2007107354A JP5207654B2 JP 5207654 B2 JP5207654 B2 JP 5207654B2 JP 2007107354 A JP2007107354 A JP 2007107354A JP 2007107354 A JP2007107354 A JP 2007107354A JP 5207654 B2 JP5207654 B2 JP 5207654B2
Authority
JP
Japan
Prior art keywords
signal
pairing
unit
communication device
request signal
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.)
Expired - Fee Related
Application number
JP2007107354A
Other languages
Japanese (ja)
Other versions
JP2008270907A (en
Inventor
豊喜 笹倉
宏二 山村
Original Assignee
塩谷 安男
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 塩谷 安男 filed Critical 塩谷 安男
Priority to JP2007107354A priority Critical patent/JP5207654B2/en
Publication of JP2008270907A publication Critical patent/JP2008270907A/en
Application granted granted Critical
Publication of JP5207654B2 publication Critical patent/JP5207654B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信装置、通信装置間のペアリング方法、ウェアラブルキーとICカードとをペアリングする方法、及びウェアラブルキーとICカードからなるシステムに関する。   The present invention relates to a communication device, a pairing method between communication devices, a method for pairing a wearable key and an IC card, and a system including the wearable key and an IC card.

双方向で通信をしている2つの通信装置(以下、「ユニット」)AとユニットBは、「ペアリング」という動作により互いを認証する。   Two communication apparatuses (hereinafter referred to as “units”) A and unit B communicating in two directions authenticate each other by an operation called “pairing”.

例えば、予めユニットA,BにIDが付与され、そのIDをメモリに記憶しておき、ユニットA,B間で通信を行うことで互いに認証する。具体的には、携帯電話で相手と通信するときは、相手の番号を呼び出して通信を行う。また、車のキー(「キーレスエントリー」などと呼ばれる)のIDが予め車内の記憶装置に記憶され、キーから無線によりIDが送信されると、車内においてそのIDが記憶装置に記憶されているか否かを判定することで車のドアの開閉が行われる。   For example, IDs are assigned to the units A and B in advance, the IDs are stored in the memory, and the units A and B communicate with each other to authenticate each other. Specifically, when communicating with the other party using a mobile phone, communication is performed by calling the other party's number. In addition, an ID of a car key (referred to as “keyless entry” or the like) is stored in advance in a storage device in the vehicle, and when the ID is transmitted wirelessly from the key, whether or not the ID is stored in the storage device in the vehicle. Whether the door of the car is opened or closed is determined.

他方、従来技術として、携帯電話機などの各種機器が置き忘れ、盗難、不正使用又は無断使用されるのを防止するため、機器の使用制限機能を有するワイヤレス認証システムも開示されている(例えば、以下の特許文献1)。
国際公開番号 WO 03/058936 A1
On the other hand, as a conventional technique, a wireless authentication system having a function of restricting use of devices is disclosed in order to prevent misplacement, theft, unauthorized use, or unauthorized use of various devices such as mobile phones (for example, Patent Document 1).
International Publication Number WO 03/058936 A1

しかしながら、上述した例はいずれもID等により、予め登録された通信相手(ユニット)と認証を行うためのペアリングに関するものである。登録されていない通信相手と認証を行い得るペアリングが従来から望まれていた。   However, all of the above-described examples relate to pairing for performing authentication with a communication partner (unit) registered in advance using an ID or the like. Conventionally, a pairing capable of authenticating with an unregistered communication partner has been desired.

そこで、本発明は上記問題点に鑑みてなされてもので、その目的は、登録されていない通信相手と認証を行い得る通信装置、通信装置間のペアリング方法、ウェアラブルキーとICカードとをペアリングする方法、及びウェアラブルキーとICカードからなるシステムを提供することにある。   Therefore, even though the present invention has been made in view of the above problems, it is an object of the present invention to pair a communication device that can authenticate with a communication partner that is not registered, a pairing method between communication devices, a wearable key and an IC card. An object of the present invention is to provide a ring method and a system comprising a wearable key and an IC card.

上記目的を達成するために、本発明の一実施態様によれば、他の通信装置と通信を行う通信装置において、N(Nは1以上の自然数)ビットの乱数を発生する乱数発生部と、前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記他の通信装置に送信する送信部と、暗号化された前記ペアリング要求信号であるペアリング受諾信号を前記他の通信装置から受信する受信部と、受信した前記ペアリング受諾信号を復号化する復号化部と、前記復号化部により復号化された信号と前記ペアリング要求信号とが一致するとき、前記ペアリング要求信号と前記受信部により受信した前記ペアリング受諾信号とを記憶する記憶部とを備えることを特徴とする。   In order to achieve the above object, according to an embodiment of the present invention, in a communication device that communicates with another communication device, a random number generator that generates a random number of N (N is a natural number of 1 or more) bits; A transmitting unit that generates a pairing request signal including the random number and transmits the pairing request signal to the other communication device; and a pairing acceptance signal that is the encrypted pairing request signal is transmitted to the other communication device. A receiving unit that receives the pairing acceptance signal, a decoding unit that decodes the received pairing acceptance signal, and the pairing request signal when the signal decoded by the decoding unit matches the pairing request signal And a storage unit for storing the pairing acceptance signal received by the receiving unit.

また、上記目的を達成するために、本発明の他の実施態様によれば、他の通信装置と通信を行う通信装置におけるペアリング方法であって、N(Nは1以上の自然数)ビットの乱数を発生し、前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記他の通信装置に送信し、暗号化された前記ペアリング要求信号であるペアリング受諾信号を前記他の通信装置から受信し、受信した前記ペアリング受諾信号を復号化し、前記復号化された信号と前記ペアリング要求信号とが一致するとき、前記ペアリング要求信号と前記受信部により受信した前記ペアリング受諾信号とを記憶部に記憶することを特徴する。   In order to achieve the above object, according to another embodiment of the present invention, there is provided a pairing method in a communication device that communicates with another communication device, wherein N (N is a natural number of 1 or more) bits. Generate a random number, generate a pairing request signal consisting of the random number, send the pairing request signal to the other communication device, and send the pairing acceptance signal that is the encrypted pairing request signal to the other Receiving the pairing acceptance signal received from the communication device, and when the decoded signal and the pairing request signal match, the pairing request signal and the pairing received by the receiving unit The acceptance signal is stored in the storage unit.

更に、上記目的を達成するために、本発明の他の実施態様によれば、ウェアラブルキーとICカードとをペアリングする方法において、前記ウェアラブルキーにおいて、N(Nは1以上の自然数)ビットの乱数を発生して、当該乱数よりなるペアリング要求信号を前記ICカードに送信し、前記ICカードにおいて、受信した前記ペアリング要求信号を暗号化し、暗号化された前記ペアリング要求信号をペアリング受諾信号として前記ウェアラブルキーに送信し、前記ウェアラブルキーにおいて、受信した前記ペアリング受諾信号を復号化し、復号化した信号と前記ペアリング要求信号とが一致するとき、ペアリング確認信号を前記ICカードに送信するとともに、前記ペアリング要求信号と前記ペアリング受諾信号とを、前記ウェアラブルキーのメモリに記憶し、前記ICカードにおいて、前記ペアリング確認信号を受信すると、前記ペアリング要求信号と前記ペアリング受諾信号とを、前記ICカードのメモリに記憶することを特徴とする。   In order to achieve the above object, according to another embodiment of the present invention, in a method for pairing a wearable key and an IC card, N (N is a natural number of 1 or more) bits in the wearable key. Generate a random number, send a pairing request signal comprising the random number to the IC card, encrypt the received pairing request signal in the IC card, and pair the encrypted pairing request signal Transmitting to the wearable key as an acceptance signal, decrypting the received pairing acceptance signal in the wearable key, and when the decrypted signal and the pairing request signal match, a pairing confirmation signal is sent to the IC card And sending the pairing request signal and the pairing acceptance signal to the wearable Stored in over the memory in the IC card receives the pairing acknowledgment signal, and the pairing request signal to the pairing acceptance signal, and to store in the memory of the IC card.

更に、上記目的を達成するために本発明の他の実施態様によれば、ウェアラブルキーとICカードとからなるシステムにおいて、前記ウェアラブルキーには、N(Nは1以上の自然数)ビットの乱数を発生する乱数発生部と、前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記ICカードに送信するペアリング要求信号送信部と、 暗号化された前記ペアリング要求信号であるペアリング受諾信号を前記ICカードから受信するペアリング受諾信号受信部と、受信した前記ペアリング受諾信号を復号化する復号化部と、前記復号化により復号化された信号と前記ペアリング要求信号とが一致するとき、一致することを示すペアリング確認信号を前記ICカードに送信するともに、前記ペアリング要求信号と前記ペアリング受諾信号受信部により受信した前記ペアリング受諾信号とをメモリに記憶するウェアラブルキー記憶部とを備え、前記ICカードには、前記ウェアラブルキーから送信された前記ペアリング要求信号を受信するペアリング要求信号受信部と、受信した前記ペアリング要求信号を暗号化する暗号化部と、暗号化された前記ペアリング要求信号をペアリング受諾信号として前記ウェアラブルキーに送信するペアリング受諾信号送信部と、前記ペアリング確認信号を受信したとき、前記ペアリング要求信号と前記ペアリング受諾信号とをメモリに記憶するICカード記憶部とを備えることを特徴とする。   In order to achieve the above object, according to another embodiment of the present invention, in a system comprising a wearable key and an IC card, a random number of N (N is a natural number of 1 or more) bits is assigned to the wearable key. A generated random number generation unit, a pairing request signal transmission unit that generates a pairing request signal composed of the random numbers and transmits the pairing request signal to the IC card, and a pair that is the encrypted pairing request signal A pairing acceptance signal receiving unit for receiving a ring acceptance signal from the IC card; a decoding unit for decoding the received pairing acceptance signal; a signal decoded by the decoding; and the pairing request signal; When the two match, a pairing confirmation signal indicating a match is transmitted to the IC card, and the pairing request signal and the pair are transmitted. And a wearable key storage unit that stores in the memory the pairing acceptance signal received by the pairing acceptance signal receiving unit, and the IC card receives the pairing request signal transmitted from the wearable key. A request signal receiving unit, an encryption unit for encrypting the received pairing request signal, and a pairing acceptance signal transmitting unit for transmitting the encrypted pairing request signal to the wearable key as a pairing acceptance signal; And an IC card storage unit that stores the pairing request signal and the pairing acceptance signal in a memory when the pairing confirmation signal is received.

本発明によれば、登録されていない相手と認証を行い得る通信装置、通信装置間のペアリング方法、ウェアラブルキーとICカードとをペアリングする方法、及びウェアラブルキーとICカードとからなるシステムを提供することができる。   According to the present invention, there is provided a communication device capable of authenticating with an unregistered partner, a pairing method between communication devices, a method for pairing a wearable key and an IC card, and a system comprising the wearable key and an IC card. Can be provided.

以下、図面を参照して本発明を実施するための最良の形態を説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

まず、実施例1について説明する。図1は、本発明が適用されるユニット(又は通信装置)A,B,Cの構成例を示す図である。各ユニットA,B,Cは略同一構成で、図1はユニットA10の例を示す。   First, Example 1 will be described. FIG. 1 is a diagram illustrating a configuration example of units (or communication apparatuses) A, B, and C to which the present invention is applied. Each unit A, B, C has substantially the same configuration, and FIG. 1 shows an example of the unit A10.

ユニットA10は、受信アンテナ11と、送受信回路12と、機能演算回路13と、スイッチ(SW)14と、送受信兼用アンテナ15とを備える。また、送受信回路12は、受信器121と送信器122とを備える。更に、機能演算回路13は、使用制限機能部131と、ペアリング機能部132と、ワイヤレス認証機能部133と、探索機能部134と、受信レベル測定回路135と、警報機能部136、時間測定部137と、探索用信号発生部138と、方位検出回路139とを備える。   The unit A10 includes a reception antenna 11, a transmission / reception circuit 12, a function calculation circuit 13, a switch (SW) 14, and a transmission / reception antenna 15. The transmission / reception circuit 12 includes a receiver 121 and a transmitter 122. Furthermore, the function calculation circuit 13 includes a use restriction function unit 131, a pairing function unit 132, a wireless authentication function unit 133, a search function unit 134, a reception level measurement circuit 135, an alarm function unit 136, and a time measurement unit. 137, a search signal generator 138, and an orientation detection circuit 139.

被制御機器40は、ユニットA10に対して使用制限される機器である。例えば、ユニットA,B間の通信により被制御機器40の使用が制限される。   The controlled device 40 is a device whose use is restricted with respect to the unit A10. For example, the use of the controlled device 40 is restricted by communication between the units A and B.

図2は、本実施例1におけるユニットA10とユニットB20の構成例を示す図である。図1に対して、ペアリング機能部132の具体的構成例を含む図である。本実施例1では、このペアリング機能部132により、ユニットA10,B20間で予めIDを付与することなく、初めてペアリングを行ったときに自動的にIDが発行され、そのIDを互いの記憶装置に登録することで、その相手とのみ認証関係を成立させるようにした例である。   FIG. 2 is a diagram illustrating a configuration example of the unit A10 and the unit B20 in the first embodiment. FIG. 2 is a diagram including a specific configuration example of the pairing function unit 132 with respect to FIG. 1. In the first embodiment, the pairing function unit 132 automatically issues an ID when pairing is performed for the first time without previously assigning an ID between the units A10 and B20, and stores the ID in each other. This is an example in which an authentication relationship is established only with the other party by registering with the apparatus.

ユニットA10のペアリング機能部132は、ペアリングスイッチ(SW)1321と、乱数発生部1322と、送信用メモリ1323と、復号化部1324と、受信用メモリ1325と、IDメモリ1326を備える。   The pairing function unit 132 of the unit A10 includes a pairing switch (SW) 1321, a random number generation unit 1322, a transmission memory 1323, a decryption unit 1324, a reception memory 1325, and an ID memory 1326.

一方、ユニットB20のペアリング機能部132は、ペアリングスイッチ1327と、暗号化部1328と、送信用メモリ1329と、受信用メモリ1330と、IDメモリ1331とを備える。   On the other hand, the pairing function unit 132 of the unit B20 includes a pairing switch 1327, an encryption unit 1328, a transmission memory 1329, a reception memory 1330, and an ID memory 1331.

次に図3等を参照して、ユニットA10,B20間におけるペアリングの動作例について説明する。図3は、ペアリングのシーケンス図を示す。本シーケンスでは、ユニットA10がキーとして動作し、ユニットB20がターゲットとして動作する。尚、ペアリングとは、ユニットA10とユニットB20とが互いに認証できる状態にすることをいう。   Next, an example of pairing operation between the units A10 and B20 will be described with reference to FIG. FIG. 3 shows a pairing sequence diagram. In this sequence, unit A10 operates as a key, and unit B20 operates as a target. The pairing means that the unit A10 and the unit B20 can authenticate each other.

まず、ユニットA10とユニットB20とを近距離に近づける(S10)。   First, unit A10 and unit B20 are brought close to each other (S10).

次いで、ユニットA10のペアリングスイッチ1321がオンになり(S11)、ユニットB20のペアリングスイッチ1327もオンになる(S12)。   Next, the pairing switch 1321 of the unit A10 is turned on (S11), and the pairing switch 1327 of the unit B20 is also turned on (S12).

次いで、すでにユニットA10,B20間でペアリングされているか否かを判断する(S13)。例えば、乱数発生部1322が送信用メモリ1323を介してIDメモリ1326にアクセスし、当該メモリ1326にユニットA10,B20のID(具体的には、ペアリング要求信号Preqとペアリング受諾信号Pacc)が記憶されていればペアリングされていると判断し、そうでないとペアリングされていないと判断する。ペアリングされていると本シーケンスを実行する必要がなくなり、処理が終了する。   Next, it is determined whether or not pairing has already been performed between the units A10 and B20 (S13). For example, the random number generator 1322 accesses the ID memory 1326 via the transmission memory 1323, and the IDs of the units A10 and B20 (specifically, the pairing request signal Preq and the pairing acceptance signal Pacc) are stored in the memory 1326. If it is stored, it is determined that it is paired, otherwise it is determined that it is not paired. If paired, this sequence does not need to be executed, and the process ends.

ペアリングされていないと(S13でNO)、ユニットA10からユニットB20に対して呼出信号CAが発信される(S14)。呼出信号CAの発信は、例えば、ペアリングスイッチ1321がオンになると、その信号が乱数発生部1322から送信用メモリ1323を介して送信器122に出力され、送信器122ではその信号の入力により呼出信号CAを生成し発信する。   If not paired (NO in S13), the calling signal CA is transmitted from the unit A10 to the unit B20 (S14). For example, when the pairing switch 1321 is turned on, the call signal CA is transmitted from the random number generator 1322 to the transmitter 122 via the transmission memory 1323, and the transmitter 122 receives the call by inputting the signal. A signal CA is generated and transmitted.

このように、ユニットA10から呼出信号CAが発信されるのは、ユニットA10がすでに他のユニットとペアリングされていないときのみである。   In this way, the call signal CA is transmitted from the unit A10 only when the unit A10 is not already paired with another unit.

次いで、ユニットB20はその呼出信号CAを受信する(S15)。次いで、ユニットB20は、ユニットA10に対してすでにペアリングされているか否かを判断する(S16)。例えば、受信器121の呼出信号CAの受信により、暗号化部1328に受信したことを示す信号が出力され、暗号化部1328がIDメモリ1331にアクセスしてユニットA10,B20のIDが登録されているか否かを確認することにより判断する。すでにペアリングされていれば、本シーケンスの処理は終了する。   Next, the unit B20 receives the calling signal CA (S15). Next, the unit B20 determines whether it is already paired with the unit A10 (S16). For example, when the receiver 121 receives the calling signal CA, a signal indicating that the signal has been received is output to the encryption unit 1328, and the encryption unit 1328 accesses the ID memory 1331 to register the IDs of the units A10 and B20. It is judged by checking whether or not. If it has already been paired, the processing of this sequence ends.

ペアリングされていないと(S16でNO)、ユニットB20は呼出信号CAに対する応答信号RSを返信する(S17)。例えば、呼出信号CAの受信を示す信号が受信器121から暗号化部1328、送信用メモリ1329を介して送信器122に出力され、送信器122が返答信号RSを生成して送信する。   If not paired (NO in S16), the unit B20 returns a response signal RS to the calling signal CA (S17). For example, a signal indicating reception of the calling signal CA is output from the receiver 121 to the transmitter 122 via the encryption unit 1328 and the transmission memory 1329, and the transmitter 122 generates and transmits a response signal RS.

このように、ユニットB20が応答信号を返すのは、ユニットB20がすでに他のユニットとペアリングされていないときのみである。   Thus, the unit B20 returns a response signal only when the unit B20 is not already paired with another unit.

図4(A)及び同図(B)は、ユニットA10,B20間で送受信される呼出信号CAと応答信号RSのフォーマットの一例を示す図である。呼出信号CAは同期ビットとヘッダともに送信され、応答信号RSも同期ビットとヘッダともに送信される。   FIGS. 4A and 4B are diagrams showing examples of the format of the call signal CA and the response signal RS transmitted and received between the units A10 and B20. The call signal CA is transmitted together with the synchronization bit and the header, and the response signal RS is also transmitted together with the synchronization bit and the header.

図3に戻り、ユニットA10では、返答信号RSを受信すると、Nビットの乱数を発生する(S18)。例えば、受信器121が返答信号RSを受信すると乱数発生部1322に対して乱数発生を指示することにより、乱数発生部1322において乱数が発生する。   Returning to FIG. 3, upon receiving the response signal RS, the unit A10 generates an N-bit random number (S18). For example, when the receiver 121 receives the response signal RS, the random number generator 1322 generates a random number by instructing the random number generator 1322 to generate a random number.

そして、ユニットA10は、ユニットB20に対してペアリングを要求するためのペアリング要求信号Preqを発信する(S19)。この要求信号Preqは、S18の処理で発生した乱数である。乱数発生部1322で発生した乱数は、送信用メモリ132を介して送信器122に出力され、ペアリング要求信号Preqとして送信器122から発信する。   Then, the unit A10 transmits a pairing request signal Preq for requesting pairing to the unit B20 (S19). This request signal Preq is a random number generated in the process of S18. The random number generated by the random number generator 1322 is output to the transmitter 122 via the transmission memory 132 and transmitted from the transmitter 122 as a pairing request signal Preq.

ユニットB20は、ペアリング要求信号Preqを受信し(S20)、暗号化関数gを用いてペアリング要求信号Preqを暗号化する(S21)。例えば、受信器121がペアリング要求信号Preqを受信すると暗号化部1328に出力し、暗号化部1328において暗号化を行う。   The unit B20 receives the pairing request signal Preq (S20), and encrypts the pairing request signal Preq using the encryption function g (S21). For example, when the receiver 121 receives the pairing request signal Preq, the receiver 121 outputs the signal to the encryption unit 1328, and the encryption unit 1328 performs encryption.

次いで、ユニットB20は、暗号化された信号をペアリング受諾信号PaccとしてユニットA10に返信する(S22)。例えば、暗号化された信号は、送信用メモリ1329を介して送信器122に出力され、送信器122からペアリング受諾信号Paccとして送信される。   Next, the unit B20 returns the encrypted signal as a pairing acceptance signal Pacc to the unit A10 (S22). For example, the encrypted signal is output to the transmitter 122 via the transmission memory 1329 and transmitted from the transmitter 122 as a pairing acceptance signal Pacc.

図4(C)及び同図(D)は、ペアリング中にユニットA10,B20間で送信される信号のフォーマット例を示す図である。ペアリング要求信号Preqは、同期ビット及びヘッダとともに送信され、ペアリング受諾信号Paccも同期ビットとヘッダとともに送信される。   FIG. 4C and FIG. 4D are diagrams illustrating a format example of a signal transmitted between the units A10 and B20 during pairing. The pairing request signal Preq is transmitted together with the synchronization bit and the header, and the pairing acceptance signal Pacc is also transmitted together with the synchronization bit and the header.

図3に戻り、ユニットA10はペアリング受諾信号Paccを受信すると(S23)、復号化関数g−1を用いてペアリング受諾信号Paccを復号化する(S24)。そして、ユニットA10は復号化の結果が、ペアリング要求信号Preqを一致することを確認する(S25)。ユニットA10,B20が互いに同じ暗号化関数gを使用している正規のペアリング相手であることを確認するためである。 Returning to FIG. 3, when the unit A10 receives the pairing acceptance signal Pacc (S23), the unit A10 decodes the pairing acceptance signal Pacc using the decoding function g- 1 (S24). Then, the unit A10 confirms that the decoding result matches the pairing request signal Preq (S25). This is to confirm that the units A10 and B20 are regular pairing partners using the same encryption function g.

例えば、受信器121でペアリング受諾信号Paccを受信すると、復号化部1324に出力されて復号化が行われ、送信用メモリ1323に記憶されたペアリング要求信号Paccと一致するかにより処理が行われる。   For example, when the receiver 121 receives the pairing acceptance signal Pacc, it is output to the decoding unit 1324 to be decoded, and processing is performed depending on whether it matches the pairing request signal Pacc stored in the transmission memory 1323. Is called.

尚、一致しないと(S25でNO)、正規のペアリング相手ではないため処理は終了する。   If they do not match (NO in S25), the process ends because the party is not a regular pairing partner.

一致すると(S25でYES)、ユニットA10はペアリング確認信号Pokを送信する(S26)。例えば、復号化部1324でペアリング要求信号Preqとの一致が確認されると、復号部1324から送信器122にその旨を示す信号が出力され、送信器122においてペアリング確認信号Pokが生成され当該信号を送信する。   If they match (YES in S25), unit A10 transmits a pairing confirmation signal Pok (S26). For example, when the decoding unit 1324 confirms a match with the pairing request signal Preq, the decoding unit 1324 outputs a signal indicating that to the transmitter 122, and the transmitter 122 generates a pairing confirmation signal Pok. The signal is transmitted.

ユニットB20では、ペアリング確認信号Pokを受信すると(S27)、ペアリング要求信号Preqと、ペアリング受諾信号PaccをIDメモリ1331に記憶する(S28)。そして、ユニットB20はペアリング完了信号Pendを返信する(S29)。例えば、受信器121においてペアリング確認信号Pokを受信すると、受信したことを示す信号が暗号化部1328と受信用メモリ1330に出力され、暗号化部1328は送信用メモリ1329に記憶されたペアリング受諾信号Paccを読み出しIDメモリ1331に出力し、受信用メモリ1330は記憶されたペアリング要求信号Preqを読み出してIDメモリ1331に出力することで記憶する。   In the unit B20, when the pairing confirmation signal Pok is received (S27), the pairing request signal Preq and the pairing acceptance signal Pacc are stored in the ID memory 1331 (S28). Then, the unit B20 returns a pairing completion signal Pend (S29). For example, when the receiver 121 receives the pairing confirmation signal Pok, a signal indicating reception is output to the encryption unit 1328 and the reception memory 1330, and the encryption unit 1328 stores the pairing stored in the transmission memory 1329. The acceptance signal Pacc is read and output to the ID memory 1331, and the reception memory 1330 reads the stored pairing request signal Preq and outputs it to the ID memory 1331 for storage.

図4(E)及び同図(F)は、ペアリング完了時に送受信される信号のフォーマット例を示す図である。ペアリング確認信号Pokとペアリング完了信号Pendは、呼出信号CA等と同様に、同期ビット及びヘッダとともに送受信される。   FIG. 4E and FIG. 4F are diagrams showing a format example of a signal transmitted / received when pairing is completed. The pairing confirmation signal Pok and the pairing completion signal Pend are transmitted / received together with the synchronization bit and the header, similarly to the call signal CA and the like.

図3に戻り、ユニットA10はペアリング完了信号Pendを受信すると(S30)、ペアリング要求信号Preqと、ペアリング受諾信号Paccとをメモリに記憶する(S31)。例えば、送信用メモリ1323は記憶されたペアリング要求信号Preqを読み出してIDメモリ1326に出力し、復号化部1324は受信用メモリ1330に記憶されたペアリング受諾信号Paccを読み出してIDメモリ1326に出力することで記憶する。   Returning to FIG. 3, when the unit A10 receives the pairing completion signal Pend (S30), the pairing request signal Preq and the pairing acceptance signal Pacc are stored in the memory (S31). For example, the transmission memory 1323 reads the stored pairing request signal Preq and outputs it to the ID memory 1326, and the decoding unit 1324 reads the pairing acceptance signal Pacc stored in the reception memory 1330 and stores it in the ID memory 1326. It memorizes by outputting.

ペアリング要求信号Preqとペアリング受諾信号PaccのIDメモリ1326,1331の記憶により、ユニットA10とユニットB20とはペアリング済みとなる(S32、S33)。ペアリングが完了すると、再度ユニットA10,B20間で新たなペアリングは行われない。その後、ユニットA10,B20は認証モード(実施例2で説明)に移行して終了する(S34、S35)。   By storing the pairing request signal Preq and the pairing acceptance signal Pacc in the ID memories 1326 and 1331, the unit A10 and the unit B20 are already paired (S32 and S33). When pairing is completed, new pairing is not performed again between the units A10 and B20. Thereafter, the units A10 and B20 enter the authentication mode (described in the second embodiment) and end (S34, S35).

図5及び図6は、暗号化と復号化の処理の具体例を示すフローチャートである。図3に示す例と同一処理には同一符号を付している。図5に示すように、ユニットB20で行う暗号化は、ペアリング要求信号Preqを受信し(S20)、暗号化関数gにより暗号化を行い(S21)、暗号信号Paccを生成して送信する(S22)。ここで、暗号化関数gは、一般に知られているDES(Data Encryption Standard)、AES(Advanced Encryption Standard)、トリプルDES(Triple DES)などの暗号化関数を用いる。尚、このように暗号化を行うのは、ペアリングを行う際に偽ユニットとのペアリングを防止するためである。   5 and 6 are flowcharts showing specific examples of encryption and decryption processing. The same processes as those in the example shown in FIG. As shown in FIG. 5, in the encryption performed by the unit B20, the pairing request signal Preq is received (S20), encrypted by the encryption function g (S21), and an encrypted signal Pacc is generated and transmitted ( S22). Here, as the encryption function g, generally known encryption functions such as DES (Data Encryption Standard), AES (Advanced Encryption Standard), and Triple DES (Triple DES) are used. The reason why encryption is performed in this manner is to prevent pairing with a fake unit when performing pairing.

暗号化関数により暗号化を行う際(S21)、暗号鍵ANKを用いているが(S210)、この暗号鍵ANKはユニットA10,B20を製造する製造業者しか知り得ない秘密鍵である。暗号鍵ANKを用いて暗号信号Pacc(ペアリング受諾信号)を表わすと、
Pacc=g(ANK,Preq)
となる。
When encryption is performed using an encryption function (S21), an encryption key ANK is used (S210). This encryption key ANK is a secret key that only the manufacturer that manufactures the units A10 and B20 can know. When the encryption signal Pacc (pairing acceptance signal) is expressed using the encryption key ANK,
Pacc = g (ANK, Preq)
It becomes.

図6に示すように、ユニットA10で行う復号化は、ペアリング受諾信号Paccを受信し(S23)、復号化関数g−1を用いて復号化し(S24)、復号信号Preqを得る(S241)。復号化も暗号鍵ANKを用いて復号化し、復号信号Preqは、
Preq=g−1(ANK,Pacc)
と表わすことができる。
As shown in FIG. 6, the decoding performed by the unit A10 receives the pairing acceptance signal Pacc (S23), decodes it using the decoding function g- 1 (S24), and obtains the decoded signal Preq (S241). . Decryption is also performed using the encryption key ANK, and the decrypted signal Preq is
Preq = g −1 (ANK, Pacc)
Can be expressed as

このように、本実施例1では、乱数を発生し(S18)、この乱数を用いてユニットA10とユニットB20間で暗号化、復号化を行うようにしている。従って、ユニットA10,B20間で予めIDを付与することなく、初めてペアリングを行ったときでも認証を行うことができる。   As described above, in the first embodiment, a random number is generated (S18), and encryption and decryption are performed between the unit A10 and the unit B20 using this random number. Therefore, authentication can be performed even when pairing is performed for the first time without giving an ID between the units A10 and B20 in advance.

尚、本実施例1においてペアリングを正確に行うためには、他の電波との混信を防止するために金属のケースにユニットA10,B20を入れて行うようにしてもよい。   In order to accurately perform pairing in the first embodiment, the units A10 and B20 may be placed in a metal case in order to prevent interference with other radio waves.

また、上述した例は無線による例で説明したが、有線でユニットA10,B20を接続して上述した処理を行うようにしてもよい。   Moreover, although the example mentioned above demonstrated by the example by a radio | wireless, unit A10, B20 may be connected with a wire and the process mentioned above may be performed.

更に、図2に示すユニットA10とユニットB20について、共に復号化部1324と暗号化部1328を備え、全く共通のペアリング機能部132の構成としてもよい。   Further, the unit A10 and the unit B20 shown in FIG. 2 may include a decryption unit 1324 and an encryption unit 1328, and the configuration of the pairing function unit 132 may be quite common.

いずれにしても上述した例と同様の作用効果を得る。   In any case, the same effect as the above-described example is obtained.

次に、実施例2について説明する。本実施例2はワイヤレス認証を行う例である。ペアリングされたユニットA10,B20が互いに通信をし、ペアリングされていることを確認することを認証といい、この認証動作が無線で行われることからワイヤレス認証という。   Next, Example 2 will be described. The second embodiment is an example in which wireless authentication is performed. Confirming that the paired units A10 and B20 communicate with each other and are paired is called authentication, and because this authentication operation is performed wirelessly, it is called wireless authentication.

図7は、ワイヤレス認証のシーケンス例を示す図である。尚、本ワイヤレス認証は、ペアリング終了後のユニットA10,B20において行われるものとし、ユニットA10,B20の構成は実施例1と同じである。具体的には、機能演算回路13のワイヤレス認証機能部133で行われる(図1参照)。   FIG. 7 is a diagram illustrating a sequence example of wireless authentication. The wireless authentication is performed in the units A10 and B20 after the pairing is completed, and the configurations of the units A10 and B20 are the same as those in the first embodiment. Specifically, this is performed by the wireless authentication function unit 133 of the function calculation circuit 13 (see FIG. 1).

まず、キーとして動作するユニットA10は、サーチ信号SKIDを一定周期(例えば2秒毎)で送信する(S40)。   First, the unit A10 operating as a key transmits a search signal SKID at a constant cycle (for example, every 2 seconds) (S40).

ユニットA10とペアリングされたユニットB20は、サーチ信号SKIDを受信すると(S41)、ペアリングされている相手か否かを確認する(S42)。ペアリングされている相手か否かは、IDメモリ1331にペアリング要求信号Preqとペアリング受諾信号Paccの組が記憶されているか否かを確認することで行われる。ペアリングされている相手でないと、ワイヤレス認証を行う対象ではないため、処理は終了する。   When the unit B20 paired with the unit A10 receives the search signal SKID (S41), it checks whether or not it is a paired partner (S42). Whether or not the pair is a paired partner is determined by checking whether or not the pair of the pairing request signal Preq and the pairing acceptance signal Pacc is stored in the ID memory 1331. If the other party is not paired, the wireless authentication is not performed and the process ends.

ペアリングされている相手であれば(S42でYES)、サーチ応答信号STIDを返信する(S43)。   If it is a paired partner (YES in S42), a search response signal STID is returned (S43).

次いで、ユニットA10はサーチ応答信号STIDを受信すると、同様にペアリングされている相手か否かを確認し(S44)、ペアリングされた相手のとき(YES)、チャレンジ要求信号Creqを発信する(S45)。サーチ信号SKIDとサーチ応答信号STIDの送受信により互いにペアリング相手を認識する。   Next, when the unit A10 receives the search response signal STID, it confirms whether or not it is a paired partner (S44), and when it is a paired partner (YES), sends a challenge request signal Creq ( S45). The pairing partner is recognized by transmitting and receiving the search signal SKID and the search response signal STID.

ユニットB20は、チャレンジ要求信号Creqを受信すると(S46)、Nビットの乱数を発生させる(S47)。そして、ユニットB20はチャレンジ信号Chalを返信する(S48)。チャレンジ信号Chalは、ユニットB20で発生したNビットの乱数である。   Upon receipt of the challenge request signal Creq (S46), the unit B20 generates an N-bit random number (S47). Then, the unit B20 returns a challenge signal Chal (S48). The challenge signal Chal is an N-bit random number generated in the unit B20.

ユニットA10は、チャレンジ信号Chalを受信すると(S49)、暗号化関数gを用いてチャレンジ信号Chalを暗号化する(S50)。暗号化は、ペアリングに用いた暗号化関数gを用いるが、暗号化に用いる鍵はペアリングの際に交換してIDメモリ1326,1331に記憶したペアリング要求信号Preqとペアリング受諾信号Paccである。   When the unit A10 receives the challenge signal Chal (S49), the unit A10 encrypts the challenge signal Chal using the encryption function g (S50). The encryption uses the encryption function g used for pairing, but the key used for encryption is exchanged at the time of pairing and stored in the ID memories 1326 and 1331 and the pairing acceptance signal Pacc. It is.

そして、ユニットA10はレスポンス信号Respを送信する(S51)。レスポンス信号Respは、暗号化されたチャレンジ信号Chalである。   Then, the unit A10 transmits a response signal Resp (S51). The response signal Resp is an encrypted challenge signal Chal.

ユニットB20は、レスポンス信号Respを受信すると(S52)、復号化関数g−1を用いて復号化する(S53)。そして、ユニットB20は復号化した結果が、チャレンジ信号Chalと一致することを確認する(S54)。ユニットB20は、一致していれば、ACK信号を返信し(S55)、ユニットA10はACK信号を受信する(S56)。 When the unit B20 receives the response signal Resp (S52), the unit B20 decrypts it using the decryption function g- 1 (S53). The unit B20 confirms that the decrypted result matches the challenge signal Chal (S54). If they match, unit B20 returns an ACK signal (S55), and unit A10 receives the ACK signal (S56).

ユニットA10はACK信号を受信後、一定時間経過後(例えば4秒後)、再びチャレンジ要求信号Creqを発信し(S45)、以降の処理を繰り返す。   After receiving the ACK signal, the unit A10 transmits the challenge request signal Creq again after a predetermined time (for example, after 4 seconds) (S45), and repeats the subsequent processing.

尚、認証が成立するとこのようにS45以降の処理を繰り返すことになるが、認証が失敗すると(S54でNO)、再び、サーチ信号の送信(S40)から処理が行われる。   If authentication is established, the processing from S45 onward is repeated in this way. However, if the authentication fails (NO in S54), the processing is performed again from transmission of the search signal (S40).

図8及び図9は夫々暗号化及び復号化の処理の具体例を示すフローチャートである。ユニットA10で行われる暗号化は、上述したように、ペアリングの際にユニットA10,B20間で交換したペアリング要求信号Preqとペアリング受諾信号Paccを暗号鍵として用いる(S500)。復号化も同様である(S530)。   8 and 9 are flowcharts showing specific examples of encryption and decryption processes, respectively. As described above, the encryption performed in the unit A10 uses the pairing request signal Preq and the pairing acceptance signal Pacc exchanged between the units A10 and B20 during pairing as encryption keys (S500). The same applies to decoding (S530).

このように、単純に、ペアリングされている相手か否かの確認(S42,S44)のみならず、本実施例2では、発生した乱数を暗号化、及び復号化しその結果が一致するかを確認することで(S54)、ワイヤレス認証を行うようにしている。従って、確実にユニットB20がユニットA10を認証でき、ユニットA10がユニットB20を認証できる。   In this way, in addition to simply confirming whether or not the partner is a paired partner (S42, S44), in the second embodiment, the generated random number is encrypted and decrypted to determine whether the result matches. By confirming (S54), wireless authentication is performed. Therefore, the unit B20 can reliably authenticate the unit A10, and the unit A10 can authenticate the unit B20.

次に実施例3について説明する。実施例3はユニットA10とユニットB20の距離を計測する例である。図10は、かかる機能を実現するためのユニットA10,B20の構成例を示す図である。ユニットA10もユニットB20も同一構成である。   Next, Example 3 will be described. The third embodiment is an example in which the distance between the unit A10 and the unit B20 is measured. FIG. 10 is a diagram illustrating a configuration example of the units A10 and B20 for realizing such a function. Unit A10 and unit B20 have the same configuration.

ユニットA10は、受信アンテナ11と、受信アンプ111と、A/D変換回路112と、受信レベル測定回路113(図1の受信レベル測定回路135に対応)と、距離換算演算回路115と、ワイヤレス認証回路(図1のワイヤレス認証機能133に対応)133とを備える。   The unit A10 includes a reception antenna 11, a reception amplifier 111, an A / D conversion circuit 112, a reception level measurement circuit 113 (corresponding to the reception level measurement circuit 135 in FIG. 1), a distance conversion calculation circuit 115, and wireless authentication. Circuit (corresponding to the wireless authentication function 133 in FIG. 1) 133.

動作は以下のようになる。すなわち、ワイヤレス認証(実施例2)を行っているユニットA10,B20間の双方向で電波を送受信する。ユニットA10から発信された電波はユニットB20で受信する。図11(A)は受信アンテナ11で受信された受信信号の例を示す。   The operation is as follows. That is, radio waves are transmitted and received in both directions between the units A10 and B20 performing wireless authentication (second embodiment). The radio wave transmitted from the unit A10 is received by the unit B20. FIG. 11A shows an example of a received signal received by the receiving antenna 11.

受信信号は受信アンプ111で増幅され、A/D変換回路112でアナログ信号からデジタル信号に変換される。変換後の信号の例を図11(B)に示す。   The reception signal is amplified by the reception amplifier 111 and converted from an analog signal to a digital signal by the A / D conversion circuit 112. An example of the converted signal is shown in FIG.

一方、増幅された受信信号はワイヤレス認証回路133に入力され、その受信信号を解析することでユニットB20はユニットA10を認証する。この認証動作は受信信号が入力されているタイミングで行われる(図11(C)参照)。   On the other hand, the amplified received signal is input to the wireless authentication circuit 133, and the unit B20 authenticates the unit A10 by analyzing the received signal. This authentication operation is performed at the timing when a reception signal is input (see FIG. 11C).

そして、ワイヤレス認証回路133は、受信レベルの測定タイミングを示す測定タイミング信号を出力する。ワイヤレス認証動作が終了するタイミングで測定タイミング信号を出力する。ワイヤレス認証によりペアリング相手との認証が確認されるため、認証終了時に測定タイミング信号を出力する。   Then, the wireless authentication circuit 133 outputs a measurement timing signal indicating the reception level measurement timing. A measurement timing signal is output at the timing when the wireless authentication operation ends. Since authentication with a pairing partner is confirmed by wireless authentication, a measurement timing signal is output at the end of authentication.

受信レベル測定回路113は、測定タイミング信号に基づいて、受信信号のレベルを測定する。例えば、測定タイミング信号が「HIGH」のタイミングで測定する。   The reception level measurement circuit 113 measures the level of the reception signal based on the measurement timing signal. For example, the measurement is performed at a timing when the measurement timing signal is “HIGH”.

距離換算演算回路115は、受信レベル測定回路113からの受信レベルに基づいてユニットA10との距離を演算する。演算は、例えば、予め距離「1m」にユニットA10,B20が位置するときに受信レベルV1をメモリに記憶しておき、受信レベル測定回路113からの受信レベルVxとから以下に示す式を用いて距離xを演算する。   The distance conversion calculation circuit 115 calculates the distance to the unit A10 based on the reception level from the reception level measurement circuit 113. For example, when the units A10 and B20 are located at a distance “1 m” in advance, the reception level V1 is stored in the memory, and the reception level Vx from the reception level measurement circuit 113 is used and the following equation is used. The distance x is calculated.

x=√(V1/Vx) (式1)
このように、本実施例3では、ワイヤレス認証した相手がどのくらいの距離に存在するかを簡易な構成により計測することができる。
x = √ (V1 / Vx) (Formula 1)
As described above, in the third embodiment, it is possible to measure how far the wirelessly authenticated partner is located with a simple configuration.

次に実施例4について説明する。本実施例4はユニットA10,B20がワイヤレス認証動作を行っている時間を計測する例である。一日に何時間、ユニットA10とユニットB20とが認証していたかを知ることができる。認証時間の測定は、機能演算回路13の認証時間測定部136で実行される。   Next, Example 4 will be described. The fourth embodiment is an example in which the time during which the units A10 and B20 are performing the wireless authentication operation is measured. It is possible to know how many hours per day the unit A10 and the unit B20 have been authenticated. The measurement of the authentication time is executed by the authentication time measurement unit 136 of the function arithmetic circuit 13.

図12(A)及び同図(B)は計測例を示す図である。実施例2(ワイヤレス認証)でも説明したように、ユニットA10は、まず、ペアリングされた相手(ユニットB20)を探すためサーチ信号を送信する(図12(A)では「S」で示される)。   FIG. 12A and FIG. 12B are diagrams showing measurement examples. As described in the second embodiment (wireless authentication), the unit A10 first transmits a search signal to search for a paired partner (unit B20) (indicated as “S” in FIG. 12A). .

ペアリングされた相手が一定距離以内に存在すれば、互いに認証動作をして認証成立となる(図12(A)では「A」で示される)。認証成立すれば、一定周期Taで認証動作を繰り返すので、認証成立(「A」)から認証成立(「A」)までの時間Ta(図12(B)参照)を計測しておけば一回の認証持続時間を計測できる。   If the paired partner exists within a certain distance, authentication is performed by mutual authentication (indicated as “A” in FIG. 12A). If the authentication is established, the authentication operation is repeated at a constant period Ta. Therefore, once the time Ta (see FIG. 12B) from the authentication establishment (“A”) to the authentication establishment (“A”) is measured, once. The authentication duration can be measured.

認証成立して次の認証でユニットB20との距離が一定距離以上離れると、認証失敗になるので(図12(A)では「NG」)、この間の時間Tnは認証成立時間に含めない。この場合、再度サーチ信号から処理が開始され認証成立(「A」)を繰り返し、その成立時間Taを積算すれば、認証時間の計測が可能となる。   If the authentication is established and the distance from the unit B20 is more than a certain distance in the next authentication, the authentication fails (“NG” in FIG. 12A), and the time Tn during this period is not included in the authentication establishment time. In this case, if the process is started again from the search signal, authentication establishment ("A") is repeated, and the establishment time Ta is integrated, the authentication time can be measured.

すなわち、認証成立から認証成立までの認証時間をTaとすると、認証時間の総和Tauthは、
Tauth=ΣTa (式2)
により示すことができる。
That is, if the authentication time from the authentication establishment to the authentication establishment is Ta, the total authentication time Tauth is
Tauth = ΣTa (Formula 2)
Can be shown.

次に実施例5について説明する。実施例5は、ユニットA10とユニットB20とがどのくらいの距離でどのくらいの時間一緒にいたかを計測することで、ユニットA10とユニットB20の愛情を測定する例である。   Next, Example 5 will be described. The fifth embodiment is an example in which the affection of the unit A10 and the unit B20 is measured by measuring how long the unit A10 and the unit B20 have been together for how long.

ユニットA10とユニットB20とが、認証範囲に存在するとき、その両者の距離は距離換算演算回路115(実施例3)により計測できる。また、両者が認証範囲に存在する時間は、認証時間測定部136(実施例4)により計測できる。この2つのパラメータから、ユニットA10,B20がどのくらいの距離でどのくらいの時間一緒にいたかを計測することができる。   When the unit A10 and the unit B20 are present in the authentication range, the distance between them can be measured by the distance conversion arithmetic circuit 115 (Example 3). Further, the time during which both are present in the authentication range can be measured by the authentication time measuring unit 136 (Example 4). From these two parameters, it is possible to measure how long the units A10 and B20 have been together for how long.

本実施例5において、愛情は「距離の2乗に反比例し、一緒にいた時間に比例する」と仮定する。両者の距離と一緒にいた時間から愛情係数を導きだすことができる。両者の距離をX[m]、認証計測時間をTaとしたとき、愛情係数LLは、
LL=Ta/X (式3)
と表わすことができる。
In the fifth embodiment, it is assumed that love is “inversely proportional to the square of the distance and proportional to the time spent together”. The affection coefficient can be derived from the time spent together. When the distance between them is X [m] and the authentication measurement time is Ta, the affection coefficient LL is
LL = Ta / X 2 (Formula 3)
Can be expressed as

例えば、距離が1mで8時間一緒にいれば、LL=8/1=8となる。図13は、距離Xと時間Taと愛情係数LLの関係を示すテーブル200の例である。ここで、愛情係数をランク分けすることで愛情が数値として計測できる。ランク分けしたテーブル210の例を図14に示す。愛情係数の数値が高いほど、愛情のランクが高くなる。   For example, if the distance is 1 m and stay together for 8 hours, LL = 8/1 = 8. FIG. 13 is an example of a table 200 showing the relationship between the distance X, the time Ta, and the affection coefficient LL. Here, the love can be measured as a numerical value by ranking the love coefficients. An example of the ranked table 210 is shown in FIG. The higher the affection factor, the higher the affection rank.

これらの処理は、例えば、図1の機能演算回路13内の愛情係数計測回路で行われ、当該回路内に図13や図14に示すテーブル200,210が記憶される。   These processes are performed by, for example, the affection coefficient measurement circuit in the function calculation circuit 13 in FIG. 1, and the tables 200 and 210 shown in FIGS. 13 and 14 are stored in the circuit.

次に実施例6について説明する。本実施例6はいわゆるAND認証の例である。ワイヤレス認証の機能を使用して、ユニットA10,B20が認証状態にあるときのみ、ユニットCを認証することができる方式をAND認証という。   Next, Example 6 will be described. The sixth embodiment is an example of so-called AND authentication. A method in which the unit C can be authenticated only when the units A10 and B20 are in the authentication state using the wireless authentication function is called AND authentication.

図15を参照してAND認証について説明する。ユニットA10とユニットB20はペアリング済みである。ユニットA10とユニットC30、ユニットB20とユニットC30も夫々ペアリング済みとする。ただし、実施例1で述べたように、ペアリングできるのはユニットが他のユニットとペアリングされていないときである。ここで、ユニットA10とユニットB20がペアリングしている状態を主ペアリングと呼び、主ペアリングされたユニットが他のユニットとペアリングすることを従ペアリングと呼ぶ。従ペアリングは複数組行うことができる。図15の例では、ユニットA10とユニットC30、ユニットBとユニットC30とが従ペアリングである。   The AND authentication will be described with reference to FIG. Unit A10 and unit B20 have been paired. Assume that unit A10 and unit C30, and unit B20 and unit C30 are also paired. However, as described in the first embodiment, the pairing can be performed when the unit is not paired with another unit. Here, the state in which the unit A10 and the unit B20 are paired is called main pairing, and the pairing of the main paired unit with another unit is called secondary pairing. Multiple pairs can be performed. In the example of FIG. 15, unit A10 and unit C30, and unit B and unit C30 are secondary pairing.

図15の例において、主ペアリングされたユニットA10及びユニットB20がユニットC30に対して認証動作を行うことをAND認証と呼ぶ。つまり、2つのユニットA10及びユニットB20とが揃ってはじめてユニットC30の使用制限が解除され(図1の被制御機器40がユニットC30に対応する)、ユニットC30が使用できるようになる。   In the example of FIG. 15, the main paired unit A10 and unit B20 performing an authentication operation on the unit C30 is called AND authentication. That is, the use restriction of the unit C30 is released only when the two units A10 and B20 are aligned (the controlled device 40 in FIG. 1 corresponds to the unit C30), and the unit C30 can be used.

図16は、図15の例におけるAND認証のシーケンス例を示す図である。このうち、「サーチ」と「認証」は図7に示す認証シーケンスと同一であるため、説明を省略する。   FIG. 16 is a diagram illustrating a sequence example of AND authentication in the example of FIG. Among these, “search” and “authentication” are the same as the authentication sequence shown in FIG.

まず、ユニットA10とユニットB20とがAND認証スイッチをオンにすると(S60,S61)、AND認証処理を開始する。   First, when the unit A10 and the unit B20 turn on the AND authentication switch (S60, S61), the AND authentication process is started.

次いで、ユニットA10がユニットC30に対してAND認証チャレンジ要求信号ACreqを送信し(S62)、ユニットC30はその信号を受信すると乱数を発生し(S64)、その乱数をAND認証チャレンジ信号AChalとして返信する(S65)。   Next, the unit A10 transmits an AND authentication challenge request signal ACreq to the unit C30 (S62). Upon receiving the signal, the unit C30 generates a random number (S64), and returns the random number as an AND authentication challenge signal AChal. (S65).

ユニットA10では、AND認証チャレンジ信号AChalを暗号化し(S67)、それをレスポンス信号ACrespとして送信する(S68)。ユニットC30は、その信号を復号化し、その結果がAND認証チャレンジ信号AChalを一致するかを確認する(S70)。   In the unit A10, the AND authentication challenge signal AChal is encrypted (S67) and transmitted as a response signal ACresp (S68). The unit C30 decodes the signal and checks whether the result matches the AND authentication challenge signal AChal (S70).

一方、ユニットB20も、一定時間(ユニットA10とユニットC30の上述の処理時間)経過後(S71)、AND認証チャレンジ要求信号BCreqをユニットC30に送信する(S72)。ユニットC30は、ユニットA10に対する処理と同様に、乱数を発生させ(S74)、AND認証チャレンジ信号BChalとして返信する(S75)。ユニットB20は、その信号を暗号化し(S77)、レスポンス信号BCrespとして送信する(S78)。ユニットC30は、レスポンス信号BCrespを復号しその結果が、AND認証チャレンジ信号BChalと一致するかを確認する(S80)。一致すると、ユニットC30はユニットB20に対してBACK信号を返信する(S81)。ユニットA10では一定時間経過後、AND認証確認信号CandをユニットC30に送信し、ユニットC30ではユニットA10に対してAACK信号を返信する(S85)。   On the other hand, the unit B20 also transmits an AND authentication challenge request signal BCreq to the unit C30 after a predetermined time (the above-described processing time of the unit A10 and the unit C30) has elapsed (S71) (S72). The unit C30 generates a random number in the same manner as the processing for the unit A10 (S74), and returns it as an AND authentication challenge signal BChal (S75). The unit B20 encrypts the signal (S77) and transmits it as a response signal BCresp (S78). The unit C30 decodes the response signal BCresp and checks whether the result matches the AND authentication challenge signal BChal (S80). If they match, the unit C30 returns a BACK signal to the unit B20 (S81). The unit A10 transmits an AND authentication confirmation signal Cand to the unit C30 after a predetermined time has elapsed, and the unit C30 returns an AACK signal to the unit A10 (S85).

そして、一定時間経過後、再び認証動作に移行してチャレンジ要求信号Creqの発信(Creq発信)から処理を繰り返す。尚、認証に失敗すると(S70及びS80でNO)、サーチ動作のサーチ信号送信(SKID送信)から処理を行う。   Then, after a lapse of a certain time, the operation again proceeds to the authentication operation, and the process is repeated from the transmission of the challenge request signal Creq (Creq transmission). If authentication fails (NO in S70 and S80), processing is performed from search signal transmission (SKID transmission) of the search operation.

上述した例では、2つのユニットA10及びB20が揃って初めてユニットC30の使用制限が解除される例について説明したが、例えば3つ以上のユニットが揃って初めてユニットC30の使用制限が解除されてもよい。上述した例と同様に実施でき、同様の作用効果を奏する。   In the above-described example, the example in which the use restriction of the unit C30 is released only when the two units A10 and B20 are gathered is described. However, even if the use restriction of the unit C30 is released only after three or more units are gathered, for example. Good. It can be implemented in the same manner as the above-described example, and has the same effect.

次に実施例7について説明する。ユニットA10がユニットB20を探索する機能について説明する。ユニットB20がユニットA10の近くに位置することをユニットA10に表示させる、相手が近くにいることを確認できる。   Next, Example 7 will be described. The function in which the unit A10 searches for the unit B20 will be described. It can be confirmed that the other party is in the vicinity who displays on the unit A10 that the unit B20 is located near the unit A10.

本探索機能は、図1の機能演算回路13の探索機能部134と探索用信号発生部138において実行される。図17は探索シーケンスの例を示す図である。   This search function is executed by the search function unit 134 and the search signal generation unit 138 of the function calculation circuit 13 of FIG. FIG. 17 is a diagram illustrating an example of a search sequence.

まず、ユニットA10の探索機能部134の探索スイッチ(SW)を押すことで(S90)、ユニットA10の送信信号の出力がアップする(S92)。そして、ユニットA10の探索用信号発生部138から探索信号SRが送信される(S93)。   First, when the search switch (SW) of the search function unit 134 of the unit A10 is pressed (S90), the output of the transmission signal of the unit A10 is increased (S92). Then, the search signal SR is transmitted from the search signal generator 138 of the unit A10 (S93).

一方、ユニットB20は待受け受信状態となっており(S91)、探索信号の受信を契機にユニットA10がペアリングされている相手か否かを確認する(S94)。実施例2(ワイヤレス認証)等と同様に、IDメモリ1331にペアリング要求信号Preqとペアリング受諾信号Paccの組が記憶されているか否かにより確認する。   On the other hand, the unit B20 is in a standby reception state (S91), and it is confirmed whether or not the unit A10 is a paired partner upon receiving the search signal (S94). As in the second embodiment (wireless authentication) or the like, the ID memory 1331 checks whether a pair of the pairing request signal Preq and the pairing acceptance signal Pacc is stored.

ペアリングされた相手でないとき(S94でNO)、再び待受け受信状態(S91)に戻る。一方、ペアリングされた相手であることを確認すると(S94でYES)、探索応答信号SRrespを返信する(S95)。   When it is not a paired partner (NO in S94), the process returns to the standby reception state (S91) again. On the other hand, if it is confirmed that the partner is a paired partner (YES in S94), a search response signal SRresp is returned (S95).

ユニットA10は、探索応答信号SRrespを受信すると、ユニットB20がペアリングされている相手か否かを確認する(S96)。同様に、IDメモリ1326のペアリング要求信号Preqとペアリング受諾信号Paccの組が記憶されているか否かにより確認する。ペアリングされた相手でないと(S96でNO)、再びS90に移行し、ペアリングされた相手のとき(S96でYES)、相手から応答があったことを表示部に表示させる等により知らせる(S97)。そして、再びS90に移行して処理を繰り返す。   When the unit A10 receives the search response signal SRresp, the unit A10 confirms whether the unit B20 is a paired partner (S96). Similarly, confirmation is made based on whether a pair of the pairing request signal Preq and the pairing acceptance signal Pacc in the ID memory 1326 is stored. If it is not a paired partner (NO in S96), the process proceeds to S90 again. When the partner is a paired partner (YES in S96), the fact that a response has been received from the partner is displayed on the display unit (S97). ). And it transfers to S90 again and repeats a process.

ユニットB20においても、探索応答信号SRrespを返信後、ペアリングされた相手であることを確認できたため、近くにいることを知らせるべく、音や光などでユニットA10の存在を知らせるようにする(S98)。そして、再びS91に移行して処理を繰り返す。   Also in the unit B20, after returning the search response signal SRresp, it can be confirmed that it is a paired partner, so that the presence of the unit A10 is notified by sound or light in order to notify that it is near (S98). ). And it transfers to S91 again and repeats a process.

S97の処理とS98の処理を入れ換えてもよいし、その両方の処理をユニットA10,B20において行うようにしてもよい。   The process of S97 and the process of S98 may be interchanged, or both processes may be performed in units A10 and B20.

実施例7の探索機能を用いてユニットA10がユニットB20を探索する際に、ユニットB20が衣服のポケットやタンスに入って、警報音や光が認識できないことがある。かかる場合に、ユニットA10に方位計測機能が備わり、ユニットB20の概略の方向性が判定できれば探索機能をより強化できる。   When the unit A10 searches for the unit B20 using the search function of the seventh embodiment, the unit B20 may enter the clothes pocket or chiffon, and the alarm sound or light may not be recognized. In such a case, if the unit A10 has an orientation measurement function and the approximate directionality of the unit B20 can be determined, the search function can be further enhanced.

図18(A)は、本実施例8におけるユニットA10のアンテナ周辺の構成例を示す図である。ユニットA10は、2つのアンテナ16,17と、加算部18と、負値乗算部19と、スイッチ21とを備える。   FIG. 18A is a diagram illustrating a configuration example around the antenna of the unit A10 in the eighth embodiment. The unit A10 includes two antennas 16 and 17, an adder 18, a negative value multiplier 19, and a switch 21.

スイッチ21の切替えにより、2本のアンテナ16,17からの受信信号を加算して処理を行ったり(図18(B)参照)、2本のアンテナ16,17からの受信信号を減算して処理を行うことができる(図18(C)参照)。   By switching the switch 21, the received signals from the two antennas 16 and 17 are added and processed (see FIG. 18B), or the received signals from the two antennas 16 and 17 are subtracted. Can be performed (see FIG. 18C).

加算の場合、前後方からの電波は加算部18により加算されるため、アンテナ16,17の前後方向に感度を高めることができる。一方、減算の場合、前後方からの電波は負値乗算部19と加算部18により減算され、例えば、受信レベルは略「0」になるものの、左右方向からの電波は打ち消し合うことはなく左右方向に対して感度を高めることができる。左右方向からの電波が打ち消し合うことがないように、左右のアンテナ16,17の間隔を設けるようにすればよい。尚、このような切替えは、所謂「双極対のアンテナ理論」としてよく知られている。   In the case of addition, since radio waves from the front and rear are added by the adding unit 18, the sensitivity can be increased in the front-rear direction of the antennas 16 and 17. On the other hand, in the case of subtraction, the radio waves from the front and rear are subtracted by the negative value multiplication unit 19 and the addition unit 18, for example, although the reception level is substantially “0”, the radio waves from the left and right directions do not cancel each other. Sensitivity can be increased with respect to direction. An interval between the left and right antennas 16 and 17 may be provided so that radio waves from the left and right directions do not cancel each other. Such switching is well known as so-called “bipolar antenna theory”.

かかる双極対のアンテナを用いて、ユニットA10はユニットB20の方位を検出できる。例えば、加算されるようにスイッチ21を切替えると(図18(B)参照)、前後方向の受信電波の感度は高くなるため、ユニットB20が前後方向に位置していれば、双極対アンテナを用いない場合と比較して、確実にユニットB20を検出できる。   Using such a bipolar antenna, unit A10 can detect the orientation of unit B20. For example, when the switch 21 is switched so as to be added (see FIG. 18B), the sensitivity of the received radio waves in the front-rear direction increases, so if the unit B20 is located in the front-rear direction, a bipolar antenna is used. Compared with the case where there is no unit B20, the unit B20 can be reliably detected.

また、減算されるようにスイッチ21を切替えると(図18(C)参照)、左右方向に感度が高くなるため、双極対アンテナを用いない場合と比較して、確実に左右方向に位置するユニットB20を検出できる。   Further, when the switch 21 is switched so as to be subtracted (see FIG. 18C), the sensitivity increases in the left-right direction. B20 can be detected.

従って、ユニットA10はユニットB20の存在方向を確実に検出できる。   Therefore, the unit A10 can reliably detect the direction in which the unit B20 exists.

次に実施例9について説明する。本実施例9は、ICカードにワイヤレス認証機能を持たせることでICカードの不正使用を防止する例である。   Next, Example 9 will be described. The ninth embodiment is an example of preventing unauthorized use of an IC card by providing the IC card with a wireless authentication function.

昨今、SUICA(Super Urban Intelligent CArd)や、Edy(Euro dollar yen)などの決済機能付きICカードが普及しつつある。また、かかる機能を備えた携帯電話も普及しつつある。しかし、ICカードそのものが盗難され、暗証番号が知られると、不正使用の可能性があり、安全性は十分とはいえない。また、指紋認証や静脈認証を組み合わせたシステムも考えられるが、指をかざすなど面倒な作業が伴う。本実施例9では、ICカードと、カード所有者の持つウェアラブルキー(身体に装着可能でID入力できるデバイス。腕時計型のものが一般的であるが、かかる機能を有する携帯電話等の情報携帯端末も含まれる)とでワイヤレス認証を行い、ICカードとウェアラブルキーとが一定距離以内でないと、ICカードの使用を許可しないようにした例である。そのため、ICカードとウェアラブルキーには、MTC(Multi Task Communication)モジュール(ワイヤレス認証モジュール)を備えるようにする。   Recently, IC cards with a payment function such as SUICA (Super Urban Intelligent CArd) and Edy (Euro dollar yen) are becoming widespread. Mobile phones having such functions are also becoming popular. However, if the IC card itself is stolen and the personal identification number is known, there is a possibility of unauthorized use and the safety is not sufficient. A system combining fingerprint authentication and vein authentication is also conceivable, but it involves troublesome work such as holding a finger. In the ninth embodiment, an IC card and a wearable key possessed by the cardholder (a device that can be worn on the body and can input an ID. A wristwatch type is common, but an information portable terminal such as a cellular phone having such a function. Wireless authentication is performed, and the use of the IC card is not permitted unless the IC card and the wearable key are within a certain distance. Therefore, the IC card and the wearable key are provided with an MTC (Multi Task Communication) module (wireless authentication module).

図19は、ウェアラブルキー50とICカード60‐1〜60‐4との関係を示す図である。ウェアラブルキー50は、複数のICカード60‐1〜60‐4とペアリング可能で、複数のICカード60‐1〜60‐4の鍵としての役割を果たす。尚、本実施例9では、ウェアラブルキー50とICカード60‐1〜60‐4とは、ペアリングされており、ペアリングされたものどうしでないと認証が行われない。更に、一度ペアリングされたICカード60‐1〜60‐4は2度とペアリングされない。   FIG. 19 is a diagram showing the relationship between the wearable key 50 and the IC cards 60-1 to 60-4. The wearable key 50 can be paired with a plurality of IC cards 60-1 to 60-4 and serves as a key for the plurality of IC cards 60-1 to 60-4. In the ninth embodiment, the wearable key 50 and the IC cards 60-1 to 60-4 are paired, and authentication is not performed unless they are paired. Further, once paired IC cards 60-1 to 60-4 are not paired again.

図20と図21は、ウェアラブルキー50とICカード60とが挿入されて両者でペアリングを行うようにするペアリング機70の構成例を示す図である。ペアリング機70は、電源71とペアリングスイッチ(SW)72を備える。電源71は、ICカード60に電源を供給する。ウェアラブルキー50に電源を供給するようにしてもよい。ペアリングSW72は、両者のペアリングスイッチをオンにするためのスイッチである。例えば、両者がペアリング機70に挿入されると、電源71はICカード60に電源を供給し、ペアリングSW71は、ウェアラブルキー50とICカード60とのペアリングスイッチをオンにさせる。   20 and 21 are diagrams showing a configuration example of the pairing machine 70 in which the wearable key 50 and the IC card 60 are inserted and paired with each other. The pairing machine 70 includes a power supply 71 and a pairing switch (SW) 72. The power supply 71 supplies power to the IC card 60. Power may be supplied to the wearable key 50. The pairing SW 72 is a switch for turning on both pairing switches. For example, when both are inserted into the pairing machine 70, the power supply 71 supplies power to the IC card 60, and the pairing SW 71 turns on the pairing switch between the wearable key 50 and the IC card 60.

図22は、ウェアラブルキー50と、ICカード60の構成例を示す図である。ウェアラブルキー50は、送受信兼用アンテナ61と、スイッチ52と、送受信回路53と、機能演算回路54とを備える。また、送受信回路53は、受信器531と送信器532とを備える。更に、機能演算回路54は、警報機能部541と、ワイヤレス認証機能部542と、ペアリング機能部543と、ペアリングスイッチ(SW)部544と、IDメモリ545とを備える。   FIG. 22 is a diagram illustrating a configuration example of the wearable key 50 and the IC card 60. The wearable key 50 includes a transmission / reception antenna 61, a switch 52, a transmission / reception circuit 53, and a function calculation circuit 54. The transmission / reception circuit 53 includes a receiver 531 and a transmitter 532. Furthermore, the function calculation circuit 54 includes an alarm function unit 541, a wireless authentication function unit 542, a pairing function unit 543, a pairing switch (SW) unit 544, and an ID memory 545.

また、ICカード60は、送受信兼用アンテナ61と、スイッチ62と、送受信回路63と、機能演算回路64と、ICカードメモリ部65とを備える。送受信回路63は、受信器631と送信器632とを備え、機能演算回路64には、使用制限機能部641と、ワイヤレス認証機能部642と、ペアリング機能部643と、ペアリングスイッチ(SW)644と、IDメモリ645とを備える。   The IC card 60 includes a transmission / reception antenna 61, a switch 62, a transmission / reception circuit 63, a function calculation circuit 64, and an IC card memory unit 65. The transmission / reception circuit 63 includes a receiver 631 and a transmitter 632. The function calculation circuit 64 includes a use restriction function unit 641, a wireless authentication function unit 642, a pairing function unit 643, and a pairing switch (SW). 644 and an ID memory 645.

尚、ウェアラブルキー50のワイヤレス認証機能部542がウェアラブルキー50のMTCモジュールに相当し、ICカード60のワイヤレス認証機能部642がICカード60のMTCモジュールに相当する。   The wireless authentication function unit 542 of the wearable key 50 corresponds to the MTC module of the wearable key 50, and the wireless authentication function unit 642 of the IC card 60 corresponds to the MTC module of the IC card 60.

このように構成されたウェアラブルキー50とICカード60とで実行されるペアリング処理の例について説明する。図23は、かかる処理の例を示すシーケンス図である。   An example of pairing processing executed by the wearable key 50 and the IC card 60 configured as described above will be described. FIG. 23 is a sequence diagram illustrating an example of such processing.

ウェアラブルキー50とICカード60とがペアリング機70に差し込まれると、ペアリング機70の電源71は、ICカード60に電源を供給する(S91)。また、ウェアラブルキー50もペアリング機70への差し込みをトリガにして電源がオンになる(S92)。   When wearable key 50 and IC card 60 are inserted into pairing machine 70, power supply 71 of pairing machine 70 supplies power to IC card 60 (S91). Also, the wearable key 50 is turned on with the insertion into the pairing machine 70 as a trigger (S92).

ペアリング機70のペアリングSW72は、ウェアラブルキー50とICカード60に対してペアリングスイッチをオンにさせる(S93〜S95)。そして、ペアリングシーケンスが実行される。   The pairing SW 72 of the pairing machine 70 turns on the pairing switch for the wearable key 50 and the IC card 60 (S93 to S95). Then, a pairing sequence is executed.

ペアリングシーケンスの処理は、実施例1と同様である。本実施例9では、ウェアラブルキー50がキーとして動作し、ICカード60がターゲットとして動作する。詳細は実施例1と同様であるため説明を省略する。尚、図23に示す処理は、ウェアラブルキー50ではペアリング機能部543、ペアリングSW544、及びIDメモリ545で実行され、ICカード60はペアリング機能部643、ペアリングSW644、及びIDメモリ645で実行される。よって、実施例1と同様に、ウェアラブルキー50やICカード60の乱数発生部や、復号化部、暗号化部などは両者のペアリング機能部543,643に含まれる。   The processing of the pairing sequence is the same as that in the first embodiment. In the ninth embodiment, the wearable key 50 operates as a key, and the IC card 60 operates as a target. Details are the same as those in the first embodiment, and a description thereof will be omitted. 23 is executed by the pairing function unit 543, the pairing SW 544, and the ID memory 545 in the wearable key 50, and the IC card 60 is processed by the pairing function unit 643, the pairing SW 644, and the ID memory 645. Executed. Therefore, as in the first embodiment, the wearable key 50 and the random number generation unit of the IC card 60, the decryption unit, the encryption unit, and the like are included in the pairing function units 543 and 643 of both.

上述したように、ウェアラブルキー50は複数のICカード60とペアリングできるが、ICカード60は1回のペアリングしかできない。また、実施例1等と同様に、ペアリング動作は無線で行う場合に金属のケースに入れる、あるいは、ペアリング機70に挿入して有線で行う(図21において点線で示す)等により、他からの干渉防止を行い得る。   As described above, the wearable key 50 can be paired with a plurality of IC cards 60, but the IC card 60 can be paired only once. Similarly to the first embodiment, the pairing operation is performed in a metal case when performing wirelessly, or inserted into the pairing machine 70 and performed by wire (indicated by a dotted line in FIG. 21). Can prevent interference.

尚、ペアリング動作において、ペアリング機70を用いた例で説明したが、ペアリング機70は単にICカード60に電源を供給し、ペアリングSWをオンにするだけの役割のため、ICカード60に電源を持つものであればペアリング機70は不要である。   In the pairing operation, the example using the pairing machine 70 has been described. However, the pairing machine 70 simply supplies power to the IC card 60 and turns on the pairing SW. The pairing machine 70 is unnecessary if it has a power source 60.

次に、ICカード60の不正使用の防止について説明する。本実施例9では、ワイヤレス認証機能付きICカード60を使用する際に、所有者はそのICカード60とペアリングされたウェアラブルキー50を身に付けてICカード60を使用しなければならない。ウェアラブルキー50とICカード60とが一定距離以内にいなければICカードは使用制限がかかり、使用することができない。   Next, prevention of unauthorized use of the IC card 60 will be described. In the ninth embodiment, when using the IC card 60 with the wireless authentication function, the owner must wear the wearable key 50 paired with the IC card 60 and use the IC card 60. If the wearable key 50 and the IC card 60 are not within a certain distance, the IC card is restricted in use and cannot be used.

図24は、ウェアラブルキー50を持ったICカード60の所有者が、ICカード60を使用する際の様子を示す図である。   FIG. 24 is a diagram illustrating a state where the owner of the IC card 60 having the wearable key 50 uses the IC card 60.

ICカード60がカードリーダ80に差し込まれると、各々に搭載されたMTCモジュール(ワイヤレス認証機能部542,642)が通信を開始し、ワイヤレス認証を行う。ワイヤレス認証は実施例2(図7参照)と同様である。ウェアラブルキー50がキーとして動作し、ICカード60がターゲットとして動作する。   When the IC card 60 is inserted into the card reader 80, the MTC modules (wireless authentication function units 542 and 642) mounted on each start communication and perform wireless authentication. Wireless authentication is the same as in the second embodiment (see FIG. 7). Wearable key 50 operates as a key, and IC card 60 operates as a target.

予め、ウェアラブルキー50とICカード60とがペアリングされ、ICカード60がウェアラブルキー50により認証されると、使用制限が解除される。使用制限の解除は、例えば、ワイヤレス認証後(図7の処理後)、ICカード60の使用制限機能部641により使用制限が解除され、ICカードメモリ65へのアクセスが可能になる。   When the wearable key 50 and the IC card 60 are paired in advance and the IC card 60 is authenticated by the wearable key 50, the use restriction is released. For example, after the wireless authentication (after the processing in FIG. 7), the use restriction is released by the use restriction function unit 641 of the IC card 60, and the IC card memory 65 can be accessed.

一方、ウェアラブルキー50がICカード60の近く(予め決められた距離)にないときや、両者がペアリングされていないとき、ICカード60は認証されず、使用が制限される。例えば、ICカード60が拾われたり、盗まれたりしても、ICカード60は使用することができなくなる。   On the other hand, when the wearable key 50 is not near the IC card 60 (a predetermined distance) or when the wearable key 50 is not paired, the IC card 60 is not authenticated and its use is restricted. For example, even if the IC card 60 is picked up or stolen, the IC card 60 cannot be used.

本実施例9では、ウェアラブルキー50とICカート60とで実施例1等と同様にペアリング動作やワイヤレス認証動作を行うため、登録されていないものどうしでも認証を行い得る。また、ICカード60にワイヤレス認証機能を持たせることでICカード60の不正使用を防止できる。また、指をかざす必要もないため、面倒な作業が不要である。   In the ninth embodiment, since the wearable key 50 and the IC cart 60 perform the pairing operation and the wireless authentication operation in the same manner as in the first embodiment and the like, it is possible to perform authentication for those not registered. Further, by providing the IC card 60 with a wireless authentication function, unauthorized use of the IC card 60 can be prevented. Moreover, since it is not necessary to hold the finger, troublesome work is unnecessary.

図1はユニットA,B,及びCの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of units A, B, and C. 図2はユニットA及びBの回路構成例を示す図である。FIG. 2 is a diagram illustrating a circuit configuration example of the units A and B. 図3はペアリングシーケンスの例を示す図である。FIG. 3 is a diagram showing an example of a pairing sequence. 図4(A)乃至同図(F)は、信号フォーマットの例を示す図である。4A to 4F are diagrams illustrating examples of signal formats. 図5は暗号化方式の例を示すフローチャートである。FIG. 5 is a flowchart showing an example of an encryption method. 図6は復号化方式の例を示すフローチャートである。FIG. 6 is a flowchart showing an example of a decoding method. 図7は認証シーケンスの例を示す図である。FIG. 7 is a diagram illustrating an example of an authentication sequence. 図8は暗号化方式の例を示すフローチャートである。FIG. 8 is a flowchart showing an example of an encryption method. 図9は復号化方式の例を示すフローチャートである。FIG. 9 is a flowchart showing an example of a decoding method. 図10はユニットAの他の構成例を示す図である。FIG. 10 is a diagram illustrating another configuration example of the unit A. In FIG. 図11(A)乃至同図(D)は、信号例を示す図である。FIG. 11A to FIG. 11D are diagrams illustrating signal examples. 図12(A)及び同図(B)は、認証のタイミング例を示す図である。12A and 12B are diagrams illustrating an example of authentication timing. 図13は距離と時間と愛情係数の関係を示すテーブル例である。FIG. 13 is an example of a table showing the relationship between distance, time, and affection coefficient. 図14は愛情係数と愛情ランクの関係を示すテーブル例である。FIG. 14 is an example of a table showing the relationship between the affection coefficient and the affection rank. 図15はAND認証を説明するための図である。FIG. 15 is a diagram for explaining AND authentication. 図16はAND認証シーケンスを含むシーケンスの例を示す図である。FIG. 16 is a diagram illustrating an example of a sequence including an AND authentication sequence. 図17は探索シーケンスの例を示す図である。FIG. 17 is a diagram illustrating an example of a search sequence. 図18(A)乃至同図(C)は方位計測機能を備えるアンテナの構成例を示す図である。18A to 18C are diagrams illustrating a configuration example of an antenna having an azimuth measuring function. 図19は、ウェアラブルキーとICカードとの関係を示す図である。FIG. 19 is a diagram illustrating the relationship between the wearable key and the IC card. 図20は、ペアリング機にウェアラブルキーとICカードとが挿入される例を示す図である。FIG. 20 is a diagram illustrating an example in which a wearable key and an IC card are inserted into the pairing machine. 図21は、ペアリング機の構成例を示す図である。FIG. 21 is a diagram illustrating a configuration example of a pairing machine. 図22(A)はウェアラブルキー、同図(B)はICカードの構成例を示す図である。22A shows a wearable key, and FIG. 22B shows a configuration example of an IC card. 図23は、ペアリングシーケンスの例を示す図である。FIG. 23 is a diagram illustrating an example of a pairing sequence. 図24は、ウェアラブルキーを持ったICカードの所有者がICカードを使用する際の様子を示す図である。FIG. 24 is a diagram showing a state in which the owner of an IC card having a wearable key uses the IC card.

符号の説明Explanation of symbols

10 通信装置(ユニットA)、 13 機能演算回路、 18 加算部、 19 負値乗算部、 20 通信装置(ユニットB)、 21 スイッチ、 30 通信装置(ユニットC)、 50 ウェアラブルキー、 60 ICカード、 113 受信レベル測定回路、 115 距離換算演算回路、 121 受信器、 122 送信器、 132 ペアリング機能部、 133 ワイヤレス認証機能部、 200 テーブル、 210 テーブル、 542 ワイヤレス認証機能部、 543 ペアリング機能部、 641 使用制限機能部、 642 ワイヤレス認証機能部、 643 ペアリング機能部、 1321 ペアリングスイッチ(SW)、 1322 乱数発生部、 1324 復号化部、 1326 IDメモリ、 1327 ペアリングスイッチ、 1328 暗号化部、 1331 IDメモリ DESCRIPTION OF SYMBOLS 10 communication apparatus (unit A), 13 function arithmetic circuit, 18 addition part, 19 negative value multiplication part, 20 communication apparatus (unit B), 21 switch, 30 communication apparatus (unit C), 50 wearable key, 60 IC card, 113 reception level measurement circuit, 115 distance conversion calculation circuit, 121 receiver, 122 transmitter, 132 pairing function unit, 133 wireless authentication function unit, 200 table, 210 table, 542 wireless authentication function unit, 543 pairing function unit, 641 Usage restriction function unit, 642 Wireless authentication function unit, 643 Pairing function unit, 1321 Pairing switch (SW), 1322 Random number generation unit, 1324 Decoding unit, 1326 ID memory, 1327 Pairing switch, 1 28 encryption unit, 1331 ID memory

Claims (22)

他の通信装置と通信を行う通信装置において、
前記通信装置と他の通信装置との双方に予め共通する暗号鍵を備える構成において、
N(Nは1以上の自然数)ビットの乱数を発生する乱数発生部と、
前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記他の通信装置に送信する送信部と、
前記他の通信装置が前記暗号鍵を用いて前記ペアリング要求信号を暗号化した結果であ るペアリング受諾信号を前記他の通信装置から受信する受信部と、
受信した前記ペアリング受諾信号を前記暗号鍵を用いて復号化する復号化部と、
前記復号化部により復号化された信号と前記ペアリング要求信号とが一致する時に、
前記送信部からペアリング確認信号を送信すると共に、
前記ペアリング要求信号と前記受信部により受信した前記ペアリング受諾信号とを記憶する記憶部と
を備えることを特徴とする通信装置。
In a communication device that communicates with other communication devices,
In the configuration comprising an encryption key that is common in advance to both the communication device and the other communication device,
A random number generator for generating a random number of N bits (N is a natural number greater than or equal to 1) bits;
A transmitting unit that generates a pairing request signal composed of the random number and transmits the pairing request signal to the other communication device;
A receiving portion to which the other communication apparatus receives a pairing acceptance signal Ru der result of encrypting the pairing request signal using the encryption key from the other communication apparatus,
A decryption unit for decrypting the received pairing acceptance signal using the encryption key;
When the signal decoded by the decoding unit matches the pairing request signal,
While transmitting a pairing confirmation signal from the transmitter,
A communication device comprising: a storage unit that stores the pairing request signal and the pairing acceptance signal received by the receiving unit.
更に、前記送信部から送信された認証を要求するチャレンジ要求信号に対して前記他の通信装置から送信された、乱数よりなるチャレンジ信号を受信し、前記記憶部に記憶され た前記ペアリング要求信号及び前記ペアリング受諾信号を暗号鍵に用いて当該チャレンジ信号を暗号化する暗号化部を備え、
前記送信部は、暗号化された前記チャレンジ信号をレスポンス信号として前記他の通信装置に送信し、
前記他の通信装置において前記他の通信装置の記憶部に記憶された前記ペアリング要求 信号及び前記ペアリング受諾信号を暗号鍵に用いて前記レスポンス信号が復号化され、復 号化された結果と前記チャレンジ信号とが一致したときに送信される確認信号を前記受信部が前記他の通信装置から受信することで前記他の通信装置との間で前記認証を行うことを特徴とする請求項1記載の通信装置。
Further, the pairing request signal received from the other communication device in response to the challenge request signal for requesting authentication transmitted from the transmission unit is received from the random number and stored in the storage unit And an encryption unit that encrypts the challenge signal using the pairing acceptance signal as an encryption key ,
The transmission unit transmits the encrypted challenge signal as a response signal to the other communication device,
Result of the response signal by using the pairing request signal, and the pairing acceptance signal stored in the storage unit of the other communication device in the other communication apparatus to the encryption key is decrypted, it is decrypted 2. The authentication is performed with the other communication device when the reception unit receives the confirmation signal transmitted when the challenge signal matches with the other communication device. The communication device described.
更に、前記他の通信装置からの受信レベルから前記他の通信装置との距離を演算する距離演算部を備えることを特徴とする請求項2記載の通信装置。  The communication apparatus according to claim 2, further comprising a distance calculation unit that calculates a distance from the other communication apparatus based on a reception level from the other communication apparatus. 更に、前記確認信号を受信して前記認証が成立してから次に前記認証が成立するまでの時間を積算し、当該積算時間を認証時間として測定する認証時間測定部を備えることを特徴する請求項2記載の通信装置。  The information processing apparatus further comprises an authentication time measurement unit that integrates a time from when the confirmation signal is received to when the authentication is established until the authentication is established, and measures the integration time as the authentication time. Item 3. The communication device according to Item 2. 更に、前記他の通信装置との前記認証時間と、前記通信装置との前記距離とから前記他の通信装置との愛情係数を演算し、当該愛情係数に基づいて前記他の通信装置との愛情測定を行う愛情測定部を備えることを特徴とする請求項3及び4記載の通信装置。  Further, a love coefficient with the other communication device is calculated from the authentication time with the other communication device and the distance with the communication device, and the love with the other communication device is calculated based on the love coefficient. 5. The communication device according to claim 3, further comprising an affection measuring unit that performs measurement. 前記暗号化部は、前記他の通信装置との認証終了後、被制御装置から送信された、乱数よりなるAND認証チャレンジ信号を暗号化し、
前記送信部は暗号化された前記AND認証チャレンジ信号をANDチャレンジレスポンス信号として前記被制御装置に送信し、一定時間経過後AND認証確認信号を前記被制御装置に送信し、
前記受信部は前記AND認証確認信号に対する応答信号であるAND確認信号を受信することで、前記他の通信装置との間で前記被制御装置に対する使用制限を解除することを特徴とする請求項2記載の通信装置。
The encryption unit encrypts an AND authentication challenge signal composed of a random number transmitted from the controlled device after the end of authentication with the other communication device,
The transmitting unit transmits the encrypted AND authentication challenge signal to the controlled device as an AND challenge response signal, and transmits an AND authentication confirmation signal to the controlled device after a certain period of time,
The receiving unit releases an use restriction on the controlled device with the other communication device by receiving an AND confirmation signal which is a response signal to the AND authentication confirmation signal. The communication device described.
前記送信部は、前記他の通信装置との認証終了後、送信出力がアップした探索信号を前記他の通信装置に送信し、
前記受信部は、前記他の通信装置からペアリングされた相手であることを確認する探索応答信号を受信し、
更に、前記記憶部に前記ペアリング要求信号と前記ペアリング受諾信号が記憶されていることを確認すると前記他の通信装置から応答があったことを知らせる表示部を備えることを特徴する請求項2記載の通信装置。
The transmission unit transmits a search signal whose transmission output is increased to the other communication device after the end of authentication with the other communication device,
The receiving unit receives a search response signal that confirms that the other communication device is a paired partner,
3. The display device according to claim 2, further comprising a display unit for notifying that there is a response from the other communication device when it is confirmed that the pairing request signal and the pairing acceptance signal are stored in the storage unit. The communication device described.
更に、双極対アンテナを備えることを特徴とする請求項1記載の通信装置。  The communication apparatus according to claim 1, further comprising a bipolar antenna. 他の通信装置と通信を行う通信装置において、
前記通信装置と他の通信装置との双方に予め共通する暗号鍵を備える構成において、
前記他の通信装置から送信されたNビット(Nは1以上の自然数)の乱数よりなるペアリング要求信号を受信する受信部と、
受信した前記ペアリング要求信号を前記暗号鍵を用いて暗号化する暗号化部と、
前記暗号化したペアリング要求信号をペアリング受諾信号として前記他の通信装置に送信する送信部と、
前記他の通信装置において前記ペアリング受諾信号を復号化した結果と前記ペアリング 要求信号とが一致したときに送信されるペアリング確認信号を前記受信部が受信すると、前記ペアリング要求信号と前記ペアリング受諾信号とを記憶する記憶部と
を備えることを特徴とする通信装置。
In a communication device that communicates with other communication devices,
In the configuration comprising an encryption key that is common in advance to both the communication device and the other communication device,
A receiving unit that receives a pairing request signal composed of a random number of N bits (N is a natural number of 1 or more) transmitted from the other communication device;
An encryption unit for encrypting the received pairing request signal using the encryption key;
A transmission unit that transmits the encrypted pairing request signal to the other communication device as a pairing acceptance signal;
When the receiving unit receives a pairing confirmation signal transmitted when the pairing acceptance signal matches the result of decoding the pairing acceptance signal in the other communication device, the pairing request signal and the And a storage unit for storing a pairing acceptance signal.
更に、前記他の通信装置との間で認証を要求するチャレンジ要求信号を前記受信部で受信したときに前記乱数を発生させる乱数発生部と、
前記乱数発生部からの前記乱数をチャレンジ信号として前記送信部から前記他の通信装 置に送信され、前記他の通信装置において前記他の通信装置の記憶部に記憶された前記ペ アリング要求信号及び前記ペアリング受諾信号を暗号鍵に用いて暗号化された前記チャレンジ信号であるレスポンス信号を前記受信部で受信したとき、当該レスポンス信号を前記記憶部に記憶された前記ペアリング要求信号及び前記ペアリング受諾信号を暗号鍵に用い 復号化する復号化部とを備え、
前記送信部は、前記復号化部により前記レスポンス信号を復号化した結果と、前記チャレンジ信号とが一致したとき、認証確認を示す確認信号を前記他の通信装置に送信することを特徴とする請求項9記載の通信装置。
Furthermore, a random number generation unit that generates the random number when receiving a challenge request signal for requesting authentication with the other communication device,
It transmitted from the transmitting unit of the random number from the random number generator as a challenge signal to the other communication equipment, the pairing request signal stored in the storage unit of the other communication device in the other communication devices and When the receiving unit receives a response signal that is the challenge signal encrypted using the pairing acceptance signal as an encryption key, the pairing request signal stored in the storage unit and the pair A decryption unit that decrypts the ring acceptance signal using the encryption key ,
The transmission unit transmits a confirmation signal indicating authentication confirmation to the other communication device when a result obtained by decoding the response signal by the decoding unit matches the challenge signal. Item 10. The communication device according to Item 9.
更に、前記他の通信装置からの受信レベルから前記他の通信装置との距離を演算する距離演算部を備えることを特徴とする請求項10記載の通信装置。  The communication device according to claim 10, further comprising a distance calculation unit that calculates a distance from the other communication device based on a reception level from the other communication device. 更に、前記確認信号を受信して前記認証が成立してから次に前記認証が成立するまでの時間を積算し、当該積算時間を認証時間として測定する認証時間測定部を備えることを特徴する請求項10記載の通信装置。  The information processing apparatus further comprises an authentication time measurement unit that integrates a time from when the confirmation signal is received to when the authentication is established until the authentication is established, and measures the integration time as the authentication time. Item 11. The communication device according to Item 10. 更に、前記他の通信装置との前記認証時間と、前記通信装置との前記距離とから前記他の通信装置との愛情係数を演算し、当該愛情係数に基づいて前記他の通信装置との愛情測定を行う愛情測定部を備えることを特徴とする請求項11及び12記載の通信装置。  Further, a love coefficient with the other communication device is calculated from the authentication time with the other communication device and the distance with the communication device, and the love with the other communication device is calculated based on the love coefficient. The communication apparatus according to claim 11, further comprising an affection measurement unit that performs measurement. 前記暗号化部は、前記他の通信装置との認証終了後、被制御装置から送信された、乱数よりなるAND認証チャレンジ信号を暗号化し、
前記送信部は暗号化された前記AND認証チャレンジ信号をANDチャレンジレスポンス信号として前記被制御装置に送信し、
前記受信部は、前記被制御装置において前記ANBチャレンジレスポンス信号を復号化した結果と前記AND認証チャレンジ信号とが一致したときに送信される確認信号を受信し、
前記確認信号を受信することで、前記他の通信装置との間で前記被制御装置に対する使用制限を解除することを特徴とする請求項10記載の通信装置。
The encryption unit encrypts an AND authentication challenge signal composed of a random number transmitted from the controlled device after the end of authentication with the other communication device,
The transmitter transmits the encrypted AND authentication challenge signal to the controlled device as an AND challenge response signal;
The receiving unit receives a confirmation signal transmitted when the AND authentication challenge signal matches the result of decoding the ANB challenge response signal in the controlled device;
The communication apparatus according to claim 10, wherein the use restriction on the controlled apparatus is released from the other communication apparatus by receiving the confirmation signal.
前記送信部は、前記受信部により前記他の通信装置から送信された探索信号を受信すると、前記記憶部により前記ペアリング要求信号と前記ペアリング受諾信号が記憶されているときに探索応答信号を送信し、
更に、前記探索応答信号の送信により、前記他の通信装置の存在を知らせるために発声又は発光する、夫々音声部又は発光部を備えることを特徴とする請求項10記載の通信装置。
When the transmission unit receives the search signal transmitted from the other communication device by the reception unit, the transmission unit outputs a search response signal when the pairing request signal and the pairing acceptance signal are stored in the storage unit. Send
The communication device according to claim 10, further comprising a voice unit or a light emitting unit that utters or emits light to notify the presence of the other communication device by transmitting the search response signal.
更に、双極対アンテナを備えることを特徴とする請求項9記載の通信装置。  The communication device according to claim 9, further comprising a bipolar antenna. 他の通信装置と通信を行う通信装置におけるペアリング方法であって、
前記通信装置と他の通信装置との双方に予め共通する暗号鍵を備える構成において、
N(Nは1以上の自然数)ビットの乱数を発生し、
前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記他の通信装置に送信し、
前記他の通信装置が前記暗号鍵を用いて前記ペアリング要求信号を暗号化した結果であ ペアリング受諾信号を受信し、
受信した前記ペアリング受諾信号を前記暗号鍵を用いて復号化し、
前記復号化された信号と前記ペアリング要求信号とが一致するとき、ペアリング確認信 号を送信すると共に、前記ペアリング要求信号と前記受信部により受信した前記ペアリング受諾信号とを記憶する
ことを特徴するペアリング方法。
A pairing method in a communication device that communicates with another communication device,
In the configuration comprising an encryption key that is common in advance to both the communication device and the other communication device,
Generate a random number of N (N is a natural number greater than or equal to 1) bits,
Generate a pairing request signal consisting of the random number and send the pairing request signal to the other communication device,
The other communication apparatus receives a pairing acceptance signal Ru der result of encrypting the pairing request signal by using the encryption key,
Decrypting the received pairing acceptance signal using the encryption key ;
When the decoded signal and the pairing request signal coincide, sends a pairing confirm signal, storing the said pairing acceptance signal received the pairing request signal and by the reception unit A pairing method that features.
他の通信装置と通信を行う通信装置におけるペアリング方法であって、
前記通信装置と他の通信装置との双方に予め共通する暗号鍵を備える構成において、
前記他の通信装置から送信されたNビット(Nは1以上の自然数)の乱数よりなるペアリング要求信号を受信し、
受信した前記ペアリング要求信号を前記暗号鍵を用いて暗号化し、
前記暗号化されたペアリング要求信号をペアリング受諾信号として前記他の通信装置に送信し、
前記他の通信装置において前記ペアリング受諾信号を復号化した結果と前記ペアリング 要求信号とが一致したときに送信されるペアリング確認信号を受信すると、前記ペアリン グ要求信号と前記ペアリング受諾信号とを記憶する
ことを特徴とするペアリング方法。
A pairing method in a communication device that communicates with another communication device,
In the configuration comprising an encryption key that is common in advance to both the communication device and the other communication device,
Receiving a pairing request signal consisting of a random number of N bits (N is a natural number of 1 or more) transmitted from the other communication device;
Encrypt the received pairing request signal using the encryption key ,
Sending the encrypted pairing request signal to the other communication device as a pairing acceptance signal;
Upon receiving a pairing confirmation signal is sent when the other of said pairing request signal and a result of decoding the pairing acceptance signal in a communication device matches the pairing request signal to the pairing acceptance signal And a pairing method characterized by memorizing .
ウェアラブルキーとICカードとをペアリングする方法において、
前記ウェアラブルキーとICカードとの双方に予め共通する暗号鍵を備える構成におい て、
前記ウェアラブルキーにおいて、N(Nは1以上の自然数)ビットの乱数を発生して、当該乱数よりなるペアリング要求信号を前記ICカードに送信し、
前記ICカードにおいて、受信した前記ペアリング要求信号を前記暗号鍵を用いて暗号化し、暗号化された前記ペアリング要求信号をペアリング受諾信号として前記ウェアラブルキーに送信し、
前記ウェアラブルキーにおいて、受信した前記ペアリング受諾信号を前記暗号鍵を用い 復号化し、復号化した信号と前記ペアリング要求信号とが一致するとき、ペアリング確認信号を前記ICカードに送信すると共に、前記ペアリング要求信号と前記ペアリング受諾信号とを、前記ウェアラブルキーのメモリに記憶し、
前記ICカードにおいて、前記ペアリング確認信号を受信すると、前記ペアリング要求信号と前記ペアリング受諾信号とを、前記ICカードのメモリに記憶する、
ことを特徴とするペアリング方法。
In the method of pairing a wearable key and an IC card,
Te configuration odor with an encryption key that is common in advance to both the said wearable key and the IC card,
In the wearable key, a random number of N (N is a natural number of 1 or more) bits is generated, and a pairing request signal including the random number is transmitted to the IC card,
In the IC card, the received pairing request signal is encrypted using the encryption key , and the encrypted pairing request signal is transmitted to the wearable key as a pairing acceptance signal,
In the wearable key, the received pairing acceptance signal is decrypted using the encryption key , and when the decrypted signal matches the pairing request signal, a pairing confirmation signal is transmitted to the IC card. , Storing the pairing request signal and the pairing acceptance signal in the memory of the wearable key,
In the IC card, upon receiving the pairing confirmation signal, the pairing request signal and the pairing acceptance signal are stored in the memory of the IC card.
A pairing method characterized by that.
更に、前記ICカードにおいて、前記Nビットの乱数を発生させ、当該乱数よりなるチャレンジ要求信号を送信し、
前記ウェアラブルキーにおいて、前記チャレンジ要求信号を前記メモリに記憶された前 記ペアリング要求信号及び前記ペアリング受諾信号を暗号鍵に用いて暗号化してレスポンス信号として送信し、
前記ICカードにおいて、前記レスポンス信号を前記メモリに記憶された前記ペアリン グ要求信号及び前記ペアリング受諾信号を暗号鍵に用いて復号化し、復号化した結果と前記チャレンジ要求信号とが一致したとき、前記ICカードの使用制限を解除する
ことを特徴とする請求項19記載のペアリング方法。
Further, in the IC card, the N-bit random number is generated, and a challenge request signal composed of the random number is transmitted,
Wherein the wearable key, and sends as a response signal to the challenge request signal before Symbol pairing request signal stored in the memory and the pairing acceptance signal is encrypted using the encryption key,
In the IC card, when said decrypted by using the encryption key to the pairing request signal a response signal stored in the memory and the pairing acceptance signal, and the challenge request signal and a result of the decoding are identical, The pairing method according to claim 19, wherein the restriction on use of the IC card is released.
ウェアラブルキーとICカードとからなるシステムにおいて、
前記ウェアラブルキーとICカードとの双方に予め共通する暗号鍵を備える構成におい て、
前記ウェアラブルキーには、
N(Nは1以上の自然数)ビットの乱数を発生する乱数発生部と、
前記乱数よりなるペアリング要求信号を生成し当該ペアリング要求信号を前記ICカードに送信するペアリング要求信号送信部と、
前記ICカードで前記暗号鍵を用いて暗号化された前記ペアリング要求信号であるペアリング受諾信号を前記ICカードから受信するペアリング受諾信号受信部と、
受信した前記ペアリング受諾信号を前記暗号鍵を用いて復号化する復号化部と、
前記復号化により復号化された信号と前記ペアリング要求信号とが一致するとき、一致することを示すペアリング確認信号を前記ICカードに送信するともに、前記ペアリング要求信号と前記ペアリング受諾信号受信部により受信した前記ペアリング受諾信号とをメモリに記憶するウェアラブルキー記憶部とを備え、
前記ICカードには、
前記ウェアラブルキーから送信された前記ペアリング要求信号を受信するペアリング要求信号受信部と、
受信した前記ペアリング要求信号を前記暗号鍵を用いて暗号化する暗号化部と、
暗号化された前記ペアリング要求信号をペアリング受諾信号として前記ウェアラブルキーに送信するペアリング受諾信号送信部と、
前記ペアリング確認信号を受信したとき、前記ペアリング要求信号と前記ペアリング受諾信号とをメモリに記憶するICカード記憶部とを備える
ことを特徴とするシステム。
In a system consisting of a wearable key and an IC card,
Te configuration odor with an encryption key that is common in advance to both the said wearable key and the IC card,
The wearable key includes
A random number generator for generating a random number of N bits (N is a natural number greater than or equal to 1) bits;
A pairing request signal transmitter for generating a pairing request signal composed of the random number and transmitting the pairing request signal to the IC card;
A pairing acceptance signal receiving unit that receives from the IC card a pairing acceptance signal that is the pairing request signal encrypted using the encryption key in the IC card;
A decryption unit for decrypting the received pairing acceptance signal using the encryption key ;
When the signal decoded by the decoding and the pairing request signal match, a pairing confirmation signal indicating matching is transmitted to the IC card, and the pairing request signal and the pairing acceptance signal A wearable key storage unit that stores the pairing acceptance signal received by the reception unit in a memory;
In the IC card,
A pairing request signal receiving unit for receiving the pairing request signal transmitted from the wearable key;
An encryption unit for encrypting the received pairing request signal using the encryption key ;
A pairing acceptance signal transmitter for transmitting the encrypted pairing request signal to the wearable key as a pairing acceptance signal;
An IC card storage unit that stores the pairing request signal and the pairing acceptance signal in a memory when the pairing confirmation signal is received.
更に、前記ウェアラブルキーには、前記ICカードから送信されたチャレンジ要求信号を前記メモリに記憶された前記ペアリング要求信号及び前記ペアリング受諾信号を暗号鍵 に用いて暗号化してレスポンス信号として送信するレスポンス信号送信部を備え、
前記ICカードには、前記Nビットの乱数を発生させ、当該乱数よりなるチャレンジ要求信号を送信するチャレンジ要求信号送信部と、
前記レスポンス信号を受信し、前記レスポンス信号を前記メモリに記憶された前記ペア リング要求信号及び前記ペアリング受諾信号を暗号鍵に用いて復号化した結果と、前記チャレンジ要求信号とが一致したとき、前記ICカードの使用制限を解除する使用制限解除部とを備えることを特徴とする請求項21記載のシステム。
Further, the wearable key encrypts the challenge request signal transmitted from the IC card using the pairing request signal and the pairing acceptance signal stored in the memory as an encryption key, and transmits it as a response signal. With a response signal transmitter
In the IC card, a challenge request signal transmission unit that generates the N-bit random number and transmits a challenge request signal including the random number;
When the response signal is received and the challenge request signal matches the result of decrypting the response signal using the pairing request signal and the pairing acceptance signal stored in the memory with an encryption key , The system according to claim 21, further comprising a use restriction releasing unit that removes use restriction of the IC card.
JP2007107354A 2007-04-16 2007-04-16 Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card Expired - Fee Related JP5207654B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007107354A JP5207654B2 (en) 2007-04-16 2007-04-16 Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007107354A JP5207654B2 (en) 2007-04-16 2007-04-16 Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card

Publications (2)

Publication Number Publication Date
JP2008270907A JP2008270907A (en) 2008-11-06
JP5207654B2 true JP5207654B2 (en) 2013-06-12

Family

ID=40049881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007107354A Expired - Fee Related JP5207654B2 (en) 2007-04-16 2007-04-16 Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card

Country Status (1)

Country Link
JP (1) JP5207654B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102009024604B4 (en) * 2009-06-10 2011-05-05 Infineon Technologies Ag Generation of a session key for authentication and secure data transmission
JP5650252B2 (en) * 2013-01-08 2015-01-07 日本電信電話株式会社 Authority issuing system, authority issuing server, and authority issuing method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3119494B2 (en) * 1991-04-03 2000-12-18 日本電信電話株式会社 How to verify card ownership
FI114062B (en) * 2001-06-08 2004-07-30 Nokia Corp Method for ensuring the security of the communication, the communication system and the communication device
JP2003179598A (en) * 2001-12-11 2003-06-27 Nec Corp Authentication system
JP2004297759A (en) * 2003-03-11 2004-10-21 Seiko Epson Corp Connection authentication in wireless communication network system
US20040250073A1 (en) * 2003-06-03 2004-12-09 Cukier Johnas I. Protocol for hybrid authenticated key establishment
JP4763972B2 (en) * 2004-03-31 2011-08-31 富士通エフ・アイ・ピー株式会社 Encrypted information transmission method, computer program, and communication system
FR2869134B1 (en) * 2004-04-16 2008-10-03 Somfy Soc Par Actions Simplifiee METHOD FOR TRANSMITTING INFORMATION BETWEEN BIDIRECTIONAL OBJECTS
JP2007052514A (en) * 2005-08-16 2007-03-01 Sony Corp Target device and authentication method
JP2007097009A (en) * 2005-09-30 2007-04-12 Sony Corp Data transfer system, transmitting terminal, receiving terminal, program thereof, data transmitting method, and data receiving method

Also Published As

Publication number Publication date
JP2008270907A (en) 2008-11-06

Similar Documents

Publication Publication Date Title
EP1488653B1 (en) Apparatus, method and system for authentication
US9021557B2 (en) System and method for security using a sibling smart card
US20130009756A1 (en) Verification using near field communications
CN108665250B (en) Information processing method, device, hardware wallet and system
KR100815148B1 (en) System and method for settlement security using nfc
US20090018964A1 (en) Methods, systems, and computer program products for performing a transaction in which a certifier provides identification information for authenticating a customer at the point of sale
EP2770702B1 (en) Mobile phone and communication method thereof
US20090023474A1 (en) Token-based dynamic authorization management of rfid systems
KR20080041230A (en) Wireless device monitoring system
WO2011035515A1 (en) Identification method and system for wireless payment
JP2007122457A (en) Portable terminal device
US20050026595A1 (en) Proximity based security protocol for processor-based systems
JP6092529B2 (en) Charging system for electric mobile body and server device included therein
CN102945526A (en) Device and method for improving online payment security of mobile equipment
JPH11252069A (en) Mutual authentication device between information devices
JP5960512B2 (en) Charging system for electric mobile object, charging device for electric mobile object, portable communication terminal and server device included therein, and charging method for electric mobile object
CN106254076B (en) To the method for the bank data programming in the integrated circuit of wrist-watch
JP5207654B2 (en) Communication device, pairing method between communication devices, method for pairing wearable key and IC card, and system comprising wearable key and IC card
KR20120129388A (en) Method for Processing Transaction of Electronic Cash by using Near Field Communication, Handheld Device and Automatic Teller Machine
CN107038571B (en) For being inserted into the encrypted card in mobile terminal
CN107016541B (en) Encrypted card
US20170236110A1 (en) Methods and apparatus for non-contact radio frequency detection and automatic establishment of corresponding communication channel
KR100644438B1 (en) Mobile Communication Terminal Having Regular Battery Authentication Function and Method thereof
JP2006195559A (en) Information processing unit and data communication system
CN107038572B (en) Encrypted card and its working method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100416

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20101111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20101112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120925

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20121126

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20121129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130219

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

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5207654

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees