JP7435577B2 - Proximity IC card, contactless chip, and command execution management method - Google Patents
Proximity IC card, contactless chip, and command execution management method Download PDFInfo
- Publication number
- JP7435577B2 JP7435577B2 JP2021179852A JP2021179852A JP7435577B2 JP 7435577 B2 JP7435577 B2 JP 7435577B2 JP 2021179852 A JP2021179852 A JP 2021179852A JP 2021179852 A JP2021179852 A JP 2021179852A JP 7435577 B2 JP7435577 B2 JP 7435577B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- proximity
- voltage value
- card
- voltage
- 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.)
- Active
Links
Images
Landscapes
- Near-Field Transmission Systems (AREA)
- Credit Cards Or The Like (AREA)
Description
本発明は,近接型ICカードに実装されたコマンドの実行を管理する技術に関する。 The present invention relates to a technology for managing the execution of commands installed in a proximity IC card.
近接型ICカード(Proximity IC Card)を使用する際,近接型ICカードは,近接型結合装置 (Proximity Coupling Device) にかざされる。近接型結合装置は,近接型ICカードに電力を誘導結合で供給し,かつ,近接型ICカードとデータ交換を行う装置である。近接型結合装置は,リーダライタと称されることもある。 When using a proximity IC card, the proximity IC card is held over a proximity coupling device. A proximity coupling device is a device that supplies power to a proximity IC card by inductive coupling and also exchanges data with the proximity IC card. A proximity coupling device is sometimes called a reader/writer.
近接型ICカードへ供給される電力は近接型結合装置の出力だけではなく,近接型ICカードから近接型結合装置までの距離にも依存する。近接型結合装置が発生する磁界の強度は,磁界の発生源となる近接型結合装置からの距離が大きくなるにつれて弱くなる。よって,近接型結合装置までの距離が大きい位置にある近接型ICカードへ供給される電力は小さくなる。逆に,近接型結合装置までの距離が小さい位置にある近接型ICカードへ供給される電力は大きくなる。 The power supplied to the proximity type IC card depends not only on the output of the proximity type coupling device but also on the distance from the proximity type IC card to the proximity type coupling device. The strength of the magnetic field generated by the proximity coupling device becomes weaker as the distance from the proximity coupling device, which is the source of the magnetic field, increases. Therefore, the power supplied to the proximity IC card located at a position where the distance to the proximity coupling device is large is reduced. Conversely, the power supplied to a proximity IC card located at a position where the distance to the proximity coupling device is short increases.
近接型ICカードが近接型結合装置にかざされ始めたとき,近接型ICカードから近接型結合装置までの距離は大きい。したがって,近接型ICカードが近接型結合装置にかざされ始めたとき,近接型ICカードへ供給される電力は小さくなる。このため,近接型ICカードが近接型結合装置にかざされ始めたときに近接型ICカードを動作させるためには,小さい消費電力で近接型ICカードを動作させる必要がある。 When the proximity type IC card begins to be held over the proximity type coupling device, the distance from the proximity type IC card to the proximity type coupling device is large. Therefore, when the proximity type IC card starts to be held over the proximity type coupling device, the power supplied to the proximity type IC card becomes smaller. Therefore, in order to operate the proximity IC card when it begins to be held over the proximity coupling device, it is necessary to operate the proximity IC card with low power consumption.
近接型ICカードの消費電力は,近接型ICカードの動作クロックに依存する。動作クロックが速くなると近接型ICカードの消費電力も増える。そこで,特許文献1で開示された発明では,近接型ICカードへ供給されている電力状態に応じて動作クロックを切替えている。特許文献1で開示された発明では,近接型ICカードへ供給されている電力が小さい場合,動作クロックを「低速」に設定する。
The power consumption of the proximity IC card depends on the operating clock of the proximity IC card. As the operating clock speed increases, the power consumption of the proximity IC card also increases. Therefore, in the invention disclosed in
また,セキュリティに必要不可欠な暗号演算を高速に処理するための専用プロセッサであるコプロセッサを備えた近接型ICカードの場合,コプロセッサを動作させると近接型ICカードの消費電力は増える。そこで,特許文献2で開示された発明では,近接型ICカードへ供給されている電力が小さい場合,中央演算処理装置であるCPUまたはコプロセッサのいずれかに動作クロックの供給先を制御する。更に,特許文献2で開示された発明では,近接型ICカードへ供給されている電力が小さい場合,消費電力の小さいセキュリティ機能を選択することで消費電力を低減している。
Furthermore, in the case of a proximity IC card equipped with a coprocessor, which is a dedicated processor for processing cryptographic operations essential for security at high speed, the power consumption of the proximity IC card increases when the coprocessor is operated. Therefore, in the invention disclosed in
近接型ICカードに係る規格(例えば,ISO/IEC14443)では,近接型結合装置と近接型ICカードの間の通信経路を確立する処理(初期化および衝突防止)に係る様々な時間が規定されている。例えば,この時間には,近接型結合装置が発生させる動作磁界に近接型ICカードが入ってからコマンド受信できるまでの時間が含まれる。特許文献1で開示された発明のように,近接型ICカードへ供給される電力が小さいときに近接型ICカードの動作クロックを遅くすると,近接型ICカードの規格で定められた時間内に処理が完了できないことが懸念される。また,特許文献2で開示された発明のように,近接型ICカードへ供給される電力に応じてセキュリティ機能を変更すると,近接型ICカードのセキュリティレベルが低下してしまう。
Standards related to proximity type IC cards (for example, ISO/IEC14443) specify various times related to the process (initialization and collision prevention) for establishing a communication path between a proximity type coupling device and a proximity type IC card. There is. For example, this time includes the time from when the proximity IC card enters the operating magnetic field generated by the proximity coupling device until the command can be received. As in the invention disclosed in
近接型ICカードに供給される電力に応じて,近接型ICカードで実行可能な処理を制限できれば,動作クロックを遅くすることなく,かつ,セキュリティレベルを低下させることなく,近接型ICカードで必要になる処理を効率的に実施できると考えられる。 If it is possible to limit the processing that can be executed by a PPC card according to the power supplied to the PPC card, the processing required by the PPC card can be done without slowing down the operating clock or reducing the security level. It is believed that this process can be carried out efficiently.
そこで,本発明では,近接型ICカードに供給される電力に応じて,近接型ICカードで実行可能な処理を制限できるようにすることを目的とする。 Therefore, it is an object of the present invention to make it possible to limit the processing that can be executed by a proximity IC card depending on the power supplied to the proximity IC card.
上述した課題を解決する第1発明は,近接型結合装置が発生する搬送波を受信するコイルアンテナと,前記コイルアンテナが発生させる交流電圧から直流の供給電圧を発生させる電源回路と,前記電源回路が発生させた供給電圧の電圧値を検出する電圧検出回路と,コマンドの実行が許可される最低の電圧値である最低実行電圧値をコマンドごとに設定したコマンドテーブルと,前記搬送波にエンコードされたコマンドメッセージに対応するコマンドを実行する前に,前記コマンドテーブルを参照し,前記電圧検出回路が検出している供給電圧の電圧値と前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値を比較し,前記電圧検出回路が検出している供給電圧の電圧値が,前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値に達している場合,前記コマンドメッセージに対応するコマンドを実行するコマンド処理部を備えたことを特徴とする近接型ICカードである。 A first invention for solving the above-mentioned problems includes: a coil antenna that receives a carrier wave generated by a proximity coupling device; a power supply circuit that generates a DC supply voltage from an AC voltage generated by the coil antenna; A voltage detection circuit that detects the voltage value of the generated supply voltage , a command table that sets a minimum execution voltage value for each command, which is the lowest voltage value at which command execution is permitted, and a command encoded in the carrier wave. Before executing the command corresponding to the message, the command table is referred to, and the voltage value of the supply voltage detected by the voltage detection circuit and the minimum execution voltage value set in the command corresponding to the command message are determined. and if the voltage value of the supply voltage detected by the voltage detection circuit has reached the minimum execution voltage value set in the command corresponding to the command message, the command corresponding to the command message is compared. This is a proximity type IC card characterized by being equipped with a command processing section that executes.
上述した課題を解決する第2発明は,近接型ICカードに実装される非接触チップであって,近接型結合装置が発生する搬送波を受信するコイルアンテナと接続し,前記コイルアンテナが発生させる交流電圧から直流の供給電圧を発生させる電源回路と,前記電源回路が発生させた供給電圧の電圧値を検出する電圧検出回路と,コマンドの実行が許可される最低の電圧値である最低実行電圧値をコマンドごとに設定したコマンドテーブルと,前記搬送波にエンコードされたコマンドメッセージに対応するコマンドを実行する前に,前記電圧検出回路が検出している供給電圧の電圧値と前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値を比較し,前記電圧検出回路が検出している供給電圧の電圧値が,前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値に達している場合,前記コマンドメッセージに対応するコマンドを実行するコマンド処理部を備えたことを特徴とする非接触チップである。 A second invention that solves the above-mentioned problems is a contactless chip mounted on a proximity type IC card, which is connected to a coil antenna that receives a carrier wave generated by a proximity type coupling device, and is connected to an alternating current generated by the coil antenna. A power supply circuit that generates a DC supply voltage from a voltage, a voltage detection circuit that detects the voltage value of the supply voltage generated by the power supply circuit, and a minimum execution voltage value that is the lowest voltage value at which command execution is permitted. A command table in which is set for each command, and the voltage value of the supply voltage detected by the voltage detection circuit and the command corresponding to the command message before executing the command corresponding to the command message encoded in the carrier wave. The voltage value of the supply voltage detected by the voltage detection circuit reaches the minimum execution voltage value set in the command corresponding to the command message. The contactless chip is characterized in that it includes a command processing unit that executes a command corresponding to the command message .
上述した課題を解決する第3発明は,近接型結合装置が発生する搬送波を受信するコイルアンテナと,前記コイルアンテナが発生させる交流電圧から直流の供給電圧を発生させる電源回路を備えた近接型ICカードで実行される方法であって,前記近接型ICカードが,前記搬送波にエンコードされたコマンドメッセージに対応するコマンドを実行する前に,コマンドの実行が許可される最低の電圧値である最低実行電圧値をコマンドごとに設定したコマンドテーブルを利用して,供給電圧の電圧値と前記コマンドメッセージに対応するコマンドに設定されている最低実行電圧値を比較するステップと,供給電圧の電圧値が前記コマンドメッセージに対応するコマンドに設定されている最低実行電圧値に達している場合,前記近接型ICカードが,前記コマンドメッセージに対応するコマンドを実行するステップを含むことを特徴とするコマンドの実行管理方法である。 A third invention that solves the above-mentioned problems is a proximity IC that includes a coil antenna that receives a carrier wave generated by a proximity coupling device, and a power supply circuit that generates a DC supply voltage from an AC voltage generated by the coil antenna. A method implemented in a card, the minimum execution voltage being the lowest voltage value at which command execution is permitted before the proximity IC card executes the command corresponding to the command message encoded in the carrier wave. a step of comparing the voltage value of the supply voltage with the lowest execution voltage value set in the command corresponding to the command message using a command table in which voltage values are set for each command; Command execution management comprising the step of causing the proximity IC card to execute the command corresponding to the command message when the minimum execution voltage value set for the command corresponding to the command message has been reached. It's a method.
本発明に係る課題を達成するために,上述した本発明は,近接型ICカードに供給される電力(電圧)に応じて,近接型ICカードで実行可能なコマンドを制限できるように構成されている。 In order to achieve the object of the present invention, the present invention described above is configured such that the commands that can be executed by the proximity IC card can be restricted depending on the power (voltage) supplied to the proximity IC card. There is.
ここから,本発明に係る実施形態について記載する。本実施形態は,本発明の理解を容易にするためのものであり,本発明は,本実施形態に限定されるものではない。また,特に断りのない限り,図面は,本発明の理解を容易にするために描かれた模式的な図である。 From here, embodiments according to the present invention will be described. This embodiment is provided to facilitate understanding of the present invention, and the present invention is not limited to this embodiment. Further, unless otherwise specified, the drawings are schematic diagrams drawn to facilitate understanding of the present invention.
本実施形態に係る近接型ICカード1について説明する。図1は,本実施形態に係る近接型ICカード1を説明する図である。本実施形態に係る近接型ICカード1は,ISO/IEC14443_TypeBなどの近接型の非接触通信に対応したデバイスである。近接型結合装置3は,近接型ICカード1に電力を誘導結合で供給し,かつ,近接型ICカード1とデータ交換を行う装置である。近接型結合装置3は,リーダライタとも呼ばれている。
The
近接型ICカード1は,コイルアンテナ1aとこれに接続した非接触チップ2を内蔵する。近接型ICカード1は,コイルアンテナ1aを利用して近接型結合装置3が送信したコマンドメッセージを受信し,このコマンドメッセージに対応する処理を実行する。
The
図1において,近接型ICカード1はクレジットカードの形状をなしている。しかし,クレジットカードは近接型ICカード1の1つの形状にしか過ぎない。近接型ICカード1は,コイルアンテナ1aとこれに接続した非接触チップ2を実装した媒体であればよい。近接型ICカード1の形状はスティック状またはコイン状でもよい。
In FIG. 1, a
図2は,近接型ICカード1のハードウェア構成を説明する図である。図1を用いて説明したごとく,近接型ICカード1は,非接触チップ2と接続しているコイルアンテナ1aを備えている。近接型の非接触通信に対応するために,コイルアンテナ1aの共振周波数は13.56MHの近傍に調整されている。
FIG. 2 is a diagram illustrating the hardware configuration of the
図2で図示した非接触チップ2は,RF回路21(RF: Radio Frequency),電圧検出回路22,CPU20(Central Processing Unit),RAM23(Random Access Memory),ROM24(Read Only Memory),NVM25(Non-volatile Memory)およびコプロセッサ26を備えている。
The
非接触チップ2が備えるRF回路21は,近接型結合装置3が発生する搬送波から交流電圧を発生させるコイルアンテナ1aと接続する。非接触チップ2が備えるRF回路21は,コイルアンテナ1aが発生させる交流電圧から直流の供給電圧(Vcc)を発生させる電源回路210を少なくとも備える。RF回路21が備える電源回路210は整流回路により構成されるのが一般的である。電源回路210が発生させる直流の供給電圧は,電圧検出回路22,CPU20,RAM23,ROM24,NVM25およびコプロセッサ26などの回路に供給される。
An
RF回路21は,図2で図示していない回路として,近接型結合装置3が発生する搬送波にデータをエンコードする処理を行う変調回路,および,近接型結合装置3が発生する搬送波にエンコードされたデータをデコードする処理を行う復調回路,非接触チップ2の動作クロックを生成するクロック生成回路などを備えている。
The
CPU20は,非接触チップ2の中心的な演算処理装置である。RAM23は,電気的に書き換え可能な揮発性メモリである。ROM24は,読出し専用のメモリである。NVM25は,電気的に書き換え可能な不揮発性メモリである。コプロセッサ26は,セキュリティに必要不可欠な暗号演算を高速に処理するための専用プロセッサである。
The
電圧検出回路22は,RF回路21の電源回路210が発生する供給電圧の電圧値を検出する回路である。RF回路21の電源回路210が発生する供給電圧の電圧値をアナログ信号からデジタル信号に変換する回路として,ADコンバータを用いることができる。電圧検出回路22にADコンバータを用いる場合,ADコンバータの出力がレジスタを介してCPU20に入力される。
The
RF回路21の電源回路210が発生する供給電圧の電圧値をアナログ信号から2値の信号に変換する場合,供給電圧の電圧値を検出する検出する回路として,RF回路21の電源回路210が発生する供給電圧と基準電圧をコンパレータにより比較する回路を用いることもできる。電圧検出回路22にコンパレータを用いる場合,スイッチなどを利用して,コンパレータによる電圧の比較結果がCPU20に入力される。
When converting the voltage value of the supply voltage generated by the
図3は,近接型ICカード1のブロックダイアグラムを説明する図である。図3で図示したブロックダイアグラムによれば,近接型ICカード1は,ハードウェアとして,図2を用いて説明したRF回路21,電源回路210および電圧検出回路22を備える。また,図3で図示したブロックダイアグラムによれば,近接型ICカード1は,ソフトウェアにより実現される機能として,伝送制御部12,コマンド処理部10および複数のコマンド11を備える。
FIG. 3 is a diagram illustrating a block diagram of the
近接型ICカード1が備える伝送制御部12は,近接型結合装置3と近接型ICカード1の間の通信経路を確立する処理と,近接型結合装置3と近接型ICカード1の間の通信に用いる伝送制御プロトコルに係る処理を実行する機能である。近接型結合装置3と近接型ICカード1の間の通信経路を確立する処理は,例えば,ISO14443-3で規定されている。ISO14443-3では,近接型結合装置3と近接型ICカード1の間の通信経路を確立する処理を,初期化および衝突防止(Initialization and Anticollision)と呼んでいる。また,近接型結合装置3と近接型ICカード1の間の通信に用いる伝送制御プロトコルは,例えば,ISO14443-4で規定されている。
The
近接型ICカード1が備える伝送制御部12が扱うメッセージは,TPDU(Transmission Protocol Data Unit)になる。近接型ICカード1が受信するTPDUにはコマンドメッセージ(C-APDU: Command Application Protocol Data Unit)が含まれる。
The messages handled by the
近接型結合装置3は,コマンドメッセージを含ませたTPDUをエンコードした搬送波を送出する。近接型ICカード1は,コイルアンテナ1aを利用してこの搬送波を受信する。近接型ICカード1のRF回路21は,搬送波に含まれるTPDUをデコードする。伝送制御部12は,RF回路21がデコードしたTPDUの正当性を検証する。TPDUの正当性検証に成功すると,TPDUに含まれるコマンドメッセージをコマンド処理部10に引き渡す。
The
図4は,コマンドメッセージを説明する図である。図4では,コマンドメッセージの一例を図示している。図4で図示したコマンドメッセージには,コマンド11を識別する情報となるコマンド識別子,コマンド11の実行に必要なパラメータ,および,コマンド11が処理するデータが含まれる。ISO/IEC7816-3に準ずる場合,コマンド識別子はCLAおよびINSに該当する。また,ISO/IEC7816-3に準ずる場合,パラメータはP1およびP2に該当する。更に,ISO/IEC7816-3に準ずる場合,データは,Lc,データフィールドおよびLeに該当する。
FIG. 4 is a diagram illustrating a command message. FIG. 4 illustrates an example of a command message. The command message illustrated in FIG. 4 includes a command identifier serving as information for identifying the
近接型ICカード1が備えるコマンド11は,所定の処理を実行する機能である。近接型ICカード1は,複数のコマンド11を備える。近接型ICカード1が備えるコマンド11には,ファイルなどを選択する選択コマンド,ファイルを読み出す読出しコマンド,ファイルにデータを書き込む書き込みコマンド,認証に係る処理を行う認証コマンドなどのユーザコマンドが含まれる。また,近接型ICカード1が備えるコマンド11には,近接型ICカード1をロックするロックコマンドなどのシステムコマンドが含まれる。コマンド11のプログラムコードをROM24に実装するのが一般的であるが,コマンド11のプログラムコードをNVM25に実装してもよい。
A
コマンド11には,コマンド11の実行を許可する条件を示す実行条件が設定される。本実施形態では,コマンド11の実行条件に,コマンド11の実行を許可する最低の電圧値である最低実行電圧値が含まれる。1つのコマンド11に設定される実行条件は1つとは限らない。1つのコマンド11には,最低実行電圧値に加えて,セキュリティ条件(定められた認証の成功)を実行条件として設定できる。
For the
近接型ICカード1が備えるコマンド処理部10は,伝送制御部12から引き渡されたコマンドメッセージに対応するコマンド11を実行するコマンド処理機能を有している。コマンド処理部10のプログラムコードはROM24に実装されるのが一般的である。
The
近接型ICカード1が備えるコマンド処理部10は,コマンド11を実行する前に,近接型ICカード1においてコマンド11に設定されたすべての実行条件を満たしているか確認し,すべての実行条件を満たしている場合のみ,コマンド11を実行する。
Before executing the
近接型ICカード1が備えるコマンド処理部10は,上述したコマンド処理機能以外に,コマンドメッセージの正当性を検証する機能,コマンド11の処理結果を示すレスポンスメッセージ(R-APDU: Response APDU)を近接型結合装置3へ応答する機能などを有する。
In addition to the command processing function described above, the
近接型ICカード1が備えるコマンド処理部10は,伝送制御部12から引き渡されたコマンドメッセージに対応するコマンド11に設定された最低実行電圧値を特定するために,コマンドテーブル100を有している。コマンドテーブル100の内容を変更できるように,コマンドテーブル100をNVM25に実装することが望ましい。
The
図5は,コマンドテーブル100を説明する図である。図5で図示した通り,コマンドテーブル100では,近接型ICカード1が備えるコマンド11ごとに,コマンド識別子と,コマンド11の実行が許可される最低の電圧値である最低実行電圧値と,コマンド11の呼び出しアドレスが少なくとも対応付けられている。図5で図示したコマンドテーブル100は,3つのコマンド識別子を含んでいる。コマンドA,コマンドBおよびコマンドCである。図5によると,コマンド識別子がコマンドAのコマンド(以下,「コマンドA」と略す。)に対応する最低実行電圧値は電圧値Aで,コマンドAの呼び出しアドレスは呼び出しアドレスAである。また,コマンド識別子がコマンドBのコマンド(以下,「コマンドB」と略す。)に対応する最低実行電圧値は電圧値Bで,コマンドBの呼び出しアドレスは呼び出しアドレスBである。また,コマンド識別子がコマンドCのコマンド(以下,「コマンドC」と略す。)に対応する最低実行電圧値は電圧値Cで,コマンドCの呼び出しアドレスは呼び出しアドレスCである。最低実行電圧値の大きさ順は,電圧値A<電圧値B<電圧値Cになっている。最低実行電圧値が最も小さいコマンドAは,消費電力が小さいコマンド11,例えば,近接型結合装置と近接型ICカードの間の通信経路を確立する処理で用いるコマンド11である。また,最低実行電圧値が2番目に小さいコマンドBは,消費電力が比較的大きいコマンド11,例えば,書き込みコマンドなどのコマンド11である。最低実行電圧値が最も大きいコマンドCは,消費電力が大きいコマンド11,例えば,認証コマンドなど,コプロセッサ26を使用するコマンド11である。
FIG. 5 is a diagram illustrating the command table 100. As illustrated in FIG. 5, in the command table 100, for each
図6は,近接型ICカード1が備えるコマンド処理部10の動作を説明する図である。図6の説明は,本発明に係る方法,すなわち,コマンドの実行管理方法の説明も兼ねている。
FIG. 6 is a diagram illustrating the operation of the
図6で図示したステップS1において,近接型ICカード1が備えるコマンド処理部10は,近接型結合装置3からコマンドメッセージを受信する。
In step S1 illustrated in FIG. 6, the
次に,図6で図示したステップS2において,近接型ICカード1が備えるコマンド処理部10は,ステップS1で受信したコマンドメッセージに対応する処理をサポートしているか否かを判定する。コマンド処理部10は,この判定にコマンドテーブル100を利用する。近接型ICカード1が備えるコマンド処理部10は,コマンドメッセージに含まれるコマンド識別子がコマンドテーブル100にある場合,ステップS1で受信したコマンドメッセージに対応する処理を「サポートしている」と判定する。また,近接型ICカード1が備えるコマンド処理部10は,コマンドメッセージに含まれるコマンド識別子がコマンドテーブル100にない場合,ステップS1で受信したコマンドメッセージに対応する処理を「サポートしていない」と判定する。
Next, in step S2 illustrated in FIG. 6, the
近接型ICカード1が備えるコマンド処理部10は,ステップS2の判定結果に基づいて処理を分岐する。ステップS2の判定結果が「サポートしていない」の場合,図6で図示したステップS8において,近接型ICカード1が備えるコマンド処理部10は,コマンドメッセージに対応する処理をサポートしていないことを示すレスポンスメッセージを応答して,図6の手順は終了する。
The
ステップS2の判定結果が「サポートしている」の場合,図6で図示したステップS3において,近接型ICカード1が備えるコマンド処理部10は,ステップS1で受信したコマンドメッセージに対応する処理で用いるコマンド11を特定する。コマンドメッセージに対応する処理で用いるコマンド11は,コマンドメッセージに含まれるコマンド識別子で特定できる。
If the determination result in step S2 is "supported", in step S3 illustrated in FIG. 6, the
次に,図6で図示したステップS4において,近接型ICカード1が備えるコマンド処理部10は,コマンドメッセージに対応する処理で用いるコマンド11に設定されている最低実行電圧値を特定する。近接型ICカード1が備えるコマンド処理部10は,最低実行電圧値の特定にコマンドテーブル100を利用する。近接型ICカード1が備えるコマンド処理部10は,コマンドメッセージに含まれるコマンド識別子に対応する最低実行電圧値をコマンドテーブル100から読み取る。
Next, in step S4 illustrated in FIG. 6, the
次に,図6で図示したステップS5において,近接型ICカード1が備えるコマンド処理部10は,電圧検出回路22が検出しているこの時点の供給電圧の電圧値が,コマンドテーブル100から読み取った最低実行電圧値に達しているか判定する。なお,供給電圧の電圧値が最低実行電圧値に達しているとは,供給電圧の電圧値が最低実行電圧値と同じかまたはこれを上回ることを意味する。 Next, in step S5 illustrated in FIG. Determine whether the minimum execution voltage value has been reached. Note that the voltage value of the supply voltage reaching the minimum effective voltage value means that the voltage value of the supply voltage is equal to or exceeds the minimum effective voltage value.
近接型ICカード1が備えるコマンド処理部10は,図6のステップS5の判定結果に基づいて処理を分岐する。ステップS5において,供給電圧の電圧値がコマンド11の最低実行電圧値に達していない場合,近接型ICカード1が備えるコマンド処理部10は,図6のステップS9において,コマンド11の実行条件を満たしていないことを示すレスポンスメッセージを応答する処理を実行して,図6の手順は終了する。
The
図6で図示したステップS5において,供給電圧の電圧値がコマンド11の最低実行電圧値に達している場合,近接型ICカード1が備えるコマンド処理部10は,図6のS6において,コマンドメッセージに含まれるコマンド識別子に対応する呼び出しアドレスをコマンドテーブル100から特定し,この呼び出しアドレスを利用してコマンドメッセージに対応するコマンド11を実行する。
In step S5 illustrated in FIG. 6, if the voltage value of the supply voltage has reached the lowest execution voltage value of the
次に,図6で図示したステップS7において,近接型ICカード1が備えるコマンド処理部10は,図6のS6において実行したコマンド11の実行結果を示すレスポンスメッセージを応答する処理を実行して,図6の手順は終了する。
Next, in step S7 illustrated in FIG. 6, the
図7は,最低実行電圧値によるコマンドの実行可否判定の一例を示した図である。図7は,図5で図示したコマンドテーブル100に基づいている。図5によると,近接型ICカード1の供給電圧が電圧値Aの場合,図6の手順に従えば,実行が許可されるコマンド11は,コマンドAのみである。電圧値AはコマンドAの最低実行電圧値になるため,供給電圧が電圧値Aの場合,コマンドAは実行可である。電圧値Aは,コマンドBの最低実行電圧値である電圧値Bより小さい。また,電圧値Aは,コマンドCの最低実行電圧値である電圧値Cより小さい。よって,供給電圧が電圧値Aの場合,コマンドBおよびコマンドCそれぞれは実行不可である。
FIG. 7 is a diagram illustrating an example of determining whether or not a command can be executed based on the lowest execution voltage value. FIG. 7 is based on the command table 100 illustrated in FIG. According to FIG. 5, when the supply voltage of the
図5によると,近接型ICカード1の供給電圧が電圧値Bの場合,図6の手順に従えば,実行が許可されるコマンドは,コマンドAとコマンドBになる。電圧値BはコマンドBの最低実行電圧値であるため,供給電圧が電圧値Bの場合,コマンドBは実行可である。また,電圧値Bは,コマンドAの最低実行電圧値である電圧値Aよりも大きいため,供給電圧が電圧値Bの場合,コマンドAは実行可である。電圧値Bは,コマンドCの最低実行電圧値である電圧値Cよりも小さいため,供給電圧が電圧値Bの場合,コマンドCは実行不可である。
According to FIG. 5, when the supply voltage of the
図5によると,近接型ICカード1の供給電圧値が電圧値Cの場合,図6の手順に従えば,実行が許可されるコマンドは,コマンドA,コマンドBおよびコマンドCになる。電圧値CはコマンドCの最低実行電圧値になるため,供給電圧が電圧値Cの場合,コマンドCは実行可である。また,電圧値Cは,コマンドAの最低実行電圧値である電圧値AおよびコマンドBの最低実行電圧値である電圧値Bそれぞれよりも大きいため,供給電圧が電圧値Cの場合,コマンドAおよびコマンドBは実行可である。
According to FIG. 5, when the supply voltage value of the
近接型ICカード1が近接型結合装置3にかざされ始めたとき,近接型ICカード1へ供給される電力は小さいが,本実施形態に係る近接型ICカード1では,近接型結合装置と近接型ICカードの間の通信経路を確立する処理で用いるコマンド11など,消費電力が小さいコマンド11を実行させることができる。また,近接型ICカード1と近接型結合装置3の距離が小さくなり,近接型ICカード1へ供給される電力が大きくなると,本実施形態に係る近接型ICカード1では,消費電力が小さいコマンド11に加えて,コプロセッサ26を使用するコマンド11など,消費電力が大きいコマンド11も実行させることができる。
When the proximity
1 近接型ICカード
10 コマンド処理部
100 コマンドテーブル
2 非接触チップ
21 RF回路
210 電源回路
22 電圧検出回路
3 近接型結合装置
1
Claims (3)
前記コイルアンテナが発生させる交流電圧から直流の供給電圧を発生させる電源回路と,
前記電源回路が発生させた供給電圧の電圧値を検出する電圧検出回路と,
コマンドの実行が許可される最低の電圧値である最低実行電圧値をコマンドごとに設定したコマンドテーブルと,
前記搬送波にエンコードされたコマンドメッセージに対応するコマンドを実行する前に,前記コマンドテーブルを参照し,前記電圧検出回路が検出している供給電圧の電圧値と前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値を比較し,前記電圧検出回路が検出している供給電圧の電圧値が,前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値に達している場合,前記コマンドメッセージに対応するコマンドを実行するコマンド処理部を,
備えたことを特徴とする近接型ICカード。 a coil antenna that receives carrier waves generated by the proximity coupling device;
a power supply circuit that generates a DC supply voltage from the AC voltage generated by the coil antenna;
a voltage detection circuit that detects the voltage value of the supply voltage generated by the power supply circuit;
A command table that sets the minimum execution voltage value for each command, which is the lowest voltage value at which command execution is permitted, and
Before executing the command corresponding to the command message encoded in the carrier wave, the command table is referred to and the voltage value of the supply voltage detected by the voltage detection circuit and the command corresponding to the command message are set. and when the voltage value of the supply voltage detected by the voltage detection circuit has reached the minimum execution voltage value set in the command corresponding to the command message, a command processing unit that executes a command corresponding to the command message ;
A proximity type IC card that is characterized by:
近接型結合装置が発生する搬送波を受信するコイルアンテナと接続し,前記コイルアンテナが発生させる交流電圧から直流の供給電圧を発生させる電源回路と,
前記電源回路が発生させた供給電圧の電圧値を検出する電圧検出回路と,
コマンドの実行が許可される最低の電圧値である最低実行電圧値をコマンドごとに設定したコマンドテーブルと,
前記搬送波にエンコードされたコマンドメッセージに対応するコマンドを実行する前に,前記電圧検出回路が検出している供給電圧の電圧値と前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値を比較し,前記電圧検出回路が検出している供給電圧の電圧値が,前記コマンドメッセージに対応するコマンドに設定されている前記最低実行電圧値に達している場合,前記コマンドメッセージに対応するコマンドを実行するコマンド処理部を,
備えたことを特徴とする非接触チップ。 A contactless chip mounted on a proximity IC card,
a power supply circuit connected to a coil antenna that receives a carrier wave generated by the proximity coupling device, and that generates a DC supply voltage from the AC voltage generated by the coil antenna;
a voltage detection circuit that detects the voltage value of the supply voltage generated by the power supply circuit;
A command table that sets the minimum execution voltage value for each command, which is the lowest voltage value at which command execution is permitted, and
Before executing the command corresponding to the command message encoded in the carrier wave, the voltage value of the supply voltage detected by the voltage detection circuit and the minimum execution voltage value set for the command corresponding to the command message. and if the voltage value of the supply voltage detected by the voltage detection circuit has reached the minimum execution voltage value set in the command corresponding to the command message , the command corresponding to the command message is compared. The command processing section that executes
A non-contact chip featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021179852A JP7435577B2 (en) | 2021-11-02 | 2021-11-02 | Proximity IC card, contactless chip, and command execution management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021179852A JP7435577B2 (en) | 2021-11-02 | 2021-11-02 | Proximity IC card, contactless chip, and command execution management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023068587A JP2023068587A (en) | 2023-05-17 |
| JP7435577B2 true JP7435577B2 (en) | 2024-02-21 |
Family
ID=86327124
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021179852A Active JP7435577B2 (en) | 2021-11-02 | 2021-11-02 | Proximity IC card, contactless chip, and command execution management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7435577B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004046345A (en) | 2002-07-09 | 2004-02-12 | Tamura Electric Works Ltd | Non-contact type IC card reader / writer |
| JP2007096482A (en) | 2005-09-27 | 2007-04-12 | Denso Wave Inc | Rfid system, reader and tag |
| JP2011054093A (en) | 2009-09-04 | 2011-03-17 | Ricoh Co Ltd | Rfid system |
| JP2011139342A (en) | 2009-12-28 | 2011-07-14 | Fujitsu Frontech Ltd | Device and method for adjusting antenna radiation power |
| JP2011138373A (en) | 2009-12-28 | 2011-07-14 | Fujitsu Frontech Ltd | Device and method for diagnosing rfid system |
| JP2021096540A (en) | 2019-12-13 | 2021-06-24 | 日本パッケージ・システム株式会社 | Rfid inlay and manufacturing method thereof |
-
2021
- 2021-11-02 JP JP2021179852A patent/JP7435577B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004046345A (en) | 2002-07-09 | 2004-02-12 | Tamura Electric Works Ltd | Non-contact type IC card reader / writer |
| JP2007096482A (en) | 2005-09-27 | 2007-04-12 | Denso Wave Inc | Rfid system, reader and tag |
| JP2011054093A (en) | 2009-09-04 | 2011-03-17 | Ricoh Co Ltd | Rfid system |
| JP2011139342A (en) | 2009-12-28 | 2011-07-14 | Fujitsu Frontech Ltd | Device and method for adjusting antenna radiation power |
| JP2011138373A (en) | 2009-12-28 | 2011-07-14 | Fujitsu Frontech Ltd | Device and method for diagnosing rfid system |
| JP2021096540A (en) | 2019-12-13 | 2021-06-24 | 日本パッケージ・システム株式会社 | Rfid inlay and manufacturing method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023068587A (en) | 2023-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240370688A1 (en) | Techniques to detect and provide an indication of an event on a contactless card | |
| US20100243738A1 (en) | Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices | |
| JP2006178556A (en) | Contact-type data communication device, transmission / reception device, and transmission / reception method | |
| JP7131548B2 (en) | Communication device and method | |
| 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 | |
| JP2003016394A (en) | IC card reader | |
| JP4891708B2 (en) | Information communication medium | |
| JP7435577B2 (en) | Proximity IC card, contactless chip, and command execution management method | |
| JP5214520B2 (en) | IC card processing device, IC card processing method, and IC card | |
| KR20040092669A (en) | A rfid terminal and a tag with security function | |
| JP6092342B2 (en) | Non-contact portable electronic device and method for issuing non-contact portable electronic device | |
| JP7468598B1 (en) | Electronic information storage medium, IC chip, non-contact IC card, processing method, and program | |
| JP5684059B2 (en) | IC card and control method of IC card | |
| JP7605017B2 (en) | Contactless secure element, device and extended ATQB transmission control method | |
| JP5875772B2 (en) | Portable electronic device, control method for portable electronic device, and processing system for portable electronic device | |
| JP7600322B1 (en) | IC Card | |
| JPH10154216A (en) | Non-contact IC card | |
| JP7468486B2 (en) | Contactless communication device, contactless chip and method for processing upper layer messages | |
| JPH1125231A (en) | Maintenance device and maintenance method | |
| JP2004192253A (en) | IC card and IC card program | |
| US20220309312A1 (en) | Ic card and control program for ic card | |
| EP2942734A1 (en) | Data processing apparatus for ic card issuing, ic card issuing apparatus, ic card issuing system, data processing program for ic card issuing, ic card issuing program | |
| JP2007087168A (en) | Composite portable electronic device and composite IC card | |
| JP2025037146A (en) | Portable electronic device and IC card | |
| JP5787692B2 (en) | IC card, portable electronic device, and IC card control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230622 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20230622 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230822 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231019 |
|
| 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: 20240109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240122 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7435577 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |