[go: up one dir, main page]

JPH06161354A - Ic card terminal and system using the same - Google Patents

Ic card terminal and system using the same

Info

Publication number
JPH06161354A
JPH06161354A JP4317255A JP31725592A JPH06161354A JP H06161354 A JPH06161354 A JP H06161354A JP 4317255 A JP4317255 A JP 4317255A JP 31725592 A JP31725592 A JP 31725592A JP H06161354 A JPH06161354 A JP H06161354A
Authority
JP
Japan
Prior art keywords
terminal
card
time stamp
information
update information
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
JP4317255A
Other languages
Japanese (ja)
Inventor
Ginya Ishiguro
銀矢 石黒
Toshiyasu Muta
敏保 牟田
Kazutaka Sakida
一貴 崎田
Shoji Miyaguchi
庄司 宮口
Tatsuaki Okamoto
龍明 岡本
Atsushi Fujioka
淳 藤岡
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP4317255A priority Critical patent/JPH06161354A/en
Priority to US08/119,850 priority patent/US5396558A/en
Priority to DE69322463T priority patent/DE69322463T2/en
Priority to DE69332745T priority patent/DE69332745T2/en
Priority to EP98104504A priority patent/EP0856822B1/en
Priority to EP98104503A priority patent/EP0856821A3/en
Priority to EP93114917A priority patent/EP0588339B1/en
Publication of JPH06161354A publication Critical patent/JPH06161354A/en
Priority to US08/331,745 priority patent/US5502765A/en
Priority to US08/331,735 priority patent/US5446796A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

