JP2008097291A - Communications apparatus and method for transmitting/receiving data - Google Patents

Communications apparatus and method for transmitting/receiving data Download PDF

Info

Publication number
JP2008097291A
JP2008097291A JP2006277926A JP2006277926A JP2008097291A JP 2008097291 A JP2008097291 A JP 2008097291A JP 2006277926 A JP2006277926 A JP 2006277926A JP 2006277926 A JP2006277926 A JP 2006277926A JP 2008097291 A JP2008097291 A JP 2008097291A
Authority
JP
Japan
Prior art keywords
data
communication
unit
timing
operation state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006277926A
Other languages
Japanese (ja)
Inventor
Koji Hatano
浩司 幡野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006277926A priority Critical patent/JP2008097291A/en
Publication of JP2008097291A publication Critical patent/JP2008097291A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent secret information from being read out, even when an unauthorized reader approaches, on the basis of data-receiving timing and detection timing of light or sound. <P>SOLUTION: A proximity communication part 101 transmits/receives data to/from a proximity communication part 151 in a reader/writer 150. An operation state acquisition part 102 images an image of an operation state notifying part 152. An analysis part 103 analyzes the image data of the image photographed by the operation state acquiring part 102; and when an analysis result indicating the light emission of the operation state notifying part 152 is obtained, outputs the analysis result to a communication control part 105. The communication control part 105 determines whether the processing of the received data is to be continued, on the basis of data-receiving timing and the light emission timing of the operation state communicating part 152 which is the analysis result. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、通信装置及びデータ送受信方法に関し、例えばリーダライタに近接することによってリーダライタと通信して電子マネーにより決済を行うことができる通信装置及びデータ送受信方法に関する。   The present invention relates to a communication device and a data transmission / reception method, and more particularly to a communication device and a data transmission / reception method that can communicate with a reader / writer by making proximity to the reader / writer and perform settlement with electronic money.

従来、光センサで周囲の明るさを検出した際に通信処理を実行することにより、ポケット等に入れられたICカードから情報をスキミングされることを防止するものが知られている(例えば、特許文献1)。ここで、スキミングとは、ICカードに記録されている情報を不正に読み出して複製することである。   Conventionally, it is known that information is prevented from being skimmed from an IC card placed in a pocket or the like by executing communication processing when ambient light is detected by an optical sensor (for example, patents) Reference 1). Here, skimming refers to illegally reading and copying information recorded on an IC card.

また、従来、リーダライタが、自分の近くの他のリーダライタが発する質問信号を検出した際に、自分の信号送信タイミングを遅延させることにより、無線タグからの応答を正常に受信することができるものが知られている(例えば、特許文献2)。   Conventionally, when a reader / writer detects an interrogation signal emitted by another reader / writer nearby, it can normally receive a response from the wireless tag by delaying its own signal transmission timing. The thing is known (for example, patent document 2).

また、従来、非接触ICカードとの通信が成功した場合及び失敗した場合等の動作状態に応じて、表示または音を変化させるリーダライタが知られている(例えば、特許文献3)。
特開2005−32161号公報 特開2003−150916号公報 特開2002−197419号公報
Conventionally, a reader / writer that changes display or sound according to an operation state such as when communication with a non-contact IC card succeeds or fails is known (for example, Patent Document 3).
JP 2005-32161 A JP 2003-150916 A JP 2002-197419 A

しかしながら、従来の装置においては、特許文献1では、ICカードがポケットから取り出されてポケットに格納されるまでのスキミング対策には効果がないという問題がある。また、特許文献2では、信号送信タイミングを遅延させることによって干渉状態が解消することから、スキミングのためのリーダライタも無線タグからの応答を正常に受信することができ、却ってスキミングを助長させてしまうという問題がある。また、特許文献3では、単に表示または音を変化させるだけでは、スキミングを防止することはできないという問題がある。   However, the conventional apparatus has a problem in Patent Document 1 that there is no effect on skimming measures until the IC card is taken out of the pocket and stored in the pocket. Further, in Patent Document 2, since the interference state is resolved by delaying the signal transmission timing, the reader / writer for skimming can also receive the response from the wireless tag normally, and on the contrary, promote skimming. There is a problem of end. Moreover, in patent document 3, there exists a problem that skimming cannot be prevented only by changing a display or a sound.

本発明はかかる点に鑑みてなされたものであり、データ受信のタイミングと、リーダ側の光源または音源の変化の検出のタイミングとに基づいて、不正なリーダが近づいている場合でも秘密情報詐取を防止することができる通信装置及びデータ送受信方法を提供することを目的とする。   The present invention has been made in view of this point, and based on the timing of data reception and the timing of detection of a change in the light source or sound source on the reader side, even if an unauthorized reader is approaching, confidential information fraud is performed. An object of the present invention is to provide a communication device and a data transmission / reception method that can be prevented.

本発明の通信装置は、通信相手に近接することによって前記通信相手から送信されたデータを受信する受信手段と、前記送信に伴って通信相手に設けた光源の状態が変化した際に前記光源の状態の変化を検出する検出手段と、前記受信手段で前記データを受信したタイミングと前記検出手段で前記光源の状態の変化を検出したタイミングとに基づいて、受信した前記データの処理を継続するか否かを判断するデータ処理制御手段と、を具備する構成を採る。   The communication device according to the present invention includes a receiving unit that receives data transmitted from the communication partner by approaching the communication partner, and a state of the light source provided in the communication partner with the transmission changes. Whether to continue processing the received data based on detection means for detecting a change in state, timing at which the reception means has received the data, and timing at which the detection means has detected a change in the state of the light source And a data processing control means for determining whether or not.

また、本発明の通信装置は、通信相手に近接することによって前記通信相手から送信されたデータを受信する受信手段と、前記送信に伴って通信相手に設けた音源の状態が変化した際に前記音源の状態の変化を検出する検出手段と、前記受信手段で前記データを受信したタイミングと前記検出手段で前記音源の状態の変化を検出したタイミングとに基づいて、受信した前記データの処理を継続するか否かを判断するデータ処理制御手段と、を具備する構成を採る。   Further, the communication device of the present invention includes a receiving unit that receives data transmitted from the communication partner by approaching the communication partner, and the state of the sound source provided in the communication partner is changed with the transmission. Continues processing of the received data based on detection means for detecting a change in the state of the sound source, timing at which the reception means has received the data, and timing at which the detection means has detected a change in the state of the sound source And a data processing control means for determining whether or not to do so.

本発明のデータ送受信方法は、通信装置が前記通信装置の通信相手に近接することによって前記通信相手から送信されたデータを前記通信装置が受信するステップと、前記送信に伴って前記通信相手に設けた光源の状態が変化した際に前記通信装置が前記光源の状態の変化を検出するステップと、前記データを受信したタイミングと前記光源の状態の変化を検出したタイミングとに基づいて、前記通信装置にて、受信した前記データの処理を継続するか否かを判断するステップと、を具備するようにした。   The data transmission / reception method of the present invention includes a step in which the communication device receives data transmitted from the communication partner when the communication device approaches the communication partner of the communication device, and is provided in the communication partner with the transmission. The communication device detects the change in the state of the light source when the state of the light source changes, and the timing at which the data is received and the timing at which the change in the state of the light source is detected. And a step of determining whether or not to continue processing of the received data.

また、本発明のデータ送受信方法は、通信装置が前記通信装置の通信相手に近接することによって前記通信相手から送信されたデータを前記通信装置が受信するステップと、前記送信に伴って前記通信相手に設けた音源の状態が変化した際に前記通信装置が前記音源の状態の変化を検出するステップと、前記データを受信したタイミングと前記音源の状態の変化を検出したタイミングとに基づいて、前記通信装置にて、受信した前記データの処理を継続するか否かを判断するステップと、を具備するようにした。   The data transmission / reception method of the present invention includes a step in which the communication device receives data transmitted from the communication partner when the communication device approaches the communication partner of the communication device, and the communication partner with the transmission. The communication device detects a change in the state of the sound source when the state of the sound source provided in the device changes, and the timing at which the data is received and the timing at which the change in the state of the sound source is detected, Determining whether to continue processing the received data in the communication device.

本発明によれば、データ受信のタイミングと、リーダ側の光源または音源の変化の検出のタイミングとに基づいて、不正なリーダが近づいている場合でも秘密情報詐取を防止することができる。   According to the present invention, it is possible to prevent confidential information fraud even when an unauthorized reader is approaching based on the timing of data reception and the timing of detection of a change in the light source or sound source on the reader side.

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

(実施の形態1)
本実施の形態1は、データの受信タイミングと光の検出タイミングとに基づいて不正なリーダライタによるスキミングを検出することを特徴とするものである。
(Embodiment 1)
The first embodiment is characterized by detecting skimming by an unauthorized reader / writer based on the data reception timing and the light detection timing.

図1は、本発明の実施の形態1に係る通信装置100及びリーダライタ150の構成を示すブロック図である。本実施の形態1における通信装置100は、例えば通信機能を有するICカードである。   FIG. 1 is a block diagram showing configurations of communication apparatus 100 and reader / writer 150 according to Embodiment 1 of the present invention. The communication device 100 according to the first embodiment is an IC card having a communication function, for example.

最初に、通信装置100の構成について説明する。   First, the configuration of the communication apparatus 100 will be described.

受信手段である近接通信部101は、例えばアンテナを備えており、後述するリーダライタ150の近接通信部151との間で、データの送受信を行う。具体的には、近接通信部101は、通信制御部105から入力したデータを送信するとともに、近接通信部151から送信されたデータを受信して、受信したデータを通信制御部105へ出力する。また、近接通信部101は、通信装置100がリーダライタ150に近接することにより、リーダライタ150の近接通信部151との交信可能範囲に入り、これにより近接通信部151から放射されている電波を受信し、近接通信部151との間でデータの送受信を行うことができる。ここで、近接通信部101が近接通信部151との間で送受信するデータとは、通信装置100の検出のためのデータ、通信装置100とリーダライタ150との相互認証のためのデータ、及び情報の読み書きのためのデータ等である。   The proximity communication unit 101 serving as a reception unit includes, for example, an antenna, and transmits and receives data to and from the proximity communication unit 151 of the reader / writer 150 described later. Specifically, the proximity communication unit 101 transmits data input from the communication control unit 105, receives data transmitted from the proximity communication unit 151, and outputs the received data to the communication control unit 105. Further, the proximity communication unit 101 enters a communicable range with the proximity communication unit 151 of the reader / writer 150 when the communication device 100 approaches the reader / writer 150, and thereby the radio wave radiated from the proximity communication unit 151 is transmitted. It can receive and transmit / receive data to / from the proximity communication unit 151. Here, the data transmitted / received between the proximity communication unit 101 and the proximity communication unit 151 are data for detection of the communication device 100, data for mutual authentication between the communication device 100 and the reader / writer 150, and information. Data for reading and writing.

検出手段である動作状態取得部102は、例えばカメラであり、撮像した画像等の検出結果を解析部103へ出力する。例えば、動作状態取得部102は、リーダライタ150からのデータの送信に伴って、光源である動作状態通知部152の状態が変化した際に、動作状態通知部152を撮像し、撮像した画像の画像データを検出結果として解析部103へ出力する。ここで、動作状態通知部152の状態の変化とは、動作状態通知部152における発光、消灯、減光または色の変化等である。また、動作状態取得部102は、導光板を設けることにより、動作状態通知部152の撮像の際に、通信装置100の正面に存在するリーダライタ150の動作状態通知部152の状態の変化のみを検出できるようにする。即ち、動作状態取得部102は、不正なリーダライタ190に設けた光源等の側方から入射する光を誤って検出しないようにする。   The operation state acquisition unit 102 serving as a detection unit is, for example, a camera, and outputs a detection result such as a captured image to the analysis unit 103. For example, the operation state acquisition unit 102 captures the operation state notification unit 152 when the state of the operation state notification unit 152 that is a light source changes with the transmission of data from the reader / writer 150, and the captured image The image data is output to the analysis unit 103 as a detection result. Here, the change in the state of the operation state notification unit 152 includes light emission, extinction, dimming, or color change in the operation state notification unit 152. In addition, the operation state acquisition unit 102 provides only a change in the state of the operation state notification unit 152 of the reader / writer 150 existing in front of the communication device 100 when the operation state notification unit 152 captures an image by providing a light guide plate. Make it detectable. That is, the operation state acquisition unit 102 prevents erroneous detection of light incident from the side of a light source or the like provided in an unauthorized reader / writer 190.

検出手段である解析部103は、動作状態取得部102から入力した検出結果を解析し、動作状態通知部152の状態が変化している解析結果が得られた場合に、解析結果を通信制御部105へ出力する。   The analysis unit 103 serving as a detection unit analyzes the detection result input from the operation state acquisition unit 102, and when an analysis result in which the state of the operation state notification unit 152 is changed is obtained, the analysis result is transmitted to the communication control unit. To 105.

情報保持部104は、通信装置100固有の識別番号等の固有情報を記憶しており、通信制御部105からの読み出し指示に従って記憶している固有情報を通信制御部105へ出力するとともに、通信制御部105から入力したデータを記憶する。   The information holding unit 104 stores unique information such as an identification number unique to the communication device 100, and outputs the stored unique information to the communication control unit 105 in accordance with a read instruction from the communication control unit 105 and performs communication control. Data input from the unit 105 is stored.

データ処理制御手段である通信制御部105は、近接通信部101から入力したデータの受信タイミングと、解析部103から入力した解析結果における状態の変化の検出のタイミングとの比較結果に基づいて、近接通信部101から入力したデータに対する処理を継続するか否かを判定する。そして、通信制御部105は、処理を中止すると判定した場合には、他のリーダライタ190がスキミングのために接近しているものと判断して、判断以降の処理を中止するとともにデータが更新されている場合にはデータを更新する前の状態に戻し、さらに表示部106に対して、不正な通信相手からデータが送信されていることを示す情報を表示するように指示する。また、通信制御部105は、情報保持部104から固有情報を読み出して近接通信部101へ出力するとともに、近接通信部101を介した近接通信部151との通信結果に関するデータを情報保持部104へ出力する。   The communication control unit 105, which is a data processing control unit, determines whether or not the proximity is based on the comparison result between the reception timing of the data input from the proximity communication unit 101 and the detection timing of the state change in the analysis result input from the analysis unit 103. It is determined whether or not to continue processing for data input from the communication unit 101. If the communication control unit 105 determines that the process is to be stopped, the communication control unit 105 determines that another reader / writer 190 is approaching for skimming, stops the subsequent processes, and updates the data. If it is, the data is returned to the state before the update, and the display unit 106 is instructed to display information indicating that the data is transmitted from an unauthorized communication partner. Further, the communication control unit 105 reads out the unique information from the information holding unit 104 and outputs the specific information to the proximity communication unit 101, and also transmits data related to the communication result with the proximity communication unit 151 via the proximity communication unit 101 to the information holding unit 104. Output.

報知手段である表示部106は、通信制御部105の指示に従って、不正な通信相手からデータが送信されていることを示す情報を表示する。   The display unit 106 serving as a notification unit displays information indicating that data is being transmitted from an unauthorized communication partner in accordance with an instruction from the communication control unit 105.

次に、リーダライタ150の構成について説明する。   Next, the configuration of the reader / writer 150 will be described.

近接通信部151は、例えばアンテナを備えており、通信装置100の近接通信部101との間で、データの送受信を行う。具体的には、近接通信部151は、通信制御部153から入力したデータを送信するとともに、近接通信部101から送信されたデータを受信して、受信したデータを通信制御部153へ出力する。また、近接通信部151は、通信装置100の接近を検出するために、常に電波を放射している。   The proximity communication unit 151 includes an antenna, for example, and transmits / receives data to / from the proximity communication unit 101 of the communication device 100. Specifically, the proximity communication unit 151 transmits data input from the communication control unit 153, receives data transmitted from the proximity communication unit 101, and outputs the received data to the communication control unit 153. The proximity communication unit 151 always radiates radio waves in order to detect the approach of the communication device 100.

動作状態通知部152は、例えばLEDであり、近接通信部151がデータを送信する際に発光、消灯、減光または色が変化する等により、状態を変化させる。   The operation state notification unit 152 is, for example, an LED, and changes the state by light emission, extinction, dimming, or color change when the proximity communication unit 151 transmits data.

通信制御部153は、情報保持部154から識別情報等のデータを読み出して近接通信部151へ出力するとともに、動作状態通知部152に対して、近接通信部151からデータを送信する際に状態を変化させるように指示する。また、通信制御部153は、近接通信部151を介した近接通信部101との通信結果に関するデータを情報保持部154へ出力する。   The communication control unit 153 reads out data such as identification information from the information holding unit 154 and outputs the data to the proximity communication unit 151, and changes the state when transmitting data from the proximity communication unit 151 to the operation state notification unit 152. Instruct them to change. In addition, the communication control unit 153 outputs data related to the communication result with the proximity communication unit 101 via the proximity communication unit 151 to the information holding unit 154.

情報保持部154は、リーダライタ150固有の識別情報等の固有情報を記憶しており、記憶している固有情報を通信制御部153へ出力するとともに、通信制御部153から入力した通信結果に関するデータを記憶する。また、情報保持部154は、所定のタイミングで記憶している通信結果に関する情報より、通信履歴の情報を通信部155へ出力する。   The information holding unit 154 stores unique information such as identification information unique to the reader / writer 150, outputs the stored unique information to the communication control unit 153, and data related to the communication result input from the communication control unit 153 Remember. Further, the information holding unit 154 outputs communication history information to the communication unit 155 based on the information regarding the communication result stored at a predetermined timing.

通信部155は、情報保持部154から入力した通信履歴の情報を外部の機器へ送信する。   The communication unit 155 transmits the communication history information input from the information holding unit 154 to an external device.

次に、通信装置100及びリーダライタ150の動作について、図2を用いて説明する。図2は、通信装置100及びリーダライタ150の動作を示すシーケンス図である。なお、図2の縦軸は時間であり、下方にいくにつれて時間が経過するものとする。また、図2においては、動作状態取得部102はカメラであるとともに動作状態通知部152はLEDであり、リーダライタ150のデータの送信に伴って動作状態通知部152が発光する場合を例に説明する。   Next, operations of the communication apparatus 100 and the reader / writer 150 will be described with reference to FIG. FIG. 2 is a sequence diagram illustrating operations of the communication apparatus 100 and the reader / writer 150. Note that the vertical axis in FIG. 2 is time, and time elapses as it goes downward. In FIG. 2, the operation state acquisition unit 102 is a camera and the operation state notification unit 152 is an LED, and the operation state notification unit 152 emits light as the reader / writer 150 transmits data. To do.

最初に、リーダライタ150の近接通信部151は、質問データを送信する(ステップST201)。この際に、リーダライタ150の動作状態通知部152が発光する。   First, the proximity communication unit 151 of the reader / writer 150 transmits question data (step ST201). At this time, the operation state notification unit 152 of the reader / writer 150 emits light.

次に、通信装置100の近接通信部101は、質問データを受信して、通信制御部105に対して、質問データを受信したことを報告する(質問検出報告)(ステップST202)。   Next, the near field communication unit 101 of the communication device 100 receives the question data and reports to the communication control unit 105 that the question data has been received (question detection report) (step ST202).

報告を受けた通信制御部105は、近接通信部101に対して、質問データに対する応答である応答データを送信することを指示する(応答送信指示)(ステップST203)。この際に、通信制御部105は、情報保持部104に記憶している、通信装置100を識別するための識別子を情報保持部104から読み出して、読み出した識別子を近接通信部101へ出力する。   Receiving the report, the communication control unit 105 instructs the proximity communication unit 101 to transmit response data that is a response to the question data (response transmission instruction) (step ST203). At this time, the communication control unit 105 reads the identifier for identifying the communication device 100 stored in the information holding unit 104 from the information holding unit 104 and outputs the read identifier to the near field communication unit 101.

次に、近接通信部101は、通信制御部105の指示に従って、応答データを送信する(ステップST204)。   Next, the proximity communication unit 101 transmits response data in accordance with an instruction from the communication control unit 105 (step ST204).

一方、動作状態取得部102は、ステップST201にて、リーダライタ150が質問データを送信する際の動作状態通知部152の発光を検出する(ステップST205)。   On the other hand, in step ST201, the operation state acquisition unit 102 detects light emission of the operation state notification unit 152 when the reader / writer 150 transmits the question data (step ST205).

次に、動作状態取得部102は、撮像し、撮像により取得した画像の画像データを解析部103へ出力する。動作状態取得部102は、所定時間α内に、撮像した画像の1フレーム分の画像データの出力を完了する(ステップST206)。なお、動作状態取得部102は、動作状態通知部152が発光しない場合でも、所定時間α毎に撮像した画像の1フレーム分の画像データの出力を完了する。   Next, the operation state acquisition unit 102 takes an image and outputs image data of an image acquired by the imaging to the analysis unit 103. The operation state acquisition unit 102 completes the output of image data for one frame of the captured image within the predetermined time α (step ST206). Note that the operation state acquisition unit 102 completes output of image data for one frame of an image captured every predetermined time α even when the operation state notification unit 152 does not emit light.

次に、解析部103は、画像解析を行って、動作状態通知部152が発光している解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST207)。画像解析の方法としては、例えば、解析部103は、画像を撮像する毎に撮像した画像を記憶しておいて、前回撮像した画像と今回撮像した画像との輝度差を画素毎に比較し、輝度差がしきい値以上の画素数が所定数以上の場合に、動作状態通知部152が発光している解析結果が得られたものと判断する。   Next, the analysis unit 103 performs image analysis, and outputs an analysis result to the communication control unit 105 when the analysis result that the operation state notification unit 152 emits light is obtained (light emission detection report) (step) ST207). As an image analysis method, for example, the analysis unit 103 stores an image captured every time an image is captured, compares the luminance difference between the image captured last time and the image captured this time for each pixel, When the number of pixels whose luminance difference is greater than or equal to the threshold value is greater than or equal to the predetermined number, it is determined that the analysis result that the operation state notification unit 152 emits light is obtained.

次に、通信制御部105は、質問データを受信したタイミングと動作状態通知部152の発光の検出のタイミングとに基づいて、質問データを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(1)式を満たす場合は正当なリーダライタ150からの送信と判定し、(1)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
T1min−T0≦T1≦T1max−T0 (1)
Next, based on the timing at which the question data is received and the timing at which the operation state notification unit 152 detects the light emission, the communication control unit 105 causes the reader / writer 150 that has transmitted the question data to transmit and receive data. It is determined whether or not the reader / writer is to be performed, that is, whether or not the reader / writer is to be skimmed. Specifically, the communication control unit 105 determines that transmission is from the legitimate reader / writer 150 when Expression (1) is satisfied, and determines that transmission is from the unauthorized reader / writer 150 when Expression (1) is not satisfied. To do.
T1min−T0 ≦ T1 ≦ T1max−T0 (1)

ただし、T1minは、動作状態取得部102が1フレーム分の画像データの出力を完了した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T0は、リーダライタ150の近接通信部151がデータを送信した時刻から通信装置100の通信制御部105に質問データを受信した報告が入力するまでの標準時間である。また、T1maxは、リーダライタ150の近接通信部151がデータを送信した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T1は、ステップST202で通信制御部105に質問データを受信した報告が入力した時刻から、ステップST207で通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。通信制御部105は、発光を検出したタイミングと質問データを受信したタイミングとの時間差としてT1を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, T1min is the time from the time when the operation state acquisition unit 102 completes outputting one frame of image data until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T0 is a standard time from the time when the proximity communication unit 151 of the reader / writer 150 transmits data until the report that receives the question data is input to the communication control unit 105 of the communication apparatus 100. T1max is the time from when the proximity communication unit 151 of the reader / writer 150 transmits data until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T1 is the time from the time when the report that received the question data is input to the communication control unit 105 in step ST202 to the time when the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105 in step ST207. is there. The communication control unit 105 obtains T1 as a time difference between the timing at which the light emission is detected and the timing at which the question data is received, and determines whether an unauthorized reader / writer is attempting skimming.

近接通信部101は、(1)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When it is determined that the expression (1) is not satisfied, the near field communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

次に、リーダライタ150の近接通信部151は、相互認証処理データを送信する(ステップST208)。この際に、リーダライタ150の動作状態通知部152が発光する。   Next, the near field communication unit 151 of the reader / writer 150 transmits mutual authentication processing data (step ST208). At this time, the operation state notification unit 152 of the reader / writer 150 emits light.

次に、通信装置100の近接通信部101は、相互認証処理データを受信して、受信した相互認証処理データを通信制御部105へ出力し、通信制御部105は、相互認証を開始する(相互認証開始)(ステップST209)。   Next, the near field communication unit 101 of the communication device 100 receives the mutual authentication processing data, outputs the received mutual authentication processing data to the communication control unit 105, and the communication control unit 105 starts mutual authentication (mutual authentication). Authentication start) (step ST209).

次に、通信制御部105は、相互認証処理データに対して、データの送受信を行いたい通信装置100であるか否かを確認するために、所定の乱数からなる暗号化データを生成し、生成した暗号化データを近接通信部101へ出力する(ステップST210)。   Next, the communication control unit 105 generates encrypted data composed of a predetermined random number in order to confirm whether or not the communication apparatus 100 wishes to transmit / receive data to / from the mutual authentication processing data. The encrypted data is output to the near field communication unit 101 (step ST210).

次に、近接通信部101は、暗号化データを送信する(ステップST211)。   Next, the near field communication unit 101 transmits the encrypted data (step ST211).

一方、通信装置100の動作状態取得部102は、ステップST208にて、リーダライタ150が相互認証処理データを送信する際の動作状態通知部152の発光を検出する(ステップST212)。   On the other hand, in step ST208, the operation state acquisition unit 102 of the communication apparatus 100 detects light emission of the operation state notification unit 152 when the reader / writer 150 transmits mutual authentication processing data (step ST212).

