[go: up one dir, main page]

JP2011059875A - Processing system of portable electronic device, portable electronic device, and processor of portable electronic device - Google Patents

Processing system of portable electronic device, portable electronic device, and processor of portable electronic device Download PDF

Info

Publication number
JP2011059875A
JP2011059875A JP2009207242A JP2009207242A JP2011059875A JP 2011059875 A JP2011059875 A JP 2011059875A JP 2009207242 A JP2009207242 A JP 2009207242A JP 2009207242 A JP2009207242 A JP 2009207242A JP 2011059875 A JP2011059875 A JP 2011059875A
Authority
JP
Japan
Prior art keywords
electronic device
processing
portable electronic
card
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2009207242A
Other languages
Japanese (ja)
Inventor
Kiyohito Sudo
潔人 須藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2009207242A priority Critical patent/JP2011059875A/en
Publication of JP2011059875A publication Critical patent/JP2011059875A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a processing system of a portable electronic device, making non-contact communication more reliably, and also to provide a portable electronic device, and a processor of a portable processing device. <P>SOLUTION: The processing system (10) of the portable electronic device includes: a portable electronic device (2); and a processor (1) for processing the portable electronic device. The processor sends a command to the portable electronic device, detects noises generated by the portable electronic device and, if detecting noises, performs control to shift to a reception rejection state for a first period of time. The portable electronic device performs a computing process, based on the received command, generates response data, sets a non-process period when no process is performed for a second period of time, and after the second period of time has elapsed since the non-process period was set, the portable electronic device controls the generated response data to be sent to the processor. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、例えば、コマンドを送受信することにより種々の処理を実現する携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置に関する。   The present invention relates to a processing system for a portable electronic device, a portable electronic device, and a processing device for a portable electronic device that implement various processes by transmitting and receiving commands, for example.

一般的に、携帯可能電子装置として用いられるICカードは、プラスチックなどで形成されたカード状の本体と本体に埋め込まれたICモジュールとを備えている。ICモジュールは、ICチップを有している。ICチップは、電源が無い状態でもデータを保持することができるEEPROM(Electrically Erasable Programmable Read−Only Memory)、フラッシュROMなどの不揮発性メモリ、RAMなどの揮発性メモリ、及び種々の演算を実行するCPUを有する。   In general, an IC card used as a portable electronic device includes a card-like main body formed of plastic or the like and an IC module embedded in the main body. The IC module has an IC chip. The IC chip is an EEPROM (Electrically Erasable Programmable Read-Only Memory) that can retain data even when there is no power supply, a nonvolatile memory such as a flash ROM, a volatile memory such as a RAM, and a CPU that executes various operations. Have

ICカードは、例えば、国際標準規格ISO/IEC7816に準拠したICカードである。ICカードは、携帯性に優れる。また、ICカードは、外部装置との通信処理と、複雑な演算処理とを行う事ができる。ICカードは、偽造が難しい。この為、ICカードは、機密性の高い情報などを格納することができる。ICカードは、例えば、セキュリティシステム、免許証、社員証、会員証、保険証などのIDカード、クレジットカード、旅券、または電子商取引などに用いられる。   The IC card is, for example, an IC card conforming to the international standard ISO / IEC7816. The IC card is excellent in portability. Further, the IC card can perform communication processing with an external device and complicated arithmetic processing. IC cards are difficult to counterfeit. For this reason, the IC card can store highly confidential information. The IC card is used for, for example, an ID card such as a security system, a license, an employee card, a membership card, and an insurance card, a credit card, a passport, or an electronic commerce.

近年、様々な機能を備えたICカードが登場している。例えば、特許文献1には、電波を送受信するためのアンテナ等を有する非接触インターフェースを備えるICカードが記載されている。   In recent years, IC cards having various functions have appeared. For example, Patent Document 1 describes an IC card including a non-contact interface having an antenna or the like for transmitting and receiving radio waves.

非接触インターフェースを備えるICカード(非接触ICカード)は、非接触通信により外部機器とデータの送受信を行うことができる。非接触ICカードは、リーダライタから発せられる磁界を受ける。非接触ICカードは、磁界によるアンテナへの電磁誘導により起電力を生成し、動作する。   An IC card having a non-contact interface (non-contact IC card) can transmit and receive data to and from an external device by non-contact communication. The non-contact IC card receives a magnetic field generated from the reader / writer. The non-contact IC card operates by generating an electromotive force by electromagnetic induction to the antenna by a magnetic field.

特開2009−100263号公報JP 2009-1000026 A

例えば、ISO/IEC14443のTypeBに準拠するICカードは、カードリーダライタからコマンドを受信する場合、受信したコマンドに応じる処理を内部のICにより実行する。ICカードは、実行した処理に応じてレスポンスを作成し、カードリーダライタに送信する。なお、従来のカードリーダライタは、ICカードにコマンドを送信した後、ICカードからのレスポンスを待つ受信待ちモードに切り替わる。   For example, when an IC card conforming to Type B of ISO / IEC14443 receives a command from a card reader / writer, the internal IC executes processing according to the received command. The IC card creates a response according to the executed processing and transmits it to the card reader / writer. Note that the conventional card reader / writer switches to a reception waiting mode for waiting for a response from the IC card after transmitting a command to the IC card.

ICチップが演算処理を行う場合、ICチップ内の回路を流れる電流のノイズ(例えばスイッチングノイズなど)により磁界が発生する可能性がある。カードリーダライタは、ICカードにおけるノイズにより発生した磁界を、ICカードから送信されたレスポンスデータであると誤検知する可能性がある。この場合、通信エラーとなり、通信が終了してしまうという問題がある。   When the IC chip performs arithmetic processing, a magnetic field may be generated due to noise (for example, switching noise) of a current flowing through a circuit in the IC chip. The card reader / writer may erroneously detect a magnetic field generated by noise in the IC card as response data transmitted from the IC card. In this case, there is a problem that a communication error occurs and communication ends.

そこで、本発明の目的は、より確実に非接触通信を行う事ができる携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置を提供することにある。   Accordingly, an object of the present invention is to provide a processing system for a portable electronic device, a portable electronic device, and a processing device for a portable electronic device that can perform non-contact communication more reliably.

本発明の一実施形態としての携帯可能電子装置の処理システムは、携帯可能電子装置と前記携帯可能電子装置を処理する処理装置とを備える携帯可能電子装置の処理システムであって、前記処理装置は、前記携帯可能電子装置とデータの送受信を行う第1の送受信部と、前記第1の送受信部により前記携帯可能電子装置にコマンドを送信するコマンド処理部と、前記携帯可能電子装置から発せられるノイズを検知するノイズ検知部と、前記ノイズ検知部によりノイズを検知した場合、第1の時間の間、受信拒否状態に移行するように制御する第1の制御部と、を具備し、前記携帯可能電子装置は、前記処理装置とデータの送受信を行う第2の送受信部と、前記第2の送受信部により受信するコマンドに基づいて演算処理を行い、レスポンスデータを生成する演算処理部と、前記演算処理部による処理が完了してから第2の時間の間、処理を行わない無処理区間を設定する無処理設定部と、前記無処理設定部により無処理区間を設定してから第2の時間が経過した後に前記演算処理部により生成したレスポンスデータを前記第2の送受信部により前記処理装置に送信するように制御する第2の制御部と、を具備する。   A processing system for a portable electronic device as an embodiment of the present invention is a processing system for a portable electronic device comprising a portable electronic device and a processing device for processing the portable electronic device, wherein the processing device is A first transmission / reception unit for transmitting / receiving data to / from the portable electronic device, a command processing unit for transmitting a command to the portable electronic device by the first transmission / reception unit, and noise generated from the portable electronic device And a first control unit that controls to shift to a reception refusal state during a first time when noise is detected by the noise detection unit, and is portable The electronic device performs a calculation process based on a second transmission / reception unit that transmits / receives data to / from the processing device, and a command received by the second transmission / reception unit. A non-processing setting unit for setting a non-processing section in which no processing is performed for a second time after the processing by the arithmetic processing unit is completed, and a non-processing setting unit. A second control unit for controlling the response data generated by the arithmetic processing unit to be transmitted to the processing device by the second transmission / reception unit after a second time has elapsed after setting the processing section; It has.

また、本発明の一実施形態としての携帯可能電子装置は、携帯可能電子装置の処理装置とデータの送受信を行う送受信部と、前記送受信部により受信するコマンドに基づいて演算処理を行い、レスポンスデータを生成する演算処理部と、前記演算処理部による処理が完了してから所定時間処理を行わない無処理区間を設定する無処理設定部と、前記無処理設定部により無処理区間を設定してから前記設定した所定時間が経過した後に前記演算処理部により生成したレスポンスデータを前記送受信部により前記処理装置に送信するように制御する制御部と、を具備する。   A portable electronic device according to an embodiment of the present invention includes a transmission / reception unit that transmits / receives data to / from a processing device of the portable electronic device, and performs arithmetic processing based on a command received by the transmission / reception unit, and response data A non-processing section for setting a non-processing section in which processing is not performed for a predetermined time after the processing by the arithmetic processing section is completed, and a non-processing section is set by the non-processing setting section. And a control unit for controlling the transmission / reception unit to transmit the response data generated by the arithmetic processing unit to the processing device after the set predetermined time has elapsed.

また、本発明の一実施形態としての携帯可能電子装置の処理装置は、携帯可能電子装置とデータの送受信を行う送受信部と、前記送受信部により前記携帯可能電子装置にコマンドを送信するコマンド処理部と、前記携帯可能電子装置から発せられるノイズを検知するノイズ検知部と、前記ノイズ検知部によりノイズを検知した場合、所定時間受信拒否状態に移行するように制御する制御部と、を具備する。   The portable electronic device processing apparatus according to an embodiment of the present invention includes a transmission / reception unit that transmits / receives data to / from the portable electronic device, and a command processing unit that transmits a command to the portable electronic device by the transmission / reception unit. And a noise detection unit that detects noise emitted from the portable electronic device, and a control unit that controls to shift to a reception refusal state for a predetermined time when noise is detected by the noise detection unit.

本発明によれば、より確実に非接触通信を行う事ができる携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置を提供することができる。   According to the present invention, it is possible to provide a processing system for a portable electronic device, a portable electronic device, and a processing device for a portable electronic device that can perform non-contact communication more reliably.

図1は、本発明の一実施形態に係る携帯可能電子装置の処理システムの構成の例について説明するためのブロック図である。FIG. 1 is a block diagram for explaining an example of the configuration of a processing system for a portable electronic device according to an embodiment of the present invention. 図2は、図1に示すカードリーダライタの構成例について説明するためのブロック図である。FIG. 2 is a block diagram for explaining a configuration example of the card reader / writer shown in FIG. 図3は、図1に示すICカードの構成例について説明するためのブロック図である。FIG. 3 is a block diagram for explaining a configuration example of the IC card shown in FIG. 図4は、図3に示すICカードから送信されるデータのフレームの構成の一例について説明するための説明図である。FIG. 4 is an explanatory diagram for explaining an example of a frame configuration of data transmitted from the IC card shown in FIG. 図5は、図4に示すキャラクタの構成の一例について説明するための説明図である。FIG. 5 is an explanatory diagram for explaining an example of the character configuration shown in FIG. 4. 図6は、図4に示すSOFの構成の一例について説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an example of the configuration of the SOF shown in FIG. 図7は、図4に示すEOFの構成の一例について説明するための説明図である。FIG. 7 is an explanatory diagram for explaining an example of the configuration of the EOF shown in FIG. 図8は、図1に示す携帯可能電子装置の処理システムの各構成の動作について説明する為のタイミングチャートである。FIG. 8 is a timing chart for explaining the operation of each component of the processing system of the portable electronic device shown in FIG. 図9は、図8に示す携帯可能電子装置の処理システムの各構成の動作について詳細に説明する為のタイミングチャートである。FIG. 9 is a timing chart for explaining in detail the operation of each component of the processing system of the portable electronic device shown in FIG.

以下、図面を参照しながら、本発明の一実施形態に係る携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置について詳細に説明する。   Hereinafter, a processing system for a portable electronic device, a portable electronic device, and a processing device for a portable electronic device according to an embodiment of the present invention will be described in detail with reference to the drawings.

例えば、ISO/IEC14443のTypeBの通信方式に準拠する非接触ICカードと、非接触ICカードリーダライタとについて説明する。   For example, a non-contact IC card and a non-contact IC card reader / writer conforming to the ISO / IEC14443 Type B communication method will be described.

非接触ICカードリーダライタは、非接触ICカードに対してコマンドデータ(コマンド)を送信する。   The non-contact IC card reader / writer transmits command data (command) to the non-contact IC card.

非接触ICカードは、コマンドを受信する場合、受信するコマンドに応じて処理を実行する。非接触ICカードは、処理結果に基づいてレスポンスデータ(レスポンス)を作成し、作成したレスポンスを非接触ICカードリーダライタに対して送信する。   When receiving a command, the non-contact IC card executes processing according to the received command. The non-contact IC card creates response data (response) based on the processing result, and transmits the created response to the non-contact IC card reader / writer.

上記したようにコマンド及びレスポンスを送受信することにより、非接触ICカードリーダライタ及び非接触ICカードは、種々の処理を行う。   By sending and receiving commands and responses as described above, the non-contact IC card reader / writer and the non-contact IC card perform various processes.

図1は、本発明の一実施形態に係る携帯可能電子装置の処理システム(ICカード処理システム)10の構成の例について説明するためのブロック図である。
図1に示すようにICカード処理システム10は、携帯可能電子装置の処理装置(端末装置)1と携帯可能電子装置(ICカード)2とを備えている。端末装置1は、制御部11、ディスプレイ12、キーボード13、及びカードリーダライタ14を備える。端末装置1とICカード2とは、無線通信により互いに種々のデータの送受信を行う。
FIG. 1 is a block diagram for explaining an example of the configuration of a processing system (IC card processing system) 10 for a portable electronic device according to an embodiment of the present invention.
As shown in FIG. 1, the IC card processing system 10 includes a portable electronic device processing device (terminal device) 1 and a portable electronic device (IC card) 2. The terminal device 1 includes a control unit 11, a display 12, a keyboard 13, and a card reader / writer 14. The terminal device 1 and the IC card 2 transmit / receive various data to / from each other by wireless communication.

制御部11は、CPU、ROM、及びRAMなどを備える。制御部11は、端末装置1全体の動作を制御する。例えば、制御部11は、ISO/IEC14443のTypeA方式、ISO/IEC14443のTypeB方式、及びFeliCaなどの複数の通信方式と、複数のアプリケーションとをそれぞれ選択して実行する。なお、ここでは、ISO/IEC14443に規定されるTypeBの通信プロトコルによりデータの送受信が行われる事を想定して説明する。   The control unit 11 includes a CPU, a ROM, a RAM, and the like. The control unit 11 controls the operation of the entire terminal device 1. For example, the control unit 11 selects and executes a plurality of communication methods such as ISO / IEC14443 Type A method, ISO / IEC14443 TypeB method, and FeliCa, and a plurality of applications. Here, a description will be given on the assumption that data transmission / reception is performed using the Type B communication protocol defined in ISO / IEC14443.

