JP2002222402A - Ic card - Google Patents

Ic card

Info

Publication number
JP2002222402A
JP2002222402A JP2001016332A JP2001016332A JP2002222402A JP 2002222402 A JP2002222402 A JP 2002222402A JP 2001016332 A JP2001016332 A JP 2001016332A JP 2001016332 A JP2001016332 A JP 2001016332A JP 2002222402 A JP2002222402 A JP 2002222402A
Authority
JP
Japan
Prior art keywords
card
command
signal processing
reader
executing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001016332A
Other languages
Japanese (ja)
Inventor
Hiroo Saito
博夫 斎藤
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2001016332A priority Critical patent/JP2002222402A/en
Publication of JP2002222402A publication Critical patent/JP2002222402A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an IC card which makes it difficult to detect data used in the IC card from outside. SOLUTION: The IC card 10 has a signal processing means 11 which executes commands from the reader writer 2 and a counting means 14 which counts how many times the commands from the reader writer 20 are executed. The signal processing means 11 varyies the response time of the commands according to the count value. This signal processing means 11 increase the response time of the commands by executing a dummy routine and the execution frequency of the dummy routine corresponds to the count value of the counting means 14.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ICカードに関す
る。
[0001] The present invention relates to an IC card.

【0002】[0002]

【従来の技術】ICカードは、ICカード内のICチッ
プで高度かつ複雑な信号処理を行うことが可能である。
その一方、ICカード内の中央処理装置(CPU)とメ
モリとの間のバスに流れる電流値または電流の変化を測
定することで、バス上のデータを統計的に検出すること
が可能であるとの研究報告がある。上記の分析方法(D
PA法)では、ICカードに同じ信号処理を繰り返して
実行させ、バスに流れる電流値または電流の変化を測定
し、所定のタイミングで出現する検出対象データを検出
する。
2. Description of the Related Art An IC card can perform sophisticated and complicated signal processing using an IC chip in the IC card.
On the other hand, it is possible to statistically detect data on the bus by measuring a current value or a change in current flowing in the bus between the central processing unit (CPU) and the memory in the IC card. There are research reports. The above analysis method (D
In the PA method), the same signal processing is repeatedly performed by an IC card, the value of a current flowing in the bus or a change in the current is measured, and detection target data appearing at a predetermined timing is detected.

【0003】[0003]

【発明が解決しようとする課題】ICカードの信頼性お
よびセキュリティ性の観点から、上記分析方法によるI
Cカード内のデータの検出を困難にすることが望まれ
る。本発明の目的は、ICカード内部で使用されるデー
タを外部から検出することを困難化することが可能なI
Cカードを提供することにある。
SUMMARY OF THE INVENTION From the viewpoints of the reliability and security of an IC card, the I / O method according to the above analysis method is used.
It is desired to make it difficult to detect data in the C card. SUMMARY OF THE INVENTION It is an object of the present invention to provide an IC that can make it difficult to externally detect data used inside an IC card.
To provide a C card.

【0004】[0004]

【課題を解決するための手段】本発明に係るICカード
は、リーダライタ装置からのコマンドを実行する信号処
理手段と、前記リーダライタ装置からのコマンドの実行
回数を計数する計数手段とを有し、前記信号処理手段
は、前記計数手段の計数値に基づいて前記コマンドの応
答時間を変更する。
An IC card according to the present invention has signal processing means for executing a command from a reader / writer device, and counting means for counting the number of executions of the command from the reader / writer device. The signal processing means changes a response time of the command based on a count value of the counting means.

【0005】本発明に係るICカードでは、好適には、
前記信号処理手段は、ダミールーチンの実行によって前
記コマンドの応答時間を増大し、前記ダミールーチンの
実行回数は、前記計数値に応じた回数である。本発明に
係るICカードでは、より好適には、前記信号処理手段
は、前記ダミールーチンの実行後に、前記コマンドを実
行する。
[0005] In the IC card according to the present invention, preferably,
The signal processing means increases the response time of the command by executing the dummy routine, and the number of executions of the dummy routine is a number corresponding to the count value. In the IC card according to the present invention, more preferably, the signal processing unit executes the command after executing the dummy routine.