次に、動作状態取得部102は、撮像し、撮像により取得した画像の画像データを解析部103へ出力する。動作状態取得部102は、所定時間α内に、撮像した画像の1フレーム分の画像データの出力を完了する(ステップST213)。なお、動作状態取得部102は、動作状態通知部152が発光しない場合でも、所定時間α毎に撮像した画像の1フレーム分の画像データの出力を完了する。   Next, the operation state acquisition unit 102 takes an image and outputs image data of an image acquired by the imaging to the analysis unit 103. The operation state acquisition unit 102 completes the output of the image data for one frame of the captured image within the predetermined time α (step ST213). Note that the operation state acquisition unit 102 completes output of image data for one frame of an image captured every predetermined time α even when the operation state notification unit 152 does not emit light.

次に、解析部103は、画像解析を行って、動作状態通知部152が発光している解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST214)。   Next, the analysis unit 103 performs image analysis, and outputs an analysis result to the communication control unit 105 when the analysis result that the operation state notification unit 152 emits light is obtained (light emission detection report) (step) ST214).

次に、通信制御部105は、相互認証処理データを受信したタイミングと動作状態通知部152の発光の検出のタイミングとに基づいて、質問データを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(2)式を満たす場合は正当なリーダライタ150からの送信と判定し、(2)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
T2min−T0≦T2≦T2max−T0 (2)
Next, the communication control unit 105 determines that the reader / writer 150 that has transmitted the question data based on the timing at which the mutual authentication processing data is received and the timing at which the operation state notification unit 152 detects the light emission causes the communication device 100 to transmit the data. It is determined whether or not the reader / writer wants to perform transmission / reception, that is, whether or not the reader / writer is trying to skimm. Specifically, the communication control unit 105 determines that transmission is from the legitimate reader / writer 150 when Expression (2) is satisfied, and determines that transmission is from the unauthorized reader / writer 150 when Expression (2) is not satisfied. To do.
T2min−T0 ≦ T2 ≦ T2max−T0 (2)

ただし、T2minは、動作状態取得部102が1フレーム分の画像データの出力を完了した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T0は、リーダライタ150の近接通信部151がデータを送信した時刻から通信装置100の通信制御部105に相互認証処理データが入力するまでの標準時間である。また、T2maxは、リーダライタ150の近接通信部151がデータを送信した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T2は、ステップST209で相互認証処理データが入力した時刻からステップST214で動作状態通知部152が発光した解析結果が入力するまでの時間である。通信制御部105は、発光を検出したタイミングと相互認証処理データを受信したタイミングとの時間差としてT2を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, T2min is the time from when the operation state acquisition unit 102 completes outputting image data for one frame until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T0 is a standard time from when the proximity communication unit 151 of the reader / writer 150 transmits data until the mutual authentication processing data is input to the communication control unit 105 of the communication device 100. T2max is the time from when the proximity communication unit 151 of the reader / writer 150 transmits data until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T2 is the time from when the mutual authentication processing data is input at step ST209 to when the analysis result emitted by the operation state notification unit 152 is input at step ST214. The communication control unit 105 obtains T2 as a time difference between the timing at which the light emission is detected and the timing at which the mutual authentication processing data is received, and determines whether an unauthorized reader / writer is attempting skimming.

近接通信部101は、(2)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When the proximity communication unit 101 determines that the expression (2) is not satisfied, the proximity communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

次に、リーダライタ150の近接通信部151は、情報更新処理のためのデータを送信する(ステップST215)。この際に、リーダライタ150の動作状態通知部152が発光する。例えば、近接通信部151は、情報更新処理のためのデータとして、通信装置100の情報保持部104に記憶している電子マネーを50円減らす処理を行うためのデータを送信する。   Next, the near field communication unit 151 of the reader / writer 150 transmits data for information update processing (step ST215). At this time, the operation state notification unit 152 of the reader / writer 150 emits light. For example, the proximity communication unit 151 transmits data for performing processing to reduce electronic money stored in the information holding unit 104 of the communication device 100 by 50 yen as data for information update processing.

次に、通信装置100の近接通信部101は、情報更新処理のためのデータを受信し、受信した情報更新処理のためのデータを通信制御部105へ出力し、通信制御部105は、情報更新を開始する(情報更新開始)(ステップST216)。   Next, the proximity communication unit 101 of the communication device 100 receives data for the information update process, outputs the received data for the information update process to the communication control unit 105, and the communication control unit 105 updates the information update process. Is started (information update start) (step ST216).

次に、通信制御部105は、近接通信部101に対して、情報更新処理のためのデータに対する応答である応答データを送信することを指示する(応答送信指示)(ステップST217)。   Next, the communication control unit 105 instructs the proximity communication unit 101 to transmit response data that is a response to the data for the information update process (response transmission instruction) (step ST217).

次に、近接通信部101は、通信制御部105の指示に従って、応答データを送信する(ステップST218)。   Next, proximity communication section 101 transmits response data in accordance with an instruction from communication control section 105 (step ST218).

一方、通信装置100の動作状態取得部102は、ステップST215にて、リーダライタ150が情報更新処理のためのデータを送信する際の動作状態通知部152の発光を検出する(ステップST219)。   On the other hand, the operation state acquisition unit 102 of the communication apparatus 100 detects light emission of the operation state notification unit 152 when the reader / writer 150 transmits data for information update processing in step ST215 (step ST219).

次に、動作状態取得部102は、撮像し、撮像により取得した画像の画像データを解析部103へ出力する。動作状態取得部102は、所定時間α内に、撮像した画像の1フレーム分の画像データの出力を完了する。(ステップST220)。なお、動作状態取得部102は、動作状態通知部152が発光しない場合でも、所定時間α毎に撮像した画像の1フレーム分の画像データの出力を完了する。   Next, the operation state acquisition unit 102 takes an image and outputs image data of an image acquired by the imaging to the analysis unit 103. The operation state acquisition unit 102 completes outputting image data for one frame of the captured image within a predetermined time α. (Step ST220). Note that the operation state acquisition unit 102 completes output of image data for one frame of an image captured every predetermined time α even when the operation state notification unit 152 does not emit light.

次に、解析部103は、画像解析を行って、動作状態通知部152が発光した解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST221)。   Next, analysis unit 103 performs image analysis, and when an analysis result emitted by operation state notification unit 152 is obtained, the analysis result is output to communication control unit 105 (emission detection report) (step ST221). .

次に、通信制御部105は、情報更新処理のためのデータを受信したタイミングと動作状態通知部152の発光の検出のタイミングとに基づいて、情報更新処理のためのデータを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(3)式を満たす場合は正当なリーダライタ150からの送信と判定し、(3)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
T3min−T0≦T3≦T3max−T0 (3)
Next, the communication control unit 105 transmits the data for the information update process based on the timing at which the data for the information update process is received and the timing at which the operation state notification unit 152 detects the light emission. However, it is determined whether or not the communication device 100 is a reader / writer that wants to transmit and receive data, that is, whether or not the reader / writer is trying to skimm. Specifically, the communication control unit 105 determines that transmission is from the legitimate reader / writer 150 when Expression (3) is satisfied, and determines that transmission is from the unauthorized reader / writer 150 when Expression (3) is not satisfied. To do.
T3min−T0 ≦ T3 ≦ T3max−T0 (3)

ただし、T3minは、動作状態取得部102が1フレーム分の画像データの出力を完了した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T0は、リーダライタ150の近接通信部151がデータを送信した時刻から通信装置100の通信制御部105に情報更新処理のためのデータが入力するまでの標準時間である。また、T3maxは、リーダライタ150の近接通信部151がデータを送信した時刻から通信制御部105に動作状態通知部152が発光した解析結果が入力するまでの時間である。また、T3は、ステップST216で情報更新処理のためのデータが入力した時刻からステップST221で動作状態通知部152が発光した解析結果が入力するまでの時間である。通信制御部105は、発光を検出したタイミングと情報交信処理のためのデータを受信したタイミングとの時間差としてT3を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。ステップST201からステップST218までの処理に要する時間は、例えば0.1secである。   However, T3min is the time from when the operation state acquisition unit 102 completes outputting image data for one frame until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T0 is a standard time from the time when the proximity communication unit 151 of the reader / writer 150 transmits data until the data for information update processing is input to the communication control unit 105 of the communication apparatus 100. T3max is the time from when the proximity communication unit 151 of the reader / writer 150 transmits data until the analysis result emitted by the operation state notification unit 152 is input to the communication control unit 105. T3 is the time from when the data for the information update process is input at step ST216 to when the analysis result emitted by the operation state notification unit 152 is input at step ST221. The communication control unit 105 obtains T3 as a time difference between the timing at which light emission is detected and the timing at which data for information communication processing is received, and determines whether an unauthorized reader / writer is attempting skimming. The time required for the processing from step ST201 to step ST218 is, for example, 0.1 sec.

近接通信部101は、(3)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When the proximity communication unit 101 determines that the expression (3) is not satisfied, the proximity communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

上記(1)式〜(3)式より、通信装置100が受信したデータを送信したリーダライタ150が不正なリーダライタであるか否かを判定するための一般式は、(4)式のようになる。
Tmin−T0≦Ti≦Tmax−T0(i=1、2、3・・・) (4)
From the above formulas (1) to (3), a general formula for determining whether or not the reader / writer 150 that has transmitted the data received by the communication apparatus 100 is an unauthorized reader / writer is as follows: become.
Tmin−T0 ≦ Ti ≦ Tmax−T0 (i = 1, 2, 3,...) (4)

ただし、T0は、リーダライタ150がデータを送信してから通信装置100の通信制御部105がデータの受信を認識するまでの標準時間である。また、Tminは、動作状態通知部152が発光してから通信装置100の通信制御部105が動作状態通知部152の発光を認識するまでの最短時間である。また、Tmaxは、動作状態通知部152が発光してから通信装置100の通信制御部105が動作状態通知部152の発光を認識するまでの最長時間である。また、Tiは、通信装置100の通信制御部105がデータの受信を認識してから通信装置100の通信制御部105が動作状態通知部152の発光を認識するまでの時間である。通信制御部105は、発光を検出したタイミングと情報交信処理のためのデータを受信したタイミングとの時間差としてTiを求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, T0 is a standard time from when the reader / writer 150 transmits data until the communication control unit 105 of the communication apparatus 100 recognizes reception of the data. Tmin is the shortest time from when the operation state notification unit 152 emits light until the communication control unit 105 of the communication apparatus 100 recognizes light emission of the operation state notification unit 152. Tmax is the longest time from when the operation state notification unit 152 emits light until the communication control unit 105 of the communication apparatus 100 recognizes light emission of the operation state notification unit 152. Ti is the time from when the communication control unit 105 of the communication device 100 recognizes the reception of data until the communication control unit 105 of the communication device 100 recognizes the light emission of the operation state notification unit 152. The communication control unit 105 obtains Ti as a time difference between the timing at which light emission is detected and the timing at which data for information communication processing is received, and determines whether an unauthorized reader / writer is attempting skimming.

近接通信部101は、(4)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When the proximity communication unit 101 determines that the expression (4) is not satisfied, the proximity communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

次に、通信装置100の動作について、図3を用いて説明する。図3は、通信装置100の動作を示すフロー図である。なお、図3においては、動作状態取得部102はカメラであるとともに動作状態通知部152はLEDであるものとして説明する。   Next, the operation of the communication apparatus 100 will be described with reference to FIG. FIG. 3 is a flowchart showing the operation of the communication apparatus 100. In FIG. 3, it is assumed that the operation state acquisition unit 102 is a camera and the operation state notification unit 152 is an LED.

最初に、通信制御部105は、近接通信部101から質問データを受信した旨の報告があったか否かの判定、即ち、質問を検出したか否かの判定を行う(ステップST301)。   First, the communication control unit 105 determines whether or not there is a report indicating that the question data has been received from the proximity communication unit 101, that is, whether or not a question has been detected (step ST301).

質問を検出しない場合にはステップST301の処理を繰り返す。一方、質問を検出した場合には、通信制御部105は、近接通信部101に対して、応答データの送信を指示し、近接通信部101は、応答データを送信する(ステップST302)。   If no question is detected, the process of step ST301 is repeated. On the other hand, if a question is detected, communication control section 105 instructs proximity communication section 101 to transmit response data, and proximity communication section 101 transmits response data (step ST302).

次に、通信制御部105は、解析部103から動作状態通知部152が発光した解析結果の入力があったか否か、即ち動作状態通知部152の発光を検出したか否かを判定する(ステップST303)。   Next, communication control section 105 determines whether or not analysis result emitted from operation state notifying section 152 is input from analysis section 103, that is, whether or not light emission from operation state notifying section 152 has been detected (step ST303). ).

発光を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   When the light emission is not detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、発光を検出した場合には、通信制御部105は、(1)式におけるT1が(1)式を満たすか否か、即ちT1は妥当か否かを判定する(ステップST304)。   On the other hand, when light emission is detected, the communication control unit 105 determines whether or not T1 in the equation (1) satisfies the equation (1), that is, whether or not T1 is appropriate (step ST304).

T1が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   When T1 is not valid, the communication control unit 105 cancels the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、T1が妥当である場合には、通信制御部105は、相互認証処理データの入力があったか否か、即ち相互認証を開始したか否かを判定する(ステップST306)。   On the other hand, if T1 is valid, communication control section 105 determines whether or not mutual authentication processing data has been input, that is, whether or not mutual authentication has started (step ST306).

相互認証を開始していない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   If the mutual authentication has not started, the communication control unit 105 cancels the data processing started by receiving the question data, and if the data has been updated, the state before the data is updated (Restore the original state) (step ST305).

一方、相互認証を開始した場合には、通信制御部105は、相互認証処理を行う(ステップST307)。   On the other hand, when mutual authentication is started, the communication control unit 105 performs mutual authentication processing (step ST307).

次に、通信制御部105は、解析部103から動作状態通知部152が発光した解析結果の入力があったか否か、即ち動作状態通知部152の発光を検出したか否かを判定する(ステップST308)。   Next, communication control section 105 determines whether or not there is an input of an analysis result emitted from operation state notification section 152 from analysis section 103, that is, whether or not light emission from operation state notification section 152 has been detected (step ST308). ).

発光を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   When the light emission is not detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、発光を検出した場合には、通信制御部105は、(2)式におけるT2が(2)式を満たすか否か、即ちT2は妥当か否かを判定する(ステップST309)。   On the other hand, when light emission is detected, communication control section 105 determines whether or not T2 in equation (2) satisfies equation (2), that is, whether or not T2 is appropriate (step ST309).

T2が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   If T2 is not valid, the communication control unit 105 cancels the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、T2が妥当である場合には、通信制御部105は、情報更新処理のためのデータの入力があったか否か、即ち情報更新を開始したか否かを判定する(ステップST310)。   On the other hand, when T2 is valid, communication control section 105 determines whether or not data for information update processing has been input, that is, whether or not information update has started (step ST310).

情報更新を開始していない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   If the information update has not started, the communication control unit 105 cancels the data processing started by receiving the question data, and if the data has been updated, the state before the data is updated (Restore the original state) (step ST305).

一方、情報更新を開始した場合には、通信制御部105は、情報更新処理を行う(ステップST311)。   On the other hand, when the information update is started, the communication control unit 105 performs an information update process (step ST311).

次に、通信制御部105は、解析部103から動作状態通知部152が発光した解析結果の入力があったか否か、即ち動作状態通知部152の発光を検出したか否かを判定する(ステップST312)。   Next, communication control section 105 determines whether or not an analysis result emitted from operation state notification section 152 has been input from analysis section 103, that is, whether or not light emission from operation state notification section 152 has been detected (step ST312). ).

発光を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   When the light emission is not detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、発光を検出した場合には、通信制御部105は、(3)式におけるT3が(3)式を満たすか否か、即ちT3は妥当か否かを判定する(ステップST313)。   On the other hand, when light emission is detected, the communication control unit 105 determines whether or not T3 in the equation (3) satisfies the equation (3), that is, whether or not T3 is appropriate (step ST313).

T3が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST305)。   When T3 is not valid, the communication control unit 105 cancels the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST305).

一方、T3が妥当である場合には、通信制御部105は、所定の情報更新処理が終了するまで処理を継続する。   On the other hand, when T3 is appropriate, the communication control unit 105 continues the process until the predetermined information update process is completed.

ここで、原状回復とは、例えば情報保持部104に記憶している電子マネーが、買い物等により50円減額されている場合には、情報保持部104に記憶している電子マネーを50円減額する前の金額に戻すことである。   Here, the original restoration is, for example, when the electronic money stored in the information holding unit 104 is reduced by 50 yen due to shopping or the like, the electronic money stored in the information holding unit 104 is reduced by 50 yen It is to return to the amount before.

このように、本実施の形態1によれば、データの受信のタイミングと、動作状態通知部152の状態の変化を検出したタイミングとに基づいて、不正なリーダが近づいている場合でも秘密情報詐取を防止することができる。また、本実施の形態1によれば、動作状態取得部102に導光板を設けることにより、側方から入射する光を検出しないようにするので、不正なリーダライタ190が動作状態通知部152と同様の機能を有する場合に、不正なリーダライタ190の光源の状態の変化を正当なリーダライタの光源の状態の変化として誤って検出してしまう可能性を低減することができる。   As described above, according to the first embodiment, even if an unauthorized reader is approaching based on the data reception timing and the timing at which the change in the state of the operation state notification unit 152 is detected, the secret information fraud Can be prevented. Further, according to the first embodiment, since the operation state acquisition unit 102 is provided with the light guide plate so that light incident from the side is not detected, the unauthorized reader / writer 190 and the operation state notification unit 152 In the case of having the same function, it is possible to reduce the possibility that an unauthorized change in the state of the light source of the reader / writer 190 is erroneously detected as a change in the state of the light source of the legitimate reader / writer.

(実施の形態2)
本実施の形態2は、データの受信タイミングとリーダに設けた音源の状態の変化を検出するタイミングとに基づいて不正なリーダライタによるスキミングを検出することを特徴とするものである。
(Embodiment 2)
The second embodiment is characterized in that skimming by an unauthorized reader / writer is detected based on a data reception timing and a timing for detecting a change in the state of a sound source provided in the reader.

本実施の形態2における通信装置100及びリーダライタ150の構成は、動作状態取得部102が音を検出することができる機能を有するとともに動作状態通知部152が音を発する機能を有するようにする以外は図1と同一であるので、その構成の詳細な説明は省略する。   The configurations of the communication device 100 and the reader / writer 150 according to the second embodiment are such that the operation state acquisition unit 102 has a function of detecting sound and the operation state notification unit 152 has a function of emitting sound. Since this is the same as FIG. 1, a detailed description of its configuration is omitted.

検出手段である動作状態取得部102は、例えばマイクであり、リーダライタ150の動作状態通知部152の状態の変化を検出して、検出結果を解析部103へ出力する。例えば、動作状態取得部102は、リーダライタ150からのデータの送信に伴って、音源である動作状態通知部152の状態が変化した際に、変化した状態を検出して、検出結果を解析部103へ出力する。ここで、動作状態通知部152の状態の変化とは、動作状態通知部152における音の発生及び発生する音の音色の変化等である。また、動作状態取得部102は、遮音板を設けることにより、通信装置100の正面に存在するリーダライタ150の動作状態通知部152の状態の変化のみを検出できるようにする。即ち、動作状態取得部102は、不正なリーダライタ190に設けた音源等の側方からの音を誤って検出しないようにする。また、動作状態取得部102に遮音板を設ける場合に限らず、リーダライタの動作状態通知部152が発する音を指向性の強い、例えば超音波等の高い周波数のものとすることにより、不正なリーダライタ190が正当なリーダライタを装って発する音が側方から動作状態取得部102に回り込みにくいようにしても良い。   The operation state acquisition unit 102 serving as a detection unit is, for example, a microphone, detects a change in the state of the operation state notification unit 152 of the reader / writer 150, and outputs the detection result to the analysis unit 103. For example, the operation state acquisition unit 102 detects the changed state when the state of the operation state notification unit 152 that is a sound source is changed with the transmission of data from the reader / writer 150, and analyzes the detection result. To 103. Here, the change in the state of the operation state notification unit 152 includes the generation of a sound in the operation state notification unit 152 and a change in the timbre of the generated sound. In addition, the operation state acquisition unit 102 can detect only a change in the state of the operation state notification unit 152 of the reader / writer 150 existing in front of the communication device 100 by providing a sound insulating plate. That is, the operation state acquisition unit 102 prevents erroneous detection of sound from the side of a sound source or the like provided in the unauthorized reader / writer 190. In addition, the sound is not limited to the case where a sound insulation board is provided in the operation state acquisition unit 102, and the sound emitted from the operation state notification unit 152 of the reader / writer is illegal by making it have a high directivity, for example, a high frequency such as an ultrasonic wave. The sound produced by the reader / writer 190 wearing a legitimate reader / writer may be difficult to circulate into the operation state acquisition unit 102 from the side.

通信制御部105は、近接通信部101から入力したデータの受信タイミングと、解析部103から入力した解析結果における状態の変化の検出のタイミングとの比較結果に基づいて、近接通信部101から入力したデータに対する処理を継続するか否かを判定する。そして、通信制御部105は、処理を中止すると判定した場合には、他のリーダライタ190がスキミングのために接近しているものと判断して、判断以降の処理を中止するとともにデータが更新されている場合にはデータを更新する前の状態に戻し、さらに表示部106に対して、不正な通信相手からデータが送信されていることを示す情報を表示するように指示する。また、通信制御部105は、情報保持部104から固有情報を読み出して近接通信部101へ出力するとともに、近接通信部101を介した近接通信部151との通信結果に関するデータを情報保持部104へ出力する。   The communication control unit 105 inputs from the proximity communication unit 101 based on the comparison result between the reception timing of the data input from the proximity communication unit 101 and the detection timing of the state change in the analysis result input from the analysis unit 103. It is determined whether or not to continue processing the data. If the communication control unit 105 determines that the process is to be stopped, the communication control unit 105 determines that another reader / writer 190 is approaching for skimming, stops the subsequent processes, and updates the data. If it is, the data is returned to the state before the update, and the display unit 106 is instructed to display information indicating that the data is transmitted from an unauthorized communication partner. Further, the communication control unit 105 reads out the unique information from the information holding unit 104 and outputs the specific information to the proximity communication unit 101, and also transmits data related to the communication result with the proximity communication unit 151 via the proximity communication unit 101 to the information holding unit 104. Output.

動作状態通知部152は、例えばスピーカであり、近接通信部151がデータを送信する際に音を発生させるか、または発生する音の音色を他の処理の場合と異なる音色に変化させる等により、状態を変化させる。   The operation state notification unit 152 is a speaker, for example, and generates a sound when the proximity communication unit 151 transmits data, or changes a timbre of the generated sound to a timbre different from the case of other processing, etc. Change state.

通信制御部153は、情報保持部154から識別情報等のデータを読み出して近接通信部151へ出力するとともに、動作状態通知部152に対して、状態を変化させるように指示する。また、通信制御部153は、近接通信部151を介した近接通信部101との通信結果に関するデータを情報保持部154へ出力する。   The communication control unit 153 reads data such as identification information from the information holding unit 154 and outputs the data to the proximity communication unit 151 and instructs the operation state notification unit 152 to change the state. In addition, the communication control unit 153 outputs data related to the communication result with the proximity communication unit 101 via the proximity communication unit 151 to the information holding unit 154.

次に、通信装置100及びリーダライタ150の動作について、図4を用いて説明する。図4は、本発明の実施の形態2に係る通信装置100及びリーダライタ150の動作を示すシーケンス図である。なお、図4の縦軸は時間であり、下方にいくにつれて時間が経過するものとする。また、図4においては、動作状態取得部102はマイクであるとともに動作状態通知部152はスピーカであるものとし、リーダライタ150のデータの送信に伴って動作状態通知部152が音を発する場合を例に説明する。   Next, operations of the communication apparatus 100 and the reader / writer 150 will be described with reference to FIG. FIG. 4 is a sequence diagram showing operations of communication apparatus 100 and reader / writer 150 according to Embodiment 2 of the present invention. In addition, the vertical axis | shaft of FIG. 4 is time, and time shall pass as it goes below. In FIG. 4, it is assumed that the operation state acquisition unit 102 is a microphone and the operation state notification unit 152 is a speaker, and the operation state notification unit 152 emits a sound as the reader / writer 150 transmits data. Explained as an example.

最初に、リーダライタ150の近接通信部151は、質問データを送信する(ステップST401)。この際に、リーダライタ150の動作状態通知部152が音を発する。   First, the proximity communication unit 151 of the reader / writer 150 transmits question data (step ST401). At this time, the operation state notification unit 152 of the reader / writer 150 emits a sound.

次に、通信装置100の近接通信部101は、質問データを受信して、通信制御部105に対して、質問データを受信したことを報告する(質問検出報告)(ステップST402)。   Next, the near field communication unit 101 of the communication device 100 receives the question data and reports to the communication control unit 105 that the question data has been received (question detection report) (step ST402).

報告を受けた通信制御部105は、近接通信部101に対して、質問データに対する応答である応答データを送信することを指示する(応答送信指示)(ステップST403)。この際に、通信制御部105は、情報保持部104に記憶している、通信装置100を識別するための識別子を情報保持部104から読み出して、読み出した識別子を近接通信部101へ出力する。   Receiving the report, communication control section 105 instructs proximity communication section 101 to transmit response data that is a response to the question data (response transmission instruction) (step ST403). At this time, the communication control unit 105 reads the identifier for identifying the communication device 100 stored in the information holding unit 104 from the information holding unit 104 and outputs the read identifier to the near field communication unit 101.

次に、近接通信部101は、通信制御部105の指示に従って、応答データを送信する(ステップST404)。   Next, proximity communication section 101 transmits response data in accordance with an instruction from communication control section 105 (step ST404).

一方、通信装置100の動作状態取得部102は、ステップST401にて、リーダライタ150が質問データを送信する際の動作状態通知部152が発する音を検出する(ステップST405)。   On the other hand, in step ST401, the operation state acquisition unit 102 of the communication apparatus 100 detects a sound generated by the operation state notification unit 152 when the reader / writer 150 transmits question data (step ST405).

次に、動作状態取得部102は、動作状態通知部152の発する音を検出し、検出結果を解析部103へ出力する(ステップST406)。なお、動作状態取得部102は、動作状態通知部152が音を発しない場合でも、所定時間毎に音の検出を行う。   Next, operation state acquisition section 102 detects the sound emitted from operation state notification section 152, and outputs the detection result to analysis section 103 (step ST406). Note that the operation state acquisition unit 102 detects sound every predetermined time even when the operation state notification unit 152 does not emit sound.

次に、解析部103は、音解析を行って、動作状態通知部152が音を発した解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST407)。音解析の方法としては、例えば、動作状態通知部152が発する音を人間同士が会話している際には生じない特定の周波数にした場合、解析部103は、その特定の周波数を検出した場合に、動作状態通知部152が音を発している解析結果が得られたものと判断する。   Next, the analysis unit 103 performs sound analysis, and outputs an analysis result to the communication control unit 105 when a result of the operation state notification unit 152 emitting a sound is obtained (light emission detection report) (step) ST407). As a sound analysis method, for example, when the sound emitted by the operation state notification unit 152 is set to a specific frequency that does not occur when people are talking, the analysis unit 103 detects the specific frequency. In addition, it is determined that an analysis result indicating that the operation state notification unit 152 is generating sound has been obtained.

次に、通信制御部105は、質問データを受信したタイミングと動作状態通知部152が発した音の検出のタイミングとに基づいて、質問データを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(5)式を満たす場合は正当なリーダライタ150からの送信と判定し、(5)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
0≦T11≦T20 (5)
Next, the communication control unit 105 determines that the reader / writer 150 that has transmitted the question data based on the timing at which the question data is received and the timing at which the operation state notification unit 152 detects the sound, It is determined whether or not the reader / writer wants to perform transmission / reception, that is, whether or not the reader / writer is trying to skimm. Specifically, the communication control unit 105 determines that transmission is from the legitimate reader / writer 150 when Expression (5) is satisfied, and determines that transmission is from the unauthorized reader / writer 150 when Expression (5) is not satisfied. To do.
0 ≦ T11 ≦ T20 (5)

ただし、T11は、ステップST402で質問データを受信した報告が入力した時刻からステップST407で動作状態通知部152が発した音の解析結果が入力するまでの時間である。また、T20は、所定の時間であるしきい値である。通信制御部105は、動作状態通知部152が発した音を検出したタイミングと質問データを受信したタイミングとの時間差としてT11を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, T11 is the time from the input of the report that received the question data in step ST402 to the input of the analysis result of the sound emitted by the operation state notifying unit 152 in step ST407. T20 is a threshold value that is a predetermined time. The communication control unit 105 obtains T11 as a time difference between the timing at which the sound generated by the operation state notification unit 152 is detected and the timing at which the question data is received, and determines whether an unauthorized reader / writer is attempting skimming. .

近接通信部101は、(5)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When the proximity communication unit 101 determines that the expression (5) is not satisfied, the proximity communication unit 101 stops the data processing after the determination, and returns to a state before the data is updated when the data is updated.

次に、リーダライタ150の近接通信部151は、相互認証処理データを送信する(ステップST408)。この際に、リーダライタ150の動作状態通知部152が音を発する。   Next, the near field communication unit 151 of the reader / writer 150 transmits mutual authentication processing data (step ST408). At this time, the operation state notification unit 152 of the reader / writer 150 emits a sound.

次に、通信装置100の近接通信部101は、相互認証処理データを受信して、受信した相互認証処理データを通信制御部105へ出力し、通信制御部105は、相互認証を開始する(相互認証開始)(ステップST409)。   Next, the near field communication unit 101 of the communication device 100 receives the mutual authentication processing data, outputs the received mutual authentication processing data to the communication control unit 105, and the communication control unit 105 starts mutual authentication (mutual authentication). Authentication start) (step ST409).

次に、通信制御部105は、相互認証処理データに対して、データの送受信を行いたい通信装置100であるか否かを確認するために、所定の乱数からなる暗号化データを生成し、生成した暗号化データを近接通信部101へ出力する(ステップST410)。   Next, the communication control unit 105 generates encrypted data composed of a predetermined random number in order to confirm whether or not the communication apparatus 100 wishes to transmit / receive data to / from the mutual authentication processing data. The encrypted data is output to the near field communication unit 101 (step ST410).

次に、近接通信部101は、暗号化データを送信する(ステップST411)。   Next, the near field communication unit 101 transmits the encrypted data (step ST411).

一方、通信装置100の動作状態取得部102は、ステップST408にて、リーダライタ150が相互認証処理データを送信する際の動作状態通知部152が発する音を検出する(ステップST412)。   On the other hand, in step ST408, the operation state acquisition unit 102 of the communication apparatus 100 detects a sound generated by the operation state notification unit 152 when the reader / writer 150 transmits mutual authentication processing data (step ST412).

次に、動作状態取得部102は、音を検出し、検出結果を解析部103へ出力する(ステップST413)。   Next, the operation state acquisition unit 102 detects sound and outputs the detection result to the analysis unit 103 (step ST413).

次に、解析部103は、音解析を行って、動作状態通知部152が発した音である解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST414)。   Next, the analysis unit 103 performs sound analysis, and outputs an analysis result to the communication control unit 105 when the analysis result is a sound emitted from the operation state notification unit 152 (light emission detection report) ( Step ST414).

次に、通信制御部105は、相互認証処理データを受信したタイミングと動作状態通知部152が発した音の検出のタイミングとに基づいて、相互認証データを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(6)式を満たす場合は正当なリーダライタ150からの送信と判定し、(6)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
0≦T12≦T20 (6)
Next, the communication control unit 105 determines that the reader / writer 150 that has transmitted the mutual authentication data based on the timing at which the mutual authentication processing data is received and the timing at which the operation state notification unit 152 generates sound is transmitted to the communication device 100. Is a reader / writer that wants to send and receive data, that is, whether or not it is an unauthorized reader / writer trying to skimm. Specifically, the communication control unit 105 determines that the transmission is from the legitimate reader / writer 150 when the expression (6) is satisfied, and determines that the transmission is from the unauthorized reader / writer 150 when the expression (6) is not satisfied. To do.
0 ≦ T12 ≦ T20 (6)

ただし、T12は、ステップST409で相互認証処理データが入力した時刻からステップST414で動作状態通知部152が発した音の解析結果が入力するまでの時間である。また、T20は、所定の時間であるしきい値である。通信制御部105は、動作状態通知部152が発した音を検出したタイミングと相互認証処理データを受信したタイミングとの時間差としてT12を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, T12 is the time from when the mutual authentication process data is input at step ST409 to when the analysis result of the sound emitted by the operation state notifying unit 152 is input at step ST414. T20 is a threshold value that is a predetermined time. The communication control unit 105 obtains T12 as a time difference between the timing at which the sound generated by the operation state notification unit 152 is detected and the timing at which the mutual authentication processing data is received, and determines whether or not an unauthorized reader / writer is attempting skimming. to decide.

近接通信部101は、(6)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When the proximity communication unit 101 determines that the expression (6) is not satisfied, the proximity communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

次に、リーダライタ150の近接通信部151は、情報更新処理のためのデータを送信する(ステップST415)。この際に、リーダライタ150の動作状態通知部152が音を発する。例えば、近接通信部151は、情報更新処理のためのデータとして、通信装置100の情報保持部104に記憶している電子マネーを50円減らす処理を行うためのデータを送信する。   Next, the near field communication unit 151 of the reader / writer 150 transmits data for information update processing (step ST415). At this time, the operation state notification unit 152 of the reader / writer 150 emits a sound. For example, the proximity communication unit 151 transmits data for performing processing to reduce electronic money stored in the information holding unit 104 of the communication device 100 by 50 yen as data for information update processing.

次に、通信装置100の近接通信部101は、情報更新処理のためのデータを受信し、受信した情報更新処理のためのデータを通信制御部105へ出力し、通信制御部105は、情報更新を開始する(情報更新開始)(ステップST416)。   Next, the proximity communication unit 101 of the communication device 100 receives data for the information update process, outputs the received data for the information update process to the communication control unit 105, and the communication control unit 105 updates the information update process. Is started (information update start) (step ST416).

次に、通信制御部105は、近接通信部101に対して、情報更新処理のためのデータに対する応答である応答データを送信することを指示する(応答送信指示)(ステップST417)。   Next, communication control section 105 instructs proximity communication section 101 to transmit response data that is a response to data for information update processing (response transmission instruction) (step ST417).

次に、近接通信部101は、通信制御部105の指示に従って、応答データを送信する(ステップST418)。   Next, proximity communication section 101 transmits response data in accordance with an instruction from communication control section 105 (step ST418).

一方、通信装置100の動作状態取得部102は、ステップST415にて、リーダライタ150が情報更新処理のためのデータを送信する際の動作状態通知部152が発する音を検出する(ステップST419)。   On the other hand, in step ST415, the operation state acquisition unit 102 of the communication apparatus 100 detects a sound generated by the operation state notification unit 152 when the reader / writer 150 transmits data for information update processing (step ST419).

次に、動作状態取得部102は、音を検出し、検出結果を解析部103へ出力する(ステップST420)。なお、動作状態取得部102は、動作状態通知部152が音を発しない場合でも、所定時間毎に音検出を行う。   Next, the operation state acquisition unit 102 detects sound and outputs the detection result to the analysis unit 103 (step ST420). The operation state acquisition unit 102 performs sound detection every predetermined time even when the operation state notification unit 152 does not emit sound.

次に、解析部103は、音解析を行って、動作状態通知部152が発した音である解析結果が得られた場合に、解析結果を通信制御部105へ出力する(発光検出報告)(ステップST421)。   Next, the analysis unit 103 performs sound analysis, and outputs an analysis result to the communication control unit 105 when the analysis result is a sound emitted from the operation state notification unit 152 (light emission detection report) ( Step ST421).

次に、通信制御部105は、情報更新処理のためのデータを受信したタイミングと動作状態通知部152が発した音の検出のタイミングとに基づいて、情報更新処理のためのデータを送信したリーダライタ150が、通信装置100がデータの送受信を行いたいリーダライタであるか否か、即ちスキミングしようとしている不正なリーダライタでないか否かを判定する。具体的には、通信制御部105は、(7)式を満たす場合は正当なリーダライタ150からの送信と判定し、(7)式を満たさない場合は不正なリーダライタ150からの送信と判定する。
0≦T13≦T20 (7)
Next, the communication control unit 105 transmits the data for the information update process based on the timing of receiving the data for the information update process and the timing of detecting the sound generated by the operation state notification unit 152. The writer 150 determines whether or not the communication device 100 is a reader / writer that wants to send and receive data, that is, whether or not the reader / writer is an unauthorized reader / writer that is going to skimm. Specifically, the communication control unit 105 determines that the transmission is from the legitimate reader / writer 150 when the expression (7) is satisfied, and determines that the transmission is from the unauthorized reader / writer 150 when the expression (7) is not satisfied. To do.
0 ≦ T13 ≦ T20 (7)

ただし、T13は、ステップST416で情報更新処理のためのデータが入力した時刻からステップST421で動作状態通知部152が発した音の解析結果が入力するまでの時間である。また、T20は、所定の時間であるしきい値である。通信制御部105は、動作状態通知部152が発した音を検出したタイミングと情報更新処理のためのデータを受信したタイミングとの時間差としてT13を求めて、不正なリーダライタがスキミングを試みているか否かを判断する。ステップST401からステップST418までの処理に要する時間は、例えば0.1secである。   However, T13 is the time from when the data for the information update process is input at step ST416 to when the analysis result of the sound emitted by the operation state notification unit 152 is input at step ST421. T20 is a threshold value that is a predetermined time. The communication control unit 105 obtains T13 as a time difference between the timing at which the sound generated by the operation state notification unit 152 is detected and the timing at which data for information update processing is received, and whether an unauthorized reader / writer is trying to skimm. Judge whether or not. The time required for the processing from step ST401 to step ST418 is, for example, 0.1 sec.

近接通信部101は、(7)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When it is determined that the expression (7) is not satisfied, the near field communication unit 101 stops the data processing after the determination, and returns to a state before the data is updated when the data is updated.

上記(5)式〜(7)式より、通信装置100が受信したデータを送信したリーダライタ150が不正なリーダライタであるか否かを判定するための一般式は、(8)式のようになる。
0≦Ti≦T20(i=1、2、3・・・) (8)
From the above formulas (5) to (7), a general formula for determining whether or not the reader / writer 150 that has transmitted the data received by the communication device 100 is an unauthorized reader / writer is as follows: become.
0 ≦ Ti ≦ T20 (i = 1, 2, 3,...) (8)

