JPH01173163A - Ic card system - Google Patents

Ic card system

Info

Publication number
JPH01173163A
JPH01173163A JP62330150A JP33015087A JPH01173163A JP H01173163 A JPH01173163 A JP H01173163A JP 62330150 A JP62330150 A JP 62330150A JP 33015087 A JP33015087 A JP 33015087A JP H01173163 A JPH01173163 A JP H01173163A
Authority
JP
Japan
Prior art keywords
card
terminal
transaction
data
personal
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
JP62330150A
Other languages
Japanese (ja)
Inventor
Harumi Nakano
中野 晴美
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP62330150A priority Critical patent/JPH01173163A/en
Publication of JPH01173163A publication Critical patent/JPH01173163A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely prevent the foul use of IC cards by writing the transaction data and a transaction end code onto an IC card at a work terminal and then clearing the transaction end code and confirming the transaction data at a personal terminal respectively. CONSTITUTION:Both personal and work terminals are used for an IC card. At a card transaction, the transaction data is written onto the IC card together with a transaction end code when no transaction end code is received from the work terminal and at the same time the propriety of the terminal is confirmed to the card. Then the card is loaded into the personal terminal and the propriety of the terminal is confirmed to the card. Thus the transaction end code is cleared and the transaction data can be confirmed. Thus it is possible to surely prevent the foul use of the IC cards and the security is improved for use of the cards.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、ICカードの不正使用を防止するためのI
Cカードシステムに関する。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention provides an I/O system for preventing unauthorized use of an IC card.
Regarding the C card system.

[従来技術とその問題点−] 近年、キャッシュレス時代と呼ばれており、クレジット
カード会社より発行されたカードを使用することにより
現金の取扱をせずに商品の購入が可能になっている。
[Prior art and its problems] In recent years, it has become known as the cashless era, and by using a card issued by a credit card company, it has become possible to purchase products without handling cash.

ところで、これまで使用されているカードとしては、プ
ラスチックカード、エンボスカード、磁気ストライブカ
ードなどが知られているが、これらは構造上偽造が容易
であるため、不正使用が問題になっている。
By the way, plastic cards, embossed cards, magnetic striped cards, and the like are known as cards that have been used so far, but since these cards are easy to forge due to their structure, unauthorized use has become a problem.

そこで、このような問題を解決するためのカードとして
、内部に暗証番号を組込み、暗証番号が外部から容易に
読出せないようにした情報カード、いわゆるICカード
が考え出され、このようなICカードにターミナルを組
合わせたICカードシステムが実用化されつつある。
Therefore, as a card to solve this problem, an information card, a so-called IC card, was devised that has a PIN code built into it so that the PIN code cannot be read easily from the outside. An IC card system that combines an IC card with a terminal is being put into practical use.

ところで、このようなICカードシステムでは、ICカ
ードの使用上での安全性が極めて重要であり、このため
カードの不正使用を防止するため、次のような手段がと
られている。
By the way, in such an IC card system, safety in the use of the IC card is extremely important, and therefore, the following measures are taken to prevent unauthorized use of the card.

すなわち、実際に商品購入などに使用する場合、カード
をターミナルにセットし、この状態で、自己の暗証番号
rP I NJを入力して、既にカードに書込まれてい
るrPIN”Jと比較を行ない、両者が一致したとはに
カードの使用を許可し、−方、一致しないと所定回数の
範囲で暗証番号rP I NJの再入力を許可し、これ
でも一致が取れない場合はカードそのものの使用を無効
にするようにしている。ところが、このようにしても、
仮に自己の暗証番号rP I NJがなんらかの理由で
第3者に漏れたような場合、カード認証の結果が保障で
きないものとなり、カードの安全性が著しく損われ、最
終的にカードの不正使用を許してしまうおそれがあった
In other words, when actually using the card to purchase a product, place the card in the terminal, enter your personal identification number rP I NJ in this state, and compare it with the rPIN"J already written on the card. If they match, the card will be allowed to be used; if they don't match, the user will be allowed to re-enter the PIN number rP I NJ a specified number of times, and if they still don't match, the card will not be used. However, even if I do this,
If your personal identification number rP I NJ is leaked to a third party for some reason, the result of card authentication cannot be guaranteed, the security of your card will be significantly compromised, and it will ultimately allow unauthorized use of your card. There was a risk that the