【0006】本発明に係るICカードは、好適には、秘
匿データを記憶するメモリをさらに有し、前記計数手段
は、前記リーダライタ装置からのコマンドのうち、特定
のコマンドの実行回数を計数し、前記特定のコマンド
は、前記メモリ内の前記秘匿データを用いる処理を前記
信号処理手段に行わせるコマンドである。
Preferably, the IC card according to the present invention further includes a memory for storing secret data, and the counting means counts the number of executions of a specific command among the commands from the reader / writer device. The specific command is a command for causing the signal processing unit to perform a process using the secret data in the memory.

【0007】本発明に係るICカードでは、好適には、
前記信号処理手段は、ダミールーチンの実行によって前
記特定のコマンドの応答時間を増大し、前記ダミールー
チンの実行回数は、前記計数値に応じた回数である。本
発明に係るICカードでは、より好適には、前記信号処
理手段は、前記ダミールーチンの実行後に、前記特定の
コマンドを実行する。
In the IC card according to the present invention, preferably,
The signal processing unit increases the response time of the specific command by executing the dummy routine, and the number of times the dummy routine is executed is a number corresponding to the count value. In the IC card according to the present invention, more preferably, the signal processing unit executes the specific command after executing the dummy routine.

【0008】信号処理手段は、計数手段の計数値に基づ
いてコマンドの応答時間を変更することで、コマンドの
実行タイミングを変更することができ、DPA法による
ICカード内部のデータの検出を困難にすることができ
る。また、コマンドの応答時間を増大することで、それ
以降でのコマンド実行回数の増大率を抑えることがで
き、DPA法の分析に必要とされる多数回のコマンド実
行の所要時間を長くして当該分析を妨げることができ
る。
The signal processing means can change the command execution timing by changing the response time of the command based on the count value of the counting means, making it difficult to detect data inside the IC card by the DPA method. can do. In addition, by increasing the response time of the command, the rate of increase in the number of command executions thereafter can be suppressed, and the time required for executing a large number of commands required for the analysis of the DPA method can be lengthened to increase the Analysis can be hindered.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を、添
付図面を参照して説明する。図1は、本発明に係るIC
カードの実施の形態を示す概略的な構成図である。この
ICカード10は、信号処理手段11と、バス12と、
メモリ13と、計数手段14と、制御手段15と、イン
タフェース手段(I/F手段)16とを有する。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows an IC according to the present invention.
FIG. 2 is a schematic configuration diagram illustrating an embodiment of a card. The IC card 10 includes a signal processing unit 11, a bus 12,
It has a memory 13, a counting means 14, a control means 15, and an interface means (I / F means) 16.

【0010】I/F手段16は、リーダライタ装置20
から送出されたデータD20を、制御手段15での処理
に必要な形態にして制御手段15に供給する。I/F手
段16は、ICカード10が非接触式ICカードである
場合は、例えばコイルとこのコイルに接続された増幅回
路とを有する構成としてもよく、ICカード10が接触
式ICカードである場合は、例えば接続端子を有する構
成としてもよい。
The I / F unit 16 is provided with a reader / writer device 20
Is supplied to the control means 15 in a form required for processing by the control means 15. When the IC card 10 is a non-contact type IC card, the I / F means 16 may have, for example, a configuration including a coil and an amplifier circuit connected to the coil, and the IC card 10 is a contact type IC card. In this case, for example, a configuration having connection terminals may be adopted.

【0011】制御手段15は、ICカード10の全体の
制御を司るコントローラであり、I/F手段16、計数
手段14、信号処理手段11、メモリ13などを制御す
る。制御手段15は、例えばマイクロコンピュータによ
り構成される。制御手段15は、リーダライタ装置20
からのコマンドデータD20が特定のコマンドを実行さ
せるコマンドデータである場合は、計数手段14の計数
値を更新する。
The control unit 15 is a controller that controls the entire operation of the IC card 10 and controls the I / F unit 16, the counting unit 14, the signal processing unit 11, the memory 13, and the like. The control means 15 is constituted by, for example, a microcomputer. The control means 15 includes a reader / writer device 20
If the command data D20 is command data for executing a specific command, the count value of the counting means 14 is updated.