ただし、Tiは、通信装置100の通信制御部105がデータの受信を認識してから通信装置100の通信制御部105が動作状態通知部152の発する音を認識するまでの時間である。また、T20は、所定の時間であるしきい値である。通信制御部105は、動作状態通知部152が発した音を検出したタイミングとデータを受信したタイミングとの時間差としてTiを求めて、不正なリーダライタがスキミングを試みているか否かを判断する。   However, Ti is the time from when the communication control unit 105 of the communication device 100 recognizes the reception of data until the communication control unit 105 of the communication device 100 recognizes the sound generated by the operation state notification unit 152. T20 is a threshold value that is a predetermined time. The communication control unit 105 obtains Ti as a time difference between the timing at which the sound generated by the operation state notification unit 152 is detected and the timing at which data is received, and determines whether an unauthorized reader / writer is attempting skimming.

近接通信部101は、(8)式を満たさないと判断した場合に、判断以降のデータの処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す。   When it is determined that the expression (8) is not satisfied, the near field communication unit 101 stops the data processing after the determination, and returns to the state before the data is updated when the data is updated.

次に、通信装置100の動作について、図5を用いて説明する。図5は、通信装置100の動作を示すフロー図である。   Next, the operation of the communication apparatus 100 will be described with reference to FIG. FIG. 5 is a flowchart showing the operation of the communication apparatus 100.

最初に、通信制御部105は、近接通信部101から質問データを受信した旨の報告があったか否かの判定、即ち、質問を検出したか否かの判定を行う(ステップST501)。   First, the communication control unit 105 determines whether or not there is a report that the question data has been received from the proximity communication unit 101, that is, whether or not a question has been detected (step ST501).

質問を検出しない場合にはステップST501の処理を繰り返す。一方、質問を検出した場合には、通信制御部105は、近接通信部101に対して、応答データの送信を指示し、近接通信部101は、応答データを送信する(ステップST502)。   If no question is detected, the process of step ST501 is repeated. On the other hand, when a question is detected, communication control section 105 instructs proximity communication section 101 to transmit response data, and proximity communication section 101 transmits response data (step ST502).

次に、通信制御部105は、動作状態取得部102で動作状態通知部152が発した音を検出したか否かを判定する(ステップST503)。   Next, communication control section 105 determines whether or not the operation state acquisition section 102 has detected a sound emitted from operation state notification section 152 (step ST503).

音を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If no sound is detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated if the data is updated ( Original restoration) (step ST505).

一方、音を検出した場合には、通信制御部105は、(5)式におけるT11が(5)式を満たすか否か、即ちT11は妥当か否かを判定する(ステップST504)。   On the other hand, if a sound is detected, communication control section 105 determines whether or not T11 in equation (5) satisfies equation (5), that is, whether or not T11 is appropriate (step ST504).

T11が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If T11 is not valid, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST505).

一方、T11が妥当である場合には、通信制御部105は、相互認証処理データの入力があったか否か、即ち相互認証を開始したか否かを判定する(ステップST506)。   On the other hand, if T11 is valid, communication control section 105 determines whether or not mutual authentication processing data has been input, that is, whether or not mutual authentication has started (step ST506).

相互認証を開始していない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If the mutual authentication has not started, the communication control unit 105 cancels the data processing started by receiving the question data, and if the data has been updated, the state before the data is updated (Restore the original state) (Step ST505).

一方、相互認証を開始した場合には、通信制御部105は、相互認証処理を行う(ステップST507)。   On the other hand, when mutual authentication is started, communication control section 105 performs mutual authentication processing (step ST507).

次に、通信制御部105は、動作状態取得部102で動作状態通知部152が発した音を検出したか否かを判定する(ステップST508)。   Next, communication control section 105 determines whether or not the operation state acquisition section 102 has detected a sound emitted by operation state notification section 152 (step ST508).

音を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If no sound is detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated if the data is updated ( Original restoration) (step ST505).

一方、音を検出した場合には、通信制御部105は、(6)式におけるT12が(6)式を満たすか否か、即ちT12は妥当か否かを判定する(ステップST509)。   On the other hand, when a sound is detected, communication control section 105 determines whether or not T12 in equation (6) satisfies equation (6), that is, whether or not T12 is appropriate (step ST509).

T12が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If T12 is not valid, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST505).

一方、T12が妥当である場合には、通信制御部105は、情報更新処理のためのデータの入力があったか否か、即ち情報更新を開始したか否かを判定する(ステップST510)。   On the other hand, when T12 is valid, communication control section 105 determines whether or not data for information update processing has been input, that is, whether or not information update has started (step ST510).

情報更新を開始していない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If the information update has not started, the communication control unit 105 cancels the data processing started by receiving the question data, and if the data has been updated, the state before the data is updated (Restore the original state) (Step ST505).

一方、情報更新を開始した場合には、通信制御部105は、情報更新処理を行う(ステップST511)。   On the other hand, when the information update is started, the communication control unit 105 performs an information update process (step ST511).

次に、通信制御部105は、動作状態取得部102で動作状態通知部152が発した音を検出したか否かを判定する(ステップST512)。   Next, communication control section 105 determines whether or not the sound generated by operation state notification section 152 has been detected by operation state acquisition section 102 (step ST512).

音を検出しない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If no sound is detected, the communication control unit 105 stops the data processing started by receiving the question data, and returns to the state before the data is updated if the data is updated ( Original restoration) (step ST505).

一方、音を検出した場合には、通信制御部105は、(7)式におけるT13が(7)式を満たすか否か、即ちT13は妥当か否かを判定する(ステップST513)。   On the other hand, when the sound is detected, the communication control unit 105 determines whether or not T13 in the equation (7) satisfies the equation (7), that is, whether or not T13 is appropriate (step ST513).

T13が妥当でない場合には、通信制御部105は、質問データを受信したことにより開始したデータ処理を中止するとともに、データの更新がなされている場合にはデータを更新する前の状態に戻す(原状回復)(ステップST505)。   If T13 is not valid, the communication control unit 105 cancels the data processing started by receiving the question data, and returns to the state before the data is updated when the data is updated ( Original restoration) (step ST505).

一方、T13が妥当である場合には、通信制御部105は、所定の情報更新処理が終了するまで処理を継続する。   On the other hand, when T13 is valid, the communication control unit 105 continues the process until the predetermined information update process is completed.

このように、本実施の形態2によれば、データの受信のタイミングと、動作状態通知部152の状態の変化を検出したタイミングとを比較することにより、不正なリーダが近づいている場合でも秘密情報詐取を防止することができる。また、本実施の形態2によれば、動作状態取得部102に遮音板を設ける等により、側方からの音を検出しないようにするので、不正なリーダライタ190が動作状態通知部152と同様の機能を有する場合に、不正なリーダライタ190の音源の状態の変化を正当なリーダライタの音源の状態の変化として誤って検出してしまう可能性を低減することができる。   As described above, according to the second embodiment, by comparing the data reception timing with the timing at which the change in the state of the operation state notification unit 152 is detected, it is possible to keep the secret even when an unauthorized reader is approaching. Information fraud can be prevented. In addition, according to the second embodiment, since the sound from the side is not detected by providing a sound insulation board or the like in the operation state acquisition unit 102, the unauthorized reader / writer 190 is the same as the operation state notification unit 152. In the case of having this function, it is possible to reduce the possibility that an unauthorized change in the state of the sound source of the reader / writer 190 is erroneously detected as a change in the state of the sound source of the valid reader / writer.

(実施の形態3)
図6は、本発明の実施の形態3に係る通信装置600の構成を示すブロック図である。なお、本実施の形態3においては、リーダライタの構成は図1のリーダライタ150と同一であるので、その説明は省略する。
(Embodiment 3)
FIG. 6 is a block diagram showing a configuration of communication apparatus 600 according to Embodiment 3 of the present invention. In the third embodiment, the configuration of the reader / writer is the same as that of the reader / writer 150 in FIG.

本実施の形態3は、携帯電話機能を有する通信装置において、データの受信タイミングとリーダに設けた光源の状態の変化を検出したタイミングとに基づいて不正なリーダライタによるスキミングを検出することを特徴とするものである。   The third embodiment is characterized in that, in a communication device having a mobile phone function, skimming by an unauthorized reader / writer is detected based on a data reception timing and a timing at which a change in the state of a light source provided in the reader is detected. It is what.

受信手段である近接通信部607と、情報保持部608と、解析部609と、通信制御部610は、ICカード機能部611を構成する。   The proximity communication unit 607, the information holding unit 608, the analysis unit 609, and the communication control unit 610 that are reception units constitute an IC card function unit 611.

マイク601は、制御部606の制御に従って、入力した音声を音声信号として制御部606へ出力する。   The microphone 601 outputs the input voice as a voice signal to the control unit 606 according to the control of the control unit 606.

アンテナ部602は、受信した信号を制御部606へ出力するとともに、制御部606から入力した信号を送信する。   The antenna unit 602 outputs the received signal to the control unit 606 and transmits the signal input from the control unit 606.

報知手段である表示部603は、例えば液晶画面であり、制御部606の制御に従って電話番号等の携帯電話として機能する際に必要な情報を表示する。また、表示部603は、通信制御部610の指示に従って、不正な通信相手からデータが送信されていることを示す情報を表示する。また、表示部603は、制御部606から入力した画像データの画像を表示する。   The display unit 603 serving as a notification unit is, for example, a liquid crystal screen, and displays information necessary for functioning as a mobile phone such as a telephone number under the control of the control unit 606. The display unit 603 displays information indicating that data is being transmitted from an unauthorized communication partner in accordance with an instruction from the communication control unit 610. The display unit 603 displays an image of image data input from the control unit 606.

検出手段であるカメラ604は、制御部606の制御に従って撮像を行い、撮像した画像の画像データを制御部606へ出力する。また、カメラ604は、リーダライタ150からのデータの送信に伴って、光源である動作状態通知部152の状態が変化した際に、動作状態通知部152を撮像し、撮像した画像の画像データを検出結果として解析部609へ出力する。ここで、動作状態通知部152の状態の変化とは、動作状態通知部152における発光、消灯、減光または色の変化等である。   The camera 604 serving as detection means performs imaging under the control of the control unit 606, and outputs image data of the captured image to the control unit 606. Further, the camera 604 captures the operation state notification unit 152 when the state of the operation state notification unit 152 serving as a light source changes with the transmission of data from the reader / writer 150, and the image data of the captured image is obtained. It outputs to the analysis part 609 as a detection result. Here, the change in the state of the operation state notification unit 152 includes light emission, extinction, dimming, or color change in the operation state notification unit 152.

携帯電話機能部605は、制御部606の制御に従って、携帯電話用の信号に対する変調処理及び復調処理を行うとともに、セルサーチ等の携帯電話における所定の処理を行う。   The mobile phone function unit 605 performs modulation processing and demodulation processing on the signal for the mobile phone according to the control of the control unit 606, and performs predetermined processing in the mobile phone such as cell search.

制御部606は、マイク601と、アンテナ部602と、表示部603と、カメラ604と、携帯電話機能部605と、ICカード機能部611全体を制御する。また、制御部606は、通話相手からの着信または通話相手に対する発信を検知した場合には、通信装置600が携帯電話として使用できるように切り換える。また、制御部606は、リーダライタ150から送信された信号を検出した場合には、通信装置600がICカードとして使用できるように制御する。即ち、制御部606は、携帯電話機能とICカード機能との切り換え制御を行う。さらに、制御部606は、マイク601から入力した音声信号を携帯電話機能部605へ出力するとともに、カメラ604から入力した画像データの画像を表示部603で表示するように制御する。   The control unit 606 controls the microphone 601, the antenna unit 602, the display unit 603, the camera 604, the mobile phone function unit 605, and the IC card function unit 611 as a whole. When the control unit 606 detects an incoming call from the call partner or a call to the call partner, the control unit 606 switches so that the communication device 600 can be used as a mobile phone. In addition, when the control unit 606 detects a signal transmitted from the reader / writer 150, the control unit 606 controls the communication device 600 to be used as an IC card. That is, the control unit 606 performs switching control between the mobile phone function and the IC card function. Furthermore, the control unit 606 controls the display unit 603 to display the image of the image data input from the camera 604 while outputting the audio signal input from the microphone 601 to the mobile phone function unit 605.

近接通信部607は、例えばアンテナを備えており、リーダライタ150の近接通信部151との間で、データの送受信を行う。具体的には、近接通信部607は、通信制御部610から入力したデータを送信するとともに、近接通信部151から送信されたデータを受信して、受信したデータを通信制御部610へ出力する。また、近接通信部607は、通信装置600がリーダライタ150に近接することにより、リーダライタ150の近接通信部151との交信可能範囲に入り、これにより近接通信部151から放射されている電波を受信し、近接通信部151との間でデータの送受信を行うことができる。ここで、近接通信部607が近接通信部151との間で送受信するデータとは、通信装置600の検出のためのデータ、通信装置600とリーダライタ150との相互認証のためのデータ、及び情報の読み書きのためのデータ等である。   The proximity communication unit 607 includes, for example, an antenna, and transmits / receives data to / from the proximity communication unit 151 of the reader / writer 150. Specifically, the proximity communication unit 607 transmits data input from the communication control unit 610, receives data transmitted from the proximity communication unit 151, and outputs the received data to the communication control unit 610. In addition, the proximity communication unit 607 enters a communicable range with the proximity communication unit 151 of the reader / writer 150 when the communication device 600 approaches the reader / writer 150, and thereby the radio wave radiated from the proximity communication unit 151 is transmitted. It can receive and transmit / receive data to / from the proximity communication unit 151. Here, the data transmitted / received to / from the proximity communication unit 151 by the proximity communication unit 607 includes data for detection of the communication device 600, data for mutual authentication between the communication device 600 and the reader / writer 150, and information Data for reading and writing.