〔発明の目的〕[Purpose of the invention]

この発明は上記事情に鑑みてなされたもので、ICカー
ドの不正使用を確実に防止でき、カード使用上での安全
性を高めることができるICカードシステムを提供する
ことを目的とする。
This invention has been made in view of the above circumstances, and an object of the present invention is to provide an IC card system that can reliably prevent unauthorized use of an IC card and improve the security of card usage.

[発明の要点] この発明のICカードシステムは、ICカードに対して
個人用ターミナルと業務用ターミナルが使用され、カー
ド取引に際し業務用ターミナルより取引済コードがなく
、゛且つICカードに対する該ターミナルの正当性が確
認されると取引データを取引済コードとともにICカー
ドに書込み、その後ICカードが個人用ターミナルに装
着されICカードに対する該ターミナルの正当性が確認
されると上記取引済コードをクリアして並記取引データ
の確認ができるようになっている。
[Summary of the Invention] In the IC card system of the present invention, a personal terminal and a business terminal are used for the IC card, and there is no transaction completion code from the business terminal at the time of card transaction. When the validity is confirmed, the transaction data is written to the IC card along with the transaction code. After that, the IC card is attached to the personal terminal, and when the validity of the terminal for the IC card is confirmed, the transaction data is cleared. It is now possible to check parallel transaction data.

[発明の実施例] 以下、この発明の一実施例を図面にしたがい説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は、同実施例に用いられるICカード1を示すも
のである。図において、1aはtCカード本体で、この
カード本体1aはISO規格に定められた外形寸法をな
すとともに、内部に後述するIC回路が組込まれ、また
、一方の面に上記IC回路に接続される外部接続端子1
bを有している。なお、ICは磁気ストライブである。
FIG. 1 shows an IC card 1 used in the same embodiment. In the figure, 1a is the tC card main body, and this card main body 1a has the external dimensions specified by the ISO standard, has an IC circuit (described later) built inside, and is connected to the above IC circuit on one side. External connection terminal 1
It has b. Note that the IC is a magnetic stripe.

次に、第2図は、このようなICカード1が装着される
個人用ターミナル2を示すものである。
Next, FIG. 2 shows a personal terminal 2 into which such an IC card 1 is installed.

図において、2aはターミナル本体で、この本体2aの
表面には、キーボード2bおよび表示部2cを有してい
る。ここで、キーボード2bは、「C」キー、rACJ
キー、「1」〜「9」の置数キー、「・」キー、「−」
キー、「+」キー、「×」キー、「−」キー、「+」キ
ー、rP I NJキー、「↑」キー、「↓」キー、r
ENTJキーを有している。また、表示部2Cは、6文
字分の文字表示部2cl、12桁分の数字表示部2c2
を有している。一方、ターミナル本体2aの裏面には、
長手方向の両側縁に沿って上述のICカード1を装着す
るための案内溝2dを有するとともに、ICカード1の
外部接続端子1bに接続される外部接続端子2eを有し
ている。なお、2fは電池室の蓋である。
In the figure, 2a is a terminal main body, and the surface of this main body 2a has a keyboard 2b and a display section 2c. Here, the keyboard 2b has a "C" key, rACJ
key, numeric keys from "1" to "9", "・" key, "-"
key, "+" key, "x" key, "-" key, "+" key, rP I NJ key, "↑" key, "↓" key, r
It has an ENTJ key. The display section 2C also includes a character display section 2cl for 6 characters, and a number display section 2c2 for 12 digits.
have. On the other hand, on the back of the terminal body 2a,
It has guide grooves 2d along both longitudinal edges for mounting the above-mentioned IC card 1, and also has an external connection terminal 2e connected to the external connection terminal 1b of the IC card 1. Note that 2f is the lid of the battery compartment.