(57)【要約】 (修正有) 【目的】 ICカード端末を用いた不正使用を防止す
る。 【構成】 ICカード2をICカード端末1に挿入する
と、ICカードから残金額Vと前回使用した端末の番号
IDT、タイムスタンプ情報stの更新回数を示す回数
t、公開鍵nT、タイムスタンプの署名ST(st)と
が端末へ送信される。盗難端末の番号と一致するものが
なければVが利用者により指定されたサービス料金より
高ければサービスを提供。サービス終了後Vから使用料
金を引いた残りV′と、その端末のIDT′、更新情報
t′、端末鍵pT′,qT′によるタイムスタンプ情報
st′に対するデジタル署名ST′(st′)、公開鍵
nT′とをICカードへ送る。端末リストのIDT初期
値を、受信したtだけ繰り返し演算してタイムスタンプ
情報を更新これと鍵nTとにより署名STの正当性を検
証、正当でなければ異常カードとし、正当であれば、I
Cカードが端末で使用された時期を判定する。
(57) [Summary] (Modified) [Purpose] To prevent unauthorized use of IC card terminals. [Structure] When the IC card 2 is inserted into the IC card terminal 1, the remaining amount V from the IC card, the number IDT of the terminal used last time, the number t indicating the number of times of updating the time stamp information st, the public key nT, and the signature of the time stamp ST (st) is transmitted to the terminal. Provide the service if V is higher than the service charge specified by the user unless there is a match with the stolen terminal number. After the service ends, the remaining V'after subtracting the usage charge from V, the IDT 'of the terminal, the update information t', the digital signature ST '(st') for the time stamp information st 'by the terminal keys pT', qT ', and the disclosure Send the key nT 'to the IC card. The IDT initial value in the terminal list is repeatedly calculated for the received t to update the time stamp information, and the validity of the signature ST is verified with this and the key nT.
Determine when the C card was used in the terminal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はICカードをプリペイ
ドカード、クレジットカード、スタンプカードなどとし
て使用するシステム、及びそのICカード端末に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system using an IC card as a prepaid card, a credit card, a stamp card, etc., and an IC card terminal for the system.

【0002】[0002]

【従来の技術】従来この種のシステムは、ICカードと
ICカード端末とが同じ暗号方式で、同じ秘密鍵を持
ち、金額情報をこの秘密鍵で暗号化して通信し、各々の
秘密鍵はICカードやICカード端末の内部を開けて
も、秘密鍵を見たり、改ざんしたりできないようにして
いた。したがって、秘密鍵が漏洩しない限りICカード
の内容を改ざんすることはほとんど不可能であった。
2. Description of the Related Art Conventionally, in this type of system, an IC card and an IC card terminal have the same encryption method and have the same secret key, and the amount information is encrypted by this secret key for communication, and each secret key is an IC. Even if the inside of the card or IC card terminal was opened, the private key could not be viewed or tampered with. Therefore, it is almost impossible to falsify the contents of the IC card unless the private key is leaked.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、盗んだ
ICカード端末を用いてICカードの内容を不正に書き
換えることは不可能とは言えず、一旦可能となった場合
にはシステムダウンといった重大な影響を及ぼす危険性
がある。
However, it cannot be said that it is impossible to illegally rewrite the contents of the IC card by using the stolen IC card terminal, and once it is possible, a serious effect such as system down will occur. There is a risk of causing

【0004】[0004]

【課題を解決するための手段】請求項1の発明は端末を
特定するための端末番号、適当な間隔で所定のアルゴリ
ズムにより更新されるタイムスタンプ情報、そのタイム
スタンプ情報の更新回数を表す更新情報、デジタル署名
を作成するための端末鍵、そのデジタル署名を検証する
ための公開鍵を記録したメモリ、管理センタから受信し
た端末番号、タイムスタンプ情報の初期値、更新情報を
端末リストとして記録するためのメモリ、ICカードか
ら受信した端末番号と前記端末リストに記録している端
末番号との比較を行い、一致したとき端末リストに記録
しているその端末番号に対応するタイムスタンプ情報の
初期値をICカードから受信した更新情報にしたがい前
記所定のアルゴリズムにより更新し、その更新したタイ
ムスタンプ情報とICカードから受信した公開鍵とによ
り受信したデジタル署名の検証を行い、正当と判断した
とき、受信した更新情報と端末リストに記録しているそ
の端末番号に対応する更新情報との比較を行い、そのI
Cカードが受信した端末番号のICカード端末で使用さ
れた時期を判断する手段を持つICカード端末である。
According to a first aspect of the present invention, a terminal number for identifying a terminal, time stamp information updated by a predetermined algorithm at appropriate intervals, and update information indicating the number of times the time stamp information is updated. To record the terminal key for creating the digital signature, the memory that stores the public key for verifying the digital signature, the terminal number received from the management center, the initial value of the time stamp information, and the update information as the terminal list. The terminal number received from the memory of the IC card and the terminal number recorded in the terminal list are compared, and when they match, the initial value of the time stamp information corresponding to the terminal number recorded in the terminal list is calculated. According to the update information received from the IC card, it is updated by the above predetermined algorithm, and the updated time stamp information and When the digital signature received is verified by the public key received from the C card and it is judged to be valid, the received update information is compared with the update information corresponding to the terminal number recorded in the terminal list, That I
It is an IC card terminal having means for judging the time when the C card is used by the IC card terminal having the received terminal number.

【0005】請求項2の発明によれば請求項1の発明の
ICカード端末と、ICカード端末での使用後に、その
ICカード端末の前記端末番号、前記更新情報、前記タ
イムスタンプ情報を含む情報に対するデジタル署名、前
記公開鍵を受信してメモリに記録する手段、次の使用時
に、前記メモリに記録している端末番号、更新情報、デ
ジタル署名、公開鍵をICカード端末へ送信する手段を
持つICカードと、各ICカード端末の端末番号、タイ
ムスタンプ情報の初期値および更新情報を管理するデー
タベース、ICカード端末がそのタイムスタンプ情報を
更新するごとにそのICカード端末から更新情報を受信
し、その端末番号に対応して記録している更新情報を受
信した更新情報に置き換える手段を持つ管理センタとに
よりICカードシステムが構成されている。
According to the invention of claim 2, the information including the IC card terminal of the invention of claim 1 and the terminal number of the IC card terminal, the update information, and the time stamp information after being used in the IC card terminal. , A means for receiving the public key and recording it in the memory, and means for transmitting the terminal number, update information, digital signature, and public key recorded in the memory to the IC card terminal at the next use. An IC card, a terminal number of each IC card terminal, a database that manages initial values and update information of time stamp information, and each time the IC card terminal updates its time stamp information, receives update information from the IC card terminal, The IC card system is operated by the management center having means for replacing the update information recorded corresponding to the terminal number with the received update information. Temu is configured.

【0006】[0006]

【作用】このように構成しているから、ICカードを使
用したとき、ICカード内の所定のメモリエリアに、使
用したICカード端末の端末番号、そのICカード端末
が作成したデジタル署名を検証するための公開鍵、使用
時点のタイムスタンプ情報に対してそのICカード端末
が作成したデジタル署名、そのタイムスタンプ情報の更
新情報とを記録する。次に別のICカード端末で使用し
たとき、ICカードは前記メモリに記録した情報をIC
カード端末へ送信し、ICカード端末は受信した端末番
号から前回使用したICカード端末を特定する。その端
末番号とICカード端末内の端末リストに登録されてい
る端末番号との比較を行い、一致するものがあるとき、
その端末リストに登録されているその端末番号に対応し
たタイムスタンプ情報の初期値と更新情報を読み出し、
そのタイムスタンプ情報の初期値をICカードから受信
した更新情報にしたがって所定のアルゴリズムにより更
新して前回使用した時点でのICカード端末のタイムス
タンプ情報を求める。その求めたタイムスタンプ情報と
ICカードから受信した公開鍵とによりタイムスタンプ
情報に対するデジタル署名の正当性を検証し、ICカー
ドから受信した更新情報が正しい値であることをチェッ
クする。その更新情報が正当であるとき、その更新情報
と前記端末リストに記録されている更新情報を比較し、
ICカードの前記端末リストに登録されているICカー
ド端末での使用時期が、前記端末リストに端末番号を登
録した時点よりも以前か、以後かを判断する。デジタル
署名の検証において正当性を検証できなかったときに
は、ICカードから受信した更新情報あるいはデジタル
署名が正規の情報ではないと判断し、異常カードとして
処理する。さらに、管理センタでICカード端末の端末
番号を指定すれば、その端末番号のICカード端末のタ
イムスタンプ情報の初期値、その時点での更新情報を知
ることができ、それらの情報をICカード端末の端末リ
ストに登録することができる。
With this configuration, when the IC card is used, the terminal number of the IC card terminal used and the digital signature created by the IC card terminal are verified in a predetermined memory area in the IC card. A public key for recording, a digital signature created by the IC card terminal for time stamp information at the time of use, and update information of the time stamp information are recorded. Next, when the IC card is used in another IC card terminal, the IC card stores the information recorded in the memory in the IC.
The IC card terminal transmits to the card terminal, and the IC card terminal identifies the IC card terminal used last time from the received terminal number. When that terminal number is compared with the terminal number registered in the terminal list in the IC card terminal, and there is a match,
Read the initial value and update information of the time stamp information corresponding to the terminal number registered in the terminal list,
The initial value of the time stamp information is updated by a predetermined algorithm according to the update information received from the IC card, and the time stamp information of the IC card terminal at the time of the previous use is obtained. The validity of the digital signature for the time stamp information is verified by the obtained time stamp information and the public key received from the IC card, and it is checked that the update information received from the IC card has a correct value. When the update information is valid, the update information is compared with the update information recorded in the terminal list,
It is determined whether or not the IC card is used in the IC card terminal registered in the terminal list before or after the time when the terminal number is registered in the terminal list. When the authenticity cannot be verified in the verification of the digital signature, it is determined that the update information or the digital signature received from the IC card is not legitimate information and is processed as an abnormal card. Furthermore, by specifying the terminal number of the IC card terminal at the management center, the initial value of the time stamp information of the IC card terminal of that terminal number and the update information at that time can be known, and such information can be obtained from the IC card terminal. Can be registered in the terminal list of.

【0007】[0007]

【実施例】次に図を参照してこの発明の一実施例をプリ
ペイドカードシステムに適用した場合につき説明する。
図1は請求項2の発明の一実施例のシステム構成の説明
図であって、ICカード端末1はICカード2により料
金処理を実施し、通話など各種サービスを提供する。管
理センタ3はICカード端末1の端末番号などを管理
し、ICカード端末1の電話番号へ発呼することにより
ICカード端末1と管理センタ3とは通信網4を介して
接続され、情報を送信することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a case where one embodiment of the present invention is applied to a prepaid card system will be described with reference to the drawings.
FIG. 1 is an explanatory diagram of a system configuration of an embodiment of the invention of claim 2, in which an IC card terminal 1 carries out charge processing by an IC card 2 and provides various services such as a telephone call. The management center 3 manages the terminal number of the IC card terminal 1 and the like, and by calling the telephone number of the IC card terminal 1, the IC card terminal 1 and the management center 3 are connected via the communication network 4 and information is transmitted. Can be sent.

【0008】図2は請求項1の発明のICカード端末1
の内部構成を示す図であり、制御部11はCPUからな
り、処理手順、タイムスタンプ情報を更新するためのア
ルゴリズム、デジタル署名を作成するためのアルゴリズ
ムなどのプログラムを内部のROMに記録しているとと
もに、端末番号、タイムスタンプ情報、タイムスタンプ
情報の更新情報、デジタル署名を作成するための端末
鍵、デジタル署名を検証するための公開鍵などを内部R
AMに記録している。タイムスタンプ情報を更新するア
ルゴリズムとしては、例えば「電子情報通信学会論文誌
D分冊,J70−D,No.7,p.1413〜142
3(1987)」に記載のFEALを用いてもよく、デ
ジタル署名のアルゴリズムとしては、例えば「NTT
R&D Vol.40,No.5,p.687〜696
(1991)」に記載のESIGNを用いることができ
る。端末番号、タイムスタンプ情報の初期値、端末鍵、
公開鍵は、ICカード端末設置時に、通信網を介して管
理センタ3(図示せず)と接続し、管理センタ3から受
信してメモリに記録してもよく、ICカード端末製造時
に予め設定してもよい。更新情報は例えば初期値として
0を設定し、タイムスタンプ情報を更新するごとに1,
2,…と増加していく。また、内部RAMには特定のI
Cカード端末の端末番号、タイムスタンプ情報の初期
値、更新情報を登録するための端末リストエリアが設け
られている。ICカード2とデータのやりとりを行うI
Cカードリーダライタ部12、操作ボタン、ダイヤルボ
タンなどからなる操作入力部13、液晶ディスプレイか
らなる表示部14、通話回路15は制御部11に接続さ
れ、通話回路15に送受器16が接続され、通信網との
処理を行う通信処理部17が制御部11に接続されてい
る。
FIG. 2 shows an IC card terminal 1 according to the first aspect of the invention.
FIG. 9 is a diagram showing the internal configuration of the control unit 11 including a CPU, and programs such as a processing procedure, an algorithm for updating time stamp information, and an algorithm for creating a digital signature are recorded in an internal ROM. In addition, the terminal number, time stamp information, update information of time stamp information, terminal key for creating digital signature, public key for verifying digital signature, etc.
It is recorded in AM. As an algorithm for updating the time stamp information, for example, "The Institute of Electronics, Information and Communication Engineers, Journal D Volume, J70-D, No. 7, p.
3 (1987) ”, and the digital signature algorithm is, for example,“ NTT ”.
R & D Vol. 40, No. 5, p. 687-696
(1991) ”described in ESIGN can be used. Terminal number, initial value of time stamp information, terminal key,
The public key may be connected to a management center 3 (not shown) via a communication network when the IC card terminal is installed, received from the management center 3 and recorded in a memory. May be. For the update information, for example, 0 is set as the initial value, and 1 is set every time the time stamp information is updated.
2, ... will increase. In addition, a specific I
A terminal list area for registering the terminal number of the C card terminal, the initial value of the time stamp information, and the update information is provided. I exchange data with IC card 2
The C card reader / writer section 12, the operation input section 13 including operation buttons and dial buttons, the display section 14 including a liquid crystal display, the call circuit 15 are connected to the control section 11, and the handset 16 is connected to the call circuit 15. A communication processing unit 17 that performs processing with a communication network is connected to the control unit 11.

【0009】図3はICカード2の内部構成を示す図で
あり、ICカードの処理手順、デジタル署名の検証のた
めのアルゴリズム等のプログラムはROM61に記録さ
れ、CPU63はワークエリアとしてRAM62を利用
してすべての制御を行い、図2に示したICカード端末
1のICカードリーダライタ部12との通信は通信部6
5により接点66を介して行われる。金額情報はICカ
ード2の発行時にICカード発行機(図示せず)によっ
て書き込まれ、EEPROM64に記録されている。
FIG. 3 is a diagram showing the internal structure of the IC card 2. A program such as an IC card processing procedure and an algorithm for verifying a digital signature is recorded in the ROM 61, and the CPU 63 uses the RAM 62 as a work area. 2 to perform all control, and communication with the IC card reader / writer unit 12 of the IC card terminal 1 shown in FIG.
5 via contact 66. The money amount information is written by the IC card issuing machine (not shown) when the IC card 2 is issued, and recorded in the EEPROM 64.

【0010】図1から図3の構成において、ICカード
端末1に設定した端末番号、タイムスタンプ情報の初期
値、更新情報は管理センタ3に登録される。ICカード
端末1に設定したタイムスタンプ情報(初期値)は内部
の時計機能により、例えば1日ごとに所定のアルゴリズ
ムにより更新され、s0→s1→s2→…st…のごと
く新しいタイムスタンプ情報に置き換えられ、前のタイ
ムスタンプ情報は消滅する。このタイムスタンプ情報の
更新は1定周期ごとでなくてもよく、つまり非周期的で
もよい。タイムスタンプ情報を更新するごとに、更新し
た回数を更新情報として置き換える各タイムスタンプ情
報と更新情報とが対応していればよく、つまりタイムス
タンプ情報は単なる記号で、数量でなくても各更新回数
とタイムスタンプ情報とが1対1で対応していればよ
い。更新情報を更新したとき、ICカード端末1から管
理センタ3に自動発信し、端末番号と更新した更新情報
を送信する。管理センタ3は登録されている対応端末番
号の更新情報を、受信した更新情報に置き換える。な
お、タイムスタンプ情報を更新する所定のアルゴリズム
としては、現在のタイムスタンプ情報から、前のタイム
スタンプ情報を求めることができないようなアルゴリズ
ムとすることが必要である。また、管理センタ3に登録
されたタイムスタンプ情報の初期値は更新されない。こ
のような状態において、ICカード端末の盗難が発生し
た時、管理センタ3は盗まれたICカード端末の端末番
号から、そのICカード端末のタイムスタンプ情報の初
期値、盗まれた時点のタイムスタンプ情報の更新情報を
知ることができ、それらの情報は管理センタ3からダウ
ンロードにより全ICカード端末1の端末リストに登録
される。
1 to 3, the terminal number set in the IC card terminal 1, the initial value of the time stamp information, and the update information are registered in the management center 3. The time stamp information (initial value) set in the IC card terminal 1 is updated by an internal clock function, for example, by a predetermined algorithm every day, and replaced with new time stamp information such as s0 → s1 → s2 → ... st. The previous time stamp information disappears. The update of the time stamp information does not have to be performed every fixed period, that is, it may be aperiodic. Every time the time stamp information is updated, the number of updates is replaced with the update information as long as the time stamp information corresponds to the update information. In other words, the time stamp information is a mere symbol, and even if it is not a quantity, each update number The time stamp information and the time stamp information have a one-to-one correspondence. When the update information is updated, the IC card terminal 1 automatically makes a call to the management center 3 and transmits the terminal number and the updated update information. The management center 3 replaces the update information of the registered corresponding terminal number with the received update information. The predetermined algorithm for updating the time stamp information needs to be an algorithm such that the previous time stamp information cannot be obtained from the current time stamp information. Further, the initial value of the time stamp information registered in the management center 3 is not updated. In such a state, when the IC card terminal is stolen, the management center 3 starts from the terminal number of the stolen IC card terminal to the initial value of the time stamp information of the IC card terminal and the time stamp at the time of the theft. The information update information can be known, and the information is registered in the terminal list of all IC card terminals 1 by downloading from the management center 3.

【0011】図4は利用者がICカード2を使ってIC
カード端末1からサービスを受けるときの処理を説明す
る図である。ICカード2のEEPROM64の所定の
エリアに金額情報Vが記録され、他の所定のエリアには
前回使用したICカード端末の端末番号IDT、公開鍵
nT、更新情報t、タイムスタンプ情報に対するデジタ
ル署名ST(st)が記録されている。また、ICカー
ド端末1の制御部11内のRAMの所定のエリアに端末
番号IDT′、デジタル署名用の端末鍵pT′,q
T′、公開鍵nT′が記録され、他の所定のエリアには
タイムスタンプ情報sT′、更新情報t′が記録されて
いる。更に、ICカード端末1の端末リストには、特定
の端末の端末番号IDTi (i=1,2,…)、タイム
スタンプ情報の初期値si 0、更新情報ti が記録され
ている。
In FIG. 4, the user uses the IC card 2 to IC
It is a figure explaining the process at the time of receiving a service from the card terminal 1. The money amount information V is recorded in a predetermined area of the EEPROM 64 of the IC card 2, and the terminal number IDT of the IC card terminal used last time, the public key nT, the update information t, and the digital signature ST for the time stamp information are recorded in other predetermined areas. (St) is recorded. Further, a terminal number IDT 'and a digital signature terminal key pT', q are provided in a predetermined area of the RAM in the control unit 11 of the IC card terminal 1.
T'and public key nT 'are recorded, and time stamp information sT' and update information t'are recorded in other predetermined areas. Furthermore, the terminal number IDT i (i = 1, 2, ...) Of the specific terminal, the initial value s i 0 of the time stamp information, and the update information t i are recorded in the terminal list of the IC card terminal 1.

【0012】利用者がICカード2をICカード端末1
のICカードリーダライタ部12に挿入するとICカー
ド2からICカード端末1にV,IDT,t,nT,S
T(st)が送信される。ICカード端末1は受信した
IDTと端末リスト内のデータIDTi との比較を行
い、一致するものがない場合にはV及びガイダンスを表
示部に表示する。利用者は表示部14に表示されたガイ
ダンスを参照して、操作入力部13からダイヤルなどに
よりサービスを指定すると、ICカード端末1は指定さ
れたサービスの料金を制御部11内のメモリに記憶され
ているリストの中から読み取るか、あるいは、通信網4
を介して図示していないサービスセンタから受信し、こ
の必要なサービス料金と残金額Vを比較して、Vが大き
ければサービスの提供を開始する。たとえば、電話サー
ビスであれば残金額が10円以上であればダイヤル指示
を表示部14に表示し、利用者のダイヤルに従って相手
に発信する。利用者がサービスの提供を受け、例えば相
手との通話が終ったサービス終了後は、ICカード端末
1は制御部11内のメモリにあるサービス料金結果ある
いはサービスセンタから送信されるサービス料金結果を
前記残金額Vから減算して新しい残金額V′を求め、タ
イムスタンプ情報st′に対してデジタル署名ST′
(st′)を端末鍵pT′,qT′で作成し、ID
T′,V′,t′,nT′ST′(st′)をICカー
ド2へ送信する。ICカード2は残金額V′とともにI
Cカード端末1から受信した情報をEEPROM64に
記録する。
The user inserts the IC card 2 into the IC card terminal 1
When it is inserted into the IC card reader / writer unit 12 of the above, V, IDT, t, nT, S from the IC card 2 to the IC card terminal 1
T (st) is transmitted. The IC card terminal 1 compares the received IDT with the data IDT i in the terminal list, and if there is no match, displays V and guidance on the display unit. When the user refers to the guidance displayed on the display unit 14 and designates a service from the operation input unit 13 by dialing or the like, the IC card terminal 1 stores the fee for the designated service in the memory in the control unit 11. Read from the list, or communication network 4
The service charge is received from a service center (not shown) via the, and the required service charge is compared with the remaining amount V, and if V is large, the service provision is started. For example, in the case of a telephone service, if the remaining amount of money is 10 yen or more, a dial instruction is displayed on the display unit 14, and the user is dialed to make a call. When the user receives the service and, for example, the service ends when the call with the other party ends, the IC card terminal 1 displays the service charge result stored in the memory in the control unit 11 or the service charge result transmitted from the service center. A new remaining amount V'is obtained by subtracting from the remaining amount V, and the digital signature ST 'is added to the time stamp information st'.
(St ') is created with the terminal keys pT' and qT ', and the ID
T ', V', t ', nT'ST' (st ') are transmitted to the IC card 2. The IC card 2 is I together with the remaining amount V '.
The information received from the C card terminal 1 is recorded in the EEPROM 64.

【0013】上記の処理において、ICカード端末1が
受信したIDTと一致するデータが端末リスト内のデー
タIDTi にあった場合には、次の処理を行う。 IDT1 が一致した端末番号とすると、端末リスト内
の一致した端末番号に対応するタイムスタンプ情報の初
期値s1 0を、ICカード端末1のプログラムとして記
録されている所定のアルゴリズムにより、ICカード2
から受信した更新情報tに従い、その更新回数だけ繰り
返し演算を行い、このtと対応したタイムスタンプ情報
s,tを求める。
In the above processing, when the data matching the IDT received by the IC card terminal 1 is in the data IDT i in the terminal list, the following processing is performed. When IDT 1 is the matched terminal number, the initial value s 10 of the time stamp information corresponding to the matched terminal number in the terminal list is used by the predetermined algorithm recorded as the program of the IC card terminal 1 in the IC card. Two
According to the update information t received from, the calculation is repeated for the number of times of update, and the time stamp information s, t corresponding to this t is obtained.

【0014】 s1 0→s1 1→s1 2 …………→s1 t この演算により求めたタイムスタンプ情報st1 と、
ICカード2から受信した公開鍵nTとによりデジタル
署名ST(st)の正当性の検証を行う。 正当性が検証できなかった場合には、異常カードとし
て処理を中止し、ICカード2を返却する。 正当性が検証できた場合には、端末リスト内の一致し
た端末番号IDT1 に対応する更新情報t1 と、ICカ
ード2から受信した更新情報tとの比較を行う。 t≦t1 の場合には、そのtはIDT1 ,s1 0,t
1 が端末リストに登録される前の更新情報であると、す
なわちそのICカードは、そのIDT1 のICカード端
末が盗難される前にそのICカード端末でデータ(端末
番号、更新情報、公開鍵、デジタル署名されたタイムス
タンプ情報)が更新されたICカードであると判断さ
れ、正当なものとして以降の処理を行う。 t>t1 の場合には、そのt1 は、IDT1 ,s
1 0,t1 が端末リストに登録された後の更新情報であ
ると、すなわちそのICカードは、そのIDT1 のIC
カード端末が盗難された後にそのICカード端末でデー
タが更新されたICカードであると判断され、不正カー
ドとして処理を中止し、返却あるいはICカード端末内
への留置処理を行う。
S 1 0 → s 1 1 → s 1 2 ………… → s 1 t The time stamp information st 1 obtained by this calculation,
The validity of the digital signature ST (st) is verified with the public key nT received from the IC card 2. If the validity cannot be verified, the processing is stopped as an abnormal card, and the IC card 2 is returned. When the validity can be verified, the update information t 1 corresponding to the matching terminal number IDT 1 in the terminal list is compared with the update information t received from the IC card 2. If t ≦ t 1 , then t is IDT 1 , s 1 0, t
If 1 is update information before being registered in the terminal list, that is, the IC card has data (terminal number, update information, public key) at the IC card terminal before the IC card terminal of IDT 1 is stolen. , The digital signature time stamp information) is determined to be an updated IC card, and the subsequent processing is performed as a valid IC card. If t> t 1 , the t 1 is IDT 1 , s
If 10 and t 1 are update information after being registered in the terminal list, that is, the IC card is the IC of the IDT 1 .
After the card terminal is stolen, the IC card terminal determines that the IC card has the updated data, the processing is stopped as an illegal card, and the card is returned or detained in the IC card terminal.