ディスプレイ12は、制御部11の制御により種々の情報を表示する。ディスプレイ12は、例えば、ICカード2との通信結果等を表示する。   The display 12 displays various information under the control of the control unit 11. For example, the display 12 displays a result of communication with the IC card 2.

キーボード13は、端末装置1の操作者による操作を操作信号として受け取る。キーボード13は、受け取った操作信号を制御部11に対して入力する。   The keyboard 13 receives an operation by the operator of the terminal device 1 as an operation signal. The keyboard 13 inputs the received operation signal to the control unit 11.

カードリーダライタ14は、ICカード2と通信を行うためのインターフェースである。カードリーダライタ14は、ICカード2に対して、電源供給、クロック供給、リセット制御、及びデータの送受信を行う。即ち、カードリーダライタ14は、送受信部として機能する。   The card reader / writer 14 is an interface for communicating with the IC card 2. The card reader / writer 14 performs power supply, clock supply, reset control, and data transmission / reception with respect to the IC card 2. That is, the card reader / writer 14 functions as a transmission / reception unit.

制御部11は、カードリーダライタ14によりICカード2に対して種々のコマンドを入力する。即ち、制御部11は、コマンド処理部として機能する。   The control unit 11 inputs various commands to the IC card 2 by the card reader / writer 14. That is, the control unit 11 functions as a command processing unit.

例えば、ICカード2は、カードリーダライタ14からデータの書き込みコマンドを受信した場合、受信したデータを内部の不揮発性メモリに書き込む処理を行う。また、制御部11は、ICカード2に読み取りコマンドを送信することにより、ICカード2からデータを読み出す。制御部11は、ICカード2から受信したデータに基づいて種々の処理を行う。   For example, when the IC card 2 receives a data write command from the card reader / writer 14, the IC card 2 performs a process of writing the received data into the internal nonvolatile memory. The control unit 11 reads data from the IC card 2 by transmitting a read command to the IC card 2. The control unit 11 performs various processes based on the data received from the IC card 2.

図2は、図1に示すカードリーダライタ14の概略構成を示すブロック図である。
図2に示すように、カードリーダライタ14は、アンテナ141、通信I/F142、CPU143、データメモリ144、RAM145、及びROM146を備える。
FIG. 2 is a block diagram showing a schematic configuration of the card reader / writer 14 shown in FIG.
As shown in FIG. 2, the card reader / writer 14 includes an antenna 141, a communication I / F 142, a CPU 143, a data memory 144, a RAM 145, and a ROM 146.

アンテナ141は、送信するデータに応じて磁界を発生させることにより、ICカード2に対してデータを送信する。また、アンテナ141は、電磁誘導により発生した誘導電流に基づいてICカード2から送信されるデータを認識する。   The antenna 141 transmits data to the IC card 2 by generating a magnetic field according to the data to be transmitted. The antenna 141 recognizes data transmitted from the IC card 2 based on the induced current generated by electromagnetic induction.

通信I/F142は、ICカード2に対して送信するデータ、及びICカード2から受信するデータの入出力を制御する。CPU143は、ICカード2との通信を制御する。データメモリ144は、EEPROM、FRAMなどの不揮発性メモリである。RAM145は、例えばICカード2から送信されるデータを一時的に記憶するワークメモリである。ROM146は、制御プログラム等を記憶するメモリである。   The communication I / F 142 controls input / output of data transmitted to the IC card 2 and data received from the IC card 2. The CPU 143 controls communication with the IC card 2. The data memory 144 is a nonvolatile memory such as an EEPROM or FRAM. The RAM 145 is a work memory that temporarily stores data transmitted from the IC card 2, for example. The ROM 146 is a memory that stores a control program and the like.

CPU143は、ICカード2との間で送受信するデータに対して信号処理を施す。即ち、CPU143は、符号化、復号、変調、及び復調を行なう。なお、CPU143は、TypeBの通信プロトコルの規格に基づいて上記の信号処理を行う。   The CPU 143 performs signal processing on data transmitted to and received from the IC card 2. That is, the CPU 143 performs encoding, decoding, modulation, and demodulation. The CPU 143 performs the signal processing based on the Type B communication protocol standard.

即ち、CPU143は、送受信を行うデータに基づいて、Amplitude Shift Keying(ASK)10%変調方式による変調処理、及びNon Return to Zero(NRZ)による符号化処理を行う。また、CPU143は、変調したデータ、及び、アンテナにより受信したデータを増幅する。   That is, the CPU 143 performs a modulation process based on the Amplitude Shift Keying (ASK) 10% modulation method and a coding process based on Non Return to Zero (NRZ) based on data to be transmitted and received. The CPU 143 amplifies the modulated data and the data received by the antenna.

この場合、CPU143は、周波数が13.56MHzの搬送波の振幅を10%程度変調し、NRZ符号化されたデータをICカード2へ送信する。ICカード2は、周波数が搬送波の1/16である847.5KHzの副搬送波を用いて位相を変調し、NRZ符号化されたレスポンスをカードリーダライタ14に対して送信する。   In this case, the CPU 143 modulates the amplitude of the carrier wave having a frequency of 13.56 MHz by about 10%, and transmits the NRZ encoded data to the IC card 2. The IC card 2 modulates the phase using a subcarrier of 847.5 KHz whose frequency is 1/16 of the carrier wave, and transmits an NRZ encoded response to the card reader / writer 14.

なお、TypeBの通信プロトコルに準拠する近接型非接触ICカードは、通信可能な距離が10cm程度である。カードリーダライタ14は、この通信可能距離(通信可能範囲)内に存在するICカード2を検知し、処理を行う。   The proximity non-contact IC card that complies with the Type B communication protocol has a communicable distance of about 10 cm. The card reader / writer 14 detects the IC card 2 existing within the communicable distance (communication range) and performs processing.

図3は、図1に示すICカード2の構成例について説明するためのブロック図である。
図3に示すように、ICカード2は、カード状の本体と、本体内に内蔵されるICモジュール22とを備えている。ICモジュール22は、1つ又は複数のICチップ20と、送受信アンテナ部(アンテナ)21とを備える。ICチップ20とアンテナ21とは、互いに接続された状態でICモジュール22に形成される。
FIG. 3 is a block diagram for explaining a configuration example of the IC card 2 shown in FIG.
As shown in FIG. 3, the IC card 2 includes a card-like main body and an IC module 22 incorporated in the main body. The IC module 22 includes one or a plurality of IC chips 20 and a transmission / reception antenna unit (antenna) 21. The IC chip 20 and the antenna 21 are formed in the IC module 22 in a state where they are connected to each other.

ICチップ20は、変調復調部201、CPU202、コプロセッサ(co−processor)203、メモリ204、及び電力生成部205などを備えている。   The IC chip 20 includes a modulation / demodulation unit 201, a CPU 202, a co-processor 203, a memory 204, a power generation unit 205, and the like.

変調復調部201は、アンテナ21に接続されている。変調復調部201及びアンテナ21は、端末装置1のカードリーダライタ14と非接触通信を行うためのインターフェースである。変調復調部201及びアンテナ21は、送受信部として機能する。   The modulation / demodulation unit 201 is connected to the antenna 21. The modulation / demodulation unit 201 and the antenna 21 are interfaces for performing contactless communication with the card reader / writer 14 of the terminal device 1. The modulation / demodulation unit 201 and the antenna 21 function as a transmission / reception unit.