次に、第3図は、ICカード1が装着される業務用ター
ミナル3を示すものである。図において、3aはターミ
ナル本体で、このターミナル本体3aは、上述したIC
カード1が装着されるスリット状のカード装着部3bを
有している。そして、このターミナル本体3aの表面に
は、キーボード3cおよび表示部3dを有している。こ
こで、キーボード3cは、「0」〜「9」の置数キー、
「*」キー、「#」キー、「取消」キー、「入力」キー
を有している。また、表示部3dは、金額表示部3dl
および操作手順を表示する手順表示部3d2を有してい
る。
Next, FIG. 3 shows a business terminal 3 into which the IC card 1 is installed. In the figure, 3a is a terminal main body, and this terminal main body 3a is the above-mentioned IC.
It has a slit-shaped card mounting part 3b into which the card 1 is mounted. The terminal main body 3a has a keyboard 3c and a display section 3d on its surface. Here, the keyboard 3c includes numeric keys of "0" to "9",
It has a "*" key, a "#" key, a "cancel" key, and an "input" key. In addition, the display section 3d includes an amount display section 3dl.
and a procedure display section 3d2 for displaying operating procedures.

次に、第4図はICカード1の回路構成を示すものであ
る。図において、11は、システムバスで、このシステ
ムバス11にはデータROM12、アプリケーションR
OM13、システムプログラムROM14、ワーキング
RAM15、コントローラ16、データメモリコントロ
ーラ17、比較部18、入力バッファ19を介して入力
コントローラ20、出力バッファ21を介して出力コン
トローラ22が接続されている。また、入力コントロー
ラ20および出力コントローラ22にはデータ入出力端
子がIloが接続されている。
Next, FIG. 4 shows the circuit configuration of the IC card 1. In the figure, 11 is a system bus, and this system bus 11 includes a data ROM 12, an application R
An input controller 20 is connected via an OM 13, a system program ROM 14, a working RAM 15, a controller 16, a data memory controller 17, a comparator 18, an input buffer 19, and an output controller 22 is connected via an output buffer 21. Furthermore, a data input/output terminal Ilo is connected to the input controller 20 and the output controller 22.

ここで、データROM12はカード自身のあらゆる動作
条件を記憶するもので、これらの動作条件はカード自身
の内部イニシャルが終了すると、予め定められたフォー
マットにのっとりアンサΦツー・リセット・データとし
て出力するようになっている。アプリケーションROM
13は、このカードがいかなる種類のものかものかを示
すカード種別データを記憶するもので、上記アンサ・ツ
ー・リセット・データに基づくイニシャルパラメータ設
定後ターミナル2または3側との属性交換の際に所定の
フォーマットにのせられ送信する。
Here, the data ROM 12 stores all operating conditions of the card itself, and these operating conditions are outputted as answer Φ2 reset data according to a predetermined format when the internal initialization of the card itself is completed. It has become. Application ROM
13 stores card type data indicating what kind of card this card is, and after setting initial parameters based on the above answer-to-reset data, predetermined data is stored when exchanging attributes with terminal 2 or 3. format and send it.

システムプログラムROM14は各種システムプログラ
ムとともにターミナル2または3側より伝送供給される
信号が正しいか否かを表わすコード信号を備えている。
The system program ROM 14 includes various system programs as well as a code signal indicating whether or not the signal transmitted and supplied from the terminal 2 or 3 side is correct.

ワーキングRAM15はカード内での各種処理データが
記憶される。コントローラ16は入力バッファ19を介
して伝送供給されるデータ受信信号および動作状態に応
じて各回路に動作指令を出力するものである。データメ
モリコントローラ17はコントローラ16からの指令に
応じてデータメモリ23に対するデータの読み書きの制
御を行なうものである。ここで、データメモリ23は取
引済コード書込みエリア231を有するとともに、暗証
番号「PIN」、ターミナル認証に用いるrPANJ 
 rEPANJを記憶している。比較部18は入力バッ
ファ19を介して与えられるデータとデータメモリ23
より読出されるデータを比較するもので、その比較結果
をコントローラ16に与えるようになっている。
The working RAM 15 stores various processing data within the card. The controller 16 outputs operation commands to each circuit according to the data reception signal transmitted and supplied via the input buffer 19 and the operation state. The data memory controller 17 controls reading and writing of data to and from the data memory 23 in response to commands from the controller 16. Here, the data memory 23 has a transaction code writing area 231, a personal identification number "PIN", rPANJ used for terminal authentication, etc.
I remember rEPANJ. The comparator 18 compares the data provided via the input buffer 19 with the data memory 23.
The comparison result is provided to the controller 16.