【0015】図5はこの発明の他の実施例を説明する図
であって、ICカード2のROM61にはデジタル署名
を作成するためのアルゴリズム、乱数を生成するための
アルゴリズムが記録されている。また、ICカード2の
EEPROM64にはカード番号IDU、デジタル署名
を作成するためのカード鍵pU,qU,デジタル署名を
検証するための公開鍵nUが記録されている。EEPR
OM64の所定のエリアには前回使用したICカード端
末の端末番号IDT、公開鍵nT、更新情報t、前回の
使用時に生成された乱数RおよびX、とともにこれら乱
数R,X、金額情報V、カード番号IDUに対して前回
使用したICカード端末が作成した第1のデジタル署名
ST(R*X*V*IDU)、そのデジタル署名および
タイムスタンプ情報stに対して前回使用したICカー
ド端末が作成した第2のデジタル署名ST(st*ST
(R*X*V*IDU))が記録されている。また、I
Cカード端末1の制御部11内のROMには乱数を生成
するためのアルゴリズムが記録されている。
FIG. 5 is a diagram for explaining another embodiment of the present invention. In the ROM 61 of the IC card 2, an algorithm for creating a digital signature and an algorithm for generating a random number are recorded. In the EEPROM 64 of the IC card 2, a card number IDU, card keys pU and qU for creating a digital signature, and a public key nU for verifying the digital signature are recorded. EEPR
In the predetermined area of the OM 64, the terminal number IDT of the IC card terminal used last time, the public key nT, the update information t, the random numbers R and X generated at the time of the last use, together with the random number R, X, the amount information V, the card. The first digital signature ST (R * X * V * IDU) created by the IC card terminal used last for the number IDU, and the IC card terminal used last for the digital signature and time stamp information st Second digital signature ST (st * ST
(R * X * V * IDU)) is recorded. Also, I
An algorithm for generating random numbers is recorded in the ROM in the control unit 11 of the C card terminal 1.