また、変調復調部201は、送受信データの増幅を行う送受信回路を備える。即ち、変調復調部201は、送受信するデータに応じて、搬送波に対してASK10%変調を行う。   The modulation / demodulation unit 201 includes a transmission / reception circuit that amplifies transmission / reception data. That is, the modulation / demodulation unit 201 performs ASK 10% modulation on a carrier wave according to data to be transmitted / received.

CPU202は、ICカード2全体の制御を司る制御部として機能する。CPU202は、メモリ204に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、カードリーダライタ14から受信するコマンドに応じて種々の処理を行う。CPU202は、処理結果に基づいてレスポンスなどのデータを生成する。即ち、CPU202は、レスポンス処理部として機能する。   The CPU 202 functions as a control unit that controls the entire IC card 2. The CPU 202 performs various processes based on the control program and control data stored in the memory 204. For example, various processes are performed according to commands received from the card reader / writer 14. The CPU 202 generates data such as a response based on the processing result. That is, the CPU 202 functions as a response processing unit.

コプロセッサ203は、TypeBの通信プロトコルに対応する信号処理を施す。即ち、コプロセッサ203は、CPU202から受け取るデータに対してNRZ方式により符号化及び復号を行う。   The coprocessor 203 performs signal processing corresponding to the Type B communication protocol. That is, the coprocessor 203 encodes and decodes data received from the CPU 202 by the NRZ method.

メモリ204は、例えば、ROM、RAM、及び不揮発性メモリなどのモジュールである。
ROMは、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROMは、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード2内に組み込まれる。即ち、ROMに記憶される制御プログラム及び制御データは、予めICカード2の仕様に応じて組み込まれる。
The memory 204 is a module such as a ROM, a RAM, and a nonvolatile memory.
The ROM is a non-volatile memory that stores a control program and control data in advance. The ROM is incorporated in the IC card 2 in a state where a control program, control data, and the like are stored at the manufacturing stage. That is, the control program and control data stored in the ROM are incorporated in advance according to the specifications of the IC card 2.

RAMは、ワーキングメモリとして機能する揮発性のメモリである。RAMは、CPUの処理中のデータなどを一時的に格納する。例えば、RAMは、アンテナ21を介して端末装置1から受信したデータを一時的に格納する。また、RAMは、CPU202が実行するプログラムを一時的に格納する。   The RAM is a volatile memory that functions as a working memory. The RAM temporarily stores data being processed by the CPU. For example, the RAM temporarily stores data received from the terminal device 1 via the antenna 21. The RAM temporarily stores a program executed by the CPU 202.

不揮発性メモリは、例えば、EEPROMあるいはフラッシュROMなどのデータの書き込み及び書換えが可能な不揮発性のメモリにより構成される。不揮発性メモリは、ICカード2の運用用途に応じて制御プログラム及び種々のデータを格納する。   The non-volatile memory is configured by a non-volatile memory capable of writing and rewriting data, such as an EEPROM or a flash ROM. The non-volatile memory stores a control program and various data according to the usage application of the IC card 2.

たとえば、不揮発性メモリでは、プログラムファイル及びデータファイルなどが創成される。創成された各ファイルには、制御プログラム及び種々のデータなどが書き込まれる。CPU202は、不揮発性メモリ、または、ROMに記憶されているプログラムを実行することにより、種々の処理を実現することができる。   For example, in the nonvolatile memory, a program file and a data file are created. A control program and various data are written in each created file. The CPU 202 can implement various processes by executing a program stored in a nonvolatile memory or ROM.

電力生成部205は、カードリーダライタ14から電波を受信し、受信した電力波を整流回路にて整流、及び平滑する。これにより、電力生成部205は、安定化された直流電圧を生成する。電力生成部205は、生成した電圧をICカード2の各部に供給する。ICカード2の各部は、電圧の供給を受けた場合、動作可能な状態(活性化状態)になる。   The power generation unit 205 receives radio waves from the card reader / writer 14 and rectifies and smoothes the received power waves with a rectifier circuit. Thereby, the power generation unit 205 generates a stabilized DC voltage. The power generation unit 205 supplies the generated voltage to each unit of the IC card 2. Each part of the IC card 2 becomes operable (activated) when supplied with voltage.

図1に示す端末装置1の制御部11は、カードリーダライタ14によりICカード2に初期設定コマンドを送信することにより、ICカード2との通信に関する設定を行う。即ち、制御部11は、初期設定処理部として機能する。初期設定コマンドは、例えば、起動コマンド及び媒体選択コマンドなどである。   The control unit 11 of the terminal device 1 illustrated in FIG. 1 performs settings related to communication with the IC card 2 by transmitting an initial setting command to the IC card 2 by the card reader / writer 14. That is, the control unit 11 functions as an initial setting processing unit. The initial setting command is, for example, a start command and a medium selection command.

ICカード2の検知を行なう為に、カードリーダライタ14は、上記のTypeBの通信プロトコルの規定に準ずる起動コマンドを繰り返し通信可能範囲に送信する。カードリーダライタ14は、例えば、Request Command TypeB(REQB)、またはWake Up Command TypeB(WUPB)などを通信可能範囲に送信する。   In order to detect the IC card 2, the card reader / writer 14 repeatedly transmits an activation command conforming to the above-mentioned definition of the Type B communication protocol to the communicable range. The card reader / writer 14 transmits, for example, Request Command Type B (REQB) or Wake Up Command Type B (WUPB) to the communicable range.

ICカード2は、カードリーダライタ14の通信可能範囲内に進入する場合、5ms以内に活性化されてアイドル状態になる。この場合、ICカード2のCPU202は、起動コマンドに対するレスポンスであるAnswer To Request command TypeB(ATQB)をカードリーダライタ14に送信する。   When the IC card 2 enters the communicable range of the card reader / writer 14, it is activated within 5 ms and enters an idle state. In this case, the CPU 202 of the IC card 2 transmits Answer To Request command Type B (ATQB), which is a response to the activation command, to the card reader / writer 14.

カードリーダライタ14は、ATQBを受信する場合、通信可能範囲内にICカード2が存在する事を検知する。ICカード2を検知する場合、カードリーダライタ14は、所望のICカード2を選択するための媒体選択コマンド(ATTRIB)を送信する。これにより、カードリーダライタ14は、選択したICカード2との間で通信を行う事ができる。なお、カードリーダライタ14は、選択しないICカード2に対してHALTコマンドを送信する。   When receiving the ATQB, the card reader / writer 14 detects that the IC card 2 exists within the communicable range. When detecting the IC card 2, the card reader / writer 14 transmits a medium selection command (ATTRIB) for selecting a desired IC card 2. As a result, the card reader / writer 14 can communicate with the selected IC card 2. The card reader / writer 14 transmits a HALT command to the IC card 2 that is not selected.

ICカード2のCPU202は、カードリーダライタ14からATTRIBを受信する場合、この場合、ICカード2は、ATTRIBに対するレスポンスであるAnswer To ATTRIB(ATA)をカードリーダライタ14に送信する。このあと、端末装置1及びICカード2は、通常のコマンドの処理に移行する。   When the CPU 202 of the IC card 2 receives ATTRIB from the card reader / writer 14, in this case, the IC card 2 transmits Answer To ATTRIB (ATA), which is a response to ATTRIB, to the card reader / writer 14. Thereafter, the terminal device 1 and the IC card 2 shift to normal command processing.