【0012】また、制御手段15は、ダミールーチンを
信号処理手段11に実行させ、リーダライタ装置20か
らのコマンドデータD20が示すコマンドを信号処理手
段11に実行させる。また、制御手段15は、WTX
(Waiting Time Extension)を示すデータや、信号処理
手段11の処理結果を示すデータD10等を、I/F手
段16を介してリーダライタ装置20に送出する。
The control means 15 causes the signal processing means 11 to execute a dummy routine, and causes the signal processing means 11 to execute a command indicated by the command data D20 from the reader / writer device 20. In addition, the control means 15
Data indicating a (Waiting Time Extension), data D10 indicating a processing result of the signal processing unit 11, and the like are transmitted to the reader / writer device 20 via the I / F unit 16.

【0013】信号処理手段11は、制御手段15の制御
下で、ダミールーチン、コマンドデータD20が示すコ
マンド等を実行する。信号処理手段11とメモリ13と
の間はバス12により接続されており、メモリ13に記
録されている秘匿データDKを、信号処理手段11はバ
ス12を介してメモリ13から読み出す。
The signal processing unit 11 executes a dummy routine, a command indicated by the command data D20, and the like under the control of the control unit 15. The signal processing unit 11 and the memory 13 are connected by a bus 12, and the confidential data DK recorded in the memory 13 is read from the memory 13 via the bus 12.

【0014】図2および図3は、図1のICカード10
の動作を示す概略的なフローチャートである。先ず、ス
テップS1では、制御手段15は、リーダライタ装置2
0からのコマンドデータD20がI/F手段16を介し
て供給される。
FIGS. 2 and 3 show the IC card 10 of FIG.
5 is a schematic flowchart showing the operation of the first embodiment. First, in step S1, the control unit 15 controls the reader / writer device 2
Command data D20 from 0 is supplied via the I / F means 16.

【0015】ステップS2では、制御手段15は、コマ
ンドデータD20が示すコマンドが、ICカード10内
の秘匿データDKを用いる信号処理を実行させる特定の
コマンドであるか否かを判定する。秘匿データDKとし
ては、例えば、暗号鍵のデータ、暗証番号のデータとす
る。コマンドデータD20が示すコマンドが、特定のコ
マンドでない場合は、ステップS5に進む。コマンドデ
ータD20が示すコマンドが、特定のコマンドである場
合は、ステップS3に進む。
In step S2, the control means 15 determines whether or not the command indicated by the command data D20 is a specific command for executing signal processing using the secret data DK in the IC card 10. The secret data DK is, for example, data of an encryption key and data of a password. If the command indicated by the command data D20 is not a specific command, the process proceeds to step S5. If the command indicated by the command data D20 is a specific command, the process proceeds to step S3.

【0016】ステップS3では、制御手段15は、計数
手段14の計数値を1だけ増加して更新する。この計数
値は、例えば、ICカード10のリセットにより初期値
に設定される構成としてもよく、接触式ICカードの場
合はリーダライタ装置20からのICカード10の排出
により初期値に設定される構成としてもよい。
In step S3, the control means 15 updates the count value of the counting means 14 by incrementing it by one. For example, the count value may be set to an initial value by resetting the IC card 10. In the case of a contact type IC card, the count value may be set to an initial value by discharging the IC card 10 from the reader / writer device 20. It may be.

【0017】ステップS4では、制御手段15は、信号
処理手段11に、ダミールーチンをN回実行させる。N
は0以上の整数であり、計数手段14の計数値に応じた
値である。例えば、実行回数Nは、計数値がしきい値未
満である場合は0とし、計数値がしきい値以上である場
合は、1以上の値とする。なお、実行回数Nは、計数値
に応じて増大する値とすることが望ましい。
In step S4, the control means 15 causes the signal processing means 11 to execute the dummy routine N times. N
Is an integer greater than or equal to 0, and is a value corresponding to the count value of the counting means 14. For example, the execution number N is set to 0 when the count value is less than the threshold value, and is set to 1 or more when the count value is equal to or more than the threshold value. It is desirable that the number of executions N be a value that increases according to the count value.