【0016】利用者がICカード2をICカード端末1
のICカードリーダライタ部12に挿入すると、ICカ
ード2からICカード端末1に前回使用情報であるR,
X,V,IDU、第1のデジタル署名、IDT,t,n
T、第2のデジタル署名が送信される。ICカード端末
1は受信したnTにより第1のデジタル署名の正当性を
検証する。正当であれば、受信した端末番号IDTと端
末リスト内のデータとの比較を行い、一致するものがな
い場合には乱数R′を生成しICカードへ送信する。I
Cカードでは乱数X′を生成するとともにR′,X′,
Vに対して鍵pU,qUによりデジタル署名SU(R′
*X′*V)を作成し、X′,SU(R′*X′*
V)、nUをICカード端末1へ送信する。ICカード
端末1では受信した公開鍵nUによりデジタル署名SU
(R′*X′*V)の正当性を検証する。正当であれば
Vを表示部に表示し所定のサービスを提供する。そのサ
ービス終了後、新しい残金額V′を求め、R′,X′,
V′,IDUに対して鍵pT′,qT′により第1のデ
ジタル署名ST′(R′*X′*V′*IDU)を作成
するとともに、タイムスタンプ情報st′と第1のデジ
タル署名に対して第2のデジタル署名ST′(st′*
ST(R′*X′*V′*IDU))を作成し、V′,
IDT′,nT,t′、第1のデジタル署名、第2のデ
ジタル署名をICカード2へ送信する。ICカード2は
受信したnT′により受信した第1のデジタル署名の検
証を行い、正当であれば受信した情報を所定のエリアに
記録する。以上の手順でデジタル署名の正当性が検証で
きなかった場合にはその時点で処理を中止し、ICカー
ド2を返却する。
The user inserts the IC card 2 into the IC card terminal 1
When it is inserted into the IC card reader / writer unit 12 of the above, the R, which is the last use information, from the IC card 2 to the IC card terminal 1,
X, V, IDU, first digital signature, IDT, t, n
T, the second digital signature is transmitted. The IC card terminal 1 verifies the validity of the first digital signature by the received nT. If it is valid, the received terminal number IDT is compared with the data in the terminal list, and if there is no match, a random number R'is generated and transmitted to the IC card. I
In the C card, a random number X'is generated and R ', X',
A digital signature SU (R '
* X '* V) is created and X', SU (R '* X' *
V) and nU are transmitted to the IC card terminal 1. The IC card terminal 1 receives the digital signature SU using the received public key nU.
Verify the correctness of (R '* X' * V). If it is valid, V is displayed on the display unit to provide a predetermined service. After the service ends, a new remaining amount V'is obtained and R ', X',
A first digital signature ST '(R' * X '* V' * IDU) is created for the V'and IDU using the keys pT 'and qT', and the time stamp information st 'and the first digital signature are added. On the other hand, the second digital signature ST ′ (st ′ *
ST (R ′ * X ′ * V ′ * IDU)) is created, and V ′,
The IDT ′, nT, t ′, the first digital signature and the second digital signature are transmitted to the IC card 2. The IC card 2 verifies the received first digital signature by the received nT ′, and if it is valid, records the received information in a predetermined area. If the validity of the digital signature cannot be verified by the above procedure, the process is stopped at that point and the IC card 2 is returned.