ICカード2及びカードリーダライタ14は、コマンド処理を行う場合、送信するデータを所定数のビット(例えば、8ビット)毎に区切る。ICカード2及びカードリーダライタ14は、区切った所定数のビットに、論理「0」のビットであるスタートビットと、論理「1」のビットであるストップビットとを付加し、キャラクタを生成する。ICカード2及びカードリーダライタ14は、生成したキャラクタにStart of Frame(SOF)及びEnd of Frame(EOF)を付加し、フレームを生成する。   When performing command processing, the IC card 2 and the card reader / writer 14 divide the data to be transmitted into a predetermined number of bits (for example, 8 bits). The IC card 2 and the card reader / writer 14 add a start bit, which is a logical “0” bit, and a stop bit, which is a logical “1” bit, to a predetermined number of divided bits to generate a character. The IC card 2 and the card reader / writer 14 add a start of frame (SOF) and an end of frame (EOF) to the generated character to generate a frame.

なお、複数のキャラクタを1つのフレームで送信する場合、キャラクタとキャラクタとの間は、特別保護時間(EGT)により分けられる。   When a plurality of characters are transmitted in one frame, the characters are separated by a special protection time (EGT).

また、ICカード2及びカードリーダライタ14は、必要に応じて、生成したフレーム内の全てのデータビットからCRCを計算し、キャラクタとEOFの間に挿入する。   Further, the IC card 2 and the card reader / writer 14 calculate a CRC from all data bits in the generated frame as necessary, and insert the CRC between the character and the EOF.

図4は、図3に示すICカード2及びカードリーダライタ14から送信されるデータのフレームの構成の一例について説明するための説明図である。ここでは、ICカード2からカードリーダライタ14にデータを送信する例について説明する。なお、カードリーダライタ14からICカード2にデータを送信する場合であっても、同様の処理を行う。   FIG. 4 is an explanatory diagram for explaining an example of a frame configuration of data transmitted from the IC card 2 and the card reader / writer 14 shown in FIG. Here, an example in which data is transmitted from the IC card 2 to the card reader / writer 14 will be described. The same processing is performed even when data is transmitted from the card reader / writer 14 to the IC card 2.

ICカード2のCPU202は、カードリーダライタ14からコマンドを受信する場合、受信したコマンドに応じた演算処理をICチップ20内部で行う。即ち、CPU202は、演算処理部として機能する。   When receiving a command from the card reader / writer 14, the CPU 202 of the IC card 2 performs arithmetic processing according to the received command inside the IC chip 20. That is, the CPU 202 functions as an arithmetic processing unit.

ICカード2は、この演算処理を、TR0の間に行う。TR0は、カードリーダライタ14から受信するコマンドのEOFの最後のビットからサブキャリアを発生させるまでの応答遅延時間である。ICカード2は、TR0の間にカードリーダライタ14に送信するレスポンスのフレームを生成する。   The IC card 2 performs this calculation process during TR0. TR0 is a response delay time from the last bit of the EOF of the command received from the card reader / writer 14 until the subcarrier is generated. The IC card 2 generates a response frame to be transmitted to the card reader / writer 14 during TR0.

フレームは、SOF、キャラクタ列、CRC、及びEOFを備える。なお、フレームに含まれるCRCは、送信前と送信後のデータの整合性を確認するための情報であり、データ自体の正当性を確認するための正当性確認情報とは異なる。   The frame includes an SOF, a character string, a CRC, and an EOF. The CRC included in the frame is information for confirming the consistency of the data before and after transmission, and is different from the validity confirmation information for confirming the validity of the data itself.

図5は、図4に示すSOFの構成の一例について説明するための説明図である。
SOFは、フレームの先頭を示す情報である。SOFは、立下りのエッジで始まり、論理「0」の状態と論理「1」の状態がそれぞれ所定時間継続される信号である。ICカード2は、フレーム内で最初のキャラクタを送信する前に上記のSOFをカードリーダライタ14に送信する。
FIG. 5 is an explanatory diagram for explaining an example of the configuration of the SOF shown in FIG.
SOF is information indicating the head of a frame. The SOF is a signal that starts at a falling edge and continues the logic “0” state and the logic “1” state for a predetermined time. The IC card 2 transmits the above SOF to the card reader / writer 14 before transmitting the first character in the frame.

なお、ICカード2は、SOFを送信する前に、ICカード2と端末装置1とで同期を取るためのサブキャリアをカードリーダライタ14に送信する。ここで送信するサブキャリアfsは、847.5KHzの連続した無変調波形である。ICカード2は、SOFを送信する前にプリアンブルとしてのサブキャリアをTR1(80/fs=94.395μs〜200/fs=235.988μs)の間送信する。   The IC card 2 transmits a subcarrier for synchronization between the IC card 2 and the terminal device 1 to the card reader / writer 14 before transmitting the SOF. The subcarrier fs transmitted here is a continuous non-modulated waveform of 847.5 KHz. The IC card 2 transmits a subcarrier as a preamble for TR1 (80 / fs = 94.395 μs to 200 / fs = 2355.988 μs) before transmitting the SOF.

この為に、ICカード2は、副搬送波を発生させてから、TR1の間変調を行わないように制御する。即ち、TR1は、ICカード2が副搬送波を発生させてから変調を開始するまでの時間である。
ICカード2は、SOFに続けて、キャラクタ列をカードリーダライタ14に送信する。
For this purpose, the IC card 2 controls so as not to perform modulation during TR1 after generating a subcarrier. That is, TR1 is a time from when the IC card 2 generates a subcarrier until modulation is started.
The IC card 2 transmits the character string to the card reader / writer 14 following the SOF.

図6は、図4に示すキャラクタ列の構成の一例について説明するための説明図である。
キャラクタ列は、ICカード2から端末装置1に送信されるデータの本体である。キャラクタ列は、複数のキャラクタを備える。キャラクタは、所定数のデータビット、スタートビット、及びストップビットを備える。また、キャラクタとキャラクタの間には所定の長さの論理「1」のビットであるEGTが配置される。
FIG. 6 is an explanatory diagram for explaining an example of the configuration of the character string shown in FIG.
The character string is the main body of data transmitted from the IC card 2 to the terminal device 1. The character string includes a plurality of characters. The character includes a predetermined number of data bits, a start bit, and a stop bit. In addition, an EGT which is a logic “1” bit having a predetermined length is arranged between characters.

図7は、図4に示すEOFの構成の一例について説明するための説明図である。
EOFは、フレームの最後尾を示す情報である。EOFは、立下りのエッジで始まり、論理「0」の状態が所定時間継続される信号である。ICカード2は、フレーム内で最後のキャラクタを送信した後に上記のEOFをカードリーダライタ14に送信する。
FIG. 7 is an explanatory diagram for explaining an example of the configuration of the EOF shown in FIG.
The EOF is information indicating the end of the frame. The EOF is a signal that starts at the falling edge and continues the logic “0” state for a predetermined time. The IC card 2 transmits the EOF to the card reader / writer 14 after transmitting the last character in the frame.

図8は、図1に示す携帯可能電子装置の処理システムの各構成の動作について説明する為のタイミングチャートである。   FIG. 8 is a timing chart for explaining the operation of each component of the processing system of the portable electronic device shown in FIG.

カードリーダライタ14は、ICカード2に実行させる処理を指示する為のコマンドデータを生成し、ICカード2に送信する。   The card reader / writer 14 generates command data for instructing processing to be executed by the IC card 2 and transmits the command data to the IC card 2.