【0018】計数手段14の計数値がしきい値を超える
場合は、上記DPA法が行われている可能性がある。す
なわち、DPA法は、検出対象の秘匿データを用いる同
一コマンドを繰り返して実行させるので、当該コマンド
の実行回数は、通常の実行回数を大きく上回ることにな
る。そこで、通常のコマンド実行回数を大きく上回って
いるか否かを、計数値としきい値との比較により検出可
能である。計数値がしきい値以上である場合にダミール
ーチンにより信号処理を遅延させることで、一定時間内
のコマンド実行回数を減らすことができると共に信号処
理のタイミングを変えることができ、DPA法による分
析を困難化することが可能である。
If the count value of the counting means 14 exceeds the threshold value, there is a possibility that the DPA method has been performed. That is, in the DPA method, the same command using the secret data to be detected is repeatedly executed, so that the number of executions of the command greatly exceeds the normal number of executions. Thus, it is possible to detect whether or not the number of times of normal command execution is significantly larger by comparing the count value with the threshold value. By delaying the signal processing by the dummy routine when the count value is equal to or more than the threshold value, the number of command executions within a certain time can be reduced and the timing of the signal processing can be changed. It can be difficult.

【0019】ステップS5では、制御手段15は、信号
処理手段11に、コマンドデータD20が示すコマンド
の実行を開始させる。
In step S5, the control means 15 causes the signal processing means 11 to start executing the command indicated by the command data D20.

【0020】ステップS6では、制御手段15は、リー
ダライタ装置20に対して設定時間BWT(Block Wait
ing Time)内に信号処理手段11の信号処理結果を応答
可能であるか否かを判定する。設定時間BWT内に信号
処理結果を応答可能である場合は、ステップS8に進
む。設定時間BWT内に信号処理結果を応答可能でない
場合は、ステップS7に進む。
In step S6, the control means 15 sends a setting time BWT (Block Wait) to the reader / writer device 20.
It is determined whether or not the signal processing result of the signal processing unit 11 can be responded within (ing Time). If the signal processing result can be responded within the set time BWT, the process proceeds to step S8. If the signal processing result cannot be responded within the set time BWT, the process proceeds to step S7.

【0021】ステップS7では、制御手段15は、延長
要求WTX(Waiting Time Extension)を示すデータ
を、I/F手段16を介してリーダライタ装置20に送
出し、ステップS6に戻る。
In step S7, the control means 15 sends data indicating an extension request WTX (Waiting Time Extension) to the reader / writer device 20 via the I / F means 16, and returns to step S6.

【0022】ステップS8では、制御手段15は、信号
処理手段11の信号処理結果を示す応答データD10
を、I/F手段16を介してリーダライタ装置20に返
信し、本フローチャートの処理を終了する。
In step S8, the control means 15 responds to the response data D10 indicating the signal processing result of the signal processing means 11.
Is returned to the reader / writer device 20 via the I / F means 16, and the processing of this flowchart ends.

【0023】上記フローチャートでは、計数値がしきい
値以上である場合に、ダミールーチンの処理によりコマ
ンド実行回数の増大を抑制している。一方、計数値がし
きい値以上である場合に、ICカード10の信号処理を
禁止する機能を設けると、万一にDPA法の分析が行わ
れていないときにも信号処理が禁止されることになり、
支障が発生する。したがって、ICカード10ではダミ
ールーチンの実行により処理時間は長くなるが、DPA
法による分析を行わない一般の使用者が使用する場合
に、支障の発生を防止可能である。
In the above flowchart, when the count value is equal to or larger than the threshold value, the increase in the number of command executions is suppressed by the processing of the dummy routine. On the other hand, if the function of inhibiting the signal processing of the IC card 10 is provided when the count value is equal to or more than the threshold value, the signal processing is inhibited even when the analysis of the DPA method is not performed. become,
Problems occur. Therefore, in the IC card 10, the processing time is increased by executing the dummy routine, but the DPA
When a general user who does not perform analysis by a method uses it, it is possible to prevent the occurrence of trouble.