なお、このようなICカード1はターミナル2または3
に装着した状態で、リセット信号Re s e t、シ
ステムクロックc 1 ockが供給されるとともに、
アース線QNDSVcc電源、vpp電源が接続される
。ここで、vCC電源はシステム駆動用電源、vpp電
源はデータメモリ23に対する書込み用電源である。一
方、システムクロックclockによるシステム動作信
号は分周器24を介して各回路に供給される。
Note that such an IC card 1 must be connected to terminal 2 or 3.
While the device is attached to the device, a reset signal Reset and a system clock c1ock are supplied, and
Ground line QNDSVcc power supply and vpp power supply are connected. Here, the vCC power supply is a power supply for driving the system, and the vpp power supply is a power supply for writing to the data memory 23. On the other hand, a system operation signal based on the system clock is supplied to each circuit via the frequency divider 24.

次に、第5図はターミナル2および3の回路構成を示す
ものである。図において、31は、システムバスで、こ
のシステムバス31にはワーキングRAM32、システ
ムプログラムROM33、ターミナル属性ROM34、
イニシャルパラメータRAM35、メインコントローラ
36、暗号解読器37、比較部38、表示ドライブコン
トローラ39、キーコントローラ40、入力バッファ4
1を介して入力コントローラ42、出力バッファ43を
介して出力コントローラ44が接続されている。また、
入力コントローラ42および出力コントリーラ44には
データ入出力端子がIloが接続されている。
Next, FIG. 5 shows the circuit configuration of terminals 2 and 3. In the figure, 31 is a system bus, and this system bus 31 includes a working RAM 32, a system program ROM 33, a terminal attribute ROM 34,
Initial parameter RAM 35, main controller 36, decryptor 37, comparator 38, display drive controller 39, key controller 40, input buffer 4
1 is connected to an input controller 42, and an output buffer 43 is connected to an output controller 44. Also,
A data input/output terminal Ilo is connected to the input controller 42 and the output controller 44.

ここで、ワーキングRAM32は内部での処理データが
記憶される。システムプログラムROM33は各種シス
テムプログラムとともに、ICカード1とのマツチング
を図るための間合わせコードを備えている。ターミナル
属性ROM34は、その用途に応じて異なるターミナル
属性ドを記憶するとともに、カード種別コードを記憶し
ている。
Here, the working RAM 32 stores internally processed data. The system program ROM 33 includes various system programs as well as a makeshift code for matching with the IC card 1. The terminal attribute ROM 34 stores different terminal attribute codes depending on its purpose, and also stores card type codes.

イニシャルパラメータRAM35はICカード1からの
アンサ・ツー・リセット・データが一括記憶される。こ
のイニシャルパラメータRAM35にはタイマ45が接
続されている。このタイマ45はイニシャルパラメータ
RAM35に記憶されているアンサ、・ツー・リセット
・データに基づいて、例えばカード1側に間合わせ信号
あるいはその他の命令信号を送信した時点からの応答待
ち時間をカウントするもので、この待ち時間内にカード
1より応答がない場合はメインコントローラ36に対し
て間合わせ信号あるいはその他の命令信号の再送出を促
すか、ICカード1との接続断指令の送出を促すように
している。メインコントローラ36はシステムの動作指
令に応じて各回路に制御指令を与える。暗号解読器37
はICカード1より伝送供給される暗号化データを解読
するもので、ここではターミナル認証用のPAN。
In the initial parameter RAM 35, answer-to-reset data from the IC card 1 is stored in bulk. A timer 45 is connected to this initial parameter RAM 35. This timer 45 counts the response waiting time from the time when, for example, a makeshift signal or other command signal is transmitted to the card 1 side, based on the answer/two reset data stored in the initial parameter RAM 35. If there is no response from the card 1 within this waiting time, the main controller 36 is prompted to resend a makeshift signal or other command signal, or to be prompted to send a command to disconnect from the IC card 1. ing. The main controller 36 gives control commands to each circuit according to system operation commands. Code decipherer 37
is used to decode encrypted data transmitted and supplied from the IC card 1, and here it is a PAN for terminal authentication.