【0017】上記の処理において、ICカード端末1が
受信したIDTと一致するデータが端末リスト内のデー
タIDTi にあった場合には、前述した処理と同様の処
理を行う。この実施例では情報の送受に相互に生成した
乱数を使用しているため信号の内容は同一となることは
なく、傍受した信号を利用した不正を防止することがで
きる。また、相互にデジタル署名を作成して相互認証を
行っているためセキュリティをより高めることができ
る。なお情報の数が多い程、セキュリティが高くなる
が、カード番号IDUを省略しても図4の場合より可成
りよくなる。
In the above processing, when the data matching the IDT received by the IC card terminal 1 is in the data IDT i in the terminal list, the same processing as the above-mentioned processing is performed. In this embodiment, since the mutually generated random numbers are used for transmitting and receiving the information, the contents of the signals are not the same, and it is possible to prevent the illegal use of the intercepted signals. In addition, since digital signatures are mutually created and mutual authentication is performed, security can be further enhanced. It should be noted that the greater the number of information, the higher the security, but even if the card number IDU is omitted, it becomes considerably better than in the case of FIG.

【0018】以上の説明において、ICカード端末1お
よびICカード2はそれぞれ端末番号およびカード番号
のみメモリに記録しているように説明してきたが、特定
の鍵情報によって端末番号およびカード場合のデジタル
署名を作成し、そのデジタル署名を検証鍵とともに各々
のメモリに記録しておき、端末番号あるいはカード番号
とともにそのデジタル署名、検証鍵も一緒に送信し、検
証鍵によりデジタル署名を検証することにより端末番号
あるいはカード番号の正当性を検証するように構成すれ
ばセキュリティをより高めることができる。
In the above description, it has been explained that the IC card terminal 1 and the IC card 2 respectively record only the terminal number and the card number in the memory, but the digital signature in the case of the terminal number and the card is specified by the specific key information. Create a digital signature, record the digital signature in each memory together with the verification key, send the digital signature and verification key together with the terminal number or card number, and verify the digital signature with the verification key to obtain the terminal number. Alternatively, the security can be further enhanced by configuring to verify the validity of the card number.