【0024】なお、計数手段14は、特定のアプリケー
ションの実行回数を計数してもよく、ICカード10内
の秘匿データDKがバス12に流れるコマンドの実行回
数を計数してもよく、秘匿データDKが参照された回数
を計数してもよい。さらに、これらの実行回数を組み合
わせた回数を、計数値としてもよい。
The counting means 14 may count the number of executions of a specific application, or may count the number of executions of a command in which the secret data DK in the IC card 10 flows through the bus 12. May be counted. Further, the count obtained by combining these execution counts may be used as the count value.

【0025】ICカード10に複数のアプリケーション
が制御手段15の複数のディレクトリに登録されている
場合は、制御手段15のディレクトリ毎に計数値を計数
し、しきい値、ダミールーチンの実行回数Nを設定して
もよい。
When a plurality of applications are registered in the IC card 10 in a plurality of directories of the control means 15, a count value is counted for each directory of the control means 15, and a threshold value and the number N of executions of the dummy routine are set. May be set.

【0026】なお、図3のステップS6,S7では、例
えば以下のように処理を行ってもよい。ISO7816
−3(JIS X 6304)において、ICカード1
0側は設定時間BWT内に応答を返信できない場合(例
えば暗号処理時間が設定時間BWTを超える場合)、設
定時間BWTの延長要求WTXを示すデータを送出す
る。
In steps S6 and S7 in FIG. 3, for example, the following processing may be performed. ISO7816
-3 (JIS X 6304), IC card 1
If a response cannot be returned within the set time BWT (for example, when the encryption processing time exceeds the set time BWT), the 0 side sends data indicating a request for extending the set time BWT WTX.

【0027】この設定時間BWTは、リーダライタ装置
20が最終のキャラクタを送出してから、リーダライタ
装置20がICカード10から最初のキャラクタを受信
するまでの最大許容時間であり、この最大許容時間を過
ぎるとリーダライタ装置20は応答待ちを止めて終了処
理に移行する。ICカード10は、リーダライタ装置2
0からクロック信号が供給される構成である場合、設定
時間BWTは次式(1)で表される。
The set time BWT is the maximum allowable time from when the reader / writer device 20 transmits the last character to when the reader / writer device 20 receives the first character from the IC card 10. Is passed, the reader / writer device 20 stops waiting for a response and shifts to an end process. The IC card 10 includes the reader / writer device 2
When the configuration is such that a clock signal is supplied from 0, the set time BWT is expressed by the following equation (1).

【0028】[0028]

【数1】 BWT=2BWI ×2×960×372/f+11×(現行etu) …(1)BWT = 2 BWI × 2 × 960 × 372 / f + 11 × (current ETU) (1)

【0029】BWI(Block Waiting Time integer)
は、ICカード10の初期応答ATR(Answer To Rese
t )のTB(i)(i>2)の上位ビットb8〜b5で
定義される。クロック信号の周波数fは、一般的に3.
57×106 Hzであり、4.92×106 Hzである
こともある。BWIは、0〜9の値であり、一般的には
4である。
BWI (Block Waiting Time integer)
Is the initial response ATR (Answer To Rese
The upper bits b8 to b5 of TB (i) (i> 2) of t) are defined. The frequency f of the clock signal is generally 3.
57 × 10 6 Hz, and may be 4.92 × 10 6 Hz. BWI is a value between 0 and 9, and is typically 4.

【0030】現行etu(elementary time unit)は、
初期etuと作業etuがあり、次式(2A),(2
B)で表される。式(2B)中の記号Dは一般的に1で
あり、記号Fは一般的に372である。例えば、f=
3.57×106 Hzである場合、1初期etu=1.
041×10-4秒(0.1041ミリ秒)となる。な
お、作業etuを372/fとし、初期etuと同じ値
になるようにしてもよい。
The current ETU (elementary time unit) is
There are an initial etu and a working etu, and the following equations (2A) and (2
B). The symbol D in formula (2B) is generally 1 and the symbol F is generally 372. For example, f =
For 3.57 × 10 6 Hz, one initial Etu = 1.
041 × 10 −4 seconds (0.1041 milliseconds). Note that the work etu may be set to 372 / f, so that the value may be the same as the initial etu.