EPINのうち、暗号化されたEPINを解読するよう
にしている。比較1部38はターミナル認証用のPAN
と暗号解読器37により解読されたEPINを比較する
もので、その比較結果をメインコントローラ36に与え
る。表示ドライブコントローラ39は表示部2Cまたは
3dの表示を制御するものである。キーコントローラ4
0はキーボード2bまたは3Cにサンプリング信号を与
えてキー人力信号を検知するようにしている。
Of the EPINs, the encrypted EPIN is decrypted. Comparison 1 part 38 is PAN for terminal authentication
and the EPIN decrypted by the decryptor 37, and the comparison result is provided to the main controller 36. The display drive controller 39 controls the display on the display section 2C or 3d. key controller 4
0 gives a sampling signal to the keyboard 2b or 3C to detect the key input signal.

なお、vpp電源部46はVpl)端子を介してICカ
ード1のデータメモリ23に対する書込み用電源を供給
する。発振器47はc 1 oak端子を介してICカ
ード1の分周器24に対するシステムクロックを供給す
る。Vcc電源部48はVCC端子を介してICカード
1に対し、システム駆動用電源を供給する。
Note that the vpp power supply section 46 supplies power for writing to the data memory 23 of the IC card 1 via the Vpl) terminal. The oscillator 47 supplies a system clock to the frequency divider 24 of the IC card 1 via the c 1 oak terminal. The Vcc power supply section 48 supplies system driving power to the IC card 1 via the VCC terminal.

次に、このように構成した実施例の動作を説明する。Next, the operation of the embodiment configured as described above will be explained.

カード所有者はICカード1を個人用ターミナル2に装
着した状態で携帯しているものとする。
It is assumed that a cardholder carries an IC card 1 attached to a personal terminal 2.

この状態から、カード取引が行なわれると、カード所有
者、つまり顧客はステップA1においてターミナル2よ
りICカード1を引抜いて店員に手渡す。ICカード1
を受取5た店員は、ステップA2において業務用ターミ
ナル3に装着する。
When a card transaction is performed from this state, the card holder, that is, the customer, pulls out the IC card 1 from the terminal 2 and hands it to the clerk in step A1. IC card 1
The clerk who received the item 5 attaches it to the business terminal 3 in step A2.

次いで、ステップA3に進み、ターミナル3によりIC
カード1に取引済コードが書込まれているかが判断され
る。ここで、YESと判断されると、無効処理(NOP
)に移行される。一方、Noと判断されると、ステップ
A4に進む。
Next, proceed to step A3, and terminal 3 connects the IC.
It is determined whether a transaction completed code is written on card 1. Here, if it is determined as YES, invalidation processing (NOP
). On the other hand, if the determination is No, the process proceeds to step A4.

ステップA4では、ターミナル3によりICカード1の
データメモリ23よりPANおよびEPANを読出し、
これをワーキングRAM32に書込む。そして、ステッ
プA5において、EPANを暗号解読器37により解読
し、ステップA6に進む。
In step A4, the terminal 3 reads PAN and EPAN from the data memory 23 of the IC card 1,
This is written into the working RAM 32. Then, in step A5, EPAN is decrypted by the decryptor 37, and the process proceeds to step A6.

ステップA6では、暗号解読器37により解読されたE
PANとワーキングRAM32に書込まれたPANが比
較部38に与え、られ比較される。
In step A6, E
The PAN and the PAN written in the working RAM 32 are provided to the comparing section 38 and compared.

ここで、両者が一致しない場合には、無効処理(NOP
)される。一方、両者が一致すると、ステップA7に進
み、キーボード3Cにより取引金額を入力する。すると
、この入力金額は表示部3dの金額表示部3dlに表示
される。第3図は金額r1234J円が表示されている
Here, if the two do not match, invalidation processing (NOP
) to be done. On the other hand, if the two match, the process proceeds to step A7 and the transaction amount is input using the keyboard 3C. Then, this input amount is displayed on the amount display section 3dl of the display section 3d. In FIG. 3, the amount of r1234J yen is displayed.

