JP3848994B2 - IC card system, card reader, IC card, and IC card system communication control method - Google Patents

IC card system, card reader, IC card, and IC card system communication control method Download PDF

Info

Publication number
JP3848994B2
JP3848994B2 JP2001394064A JP2001394064A JP3848994B2 JP 3848994 B2 JP3848994 B2 JP 3848994B2 JP 2001394064 A JP2001394064 A JP 2001394064A JP 2001394064 A JP2001394064 A JP 2001394064A JP 3848994 B2 JP3848994 B2 JP 3848994B2
Authority
JP
Japan
Prior art keywords
card
card reader
data processing
processing unit
reader
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.)
Expired - Fee Related
Application number
JP2001394064A
Other languages
Japanese (ja)
Other versions
JP2003196612A (en
Inventor
聡 河内
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2001394064A priority Critical patent/JP3848994B2/en
Publication of JP2003196612A publication Critical patent/JP2003196612A/en
Application granted granted Critical
Publication of JP3848994B2 publication Critical patent/JP3848994B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、カードリーダとICカードとの間で通信を行なうICカードシステム、及びICカードシステムに使用されるカードリーダ,ICカード、並びにICカードシステムの通信制御方法に関する。
【0002】
【発明が解決しようとする課題】
ICカードには、データのセキュリティを向上させることを目的として、ICカード自体の制御を行なうCPUとは別に、暗号処理を行なうためのプロセッサ(ロジック回路)を搭載したものがある。
【0003】
暗号処理は、例えば、以下のようなプロセスによって行われる。カードリーダとICカードとの双方が暗号化を行なうための「鍵」を有している。カードリーダがICカードに対して複数桁の乱数例えば「1234」と共に暗号処理を行なうように指令を送信すると、ICカードは、「鍵」を使用して送信された乱数 「1234」を暗号化する。そして、ICカードは、暗号化した乱数例えば「5678」をカードリーダ側に返信する。カードリーダは、その暗号化された乱数「5678」を照合してICカードが自分と同じ「鍵」を有していると認識すると、そのICカードが適正な通信相手であると判断して実質的なデータ通信を開始する。
【0004】
この場合、例えば、暗号プロセッサがICカードのCPUと同じ周波数のクロック信号で動作する構成であれば、暗号プロセッサが動作している期間は、同じクロック信号で動作するハードウエアが一時的に増えることになり、ノイズが発生し易くなる。
【0005】
そして、発生したノイズが、カードリーダ,ICカード間で行なわれる通信に干渉すると、カードリーダ側は、そのノイズが重畳された信号がICカードより送信されたデータであると誤認してしまうおそれがある。すると、カードリーダは、その時点で通信を終了させることになり、ICカードは、本来送信すべきであったデータを送信することができなくなる。
【0006】
本発明は上記事情に鑑みてなされたものであり、その目的は、ICカードがデータ処理部を動作させた場合に発生するノイズが、通信に影響を及ぼすことを防止できるICカードシステム,及びICカードシステムに使用されるカードリーダ,ICカード、並びにICカードシステムの通信制御方法を提供することにある。
【0007】
【課題を解決するための手段】
請求項1記載のICカードシステムによれば、ICカードは、カードリーダより処理指令が与えられるとデータ処理部を動作させ、そのデータ処理部によって処理されたデータをカードリーダに送信する。そして、カードリーダの制御部は、前記処理指令を与えることによりICカードのデータ処理部が動作している期間中は信号の受信を停止するように制御する。
【0008】
即ち、ICカードはデータ処理部によって処理されたデータをカードリーダに送信するので、カードリーダは、データ処理部が処理を行なっている期間中は受信を行なう必要がない。従って、前記期間中に受信を停止させても本来の通信処理に支障はなく、データ処理部が動作することによって発生するノイズが重畳された信号を誤って受信することを適切に回避できる。
【0009】
具体的には、ICカードは、処理指令が与えられるとカードリーダに対してデータ処理に要する時間を通知し、カードリーダの制御部は通知された時間に基づいて信号の受信を停止するので、受信を停止する時間を適切に定めることができる。
【0010】
請求項記載のICカードシステムによれば、カードリーダの制御部は、ICカードに処理指令を与える際に受信を停止する時間を通知し、ICカードは、カードリーダ側より通知された時間が経過してもデータ処理部の動作が終了していない場合は当該データ処理部の動作を中断させ、カードリーダに対して停止時間の延長を要求する。斯様に構成すれば、カードリーダの制御部が通知した停止時間がデータ処理部の処理時間より短い場合でも、ICカード側の要求に応じて停止時間を延長すれば、データ処理部の動作が終了するまで確実に受信を停止することができる。
【0011】
請求項記載のICカードシステムによれば、カードリーダの制御部は、前記期間中は、消費電力が低下する動作モードに自身を設定する。即ち、受信を停止させている期間は、制御部が通常通りに動作している必要はないので、例えば、制御部に供給されるクロック信号の周波数を低下させたり、或いはその供給を停止させることで、消費電力をより削減することができる。
【0012】
【発明の実施の形態】
(第1実施例)
以下、本発明の第1実施例について図1乃至図4を参照して説明する。図3は、非接触式のICカード1内部の電気的構成を示す機能ブロック図である。ICカード1は、ワンチップの集積回路2と、この集積回路2に接続されるアンテナ3とで構成されている。集積回路2において、CPU4には、定電圧部5より供給される3Vの動作用電源が与えられて動作するようになっている。
【0013】
定電圧部5は、アンテナ3が受信した電波信号が整流部6により整流されて出力される直流電圧を受けて動作用電源を生成する。また、整流部6を介して受けた信号は復調されてCPU4に受信データとして与えられる。そして、CPU4が出力する送信データは、送信部7及びアンテナ3を介して電波信号とした外部に送信される。更に、整流部6を介して受けた信号はクロック生成部8にも与えられ、クロック生成部8は、その信号からクロック信号を生成してCPU4に供給するようになっている。
【0014】
CPU4に対して書き込み及び読み出し可能に接続されているメモリ9には、ICカード1が使用される各種のアプリケーションに応じて用いられるデータが記憶されている。
【0015】
暗号プロセッサ(データ処理部)10は、後述するカードリーダ11(図4参照)との間で通信を行う場合に認証処理を行なうために使用されるものである。即ち、暗号プロセッサ10は、カードリーダ11と共通の「鍵」を記憶しており、カードリーダ11がICカード1に送信した乱数がCPU4を介して渡されると、「鍵」を使用して暗号化するための演算を行なうように構成されているロジック回路である。
【0016】
そして、CPU4は、暗号化されたデータを暗号プロセッサ10より受け取ると、カードリーダ11側に返信する。カードリーダ11は、その暗号化された乱数を照合してICカード1が自分と同じ「鍵」を有していると認識すると、ICカード1が適正な通信相手であると判断して実質的なデータ通信を開始する。
【0017】
図4は、カードリーダ11側の電気的構成を示す機能ブロック図である。カードリーダ11は、制御部12,キャリア発生部13,変調部14,復調部15,アンテナ16,スリープタイマ17,電源部18などで構成されている。制御部12は、マイクロコンピュータなどで構成されている。キャリア発生部13は、通信を行なう場合に13.56MHzのキャリア(搬送波)信号を変調部14に出力するもので、そのON/OFFは制御部12によって制御されるようになっている。
【0018】
変調部14は、キャリア発生部13より与えられたキャリアを制御部12より出力された送信データによって変調し、アンテナ16に出力する。また、ICカード1より送信された電波信号は、アンテナ16を介して受信されると復調部15に与えられ、復調されたデータが受信データとして制御部12に出力されるようになっている。
【0019】
スリープタイマ17は、制御部12をセットされた時間だけ消費電力が低下するモードであるスリープモードに設定するタイマである。即ち、制御部12は、内部に動作用クロック信号を生成するための回路も内蔵しており、スリープ入力端子がアクティブになると(スリープON)クロック生成回路によるクロック信号の出力は停止され、内部レジスタ等の状態を保持したまま動作を一時的に停止するスリープモードの設定が可能となるように構成されている。
【0020】
そして、制御部12がスリープタイマ17に対してスリープモードの設定時間をセットすると、スリープタイマ17は、制御部12のスリープ入力端子がセットされた時間だけアクティブになるようにドライブし、前記時間が経過するとスリープ入力端子をインアクティブにする(スリープOFF)ようになっている。
【0021】
また、電源部18は、カードリーダ11の各部に動作用電源を供給するものである。
【0022】
次に、本実施例の作用について図1及び図2をも参照して説明する。図1は、カードリーダ11とICカード1との間で行なわれる通信内容において、暗号処理に関する部分を示すシーケンスである。先ず、カードリーダ11の制御部12は、ICカード1側に暗号処理の指令と共に乱数を送信する(▲1▼)。すると、ICカード1のCPU4は、暗号プロセッサ10によって行われる暗号処理(データ処理)に要すると推定される時間を待ち時間として設定し(▲2▼)、その待ち時間をICカード1側に通知する(▲3▼)。それから、カードリーダ11より送信された乱数を暗号プロセッサ10に渡して暗号処理を開始させる(▲4▼)。
【0023】
一方、カードリーダ11の制御部12は、待ち時間の通知を受けると受信禁止処理を行なう(▲5▼)。即ち、復調部15における復調処理及び受信データの出力を禁止する。それから、制御部12は通知された待ち時間の経過を待つ(▲6▼)。即ち、▲6▼における待機中は、ICカード1側で暗号プロセッサ10が暗号処理を行なっており、ICカード1からは、その処理動作に伴うノイズが発生するおそれがある期間である。
【0024】
そして、制御部12は、待ち時間が経過すると(▲6▼,「YES」)復調部15による受信処理を許可する(▲7▼)。尚、▲5▼〜▲7▼における受信処理の禁止期間であっても、変調部14によりキャリアはICカード1側に送信され続けており、ICカード1の動作用電源は供給されている。
【0025】
また、図2は、図1の▲5▼〜▲7▼における待機中の詳細な処理を示すものである。即ち、▲5▼の次に、制御部12は、通知された待ち時間に相当するカウント値をスリープタイマ17にセットすると(A)、続いてスリープONの設定を行なう (B)。すると、スリープタイマ17は、制御部12のスリープ入力端子をアクティブにすることで制御部12をスリープONの状態にして、セットされたカウント値のダウンカウントを行なう。
【0026】
即ち、▲6▼は、スリープタイマ17によってダウンカウントが行なわれている状態に相当する。そして、スリープタイマ17のカウント値が“0”になると(▲6▼,「YES」)、スリープタイマ17は、制御部12のスリープ入力端子をインアクティブにして制御部12をスリープOFFの状態に復帰させる(C)。そして、▲7▼へと移行する。
【0027】
再び図1を参照して、カードリーダ11側の待機中に、暗号プロセッサ10により暗号処理が終了する(▲8▼)。そして、▲7▼において受信処理を許可したカードリーダ11の制御部12は、ICカード1に対して暗号処理の結果を応答するように指令を与える(▲9▼)。すると、ICカード1のCPU4は、暗号プロセッサ10より受け取った暗号処理結果をカードリーダ11側に返す(10)。
【0028】
以降は、上述したように、暗号処理結果を受信した制御部12がその結果を照合して、ICカード1が同じ「鍵」を有していると認識すれば、ICカード1とのデータ通信を開始し、「鍵」が一致しなかった場合は通信を禁止する。
【0029】
以上のように本実施例によれば、ICカード1のCPU4は、カードリーダ11より暗号処理指令が与えられると暗号プロセッサ10を動作させ、その暗号プロセッサ10によって処理されたデータをカードリーダ11に送信する。そして、カードリーダ11の制御部12は、ICカード1の暗号プロセッサ10が動作している期間中は信号の受信を停止するように制御する。具体的には、ICカード1は、暗号処理指令が与えられるとカードリーダ11に対して暗号処理に要する時間を通知し、カードリーダ11の制御部12は、その通知された時間に基づいて信号の受信を停止するようにした。
【0030】
即ち、ICカード1は暗号プロセッサ10によって処理されたデータをカードリーダ11に送信するので、カードリーダ11は、暗号プロセッサ10が処理を行なっている期間中は受信を行なう必要がない。従って、前記期間中に受信を停止させても本来の通信処理に支障はなく、暗号プロセッサ10が動作することによって発生するノイズが重畳された信号を誤って受信することを適切に回避できる。
【0031】
更に、カードリーダ11の制御部12は、暗号処理の期間中は自身をスリープモードに設定して動作用クロック信号の供給を停止させるので、無駄な電力の消費を一層削減することができる。
【0032】
(第2実施例)
図5は、本発明の第2実施例を示すものであり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分についてのみ説明する。第2実施例の構成は基本的に第1実施例と同様であり、図5に示す通信処理のシーケンスが若干異なっている。
【0033】
即ち、プロセス▲1▼〜▲8▼までは、図1と全く同様に行われる。第1実施例では、その後、カードリーダ11がICカード1に結果応答指令を送信するが、第2実施例では、それに代えてICカード1のCPU4が、プロセス▲2▼で設定した待ち時間が経過したか否かを判断する(▲9▼)。そして、待ち時間が経過すると(「YES」)、第1実施例と同様にICカード1がカードリーダ11に処理結果を通知する(10)。
以上のように構成された第2実施例による場合も、第1実施例と同様の効果が得られる。
【0034】
(第3実施例)
図6は、本発明の第3実施例を示すものであり、第1実施例と異なる部分についてのみ説明する。第3実施例の構成も基本的に第1実施例と同様であり、図6に示す通信処理のシーケンスが異なっている。
【0035】
即ち、カードリーダ11の制御部12は、最初にICカード1側が暗号処理に要すると推定される時間を待ち時間(即ち、受信処理の停止時間)として設定し(▲1▼)、続いて暗号処理の指令(及び乱数)と共に設定した待ち時間をICカード1側に通知する(▲2▼)。それから、受信処理を禁止すると(▲3▼)、プロセス▲1▼で設定した待ち時間が経過するまで待機する(▲4▼)。
【0036】
一方、プロセス▲2▼で通知を受けたICカード1のCPU4は、暗号プロセッサ10に暗号処理を開始させると(▲5▼)、カードリーダ11側と同様に通知された待ち時間が経過するまで待機する(▲6▼)。そして、待ち時間が経過すると(▲6▼,「YES」)、CPU4は、その時点で暗号プロセッサ10による暗号処理が実際に終了しているかどうかを判断する(▲7▼)。
【0037】
そして、カードリーダ11側では、待ち時間が経過した時点で(▲4▼,「YES」)受信処理を許可した状態となっている(▲8▼)。従って、プロセス▲7▼で暗号処理が実際に終了していれば(「YES」)、ICカード1のCPU4は、そのまま暗号処理終了となって(▲9▼)処理結果をカードリーダ11側に通知する(10)。
【0038】
また、ICカード1側において、通知された待ち時間よりも実際の暗号処理に要した時間が長かった場合(▲7▼,「NO」)、CPU4は、その時点で暗号プロセッサ10による暗号処理を中断させる(11)。そして、カードリーダ11側に処理延長(即ち、受信処理停止時間の延長)の要求を送信し(12)、プロセス▲5▼の段階に戻る。
【0039】
カードリーダ11の制御部12は、プロセス(12)における処理延長の要求を受信するとプロセス▲1▼の段階に戻り、もう一度待ち時間を設定して上述した処理を繰り返す。そして、ICカード1が再度通知された待ち時間が経過した時点で暗号処理が終了していれば(▲7▼,「YES」)プロセス▲9▼,(10)が実行される。
【0040】
以上のように第3実施例によれば、カードリーダ11の制御部12は、ICカード1に暗号処理指令を与える際に受信を停止する待ち時間を通知し、ICカード1のCPU4は、カードリーダ11側より通知された時間が経過しても暗号プロセッサ10の動作が終了していない場合は、カードリーダ11に対して処理時間の延長を要求するようにした。従って、制御部12が通知した待ち時間が暗号プロセッサ10の処理時間より短い場合でも、ICカード1側の要求に応じて待ち時間を延長すれば、暗号プロセッサ10の動作が終了するまで確実に受信を停止することができる。
【0041】
本発明は上記し且つ図面に記載した実施例にのみ限定されるものではなく、次のような変形または拡張が可能である。
受信を停止している間、制御部をスリープモードに設定する構成は、必要に応じて設ければ良い。
また、消費電力を低下させる動作モードは、クロック信号の供給を停止させるものに限ることなく、クロック信号の周波数を低下させたり、或いは、一部の機能を停止させるなどの動作モードでも良い。
接点式のICカードに適用しても良い。
ータ処理部は暗号プロセッサ10に限ることなく、処理指令が与えられると外部に送信するデータについて所定の処理を行なうものであれば良い。
【図面の簡単な説明】
【図1】本発明を非接触式ICカードシステムに適用した場合の第1実施例であり、カードリーダとICカードとの間で行なわれる通信内容において、暗号処理に関する部分を示すシーケンス図
【図2】カードリーダの制御部による図1の▲5▼〜▲7▼における待機中の詳細な処理を示すシーケンス図
【図3】非接触式ICカード内部の電気的構成を示す機能ブロック図
【図4】カードリーダ側の図3相当図
【図5】本発明の第2実施例を示す図1相当図
【図6】本発明の第3実施例を示す図1相当図
【符号の説明】
1はICカード、11はカードリーダ、10は暗号プロセッサ(データ処理部)、12は制御部を示す。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an IC card system that performs communication between a card reader and an IC card, a card reader used in the IC card system, an IC card, and a communication control method for the IC card system.
[0002]
[Problems to be solved by the invention]
Some IC cards are equipped with a processor (logic circuit) for performing cryptographic processing in addition to a CPU for controlling the IC card itself for the purpose of improving data security.
[0003]
The cryptographic process is performed by the following process, for example. Both the card reader and the IC card have a “key” for encryption. When the card reader sends an instruction to the IC card to perform encryption processing together with a multi-digit random number such as “1234”, the IC card encrypts the random number “1234” transmitted using the “key”. . Then, the IC card returns an encrypted random number such as “5678” to the card reader side. When the card reader compares the encrypted random number “5678” and recognizes that the IC card has the same “key” as itself, the card reader determines that the IC card is an appropriate communication partner, and Data communication starts.
[0004]
In this case, for example, if the cryptographic processor is configured to operate with a clock signal having the same frequency as the CPU of the IC card, the hardware that operates with the same clock signal temporarily increases during the period in which the cryptographic processor is operating. It becomes easy to generate noise.
[0005]
If the generated noise interferes with communication performed between the card reader and the IC card, the card reader side may mistakenly recognize that the signal on which the noise is superimposed is data transmitted from the IC card. is there. Then, the card reader ends communication at that time, and the IC card cannot transmit data that should have been originally transmitted.
[0006]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an IC card system and an IC capable of preventing noise generated when an IC card operates a data processing unit from affecting communication. An object of the present invention is to provide a card reader used in a card system, an IC card, and a communication control method for the IC card system.
[0007]
[Means for Solving the Problems]
According to the IC card system of the first aspect, when the processing instruction is given from the card reader, the IC card operates the data processing unit and transmits the data processed by the data processing unit to the card reader. Then, the control unit of the card reader controls the reception of the signal to be stopped while the data processing unit of the IC card is operating by giving the processing command .
[0008]
In other words, since the IC card transmits the data processed by the data processing unit to the card reader, the card reader does not need to receive during the period when the data processing unit is processing. Therefore, even if the reception is stopped during the period, there is no hindrance to the original communication processing, and it is possible to appropriately avoid receiving a signal on which noise generated by the operation of the data processing unit is erroneously received.
[0009]
Specifically, when a processing command is given, the IC card notifies the card reader of the time required for data processing, and the control unit of the card reader stops receiving signals based on the notified time. The time for stopping the reception can be determined appropriately.
[0010]
According to the IC card system of claim 2 , the control unit of the card reader notifies the time when reception is stopped when giving a processing command to the IC card, and the IC card notifies the time notified from the card reader side. If the operation of the data processing unit has not ended even after the elapse of time, the operation of the data processing unit is interrupted, and the card reader is requested to extend the stop time. With this configuration, even if the stop time notified by the control unit of the card reader is shorter than the processing time of the data processing unit, if the stop time is extended in response to a request on the IC card side, the operation of the data processing unit Reception can be reliably stopped until the end.
[0011]
According to the IC card system of the third aspect , the control unit of the card reader sets itself to an operation mode in which power consumption is reduced during the period. That is, the control unit does not have to operate normally during the period in which reception is stopped. For example, the frequency of the clock signal supplied to the control unit is reduced or the supply is stopped. Thus, power consumption can be further reduced.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A first embodiment of the present invention will be described below with reference to FIGS. FIG. 3 is a functional block diagram showing an electrical configuration inside the non-contact type IC card 1. The IC card 1 includes a one-chip integrated circuit 2 and an antenna 3 connected to the integrated circuit 2. In the integrated circuit 2, the CPU 4 is operated by being supplied with an operating power supply of 3 V supplied from the constant voltage unit 5.
[0013]
The constant voltage unit 5 generates a power supply for operation in response to a direct-current voltage output by rectifying the radio signal received by the antenna 3 by the rectifying unit 6. The signal received via the rectifying unit 6 is demodulated and given to the CPU 4 as received data. The transmission data output by the CPU 4 is transmitted to the outside as a radio wave signal via the transmission unit 7 and the antenna 3. Further, the signal received via the rectifying unit 6 is also supplied to the clock generating unit 8, and the clock generating unit 8 generates a clock signal from the signal and supplies it to the CPU 4.
[0014]
Data used in accordance with various applications in which the IC card 1 is used is stored in a memory 9 connected to the CPU 4 so as to be writable and readable.
[0015]
The cryptographic processor (data processing unit) 10 is used for performing an authentication process when communicating with a card reader 11 (see FIG. 4) described later. That is, the cryptographic processor 10 stores a “key” common to the card reader 11. When a random number transmitted from the card reader 11 to the IC card 1 is passed through the CPU 4, the cryptographic processor 10 encrypts using the “key”. This is a logic circuit configured to perform an operation for converting to a logic circuit.
[0016]
When the CPU 4 receives the encrypted data from the cryptographic processor 10, the CPU 4 sends it back to the card reader 11 side. If the card reader 11 collates the encrypted random number and recognizes that the IC card 1 has the same “key” as itself, the card reader 11 determines that the IC card 1 is an appropriate communication partner and substantially Data communication starts.
[0017]
FIG. 4 is a functional block diagram showing an electrical configuration on the card reader 11 side. The card reader 11 includes a control unit 12, a carrier generation unit 13, a modulation unit 14, a demodulation unit 15, an antenna 16, a sleep timer 17, a power supply unit 18, and the like. The control unit 12 is configured by a microcomputer or the like. The carrier generation unit 13 outputs a 13.56 MHz carrier signal to the modulation unit 14 when performing communication, and ON / OFF of the carrier generation unit 13 is controlled by the control unit 12.
[0018]
The modulation unit 14 modulates the carrier given from the carrier generation unit 13 with the transmission data output from the control unit 12 and outputs the modulated data to the antenna 16. In addition, when the radio wave signal transmitted from the IC card 1 is received via the antenna 16, it is given to the demodulator 15 and the demodulated data is output to the controller 12 as received data.
[0019]
The sleep timer 17 is a timer for setting the control unit 12 to a sleep mode, which is a mode in which power consumption is reduced for a set time. That is, the control unit 12 also includes a circuit for generating an operation clock signal therein, and when the sleep input terminal becomes active (sleep ON), the output of the clock signal by the clock generation circuit is stopped, and the internal register Thus, the sleep mode can be set to temporarily stop the operation while maintaining the above state.
[0020]
When the control unit 12 sets the set time of the sleep mode for the sleep timer 17, the sleep timer 17 is driven so as to be active only for the time when the sleep input terminal of the control unit 12 is set, and the time is set. After a lapse, the sleep input terminal is made inactive (sleep OFF).
[0021]
The power supply unit 18 supplies operation power to each unit of the card reader 11.
[0022]
Next, the operation of this embodiment will be described with reference to FIGS. FIG. 1 is a sequence showing a portion related to encryption processing in the contents of communication performed between the card reader 11 and the IC card 1. First, the control unit 12 of the card reader 11 transmits a random number to the IC card 1 side together with an encryption processing command ((1)). Then, the CPU 4 of the IC card 1 sets the estimated time required for the cryptographic processing (data processing) performed by the cryptographic processor 10 as a waiting time ((2)), and notifies the waiting time to the IC card 1 side. (3). Then, the random number transmitted from the card reader 11 is passed to the cryptographic processor 10 to start the cryptographic process (4).
[0023]
On the other hand, when the control unit 12 of the card reader 11 receives the notification of the waiting time, it performs a reception prohibiting process ((5)). That is, the demodulation processing in the demodulator 15 and the output of received data are prohibited. Then, the control unit 12 waits for the notified waiting time to elapse ((6)). That is, during the standby in (6), the cryptographic processor 10 performs cryptographic processing on the IC card 1 side, and there is a possibility that noise from the IC card 1 may be generated due to the processing operation.
[0024]
Then, when the waiting time has elapsed (<6>, "YES"), the control unit 12 permits the reception processing by the demodulation unit 15 (<7>). Even during the reception processing prohibition period from (5) to (7), the carrier continues to be transmitted to the IC card 1 by the modulation unit 14, and the power for operation of the IC card 1 is supplied.
[0025]
FIG. 2 shows detailed processing during standby in (5) to (7) of FIG. That is, after (5), the control unit 12 sets a count value corresponding to the notified waiting time in the sleep timer 17 (A), and then sets sleep ON (B). Then, the sleep timer 17 activates the sleep input terminal of the control unit 12 to place the control unit 12 in the sleep ON state, and down-counts the set count value.
[0026]
That is, (6) corresponds to a state in which the down count is performed by the sleep timer 17. When the count value of the sleep timer 17 becomes “0” (6, “YES”), the sleep timer 17 inactivates the sleep input terminal of the control unit 12 and puts the control unit 12 in the sleep OFF state. Return (C). Then, the process proceeds to (7).
[0027]
Referring again to FIG. 1, during the standby on the card reader 11 side, the cryptographic processing is completed by the cryptographic processor 10 ((8)). Then, the control unit 12 of the card reader 11 that has permitted the reception process in (7) gives an instruction to respond to the result of the encryption process to the IC card 1 ((9)). Then, the CPU 4 of the IC card 1 returns the cryptographic processing result received from the cryptographic processor 10 to the card reader 11 side (10).
[0028]
Thereafter, as described above, if the control unit 12 that has received the cryptographic processing result collates the result and recognizes that the IC card 1 has the same “key”, data communication with the IC card 1 is performed. If the “key” does not match, communication is prohibited.
[0029]
As described above, according to the present embodiment, the CPU 4 of the IC card 1 operates the cryptographic processor 10 when the cryptographic processing instruction is given from the card reader 11, and the data processed by the cryptographic processor 10 is sent to the card reader 11. Send. Then, the control unit 12 of the card reader 11 performs control so that signal reception is stopped while the cryptographic processor 10 of the IC card 1 is operating. Specifically, when an encryption processing command is given, the IC card 1 notifies the card reader 11 of the time required for encryption processing, and the control unit 12 of the card reader 11 performs a signal based on the notified time. The reception of was stopped.
[0030]
That is, since the IC card 1 transmits the data processed by the cryptographic processor 10 to the card reader 11, the card reader 11 does not need to receive during the period when the cryptographic processor 10 is processing. Therefore, even if the reception is stopped during the period, there is no problem in the original communication processing, and it is possible to appropriately avoid erroneous reception of a signal on which noise generated by the operation of the cryptographic processor 10 is superimposed.
[0031]
Furthermore, since the control unit 12 of the card reader 11 sets itself to the sleep mode and stops supplying the operation clock signal during the encryption process, it is possible to further reduce wasteful power consumption.
[0032]
(Second embodiment)
FIG. 5 shows a second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted. Only different parts will be described below. The configuration of the second embodiment is basically the same as that of the first embodiment, and the communication processing sequence shown in FIG. 5 is slightly different.
[0033]
That is, the processes (1) to (8) are performed in the same manner as in FIG. In the first embodiment, the card reader 11 then transmits a result response command to the IC card 1, but in the second embodiment, the waiting time set in the process (2) by the CPU 4 of the IC card 1 is used instead. It is determined whether or not the time has elapsed (9). When the waiting time elapses (“YES”), the IC card 1 notifies the card reader 11 of the processing result as in the first embodiment (10).
In the case of the second embodiment configured as described above, the same effect as that of the first embodiment can be obtained.
[0034]
(Third embodiment)
FIG. 6 shows a third embodiment of the present invention, and only different portions from the first embodiment will be described. The configuration of the third embodiment is basically the same as that of the first embodiment, and the communication processing sequence shown in FIG. 6 is different.
[0035]
That is, the control unit 12 of the card reader 11 first sets the time estimated to be required for the encryption processing on the IC card 1 side as a waiting time (that is, the reception processing stop time) ((1)), and then the encryption The waiting time set together with the processing command (and random number) is notified to the IC card 1 ((2)). Then, when the reception process is prohibited ((3)), the process waits until the waiting time set in the process (1) elapses ((4)).
[0036]
On the other hand, when the CPU 4 of the IC card 1 that has received the notification in the process (2) causes the cryptographic processor 10 to start cryptographic processing ((5)), the notified waiting time elapses in the same manner as the card reader 11 side. Wait ((6)). When the waiting time elapses ((6), “YES”), the CPU 4 determines whether or not the cryptographic processing by the cryptographic processor 10 is actually finished at that time ((7)).
[0037]
On the card reader 11 side, when the waiting time has elapsed ((4), “YES”), the receiving process is permitted ((8)). Therefore, if the cryptographic process is actually finished in the process (7) (“YES”), the CPU 4 of the IC card 1 finishes the cryptographic process as it is ((9)) and sends the processing result to the card reader 11 side. Notify (10).
[0038]
If the time required for the actual cryptographic process is longer than the notified waiting time on the IC card 1 side (7, “NO”), the CPU 4 performs the cryptographic process by the cryptographic processor 10 at that time. Suspend (11). Then, a request for processing extension (that is, extension of the reception processing stop time) is transmitted to the card reader 11 (12), and the process returns to the step (5).
[0039]
When the control unit 12 of the card reader 11 receives the request for extending the processing in the process (12), the control unit 12 returns to the process (1), sets the waiting time once again, and repeats the above-described processing. Then, if the encryption processing is completed when the waiting time notified again by the IC card 1 has elapsed (7, “YES”), processes 9 and 10 are executed.
[0040]
As described above, according to the third embodiment, the control unit 12 of the card reader 11 notifies the IC card 1 of the waiting time for stopping reception when giving the encryption processing command, and the CPU 4 of the IC card 1 If the operation of the cryptographic processor 10 is not finished even after the time notified from the reader 11 side, the card reader 11 is requested to extend the processing time. Therefore, even when the waiting time notified by the control unit 12 is shorter than the processing time of the cryptographic processor 10, if the waiting time is extended in response to a request on the IC card 1 side, it is reliably received until the operation of the cryptographic processor 10 is completed. Can be stopped.
[0041]
The present invention is not limited to the embodiments described above and illustrated in the drawings, and the following modifications or expansions are possible.
A configuration for setting the control unit to the sleep mode while reception is stopped may be provided as necessary.
The operation mode for reducing power consumption is not limited to the one for stopping the supply of the clock signal, and may be an operation mode for reducing the frequency of the clock signal or stopping a part of the functions.
You may apply to a contact-type IC card.
Data processing unit is not limited to the cryptographic processor 10, the data to be transmitted when the processing command is given to the outside as long as it performs a predetermined processing.
[Brief description of the drawings]
FIG. 1 is a first embodiment when the present invention is applied to a non-contact type IC card system, and is a sequence diagram showing a portion related to encryption processing in communication contents performed between a card reader and an IC card. 2] Sequence diagram showing detailed processing during standby in steps (5) to (7) of FIG. 1 by the control unit of the card reader. FIG. 3 is a functional block diagram showing the electrical configuration inside the non-contact type IC card. 4 is a diagram corresponding to FIG. 3 on the card reader side. FIG. 5 is a diagram corresponding to FIG. 1 illustrating a second embodiment of the present invention. FIG. 6 is a diagram corresponding to FIG. 1 illustrating a third embodiment of the present invention.
Reference numeral 1 denotes an IC card, 11 a card reader, 10 a cryptographic processor (data processing unit), and 12 a control unit.