ICカード2は、カードリーダライタ14から受信するコマンドデータのEOFの最後のビットを受信するタイミングt1からTR0後のタイミングt2までの間に、受信したコマンドデータに応じた演算処理を行う。ここで、ICカード2は、レスポンスデータを生成する。   The IC card 2 performs arithmetic processing according to the received command data from the timing t1 at which the last bit of the EOF of the command data received from the card reader / writer 14 is received to the timing t2 after TR0. Here, the IC card 2 generates response data.

ICカード2は、レスポンスデータを送信する前に、TR1の間、無変調のサブキャリアをカードリーダライタ14に送信する。ICカード2は、サブキャリアの送信を開始したタイミングt2からTR1後のタイミングt3から、SOFをカードリーダライタ14に送信する。   The IC card 2 transmits an unmodulated subcarrier to the card reader / writer 14 during TR1 before transmitting response data. The IC card 2 transmits the SOF to the card reader / writer 14 from the timing t3 after TR1 from the timing t2 at which the subcarrier transmission is started.

カードリーダライタ14は、連続したサブキャリアに位相変調がかかったタイミングt3でSOFを検知し、レスポンスデータの受信待ちの状態に移行する。なお、位相変調は、データ伝送速度に応じて位相が180度反転する必要がある。例えば、ISO/IEC14443TypeBでは、106Kbps、212Kbps、424Kbps、及び847.5Kbpsがサポートされている。   The card reader / writer 14 detects the SOF at the timing t3 when the phase modulation is applied to the continuous subcarriers, and shifts to a response data reception waiting state. In the phase modulation, the phase needs to be inverted by 180 degrees according to the data transmission speed. For example, ISO / IEC 14443 Type B supports 106 Kbps, 212 Kbps, 424 Kbps, and 847.5 Kbps.

図9は、図8に示す携帯可能電子装置の処理システムの各構成の動作について詳細に説明する為のタイミングチャートである。   FIG. 9 is a timing chart for explaining in detail the operation of each component of the processing system of the portable electronic device shown in FIG.

図9に示すように、カードリーダライタ14は、ICカード2に実行させる処理を指示する為のコマンドデータを生成し、ICカード2に送信する。この場合、カードリーダライタ14は、時間L1を示す情報をコマンドに付加してICカード2に送信する。   As shown in FIG. 9, the card reader / writer 14 generates command data for instructing processing to be executed by the IC card 2 and transmits the command data to the IC card 2. In this case, the card reader / writer 14 adds information indicating the time L1 to the command and transmits the command to the IC card 2.

ICカード2は、カードリーダライタ14から受信するコマンドデータのEOFの最後のビットを受信するタイミングt1からTR0後のタイミングt2までの間に、受信したコマンドデータに応じた演算処理を行う。   The IC card 2 performs arithmetic processing according to the received command data from the timing t1 at which the last bit of the EOF of the command data received from the card reader / writer 14 is received to the timing t2 after TR0.

この場合、ICカード2のICチップ20において行われる演算処理のノイズにより、磁界が発生する。ノイズにより発生した磁界をレスポンスデータと誤検知する場合、カードリーダライタ14は、誤検知であるレスポンスデータに対する処理を開始する。このタイミングでICカード2からプリアンブルが送信される場合、カードリーダライタ14は、プリアンブルを検出することができない。   In this case, a magnetic field is generated due to noise of arithmetic processing performed in the IC chip 20 of the IC card 2. When a magnetic field generated by noise is erroneously detected as response data, the card reader / writer 14 starts processing for response data that is erroneous detection. When the preamble is transmitted from the IC card 2 at this timing, the card reader / writer 14 cannot detect the preamble.

この為、本実施形態に係るカードリーダライタ14は、受信した波形がICカード2のICチップ20におけるノイズによるものである事を検知する必要がある。   Therefore, the card reader / writer 14 according to the present embodiment needs to detect that the received waveform is due to noise in the IC chip 20 of the IC card 2.

カードリーダライタ14は、ICカード2にコマンドデータを送信し終えると、受信待ちの状態に移行する。また、カードリーダライタ14は、ICカード2において演算処理が行われているTR0の区間であることを認識する。   When the card reader / writer 14 finishes transmitting the command data to the IC card 2, the card reader / writer 14 shifts to a reception waiting state. Further, the card reader / writer 14 recognizes that it is a section of TR0 in which the arithmetic processing is performed in the IC card 2.

カードリーダライタ14のCPU143は、TR0区間においてプリアンブルではない波形を受信する場合、ノイズを検知したと判断する。カードリーダライタ14のCPU143は、TR0区間においてノイズ検知する場合、受信待ち状態から、時間L1の間データの受信を拒否する状態(受信拒否状態)に移行する。カードリーダライタ14は、受信拒否状態に移行してからL1経過後に受信待ち状態に移行する。   When the CPU 143 of the card reader / writer 14 receives a waveform that is not a preamble in the TR0 section, it determines that noise has been detected. When detecting noise in the TR0 section, the CPU 143 of the card reader / writer 14 shifts from a reception waiting state to a state in which data reception is rejected for a time L1 (reception refusal state). The card reader / writer 14 shifts to a reception waiting state after L1 elapses after shifting to the reception refusal state.

即ち、CPU143は、ノイズを検知するノイズ検知部として機能する。また、CPU143は、ノイズを検知した場合に受信拒否状態に移行するようにカードリーダライタ14を制御する制御部として機能する。   That is, the CPU 143 functions as a noise detection unit that detects noise. Further, the CPU 143 functions as a control unit that controls the card reader / writer 14 so as to shift to a reception refusal state when noise is detected.

また、ICカード2のCPU202は、受信したコマンドに応じた演算処理を完了させてから、L2の間、演算処理を行わない無処理区間を設定する。この場合、CPU202は、無処理区間を設定する無処理設定部として機能する。   In addition, the CPU 202 of the IC card 2 sets a non-processing section in which the arithmetic processing is not performed during L2, after completing the arithmetic processing according to the received command. In this case, the CPU 202 functions as a no-process setting unit that sets a no-process section.

ICカード2のCPU202は、演算処理を完了させてから時間L2(L2=L1+α)経過後にプリアンブルをカードリーダライタ14に送信するように各部を制御する。即ち、この場合、CPU202は、無処理区間を設定してから、設定した時間L2が経過した後にレスポンスデータをカードリーダライタ14に送信するように各部を制御する制御部として機能する。   The CPU 202 of the IC card 2 controls each unit so that the preamble is transmitted to the card reader / writer 14 after the time L2 (L2 = L1 + α) has elapsed after completing the arithmetic processing. That is, in this case, the CPU 202 functions as a control unit that controls each unit so that response data is transmitted to the card reader / writer 14 after the set time L2 has elapsed since the non-processing section was set.

このようにICカード2及びカードリーダライタ14が動作することにより、カードリーダライタ14(受信側の装置)は、確実にプリアンブル(TR1)を検出することができる。   By operating the IC card 2 and the card reader / writer 14 in this way, the card reader / writer 14 (receiving device) can reliably detect the preamble (TR1).

図9に示す例によると、タイミングt1において、ICカード2は、演算処理を開始する。ICカード2のICチップ20は、タイミングt4においてノイズによる磁界を発生させる。   According to the example shown in FIG. 9, at the timing t1, the IC card 2 starts arithmetic processing. The IC chip 20 of the IC card 2 generates a magnetic field due to noise at timing t4.