この状態で、ICカード1をターミナル3に装着したま
ま、カード所有者に手渡す。次いで、ステップA8に進
む。このステップ八8では、金額表示部3dlの表示内
容を確認する。この場合、手順表示部3d2には、暗証
番号PINの入力を促す表示「暗証番号を入力して下さ
い。」の表−示が行なわれる。これを確認したところで
キーボード3cを使用して自己の暗証番号PINを入力
する。この場合、ICカード1のデータメモリ23より
PINが読出され、ワーキングRAM32に一旦書込ま
れたのち比較部18に送られる。そして、ステップAI
Oにおいてキーボード3Cより入力された暗証番号PI
Nの照合が行なわれる。
In this state, the IC card 1 is handed to the card owner with it attached to the terminal 3. Next, the process advances to step A8. In this step 88, the display contents of the amount display section 3dl are confirmed. In this case, the procedure display section 3d2 displays a message "Please enter your PIN." which prompts you to enter your PIN. After confirming this, use the keyboard 3c to input your personal identification number PIN. In this case, the PIN is read from the data memory 23 of the IC card 1, once written into the working RAM 32, and then sent to the comparison section 18. And step AI
PIN number PI entered from keyboard 3C at O
N checks are performed.

ここで、PIN照合が取れると、ステップAllにおい
て手順表示部・3d2の暗証番号確認の旨のランプが点
灯、つまり「確認しました。」が表示される。この場合
、PIN照合が失敗した場合には、手順表示部3d2の
「もう−度入力して下さい。」が表示される。
Here, if the PIN is verified, the lamp on the procedure display section 3d2 indicating that the PIN number has been confirmed is lit, that is, "Confirmed." is displayed in step All. In this case, if the PIN verification fails, "Please enter again" is displayed on the procedure display section 3d2.

この状態で、顧客はICカード1をターミナル3に装着
したままで、店員に戻す。そして、ステップA12にお
いて、店員が暗証番号確認ランプの点灯を確認すると、
ステップA13に進む。
In this state, the customer returns the IC card 1 to the clerk with the IC card 1 attached to the terminal 3. Then, in step A12, when the clerk confirms that the PIN confirmation lamp is lit,
Proceed to step A13.

ステップA13では、ターミナル3に書込まれている取
引にかかるトランザクションを読出し、これをICカー
ド1に書込む。続けて、ステップA14において取引済
コードをICカード1のデータメモリ23のエリア23
1に書込む。
In step A13, the transaction related to the transaction written in the terminal 3 is read out and written in the IC card 1. Subsequently, in step A14, the transaction code is stored in the area 23 of the data memory 23 of the IC card 1.
Write to 1.

この状態で、ステップA15に進み、ICカード1をタ
ーミナル3より抜取るとともに、このICカード1を図
示しないインプリンタにかけ、売上げ伝票を作成する。
In this state, the process proceeds to step A15, where the IC card 1 is removed from the terminal 3 and placed in an imprinter (not shown) to create a sales slip.

そして、ICカード1を伝票とともに顧客に渡す。Then, the IC card 1 is given to the customer along with the slip.

ICカード1を受取った顧客はICカード1を、今度は
個人用ターミナル2に装着する。この場合、ICカード
1をターミナル2の案内溝2dに沿ってスライドさせる
ことにより装着する。この状態で、ICカード1の外部
接続端子1bは外部接続端子2el:MS気的に接続さ
れる。
The customer who received the IC card 1 then attaches the IC card 1 to the personal terminal 2. In this case, the IC card 1 is attached by sliding it along the guide groove 2d of the terminal 2. In this state, the external connection terminal 1b of the IC card 1 is electrically connected to the external connection terminal 2el:MS.

次いで、ステップA17に進む。このステップA17で
は、ターミナル2によりICカード1のデータメモリ2
3よりPANおよびEPANを読出し、これをワーキン
グRAM32に書込む。そして、ステップA18におい
て、EPANを暗号解読器37により解読し、ステップ
A19に進む。
Next, the process advances to step A17. In this step A17, the data memory 2 of the IC card 1 is
PAN and EPAN are read from 3 and written into the working RAM 32. Then, in step A18, the EPAN is decrypted by the decryptor 37, and the process proceeds to step A19.

ステップA19では、暗号解読器37により解読された
EPANとワーキングRAM32に書込まれたPANが
比較部38に与えられ比較される。
In step A19, the EPAN decrypted by the decryptor 37 and the PAN written in the working RAM 32 are provided to the comparator 38 and compared.