【0031】[0031]

【数2】初期etu=372/f …(2A) 作業etu=(1/D)×(F/f) …(2B)## EQU2 ## Initial etu = 372 / f (2A) Work etu = (1 / D) × (F / f) (2B)

【0032】WTXを用いた通信プロトコルの例とし
て、WTXを2回送出する場合を以下に示す。先ず、リ
ーダライタ装置20は、暗号化処理を実行させる内部認
証コマンド(Internal Authenticate Command )をIC
カード10に送出すると共に、設定時間BWTの計時を
開始する。内部認証コマンドを受信したICカード10
は、暗号化処理を信号処理手段11で開始するが、制御
手段15は設定時間BWT内に応答を返信できないこと
を検出し、延長要求WTXを返信する。
As an example of a communication protocol using WTX, a case where WTX is transmitted twice will be described below. First, the reader / writer device 20 transmits an internal authentication command (Internal Authenticate Command) for executing the encryption process to the IC.
At the same time as sending the data to the card 10, the timer for the set time BWT is started. IC card 10 that has received the internal authentication command
Starts the encryption process in the signal processing unit 11, but the control unit 15 detects that a response cannot be returned within the set time BWT, and returns an extension request WTX.

【0033】延長要求WTXを受信したリーダライタ装
置20は、肯定応答ACKをICカード10に送出し、
設定時間BWTの計時をリセット値から再開する。肯定
応答ACKを受信したICカード10は、信号処理手段
11での暗号化処理を継続するが、制御手段15は設定
時間BWT内に応答を返信できないことを検出し、延長
要求WTXを再度返信する。
The reader / writer device 20, which has received the extension request WTX, sends an acknowledgment ACK to the IC card 10,
The measurement of the set time BWT is restarted from the reset value. The IC card 10 that has received the acknowledgment ACK continues the encryption processing in the signal processing unit 11, but the control unit 15 detects that a response cannot be returned within the set time BWT, and returns the extension request WTX again. .

【0034】延長要求WTXを再度受信したリーダライ
タ装置20は、肯定応答ACKをICカード10に再度
送出すると共に、設定時間BWTの計時をリセット値か
ら再開する。肯定応答ACKを受信したICカード10
は、信号処理手段11での暗号化処理を継続して暗号化
データを設定時間BWT内に生成し、この暗号化データ
を有する応答データD10をリーダライタ装置20に返
信する。
The reader / writer device 20 that has received the extension request WTX again sends an acknowledgment ACK to the IC card 10 again, and restarts counting the set time BWT from the reset value. IC card 10 that has received the acknowledgment ACK
Generates the encrypted data within the set time BWT by continuing the encryption processing in the signal processing unit 11 and returns the response data D10 having the encrypted data to the reader / writer device 20.

【0035】ダミールーチンの実行回数Nは、以下のよ
うに設定してもよい。ICカード10を実際に使用する
場合、同じ秘匿データDKを用いるコマンドを連続して
50回以上受ける可能性は低く、100回以上受けるこ
とはDPA法による攻撃が行われている可能性が高い。
この場合、例えば、第1のしきい値TH1を50回と
し、第2のしきい値TH2を100回とする。
The number of executions N of the dummy routine may be set as follows. When the IC card 10 is actually used, it is unlikely that the command using the same confidential data DK will be continuously received 50 times or more.
In this case, for example, the first threshold value TH1 is set to 50 times, and the second threshold value TH2 is set to 100 times.

【0036】そして、計数手段14の計数値が50回以
上である場合に、ダミールーチンの処理時間T1とし
て、T1=(TH1)2 ×(作業etu)とし、実行回
数Nは処理時間T1に相当する回数とする。また、計数
手段14の計数値が100回以上である場合に、ダミー
ルーチンの処理時間T2として、T2=(TH2)3 ×
(作業etu)とし、実行回数Nは処理時間T2に相当
する回数とする。
When the count value of the counting means 14 is 50 or more, the processing time T1 of the dummy routine is set to T1 = (TH1) 2 × (work etu), and the number of executions N corresponds to the processing time T1. Number of times When the count value of the counting means 14 is 100 times or more, the processing time T2 of the dummy routine is set as T2 = (TH2) 3 ×
(Work etu), and the number of executions N is the number of times corresponding to the processing time T2.

