JP2015015044A - Portable electronic apparatus and portable electronic apparatus processing system - Google Patents

Portable electronic apparatus and portable electronic apparatus processing system Download PDF

Info

Publication number
JP2015015044A
JP2015015044A JP2014189468A JP2014189468A JP2015015044A JP 2015015044 A JP2015015044 A JP 2015015044A JP 2014189468 A JP2014189468 A JP 2014189468A JP 2014189468 A JP2014189468 A JP 2014189468A JP 2015015044 A JP2015015044 A JP 2015015044A
Authority
JP
Japan
Prior art keywords
unit
portable electronic
country
request command
response request
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.)
Granted
Application number
JP2014189468A
Other languages
Japanese (ja)
Other versions
JP5784204B2 (en
Inventor
清水 博夫
Hiroo Shimizu
博夫 清水
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 JP2014189468A priority Critical patent/JP5784204B2/en
Publication of JP2015015044A publication Critical patent/JP2015015044A/en
Application granted granted Critical
Publication of JP5784204B2 publication Critical patent/JP5784204B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable electronic apparatus and a portable electronic apparatus processing system capable of ensuring high user-friendliness.SOLUTION: A portable electronic apparatus according to an embodiment includes: a receiving unit that receives an initial response request command transmitted from the external device; a storage unit storing therein a plurality of applications each including an applied field identifier and a different country symbol in advance; a comparison unit recognizing the applied field identifiers and the country symbols from the received initial response request command, and comparing the recognized applied field identifier and country symbols with applied field identifiers and country symbols included in the respective applications stored in the storage unit; a command processing unit implementing the application for which a comparison result of the comparison unit indicates matching to generate a response to the initial response request command while not implementing the application for which the comparison result of the comparison unit indicates non-matching; and a transmitting unit transmitting the response generated by the command processing unit to the external device.

Description

本発明の実施形態は、携帯可能電子装置、及び携帯可能電子装置の処理システムに関する。   Embodiments described herein relate generally to a portable electronic device and a processing system for the portable electronic device.

一般的に、携帯可能電子装置として用いられるICカードは、プラスチックなどで形成されたカード状の本体と本体に埋め込まれたICモジュールとを備えている。ICモジュールは、ICチップを有している。ICチップは、電源が無い状態でもデータを保持することができるEEPROM(Electrically Erasable Programmable Read−Only Memory)またはフラッシュROMなどの不揮発性メモリと、種々の演算を実行する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 has a nonvolatile memory such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash ROM that can hold data even in the absence of a power source, and a CPU that executes various operations.

ICカードは、例えば、国際標準規格ISO/IEC7816、及びISO/IEC14443に準拠したICカードである。ICカードは、携帯性に優れ、且つ、外部装置との通信及び複雑な演算処理を行う事ができる。また、偽造が難しい為、ICカードは、機密性の高い情報などを格納してセキュリティシステム、電子商取引などに用いられることが想定される。   The IC card is, for example, an IC card conforming to international standards ISO / IEC7816 and ISO / IEC14443. The IC card is excellent in portability and can perform communication with an external device and complicated calculation processing. Further, since it is difficult to forge, the IC card is assumed to store highly confidential information and be used for a security system, electronic commerce, and the like.

また、近年、非接触通信によりデータの送受信を行うことができるICカードが一般的に普及している。上記したような非接触通信を行うICカードは、ICチップとアンテナとを備えている。ICカードは、ICカードを処理するICカード処理装置のリーダライタから発せられる磁界を受けて、カード内のアンテナを電磁誘導により起電させることにより動作する。また、ICカードは、非接触通信により処理装置からコマンドを受信した場合、受信したコマンドに応じてアプリケーションを実行する。これにより、ICカードは、種々の機能を実現することができる。   In recent years, IC cards capable of transmitting and receiving data by non-contact communication have become popular. An IC card that performs non-contact communication as described above includes an IC chip and an antenna. An IC card operates by receiving a magnetic field generated from a reader / writer of an IC card processing apparatus that processes the IC card and causing an antenna in the card to generate electricity by electromagnetic induction. Further, when the IC card receives a command from the processing device by non-contact communication, the IC card executes an application according to the received command. Thereby, the IC card can realize various functions.

ICカードの処理装置は、一定間隔で無線通信により初期応答要求コマンドを送信する。ICカードは、初期応答要求コマンドを受信する場合、初期応答要求コマンドに対するレスポンスを生成し、生成したレスポンスを処理装置に送信する。処理装置は、レスポンスを受け取ることにより、通信可能範囲にICカードが存在することを認識することができる。   The IC card processing device transmits an initial response request command by wireless communication at regular intervals. When receiving the initial response request command, the IC card generates a response to the initial response request command and transmits the generated response to the processing device. By receiving the response, the processing device can recognize that the IC card exists in the communicable range.

また、ICカードは、応用分野識別子(AFI)を保持している。AFIは、ICカードの処理装置が応用分野に応じたICカードを選ぶ為に用いられる。例えば、処理装置は、初期応答要求コマンドにAFIとして応用分野に応じた値を設定する。ICカードは、初期応答要求コマンドに設定されているAFIの値と、自身が保持するAFIの値とを比較し、一致する場合にレスポンスを処理装置に送信する。これにより、処理装置は、所望のICカードに対して処理を行うことができる。   The IC card holds an application field identifier (AFI). AFI is used by an IC card processing device to select an IC card according to the application field. For example, the processing device sets a value corresponding to the application field as AFI in the initial response request command. The IC card compares the AFI value set in the initial response request command with the AFI value held by itself, and sends a response to the processing device if they match. Thereby, the processing apparatus can process a desired IC card.

特許第3488166号公報Japanese Patent No. 3488166 特開平4−155486号公報Japanese Patent Laid-Open No. 4-155486

しかし、処理装置の通信可能範囲にAFIが一致するICカードが複数存在する場合、処理装置は、処理を行うICカードを特定することができない可能性がある。例えば、入国許可証(ビザ)などがICカードとして発行される場合、同じAFIを有するICカードが複数枚重なった状態で利用者に所持されることが想定される。このような場合、処理装置は、所望のICカードを特定することが困難であるという課題がある。   However, when there are a plurality of IC cards having the same AFI in the communicable range of the processing device, the processing device may not be able to identify the IC card to be processed. For example, when an entry permit (visa) or the like is issued as an IC card, it is assumed that a plurality of IC cards having the same AFI are possessed by the user in a state where they overlap each other. In such a case, the processing apparatus has a problem that it is difficult to specify a desired IC card.

そこで、より利便性の高い携帯可能電子装置、及び携帯可能電子装置の処理システムを提供することを目的とする。   Accordingly, it is an object of the present invention to provide a more convenient portable electronic device and a processing system for the portable electronic device.

一実施形態に係る携帯可能電子装置は、前記外部機器から送信された初期応答要求コマンドを受信する受信部と、応用分野識別子とそれぞれ異なる国記号とを有する複数のアプリケーションを予め記憶する記憶部と、受信された前記初期応答要求コマンドから応用分野識別子及び国記号を認識し、前記認識された応用分野識別子及び国記号と、前記記憶部により記憶されている前記各アプリケーションが有する応用分野識別子及び国記号とを比較する比較部と、前記比較部の比較結果が一致した前記アプリケーションを実行して前記初期応答要求コマンドに対するレスポンスを生成し、前記比較部の比較結果が一致しなかった前記アプリケーションを実行しないコマンド処理部と、前記比較部の比較結果が一致である場合、前記コマンド処理部により生成された前記レスポンスを前記外部機器に送信する送信部と、を具備する。   A portable electronic device according to an embodiment includes a receiving unit that receives an initial response request command transmitted from the external device, and a storage unit that stores in advance a plurality of applications each having an application field identifier and a different country code. Recognizing the application field identifier and country symbol from the received initial response request command, the recognized application field identifier and country symbol, and the application field identifier and country of each application stored in the storage unit A comparison unit for comparing symbols, and the application for which the comparison result of the comparison unit matches is generated to generate a response to the initial response request command, and the application for which the comparison result of the comparison unit does not match is executed If the comparison result of the command processing unit that does not match the comparison unit matches, the command processing The response generated and a transmitting unit that transmits to the external device by.

図1は、一実施形態に係るICカード処理システムの構成例について説明するための図である。FIG. 1 is a diagram for explaining a configuration example of an IC card processing system according to an embodiment. 図2は、一実施形態に係るICカードの構成例について説明するための図である。FIG. 2 is a diagram for explaining a configuration example of an IC card according to an embodiment. 図3は、一実施形態に係る応用分野識別子の例について説明するための図である。FIG. 3 is a diagram for explaining an example of an application field identifier according to an embodiment. 図4は、一実施形態に係る国記号の例について説明するための図である。FIG. 4 is a diagram for describing an example of a country symbol according to an embodiment. 図5は、一実施形態に係るICカード処理システムによる処理の例について説明するための図である。FIG. 5 is a diagram for explaining an example of processing by the IC card processing system according to the embodiment. 図6は、一実施形態に係るICカード処理システムによる処理の例について説明するための図である。FIG. 6 is a diagram for explaining an example of processing by the IC card processing system according to the embodiment.

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

本実施形態に係る携帯可能電子装置(ICカード)20及びICカードを処理する処理装置(端末装置)10は、例えば、ISO/IEC14443などにより規定されている非接触通信の機能を備える。これにより、ICカード20及び端末装置10は、互いにデータの送受信を行うことができる。   A portable electronic device (IC card) 20 and a processing device (terminal device) 10 for processing an IC card according to the present embodiment have a non-contact communication function defined by, for example, ISO / IEC14443. Thereby, the IC card 20 and the terminal device 10 can transmit and receive data to and from each other.

図1は、一実施形態に係るICカード処理システム1の構成例を示す。
ICカード処理システム1は、ICカード20を処理する端末装置10と、ICカード20と、を備える。端末装置10とICカード20とは、上記したように非接触通信により互いに種々のデータを送受信する。
FIG. 1 shows a configuration example of an IC card processing system 1 according to an embodiment.
The IC card processing system 1 includes a terminal device 10 that processes the IC card 20 and an IC card 20. As described above, the terminal device 10 and the IC card 20 transmit and receive various data by non-contact communication.

端末装置10は、CPU11、ROM12、RAM13、不揮発性メモリ14、送受信部15、共振部16、ロジック部17、上位インターフェース18、及び電源部19を備える。CPU11、ROM12、RAM13、不揮発性メモリ14、送受信部15、共振部16、ロジック部17、及び上位インターフェース18は、それぞれバスを介して互いに接続されている。   The terminal device 10 includes a CPU 11, a ROM 12, a RAM 13, a nonvolatile memory 14, a transmission / reception unit 15, a resonance unit 16, a logic unit 17, a host interface 18, and a power supply unit 19. The CPU 11, the ROM 12, the RAM 13, the nonvolatile memory 14, the transmission / reception unit 15, the resonance unit 16, the logic unit 17, and the host interface 18 are connected to each other via a bus.

CPU11は、端末装置10全体の制御を司る制御部として機能する。CPU11は、ROM12又は不揮発性メモリ14に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、CPU11は、送受信部15及び共振部16を介してICカード20とコマンド及びレスポンスの送受信を行う。   The CPU 11 functions as a control unit that controls the entire terminal device 10. The CPU 11 performs various processes based on the control program and control data stored in the ROM 12 or the nonvolatile memory 14. For example, the CPU 11 transmits and receives commands and responses to and from the IC card 20 via the transmission / reception unit 15 and the resonance unit 16.

ROM12は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。RAM13は、ワーキングメモリとして機能する揮発性のメモリである。RAM13は、CPU11の処理中のデータなどを一時的に格納する。例えば、RAM13は、送受信部15及び共振部16を介して外部の機器と送受信するデータを一時的に格納する。また、RAM13は、CPU11が実行するプログラムを一時的に格納する。   The ROM 12 is a non-volatile memory that stores a control program and control data in advance. The RAM 13 is a volatile memory that functions as a working memory. The RAM 13 temporarily stores data being processed by the CPU 11. For example, the RAM 13 temporarily stores data to be transmitted / received to / from an external device via the transmission / reception unit 15 and the resonance unit 16. The RAM 13 temporarily stores a program executed by the CPU 11.

不揮発性メモリ14は、例えばEEPROM、FRAM(登録商標)などを備える。不揮発性メモリ14は、例えば、制御用のプログラム、制御データ、アプリケーション、及びアプリケーションに用いられるデータなどを記憶する。   The nonvolatile memory 14 includes, for example, EEPROM, FRAM (registered trademark), and the like. The nonvolatile memory 14 stores, for example, a control program, control data, an application, and data used for the application.

送受信部15及び共振部16は、ICカード20と通信を行うためのインターフェース装置である。   The transmission / reception unit 15 and the resonance unit 16 are interface devices for communicating with the IC card 20.

送受信部15は、共振部16により送受信するデータに対して信号処理を施す。例えば、送受信部15は、符号化、復号、変調、及び復調を行なう。送受信部15は、符号化及び変調を施したデータを共振部16に供給する。   The transmission / reception unit 15 performs signal processing on data transmitted / received by the resonance unit 16. For example, the transmission / reception unit 15 performs encoding, decoding, modulation, and demodulation. The transmission / reception unit 15 supplies the encoded and modulated data to the resonance unit 16.

共振部16は、例えば所定の共振周波数を有するアンテナを有する。共振部16は、送受信部15から供給されるデータに応じて磁界を発生させる。これにより、端末装置10は、通信可能範囲に存在するICカード20に対してデータを非接触で送信することができる。   The resonating unit 16 includes an antenna having a predetermined resonance frequency, for example. The resonance unit 16 generates a magnetic field according to data supplied from the transmission / reception unit 15. Thereby, the terminal device 10 can transmit data to the IC card 20 existing in the communicable range in a non-contact manner.

また、共振部16は、磁界を検知し、検知した磁界に応じてデータを生成する。これにより、共振部16は、データを非接触で受信することができる。共振部16は、受信したデータを送受信部15に供給する。送受信部15は、共振部16により受信したデータに対して復調及び復号を行う。これにより、端末装置10は、ICカード20から送信された元のデータを取得することができる。   The resonating unit 16 detects a magnetic field and generates data according to the detected magnetic field. Thereby, the resonance part 16 can receive data non-contactingly. The resonance unit 16 supplies the received data to the transmission / reception unit 15. The transmission / reception unit 15 demodulates and decodes the data received by the resonance unit 16. Thereby, the terminal device 10 can acquire the original data transmitted from the IC card 20.

ロジック部17は、所定の演算処理を行う。例えば、ロジック部17は、CPU11の制御に基づいて、データの暗号化、復号、及び乱数生成などの演算処理を行う。   The logic unit 17 performs predetermined calculation processing. For example, the logic unit 17 performs arithmetic processing such as data encryption, decryption, and random number generation based on the control of the CPU 11.

上位インターフェース18は、上位端末と通信するためのインターフェースである。上位端末は、例えば操作部及び表示部などを備える。操作部は、例えば操作キーなどを備え、操作者により入力される操作に基づいて、操作信号を生成する。表示部は、種々の情報を表示する。上位インターフェース18は、上位端末からデータを受け取り、CPU11に伝送する。また、上位インターフェース18は、送受信部15及び共振部16によりICカード20から取得したデータを上位端末に伝送する構成であってもよい。   The upper interface 18 is an interface for communicating with the upper terminal. The host terminal includes, for example, an operation unit and a display unit. The operation unit includes an operation key, for example, and generates an operation signal based on an operation input by the operator. The display unit displays various information. The upper interface 18 receives data from the upper terminal and transmits it to the CPU 11. The upper interface 18 may be configured to transmit data acquired from the IC card 20 by the transmission / reception unit 15 and the resonance unit 16 to the upper terminal.

電源部19は、端末装置10の各部に電力を供給する。   The power supply unit 19 supplies power to each unit of the terminal device 10.

また、不揮発性メモリ14は、国記号(country code:CC)を記憶する国記号記憶部14aを有する。国記号記憶部14aは、例えば、上位インターフェース18を介して上位端末から入力される国記号を記憶する。また、端末装置10が操作入力を受け付ける操作部を有する場合、国記号記憶部14aは、操作部に入力される操作に応じた国記号を記憶する構成であってもよい。また、ROM12が国記号記憶部14aを備える構成であってもよい。なお、国記号については後述する。   The nonvolatile memory 14 includes a country symbol storage unit 14a that stores a country code (CC). The country symbol storage unit 14a stores, for example, a country symbol input from a host terminal via the host interface 18. Moreover, when the terminal device 10 has an operation unit that receives an operation input, the country symbol storage unit 14a may be configured to store a country symbol corresponding to an operation input to the operation unit. Further, the ROM 12 may include a country symbol storage unit 14a. The country symbol will be described later.

図2は、一実施形態に係るICカード20の構成例を示す。
図2に示すように、ICカード20は、例えば、矩形状の本体21と、本体21内に内蔵されたICモジュール22とを備える。ICモジュール22は、ICチップ23と、共振部(アンテナ)24とを備える。ICチップ23と共振部24とは、互いに接続された状態でICモジュール22内に形成されている。
FIG. 2 shows a configuration example of the IC card 20 according to one embodiment.
As shown in FIG. 2, the IC card 20 includes, for example, a rectangular main body 21 and an IC module 22 built in the main body 21. The IC module 22 includes an IC chip 23 and a resonance unit (antenna) 24. The IC chip 23 and the resonance unit 24 are formed in the IC module 22 in a state where they are connected to each other.

なお、本体21は、少なくとも共振部24が配設されるICモジュール22を設置可能な形状であれば、矩形状に限らず如何なる形状であっても良い。   The main body 21 is not limited to a rectangular shape, and may have any shape as long as the IC module 22 in which at least the resonating portion 24 is disposed can be installed.

ICチップ23は、CPU25、ROM26、RAM27、不揮発性メモリ28、送受信部29、電源部31、及びロジック部32などを備える。CPU25、ROM26、RAM27、不揮発性メモリ28、送受信部29、電源部31、及びロジック部32は、バスを介して互いに接続されている。   The IC chip 23 includes a CPU 25, a ROM 26, a RAM 27, a nonvolatile memory 28, a transmission / reception unit 29, a power supply unit 31, a logic unit 32, and the like. The CPU 25, the ROM 26, the RAM 27, the nonvolatile memory 28, the transmission / reception unit 29, the power supply unit 31, and the logic unit 32 are connected to each other via a bus.

共振部24は、端末装置(外部機器)10の共振部16と通信を行うためのインターフェースである。共振部24は、例えば、ICモジュール22内に所定の形状で配設される金属線により構成されるアンテナを備える。   The resonance unit 24 is an interface for communicating with the resonance unit 16 of the terminal device (external device) 10. The resonating unit 24 includes, for example, an antenna formed of a metal wire disposed in a predetermined shape in the IC module 22.

ICカード20は、端末装置10に送信するデータに応じてアンテナにより磁界を発生させる。これにより、ICカード20は、端末装置10に対してデータを送信することができる。また、ICカード20は、電磁誘導によりアンテナに発生する誘導電流に基づいて端末装置10から送信されるデータを認識する。   The IC card 20 generates a magnetic field by an antenna according to data transmitted to the terminal device 10. Thereby, the IC card 20 can transmit data to the terminal device 10. Further, the IC card 20 recognizes data transmitted from the terminal device 10 based on an induced current generated in the antenna by electromagnetic induction.

CPU25は、ICカード20全体の制御を司る制御部として機能する。CPU25は、ROM26あるいは不揮発性メモリ28に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、端末装置10から受信したコマンドに応じて種々の処理を行い、処理結果としてのレスポンスなどのデータの生成を行なう。   The CPU 25 functions as a control unit that controls the entire IC card 20. The CPU 25 performs various processes based on the control program and control data stored in the ROM 26 or the nonvolatile memory 28. For example, various processes are performed in accordance with commands received from the terminal device 10 and data such as responses as processing results is generated.

ROM26は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROM26は、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード20内に組み込まれる。即ち、ROM26に記憶される制御プログラム及び制御データは、予めICカード20の仕様に応じて組み込まれる。   The ROM 26 is a non-volatile memory that stores a control program and control data in advance. The ROM 26 is incorporated in the IC card 20 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 26 are incorporated in advance according to the specifications of the IC card 20.

RAM27は、ワーキングメモリとして機能する揮発性のメモリである。RAM27は、CPU25の処理中のデータなどを一時的に格納する。例えば、RAM27は、共振部24を介して端末装置10から受信したデータを一時的に格納する。またRAM27は、共振部24を介して端末装置10に送信するデータを一時的に格納する。またさらに、RAM27は、CPU25が実行するプログラムを一時的に格納する。   The RAM 27 is a volatile memory that functions as a working memory. The RAM 27 temporarily stores data being processed by the CPU 25. For example, the RAM 27 temporarily stores data received from the terminal device 10 via the resonance unit 24. The RAM 27 temporarily stores data to be transmitted to the terminal device 10 via the resonance unit 24. Furthermore, the RAM 27 temporarily stores a program executed by the CPU 25.

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

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

送受信部29は、端末装置10に送信するデータに対して符号化、負荷変調などの信号処理を行う。例えば、送受信部29は、端末装置10に送信するデータの変調(増幅)を行う。送受信部29は、信号処理を施したデータを共振部24に送信する。   The transmission / reception unit 29 performs signal processing such as encoding and load modulation on the data transmitted to the terminal device 10. For example, the transmission / reception unit 29 modulates (amplifies) data to be transmitted to the terminal device 10. The transmission / reception unit 29 transmits the data subjected to signal processing to the resonance unit 24.

また、送受信部29は、共振部24により受信する信号に対して復調、及び復号を行う。例えば、送受信部29は、共振部24により受信する信号の解析を行う。これにより、送受信部29は、2値の論理データを取得する。送受信部29は、解析したデータをバスを介してCPU25に送信する。   The transmission / reception unit 29 demodulates and decodes the signal received by the resonance unit 24. For example, the transmission / reception unit 29 analyzes a signal received by the resonance unit 24. As a result, the transmission / reception unit 29 acquires binary logical data. The transmission / reception unit 29 transmits the analyzed data to the CPU 25 via the bus.

電源部31は、共振部24により受け取られた電波(例えばキャリア波)に基づいて電力を生成する。さらに、電源部31は、動作クロックを生成する。電源部31は、生成した電力及び動作クロックをICカード20の各部に供給する。ICカード20の各部は、電力の供給を受けた場合、動作可能な状態になる。   The power supply unit 31 generates power based on radio waves (for example, carrier waves) received by the resonance unit 24. Furthermore, the power supply unit 31 generates an operation clock. The power supply unit 31 supplies the generated power and operation clock to each unit of the IC card 20. Each unit of the IC card 20 becomes operable when supplied with power.

ロジック部32は、演算処理をハードウエアにより行う演算部である。例えば、ロジック部32は、端末装置10からのコマンドに基づいて、暗号化、復号、及び乱数の生成などの処理を行う。例えば、端末装置10から相互認証コマンドを受信する場合、ロジック部32は、乱数を生成し、生成した乱数をCPU25に伝送する。   The logic unit 32 is an arithmetic unit that performs arithmetic processing by hardware. For example, the logic unit 32 performs processing such as encryption, decryption, and random number generation based on a command from the terminal device 10. For example, when receiving a mutual authentication command from the terminal device 10, the logic unit 32 generates a random number and transmits the generated random number to the CPU 25.

また、不揮発性メモリ28は、国記号を記憶する国記号記憶部28aを備えている。国記号記憶部28aは、例えば、ICカード20のファイルの創成時に外部から入力される国記号を記憶する。また、ROM26が国記号記憶部28aを備える構成であってもよい。この場合、ROM26は、国記号を記憶した状態でICチップ23に組み込まれる。また、不揮発性メモリ28が、複数のアプリケーションを記憶する場合、国記号記憶部28aは、各アプリケーション毎に国記号を記憶する構成であってもよい。なお、国記号については後述する。   In addition, the nonvolatile memory 28 includes a country symbol storage unit 28a that stores a country symbol. The country symbol storage unit 28a stores, for example, a country symbol that is input from the outside when the file of the IC card 20 is created. Further, the ROM 26 may include a country symbol storage unit 28a. In this case, the ROM 26 is incorporated in the IC chip 23 in a state where the country code is stored. When the nonvolatile memory 28 stores a plurality of applications, the country symbol storage unit 28a may be configured to store a country symbol for each application. The country symbol will be described later.

ICカードの処理装置は、一定間隔で無線通信により初期応答要求コマンドを送信する。ICカードは、初期応答要求コマンドを受信する場合、初期応答要求コマンドに対するレスポンスを生成し、生成したレスポンスを処理装置に送信する。処理装置は、レスポンスを受け取ることにより、通信可能範囲にICカードが存在することを認識することができる。   The IC card processing device transmits an initial response request command by wireless communication at regular intervals. When receiving the initial response request command, the IC card generates a response to the initial response request command and transmits the generated response to the processing device. By receiving the response, the processing device can recognize that the IC card exists in the communicable range.

また、ICカードは、応用分野識別子(AFI)を保持している。AFIは、ICカードの処理装置が応用分野に応じたICカードを選ぶ為に用いられる。例えば、処理装置は、初期応答要求コマンドにAFIとして応用分野に応じた値を設定する。ICカードは、初期応答要求コマンドに設定されているAFIの値と、自身が保持するAFIの値とを比較し、一致する場合にレスポンスを処理装置に送信する。これにより、処理装置は、所望のICカードに対して処理を行うことができる。   The IC card holds an application field identifier (AFI). AFI is used by an IC card processing device to select an IC card according to the application field. For example, the processing device sets a value corresponding to the application field as AFI in the initial response request command. The IC card compares the AFI value set in the initial response request command with the AFI value held by itself, and sends a response to the processing device if they match. Thereby, the processing apparatus can process a desired IC card.

図1に示す端末装置10は、共振部16により一定間隔で無線通信により初期応答要求コマンドを送信する。これにより、端末装置10は、通信可能範囲内に存在するICカード20を認識し、通信に関する設定を行う。なお、端末装置10は、初期応答要求コマンドに、応用分野識別子(AFI)、及び国記号(CC)を付加する。   The terminal device 10 illustrated in FIG. 1 transmits an initial response request command by wireless communication at regular intervals by the resonance unit 16. Thereby, the terminal device 10 recognizes the IC card 20 existing within the communicable range and performs settings related to communication. The terminal device 10 adds an application field identifier (AFI) and a country symbol (CC) to the initial response request command.

図3は、一実施形態に係る応用分野識別子の例を示す。
AFIは、端末装置10が応用分野を特定する為に用いられる識別子である。AFIは、例えば8bit(1byte)で表現される値である。端末装置10は、端末装置10が用いられる分野に応じたAFIの値を例えばROM12、または不揮発性メモリ14などにより予め記憶する。端末装置10は、初期応答要求コマンドに自身が記憶しているAFIの値を設定する。
FIG. 3 shows an example of an application field identifier according to an embodiment.
The AFI is an identifier used by the terminal device 10 to specify an application field. AFI is a value expressed by, for example, 8 bits (1 byte). The terminal device 10 stores in advance the AFI value corresponding to the field in which the terminal device 10 is used, for example, by the ROM 12 or the nonvolatile memory 14. The terminal device 10 sets the AFI value stored in the initial response request command.

また、ICカード20は、ICカード20が用いられる分野に応じたAFIの値を例えばROM26、または不揮発性メモリ28などにより予め記憶する。ICカード20は、初期応答要求コマンドを受信する場合、初期応答要求コマンドのAFIの値と、自身が記憶しているAFIの値とを比較し、一致する場合に後段の処理を行う。即ち、ICカード20は、初期応答要求コマンドのAFIの値と、自身が記憶しているAFIの値とが一致しない場合、処理を終了する。これにより、端末装置10は、端末装置10に対応するICカード20を絞り込むことが出来る。   Further, the IC card 20 stores in advance, for example, the ROM 26 or the nonvolatile memory 28 according to the field in which the IC card 20 is used. When the IC card 20 receives the initial response request command, the IC card 20 compares the AFI value of the initial response request command with the AFI value stored in the IC card 20, and performs a subsequent process if they match. That is, the IC card 20 ends the process when the AFI value of the initial response request command does not match the AFI value stored in itself. Thereby, the terminal device 10 can narrow down the IC cards 20 corresponding to the terminal device 10.

図3に示すように、例えば、端末装置10が、輸送分野(Transport)に用いられる場合、端末装置10は、AFIとして「10」または、「1Y」を記憶する。端末装置10は、初期応答要求コマンドにAFIとして「10」または、「1Y」の値を設定し、初期応答要求コマンドを送信する。ICカード20は、初期応答要求コマンドを受信した場合、自身が記憶しているAFIの値が「10」または、「1Y」であるか確認する。ICカード20は、自身が記憶しているAFIの値が「10」または、「1Y」である場合、後段の処理を行う。   As illustrated in FIG. 3, for example, when the terminal device 10 is used in the transport field (Transport), the terminal device 10 stores “10” or “1Y” as the AFI. The terminal device 10 sets a value of “10” or “1Y” as the AFI in the initial response request command, and transmits the initial response request command. When receiving the initial response request command, the IC card 20 checks whether the AFI value stored in itself is “10” or “1Y”. When the value of the AFI stored in the IC card 20 is “10” or “1Y”, the IC card 20 performs subsequent processing.

また、例えば、端末装置10が、金融分野(Financial)に用いられる場合、端末装置10は、AFIとして「20」または、「2Y」を記憶する。端末装置10は、初期応答要求コマンドにAFIとして「20」または、「2Y」の値を設定し、初期応答要求コマンドを送信する。ICカード20は、初期応答要求コマンドを受信した場合、自身が記憶しているAFIの値が「20」または、「2Y」であるか確認する。ICカード20は、自身が記憶しているAFIの値が「20」または、「2Y」である場合、後段の処理を行う。   Further, for example, when the terminal device 10 is used in the financial field (Financial), the terminal device 10 stores “20” or “2Y” as the AFI. The terminal apparatus 10 sets a value of “20” or “2Y” as the AFI in the initial response request command, and transmits the initial response request command. When receiving the initial response request command, the IC card 20 checks whether the AFI value stored in itself is “20” or “2Y”. When the value of the AFI stored in the IC card 20 is “20” or “2Y”, the IC card 20 performs subsequent processing.

図4は、一実施形態に係る国記号(CC)の例を示す。
CCは、国名(地域名を含む)を示す識別子である。CCは、例えば、ISO/IEC3166−1に規定されるように、16bit(2byte)で表現される値である。ICカード処理システム1は、CCの値と国名とを予め対応付け、図4に示すような国記号テーブルを設定する。これにより、CCの値から国名を特定することができる。
FIG. 4 shows an example of a country symbol (CC) according to an embodiment.
CC is an identifier indicating a country name (including a region name). CC is a value expressed in 16 bits (2 bytes), for example, as defined in ISO / IEC3166-1. The IC card processing system 1 associates CC values with country names in advance, and sets a country symbol table as shown in FIG. Thereby, a country name can be specified from the value of CC.

端末装置10は、国記号テーブルに基づいてCCの値を例えば国記号記憶部14aにより予め記憶する。端末装置10は、例えば、端末装置10が運用される国に応じたCCの値を予め記憶する。端末装置10は、初期応答要求コマンドに自身が記憶しているCCの値を設定する。   The terminal device 10 stores the CC value in advance in the country symbol storage unit 14a based on the country symbol table, for example. For example, the terminal device 10 stores in advance a CC value corresponding to the country in which the terminal device 10 is operated. The terminal device 10 sets the CC value stored in the initial response request command.

また、ICカード20は、国記号テーブルに基づいてCCの値を国記号記憶部28aにより予め記憶する。ICカード20は、初期応答要求コマンドを受信する場合、初期応答要求コマンドのCCの値と、国記号記憶部28aにより記憶されているCCの値とを比較し、一致する場合に後段の処理を行う。即ち、ICカード20は、初期応答要求コマンドのCCの値と、国記号記憶部28aにより記憶されているCCの値とが一致しない場合、処理を終了する。これにより、端末装置10は、端末装置10に対応するICカード20をさらに絞り込むことが出来る。   Further, the IC card 20 stores the CC value in advance in the country symbol storage unit 28a based on the country symbol table. When the IC card 20 receives the initial response request command, the IC card 20 compares the CC value of the initial response request command with the CC value stored in the country symbol storage unit 28a. Do. That is, the IC card 20 ends the process when the CC value of the initial response request command does not match the CC value stored in the country symbol storage unit 28a. Thereby, the terminal device 10 can further narrow down the IC cards 20 corresponding to the terminal device 10.

図4に示すように、例えば、端末装置10が、アメリカ合衆国(United States)で用いられる場合、端末装置10は、CCの値として「840」を記憶する。端末装置10は、初期応答要求コマンドにCCの値として「840」を設定し、初期応答要求コマンドを送信する。ICカード20は、初期応答要求コマンドを受信した場合、自身が記憶しているCCの値が「840」であるか確認する。ICカード20は、自身が記憶しているCCの値が「840」である場合、後段の処理を行う。   As illustrated in FIG. 4, for example, when the terminal device 10 is used in the United States (United States), the terminal device 10 stores “840” as the value of CC. The terminal device 10 sets “840” as the CC value in the initial response request command, and transmits the initial response request command. When receiving the initial response request command, the IC card 20 checks whether the CC value stored in the IC card 20 is “840”. When the CC value stored in the IC card 20 is “840”, the IC card 20 performs subsequent processing.

また、例えば、端末装置10が、アイスランド(Iceland)で用いられる場合、端末装置10は、CCの値として「352」を記憶する。端末装置10は、初期応答要求コマンドにCCの値として「352」を設定し、初期応答要求コマンドを送信する。ICカード20は、初期応答要求コマンドを受信した場合、自身が記憶しているCCの値が「352」であるか確認する。ICカード20は、自身が記憶しているCCの値が「352」である場合、後段の処理を行う。   For example, when the terminal device 10 is used in Iceland, the terminal device 10 stores “352” as the value of CC. The terminal device 10 sets “352” as the CC value in the initial response request command, and transmits the initial response request command. When receiving the initial response request command, the IC card 20 checks whether the CC value stored in the IC card 20 is “352”. When the CC value stored in the IC card 20 is “352”, the IC card 20 performs subsequent processing.

図5は、端末装置10が送信する初期応答要求コマンドの例を示す。
図5に示すように、初期応答要求コマンドは、「APf」、「AFI」、「CC」、「PARAM」、及び「CRC_B」を有する。
FIG. 5 shows an example of an initial response request command transmitted by the terminal device 10.
As shown in FIG. 5, the initial response request command has “APf”, “AFI”, “CC”, “PARAM”, and “CRC_B”.

APfは、初期応答要求コマンドで使用されるパラメータである。APfは、例えば1byteのデータである。   APf is a parameter used in the initial response request command. APf is, for example, 1-byte data.

AFIは、上記したように、端末装置10が応用分野を特定する為に用いられる識別子である。AFIは、例えば8bit(1byte)で表現される値である。即ち、端末装置10は、初期応答要求コマンドの先頭から9bit乃至16bit目にAFIの値を設定する。   As described above, the AFI is an identifier used by the terminal device 10 to identify the application field. AFI is a value expressed by, for example, 8 bits (1 byte). That is, the terminal device 10 sets the AFI value in the 9th to 16th bits from the beginning of the initial response request command.

CCは、上記したように、国名(地域名を含む)を示す識別子である。CCは、例えば、16bit(2byte)で表現される値である。即ち、端末装置10は、初期応答要求コマンドの先頭から17bit乃至32bit目にCCの値を設定する。   As described above, CC is an identifier indicating a country name (including a region name). CC is a value expressed by 16 bits (2 bytes), for example. That is, the terminal device 10 sets the CC value at 17 bits to 32 bits from the beginning of the initial response request command.

PARAMは、属性情報のパラメータである。PARAMは、例えば8bit(1byte)のデータである。PARAMは、コマンドの種類、及び、スロットマーカー方式またはタイムスロット方式などのアンチコリジョンで使用されるスロットの数などを示す。   PARAM is a parameter of attribute information. PARAM is, for example, 8-bit (1 byte) data. PARAM indicates the type of command and the number of slots used in anti-collision such as a slot marker method or a time slot method.

CRC_Bは、巡回冗長検査符号である。CRC_Bは、例えば、16bit(2byte)で表現される値である。CRC_Bは、CRC_Bを含むコマンドをキャラクタとして有するフレーム内のデータビットから計算される値である。ICカード20は、受信したコマンドのCRC_Bを用いて、受信したコマンドが正常に伝送されたものであるか否かを判断する。   CRC_B is a cyclic redundancy check code. CRC_B is a value expressed by 16 bits (2 bytes), for example. CRC_B is a value calculated from data bits in a frame having a command including CRC_B as a character. The IC card 20 determines whether or not the received command is normally transmitted using the CRC_B of the received command.

図6は、一実施形態に係るICカード20の動作の例を示す。
まず、端末装置10は、ICカード20の検知を行なう為に、共振部16により初期応答要求コマンドを繰り返し通信可能範囲に送信する。
FIG. 6 shows an example of the operation of the IC card 20 according to one embodiment.
First, the terminal device 10 repeatedly transmits an initial response request command to the communicable range by the resonance unit 16 in order to detect the IC card 20.

ICカード20は、端末装置10の共振部16の通信可能範囲内に進入する場合、活性化されてアイドル状態になる(ステップS11)。さらに、ICカード20は、初期応答要求コマンドを受信する(ステップS12)。   When the IC card 20 enters the communicable range of the resonance unit 16 of the terminal device 10, the IC card 20 is activated and enters an idle state (step S11). Further, the IC card 20 receives the initial response request command (step S12).

ICカード20のCPU25は、受信した初期応答要求コマンドを解析する。これにより、CPU25は、初期応答要求コマンドの「APf」、「AFI」、「CC」、「PARAM」、及び「CRC_B」のそれぞれの値を認識する。   The CPU 25 of the IC card 20 analyzes the received initial response request command. As a result, the CPU 25 recognizes the values of the initial response request commands “APf”, “AFI”, “CC”, “PARAM”, and “CRC_B”.

CPU25は、認識した初期応答要求コマンドのAFIの値と、ICカード20のROM26、または不揮発性メモリ28により記憶されているAFIの値とが一致するか否か判定する(ステップS13)。   The CPU 25 determines whether or not the recognized AFI value of the initial response request command matches the AFI value stored in the ROM 26 or the nonvolatile memory 28 of the IC card 20 (step S13).

認識したAFIの値と、ICカード20に記憶されているAFIの値とが一致しない場合、CPU25は、ステップS12に移行し、初期応答要求コマンドの受信を待つ状態になる。これにより、端末装置10により特定される応用分野に該当しないICカード20が処理対象から除外される。   If the recognized AFI value does not match the AFI value stored in the IC card 20, the CPU 25 proceeds to step S12 and waits for reception of an initial response request command. Thereby, the IC card 20 that does not correspond to the application field specified by the terminal device 10 is excluded from the processing target.

認識したAFIの値と、ICカード20に記憶されているAFIの値とが一致する場合、CPU25は、認識した初期応答要求コマンドのCCの値と、国記号記憶部28aにより記憶されているCCの値とが一致するか否か判定する(ステップS14)。   When the recognized AFI value matches the AFI value stored in the IC card 20, the CPU 25 determines the CC value of the recognized initial response request command and the CC stored in the country symbol storage unit 28a. It is determined whether or not the values match (step S14).

認識したCCの値と、ICカード20に記憶されているCCの値とが一致しない場合、CPU25は、ステップS12に移行し、初期応答要求コマンドの受信を待つ状態になる。これにより、端末装置10により特定される国記号に該当しないICカード20が処理対象から除外される。   If the recognized CC value does not match the CC value stored in the IC card 20, the CPU 25 proceeds to step S12 and waits for reception of an initial response request command. Thereby, the IC card 20 that does not correspond to the country symbol specified by the terminal device 10 is excluded from the processing target.

認識したCCの値と、ICカード20に記憶されているCCの値とが一致した場合、CPU25は、初期応答要求コマンドに対するレスポンスを生成し、端末装置10に送信する(ステップS15)。これ以降、ICカード20及び端末装置10は、通常の処理を行う(ステップS16)。即ち、ICカード20及び端末装置10は、互いにコマンド及びレスポンスを送受信することにより、アンチコリジョン処理、相互認証処理、及び通常のコマンド処理などを行う。   When the recognized CC value matches the CC value stored in the IC card 20, the CPU 25 generates a response to the initial response request command and transmits it to the terminal device 10 (step S15). Thereafter, the IC card 20 and the terminal device 10 perform normal processing (step S16). That is, the IC card 20 and the terminal device 10 perform anti-collision processing, mutual authentication processing, normal command processing, and the like by transmitting and receiving commands and responses to each other.

上記した実施形態に係るICカード処理システム1は、国記号記憶部14aを備える端末装置と、国記号記憶部28aを備えるICカード20とを備える。端末装置10は、国記号記憶部14aにより記憶されている国記号(CC)を初期応答要求コマンドに設定し、送信する。ICカード20は、初期応答要求コマンドに設定されているCCの値と、国記号記憶部28aにより記憶されている国記号とを比較する。ICカード20は、比較結果が一致である場合に、端末装置10にレスポンスを送信する。   The IC card processing system 1 according to the above-described embodiment includes the terminal device including the country symbol storage unit 14a and the IC card 20 including the country symbol storage unit 28a. The terminal device 10 sets the country symbol (CC) stored in the country symbol storage unit 14a to the initial response request command and transmits it. The IC card 20 compares the CC value set in the initial response request command with the country code stored in the country code storage unit 28a. The IC card 20 transmits a response to the terminal device 10 when the comparison results match.

これにより、端末装置10により特定されるCCに該当しないICカード20が処理対象から除外される。この為、特定の応用分野に用いられるICカード20が、端末装置10の共振部16の通信可能範囲に複数枚存在する場合であっても、端末装置10は、所望のICカードを特定することができる。この結果、衝突などを抑えることができ、より利便性の高い携帯可能電子装置、携帯可能電子装置の処理装置、及び携帯可能電子装置の処理システムを提供することができる。   Thereby, the IC card 20 that does not correspond to the CC specified by the terminal device 10 is excluded from the processing target. For this reason, even if there are a plurality of IC cards 20 used in a specific application field in the communicable range of the resonance unit 16 of the terminal device 10, the terminal device 10 must specify a desired IC card. Can do. As a result, collision and the like can be suppressed, and a more convenient portable electronic device, a processing device for the portable electronic device, and a processing system for the portable electronic device can be provided.

なお、上記の実施形態では、CCは、16bit(2byte)で表現される値としたが、この構成に限定されない。CCのデータ量は、識別する国名の数に応じて適宜設定される。例えば、CCが8bit(1byte)であれば256通りの値を表現することができる。この為、単に国名で区分する場合、CCは、1byteのデータであってもよい。また、ヨーロッパ、北米、南米、アジア、アフリカなどで区分する場合、4bit程度でも表現可能である。   In the above embodiment, CC is a value expressed by 16 bits (2 bytes), but is not limited to this configuration. The amount of CC data is appropriately set according to the number of country names to be identified. For example, if CC is 8 bits (1 byte), 256 values can be expressed. For this reason, when it categorizes only by country name, CC may be 1-byte data. In addition, when it is classified by Europe, North America, South America, Asia, Africa, etc., it can be expressed in about 4 bits.

さらに、CCを2byteよりも大きなデータにすることで、国の中の細かな地域でも区分することができる。この場合、端末装置10は、例えば、日本の関西地域で用いられる交通ICカードと、日本の関東地域で用いられる交通ICカードとを識別することができる。これにより、より衝突の機会を減らす事ができる。   Furthermore, by making CC larger than 2 bytes, it is possible to classify even a small region in the country. In this case, for example, the terminal device 10 can identify a traffic IC card used in the Kansai region of Japan and a traffic IC card used in the Kanto region of Japan. As a result, the chance of collision can be further reduced.

なお、上述の各実施の形態で説明した機能は、ハードウエアを用いて構成するに留まらず、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現することもできる。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。   It should be noted that the functions described in the above embodiments are not limited to being configured using hardware, but can be realized by causing a computer to read a program describing each function using software. Each function may be configured by appropriately selecting either software or hardware.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, 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 suitably the component covering different embodiment.

以下に本願の出願当初の請求項を付記する。   The claims at the beginning of the filing of this application are appended below.

[C1]
外部機器と非接触通信を行う携帯可能電子装置であって、
前記外部機器から送信された初期応答要求コマンドを受信する受信部と、
所定コードを予め記憶する記憶部と、
受信された前記初期応答要求コマンドから所定コードを認識し、前記認識された所定コードと、前記記憶部により記憶されている所定コードとを比較する比較部と、
前記比較部の比較結果が一致である場合、前記初期応答要求コマンドに対するレスポンスを生成するコマンド処理部と、
前記コマンド処理部により生成された前記レスポンスを前記外部機器に送信する送信部と、
を具備する携帯可能電子装置。
[C1]
A portable electronic device that performs non-contact communication with an external device,
A receiving unit for receiving an initial response request command transmitted from the external device;
A storage unit for storing a predetermined code in advance;
A comparison unit that recognizes a predetermined code from the received initial response request command, and compares the recognized predetermined code with a predetermined code stored in the storage unit;
If the comparison result of the comparison unit is coincident, a command processing unit that generates a response to the initial response request command;
A transmission unit that transmits the response generated by the command processing unit to the external device;
A portable electronic device comprising:

[C2]
前記記憶部は、国記号を所定コードとして予め記憶し、
前記比較部は、前記初期応答要求コマンドから国記号を認識し、前記認識された国記号と、前記記憶部により記憶されている国記号とを比較する、
C1に記載の携帯可能電子装置。
[C2]
The storage unit stores a country symbol in advance as a predetermined code,
The comparison unit recognizes a country symbol from the initial response request command, and compares the recognized country symbol with the country symbol stored in the storage unit;
The portable electronic device according to C1.

[C3]
前記記憶部は、国名または地域名に対応する値を国記号として記憶し、
前記比較部は、受信された前記初期応答要求コマンドから国記号の値を認識し、前記認識された値と、前記記憶部により記憶されている国記号の値とを比較する、
C2に記載の携帯可能電子装置。
[C3]
The storage unit stores a value corresponding to a country name or region name as a country symbol,
The comparison unit recognizes the value of the country symbol from the received initial response request command, and compares the recognized value with the value of the country symbol stored in the storage unit;
The portable electronic device according to C2.

[C4]
応用分野識別子を記憶する応用分野識別子記憶部をさらに具備し、
前記比較部は、受信された前記初期応答要求コマンドから応用分野識別子を認識し、前記認識された応用分野識別子と、前記応用分野識別子記憶部により記憶されている応用分野識別子とを比較する、
C3に記載の携帯可能電子装置。
[C4]
An application field identifier storage unit for storing the application field identifier;
The comparison unit recognizes an application field identifier from the received initial response request command, and compares the recognized application field identifier with an application field identifier stored in the application field identifier storage unit;
The portable electronic device according to C3.

[C5]
前記各部を備えるICモジュールと、
前記ICモジュールが配設される本体と、
を具備するC1に記載の携帯可能電子装置。
[C5]
An IC module comprising the above-mentioned parts;
A main body on which the IC module is disposed;
The portable electronic device according to C1, comprising:

[C6]
携帯可能電子装置と非接触通信を行う携帯可能電子装置の処理装置であって、
所定コードを予め記憶する記憶部と、
前記記憶部により所定コードを含む初期応答要求コマンドを生成するコマンド生成部と、
前記コマンド生成部により生成された前記初期応答要求コマンドを前記携帯可能電子装置に送信する送信部と、
前記携帯可能電子装置から送信されたレスポンスを受信する受信部と、
を具備する携帯可能電子装置の処理装置。
[C6]
A portable electronic device processing device that performs non-contact communication with a portable electronic device,
A storage unit for storing a predetermined code in advance;
A command generation unit for generating an initial response request command including a predetermined code by the storage unit;
A transmission unit that transmits the initial response request command generated by the command generation unit to the portable electronic device;
A receiver for receiving a response transmitted from the portable electronic device;
A processing apparatus for a portable electronic device comprising:

[C7]
携帯可能電子装置と、前記携帯可能電子装置と非接触通信を行う携帯可能電子装置の処理装置とを備える携帯可能電子装置処理システムであって、
前記処理装置は、
所定コードを予め記憶する第1の記憶部と、
前記第1の記憶部により所定コードを含む初期応答要求コマンドを生成するコマンド生成部と、
前記コマンド生成部により生成された前記初期応答要求コマンドを前記携帯可能電子装置に送信する第1の送信部と、
前記携帯可能電子装置から送信されたレスポンスを受信する第1の受信部と、
を具備し、
前記携帯可能電子装置は、
前記処理装置から送信された前記初期応答要求コマンドを受信する第2の受信部と、
所定コードを予め記憶する第2の記憶部と、
受信された前記初期応答要求コマンドから所定コードを認識し、前記認識された所定コードと、前記第2の記憶部により記憶されている所定コードとを比較する比較部と、
前記比較部の比較結果が一致である場合、前記初期応答要求コマンドに対するレスポンスを生成するコマンド処理部と、
前記コマンド処理部により生成された前記レスポンスを前記外部機器に送信する第2の送信部と、
を具備する携帯可能電子装置処理システム。
[C7]
A portable electronic device processing system comprising: a portable electronic device; and a portable electronic device processing device that performs non-contact communication with the portable electronic device,
The processor is
A first storage unit that stores a predetermined code in advance;
A command generation unit that generates an initial response request command including a predetermined code by the first storage unit;
A first transmitter that transmits the initial response request command generated by the command generator to the portable electronic device;
A first receiver for receiving a response transmitted from the portable electronic device;
Comprising
The portable electronic device comprises:
A second receiving unit for receiving the initial response request command transmitted from the processing device;
A second storage unit that stores a predetermined code in advance;
A comparison unit that recognizes a predetermined code from the received initial response request command, and compares the recognized predetermined code with the predetermined code stored in the second storage unit;
If the comparison result of the comparison unit is coincident, a command processing unit that generates a response to the initial response request command;
A second transmission unit that transmits the response generated by the command processing unit to the external device;
A portable electronic device processing system comprising:

1…ICカード処理システム、10…端末装置、11…CPU、12…ROM、13…RAM、14…不揮発性メモリ、14a…国記号記憶部、15…送受信部、16…共振部、17…ロジック部、18…上位インターフェース、19…電源部、20…ICカード、21…本体、22…ICモジュール、23…ICチップ、24…共振部、25…CPU、26…ROM、27…RAM、28…不揮発性メモリ、28a…国記号記憶部、29…送受信部、31…電源部、32…ロジック部。   DESCRIPTION OF SYMBOLS 1 ... IC card processing system, 10 ... Terminal device, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Nonvolatile memory, 14a ... Country symbol memory | storage part, 15 ... Transmission / reception part, 16 ... Resonance part, 17 ... Logic , 18 ... upper interface, 19 ... power supply, 20 ... IC card, 21 ... main body, 22 ... IC module, 23 ... IC chip, 24 ... resonance unit, 25 ... CPU, 26 ... ROM, 27 ... RAM, 28 ... Non-volatile memory, 28a ... country symbol storage unit, 29 ... transmission / reception unit, 31 ... power supply unit, 32 ... logic unit.

Claims (5)

外部機器と非接触通信を行う携帯可能電子装置であって、
前記外部機器から送信された初期応答要求コマンドを受信する受信部と、
応用分野識別子とそれぞれ異なる国記号とを有する複数のアプリケーションを予め記憶する記憶部と、
受信された前記初期応答要求コマンドから応用分野識別子及び国記号を認識し、前記認識された応用分野識別子及び国記号と、前記記憶部により記憶されている前記各アプリケーションが有する応用分野識別子及び国記号とを比較する比較部と、
前記比較部の比較結果が一致した前記アプリケーションを実行して前記初期応答要求コマンドに対するレスポンスを生成し、前記比較部の比較結果が一致しなかった前記アプリケーションを実行しないコマンド処理部と、
前記比較部の比較結果が一致である場合、前記コマンド処理部により生成された前記レスポンスを前記外部機器に送信する送信部と、
を具備する携帯可能電子装置。
A portable electronic device that performs non-contact communication with an external device,
A receiving unit for receiving an initial response request command transmitted from the external device;
A storage unit that stores in advance a plurality of applications having application field identifiers and different country codes;
Recognizing an application field identifier and country symbol from the received initial response request command, the recognized application field identifier and country symbol, and an application field identifier and country symbol of each application stored in the storage unit A comparison unit for comparing
A command processing unit that generates the response to the initial response request command by executing the application in which the comparison result of the comparison unit matches, and that does not execute the application in which the comparison result of the comparison unit does not match;
When the comparison result of the comparison unit is coincident, a transmission unit that transmits the response generated by the command processing unit to the external device;
A portable electronic device comprising:
前記比較部は、前記初期応答要求コマンドから国記号を認識し、前記認識された国記号と、前記記憶部により記憶されている国記号とを各アプリケーション毎に比較する、
請求項1に記載の携帯可能電子装置。
The comparison unit recognizes a country symbol from the initial response request command, and compares the recognized country symbol with the country symbol stored in the storage unit for each application.
The portable electronic device according to claim 1.
前記記憶部は、国名または地域名に対応する値を国記号として記憶し、
前記比較部は、受信された前記初期応答要求コマンドから国記号の値を認識し、前記認識された値と、前記記憶部により記憶されている国記号の値とを各アプリケーション毎に比較する、
請求項2に記載の携帯可能電子装置。
The storage unit stores a value corresponding to a country name or region name as a country symbol,
The comparison unit recognizes the value of the country symbol from the received initial response request command, and compares the recognized value with the value of the country symbol stored in the storage unit for each application.
The portable electronic device according to claim 2.
前記各部を備えるICモジュールと、
前記ICモジュールが配設される本体と、
を具備する請求項1に記載の携帯可能電子装置。
An IC module comprising the above-mentioned parts;
A main body on which the IC module is disposed;
The portable electronic device according to claim 1, comprising:
携帯可能電子装置と、前記携帯可能電子装置と非接触通信を行う携帯可能電子装置の処理装置とを備える携帯可能電子装置処理システムであって、
前記処理装置は、
応用分野識別子及び国記号を予め記憶する第1の記憶部と、
前記第1の記憶部により応用分野識別子及び国記号を含む初期応答要求コマンドを生成するコマンド生成部と、
前記コマンド生成部により生成された前記初期応答要求コマンドを前記携帯可能電子装置に送信する第1の送信部と、
前記携帯可能電子装置から送信されたレスポンスを受信する第1の受信部と、
を具備し、
前記携帯可能電子装置は、
前記処理装置から送信された前記初期応答要求コマンドを受信する第2の受信部と、
応用分野識別子とそれぞれ異なる国記号とを有する複数のアプリケーションを予め記憶する第2の記憶部と、
受信された前記初期応答要求コマンドから応用分野識別子及び国記号を認識し、前記認識された応用分野識別子及び国記号と、前記第2の記憶部により記憶されている前記各アプリケーションが有する応用分野識別子及び国記号とを比較する比較部と、
前記比較部の比較結果が一致した前記アプリケーションを実行して前記初期応答要求コマンドに対するレスポンスを生成し、前記比較部の比較結果が一致しなかった前記アプリケーションを実行しないコマンド処理部と、
前記比較部の比較結果が一致である場合、前記コマンド処理部により生成された前記レスポンスを前記処理装置に送信する第2の送信部と、
を具備する携帯可能電子装置処理システム。
A portable electronic device processing system comprising: a portable electronic device; and a portable electronic device processing device that performs non-contact communication with the portable electronic device,
The processor is
A first storage unit for storing an application field identifier and a country symbol in advance;
A command generation unit for generating an initial response request command including an application field identifier and a country symbol by the first storage unit;
A first transmitter that transmits the initial response request command generated by the command generator to the portable electronic device;
A first receiver for receiving a response transmitted from the portable electronic device;
Comprising
The portable electronic device comprises:
A second receiving unit for receiving the initial response request command transmitted from the processing device;
A second storage unit that stores in advance a plurality of applications having application field identifiers and different country codes;
An application field identifier and a country symbol are recognized from the received initial response request command, and the recognized application field identifier and country code, and an application field identifier that each application stored in the second storage unit has. And a comparison unit for comparing country symbols,
A command processing unit that generates the response to the initial response request command by executing the application in which the comparison result of the comparison unit matches, and that does not execute the application in which the comparison result of the comparison unit does not match;
A second transmission unit configured to transmit the response generated by the command processing unit to the processing device when the comparison result of the comparison unit is the same;
A portable electronic device processing system comprising:
JP2014189468A 2014-09-17 2014-09-17 Portable electronic device and processing system for portable electronic device Active JP5784204B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014189468A JP5784204B2 (en) 2014-09-17 2014-09-17 Portable electronic device and processing system for portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014189468A JP5784204B2 (en) 2014-09-17 2014-09-17 Portable electronic device and processing system for portable electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011059822A Division JP5657440B2 (en) 2011-03-17 2011-03-17 Portable electronic device and processing system for portable electronic device

Publications (2)

Publication Number Publication Date
JP2015015044A true JP2015015044A (en) 2015-01-22
JP5784204B2 JP5784204B2 (en) 2015-09-24

Family

ID=52436685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014189468A Active JP5784204B2 (en) 2014-09-17 2014-09-17 Portable electronic device and processing system for portable electronic device

Country Status (1)

Country Link
JP (1) JP5784204B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162700A (en) * 2001-11-27 2003-06-06 Sharp Corp Operation control method and program of semiconductor device, record medium recording the operation control program of semiconductor device, semiconductor device, and ic card
JP2005025306A (en) * 2003-06-30 2005-01-27 Bank Of Tokyo-Mitsubishi Ltd Ic card and ic card terminal
JP2005084873A (en) * 2003-09-08 2005-03-31 Matsushita Electric Ind Co Ltd Data transmission system
JP2006113737A (en) * 2004-10-13 2006-04-27 Matsushita Electric Ind Co Ltd Communication system and communication method
JP2006287559A (en) * 2005-03-31 2006-10-19 Nippon Telegr & Teleph Corp <Ntt> Wireless tag and interrogator
US20060283960A1 (en) * 2005-06-16 2006-12-21 Mustafa Top Contactless activation systems and methods
JP2009053765A (en) * 2007-08-23 2009-03-12 Sony Corp Electronic wallet device, communication method and program
JP2011022841A (en) * 2009-07-16 2011-02-03 Toshiba Corp Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162700A (en) * 2001-11-27 2003-06-06 Sharp Corp Operation control method and program of semiconductor device, record medium recording the operation control program of semiconductor device, semiconductor device, and ic card
JP2005025306A (en) * 2003-06-30 2005-01-27 Bank Of Tokyo-Mitsubishi Ltd Ic card and ic card terminal
JP2005084873A (en) * 2003-09-08 2005-03-31 Matsushita Electric Ind Co Ltd Data transmission system
JP2006113737A (en) * 2004-10-13 2006-04-27 Matsushita Electric Ind Co Ltd Communication system and communication method
JP2006287559A (en) * 2005-03-31 2006-10-19 Nippon Telegr & Teleph Corp <Ntt> Wireless tag and interrogator
US20060283960A1 (en) * 2005-06-16 2006-12-21 Mustafa Top Contactless activation systems and methods
JP2009053765A (en) * 2007-08-23 2009-03-12 Sony Corp Electronic wallet device, communication method and program
JP2011022841A (en) * 2009-07-16 2011-02-03 Toshiba Corp Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus

Also Published As

Publication number Publication date
JP5784204B2 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
US8931705B2 (en) IC card, mobile electronic device and data processing method in IC card
US20140189223A1 (en) Ic card, portable electronic device, and method of controlling ic card
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP5784204B2 (en) Portable electronic device and processing system for portable electronic device
KR101621127B1 (en) Ic card, portable electronic device and reader/writer
JP2012208910A (en) Portable electronic device and processing system for portable electronic device
JP5657440B2 (en) Portable electronic device and processing system for portable electronic device
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
US8665070B2 (en) Mobile electronic device
JP2014063334A (en) Ic card, portable electronic device, and card reader writer
JP5693824B2 (en) IC card processing device, IC card, and IC card processing system
JP2012194698A (en) Portable electronic device, processing device for portable electronic device, and processing system of portable electronic device
JP5490044B2 (en) Portable electronic device and method for controlling portable electronic device
JP5875772B2 (en) Portable electronic device, control method for portable electronic device, and processing system for portable electronic device
JP6009854B2 (en) IC card, portable electronic device, and IC card control program
JP5684059B2 (en) IC card and control method of IC card
JP5957577B2 (en) IC card, portable electronic device, and IC card control method
JP5762941B2 (en) IC card, portable electronic device, and IC card control program
JP5726700B2 (en) IC card and IC card processing method
JP2012243132A (en) Portable electronic apparatus, processing device of portable electronic apparatus and processing system of portable electronic apparatus
JP2012198676A (en) Portable electronic device, processor for portable electronic device, and processing system for portable electronic device
US20140076970A1 (en) Ic card, portable electronic device and reader/writer for ic card
JP2011022840A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP6046068B2 (en) Portable electronic device and method for controlling portable electronic device
JP5677195B2 (en) Portable electronic device and method for controlling portable electronic device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150611

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150721

R151 Written notification of patent or utility model registration

Ref document number: 5784204

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151