【0019】また、ICカード2およびICカード端末
1に送信情報の暗号化・復号化のためのアルゴリズムと
暗号化および復号化のための共通の鍵をメモリに記憶し
ておくことにより、相互の通信を暗号通信により行うこ
とができ、よりセキュリティを高めることができる。
Further, the IC card 2 and the IC card terminal 1 store an algorithm for encryption / decryption of transmission information and a common key for encryption / decryption in a memory so that they can be mutually exchanged. Communication can be performed by cipher communication, and security can be further enhanced.

【0020】[0020]

【発明の効果】この発明によれば、ICカード端末が設
置されてからの経過時間を表す更新情報と、更新情報の
正当性を検証するためのタイムスタンプ情報をICカー
ド端末に記録し、ICカードを使用すると、更新情報と
ともにタイムスタンプ情報の正当性を検証するためのそ
のICカード端末のデジタル署名をICカードに記録す
るため、ICカードの内容を解析して更新情報をもどす
ように改ざんしたとしても、その改ざんした更新情報と
対応するタイムスタンプ情報に対するICカード端末の
デジタル署名を作成することができないために不正はで
きない。また、ICカード端末の内容を解析して更新情
報をもどすように改ざんしたとしても、もどした更新情
報に対応するタイムスタンプ情報を得ることはできず、
不正を行うことはできない。ICカード端末の解析によ
りできることは、その時点以降のタイムスタンプ情報、
更新情報の付いた内容の改ざんとなり、他のICカード
端末で使用した場合には、端末リストチェックにより不
正を防ぐことができる。
According to the present invention, the update information indicating the elapsed time since the IC card terminal was installed and the time stamp information for verifying the validity of the update information are recorded in the IC card terminal, When a card is used, the digital signature of the IC card terminal for verifying the correctness of the time stamp information together with the update information is recorded on the IC card. Therefore, the contents of the IC card are analyzed and the update information is tampered with. In this case, however, the digital signature of the IC card terminal cannot be created for the time stamp information corresponding to the falsified update information, so that the illegal operation cannot be performed. Further, even if the contents of the IC card terminal are analyzed and tampered with so that the update information is returned, the time stamp information corresponding to the returned update information cannot be obtained,
You can't cheat. What can be done by analyzing the IC card terminal is the time stamp information after that point,
If the contents with the update information are tampered with and used in another IC card terminal, it is possible to prevent fraud by checking the terminal list.

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

【図1】請求項2の発明の一実施例のシステム構成を示
すブロック図。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the invention of claim 2;

【図2】請求項1の発明のICカード端末の構成例を示
すブロック図。
FIG. 2 is a block diagram showing a configuration example of an IC card terminal according to the first aspect of the invention.

【図3】ICカードの構成例を示すブロック図。FIG. 3 is a block diagram showing a configuration example of an IC card.

【図4】この発明の情報処理手順の例を示す図。FIG. 4 is a diagram showing an example of an information processing procedure of the present invention.

【図5】この発明の他の情報処理手順を示す図。FIG. 5 is a diagram showing another information processing procedure of the present invention.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宮口 庄司 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (72)発明者 岡本 龍明 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (72)発明者 藤岡 淳 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Shoji Miyaguchi 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation (72) Inventor Tatsuaki Okamoto 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo No. Japan Telegraph and Telephone Corp. (72) Inventor Jun Fujioka 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corp.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 適当な間隔で所定のアルゴリズムにより
タイムスタンプ情報を更新する手段と、 上記タイムスタンプ情報の更新ごとにその更新回数を表
す更新情報を管理センタへ送信する手段と、 端末を特定するための端末番号、上記タイムスタンプ情
報、上記更新情報、デジタル署名を作成するための端末
鍵、上記デジタル署名を検証するための公開鍵とを記録
したメモリと、 上記管理センタから受信した端末番号、タイムスタンプ
情報の初期値、更新情報が端末リストとして記録される
メモリと、 ICカードから受信した端末番号と上記端末リストの端
末番号との比較を行い、一致しているとその端末リスト
のタイムスタンプ情報の初期値を、上記ICカードから
受信した更新情報に応じて上記所定のアルゴリズムによ
り更新し、その更新したタイムスタンプ情報と、受信し
た公開鍵とにより上記ICカードから受信したデジタル
署名の検証を行い、正当と判断したとき、上記受信した
更新情報と上記一致した端末番号の端末リストの更新情
報との比較を行い、上記ICカードが上記受信した端末
番号のICカード端末で使用された時期を判断する手段
と、 上記更新されたタイムスタンプ情報を上記端末鍵を用い
てデジタル署名する手段と、 上記端末を特定するための端末番号、上記更新情報、上
記公開鍵、上記デジタル署名を上記ICカードへ送信す
る手段と、 を具備するICカード端末。
1. A means for updating time stamp information at a proper interval by a predetermined algorithm, a means for transmitting update information indicating the number of times of updating each time stamp information is updated to a management center, and a terminal is specified. For storing the terminal number, the time stamp information, the update information, the terminal key for creating the digital signature, the public key for verifying the digital signature, and the terminal number received from the management center, The initial value of the time stamp information and the memory in which the update information is recorded as a terminal list are compared with the terminal number received from the IC card and the terminal number in the above terminal list. If they match, the time stamp of the terminal list is compared. The initial value of the information is updated by the predetermined algorithm according to the update information received from the IC card, The digital signature received from the IC card is verified with the new time stamp information and the received public key, and when it is determined to be valid, the received update information and the update information of the terminal list having the same terminal number as the received update information. Means for determining when the IC card has been used in the IC card terminal having the received terminal number, means for digitally signing the updated time stamp information using the terminal key, and An IC card terminal comprising: a terminal number for identifying a terminal, the update information, the public key, and means for transmitting the digital signature to the IC card.
【請求項2】 上記請求項1記載のICカード端末と、 ICカード端末から受信されたその端末番号、更新情
報、公開鍵、タイムスタンプ情報に対するデジタル署名
を記録するメモリと、 ICカード端末へ挿入すると上記メモリ中の端末番号、
更新情報、公開鍵、タイムスタンプ情報に対するデジタ
ル署名をそのICカード端末へ送信する手段とを具備す
るICカードと、 各ICカード端末の端末番号、タイムスタンプ情報の初
期値及び更新情報を管理するデータベースと、 上記ICカード端末より受信された更新情報に、上記デ
ータベース中の対応端末番号の更新情報を置き換える手
段と、 上記データベース中の端末番号、タイムスタンプ情報の
初期値及び更新情報の1組を選択してすべてのICカー
ド端末へ送信する手段と、を具備する管理センタと、 よりなるICカードシステム。
2. The IC card terminal according to claim 1, a memory for recording a digital signature for the terminal number, update information, public key and time stamp information received from the IC card terminal, and inserted in the IC card terminal Then the terminal number in the above memory,
An IC card having update information, a public key, and means for transmitting a digital signature to the IC card terminal to the IC card terminal, and a database for managing the terminal number of each IC card terminal, the initial value of the time stamp information, and the update information. And means for replacing the update information of the corresponding terminal number in the database with the update information received from the IC card terminal, and selecting one set of the terminal number in the database, the initial value of the time stamp information and the update information. And an IC card system comprising a management center having means for transmitting to all IC card terminals.
JP4317255A 1992-09-18 1992-11-26 Ic card terminal and system using the same Pending JPH06161354A (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP4317255A JPH06161354A (en) 1992-11-26 1992-11-26 Ic card terminal and system using the same
US08/119,850 US5396558A (en) 1992-09-18 1993-09-13 Method and apparatus for settlement of accounts by IC cards
DE69322463T DE69322463T2 (en) 1992-09-18 1993-09-16 Procedure for account settlement using chip cards
DE69332745T DE69332745T2 (en) 1992-09-18 1993-09-16 Process for regulating credit notes using a chip card
EP98104504A EP0856822B1 (en) 1992-09-18 1993-09-16 Method for the settlement of credit by an IC card
EP98104503A EP0856821A3 (en) 1992-09-18 1993-09-16 Method of settling charges
EP93114917A EP0588339B1 (en) 1992-09-18 1993-09-16 Method of settling charges by using IC cards
US08/331,745 US5502765A (en) 1992-09-18 1994-10-31 Method and apparatus for settlement of accounts by IC cards
US08/331,735 US5446796A (en) 1992-09-18 1994-10-31 Method and apparatus for settlement of accounts by IC cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4317255A JPH06161354A (en) 1992-11-26 1992-11-26 Ic card terminal and system using the same

Publications (1)

Publication Number Publication Date
JPH06161354A true JPH06161354A (en) 1994-06-07

Family

ID=18086213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4317255A Pending JPH06161354A (en) 1992-09-18 1992-11-26 Ic card terminal and system using the same

Country Status (1)

Country Link
JP (1) JPH06161354A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5948103A (en) * 1996-06-26 1999-09-07 Wacom Co., Ltd. Electronic document security system, affixed electronic seal security system and electronic signature security system
WO2001015380A1 (en) * 1999-08-20 2001-03-01 Sony Corporation Information transmission system and method, drive device and access method, information recording medium, device and method for producing recording medium
JP2003506771A (en) * 1999-07-28 2003-02-18 モンデックス インターナショナル リミテッド Communication system and method between smart cards
JP2003516568A (en) * 1999-10-26 2003-05-13 フランス テレコム Secure electronic transaction processes and corresponding systems
JP2007249367A (en) * 2006-03-14 2007-09-27 Fuji Electric Holdings Co Ltd IC card system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5948103A (en) * 1996-06-26 1999-09-07 Wacom Co., Ltd. Electronic document security system, affixed electronic seal security system and electronic signature security system
JP2003506771A (en) * 1999-07-28 2003-02-18 モンデックス インターナショナル リミテッド Communication system and method between smart cards
WO2001015380A1 (en) * 1999-08-20 2001-03-01 Sony Corporation Information transmission system and method, drive device and access method, information recording medium, device and method for producing recording medium
US7636843B1 (en) 1999-08-20 2009-12-22 Sony Corporation Information transmission system and method, drive device and access method, information recording medium, device and method for producing recording medium
US7739495B2 (en) 1999-08-20 2010-06-15 Sony Corporation Data transmitting system and method, drive unit, access method, data recording medium, recording medium producing apparatus and method
US8458458B2 (en) 1999-08-20 2013-06-04 Sony Corporation Data transmitting system and method, drive unit, access method, data recording medium, recording medium producing apparatus and method
US9390254B2 (en) 1999-08-20 2016-07-12 Sony Corporation Data transmitting system and method, drive unit, access method, data recording medium, recording medium producing apparatus and method
JP2003516568A (en) * 1999-10-26 2003-05-13 フランス テレコム Secure electronic transaction processes and corresponding systems
JP2007249367A (en) * 2006-03-14 2007-09-27 Fuji Electric Holdings Co Ltd IC card system

Similar Documents

Publication Publication Date Title
US5396558A (en) Method and apparatus for settlement of accounts by IC cards
CN100534043C (en) A method, system and computer program product for secure ticketing in a communications device
AU726019B2 (en) System with and method of cryptographically protecting communications
CA2293041C (en) Certificate meter with selectable indemnification provisions
EP0791888A2 (en) Accounting method and apparatus, information receiving method and apparatus and communication system
US20100293101A1 (en) Method and device for generating a single-use financial account number
CA2293202C (en) Selective security level certificate meter
US6977577B2 (en) Method for authenticating a portable object, corresponding portable object, and apparatus therefor
US6035043A (en) Cellular telephone manifest system
JPH06161354A (en) Ic card terminal and system using the same
JP3082882B2 (en) IC credit card system
JP3082883B2 (en) IC prepaid card system
JP3085334B2 (en) IC card terminal and IC prepaid card system using the same
JP3080202B2 (en) IC credit card and IC card terminal
US20020010858A1 (en) Method and apparatus for registration of information with plural institutions and recording medium with registration program stored thereon
JP3216914B2 (en) Ticketing device
JP4270589B2 (en) Electronic frequency payment method and apparatus
JP3074950B2 (en) IC card issuing device
KR100574044B1 (en) Payment terminal device and cash transaction processing method
Price et al. Design, development and application of an intelligent token
HK1019103B (en) System and method of cryptographically protecting
HK1015498B (en) Method and apparatus for registration of information with plural institutions and recording medium with registration program stored thereon
HK1002465A (en) Accounting method and apparatus, information receiving method and apparatus and communication system