カードリーダライタ14は、タイミングt1から受信待ち状態に移行する。カードリーダライタ14は、タイミングt4においてICカード2から発せられる磁界を検知する。即ち、カードリーダライタ14は、磁界を検知する場合、L1の間受信拒否状態に移行する。カードリーダライタ14は、タイミングt4からL1経過後のタイミングt5において受信待ち状態に移行する。即ち、カードリーダライタ14は、受信拒否状態中にICカードから発せられる磁界を検知しない状態となる。   The card reader / writer 14 shifts to a reception waiting state from timing t1. The card reader / writer 14 detects a magnetic field generated from the IC card 2 at timing t4. That is, when detecting the magnetic field, the card reader / writer 14 shifts to the reception refusal state during L1. The card reader / writer 14 shifts to a reception waiting state at timing t5 after the passage of L1 from timing t4. That is, the card reader / writer 14 is in a state where it does not detect the magnetic field emitted from the IC card during the reception refusal state.

また、ICカード2のICチップ20は、タイミングt6においてノイズによる磁界を発生させる。   Further, the IC chip 20 of the IC card 2 generates a magnetic field due to noise at timing t6.

カードリーダライタ14は、タイミングt6においてICカード2から発せられる磁界を検知する。カードリーダライタ14は、タイミングt6からL1の間、受信拒否状態に移行する。カードリーダライタ14は、タイミングt6からL1経過後のタイミングt7において受信待ち状態に移行する。   The card reader / writer 14 detects a magnetic field emitted from the IC card 2 at timing t6. The card reader / writer 14 shifts to the reception refusal state from timing t6 to L1. The card reader / writer 14 shifts to a reception waiting state at timing t7 after the passage of L1 from timing t6.

また、ICカード2のICチップ20は、タイミングt8においてノイズによる磁界を発生させる。   In addition, the IC chip 20 of the IC card 2 generates a magnetic field due to noise at timing t8.

カードリーダライタ14は、タイミングt8においてICカード2から発せられる磁界を検知する。カードリーダライタ14は、タイミングt8からL1の間、受信拒否状態に移行する。カードリーダライタ14は、タイミングt8からL1経過後のタイミングt10において受信待ち状態に移行する。   The card reader / writer 14 detects a magnetic field generated from the IC card 2 at timing t8. The card reader / writer 14 shifts to a reception refusal state from timing t8 to L1. The card reader / writer 14 shifts to a reception waiting state at timing t10 after the passage of L1 from timing t8.

また、ICカード2は、カードリーダライタ14から時間L1を示す情報を受信する場合、受信したコマンドデータに応じた演算処理を完了したタイミングt9からL2の間、演算処理を行わない無処理状態に移行する。時間L2は、少なくともL1+α、即ち、L2>L1の関係を満たす時間である。   Further, when the IC card 2 receives information indicating the time L1 from the card reader / writer 14, the IC card 2 enters a non-processing state in which the arithmetic processing is not performed during the timing t9 to L2 when the arithmetic processing according to the received command data is completed. Transition. The time L2 is a time that satisfies at least L1 + α, that is, a relationship of L2> L1.

ICカード2が無処理状態に移行している無処理区間では、演算処理が行われないため、必然的にノイズが発生しない。この為、カードリーダライタ14が受信拒否状態に移行しない。即ち、カードリーダライタ14は、タイミングt2において受信待ち状態に移行している。   In the non-process section in which the IC card 2 is transitioning to the non-process state, no arithmetic processing is performed, so noise is inevitably generated. For this reason, the card reader / writer 14 does not shift to the reception refusal state. That is, the card reader / writer 14 shifts to a reception waiting state at timing t2.

ICカード2は、タイミングt9からL2経過後のタイミングt2において、プリアンブルをカードリーダライタ14に送信する。これにより、カードリーダライタ14の状態が受信待ち状態であるタイミングでプリアンブルを送信することができる。   The IC card 2 transmits a preamble to the card reader / writer 14 at a timing t2 after the passage of L2 from the timing t9. As a result, the preamble can be transmitted at the timing when the state of the card reader / writer 14 is the reception waiting state.

上記したように、ICカード2は、カードリーダライタ14から時間L1を示す情報を受信する場合、演算処理を完了させてからL2の間の無処理区間を設定する。また、カードリーダライタ14は、TR0において波形を検出する場合、時間L1の間受信拒否状態に移行する。   As described above, when the IC card 2 receives information indicating the time L1 from the card reader / writer 14, the IC card 2 sets a non-processing section between L2 after completing the arithmetic processing. Further, when detecting a waveform in TR0, the card reader / writer 14 shifts to a reception refusal state for a time L1.

これにより、ICカード処理システム10は、ICカード2から発せられるノイズによる誤検知を防ぐと共に、プリアンブルの送受信を確実に行う事ができる。この結果、より確実に非接触通信を行う事ができる携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置を提供することができる。   As a result, the IC card processing system 10 can prevent erroneous detection due to noise emitted from the IC card 2 and can reliably transmit and receive the preamble. As a result, it is possible to provide a portable electronic device processing system, a portable electronic device, and a portable electronic device processing device that can perform non-contact communication more reliably.

なお、本実施形態では、端末装置1の制御部11が変調及び復調などの信号処理を行うとして説明したが、この構成に限定されない。例えば、カードリーダライタ14のCPU143により変調及び復調などの信号処理を行う構成であってもよい。   In the present embodiment, the control unit 11 of the terminal device 1 has been described as performing signal processing such as modulation and demodulation, but is not limited to this configuration. For example, the signal processing such as modulation and demodulation may be performed by the CPU 143 of the card reader / writer 14.

なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具現化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合わせてもよい。   In addition, this invention is not limited to the said embodiment as it is, It can implement by changing a component in the range which does not deviate from the summary in an implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine the component covering different embodiment suitably.

また、上記した実施形態では、ICカード2が、非接触通信を行うICカードであるとして説明したが、この構成に限定されない。例えば、ICカード2は、接触通信と、非接触通信との両方の通信方式をサポートするコンビ型のカードであってもよい。   In the above-described embodiment, the IC card 2 is described as an IC card that performs non-contact communication. However, the present invention is not limited to this configuration. For example, the IC card 2 may be a combination card that supports both communication methods of contact communication and non-contact communication.

1…端末装置、2…ICカード、10…ICカード処理システム、11…制御部、12…ディスプレイ、13…キーボード、14…カードリーダライタ、20…ICチップ、21…アンテナ、141…アンテナ、143…CPU、144…データメモリ、145…RAM、146…ROM、201…変調復調部、202…CPU、203…コプロセッサ、204…メモリ、205…電力生成部。   DESCRIPTION OF SYMBOLS 1 ... Terminal device, 2 ... IC card, 10 ... IC card processing system, 11 ... Control part, 12 ... Display, 13 ... Keyboard, 14 ... Card reader / writer, 20 ... IC chip, 21 ... Antenna, 141 ... Antenna, 143 ... CPU, 144 ... data memory, 145 ... RAM, 146 ... ROM, 201 ... modulation demodulator, 202 ... CPU, 203 ... coprocessor, 204 ... memory, 205 ... power generator.

Claims (7)