情報保持部608は、通信装置600固有の識別番号等の固有情報を記憶しており、通信制御部610からの読み出し指示に従って記憶している固有情報を通信制御部610へ出力するとともに、通信制御部610から入力したデータを記憶する。   The information holding unit 608 stores unique information such as an identification number unique to the communication device 600, and outputs the stored unique information to the communication control unit 610 in accordance with a read instruction from the communication control unit 610, and communication control Data input from the unit 610 is stored.

検出手段である解析部609は、カメラ604から入力した検出結果を解析し、動作状態通知部152の状態が変化している解析結果が得られた場合に、解析結果を通信制御部610へ出力する。   The analysis unit 609 serving as a detection unit analyzes the detection result input from the camera 604 and outputs the analysis result to the communication control unit 610 when an analysis result in which the state of the operation state notification unit 152 is changed is obtained. To do.

データ処理制御手段である通信制御部610は、近接通信部607から入力したデータの受信タイミングと、解析部609から入力した解析結果における光の検出のタイミングとの比較結果に基づいて、近接通信部607から入力したデータに対する処理を継続するか否かを判定する。そして、通信制御部610は、処理を中止すると判定した場合には、他のリーダライタ190がスキミングのために接近しているものと判断して、判断以降の処理を中止するとともにデータが更新されている場合にはデータを更新する前の状態に戻し、さらに表示部603に対して、不正な通信相手からデータが送信されていることを示す情報を表示するように指示する。また、通信制御部610は、情報保持部608から固有情報を読み出して近接通信部607へ出力するとともに、近接通信部607を介した近接通信部151との通信結果に関するデータを情報保持部608へ出力する。   The communication control unit 610 that is a data processing control unit includes a proximity communication unit based on a comparison result between the reception timing of the data input from the proximity communication unit 607 and the light detection timing in the analysis result input from the analysis unit 609. It is determined whether or not to continue processing on the data input from 607. If the communication control unit 610 determines that the process is to be stopped, the communication control unit 610 determines that another reader / writer 190 is approaching for skimming, stops the subsequent processes, and updates the data. If it is, the data is returned to the state before the update, and the display unit 603 is instructed to display information indicating that the data is transmitted from an unauthorized communication partner. Further, the communication control unit 610 reads out the unique information from the information holding unit 608 and outputs it to the near field communication unit 607, and also transmits data related to the communication result with the near field communication unit 151 via the near field communication unit 607 to the information holding unit 608. Output.

なお、通信装置600及びリーダライタ150の動作は図2と同一であるとともに、通信装置600の動作は図3と同一であるので、その説明は省略する。   The operations of the communication device 600 and the reader / writer 150 are the same as those in FIG. 2, and the operation of the communication device 600 is the same as that in FIG.

このように、本実施の形態3によれば、上記実施の形態1の効果に加えて、携帯電話とICカードとの両方の機能を併せ持つので、携帯電話機能を有する機器とICカード機能を有する機器とを個別に持ち歩く必要がなく、使い勝手を良くすることができる。また、本実施の形態3によれば、表示部及びカメラは携帯電話として使用する場合とICカードとして使用する場合とで共用することができるので、部品点数を減少させてコストダウンを図ることができる。   As described above, according to the third embodiment, in addition to the effects of the first embodiment, since both the functions of the mobile phone and the IC card are provided, the device having the mobile phone function and the IC card function are provided. There is no need to carry the device separately, and the usability can be improved. Further, according to the third embodiment, since the display unit and the camera can be used both as a mobile phone and as an IC card, the number of parts can be reduced and the cost can be reduced. it can.

(実施の形態4)
図7は、本発明の実施の形態4に係る通信装置700の構成を示すブロック図である。
(Embodiment 4)
FIG. 7 is a block diagram showing a configuration of communication apparatus 700 according to Embodiment 4 of the present invention.

本実施の形態4に係る通信装置700は、図6に示す実施の形態3に係る通信装置600において、図7に示すように、マイク601の代わりにマイク701を有し、カメラ604の代わりにカメラ702を有し、解析部609の代わりに解析部703を有するとともに通信制御部610の代わりに通信制御部704を有する。なお、図7においては、図6と同一構成である部分には同一の符号を付してその説明は省略する。   Communication apparatus 700 according to Embodiment 4 includes communication apparatus 600 according to Embodiment 3 shown in FIG. 6 and has microphone 701 instead of microphone 601 as shown in FIG. A camera 702, an analysis unit 703 instead of the analysis unit 609, and a communication control unit 704 instead of the communication control unit 610. In FIG. 7, parts having the same configuration as in FIG.

本実施の形態4は、携帯電話機能を有する通信装置において、データの受信タイミングとリーダに設けた音源の状態の変化を検出するタイミングとに基づいて不正なリーダライタによるスキミングを検出することを特徴とするものである。   The fourth embodiment is characterized in that, in a communication device having a mobile phone function, skimming by an unauthorized reader / writer is detected based on a data reception timing and a timing for detecting a change in the state of a sound source provided in the reader. It is what.

近接通信部607と、情報保持部608と、解析部703と、通信制御部704は、ICカード機能部705を構成する。   The proximity communication unit 607, the information holding unit 608, the analysis unit 703, and the communication control unit 704 constitute an IC card function unit 705.

マイク701は、制御部606の制御に従って、音声を含む音を検出して、検出した音を制御部606へ出力するとともに、検出結果を解析部703へ出力する。   The microphone 701 detects sound including sound according to the control of the control unit 606, outputs the detected sound to the control unit 606, and outputs the detection result to the analysis unit 703.

カメラ702は、制御部606の制御に従って撮像を行い、撮像した画像の画像データを制御部606へ出力する。   The camera 702 captures images according to the control of the control unit 606, and outputs image data of the captured images to the control unit 606.

制御部606は、アンテナ部602と、表示部603と、カメラ702と、携帯電話機能部605と、マイク701と、ICカード機能部705全体を制御する。また、制御部606は、着信及び発信を検知した場合には、通信装置700が携帯電話として使用できるように制御し、リーダライタ150から送信された信号を検出した場合には、通信装置700がICカードとして使用できるように制御する。即ち、制御部606は、携帯電話機能とICカード機能との切り換え制御を行う。さらに、制御部606は、マイク701から入力した音声信号を図示しない動作状態通知部152へ出力するとともに、カメラ702から入力した画像データの画像を表示部603で表示するように制御する。   The control unit 606 controls the antenna unit 602, the display unit 603, the camera 702, the mobile phone function unit 605, the microphone 701, and the entire IC card function unit 705. Further, the control unit 606 controls the communication device 700 so that it can be used as a mobile phone when it detects incoming and outgoing calls, and when it detects a signal transmitted from the reader / writer 150, the communication device 700 Control so that it can be used as an IC card. That is, the control unit 606 performs switching control between the mobile phone function and the IC card function. Further, the control unit 606 outputs the audio signal input from the microphone 701 to the operation state notification unit 152 (not shown) and controls the display unit 603 to display the image of the image data input from the camera 702.

解析部703は、マイク701から入力した検出結果を解析し、音源である動作状態通知部152の状態が変化した解析結果が得られた場合に、解析結果を通信制御部704へ出力する。ここで、動作状態通知部152の状態の変化とは、動作状態通知部152における音の発生及び発生する音の音色の変化等である。   The analysis unit 703 analyzes the detection result input from the microphone 701 and outputs the analysis result to the communication control unit 704 when an analysis result obtained by changing the state of the operation state notification unit 152 serving as a sound source is obtained. Here, the change in the state of the operation state notification unit 152 includes the generation of a sound in the operation state notification unit 152 and a change in the timbre of the generated sound.

データ処理制御手段である通信制御部704は、近接通信部607から入力したデータの受信タイミングと、解析部703から入力した解析結果における状態の変化の検出のタイミングとの比較結果に基づいて、近接通信部607から入力したデータに対する処理を継続するか否かを判定する。そして、通信制御部704は、処理を中止すると判定した場合には、他のリーダライタ190がスキミングのために接近しているものと判断して、判断以降の処理を中止するとともにデータが更新されている場合にはデータを更新する前の状態に戻し、さらに表示部603に対して、不正な通信相手からデータが送信されていることを示す情報を表示するように指示する。また、通信制御部704は、近接通信部607を介した近接通信部151との通信結果に関するデータを情報保持部608へ出力する。   The communication control unit 704 serving as a data processing control unit is configured to change the proximity based on the comparison result between the reception timing of the data input from the proximity communication unit 607 and the detection timing of the state change in the analysis result input from the analysis unit 703. It is determined whether or not to continue processing for data input from the communication unit 607. If the communication control unit 704 determines that the process is to be stopped, the communication control unit 704 determines that another reader / writer 190 is approaching for skimming, stops the subsequent processes, and updates the data. If it is, the data is returned to the state before the update, and the display unit 603 is instructed to display information indicating that the data is transmitted from an unauthorized communication partner. Further, the communication control unit 704 outputs data related to a communication result with the proximity communication unit 151 via the proximity communication unit 607 to the information holding unit 608.

近接通信部607は、例えばアンテナを備えており、リーダライタ150の近接通信部151との間で、データの送受信を行う。具体的には、近接通信部607は、通信制御部704から入力したデータを送信するとともに、近接通信部151から送信されたデータを受信して、受信したデータを通信制御部704へ出力する。また、近接通信部607は、通信装置700がリーダライタ150に近接することにより、リーダライタ150の近接通信部151との交信可能範囲に入り、これにより近接通信部151から放射されている電波を受信し、近接通信部151との間でデータの送受信を行うことができる。ここで、近接通信部607が近接通信部151との間で送受信するデータとは、通信装置700の検出のためのデータ、通信装置700とリーダライタ150との相互認証のためのデータ、及び情報の読み書きのためのデータ等である。   The proximity communication unit 607 includes, for example, an antenna, and transmits / receives data to / from the proximity communication unit 151 of the reader / writer 150. Specifically, the proximity communication unit 607 transmits data input from the communication control unit 704, receives data transmitted from the proximity communication unit 151, and outputs the received data to the communication control unit 704. Further, the proximity communication unit 607 enters a communicable range with the proximity communication unit 151 of the reader / writer 150 when the communication device 700 approaches the reader / writer 150, and thereby the radio wave radiated from the proximity communication unit 151 is transmitted. It can receive and transmit / receive data to / from the proximity communication unit 151. Here, the data transmitted / received to / from the proximity communication unit 151 by the proximity communication unit 607 includes data for detection of the communication device 700, data for mutual authentication between the communication device 700 and the reader / writer 150, and information. Data for reading and writing.

情報保持部608は、通信装置700固有の識別番号等の固有情報を記憶しており、通信制御部704からの読み出し指示に従って記憶している固有情報を通信制御部704へ出力するとともに、通信制御部704から入力したデータを記憶する。   The information holding unit 608 stores unique information such as an identification number unique to the communication device 700, outputs the stored unique information to the communication control unit 704 in accordance with a read instruction from the communication control unit 704, and performs communication control. Data input from the unit 704 is stored.

なお、通信装置700及びリーダライタ150の動作は図2と同一であるとともに、通信装置700の動作は図3と同一であるので、その説明は省略する。   The operations of the communication device 700 and the reader / writer 150 are the same as those in FIG. 2, and the operation of the communication device 700 is the same as that in FIG.

このように、本実施の形態4によれば、上記実施の形態2の効果に加えて、携帯電話とICカードとの両方の機能を併せ持つので、携帯電話機能を有する機器とICカード機能を有する機器とを個別に持ち歩く必要がなく、使い勝手を良くすることができる。また、本実施の形態4によれば、表示部及びマイクは携帯電話として使用する場合とICカードとして使用する場合とで共用することができるので、部品点数を減少させてコストダウンを図ることができる。   As described above, according to the fourth embodiment, in addition to the effects of the second embodiment, since both the functions of the mobile phone and the IC card are included, the device having the mobile phone function and the IC card function are provided. There is no need to carry the device separately, and the usability can be improved. Further, according to the fourth embodiment, since the display unit and the microphone can be shared for use as a mobile phone and for use as an IC card, the number of parts can be reduced and the cost can be reduced. it can.

なお、本実施の形態4において、カメラ702を設けたが、これに限らず、カメラを設けなくても良い。   In the fourth embodiment, the camera 702 is provided. However, the present invention is not limited to this, and the camera may not be provided.

上記実施の形態1〜実施の形態4において、カメラで光源の状態の変化を検出する場合とマイクで音源の状態の変化を検出する場合との何れか一方によりスキミングを検出するようにしたが、これに限らず、カメラで光源の状態の変化を検出する場合とマイクで音源の状態の変化を検出する場合との双方によりスキミングを検出するようにしても良い。また、上記実施の形態1〜実施の形態4において、スキミングされていると判断した際に、不正な通信相手からデータが送信されていることを示す情報を表示したが、これに限らず、不正な通信相手からデータが送信されていることを示す情報を音によって通知する等の種々の方法により、スキミングされていることを報知することができる。   In the first to fourth embodiments, skimming is detected by either one of the case of detecting the change of the state of the light source by the camera and the case of detecting the change of the state of the sound source by the microphone. However, the present invention is not limited to this, and skimming may be detected both when the change of the light source state is detected by the camera and when the change of the sound source state is detected by the microphone. In the first to fourth embodiments, when it is determined that skimming is performed, information indicating that data is transmitted from an unauthorized communication partner is displayed. It is possible to notify that skimming has been performed by various methods such as notification of information indicating that data is being transmitted from the other communication partner by sound.

本発明のかかる通信装置及びデータ送受信方法は、例えばリーダライタに近接することによってリーダライタと通信して電子マネーにより決済を行うのに好適である。   The communication device and the data transmission / reception method according to the present invention are suitable for, for example, communicating with a reader / writer by being close to the reader / writer and making a settlement with electronic money.

本発明の実施の形態1に係る通信装置及びリーダライタの構成を示すブロック図The block diagram which shows the structure of the communication apparatus and reader / writer which concern on Embodiment 1 of this invention. 本発明の実施の形態1に係る通信装置及びリーダライタの動作を示すシーケンス図The sequence diagram which shows operation | movement of the communication apparatus and reader / writer which concern on Embodiment 1 of this invention. 本発明の実施の形態1に係る通信装置の動作を示すフロー図The flowchart which shows operation | movement of the communication apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る通信装置及びリーダライタの動作を示すシーケンス図The sequence diagram which shows operation | movement of the communication apparatus and reader / writer which concern on Embodiment 2 of this invention. 本発明の実施の形態2に係る通信装置の動作を示すフロー図The flowchart which shows operation | movement of the communication apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る通信装置及びリーダライタの構成を示すブロック図The block diagram which shows the structure of the communication apparatus and reader / writer which concern on Embodiment 3 of this invention. 本発明の実施の形態4に係る通信装置及びリーダライタの構成を示すブロック図The block diagram which shows the structure of the communication apparatus and reader / writer which concern on Embodiment 4 of this invention.

符号の説明Explanation of symbols

100 通信装置
101、151 近接通信部
102 動作状態取得部
103 解析部
104、154 情報保持部
105、153 通信制御部
106 表示部
150 リーダライタ
152 動作状態通知部
155 通信部
190 他のリーダライタ
DESCRIPTION OF SYMBOLS 100 Communication apparatus 101,151 Proximity communication part 102 Operation | movement state acquisition part 103 Analysis part 104,154 Information holding part 105,153 Communication control part 106 Display part 150 Reader / writer 152 Operation | movement state notification part 155 Communication part 190 Other reader / writers

Claims (13)

通信相手に近接することによって前記通信相手から送信されたデータを受信する受信手段と、
前記送信に伴って通信相手に設けた光源の状態が変化した際に前記光源の状態の変化を検出する検出手段と、
前記受信手段で前記データを受信したタイミングと前記検出手段で前記光源の状態の変化を検出したタイミングとに基づいて、受信した前記データの処理を継続するか否かを判断するデータ処理制御手段と、
を具備する通信装置。
Receiving means for receiving data transmitted from the communication partner by approaching the communication partner;
Detecting means for detecting a change in the state of the light source when the state of the light source provided in the communication partner changes with the transmission;
Data processing control means for determining whether or not to continue processing the received data based on the timing at which the data is received by the receiving means and the timing at which the detection means detects a change in the state of the light source; ,
A communication apparatus comprising:
前記データ処理制御手段は、前記光源の状態の変化を検出したタイミングと前記データを受信したタイミングとの時間差が所定時間内の場合に、受信した前記データの処理を継続し、前記時間差が所定時間内ではない場合に、受信した前記データの処理を中止する請求項1記載の通信装置。   The data processing control means continues the processing of the received data when the time difference between the timing at which the change in the state of the light source is detected and the timing at which the data is received is within a predetermined time. The communication device according to claim 1, wherein the processing of the received data is stopped when it is not within. 前記検出手段は、前記光源を撮像するとともに、撮像した画像を解析することにより前記光源の状態の変化を検出する請求項1または請求項2記載の通信装置。   The communication device according to claim 1, wherein the detection unit detects the change in the state of the light source by capturing the light source and analyzing the captured image. 前記受信手段は、通信相手から送信された異なる処理を行う複数種類の前記データを受信し、
前記検出手段は、異なる処理を行う複数種類の前記データ毎の前記送信に伴って前記光源の状態が変化した際に前記光源の状態の変化を検出し、
前記データ処理制御手段は、受信した異なる処理を行う複数種類の前記データ毎に前記データの処理を継続するか否かを判断する請求項1から請求項3のいずれかに記載の通信装置。
The receiving means receives a plurality of types of the data for performing different processes transmitted from a communication partner,
The detection means detects a change in the state of the light source when the state of the light source changes with the transmission of each of a plurality of types of data that perform different processing,
The communication apparatus according to any one of claims 1 to 3, wherein the data processing control unit determines whether or not to continue processing the data for each of a plurality of types of the data that are received and processed differently.
前記検出手段は、前記光源の状態の変化として前記光源の発光を検出する請求項1から請求項4のいずれかに記載の通信装置。   The communication device according to claim 1, wherein the detection unit detects light emission of the light source as a change in a state of the light source. 前記データ処理制御手段にて、受信した前記データの処理を中止すると判断した際に、不正な通信相手からデータが送信されていることを報知する報知手段を具備する請求項1から請求項5のいずれかに記載の通信装置。   The information processing device according to any one of claims 1 to 5, further comprising notification means for notifying that data is being transmitted from an unauthorized communication partner when the data processing control means determines to stop processing the received data. The communication apparatus in any one. 通信相手に近接することによって前記通信相手から送信されたデータを受信する受信手段と、
前記送信に伴って通信相手に設けた音源の状態が変化した際に前記音源の状態の変化を検出する検出手段と、
前記受信手段で前記データを受信したタイミングと前記検出手段で前記音源の状態の変化を検出したタイミングとに基づいて、受信した前記データの処理を継続するか否かを判断するデータ処理制御手段と、
を具備する通信装置。
Receiving means for receiving data transmitted from the communication partner by approaching the communication partner;
Detecting means for detecting a change in the state of the sound source when the state of the sound source provided in the communication partner changes with the transmission;
Data processing control means for determining whether to continue processing the received data based on the timing at which the data is received by the receiving means and the timing at which the detection means detects a change in the state of the sound source; ,
A communication apparatus comprising:
前記データ処理制御手段は、前記音源の状態の変化を検出したタイミングと前記データを受信したタイミングとの時間差が所定時間内の場合に、受信した前記データの処理を継続し、前記時間差が所定時間内ではない場合に、受信した前記データの処理を中止する請求項6記載の通信装置。   The data processing control means continues the processing of the received data when the time difference between the timing of detecting the change in the state of the sound source and the timing of receiving the data is within a predetermined time, and the time difference is the predetermined time The communication device according to claim 6, wherein the processing of the received data is stopped when it is not within. 前記受信手段は、通信相手から送信された異なる処理を行う複数種類の前記データを受信し、
前記検出手段は、異なる処理を行う複数種類の前記データ毎の前記送信に伴って前記音源の状態が変化した際に前記音源の状態の変化を検出し、
前記データ処理制御手段は、受信した異なる処理を行う複数種類の前記データ毎に前記データの処理を継続するか否かを判断する請求項7または請求項8記載の通信装置。
The receiving means receives a plurality of types of the data for performing different processes transmitted from a communication partner,
The detection means detects a change in the state of the sound source when the state of the sound source is changed with the transmission of each of the plurality of types of data performing different processing,
The communication apparatus according to claim 7 or 8, wherein the data processing control unit determines whether or not to continue processing of the data for each of the plurality of types of the data that are received and processed differently.
前記検出手段は、前記音源の状態の変化として前記音源から発生する音を検出する請求項7から請求項9のいずれかに記載の通信装置。   The communication device according to claim 7, wherein the detection unit detects a sound generated from the sound source as a change in the state of the sound source. 携帯電話用の信号を送信する際または携帯電話用の信号を受信する際に携帯電話の機能に切り換える制御手段と、
前記制御手段にて携帯電話の機能に切り換えた際に前記携帯電話用の信号を変調または復調する携帯電話機能手段と、
を具備する請求項1から請求項10のいずれかに記載の通信装置。
Control means for switching to the function of the mobile phone when transmitting a signal for the mobile phone or receiving a signal for the mobile phone;
Mobile phone function means for modulating or demodulating the signal for the mobile phone when switching to the function of the mobile phone by the control means;
The communication apparatus according to claim 1, comprising:
通信装置が前記通信装置の通信相手に近接することによって前記通信相手から送信されたデータを前記通信装置が受信するステップと、
前記送信に伴って前記通信相手に設けた光源の状態が変化した際に前記通信装置が前記光源の状態の変化を検出するステップと、
前記データを受信したタイミングと前記光源の状態の変化を検出したタイミングとに基づいて、前記通信装置にて、受信した前記データの処理を継続するか否かを判断するステップと、
を具備するデータ送受信方法。
The communication device receives data transmitted from the communication partner when the communication device approaches the communication partner of the communication device; and
The communication device detecting a change in the state of the light source when the state of the light source provided in the communication partner changes with the transmission; and
Determining whether or not to continue processing the received data in the communication device based on the timing of receiving the data and the timing of detecting a change in the state of the light source;
A data transmission / reception method comprising:
通信装置が前記通信装置の通信相手に近接することによって前記通信相手から送信されたデータを前記通信装置が受信するステップと、
前記送信に伴って前記通信相手に設けた音源の状態が変化した際に前記通信装置が前記音源の状態の変化を検出するステップと、
前記データを受信したタイミングと前記音源の状態の変化を検出したタイミングとに基づいて、前記通信装置にて、受信した前記データの処理を継続するか否かを判断するステップと、
を具備するデータ送受信方法。
The communication device receives data transmitted from the communication partner when the communication device approaches the communication partner of the communication device; and
The communication device detecting a change in the state of the sound source when the state of the sound source provided in the communication partner changes with the transmission;
Determining whether or not to continue processing the received data in the communication device based on the timing of receiving the data and the timing of detecting a change in the state of the sound source;
A data transmission / reception method comprising:
JP2006277926A 2006-10-11 2006-10-11 Communications apparatus and method for transmitting/receiving data Pending JP2008097291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006277926A JP2008097291A (en) 2006-10-11 2006-10-11 Communications apparatus and method for transmitting/receiving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006277926A JP2008097291A (en) 2006-10-11 2006-10-11 Communications apparatus and method for transmitting/receiving data

Publications (1)

Publication Number Publication Date
JP2008097291A true JP2008097291A (en) 2008-04-24

Family

ID=39380075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006277926A Pending JP2008097291A (en) 2006-10-11 2006-10-11 Communications apparatus and method for transmitting/receiving data

Country Status (1)

Country Link
JP (1) JP2008097291A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017107413A (en) * 2015-12-10 2017-06-15 株式会社デンソーウェーブ Information code reading system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017107413A (en) * 2015-12-10 2017-06-15 株式会社デンソーウェーブ Information code reading system

Similar Documents

Publication Publication Date Title
US8970733B2 (en) Visual pairing and data exchange between devices using barcodes for data exchange with mobile navigation systems
KR101073937B1 (en) A mobile phone with nfc communication function
US9721282B2 (en) Merchant verification of in-person electronic transactions
KR101121440B1 (en) Mobile phone using nfc and control method thereof
US7903147B2 (en) System and method of detecting communication device having built-in camera
EP3223488B1 (en) Method for secure authentication of mobile devices
EP1357727A1 (en) Portable terminal, access control method, and access control program
KR20160110536A (en) Continuous voice authentication for a mobile device
CN106376057A (en) Wireless network access method and device
US9538370B2 (en) Data transmission method for terminal performing near field communication and terminal thereof
CN105430185A (en) Method, apparatus and device for information reminding
KR20050042391A (en) Portable terminal capable of coping data between subscriber identification module cards and method for coping data using that
US10469493B2 (en) Mobile device, authentication device and authentication methods thereof
US8792862B1 (en) Providing enhanced security for wireless telecommunications devices
KR102050823B1 (en) System, an apparatus and a method for transmitting and receiving information using quick response code
KR20090063459A (en) Authentication method using short-range communication and terminal and system using the same
JP2008097291A (en) Communications apparatus and method for transmitting/receiving data
KR20120049451A (en) Card reader video communication apparatus using intelligent network service and real time face recognition video communication method thereof
KR102114113B1 (en) User terminals performing short range wireless communication and client server coupled to the same
US8934940B1 (en) Providing enhanced security for wireless telecommunications devices
CN104994211A (en) Incoming call prompting method, device and system
KR20080003811A (en) Function halt control method and mobile communication terminal apparatus
CN115130078A (en) Information processing apparatus, information processing method, information processing system, and computer-readable medium
JP2005167658A (en) Mobile terminal device, and operation control method for mobile terminal device
CN105787412B (en) Information-reading method and device