【0037】なお、上記実施の形態は本発明の例示であ
り、本発明は上記実施の形態に限定されない。ICカー
ド10において、信号処理手段11と、メモリ13と、
計数手段14と、制御手段15とを、1チップマイコン
で一体化した構成としてもよい。
The above embodiment is an exemplification of the present invention, and the present invention is not limited to the above embodiment. In the IC card 10, a signal processing unit 11, a memory 13,
The counting means 14 and the control means 15 may be integrated with one-chip microcomputer.

【0038】[0038]

【発明の効果】以上に説明したように、本発明によれ
ば、ICカード内部で使用されるデータを外部から検出
することを困難化することが可能なICカードを提供す
ることができる。
As described above, according to the present invention, it is possible to provide an IC card capable of making it difficult to externally detect data used inside the IC card.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係るICカードの実施の形態を示す概
略的な構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of an IC card according to the present invention.

【図2】図1のICカードの動作を示す概略的なフロー
チャートである。
FIG. 2 is a schematic flowchart showing the operation of the IC card of FIG.

【図3】図2に続いて、図1のICカードの動作を示す
概略的なフローチャートである。
FIG. 3 is a schematic flowchart showing the operation of the IC card of FIG. 1 subsequent to FIG. 2;

【符号の説明】[Explanation of symbols]

10…ICカード、11…信号処理手段、12…バス、
13…メモリ、14…計数手段、15…制御手段、16
…インタフェース手段(I/F手段)、20…リーダラ
イタ装置。
10: IC card, 11: signal processing means, 12: bus,
13 memory, 14 counting means, 15 control means, 16
... Interface means (I / F means), 20 ... Reader / writer device.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】リーダライタ装置からのコマンドを実行す
る信号処理手段と、 前記リーダライタ装置からのコマンドの実行回数を計数
する計数手段とを有し、 前記信号処理手段は、前記計数手段の計数値に基づいて
前記コマンドの応答時間を変更するICカード。
1. A signal processing means for executing a command from a reader / writer device, and a counting device for counting the number of times of execution of a command from the reader / writer device; An IC card for changing a response time of the command based on a numerical value.
【請求項2】前記信号処理手段は、ダミールーチンの実
行によって前記コマンドの応答時間を増大し、 前記ダミールーチンの実行回数は、前記計数値に応じた
回数である請求項1記載のICカード。
2. The IC card according to claim 1, wherein the signal processing means increases a response time of the command by executing a dummy routine, and the number of executions of the dummy routine is a number corresponding to the count value.
【請求項3】前記信号処理手段は、前記ダミールーチン
の実行後に、前記コマンドを実行する請求項2記載のI
Cカード。
3. The I signal according to claim 2, wherein said signal processing means executes said command after executing said dummy routine.
C card.
【請求項4】秘匿データを記憶するメモリをさらに有
し、 前記計数手段は、前記リーダライタ装置からのコマンド
のうち、特定のコマンドの実行回数を計数し、 前記特定のコマンドは、前記メモリ内の前記秘匿データ
を用いる処理を前記信号処理手段に行わせるコマンドで
ある請求項1記載のICカード。
4. A memory for storing secret data, wherein the counting means counts the number of executions of a specific command among the commands from the reader / writer device, wherein the specific command is stored in the memory. 2. The IC card according to claim 1, wherein the command is a command for causing the signal processing unit to perform the process using the secret data.
【請求項5】前記信号処理手段は、ダミールーチンの実
行によって前記特定のコマンドの応答時間を増大し、 前記ダミールーチンの実行回数は、前記計数値に応じた
回数である請求項4記載のICカード。
5. The IC according to claim 4, wherein the signal processing means increases the response time of the specific command by executing a dummy routine, and the number of times the dummy routine is executed is a number corresponding to the count value. card.
【請求項6】前記信号処理手段は、前記ダミールーチン
の実行後に、前記特定のコマンドを実行する請求項5記
載のICカード。
6. The IC card according to claim 5, wherein said signal processing means executes said specific command after executing said dummy routine.
JP2001016332A 2001-01-24 2001-01-24 Ic card Pending JP2002222402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001016332A JP2002222402A (en) 2001-01-24 2001-01-24 Ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001016332A JP2002222402A (en) 2001-01-24 2001-01-24 Ic card