ここで、両者が一致しない場合には、無効処理(NOP
)される。一方、両者が一致すると、ステップA20に
おいてICカード1のデータメモリ23に書込まれた取
引済コードがクリアされたのち、ステップA21に進む
Here, if the two do not match, invalidation processing (NOP
) to be done. On the other hand, if the two match, the transaction code written in the data memory 23 of the IC card 1 is cleared in step A20, and then the process proceeds to step A21.

ステップA21では、ターミナル2のキーボード2bよ
り暗証番号PINが入力され、ステップA22により暗
証番号PINの照合が行なわれる。
In step A21, the personal identification number PIN is input from the keyboard 2b of the terminal 2, and in step A22, the personal identification number PIN is verified.

ここで、PIN照合が取れると、ステップA23におい
てICカード1に書込まれたトランザクションデータが
読出され、表示i2cに表示され、処理を終了する。一
方、PIN照合が失敗した場合には、無効処理(NOP
)となる。
Here, if the PIN is verified, the transaction data written in the IC card 1 is read out in step A23 and displayed on the display i2c, and the process ends. On the other hand, if the PIN verification fails, invalidation processing (NOP
).

したがって、このようにすればICカードに対して個人
用ターミナルおよび業務用ターミナルが一体化されシス
テムが構成されているので、仮にICカードが他人の手
に渡って、暗証番号PINがわかってしまっても、その
使用を事前に防止することができ、ICカードの不正使
用を確実に防止できる。しかも、取引データとともに書
込まれる取引済コードがカード内部に残っている間はI
Cカードの使用は拒否されるようになっているので、個
人用ターミナルが正当なものでない限り、その後のIC
カードの使用が全くできなくなることからも、ICカー
ドの不正使用を防止してカード使用上での安全性を飛躍
的に高めることができる。
Therefore, in this way, the system is configured by integrating the personal terminal and the business terminal for the IC card, so even if the IC card falls into the hands of another person and the PIN number is found out, there is no need to worry. The use of IC cards can also be prevented in advance, and unauthorized use of IC cards can be reliably prevented. Moreover, while the transaction code written with the transaction data remains inside the card, the
Since the use of C-cards is now refused, subsequent IC cards will not be accepted unless the personal terminal is legitimate.
Since the card cannot be used at all, unauthorized use of the IC card can be prevented and the safety of card usage can be dramatically improved.

なお、この発明は上記実施例にのみ限定されず、要旨を
変更しない範囲で適宜変形して実施できる。
It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be implemented with appropriate modifications without changing the gist.

[発明の効果] この発明によれば、ICカードに対して個人用ターミナ
ルと業務用ターミナルが使用され、カード取引に際し業
務用ターミナルより取引済コードがなく、且つICカー
ドに対する該ターミナルの正当性が確認されると取引デ
ータを取引済コードとともにICカードに書込み、その
後ICカードが個人用ターミナルに装着されICカード
に対する該ターミナルの正当性が確認されると上記取引
済コードをクリアして上記取引データの確認ができるよ
うになっているので、ICカードの不正使用を確実に防
止でき、カード使用上での安全性を高めることができる
[Effects of the Invention] According to this invention, a personal terminal and a business terminal are used for an IC card, and when a card transaction is made, there is no transaction code from the business terminal, and the validity of the terminal for the IC card is verified. Once confirmed, the transaction data is written to the IC card along with the completed transaction code, and when the IC card is attached to a personal terminal and the validity of the terminal for the IC card is confirmed, the completed transaction code is cleared and the transaction data is written. Since the information can be confirmed, unauthorized use of the IC card can be reliably prevented and the safety of card usage can be increased.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例に用いられるICカードを
示す正面図、第2図(a)(b)(c)は同実施例に用
いられる個人用ターミナルを示し、(a)は正面図、(
b)は側面図、(c)は裏面図、第3図は同実施例に用
いられる業務用ターミナルを示す斜視図、第4図はIC
カードの回路構成を示すブロック図、第5図は個人用タ
ーミナルおよび業務用ターミナルの回路構成を示すブロ
ック図、第6図は同実施例の動作を説明するためのフロ
ーチャートである。 1・・・ICカード、1b・・・外部接続端子、2・・
・個人用ターミナル、2b・・・キーボード、2C・・
・表示部、2e・・・外部接続端子、3・・・業務用タ
ーミナル、3b・・・ICカード装着部、3C・・・キ
ーボード、3d・・・表示部、15・・・ワーキングR
AM、16・・・コントローラ、18・・・比較部、2
3・・・データメモリ、32・・・ワーキングRAM、
36・・・メインコントローラ、37・・・暗号解読器
、38・・・比較部。 出願人  カシオ計算機株式会社 第1図 3dl 第3図
Fig. 1 is a front view showing an IC card used in an embodiment of the present invention, Fig. 2 (a), (b), and (c) show a personal terminal used in the same embodiment, and (a) is a front view. figure,(
b) is a side view, (c) is a back view, Fig. 3 is a perspective view showing the commercial terminal used in the same embodiment, and Fig. 4 is an IC
FIG. 5 is a block diagram showing the circuit structure of the card, FIG. 5 is a block diagram showing the circuit structure of the personal terminal and the business terminal, and FIG. 6 is a flow chart for explaining the operation of the same embodiment. 1...IC card, 1b...external connection terminal, 2...
・Personal terminal, 2b...Keyboard, 2C...
・Display section, 2e...External connection terminal, 3...Business terminal, 3b...IC card mounting section, 3C...Keyboard, 3d...Display section, 15...Working R
AM, 16... Controller, 18... Comparison section, 2
3...Data memory, 32...Working RAM,
36... Main controller, 37... Code decoder, 38... Comparison unit. Applicant Casio Computer Co., Ltd. Figure 1 3dl Figure 3