携帯可能電子装置と前記携帯可能電子装置を処理する処理装置とを備える携帯可能電子装置の処理システムであって、
前記処理装置は、
前記携帯可能電子装置とデータの送受信を行う第1の送受信部と、
前記第1の送受信部により前記携帯可能電子装置にコマンドを送信するコマンド処理部と、
前記携帯可能電子装置から発せられるノイズを検知するノイズ検知部と、
前記ノイズ検知部によりノイズを検知した場合、第1の時間の間、受信拒否状態に移行するように制御する第1の制御部と、
を具備し、
前記携帯可能電子装置は、
前記処理装置とデータの送受信を行う第2の送受信部と、
前記第2の送受信部により受信するコマンドに基づいて演算処理を行い、レスポンスデータを生成する演算処理部と、
前記演算処理部による処理が完了してから第2の時間の間、処理を行わない無処理区間を設定する無処理設定部と、
前記無処理設定部により無処理区間を設定してから第2の時間が経過した後に前記演算処理部により生成したレスポンスデータを前記第2の送受信部により前記処理装置に送信するように制御する第2の制御部と、
を具備することを特徴とする携帯可能電子装置の処理システム。
A portable electronic device processing system comprising a portable electronic device and a processing device for processing the portable electronic device,
The processor is
A first transceiver for transmitting and receiving data to and from the portable electronic device;
A command processing unit for transmitting a command to the portable electronic device by the first transmission / reception unit;
A noise detector for detecting noise emitted from the portable electronic device;
When noise is detected by the noise detector, a first controller that controls to shift to a reception refusal state during a first time;
Comprising
The portable electronic device comprises:
A second transmission / reception unit for transmitting / receiving data to / from the processing device;
An arithmetic processing unit that performs arithmetic processing based on a command received by the second transmission / reception unit and generates response data;
A non-processing setting unit for setting a non-processing section in which processing is not performed during a second time after the processing by the arithmetic processing unit is completed;
Control is performed so that response data generated by the arithmetic processing unit after the second time has elapsed since the non-processing section is set by the non-processing setting unit is transmitted to the processing device by the second transmitting / receiving unit. Two control units;
A processing system for a portable electronic device, comprising:
前記コマンド処理部は、前記携帯可能電子装置に送信するコマンドに前記第1の時間を示す情報を付加し、
前記無処理設定部は、前記処理装置から受信したコマンドに付加される前記第1の時間を示す情報に基づいて、前記第2の時間を設定することを特徴とする請求項1に記載の携帯可能電子装置の処理システム。
The command processing unit adds information indicating the first time to a command to be transmitted to the portable electronic device,
2. The mobile phone according to claim 1, wherein the no-process setting unit sets the second time based on information indicating the first time added to a command received from the processing device. Possible electronic device processing system.
前期無処理設定部は、前記第2の時間を前記第1の時間より長く設定することを特徴とする請求項2に記載の携帯可能電子装置の処理システム。   The processing system for a portable electronic device according to claim 2, wherein the first-stage no-process setting unit sets the second time to be longer than the first time. 前記第1の制御部は、受信拒否状態に移行してから前記第1の時間が経過した後に受信待ち状態に移行するように制御することを特徴とする請求項3に記載の携帯可能電子装置の処理システム。   4. The portable electronic device according to claim 3, wherein the first control unit performs control so as to shift to a reception waiting state after the first time has elapsed since shifting to the reception refusal state. 5. Processing system. 携帯可能電子装置の処理装置とデータの送受信を行う送受信部と、
前記送受信部により受信するコマンドに基づいて演算処理を行い、レスポンスデータを生成する演算処理部と、
前記演算処理部による処理が完了してから所定時間処理を行わない無処理区間を設定する無処理設定部と、
前記無処理設定部により無処理区間を設定してから前記設定した所定時間が経過した後に前記演算処理部により生成したレスポンスデータを前記送受信部により前記処理装置に送信するように制御する制御部と、
を具備することを特徴とする携帯可能電子装置。
A transmission / reception unit for transmitting / receiving data to / from the processing device of the portable electronic device;
An arithmetic processing unit that performs arithmetic processing based on a command received by the transmission / reception unit and generates response data;
A non-processing setting unit for setting a non-processing section in which processing is not performed for a predetermined time after the processing by the arithmetic processing unit is completed;
A control unit configured to control the transmission / reception unit to transmit the response data generated by the arithmetic processing unit after the set predetermined time has elapsed since the non-processing section is set by the non-processing setting unit; ,
A portable electronic device comprising:
さらに、前記各部を備えるICモジュールと、
前記ICモジュールが設置される本体と、
を具備することを特徴する請求項5に記載の携帯可能電子装置。
Furthermore, an IC module comprising the above-mentioned parts,
A main body on which the IC module is installed;
The portable electronic device according to claim 5, comprising:
携帯可能電子装置とデータの送受信を行う送受信部と、
前記送受信部により前記携帯可能電子装置にコマンドを送信するコマンド処理部と、
前記携帯可能電子装置から発せられるノイズを検知するノイズ検知部と、
前記ノイズ検知部によりノイズを検知した場合、所定時間受信拒否状態に移行するように制御する制御部と、
を具備することを特徴とする携帯可能電子装置の処理装置。
A transmission / reception unit for transmitting / receiving data to / from a portable electronic device;
A command processing unit for transmitting a command to the portable electronic device by the transmission / reception unit;
A noise detector for detecting noise emitted from the portable electronic device;
When noise is detected by the noise detection unit, a control unit that controls to shift to a reception refusal state for a predetermined time; and
A processing apparatus for a portable electronic device, comprising:
JP2009207242A 2009-09-08 2009-09-08 Processing system of portable electronic device, portable electronic device, and processor of portable electronic device Withdrawn JP2011059875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009207242A JP2011059875A (en) 2009-09-08 2009-09-08 Processing system of portable electronic device, portable electronic device, and processor of portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009207242A JP2011059875A (en) 2009-09-08 2009-09-08 Processing system of portable electronic device, portable electronic device, and processor of portable electronic device

Publications (1)

Publication Number Publication Date
JP2011059875A true JP2011059875A (en) 2011-03-24

Family

ID=43947445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009207242A Withdrawn JP2011059875A (en) 2009-09-08 2009-09-08 Processing system of portable electronic device, portable electronic device, and processor of portable electronic device

Country Status (1)

Country Link
JP (1) JP2011059875A (en)

Similar Documents

Publication Publication Date Title
JP4891708B2 (en) Information communication medium
JP2010009353A (en) Semiconductor integrated circuit, ic card mounted with the semiconductor integrated circuit, and operation method for the same
US8123136B2 (en) Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices
JP2009048415A (en) Portable electronic device and control method of portable electronic device
US20100240318A1 (en) Mobile electronic device and control method of mobile electronic device
JP3929761B2 (en) Semiconductor device operation control method, semiconductor device operation control program, recording medium recording semiconductor device operation control program, semiconductor device, and IC card
US8321743B2 (en) Information storage medium and information storage medium processing apparatus
JP5487206B2 (en) Portable electronic device and method for controlling portable electronic device
JP2010238080A (en) Apparatus, and method for processing medium and non-contact communication medium
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP2011059875A (en) Processing system of portable electronic device, portable electronic device, and processor of portable electronic device
JP2011065477A (en) Mobile electronic device
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
JP2011022840A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP4845852B2 (en) Reader / writer
JP5684059B2 (en) IC card and control method of IC card
JP5875772B2 (en) Portable electronic device, control method for portable electronic device, and processing system for portable electronic device
JP2008276572A (en) Non-contact ic card
JP2010198208A (en) Contactless portable electronic device and contactless ic card
JP2005275456A (en) Portable electronic medium, integrated circuit used in portable electronic medium, and method for issuing portable electronic medium
JP5787692B2 (en) IC card, portable electronic device, and IC card control method
JP5762941B2 (en) IC card, portable electronic device, and IC card control program
JP2006018473A (en) Portable electronic apparatus
JP2010224690A (en) Non-contact portable electronic equipment, non-contact ic card, and non-contact ic card system
JP2005520379A (en) Communication station for communicating with the transponder and further communication stations using different transmission parameters

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121204