Publications (1)

Publication Number Publication Date
JP2002222402A true JP2002222402A (en) 2002-08-09

Family

ID=18882725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001016332A Pending JP2002222402A (en) 2001-01-24 2001-01-24 Ic card

Country Status (1)

Country Link
JP (1) JP2002222402A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204137A (en) * 2004-01-16 2005-07-28 Mitsubishi Electric Corp Mutual authentication system, apparatus to be managed, and program
JP2005222194A (en) * 2004-02-04 2005-08-18 Sharp Corp Ic card with coprocessor for auxiliary operation built-in and its control method
KR100623063B1 (en) * 2005-05-04 2006-09-13 인하대학교 산학협력단 Rfid tag and rfid system that having a forced collision function and method for protect a information of rfid tag
JP2009530727A (en) * 2006-03-23 2009-08-27 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and system for restricting repeated access to electronic devices
JP2016099711A (en) * 2014-11-19 2016-05-30 凸版印刷株式会社 Ic card and its starting method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204137A (en) * 2004-01-16 2005-07-28 Mitsubishi Electric Corp Mutual authentication system, apparatus to be managed, and program
JP2005222194A (en) * 2004-02-04 2005-08-18 Sharp Corp Ic card with coprocessor for auxiliary operation built-in and its control method
US7364083B2 (en) 2004-02-04 2008-04-29 Sharp Kabushiki Kaisha IC card with built-in coprocessor for auxiliary arithmetic, and control method thereof
KR100623063B1 (en) * 2005-05-04 2006-09-13 인하대학교 산학협력단 Rfid tag and rfid system that having a forced collision function and method for protect a information of rfid tag
JP2009530727A (en) * 2006-03-23 2009-08-27 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and system for restricting repeated access to electronic devices
JP2016099711A (en) * 2014-11-19 2016-05-30 凸版印刷株式会社 Ic card and its starting method

Similar Documents

Publication Publication Date Title
KR910007034B1 (en) Data processing method of portable electronic device
JPH0583959B2 (en)
JPH08263608A (en) Protocol switching method
KR20180022894A (en) Electronic units and methods performed in such electronic devices
CN106664513A (en) Electronic device, controller and control method for nfc
US9342685B2 (en) Electric circuit and terminal
JPS63126083A (en) Processing system
JP2002222402A (en) Ic card
JP2006073034A (en) Ic card reader-writer, identification method, program and its recording medium
EP2255323B1 (en) Integrated circuit card
KR100562505B1 (en) Integrated circuit card capable of automatically transmitting null byte information without intervention by cpu
JPH11184992A (en) Ic card and device for inserting the same
US6883103B2 (en) Data carrier for the adaptation of a consumption time interval to the power consumption of the data carrier
JP4527434B2 (en) Portable information storage medium and program thereof
JP4148502B2 (en) Portable information processing apparatus having a plurality of information transmission means
CN106600263B (en) Payment account number protection method, terminal and server
JP2003288564A (en) Memory card
JP4757423B2 (en) Electronic chip for portable goods
KR101074423B1 (en) Memory card system capable of judging processing situation of memory card and judging method thereof
JP7420308B1 (en) Electronic information storage medium, IC chip, IC card, detection interval control method, and program
JP2003248799A (en) Ic card reader-writer, identification method and its program
JP2000076402A (en) Ic card made variable in response time
JP2000105622A (en) Device and method for security
JP5258219B2 (en) Memory card having a plurality of interfaces, reset control method thereof, and reset control system
JPS63198119A (en) Processing system