Claims (8)

外部より処理指令が与えられるとデータ処理部を動作させ、前記データ処理部によって処理されたデータを外部に送信するICカードと、
このICカードに前記処理指令を与えることにより前記データ処理部が動作している期間中は、信号の受信を停止するように制御する制御部を備えるカードリーダとで構成され
前記ICカードは、前記処理指令が与えられると前記カードリーダに対して前記データ処理に要する時間を通知し、
前記カードリーダの制御部は、前記ICカードによって通知された時間に基づいて信号の受信を停止することを特徴とするICカードシステム。
An IC card for operating the data processing unit when a processing command is given from the outside, and transmitting the data processed by the data processing unit to the outside;
During the period in which the data processing unit is operating by giving the processing command to the IC card, the IC card is configured with a card reader including a control unit that controls to stop signal reception ,
When the IC card is given the processing command, the IC card notifies the card reader of the time required for the data processing,
The controller of the card reader, the IC card system characterized that you stop receiving signal based on the time notified by the IC card.
外部より処理指令が与えられるとデータ処理部を動作させ、前記データ処理部によって処理されたデータを外部に送信するICカードと、
このICカードに前記処理指令を与えることにより前記データ処理部が動作している期間中は、信号の受信を停止するように制御する制御部を備えるカードリーダとで構成され、
前記カードリーダの制御部は、前記ICカードに前記処理指令を与える際に受信を停止する時間を通知し、
前記ICカードは、前記カードリーダ側より通知された時間が経過しても前記データ処理部の動作が終了していない場合は当該データ処理部の動作を中断させ、前記カードリーダに対して停止時間の延長を要求することを特徴とするICカードシステム。
An IC card for operating the data processing unit when a processing command is given from the outside, and transmitting the data processed by the data processing unit to the outside;
During the period in which the data processing unit is operating by giving the processing command to the IC card, the IC card is configured with a card reader including a control unit that controls to stop signal reception,
The control unit of the card reader notifies the time to stop reception when giving the processing command to the IC card,
The IC card interrupts the operation of the data processing unit when the operation of the data processing unit has not ended even after the time notified from the card reader has elapsed, and stops the operation time of the card reader. IC card system which is characterized that you request the extension.
前記カードリーダの制御部は、前記期間中は、消費電力が低下する動作モードに自身を設定することを特徴とする請求項1又は2記載のICカードシステム。 3. The IC card system according to claim 1, wherein the control unit of the card reader sets itself to an operation mode in which power consumption decreases during the period . 請求項1乃至3の何れかに記載のICカードシステムに使用されることを特徴とするカードリーダ。A card reader used in the IC card system according to any one of claims 1 to 3. 請求項1乃至の何れかに記載のICカードシステムに使用されることを特徴とするICカード IC card characterized in that it is used in the IC card system according to any one of claims 1 to 3. カードリーダがICカードに対して処理指令を与えると、前記ICカードはデータ処理部を動作させ、前記カードリーダは、前記処理指令を与えることにより前記データ処理部が動作している期間中は信号の受信を停止するように制御し、前記ICカードは、前記データ処理部によって処理されたデータをカードリーダに送信するICカードシステムの通信制御方法において、When the card reader gives a processing command to the IC card, the IC card operates the data processing unit, and the card reader gives a signal during the period when the data processing unit is operating by giving the processing command. In the communication control method of the IC card system, the IC card transmits the data processed by the data processing unit to the card reader.
前記ICカードは、前記処理指令が与えられると前記カードリーダに対して前記データ処理に要する時間を通知し、The IC card notifies the time required for the data processing to the card reader when the processing command is given,
前記カードリーダの制御部は、前記ICカードによって通知された時間に基づいて信号の受信を停止することを特徴とするICカードシステムの通信制御方法。The IC card system communication control method, wherein the control unit of the card reader stops signal reception based on a time notified by the IC card.
カードリーダがICカードに対して処理指令を与えると、前記ICカードはデータ処理部を動作させ、前記カードリーダは、前記処理指令を与えることにより前記データ処理部が動作している期間中は信号の受信を停止するように制御し、前記ICカードは、前記データ処理部によって処理されたデータをカードリーダに送信するICカードシステムの通信制御方法において、
前記カードリーダの制御部は、前記ICカードに前記処理指令を与える際に受信を停止する時間を通知し、
前記ICカードは、前記カードリーダ側より通知された時間が経過しても前記データ処理部の動作が終了していない場合は当該データ処理部の動作を中断させ、前記カードリーダに対して停止時間の延長を要求することを特徴とするICカードシステムの通信制御方法。
When the card reader gives a processing command to the IC card, the IC card operates the data processing unit, and the card reader gives a signal during the period when the data processing unit is operating by giving the processing command. controls reception to stop the IC card, the communication control method I C card system that sends data processed by the data processing unit to the card reader,
The control unit of the card reader notifies the time to stop reception when giving the processing command to the IC card,
The IC card interrupts the operation of the data processing unit when the operation of the data processing unit has not ended even after the time notified from the card reader has elapsed, and stops the operation time of the card reader. A communication control method for an IC card system, characterized by requesting an extension of the card.
前記カードリーダの制御部は、前記期間中は、消費電力が低下する動作モードに自身を設定することを特徴とする請求項6又は7記載のICカードシステムの通信制御方法。 8. The communication control method for an IC card system according to claim 6, wherein the control unit of the card reader sets itself to an operation mode in which power consumption decreases during the period .
JP2001394064A 2001-12-26 2001-12-26 IC card system, card reader, IC card, and IC card system communication control method Expired - Fee Related JP3848994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001394064A JP3848994B2 (en) 2001-12-26 2001-12-26 IC card system, card reader, IC card, and IC card system communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001394064A JP3848994B2 (en) 2001-12-26 2001-12-26 IC card system, card reader, IC card, and IC card system communication control method

