JPH0632099B2 - Card writing device - Google Patents
Card writing deviceInfo
- Publication number
- JPH0632099B2 JPH0632099B2 JP60102920A JP10292085A JPH0632099B2 JP H0632099 B2 JPH0632099 B2 JP H0632099B2 JP 60102920 A JP60102920 A JP 60102920A JP 10292085 A JP10292085 A JP 10292085A JP H0632099 B2 JPH0632099 B2 JP H0632099B2
- Authority
- JP
- Japan
- Prior art keywords
- card
- pattern
- writing device
- authentication
- microprocessor
- 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 - Lifetime
Links
- 230000004044 response Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013478 data encryption standard Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Landscapes
- Credit Cards Or The Like (AREA)
- Storage Device Security (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明はカード書込装置に関し、特に金銭データの取引
に用いる演算機能付カードのデータ書込装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a card writing device, and more particularly to a data writing device for a card with an arithmetic function used for trading money data.
(従来技術と問題点) 従来のデータ書込装置は金銭データの授受に磁気カード
やパンチカードが使われているが、これらカードは複製
され易い欠点を持っている。最近のデータ書込装置には
演算機能付カード(以下ICカードと呼ぶ)が開発され、
それを用いたカード認証方法が提案されている。例えば
アイ・イー・イー・イースペクトラム(IEEE Spectru
m)1984年2月号43〜49ページには、個人識別番号を外
部からアクセスできない領域に格納しておき、使用者が
該個人識別番号を入力して一致するか否かを判定する方
法が載っている。しかし、これらの方法を用いたカード
書込装置はICカードに入力情報を録音され、後に再生
されると不正を防止できない欠点がある。(Prior Art and Problems) Conventional data writing devices use magnetic cards or punch cards for exchanging monetary data, but these cards have the drawback of being easily duplicated. A card with a calculation function (hereinafter referred to as an IC card) has been developed for a recent data writing device.
A card authentication method using it has been proposed. For example, I E E Spectrum
m) In February 1984, pages 43 to 49, there is a method of storing a personal identification number in an area that cannot be accessed from the outside and determining whether or not the user inputs the personal identification number and agrees. It is listed. However, the card writing device using these methods has a drawback in that if the input information is recorded on the IC card and is reproduced later, fraud cannot be prevented.
(発明の目的) 本発明の目的は従来のカード書込装置におけるかかる欠
点を除去するとともにカードのコピーやカードに不正デ
ータを書込むことができないカード書込装置を提供する
ことにある。(Object of the Invention) It is an object of the present invention to eliminate such drawbacks in the conventional card writing device and to provide a card writing device which is not capable of copying a card or writing illegal data to the card.
(発明の構成) 本発明によれば、カードとの間の不正なアクセスを検知
するカード書込装置において、前もって定められた第1
のコードと第2のコードを記憶する記憶手段と、前記カ
ードに第1の認証パターンを送るパターン生成手段と、
前記カードからの前記第1の認証パターンに対する第1
の応答パターンと前記第1のコードと前記第1の認証パ
ターンが前もって定められた関係にあるか否かを判定す
る判定手段と、前記カードから送られた第2の認証パタ
ーンを前記第2のコードに依存して、前記カードへ返送
されるパターンに変換するパターン変換手段と、から成
ることを特徴とするカード書込装置が得られる。(Structure of the Invention) According to the present invention, in the card writing device for detecting the unauthorized access to the card, the first predetermined
Storage means for storing the code and the second code, and pattern generation means for sending the first authentication pattern to the card,
First to the first authentication pattern from the card
Of the response pattern, the first code, and the first authentication pattern have a predetermined relationship, and the second authentication pattern sent from the card is the second authentication pattern. A card writing device is obtained which comprises pattern conversion means for converting a pattern returned to the card depending on a code.
(実施例) 次に本発明の実施例について図面を参照して説明する。(Example) Next, the Example of this invention is described with reference to drawings.
第1図は本発明の一実施例を示す。第1図において、本
発明の一実施例はカードとの間の不正なアクセスを検知
するカード書込装置で、各部を制御するマイクロプロセ
ッサ101と、このマイクロプロセッサ101にバス1
20を介して接続されるキーボードインターフェース1
05、ディスプレイ106、リードオンリメモリ(RO
M)108、ランダムアクセスメモリ(RAM)109、
乱数発生器110および暗号/復号器111と、キーボ
ードインターフェース105に接続されるキーボード1
05と、バス120に接続されかつICカード104に
接続されるカードインターフェース107とを含む。FIG. 1 shows an embodiment of the present invention. Referring to FIG. 1, an embodiment of the present invention is a card writing device for detecting unauthorized access to a card, which includes a microprocessor 101 for controlling each part and a bus 1 for the microprocessor 101.
Keyboard interface 1 connected via 20
05, display 106, read only memory (RO
M) 108, random access memory (RAM) 109,
A keyboard 1 connected to the random number generator 110, the encryption / decryption device 111, and the keyboard interface 105.
05, and a card interface 107 connected to the bus 120 and to the IC card 104.
マイクロプロセッサ101は装置全体の制御するもの
で、キーボード102及びキーボード・インターフェー
ス105はICカードに書込むべきデータの入力用であ
る。ディスプレイ106は入力データやICカードが不
正だった場合の通知などの表示用である。ICカード1
04は本実施例である装置がデータを書込もうとしてい
る相手カードで、カードインターフェース107を通じ
てデータを送受するように構成されている。ROM108には
マイクロプロセッサ101用のプログラムや暗号/復号
器用コードK1とK2(以下キーK1,キーK2と称す
が格納されており、記憶手段を構成している。RAM109は
作業領域,乱数発生器110は認証パターンに用いる乱
数の発生用で、パターン生成手段を構成している。暗号
/復号器111は認証過程で用いる暗号/復号用で、カ
ードへ返送する応答パターンに変換するパターン変換手
段に含まれる。更にマイクロプロセッサ101は第1の応
答パターンと第1の認証パターンが前もって定められた
関係にあるか否かを判定する手段を含んでいる。The microprocessor 101 controls the entire apparatus, and the keyboard 102 and the keyboard interface 105 are for inputting data to be written in the IC card. The display 106 is for displaying input data and a notification when the IC card is illegal. IC card 1
Reference numeral 04 denotes a counterpart card to which the apparatus according to the present embodiment is about to write data, and is configured to send and receive data through the card interface 107. The ROM 108 stores a program for the microprocessor 101 and codes K 1 and K 2 for encryption / decryption (hereinafter referred to as a key K 1 and a key K 2) and constitutes a storage means. The RAM 109 is a work area, The random number generator 110 is for generating a random number used for the authentication pattern and constitutes a pattern generating means, and the encryption / decryption device 111 is for encryption / decryption used in the authentication process and is a pattern for converting into a response pattern to be returned to the card. Included in the conversion means, the microprocessor 101 further includes means for determining whether the first response pattern and the first authentication pattern have a predetermined relationship.
第2図は本実施例におけるマイクロプロセッサ101の
なすべき作業のフローチャートを示す。第2図(a)にお
いて、本実施例はICカード104が差込まれ連絡され
ると乱数発生器110に乱数を発生させ、第1の認証パ
ターンとしてICカードに送る。また、該乱数をキーK
1で暗号化して検証パターンとしてRAM109に格納してお
く。ICカード104はこの第1の認証パターンをキー
K1で暗号化して第1の応答パターンとしてマイクロプ
ロセッサ101に送り返す。マイクロプロセッサ101
では第2図(b)に示すようにICカード104からの第
1の応答パターンがRAM109に格納されている検証パター
ンに等しいか否かで、ICカードが正しいカードか否か
を判定する。もし正しければマイクロプロセッサ101
はデータの書込をICカード104に要求し、正しくな
ければ、その通知をディスプレイ106に表示する。FIG. 2 shows a flowchart of the work to be performed by the microprocessor 101 in this embodiment. In FIG. 2 (a), in this embodiment, when the IC card 104 is inserted and contacted, the random number generator 110 generates a random number and sends it to the IC card as the first authentication pattern. Also, the random number is the key K
It is encrypted in 1 and stored in the RAM 109 as a verification pattern. The IC card 104 encrypts this first authentication pattern with the key K 1 and sends it back to the microprocessor 101 as a first response pattern. Microprocessor 101
Then, as shown in FIG. 2B, it is determined whether or not the IC card is a correct card by determining whether the first response pattern from the IC card 104 is equal to the verification pattern stored in the RAM 109. If correct, microprocessor 101
Requests the IC card 104 to write the data, and if it is incorrect, displays the notification on the display 106.
一方ICカードも、不正なカード端末(カード書込装
置)に勝手にデータを書き込まれてはまずいので、端末
の認証を行なうことにする。即ち、ICカード104は
第2図(c)に示すように第2の認証パターンを乱数で作
成して送るが、マイクロプロセッサ101はそれをキー
K2で暗号化し、第2の応答パターンとして送り返す。
ICカード104はこの第2の認証パターンをキーK2
で暗号化したパターンとこの第2の応答パターンが一致
するか否かでカード端末が正しい端末か否かを判定す
る。いずえの判定も正常に機能するためにはキーK1,
K2は秘密にしておく必要がある。On the other hand, with regard to the IC card, it is not allowed to write data into an unauthorized card terminal (card writing device) without permission, so the terminal will be authenticated. That is, the IC card 104 creates and sends a second authentication pattern with a random number as shown in FIG. 2C, but the microprocessor 101 encrypts it with the key K 2 and sends it back as a second response pattern. .
The IC card 104 uses this second authentication pattern as the key K 2
It is determined whether the card terminal is a correct terminal or not depending on whether or not the pattern encrypted in step 2 and this second response pattern match. The key K 1 ,
K 2 needs to be kept secret.
このように、本実施例は以前のICカードとカード書込
装置の間のやりとりを録音されて、後で再生されてもカ
ードを使用する都度認証パターンが変化しているので不
正な使用を防止できる。As described above, according to the present embodiment, even if the communication between the previous IC card and the card writing device is recorded and the card is used again, the authentication pattern is changed every time the card is used, so that the illegal use is prevented. it can.
暗号/復号器111は例えばアメリカのデータ暗号標準
(DES)を使うことができる。乱数発生器110は自然乱
数を発生するのが望ましいが疑似乱数発生器でもよい。
また、暗号/復号器と乱数発生器の両方または片方はマ
イクロプロセッサ101でソフト的に行なうこともでき
る。The encryption / decryption device 111 is, for example, an American data encryption standard.
(DES) can be used. The random number generator 110 preferably generates a natural random number, but may be a pseudo random number generator.
Further, both or one of the encryption / decryption unit and the random number generator can be implemented by software by the microprocessor 101.
(発明の効果) 以上説明したように、本発明はカードのコピーやカード
に不正にデータを書き込むことが困難となり、金銭デー
タの取引等に応用してその効果は極めて大きいものであ
る。(Effects of the Invention) As described above, the present invention makes it difficult to illegally write data on a card or to write data on a card, and the effect is extremely large when applied to financial data transactions and the like.
第1図は本発明の一実施例を示すブロック図、第2図は
本実施例におけるマイクロプロセッサ101のなすべき作
業を示すフローチャートである。 101……マイクロプロセッサ、102……キーボー
ド、104……ICカード、105……キーボードイン
ターフェース、106……ディスプレイ、107……カ
ードインターフェース、108……ROM、109……R
AM、110……乱数発生器、111……暗号/復号
器。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing the work to be performed by the microprocessor 101 in this embodiment. 101 ... Microprocessor, 102 ... Keyboard, 104 ... IC card, 105 ... Keyboard interface, 106 ... Display, 107 ... Card interface, 108 ... ROM, 109 ... R
AM, 110 ... Random number generator, 111 ... Encryption / decryption device.
Claims (1)
カード書込装置において、 前もって定められた第1のコードと第2のコードを記憶
する記憶手段と、 前記カードに第1の認証パターンを送るパターン生成手
段と、 前記カードからの前記第1の認証パターンに対する第1
の応答パターンと、前記第1のコードと、前記第1の認
証パターンとが前もって定められた関係にあるか否かを
判定する判定手段と、 前記カードから送られた第2の認証パターンを前記第2
のコードに依存して、該カードへ返送するパターンに変
換するパターン変換手段と、 から成ることを特徴とするカード書込装置。1. A card writing device for detecting an unauthorized access to a card, a storage means for storing a predetermined first code and a second code, and a first authentication pattern for the card. And a first pattern for the first authentication pattern from the card.
Of the response pattern, the first code, and the first authentication pattern in a predetermined relationship, and a second authentication pattern sent from the card. Second
A card writing device comprising: a pattern converting means for converting into a pattern to be returned to the card, depending on the code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60102920A JPH0632099B2 (en) | 1985-05-15 | 1985-05-15 | Card writing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60102920A JPH0632099B2 (en) | 1985-05-15 | 1985-05-15 | Card writing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61262889A JPS61262889A (en) | 1986-11-20 |
| JPH0632099B2 true JPH0632099B2 (en) | 1994-04-27 |
Family
ID=14340292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60102920A Expired - Lifetime JPH0632099B2 (en) | 1985-05-15 | 1985-05-15 | Card writing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0632099B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0762862B2 (en) * | 1985-09-17 | 1995-07-05 | カシオ計算機株式会社 | Authentication method in IC card system |
| JP2831658B2 (en) * | 1988-07-22 | 1998-12-02 | 株式会社東芝 | Lock release method |
| JPH02100164A (en) * | 1988-10-07 | 1990-04-12 | Toppan Printing Co Ltd | Ic card device |
| US5196840A (en) * | 1990-11-05 | 1993-03-23 | International Business Machines Corporation | Secure communications system for remotely located computers |
| JP5487932B2 (en) * | 2009-12-14 | 2014-05-14 | トヨタ自動車株式会社 | Vehicle, power supply device and charging system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2469760A1 (en) * | 1979-11-09 | 1981-05-22 | Cii Honeywell Bull | METHOD AND SYSTEM FOR IDENTIFYING PEOPLE REQUESTING ACCESS TO CERTAIN MEDIA |
| FR2549989B1 (en) * | 1983-07-29 | 1985-09-13 | Philips Ind Commerciale | AUTHENTICATION SYSTEM BETWEEN A CARD READER AND A PAYMENT CARD EXCHANGING INFORMATION |
-
1985
- 1985-05-15 JP JP60102920A patent/JPH0632099B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61262889A (en) | 1986-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6594759B1 (en) | Authorization firmware for conducting transactions with an electronic transaction system and methods therefor | |
| JP4323098B2 (en) | A signature system that verifies the validity of user signature information | |
| US4588991A (en) | File access security method and means | |
| KR100768754B1 (en) | Portable Electronic Billing and Authentication Device and Method Therefor | |
| US4544833A (en) | Process and apparatus for authenticating or certifying at least one item of information contained in a memory of a removable and portable electronic carrier, such as a card | |
| US20050044377A1 (en) | Method of authenticating user access to network stations | |
| US5485519A (en) | Enhanced security for a secure token code | |
| US4357529A (en) | Multilevel security apparatus and method | |
| US5857024A (en) | IC card and authentication method for information processing apparatus | |
| JPWO2000008595A1 (en) | A signature system that presents user signature information | |
| JPS61139873A (en) | Authorization system | |
| JPS61139878A (en) | Safety protection module for electronic fund transfer | |
| JP2000222362A (en) | Method and apparatus for enabling multiple security check points | |
| JPH01500932A (en) | How to check external permission data using a portable object such as a memory card | |
| JPH08249286A (en) | Electronic data transmission / reception system | |
| JPH0632099B2 (en) | Card writing device | |
| JP2003076611A (en) | Memory card with security function | |
| JPH11328325A (en) | Ic card system | |
| JPS61255491A (en) | Card with identification function | |
| JP3622493B2 (en) | Value transfer method | |
| US20020062441A1 (en) | Authentication apparatus for authentication to permit electronic document or payment by card using personal information of individual, verification apparatus for verifying individual at payment site, and electronic authentication system interconnecting the same | |
| JP2877316B2 (en) | Transaction processing equipment | |
| JPH10149103A (en) | Method and system for authentication | |
| JP2001273468A (en) | IC card issuing device and method | |
| JP3693709B2 (en) | Information writing / reading method for portable information recording medium |