Claims (1)

【特許請求の範囲】[Claims] ICカードに対して個人用ターミナルと業務用ターミナ
ルが使用され、カード取引に際し業務用ターミナルより
取引済コードがなく、且つICカードに対する該ターミ
ナルの正当性が確認されると取引データを取引済コード
とともにICカードに書込み、その後ICカードが個人
用ターミナルに装着されICカードに対する該ターミナ
ルの正当性が確認されると上記取引済コードをクリアし
て上記取引データの確認を可能にしたことを特徴とする
ICカードシステム。
When a personal terminal and a business terminal are used for an IC card, and the business terminal does not provide a transaction code for a card transaction, and the validity of the terminal for the IC card is confirmed, the transaction data is sent together with the transaction code. The transaction data is written on the IC card, and when the IC card is attached to a personal terminal and the validity of the terminal for the IC card is confirmed, the transaction completed code is cleared, making it possible to confirm the transaction data. IC card system.
JP62330150A 1987-12-28 1987-12-28 Ic card system Pending JPH01173163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62330150A JPH01173163A (en) 1987-12-28 1987-12-28 Ic card system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62330150A JPH01173163A (en) 1987-12-28 1987-12-28 Ic card system

Publications (1)

Publication Number Publication Date
JPH01173163A true JPH01173163A (en) 1989-07-07

Family

ID=18229373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62330150A Pending JPH01173163A (en) 1987-12-28 1987-12-28 Ic card system

Country Status (1)

Country Link
JP (1) JPH01173163A (en)

Similar Documents

Publication Publication Date Title
US9870563B2 (en) Wireless devices for storing a financial account card and methods for storing card data in a wireless device
US7293717B1 (en) Method for recovering information stored in a smart card
US4752677A (en) Customer service system for use in IC card system
EP0213534B1 (en) Ic card
US4794236A (en) IC card system
EP0212615B1 (en) Ic card
US8991695B2 (en) Methods and apparatus for use in docking
EP1873729A1 (en) Portable terminal, settlement method, and program
JPH069067B2 (en) IC card system
JPS62251963A (en) Certificating system for ic card
EP2845144B1 (en) Chip-and-pin reader device and commercial transaction system including same
US9275261B2 (en) Chip-and-pin reader device
JPS62102379A (en) Ic card system
JPS6391793A (en) Ic card and ic card transaction processing system
JPH01173163A (en) Ic card system
WO2013156800A1 (en) Authorization system
JP2564481B2 (en) IC card system
WO2013156797A1 (en) Authorization system
KR0132745B1 (en) Card crt device
JPH0760452B2 (en) IC card system
JPH0738215B2 (en) IC card system
KR20080103619A (en) Card terminals with function for outputting customer signature information and program recording medium
JPS6332657A (en) Ic card system
JPH0615319Y2 (en) Alarm device for off-line use of IC cards
GB2501320A (en) Utilising biometric parameters or photographs to authorise transactions