Publications (2)

Publication Number Publication Date
JP2003196612A JP2003196612A (en) 2003-07-11
JP3848994B2 true JP3848994B2 (en) 2006-11-22

Family

ID=27600902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001394064A Expired - Fee Related JP3848994B2 (en) 2001-12-26 2001-12-26 IC card system, card reader, IC card, and IC card system communication control method

Country Status (1)

Country Link
JP (1) JP3848994B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720438B2 (en) * 2005-03-30 2010-05-18 Nokia Corporation Reducing power consumption of a short-range wireless communication reader associated with a mobile terminal
JP4784189B2 (en) * 2005-07-26 2011-10-05 ソニー株式会社 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD, INFORMATION TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM
WO2008053789A1 (en) 2006-10-31 2008-05-08 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device
JP5100310B2 (en) * 2006-10-31 2012-12-19 株式会社半導体エネルギー研究所 Semiconductor device
JP4553041B2 (en) * 2008-08-05 2010-09-29 ソニー株式会社 COMMUNICATION DEVICE, READER / WRITER, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD

Also Published As

Publication number Publication date
JP2003196612A (en) 2003-07-11

Similar Documents

Publication Publication Date Title
JP2822624B2 (en) Non-contact IC card
KR100705522B1 (en) Ic card with built-in coprocessor for auxiliary arithmetic, and control method thereof
JP3631958B2 (en) Non-contact proximity automatic data collection system and method
JP5341964B2 (en) Fully simultaneous information about state changes of dual interface objects
EP1632836A2 (en) Information processing apparatus and method, program, and recording medium
JP2018530812A (en) Power optimization
US20190236321A1 (en) Voltage regulation
JP2003195986A (en) Electronic equipment
US9107238B2 (en) Information processing device, information processing method, and program
US20140359312A1 (en) Power on with near field communication
JP4079455B2 (en) Transponder that transmits processed data to a base station over a long distance at a high data transfer rate
JP3848994B2 (en) IC card system, card reader, IC card, and IC card system communication control method
JP2000163524A (en) Information processing system for non-contact information storage medium
JP2004078495A (en) Non-contact ic card
JP2003162700A (en) Operation control method and program of semiconductor device, record medium recording the operation control program of semiconductor device, semiconductor device, and ic card
JP2007199895A (en) Data processor for proximity communication
CN112752244A (en) User equipment using NFC, authentication system and operation method thereof
JP2003317072A (en) Tag, authenticating device and computer program
JP2007520794A (en) Resistant to fluctuations in limited resources supplied to objects with dual interfaces
WO2019042260A1 (en) Power-on control method, ap chip and mobile terminal
JP7200952B2 (en) Information processing device, information processing method, and program
JP2003018043A (en) Communication unit
JP2000322544A (en) Portable electronic device
JPH045783A (en) Ic card data read write device and ic card
JPH1125231A (en) Maintenance device and method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060613

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060619

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: 20060711

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060724

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130908

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees