JPS63159991A - Portable storage medium processor - Google Patents

Portable storage medium processor

Info

Publication number
JPS63159991A
JPS63159991A JP61309403A JP30940386A JPS63159991A JP S63159991 A JPS63159991 A JP S63159991A JP 61309403 A JP61309403 A JP 61309403A JP 30940386 A JP30940386 A JP 30940386A JP S63159991 A JPS63159991 A JP S63159991A
Authority
JP
Japan
Prior art keywords
card
data
area
portable storage
storage medium
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.)
Granted
Application number
JP61309403A
Other languages
Japanese (ja)
Other versions
JPH07104913B2 (en
Inventor
Yoshio Yoshinaga
吉永 義雄
Hiroshi Oba
大庭 浩
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61309403A priority Critical patent/JPH07104913B2/en
Publication of JPS63159991A publication Critical patent/JPS63159991A/en
Publication of JPH07104913B2 publication Critical patent/JPH07104913B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To exactly prevent an erroneous data from being written, by adding the discriminating information to data respectively in each data holding device, collating these discriminating information, and confirming whether each data in each data holding device is in a correct relation or not. CONSTITUTION:A data discriminating code is added in advance to each data in a floppy disk device 14 (or a magnetic tape unit 15) and a key card KC, prior to read and write of a data, these data discriminating codes are read out and collated. Subsequently, whether each data in the floppy disk device 14 (or the magnetic tape unit 15) and the key card KC is in a correct relation or not is confirmed, and when it is confirmed that each data is in a correct relation, read and write of a data by a read/write control part 39 are executed. In such a way, write of an erroneous data can be prevented exactly.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は、たとえばICカードなどの携帯可能記憶媒体
を発行する携帯可能記憶媒体処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Industrial Application Field) The present invention relates to a portable storage medium processing device that issues portable storage media such as IC cards.

(従来の技術) 一般に、識別カードあるいはクレジットカードなどに使
用されている磁気ストライブ付カード、いわゆる磁気カ
ードは記憶データ量が少なく、また記憶内容の読出しが
容易なため、セキュリティ性が低いなどの問題がある。
(Prior art) Cards with magnetic stripes, so-called magnetic cards, which are generally used for identification cards or credit cards, have a small amount of stored data and are easy to read, so they have low security. There's a problem.

そこで最近、記憶内容の読出しに対してセキュリティ性
が高く、また記憶客員が大きい携帯可能記憶媒体、いわ
ゆるICカードが使用されつつある。この種のICカー
ドは、通常、カード製造者から未発行の状態でカード発
行者に渡され、カード発行者において所定のデータを書
込むことにより発行され、使用者に渡されるようになっ
ている。
Therefore, recently, a so-called IC card, which is a portable storage medium that has high security against readout of stored contents and has a large storage capacity, is being used. This type of IC card is usually handed over from the card manufacturer to the card issuer in an unissued state, and the card issuer writes predetermined data on it, issues it, and hands it to the user. .

ところで、従来のICカードの発行処理方法は、従来の
磁気カードの発行のように、磁気テープあるいはフロッ
ピィディスクなどに書込まれたデータをホストコンピュ
ータを介してそのままカードリーダ・ライタに入力し、
未発行のICカードに書込むことにより発行する方法が
用いられていた。
By the way, in the conventional IC card issuance processing method, data written on a magnetic tape or floppy disk is directly input to a card reader/writer via a host computer, as in the case of conventional magnetic card issuance.
A method was used in which the IC card was issued by writing on an unissued IC card.

しかし、このような従来の処理方法では、ICカードに
書込むデータが容易に外部に漏れる可能性が非常に大き
く、このため処理装置に対してセキュリティ性が乏しい
という欠点があった。
However, in such conventional processing methods, there is a very large possibility that the data written on the IC card will be easily leaked to the outside, and therefore there is a drawback that security for the processing device is poor.

そこで最近、セキュリティ性に重要なデータの一部をI
Cカードに保持(記憶)し、このICカードによってデ
ータ入力を行なうようにしたものが考えられている。と
ころが、ICカードには、発行するICカードの全デー
タを保持することが不可能なため、磁気テープあるいは
フロッピィディスクによるデータ入力も必要となる。こ
のため、データ入力のためのデータ保持装置が複数にな
り、各データ保持装置内のデータ相互間が正しい関係に
ないと、誤ったデータを書込んでしまうという問題があ
った。
Therefore, recently, some of the data important for security has been
It has been considered that the information is stored (stored) in a C card and data is input using this IC card. However, since it is impossible for an IC card to hold all the data of the issued IC card, it is also necessary to input data using a magnetic tape or floppy disk. For this reason, there is a problem that a plurality of data holding devices are used for data input, and if the data in each data holding device is not in the correct relationship, erroneous data may be written.

(発明が解決しようとする問題点) 本発明は、上記したようにデータ入力のための各データ
保持装置内のデータ相互間が正しい関係にないと、誤っ
たデータを書込んでしまうという問題点を解決すべくな
されたもので、各データ保持装置内のデータ相互間が正
しい関係にあるか否かをチェックし、誤ったデータの書
込みを確実に防止できる携帯可能記憶媒体処理装置を提
供することを目的とする。
(Problems to be Solved by the Invention) As described above, the present invention solves the problem that if the data in each data holding device for data input is not in the correct relationship, incorrect data will be written. To provide a portable storage medium processing device which can check whether data in each data storage device has a correct relationship with each other and can reliably prevent writing of erroneous data. With the goal.

[発明の構成] (問題点を解決するための手段) 本発明の携帯可能記憶媒体処理装置は、携帯可能記憶媒
体に対して所定のデータを書込むものであって、識別情
報が付加されている前記携帯可能記憶媒体に書込むべき
携帯可能記憶媒体ごとに異なるデータを保持した第1デ
ータ保持装置と、識別情報が付加されている前記携帯可
能記憶媒体に書込むべき携帯可能記憶媒体に共通なデー
タを保持した第2データ保持装置と、これら第1.第2
データ保持装置から前記識別情報をそれぞれ読出し、こ
れら各識別情報を照合することにより、第1.第2デー
タ保持装置内のデータ相互間が正しい関係にあるか否か
をf!認する照合手段と、この照合手段で正しい関係に
あると確認されると、前記第1.第2データ保持装置と
前記携帯可能記憶媒体との相互間でデータの読取り書込
みを制御する読取り書込み制御手段とを具備している。
[Structure of the Invention] (Means for Solving the Problems) A portable storage medium processing device of the present invention writes predetermined data to a portable storage medium, and has identification information added thereto. a first data holding device that holds different data for each portable storage medium to be written in the portable storage medium, and a first data holding device that is common to the portable storage medium to which identification information is added and to be written in the portable storage medium; a second data holding device holding data; Second
By reading each of the identification information from the data holding device and collating each of these pieces of identification information, the first. f! Check whether there is a correct relationship between the data in the second data holding device. If it is confirmed that there is a correct relationship between the verification means and the verification means, the first. The apparatus further includes a reading/writing control means for controlling reading/writing of data between the second data holding device and the portable storage medium.

(作用) 各データ保持装置内のデータにそれぞれ識別情報を付加
しておき、これら識別情報を照合することにより、各デ
ータ保持装置内のデータ相互間が正しい関係にあるか否
かを確認し、正しい関係にあると確認したとき、各デー
タ保持装置と携帯可能記憶媒体との相互間でデータの読
取り書込みを行なうことにより、各データ保持装置内の
データ相互間が正しい関係にあるか否かをチェックし、
誤ったデータの書込みを確実に防止することができる。
(Function) By adding identification information to each data in each data holding device and comparing these identification information, it is confirmed whether the data in each data holding device is in a correct relationship with each other, When it is confirmed that there is a correct relationship, by reading and writing data between each data holding device and the portable storage medium, it is possible to check whether or not there is a correct relationship between the data in each data holding device. Check and
Writing of incorrect data can be reliably prevented.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第3図は本発明に係る携帯可能記m媒体の一例として、
発行後の磁気ストライブ付ICカードの外観を示してい
る。すなわち、1はカード本体で、たとえば長方形状の
厚さの薄いプラスチック板からなる。カード本体1の表
面端部には、長手方向へ帯状に形成された磁気ストライ
プ2が設けられている。また、カード本体1の表面には
、滓出印字されたエンボスに表記されるエンボス情報3
が形成されている。エンボス情報3は、たとえばカード
携帯者の氏名、口座番号およびカードの有効期限など、
カード携帯者の識別情報などからなる。
FIG. 3 shows an example of a portable storage medium according to the present invention.
The appearance of an IC card with a magnetic stripe after being issued is shown. That is, 1 is a card body, which is made of, for example, a rectangular thin plastic plate. A magnetic stripe 2 is provided at the end of the front surface of the card body 1 in the form of a strip in the longitudinal direction. In addition, on the surface of the card body 1, embossed information 3 is written on an embossed print.
is formed. The embossed information 3 includes, for example, the name of the card holder, the account number, and the expiration date of the card.
It consists of identification information of the cardholder.

さらに、カード本体1の表面には、カード本体1内に埋
設された集積回路(IC>4と電気的に接続され、図示
しないカードリーダ・ライタとの電気的接触を得るため
の入出力端子としてのコンタクト部5が設けられている
。集積回路4は、制御部(たとえばマイクロプロセッサ
)6およびメモリ部(たとえばEEPROM)7から構
成されている。なお、発行前においてはエンボス情報3
は形成されていないものとする。
Furthermore, the surface of the card body 1 is electrically connected to an integrated circuit (IC>4) embedded in the card body 1, and serves as an input/output terminal for electrical contact with a card reader/writer (not shown). A contact section 5 is provided.The integrated circuit 4 is composed of a control section (for example, a microprocessor) 6 and a memory section (for example, an EEPROM) 7.The embossed information 3 is provided before publication.
is not formed.

第2図は本発明に係る携帯可能記憶媒体処理装置の一例
として、ICカードを発行するICカード処理装置の外
観斜視図を示し、第1図はそのブロック構成図を示して
いる。すなわち、11はホスト制御ユニットで、図示し
ない制御部および制御プログラムを内蔵しているメモリ
部などからなるホストプロセッサ12と、本装置全体を
制御するプログラムおよび本装置の処理内容を記憶する
ハードディスク装置1213と、ICカードに書込むデ
ータの一部であるICカードごとに異なるデータ、たと
えばカード携帯者の氏名、キャッシュカードであれば口
座番号などのデータを入力するためのフロッピィディス
ク装[14とから構成される装置のホストとなるもので
ある。ここで、フロッピィディスク装[14におけるフ
ロッピィディスクのデータフォーマット例を示すと第5
図のようになっており、先頭からデータ制御部D11、
識別情報としてのデータ識別コードD12、データ(個
人データ)D13.・・・の順に構成されている。デー
タ識別コードD12は、データD13の識別コードであ
り、番号あるいは記号などから構成されている。
FIG. 2 shows an external perspective view of an IC card processing device that issues IC cards as an example of a portable storage medium processing device according to the present invention, and FIG. 1 shows a block configuration diagram thereof. That is, 11 is a host control unit, which includes a host processor 12 consisting of a control section (not shown) and a memory section containing a control program, and a hard disk drive 1213 that stores a program for controlling the entire apparatus and the processing contents of the apparatus. and a floppy disk device [14] for inputting data that is part of the data to be written on the IC card and that differs from IC card to IC card, such as the name of the card holder and the account number in the case of a cash card. This is the host for the device that will be used. Here, an example of the data format of the floppy disk in the floppy disk device [14]
As shown in the figure, from the beginning, the data control unit D11,
Data identification code D12 as identification information, data (personal data) D13. It is configured in the following order. The data identification code D12 is an identification code of the data D13, and is composed of numbers or symbols.

15はフロッピィディスク装M14と同様にICカード
ごとに異なるデータを入力するための磁気テープユニッ
トで、ホストプロセッサ12に接続されており、これに
より例えばICカード発行者がそのサービス用に利用し
ているシステムのホストコンピュータに登録された新規
加入者のリストから、ホストコンピュータの磁気テープ
ユニットで作成した磁気テープを利用することも可能と
なっている。ここで、磁気テープユニット15における
磁気テープのデータフォーマット例を示すと第6図のよ
うになっており、先頭からデータ開始マークD21、識
別情報としてのデータ識別コードD22、データ(個人
データ)D23.・・・の順に構成されている。データ
識別コードD22は、データD23の識別コードであり
、番号あるいは記号などから構成されている。
15 is a magnetic tape unit for inputting different data for each IC card, similar to the floppy disk M14, and is connected to the host processor 12, so that it can be used, for example, by an IC card issuer for its services. It is also possible to use the magnetic tape created by the magnetic tape unit of the host computer from the list of new subscribers registered in the host computer of the system. Here, an example of the data format of the magnetic tape in the magnetic tape unit 15 is shown in FIG. 6, starting from the beginning with a data start mark D21, a data identification code D22 as identification information, data (personal data) D23. It is configured in the following order. The data identification code D22 is an identification code of the data D23, and is composed of numbers or symbols.

16は種々の操作を行なうためのキーボード、17は操
作手順や状態などを表示するためのCRT表示装置であ
り、これらはホストプロセッサ12に接続されている。
16 is a keyboard for performing various operations, and 17 is a CRT display device for displaying operating procedures, status, etc., and these are connected to the host processor 12.

18はカードリーダ・ライタで、ホストプロセッサ12
に接続されており、本装置の起動をかけるアクセスキー
カードACを挿入することが可能となっている。ここに
、アクセスキーカードACは、たとえば第3図に示した
ICカードと同様なICカードが用いられる。
18 is a card reader/writer, and the host processor 12
It is possible to insert an access key card AC to activate the device. Here, as the access key card AC, for example, an IC card similar to the IC card shown in FIG. 3 is used.

ただし、磁気ストライプ2およびエンボス情報3は設け
られていなくともよい。
However, the magnetic stripe 2 and the embossed information 3 may not be provided.

19は発行されたICカードをその携帯者へ発送するた
めの発送書などを作成するプリンタ、20はカード携帯
者の仮暗証番号(カード携帯者本人が変更可能)をカー
ド携帯者にICカードとは別に通知するための発行通知
!21を作成するプリンタであり、これらはホストプロ
セッサ12に接続されている。プリンタ20で作成され
る発行通知書21は、たとえば第7図に示すように構成
されている。すなわち、2枚重ねの用紙22にあらかじ
め周縁部(斜線部23)が糊付けされた封筒状の発行通
知!21が形成されていて、その周縁部に設けられたミ
シン目24で切断できるようになっている。そして、こ
の発行通知!21に住所・氏名25および仮暗証番号2
6などが印字される。この場合、住所・氏名25を印字
する部分は表の1枚目も発色し、仮暗証番号26を印字
する部分は裏の2枚目の表(内側)にのみ発色して表の
1枚目は発色しないようになっている。これにより、仮
暗証番号はカード携帯者本人のみが知り得るように表記
されるようになっている。
19 is a printer that creates a shipping note for shipping the issued IC card to its owner, and 20 is a printer that sends the card holder's temporary PIN (which can be changed by the card holder) to the IC card holder. Issuance notice to notify separately! 21, which are connected to the host processor 12. The issuance notice 21 created by the printer 20 is structured as shown in FIG. 7, for example. In other words, the issuance notice is in the form of an envelope, with the periphery (hatched area 23) glued to two sheets of paper 22 in advance! 21 is formed so that it can be cut at perforations 24 provided at its peripheral edge. And this issuance notice! 21, address/name 25 and temporary PIN number 2
6 etc. will be printed. In this case, the area where the address/name 25 is printed will also be colored on the first sheet on the front, and the area where the temporary PIN number 26 will be printed will be colored only on the front (inside) of the second sheet on the back, and the area where the temporary PIN number 26 will be printed will be colored only on the front (inside) of the second sheet. is designed not to develop color. As a result, the temporary PIN number is written so that only the cardholder can know it.

27は発行するICカードを処理する発行処理ユニット
であり、ホストプロセッサ12に接続されている。発行
処理ユニット27は次のように構成されている。すなわ
ち、28はマイクロプロセッサで、ホストプロセッサ1
2からの命令にしたがってICカードの発行制御、すな
わちICカードの磁気ストライプ2に磁気データを書込
む制御、ICカード上にエンボス情報3を形成する制御
、ICカードのメモリ部7にデータを書込む制御などを
行なう。29はキーボード、30は表示器であり、これ
らはマイクロプロセッサ28に接続されている。キーボ
ード29は、暗証番号の入力、本発行処理ユニット27
のテスト動作、トラブル時のリセットなどの入力として
用いられる。表示器30は、本発行処理ユニット27の
状態やテスト動作の結果などを表示するものである。
27 is an issuance processing unit that processes the IC card to be issued, and is connected to the host processor 12. The issue processing unit 27 is configured as follows. That is, 28 is a microprocessor, and host processor 1
IC card issuance control according to commands from 2, that is, control to write magnetic data on the magnetic stripe 2 of the IC card, control to form embossed information 3 on the IC card, and write data to the memory section 7 of the IC card. Control etc. 29 is a keyboard, and 30 is a display device, which are connected to the microprocessor 28. The keyboard 29 is used for inputting a PIN number and for book issuance processing unit 27.
Used as input for test operation, reset in case of trouble, etc. The display 30 displays the status of the main issue processing unit 27, the results of test operations, and the like.

発行前のICカードはホッパ31に積層収納されており
、マイクロプロセッサ28からの信号によって1枚ずつ
取出されるようになっている。ホッパ31から取出され
たICカードは、磁気データを書込むエンコード部32
に送られる。マイクロプロセッサ28は、エンコード部
32にICカードがきたことを図示しない検知器によっ
て検知された後、図示しない書込み読取りヘッド(磁気
ヘッド)により磁気ストライプ2に磁気データを書込む
。書込み終了後、マイクロプロセッサ28は書込んだデ
ータを読取り、書込んだデータが正しく書込まれている
か否かのチェックを行なった後、ICカードをエンボス
ユニット33へ送る。
Unissued IC cards are stacked and stored in a hopper 31, and are taken out one by one in response to a signal from the microprocessor 28. The IC card taken out from the hopper 31 is sent to an encoder section 32 in which magnetic data is written.
sent to. After a detector (not shown) detects that the IC card has arrived at the encoder 32, the microprocessor 28 writes magnetic data on the magnetic stripe 2 using a write/read head (magnetic head) (not shown). After writing is completed, the microprocessor 28 reads the written data, checks whether the written data is correctly written, and then sends the IC card to the embossing unit 33.

書込まれたデータが正しくない場合、再び磁気データを
書込み、その後チェックがなされる。これでも正しく書
込むことができない場合、エンボスユニット33を素通
りし、さらにリーダライタユニット34を通り、破壊ユ
ニット35へ送られ、ここで例えば第4図に示すように
磁気ストライプ2の部分に穴8を開ける。これにより、
ICカードを使用できないようにするとともに、目視で
もって不良ICカードであることを判断できるようにす
る。また、エンボス情報3が形成された後であるならば
、たとえば第4図に示すようにエンボス情報3の部分に
も穴9を開ける。電気的な記録に関しては、ICカード
の制御部6によってICカードが使用できないようにボ
イド命令をメモリ部7に書込むことが可能なため、必ず
しも穴を開けるなどの破壊を行なう必要がない。これに
より、このICカードの使用可能な端末機での使用が不
可能なようにするばかりでなく、このICカードを機器
を使用しなくとも使用できないことの判断が可能になっ
ている。磁気ストライプ2およびエンボス情報3の部分
に対する穴開け、メモリ部7に対するボイド命令の書込
みは次のような形態のとき行なわれる。
If the written data is incorrect, the magnetic data is written again and then checked. If the writing still cannot be done correctly, the data passes through the embossing unit 33, further passes through the reader/writer unit 34, and is sent to the destruction unit 35, where, for example, as shown in FIG. open it. This results in
To make an IC card unusable and to visually determine that it is a defective IC card. Further, if the emboss information 3 has been formed, a hole 9 is also made in the emboss information 3 portion as shown in FIG. 4, for example. Regarding electrical recording, it is possible to write a void command in the memory section 7 so that the IC card cannot be used by the control section 6 of the IC card, so it is not necessarily necessary to destroy the IC card by drilling a hole or the like. This not only makes it impossible to use this IC card in a terminal that can use it, but also makes it possible to determine that this IC card cannot be used without using a device. The punching of the magnetic stripe 2 and the embossed information 3 and the writing of a void command into the memory section 7 are performed in the following manner.

1つ目は磁気ストライプ2が不良の場合と、磁気ストラ
イプ2への書込みが正常に終了してエンボス情報3の形
成途中でのエラーの場合、2つ目はエンボス情報3が正
常に形成された場合と、正常ではないが見た目は正常に
エンボス情報3が形成された場合(たとえば口座番号の
最後の数字が誤った数字でエンボスされた場合など)で
メモリ部7への書込みが不可能な場合である。3つ目は
磁気ストライプ2およびエンボス情報3は正常であるが
、メモリ部7の一部が不良のため正常なICカードとな
らず、しかしこのICカードの使用できる端末機の使用
が部分的に可能な場合である。
The first is when the magnetic stripe 2 is defective, the writing to the magnetic stripe 2 is completed normally but there is an error in the middle of forming the embossed information 3, and the second is when the embossed information 3 is formed normally. and cases where the embossed information 3 is formed normally but not normally (for example, when the last digit of the account number is embossed with an incorrect number) and it is impossible to write to the memory unit 7. It is. Third, although the magnetic stripe 2 and emboss information 3 are normal, a part of the memory section 7 is defective, so it is not a normal IC card, but the terminal that can use this IC card is partially used. If possible.

1つ目の場合の処理は、磁気ストライプ2に破壊ユニッ
ト35によって穴8を開け、リーダライタユニット34
でメモリ部7にボイド命令を由込む。エンボス情報3は
全く形成されていないが、不完全なため見ても判断可能
なであり、したがって破壊ユニット35で穴開けを行な
う必要がない。
In the first case, a hole 8 is made in the magnetic stripe 2 by the destruction unit 35, and a hole 8 is made in the magnetic stripe 2 by the reader/writer unit 34.
A void command is loaded into the memory section 7. Although the emboss information 3 is not formed at all, since it is incomplete, it can be determined by looking at it, and therefore there is no need to make holes with the destruction unit 35.

2つ目の場合の処理は、磁気ストライプ2が正常に書込
まれ、またエンボス情報3が正常に形成されているため
、磁気ストライプ2およびエンボス情報3の各部分を破
壊ユニット35によって穴開けを行なう。メモリ部7へ
は畠込みが不可能なため、ボイド命令をリーダライタユ
ニット34で書込む必要がない(むしろボイド命令自身
を書込むことが不可能である)。
In the second case, since the magnetic stripe 2 is written normally and the embossed information 3 is formed normally, each part of the magnetic stripe 2 and embossed information 3 is punched by the destruction unit 35. Let's do it. Since data cannot be written into the memory unit 7, there is no need for the reader/writer unit 34 to write a void instruction (in fact, it is impossible to write the void instruction itself).

3つ目の場合の処理は、磁気ストライプ2およびエンボ
ス情報3の各部分を破壊ユニット35@によって穴開け
を行なうとともに、リーダライタユニット34でメモリ
部7にボイド命令を書込む。
In the third case, each part of the magnetic stripe 2 and embossed information 3 is punched by the destruction unit 35 @, and a void command is written in the memory section 7 by the reader/writer unit 34 .

以上のような使用不可処理が不良ICカードになされた
後、区分部36によって振分けられ、リジェクトスタッ
カ37に不良ICカードが集積される。
After the above-mentioned unusable processing is performed on the defective IC cards, they are sorted by the sorting section 36 and are stacked in the reject stacker 37.

正常に磁気データが書込まれてエンボスユニット33に
送られたICカードは、エンボスユニット33でエンボ
ス情報3が形成される。ここでは、一般的に文字の型(
凸型と凹型)のプレスによって上側に浮上り文字を形成
するが、文字を貼付けたりして浮上り文字を形成しても
よい。文字の型のプレスでエンボス情報3を形成する場
合、文字ごとのプレス型の位置をチェックしており、正
常にエンボスがなされているか否かマイクロプロセッサ
28がチェックしていて、エンボスが不良になったら直
ちにエンボスを中止して前述したような使用不可処理が
なされる。勿論、エンボスにするデータはマイクロプロ
セッサ28によって制御される。
The IC card on which magnetic data has been normally written and sent to the embossing unit 33 has embossed information 3 formed thereon. Here, we generally use character types (
Although raised characters are formed on the upper side by pressing (convex and concave), raised characters may also be formed by pasting characters. When forming emboss information 3 by pressing a character mold, the position of the press mold for each character is checked, and the microprocessor 28 checks whether or not the emboss is done correctly. Immediately after this happens, embossing is stopped and the above-mentioned unusable process is performed. Of course, the data to be embossed is controlled by the microprocessor 28.

正常にエンボス情報3が形成されると、ICカードはリ
ーダライタユニット34へ送られ、リーダライタユニッ
ト34のコンタクト位置にICカードのコンタクト部5
がきて停止される。その後、リーダライタユニット34
の口承しないコンタクト部がICカードのコンタクト部
5と接触するようにマイクロプロセッサ28によって制
御される。
When the embossed information 3 is normally formed, the IC card is sent to the reader/writer unit 34, and the contact portion 5 of the IC card is placed at the contact position of the reader/writer unit 34.
came and was stopped. After that, the reader/writer unit 34
The microprocessor 28 controls the non-oral contact portion of the IC card to contact the contact portion 5 of the IC card.

マイクロプロセッサ28によってコンタクト部5の接触
が完了したとの信号が読取り書込み制御部39に入力さ
れると、読取り書込み制御部39はコンタクト部5を介
して制御部6およびメモリ部7に電源を供給し、開始信
号(コマンド)を送る。
When the microprocessor 28 inputs a signal to the read/write control section 39 indicating that the contact of the contact section 5 has been completed, the read/write control section 39 supplies power to the control section 6 and the memory section 7 via the contact section 5. and sends a start signal (command).

読取り書込み!1IJI11部39は、ICカードの制
御部6から返事信号(レスポンス)を受けた後、読取り
書込み制御部39に接続されたカードリーダ・ライタ4
0に挿入されるキーカードKC,およびカードリーダ・
ライタ41に挿入されるフィックストデータカードFC
からのデータをICカードのメモリ部7に書込み、チェ
ックを行なう。ここで、正常にデータが書込まれたこと
が読取り書込み制御部39よって確認されると、読取り
書込み制御部39からの信号を受けて、マイクロプロセ
ッサ28はICカードのコンタクト部5から図示しない
コンタクト部を離すようにリーダライタユニット34を
制御する。その後、マイクロプロセッサ28の制御によ
って、破壊ユニット35を素通りして区分部36で振分
けられ、スタッカ38に正常に全ての書込みが終了した
ICカードが集積される。ここに、キーカードKOおよ
びフィックストデータカードFCは、たとえば第3図に
示したICカードと同様なICカードが用いられる。
Read and write! After receiving a reply signal (response) from the IC card control unit 6, the 1IJI11 unit 39 sends the card reader/writer 4 connected to the reading/writing control unit 39.
Key card KC inserted into 0, and card reader/
Fixed data card FC inserted into writer 41
The data is written into the memory section 7 of the IC card and checked. Here, when the read/write controller 39 confirms that the data has been written normally, the microprocessor 28 receives a signal from the read/write controller 39 and sends the IC card's contact section 5 to a contact (not shown). The reader/writer unit 34 is controlled to separate the parts. Thereafter, under the control of the microprocessor 28, the IC cards pass through the destruction unit 35 and are sorted by the sorting section 36, and the IC cards on which all writing has been normally completed are stacked in the stacker 38. Here, as the key card KO and fixed data card FC, for example, an IC card similar to the IC card shown in FIG. 3 is used.

ただし、磁気ストライプ2およびエンボス情報3は設け
られていなくともよい。
However, the magnetic stripe 2 and the embossed information 3 may not be provided.

なお、第2図において42はスタッカ37゜38内のI
Cカードを取出すための取出口扉である。
In addition, in FIG. 2, 42 is the I in the stacker 37°38.
This is an exit door for taking out the C card.

第8図はアクセスキーカードACのメモリ部50の内容
を示している。51は制御プログラムエリア、52は端
末アクセスコードエリア、53はカードアクセスコード
エリア、54は暗証番号エリア、55は使用者氏名(コ
ード)エリア、56はボイドエリア、57はエラーカウ
ントエリア、58は発行記録エリアである。
FIG. 8 shows the contents of the memory section 50 of the access key card AC. 51 is a control program area, 52 is a terminal access code area, 53 is a card access code area, 54 is a pin number area, 55 is a user name (code) area, 56 is a void area, 57 is an error count area, and 58 is an issue area. This is the recording area.

第9図はキーカードKCのメモリ部60の内容を示して
いる。61は制御プログラムエリア、62は発行コード
エリア、63は端末アクセスコードエリア、64はカー
ドアクセスコードエリア、65は暗証番号エリア、66
は使用者氏名(コード)エリア、67は発行1仮暗証番
号エリア、68は発行者記録エリア、69はボイドエリ
ア、70はエラーカウントエリア、71は発行枚数エリ
ア、72は発行カウントエリア、73は不良力ラントエ
リア、74は発行累計エリア、75は発行記録エリア、
76はデータ識別コードエリアである。
FIG. 9 shows the contents of the memory section 60 of the key card KC. 61 is a control program area, 62 is an issue code area, 63 is a terminal access code area, 64 is a card access code area, 65 is a pin number area, 66
is user name (code) area, 67 is issue 1 temporary PIN area, 68 is issuer record area, 69 is void area, 70 is error count area, 71 is issue number area, 72 is issue count area, 73 is Defective power runt area, 74 is cumulative issuance area, 75 is issuance record area,
76 is a data identification code area.

第10図はフィックストデータカードFCのメモリ部8
0の内容を示している。81は制御プログラムエリア、
82は発行コードエリア、83は端末アクセスコードエ
リア、84はカードアクセスコードエリア、85は暗証
番号エリア、86は使用者氏名(コード)エリア、87
はボイドエリア、88はエラーカウントエリア、89は
データエリアである。
Figure 10 shows the memory section 8 of the fixed data card FC.
The content of 0 is shown. 81 is a control program area;
82 is an issue code area, 83 is a terminal access code area, 84 is a card access code area, 85 is a pin number area, 86 is a user name (code) area, 87
is a void area, 88 is an error count area, and 89 is a data area.

第11図は発行後のICカードのメモリ部7の内容を示
している。91は基本Ill ’IAプログラムエリア
、92は製造者記録エリア、93は発行者記録エリア、
94は発行記録エリア、95はアプリケーションプログ
ラムエリア、96は携帯者記録エリア、97は空エリア
である。
FIG. 11 shows the contents of the memory section 7 of the IC card after it is issued. 91 is the basic Ill'IA program area, 92 is the manufacturer record area, 93 is the issuer record area,
94 is an issue record area, 95 is an application program area, 96 is a bearer record area, and 97 is an empty area.

次に、上記のような構成において第12図に示すフロー
チャートを参照しつつ動作を説明する。
Next, the operation of the above configuration will be explained with reference to the flowchart shown in FIG. 12.

まず、本装置の電源を投入すると、ホストアロセッサ1
2は初期設定を行ない、問題がなければ表示装置17に
「アクセスキーカードを挿入しなさい」とのメツセージ
を表示せしめる(Sl)。ここで、オペレータはアクセ
スキーカードACをカードリーダ・ライタ18に挿入す
る(S2)。すると、アクセスキーカードACは電源が
供給されて起動がかけられ、アクセスキーカードACと
ホストプロセッサ12との間で、挿入されたアクセスキ
ーカードACが本装置に適合しているか否かの照合がな
される(83.84)。この適合性の照合は、たとえば
次のよう−な方法で行なわれる。
First, when you turn on the power of this device, the host processor 1
Step 2 performs initial settings, and if there are no problems, displays a message "Insert the access key card" on the display device 17 (Sl). Here, the operator inserts the access key card AC into the card reader/writer 18 (S2). Then, the access key card AC is supplied with power and activated, and a check is made between the access key card AC and the host processor 12 to see if the inserted access key card AC is compatible with this device. be done (83.84). This compatibility verification is performed, for example, in the following manner.

すなわち、アクセスキーカードACのメモリ部50の端
末アクセスコードエリア52に端末アクセスコードが記
憶されており、ホストプロセッサ12からこの端末アク
セスコードを要求し、これをホストプロセッサ12に返
信することにより、ホストプロセッサ12に登録しであ
るコードと照合する。次に、ホストプロセッサ12から
カードアクセスコードをアクセスキーカードACに送り
、メモリ部50のカードアクセスコードエリア53内の
カードアクセスコードとの照合をアクセスキーカードA
C内で行なう。どのような方法であれ、ホストプロセッ
サ12とアクセスキーカードACとがお互いにアクセス
が可能であることを照合する。もし、ここでホストプロ
セッサ12とアクセスキーカードACとの照合がとれな
かった場合、アクセスキーカードACはカードリーダ・
ライタ18から排出され(S5)、処理は全て終了する
That is, a terminal access code is stored in the terminal access code area 52 of the memory section 50 of the access key card AC, and by requesting this terminal access code from the host processor 12 and returning it to the host processor 12, the host It is compared with a code registered in the processor 12. Next, the host processor 12 sends the card access code to the access key card AC, and the access key card A is checked against the card access code in the card access code area 53 of the memory section 50.
Do this in C. By any method, it is verified that the host processor 12 and the access key card AC can access each other. If the host processor 12 and the access key card AC cannot be matched here, the access key card AC is connected to the card reader.
It is ejected from the writer 18 (S5), and the entire process ends.

なお、アクセスキーカードACが異なっていたため、別
のアクセスキーカードACを用いる場合は最初のステッ
プから開始することに・なる。
Note that since the access key card AC was different, if another access key card AC is used, the process will start from the first step.

ステップS4において、ホストプロセッサ12とアクセ
スキーカードACとの照合がとれた場合、ホストプロセ
ッサ12は表示装置17に「暗証番号を投入しなさい」
とのメツセージを表示せしめる(S6)。ここで、オペ
レータはキーボード16によって暗証番号を入力する(
S7)。この入力された暗証番号は、ホストプロセッサ
12によってアクセスキーカードACに送られ、アクセ
スキーカードACの内部で、アクセスキーカードACの
制御部(図示しない)とメモリ部5oの制御プログラム
エリア51内の111111プログラムとによって暗証
番号エリア54内の暗証番号との照合が行なわれる(S
8)。もし、ここで暗証番号が不一致となった場合、メ
モリ部50のエラーカウントエリア57がチェックされ
る(S9)。たとえば不一致回数が3回になった場合は
、そのアクセスキーカードACが使用できないと制御プ
ログラムエリア51内の制御プログラムによって制御さ
れていれば、不一致回数(エラー回数)が3回になって
いるか否かをチェックする。ここで、不一致回数が3回
に達していない場合、エラーカウントエリア57内の値
が1つカウントアツプされて(S10)、表示装置17
に「暗証番号不照合、再度暗証番号を投入しなさい」と
のメツセージが表示されるが、動作はステップS6に戻
る。そこで再度、暗証番号を入力することになる。一方
、不一致回数が3回に達している場合、メモリ部50の
ボイドエリア56にボイド命令が書込まれ(811)、
それ以降のアクセスキーカードACの使用ができないこ
とになる。この方法は、たとえばホストプロセッサ12
とアクセスキーカードACとの照合のとき、端末アクセ
スフードの代わりに使用不可のコードをだすことによっ
てなされる。このようにして、アクセスキーカードAC
がボイドされた場合、メモリ部50の使用者氏名エリア
55の内容が読出されて、プリンタ19によって使用者
氏名、不照合のコメントおよび日付などが印字され(8
12>、この印字終了後に処理は全て終了する。なお、
上記印字の前に使用者氏名を読出された後、アクセスキ
ーカードACはカードリーダ・ライタ18から排出され
る。
In step S4, if the host processor 12 and the access key card AC are matched, the host processor 12 displays the message "Enter your PIN" on the display device 17.
A message is displayed (S6). Here, the operator inputs the password using the keyboard 16 (
S7). This input PIN number is sent to the access key card AC by the host processor 12, and inside the access key card AC, a control section (not shown) of the access key card AC and a control program area 51 of the memory section 5o are stored. 111111 program is used to check the PIN number in the PIN area 54 (S
8). If the passwords do not match here, the error count area 57 of the memory section 50 is checked (S9). For example, if the number of mismatches reaches 3, it is determined that the access key card AC cannot be used.If the control program in the control program area 51 controls the access key card AC, it is determined whether the number of mismatches (the number of errors) is 3 or not. Check whether Here, if the number of mismatches has not reached three, the value in the error count area 57 is incremented by one (S10), and the display device 17
The message "Password number not verified, please enter the password again" is displayed, but the operation returns to step S6. Then you will have to enter your PIN again. On the other hand, if the number of mismatches has reached three, a void instruction is written in the void area 56 of the memory unit 50 (811),
The access key card AC cannot be used thereafter. This method includes, for example, the host processor 12
This is done by issuing an unusable code instead of the terminal access hood when checking the access key card AC. In this way, access key card AC
is voided, the contents of the user name area 55 of the memory unit 50 are read out, and the printer 19 prints out the user name, mismatched comment, date, etc. (8
12>, the entire process ends after this printing is completed. In addition,
After the user's name is read before the above printing, the access key card AC is ejected from the card reader/writer 18.

ステップS8において暗証番号が一致した場合、ホスト
プロセッサ12は表示装置17に「キーカードを挿入し
なさい」とのメツセージを表示せしめる(S13)。こ
こで、キーカードKCをカードリーダ・ライタ40に挿
入する(S14)。すると、キーカードKOと読取り書
込み制御部39とが、前述したホストプロセッサ12と
アクセスキーカードACとがお互いにアクセスが可能で
あることを照合したと同様な方法で照合を行なう(S1
5.516)。もし、ここでキーカードKOと読取り書
込み制御部39との照合がとれなかった場合、キーカー
ドKOはカードリーダ・ライタ40から排出される(8
17)。新しいキーカードKCがあった場合、すなわち
異なったキーカードKOを間遠って挿入した場合、正し
い別のキーカードKCを挿入することができる (S1
8)。別のキーカードKOがない場合、キーボード16
で終了キーを押下する(819)。すると、アクセスキ
ーカードACのメモリ部50の使用者氏名エリア55の
内容が読出された後、アクセスキーカードACがカード
リーダ・ライタ18から排出される(820>。これと
同時に、プリンタ19によって上記使用者氏名エリア5
5から読出した使用者氏名が日付とともに印字され(S
21)、この印字終了後に処理は全て終了する。
If the passwords match in step S8, the host processor 12 causes the display device 17 to display a message "insert key card" (S13). Here, the key card KC is inserted into the card reader/writer 40 (S14). Then, the key card KO and the read/write control unit 39 perform verification in the same manner as the above-described verification that the host processor 12 and the access key card AC can access each other (S1
5.516). If the key card KO and the reading/writing control section 39 cannot be matched here, the key card KO is ejected from the card reader/writer 40 (8
17). If there is a new keycard KC, i.e. if a different keycard KO has been inserted a long time ago, the correct different keycard KC can be inserted (S1
8). If there is no other keycard KO, keyboard 16
Press the end key (819). Then, after the contents of the user name area 55 of the memory section 50 of the access key card AC are read out, the access key card AC is ejected from the card reader/writer 18 (820>. At the same time, the printer 19 prints the User name area 5
The user name read from 5 is printed along with the date (S
21), the entire process ends after this printing is completed.

ステップ816において、キーカードKCと読取り書込
み制御部39との照合がとれた場合、その旨の信号を読
取り書込み制御部39からマイクロプロセッサ28を介
して受けることにより、ホストプロセッサ12は表示装
置17に[暗証番号を投入しなさい」とのメツセージを
表示せしめる(822)。ここで、キーボード29によ
って暗証番号を入力する(823)。この暗証番号の入
力は、アクセスキーカードACを使用するオペレータで
なく、管理者が行なうことにすれば、ICカードの発行
業務のセキュリティ性が高まることになる。また、暗証
番号の入力がキーボード16によらないで、発行処理ユ
ニット27に設けられたキーボード29で行なわれるた
め、途中で盗聴ができないように外部への配線がなされ
ていないなどのセキュリティ性が高められている。
In step 816, when the key card KC and the read/write controller 39 are matched, the host processor 12 receives a signal to that effect from the read/write controller 39 via the microprocessor 28, and the host processor 12 displays the display device 17. The message "Please enter your password" is displayed (822). Here, the password is input using the keyboard 29 (823). If the password is entered by the administrator rather than by the operator using the access key card AC, the security of the IC card issuance operation will be enhanced. In addition, since the password is entered using the keyboard 29 provided in the issuance processing unit 27 instead of using the keyboard 16, security is improved as there is no wiring to the outside to prevent eavesdropping. It is being

キーボード29で入力された暗証11号は、マイクロプ
ロセッサ28によって読取り書込み制御部39を介して
キーカードKOに送られ、キーカードKCの内部で、キ
ーカードKCの制御部(図示しない)とメモリ部60の
制御プログラムエリア61内の制御プログラムとによっ
て暗証番号エリア65内の暗証番号との照合が行なわれ
る(S24)。この照合結果は、キーカードKCから読
取り書込み制御部39に送られ、さらにマイクロプロセ
ッサ28を介してホストプロセッサ12へ送られる。し
たがって、照合結果(一致、不一致)の表示は表示器@
17でも確認できるが、発行処理ユニット27の表示器
30においても照合結果の表示がなされ、発行処理ユニ
ット27でキー力」ドKCの暗証番号を入力している人
にとって操作が容易となっている。
The password No. 11 entered on the keyboard 29 is sent to the key card KO by the microprocessor 28 via the reading/writing control section 39, and is sent to the key card KC's control section (not shown) and memory section inside the key card KC. The control program in the control program area 61 of 60 is compared with the password in the password area 65 (S24). The verification result is sent from the key card KC to the read/write control unit 39 and further sent to the host processor 12 via the microprocessor 28. Therefore, the verification results (match, mismatch) are displayed on the display @
As can be confirmed in 17, the verification result is also displayed on the display 30 of the issuing processing unit 27, making the operation easier for the person who inputs the key code of the KC in the issuing processing unit 27. .

ステップ824において暗証番号が不一致となった場合
、メモリ部60のエラーカウントエリア70がチェック
される(825)。たとえば不一致回数が3回になった
場合は、キーカードKCが使用できないと制御ブOグラ
ムエリア61内の制御プログラムによって制御されてい
れば、不一致回数(エラー回数)が3回になっているか
否かをチェックする。ここで、不一致回数が3回に達し
ていない場合、エラーカウントエリア70内の値が1つ
カウントアツプされて(826)、表示装置17に「暗
証番号不照合、再度暗証番号を投入しなさい」とのメツ
セージが表示されるが、動作はステップ822に戻る。
If the passwords do not match in step 824, the error count area 70 of the memory unit 60 is checked (825). For example, if the number of mismatches reaches 3, the control program in the control program area 61 indicates that the key card KC cannot be used. Check whether Here, if the number of mismatches has not reached three, the value in the error count area 70 is incremented by one (826), and the display 17 displays "Password mismatch, please enter the code again". message is displayed, but the operation returns to step 822.

そこで再度、暗証番号を入力することになる。一方、不
一致回数が3回に達している場合、メモリ部60のボイ
ドエリア69にボイド命令が書込まれ(827)、それ
以降のキーカードKOの使用ができないことになる。
Then you will have to enter your PIN again. On the other hand, if the number of mismatches has reached three, a void command is written in the void area 69 of the memory section 60 (827), and the key card KO cannot be used thereafter.

この方法は、たとえば読取り書込み制御部39とキーカ
ードKCとの照合のとき、端末アクセスコードの代わり
に使用不可のコードをだすことによってなされる。この
ようにして、キーカードKOがボイドされた場合、アク
セスキーカードACのメモリ部50の使用者氏名エリア
55の内容、およびキーカードKCのメモリ部60の使
用者氏名エリア66の内容がそれぞれ読出された後、ア
クセスキーカードACがカードリーダ・ライタ18から
、キーカードKCがカードリーダ・ライタ40からそれ
ぞれ排出される。これと同時に、プリンタ19によって
上記使用者氏名エリア55から読出した使用者氏名およ
び使用者氏名エリア66から読出した使用者氏名、不照
合のコメントおよび日付などが印字される(828)。
This method is carried out, for example, by issuing an unusable code instead of the terminal access code when checking the read/write control section 39 and the key card KC. In this way, when the key card KO is voided, the contents of the user name area 55 of the memory section 50 of the access key card AC and the contents of the user name area 66 of the memory section 60 of the key card KC are read out. After that, the access key card AC is ejected from the card reader/writer 18 and the key card KC is ejected from the card reader/writer 40. At the same time, the printer 19 prints the user's name read from the user's name area 55, the user's name read from the user's name area 66, unverified comments, date, etc. (828).

このような処理後、本装置の動作は終了し、再動作の場
合は最初から始める必要がある。
After such processing, the operation of the apparatus ends, and if it is to be operated again, it must be restarted from the beginning.

ステップ824において暗証番号が一致した場合、ホス
トプロセッサ12は表示装置17に[フィックストデー
タカードを挿入しなさい]とのメツセージを表示せしめ
る(829)。ここで、フィックストデータカードFC
をカードリーダ・ライタ41に挿入する(830)。す
ると、フィックストデータカードFCと読取り書込みt
+11 a部39とが、前述した読取り書込み制御部3
9とキーカードKCとがお互いにアクセスが可能である
ことを照合したと同様な方法で照合を行なう(831,
832)。もし、ここでフィックストデータカードFC
と読取り書込み制御部39との照合がとれなかった場合
、フィックストデータカードFCはカードリーダ・ライ
タ41から排出される(833)。新しいフィックスト
データカードFCがあった場合、すなわち異なったフィ
ックストデータカードFCを間違って挿入した場合、正
しい別のフィックストデータカードFCを挿入すること
ができる(S34)。別のフィックストデータカードF
Cがない場合、キーボード16で終了キーを押下する(
835)。すると、アクセスキーカードACのメモリ部
50の使用者氏名エリア55の内容、およびキーカード
KOのメモリ部60の使用者氏名エリア66の内容がそ
れぞれ読出された後、アクセスキーカードACがカード
リーダ・ライタ18から、キーカードKCがカードリー
ダ・ライタ40からそれぞれ排出される(836)。こ
れと同時に、プリンタ19によって上記使用者氏名エリ
ア55から読出した使用者氏名および使用者氏名エリア
66から読出した使用者氏名、コメントおよび日付など
が印字される(S37)。このような処理後、本装置の
動作は終了し、再動作の場合は最初から始める必要があ
る。
If the passwords match in step 824, the host processor 12 causes the display device 17 to display a message "Insert fixed data card" (829). Here, Fixed Data Card FC
is inserted into the card reader/writer 41 (830). Then, fixed data card FC and read/write t
+11 The a section 39 is the read/write control section 3 mentioned above.
9 and the key card KC are verified to be mutually accessible (831,
832). If here, Fixed Data Card FC
If the fixed data card FC cannot be compared with the read/write control unit 39, the fixed data card FC is ejected from the card reader/writer 41 (833). If there is a new fixed data card FC, that is, if a different fixed data card FC is inserted by mistake, another correct fixed data card FC can be inserted (S34). Another fixed data card F
If C is not available, press the end key on the keyboard 16 (
835). Then, after the contents of the user name area 55 of the memory section 50 of the access key card AC and the contents of the user name area 66 of the memory section 60 of the key card KO are read, the access key card AC is transferred to the card reader. The key card KC is ejected from the writer 18 and the card reader/writer 40 (836). At the same time, the printer 19 prints the user name read from the user name area 55, the user name read from the user name area 66, the comment, the date, etc. (S37). After such processing, the operation of the apparatus ends, and if it is to be operated again, it must be restarted from the beginning.

ステップ832において、フィックストデータカードF
Cと読取り書込み制御部39との照合がとれた場合、次
にフィックストデータカードFCとキーカードKOとの
照合がなされる(838゜539)。この照合は、たと
えばフィックストデータカードFCのメモリ部80の発
行コードエリア82内の発行コードを読取り口込み制御
部39によって読出し、キーカードKCに送ることによ
り、キーカードKCの内部でメモリ部60の発行コード
エリア62内の発行コードと照合することによって行な
われる。キーカードKCとフィックストデータカードF
Cの両方はベアとして利用されるものであり、したがっ
て上記照合を行なう必要がある。フィックストデータカ
ードFCは、発行者が異なっているが同じような使用に
なる場合(たとえば、OO銀行と××銀行とが提携して
互いに使用できる場合、同じアプリケーションとなる)
、キーカードKOとフィックストデータカードFCとに
分離することが有効である。この場合、フィックストデ
ータカードFCのメモリ部80の発行コードエリア82
内の発行コードを複数化しておけば、発行者が異なるキ
ーカードKCに対処可能となる。勿論、キーカードKC
にフィックストデータカードFCのデータ(発行するI
C力一ドに書込むデータ)を全て記憶させておくことに
より、キーカードKCのみで本装置を起動することも可
能である。この場合、発行処理ユニット27のキーボー
ド29によって初期設定することで可能である。
In step 832, the fixed data card F
If C is matched with the read/write control unit 39, then the fixed data card FC is matched with the key card KO (838°539). This verification is carried out, for example, by reading out the issuing code in the issuing code area 82 of the memory section 80 of the fixed data card FC by the reading entry control section 39 and sending it to the key card KC. This is done by comparing it with the issue code in the issue code area 62 of. Key card KC and fixed data card F
Both of C are used as bare data, so it is necessary to perform the above verification. Fixed data card FCs have different issuers but are used in the same way (for example, if OO Bank and XXX Bank are affiliated and can be used with each other, it will be the same application)
, it is effective to separate the key card KO and fixed data card FC. In this case, the issuance code area 82 of the memory section 80 of the fixed data card FC
By creating multiple issuance codes within the key card KC, it becomes possible to deal with key cards KC from different issuers. Of course, key card KC
Fixed data card FC data (issued I
By storing all the data written in the key card KC, it is also possible to start the device using only the key card KC. In this case, initial settings can be made using the keyboard 29 of the issue processing unit 27.

ステップ839において、キーカードKOとフィックス
トデータカードFCとの照合がとれなかった場合、フィ
ックストデータカードFCを排出するステップ833に
進み、前述したフィックストデータカードFCと読取り
書込み制御部39との照合がとれなかった場合と同様な
処理がなされる。
In step 839, if the key card KO and the fixed data card FC cannot be matched, the process proceeds to step 833 where the fixed data card FC is ejected, and the above-mentioned fixed data card FC and read/write controller 39 are connected to each other. The same processing as when no match is made is performed.

ステップ839において、キーカードKCとフィックス
トデータカードFCとの照合がとれた場合、その旨の信
号を読取り書込み制御部39からマイクロプロセッサ2
8を介して受けることにより、ホストプロセッサ12は
表示装[17に「暗証番号を投入しなさい」とのメツセ
ージを表示せしめる(840)。ここで、キーカードK
Oの暗証番号の投入と同様にキーボード29によって暗
証番号を入力する(841)。これも、キーカードKC
の暗証番号の投入と同様にアクセスキーカードACを使
用するオペレータでなく、管理者が行なうことにすれば
、ICカードの発行業務のセキュリティ性が高まること
になる。
In step 839, if the key card KC and fixed data card FC are matched, a signal to that effect is sent from the read/write control unit 39 to the microprocessor 2.
8, the host processor 12 causes the display device 17 to display a message "Enter your PIN number" (840). Here, key card K
The password is input using the keyboard 29 in the same manner as inputting the password of O (841). This is also a key card KC
If the administrator, rather than the operator using the access key card AC, enters the PIN number, the security of the IC card issuance process will be enhanced.

キーボード29で入力された暗証番号は、マイクロプロ
セッサ28によって読取り書込み制御部39を介してフ
ィックストデータカードFCに送られ、フィックストデ
ータカードFCの内部で、フィックストデータカードF
Cの制御部(図示しない)とメモリ部80の制−プログ
ラムエリア81内の制御プログラムとによって暗証番号
エリア85内の暗証番号との照合が行なわれる(S42
)にの照合結果は、フィックストデータカードFCから
読取り書込みIIJI11部39に送られ、さらにマイ
クロプロセッサ28を介してホストプロセッサ12へ送
られる。したがって、照合結果(一致、不一致)の表示
は表示装置17でも確認できるが、発行処理ユニット2
7の表爪器30においても照合結果の表示がなされ、発
行処理ユニット27でフィックストデータカードFCの
暗証番号を入力している人にとって操作が容易となって
いる。
The password entered on the keyboard 29 is sent to the fixed data card FC by the microprocessor 28 via the reading/writing control unit 39, and is sent to the fixed data card FC within the fixed data card FC.
The control unit (not shown) of C and the control program in the control program area 81 of the memory unit 80 perform verification against the password in the password area 85 (S42).
) is sent from the fixed data card FC to the read/write IIJI 11 unit 39 and further sent to the host processor 12 via the microprocessor 28. Therefore, although the display of the matching result (match, mismatch) can be confirmed on the display device 17, the issue processing unit 2
The comparison result is also displayed on the display device 30 of No. 7, making the operation easy for the person who inputs the password of the fixed data card FC in the issuance processing unit 27.

ステップ842において暗証番号が不一致となった場合
、メモリ部80のエラーカウントエリア88がチェック
される(843)。たとえば不一致回数が3回になった
場合は、フィックストデータカードFCが使用できない
と制御プログラムエリア81内の制御プログラムによっ
て制卸されていれば、不一致回数(エラー回数)が3回
になっているか否かをチェックする。ここで、不一致回
数が3回に達していない場合、エラーカウントエリア8
8内の値が1つカウントアツプされて(S44)、表示
装置117に「暗証番号不照合、再度暗証番号を投入し
なさい」とのメツセージが表示されるが、動作はステッ
プ840に戻る。そこで再度、暗証番号を入力すること
になる。一方、不一致回数が3回に達している場合、メ
モリ部80のボイドエリア87にボイド命令が書込まれ
(S45)、それ以降のフィックストデータカードFC
の使用ができないことになる。この方法は、たとえば読
取り書込み制一部39とフィックストデータカードFC
との照合のとき、端末アクセスコードの代わりに使用不
可のコードをだすことによってなされる。このようにし
て、フィックストデータカードFCがボイドされた場合
、アクセスキーカードACのメモリ部50の使用者氏名
エリア55の内容、およびフィックストデータカードF
Cのメモリ部80の使用者氏名エリア86の内容がそれ
ぞれ読出された後、アクセスキーカードACがカードリ
ーダ・ライタ18から、フィックストデータカードFC
がカードリーダ・ライタ41からそれぞれ排出される。
If the passwords do not match in step 842, the error count area 88 of the memory section 80 is checked (843). For example, if the number of discrepancies reaches 3, if the control program in the control program area 81 controls that the fixed data card FC cannot be used, then the number of discrepancies (errors) becomes 3? Check whether or not. Here, if the number of mismatches has not reached 3, the error count area 8
The value in 8 is incremented by one (S44), and a message saying "Password number not verified, please enter the password again" is displayed on the display device 117, but the operation returns to step 840. Then you will have to enter your PIN again. On the other hand, if the number of mismatches has reached 3, a void command is written in the void area 87 of the memory section 80 (S45), and subsequent fixed data cards FC
This means that you will not be able to use it. This method applies, for example, to the read/write system part 39 and the fixed data card FC.
This is done by issuing an unusable code instead of the terminal access code when checking the terminal. In this way, when the fixed data card FC is voided, the contents of the user name area 55 of the memory section 50 of the access key card AC and the fixed data card F
After the contents of the user name area 86 of the memory section 80 of C are read out, the access key card AC is transferred from the card reader/writer 18 to the fixed data card FC.
are respectively discharged from the card reader/writer 41.

これと同時に、プリンタ19によって上記使用者氏名エ
リア55から読出した使用者氏名および使用者氏名エリ
ア86から読出した使用者氏名、不照合のコメントおよ
び日付などが印字される(S46)。このような処理後
、本装置の動作は終了し、再動作の場合は最初から始め
る必要がある。
At the same time, the printer 19 prints the user name read from the user name area 55, the user name read from the user name area 86, unverified comments, date, etc. (S46). After such processing, the operation of the apparatus ends, and if it is to be operated again, it must be restarted from the beginning.

ステップ842において暗証番号が一致した場合、ホス
トプロセッサ12は表示装置17に「データを投入しな
さい」 とのメツセージを表示せしめる(847)。こ
こで、発行するICカードに書込むべきICカードごと
に異なるデータのファイルであるフロッピィディスク(
あるいは磁気テープ)をフロッピィディスク装置14(
あるいは磁気テープユニット15)にセットする(84
8)。すると、ホストプロセッサ12はフロッピィディ
スク装置14(あるいは磁気テープユニット15)から
データ識別コードD12(またはD22)を読出し、マ
イクロプロセッサ28を介して読取り書込み制御部39
へ送る。読取り書込み制御部39は、送られてきたデー
タ識別コードD12(またはD22)をカードリーダ・
ライタ40を介してキーカードKCに送り、キーカード
KCの内部でデータ識別コードの照合を行なう(849
,850>。すなわち、キーカードKCのメモリ部60
のデータ識別コードエリア76にはデータ識別コードが
記憶されており、キーカードKCの制御部(図示しない
)は、メモリ部60の制御プログラムエリア61内の制
御プログラムにしたがって、データ識別コードエリア7
6内のデータ識別コードと送られてきたデータ識別コー
ドD12(またはD22)とを例えば一致するか否か照
合する。この照合結果は、キーカードKCから読取り書
込み制御部39に送られ、さらにマイクロプロセッサ2
8を介してホストプロセッサ12へ送られ、表示装置1
7でその旨が表示される。
If the passwords match in step 842, the host processor 12 causes the display device 17 to display a message "Enter data" (847). Here, a floppy disk (
or magnetic tape) to the floppy disk device 14 (
Or set it on the magnetic tape unit 15 (84).
8). Then, the host processor 12 reads the data identification code D12 (or D22) from the floppy disk device 14 (or magnetic tape unit 15), and sends the data identification code D12 (or D22) to the read/write controller 39 via the microprocessor 28.
send to The read/write control unit 39 reads the sent data identification code D12 (or D22) into a card reader.
The data is sent to the key card KC via the writer 40, and the data identification code is verified inside the key card KC (849
,850>. That is, the memory section 60 of the key card KC
A data identification code is stored in the data identification code area 76, and the control unit (not shown) of the key card KC stores the data identification code area 7 in accordance with the control program in the control program area 61 of the memory unit 60.
For example, the data identification code in 6 and the sent data identification code D12 (or D22) are compared to see if they match. This verification result is sent from the key card KC to the read/write control unit 39, and further to the microprocessor 2.
8 to the host processor 12 and the display device 1
7 will indicate that.

したがって、上記照合で不照合であった場合、フロッピ
ィディスク装置14(あるいは磁気テープユニット15
)にセットされているフロッピィディスク(あるいは磁
気テープ)は正しいものでない、すなわち発行するIC
カード用のデータが保持されているフロッピィディスク
(あるいは磁気テープ)でないことを確認することが可
能である(851)。この場合、正しいフロッピィディ
スク(あるいは磁気テープ)、すなわち発行するICカ
ード用のデータが保持されているフロッピィディスク(
あるいは磁気テープ)をセットし直すことにより(S5
2)、再びデータ識別コードの照合が行なわれる(85
3.854>。ここでも、不照合であった場合、あるい
はステップS51において発行するICカード用のデー
タが保持されているフロッピィディスク(あるいは磁気
テープ)が無い場合、キーボード16で終了キーを押下
する(855)。すると、ホストプロセッサ12は、キ
ーカードKCおよびフィックストデータカードFCなど
を排出する終了処理を行なうとともに(856)、その
旨をプリンタ19によって印字しく857)、このとき
の発行動作を終了する。
Therefore, if the above verification fails, the floppy disk drive 14 (or magnetic tape unit 15
) is not the correct floppy disk (or magnetic tape), that is, the issuing IC is incorrect.
It is possible to confirm that the card is not a floppy disk (or magnetic tape) holding data for the card (851). In this case, make sure you have the correct floppy disk (or magnetic tape), that is, the floppy disk (or magnetic tape) that holds the data for the IC card you are issuing.
Or by resetting the magnetic tape (S5
2), the data identification code is checked again (85
3.854>. Here again, if there is a mismatch, or if there is no floppy disk (or magnetic tape) holding data for the IC card to be issued in step S51, the end key is pressed on the keyboard 16 (855). Then, the host processor 12 performs a termination process of ejecting the key card KC, fixed data card FC, etc. (856), and prints out this information using the printer 19 (857), thereby terminating the issuing operation at this time.

ステップ850あるいは854において、データ識別コ
ードの照合がとれた場合、ホストプロセッサ12は表示
装置17に「未発行カードをセットしなざい」とのメツ
セージを表示せしめる(S58)。したがって、ここで
発行処理ユニット27のホッパ31に未発行のICカー
ドをセットしく359)、次にキーボード16によって
スタートキーを押下することにより(S60)、本装置
の起動が完了する。
If the data identification code is verified in step 850 or 854, the host processor 12 causes the display device 17 to display a message "Please set an unissued card" (S58). Therefore, at this point, an unissued IC card is set in the hopper 31 of the issuing processing unit 27 (359), and then the start key is pressed on the keyboard 16 (S60), thereby completing the startup of this device.

読取り書込み制御部39は、キーカードKCのメモリ部
60の発行枚数エリア71の内容(あらかじめ管理者が
書込んでおいた今回発行する枚数)および発行カウント
エリア72の内容をそれぞれ読出して両内容を比較し、
発行枚数エリア71の内容が発行カウントエリア72の
内容よりも大のとき発行枚数があるという信号をマイク
ロプロセッサ28を介してホストプロセッサ12に送る
The read/write control section 39 reads the contents of the issued number area 71 (the number of issued sheets written in advance by the administrator and is to be issued this time) and the issued count area 72 of the memory section 60 of the key card KC, and stores both contents. Compare,
When the contents of the issue number area 71 are larger than the contents of the issue count area 72, a signal indicating that there is an issue number is sent to the host processor 12 via the microprocessor 28.

これにより、ホストプロセッサ12は、フロッピィディ
スク装置14からICカードの1枚発行データ(データ
D13)を読出し、マイクロプロセッサ28へ送るとと
もに、マイクロプロセッサ28から読取り書込み制御部
39へ送る。すると、マイクロプロセッサ28は、ホッ
パ31からICカードを1枚取出す(861)。取出さ
れたICカードがエンコード部32にくると、マイクロ
プロセッサ28はホストプロセッサ12から送られたデ
ータ内の所定のデータをICカードの磁気ストライプ2
に書込む(S62)。書込み終了後、マイクロプロセッ
サ28は書込んだデータを読取り、マイクロプロセッサ
28に記憶しであるホストプロセッサ12から送られた
データと照合することにより、書込んだデータが正しく
書込まれているか否かをチェックする(863)。もし
、このチェックで書込みが不完全であれば、マイクロプ
ロセッサ28は再度データを書込む(864)。
As a result, the host processor 12 reads out the IC card issue data (data D13) from the floppy disk device 14, sends it to the microprocessor 28, and also sends it from the microprocessor 28 to the read/write control section 39. Then, the microprocessor 28 takes out one IC card from the hopper 31 (861). When the removed IC card comes to the encoding section 32, the microprocessor 28 converts predetermined data in the data sent from the host processor 12 into the magnetic stripe 2 of the IC card.
(S62). After writing is completed, the microprocessor 28 reads the written data and checks whether the written data has been written correctly by comparing it with the data stored in the microprocessor 28 and sent from the host processor 12. Check (863). If this check indicates that the writing is incomplete, the microprocessor 28 writes the data again (864).

そして、再度チェックを行ない(865)、これでも書
込みが不完全であれば、そのICカードは不良として破
壊ユニット35に送られ、磁気ストライプ2の部分に穴
8が開けられ(S66)、区分部36によってリジェク
トスタッカ37に集積される(867)。そして、その
記録がホストプロセッサ12によってハードディスク装
置13に記録される。リジェクトスタッカ37に不良I
Cカードが集積されるされると、マイクロプロセッサ2
8はステップ861に戻り、ホッパ31から次のICカ
ードを取出すことになる。
Then, the check is performed again (865), and if the writing is still incomplete, the IC card is sent to the destruction unit 35 as a defective IC card, a hole 8 is punched in the magnetic stripe 2 (S66), and the IC card is sent to the destruction unit 35. 36 and is accumulated in the reject stacker 37 (867). Then, the record is recorded on the hard disk device 13 by the host processor 12. Defective I in reject stacker 37
When the C card is integrated, the microprocessor 2
Step 8 returns to step 861 to take out the next IC card from the hopper 31.

ステップS63あるいは865におけるチェックで書込
みが正常であれば、磁気データが書込まれたICカード
はエンボスユニット33に送られ、マイクロプロセッサ
28によってエンボス情報3が形成される(368)。
If the writing is normal in the check in step S63 or 865, the IC card on which the magnetic data has been written is sent to the embossing unit 33, and embossed information 3 is formed by the microprocessor 28 (368).

エンボスは1字ずつプレスする方式で行なっているので
、マイクロプロセッサ28はプレス文字位置のチェック
を1字ずつ行ないながらエンボスを行なう(869)。
Since the embossing is performed by pressing one character at a time, the microprocessor 28 performs the embossing while checking the pressed character position one character at a time (869).

そこで、エンボス途中で1字ミスエンボスを行なった時
点でエンボスは中止され、そのICカードは不良として
破壊ユニット35へ送られる(S70)。エンボス情報
は、普通、少なくともICカードの携帯者の番号(銀行
では口座番号)と氏名であるので、そのいずれか1行を
形成したもの、あるいは両方を形成したものは不正使用
が不可能なようにエンボス情報3の部分を破壊する。こ
こでは、携帯者の番号のエンボスを先に形成するため、
その番号の部分に破壊ユニット35で穴9を開ける。こ
の場合、エンボス形成の進歩状況を判断(エンボス中断
の時点をマイクロプロセッサ28がチェックする)しく
571)、マイクロプロセッサ28は磁気ストライプ2
の部分のみの穴開け(S72)か、磁気ストライプ2と
エンボス情報3の両方の部分の穴開け(873)が行な
われ、その後ステップ867に進んでリジェクトスタッ
カ37に集積される。
Therefore, when one character is erroneously embossed during embossing, the embossing is stopped and the IC card is sent to the destruction unit 35 as defective (S70). The embossed information is usually at least the number (account number in banks) and name of the person carrying the IC card, so if it forms one line of either of these, or both, it is impossible to use it fraudulently. Destroy the embossed information 3 part. Here, in order to form the emboss of the carrier's number first,
A hole 9 is made in the part numbered by the destruction unit 35. In this case, the progress of embossing formation is determined (the microprocessor 28 checks the point at which the embossing is interrupted) (571), and the microprocessor 28 checks the magnetic stripe 2.
Either only the portion of the magnetic stripe 2 and the embossed information 3 are punched (S72), or both the magnetic stripe 2 and the embossed information 3 are punched (873), and then the process proceeds to step 867, where they are stacked on the reject stacker 37.

エンボス情報3が正確に形成されると、ICカードはリ
ーダライタユニット34に送られ、り一ダライタユニッ
ト34のコンタクト位置にコンタクト部5がきて停止さ
れる。すると、マイクロプロセッサ28は、リーダライ
タユニット34のコンタクト部(図示しない)がICカ
ードのコンタクト部5に接触するように制御し、その後
コンタクト部を接触させたとの信号を読取り書込み制御
部39へ送る。この信号を受けた読取り書込み制御部3
9は、ICカードの制御部6およびメモリ部7へ電源を
供給し、初期的信号の授受を行なう(メモリ部7の基本
制御ブOグラムエリア91の基本制御プログラムはIC
カードの製造時に書込まれているので初期的な信号の授
受は可能)。初期的な信号の授受が終了すると、読取り
書込み制一部39を介してキーカードKCと発行するI
Cカードとの照合が行なわれる(874.875)。
When the embossed information 3 is accurately formed, the IC card is sent to the reader/writer unit 34, and the contact part 5 comes to the contact position of the reader/writer unit 34 and is stopped. Then, the microprocessor 28 controls the contact section (not shown) of the reader/writer unit 34 to come into contact with the contact section 5 of the IC card, and then sends a signal indicating that the contact section has been brought into contact to the read/write control section 39. . Read/write control section 3 that receives this signal
9 supplies power to the control unit 6 and memory unit 7 of the IC card, and performs initial signal exchange.
This is written when the card is manufactured, so initial signals can be sent and received). When the initial signal exchange is completed, the key card KC and issued I
Verification with the C card is performed (874.875).

この照合方法は、たとえば発行者仮暗証番号の照合で行
なわれる。未発行のICカードには、製造者が発行者に
渡すとき、第3者による不正使用がなされないように製
造者と発行者との受渡用に暗証番号を設定することが考
えられている。また、この暗証番号は、ICカードの受
渡時にのみ必要なため、発行後は別の暗証番号にする発
行者仮暗証番号を利用する。この発行者仮暗証番号での
照合は次のような方法で行なう。まず、読取り書込み1
13111部39は、キーカードKCのメモリ部60の
発行者仮暗証番号エリア67内の発行者仮暗証番号を読
出し、発行するICカードの制御部6へ送る。制御部6
は、メモリ部7の発行者記録エリア93(発行者氏名、
発行者コードなどのデータを書込むエリア)に製造者が
書込んだ発行者仮暗証番号を読出し、読取り書込み制御
部39から送られてきた発行者仮暗証番号と照合する。
This verification method is performed, for example, by verifying the issuer's temporary PIN number. It is considered that when an unissued IC card is handed over from a manufacturer to an issuer, a password is set for the exchange between the manufacturer and the issuer to prevent unauthorized use by a third party. Furthermore, since this PIN is required only when the IC card is delivered, the issuer's temporary PIN is used as a separate PIN after the IC card is issued. Verification using the issuer's temporary PIN is performed in the following manner. First, read and write 1
The 13111 section 39 reads out the issuer temporary PIN number in the issuer temporary PIN number area 67 of the memory section 60 of the key card KC, and sends it to the control section 6 of the IC card to be issued. Control unit 6
is the issuer record area 93 of the memory section 7 (issuer name,
The temporary issuer password written by the manufacturer in the area for writing data such as the issuer code is read out and compared with the temporary issuer password sent from the read/write control section 39.

この照合で発行者仮暗証番号が不一致となった場合、磁
気データの書込みおよびエンボス情報の形成が完了して
いるため、そのICカードは破壊ユニット35に送られ
(876)、磁気ストライプ2およびエンボス情報3の
部分に穴開けが行なわれ(S77)、その後ステップ8
67に進んでリジェクトスタッカ37に集積される。
If the issuer's temporary PIN does not match after this verification, since the writing of magnetic data and the formation of embossed information have been completed, the IC card is sent to the destruction unit 35 (876), and the magnetic stripe 2 and embossed information are sent to the destruction unit 35 (876). A hole is punched in the information 3 part (S77), and then step 8
The process advances to step 67 and is accumulated in the reject stacker 37.

ステップ875において発行看板暗証番号が一致した場
合、メモリ部7の発行者記録エリア93およびアプリケ
ーションプログラムエリア95の固定データや、携帯者
記録エリア96の発行するICカードごとに興なる可変
データ(携帯者の氏名、口座番号など)を書込む(87
8)。この書込みは次のように行なわれる。まず、フィ
ックストデータカードFCのメモリ部80のデータエリ
ア89から固定データが読出されてメモリ部7に書込ま
れる。固定データの内容は、アプリケーションプログラ
ムエリア95に書込むアプリケーションプログラムや、
発行記録エリア94および携帯者記録エリア96のエリ
ア区分などである。この固定データの書込みが終了する
と、キーカードKCのメモリ部60の発行者記録エリア
68の内容を読出してメモリ部7の発行者記録エリア9
3に書込む。このフィックストデータカードFCおよび
キーカードKCからのデータの読出し、メモリ部7への
データの書込みは全て読取り口込み制御部39によって
行なわれる。これらのデータの書込みが終了すると、読
取り書込み制御部39は、マイクロプロセッサ28を介
してホストプロセッサ12から送られた携帯者用の可変
データ(データD13)をメモリ部7の携帯者記録エリ
ア96に書込む。
If the issuing signboard PIN numbers match in step 875, the fixed data in the issuer record area 93 and the application program area 95 of the memory section 7 and the variable data (carrier (name, account number, etc.) (87
8). This writing is performed as follows. First, fixed data is read from the data area 89 of the memory section 80 of the fixed data card FC and written into the memory section 7. The contents of the fixed data include the application program written in the application program area 95,
These include area divisions of the issue record area 94 and the bearer record area 96. When writing of this fixed data is completed, the contents of the issuer record area 68 of the memory section 60 of the key card KC are read out and the contents of the issuer record area 68 of the memory section 7 are read out.
Write in 3. Reading of data from the fixed data card FC and key card KC and writing of data to the memory section 7 are all performed by the read/write control section 39. When the writing of these data is completed, the read/write control section 39 writes variable data for the wearer (data D13) sent from the host processor 12 via the microprocessor 28 to the wearer recording area 96 of the memory section 7. Write.

こうして、メモリ部7へのデータ書込みが終了すると、
読取り書込み制御部39はその書込んだデータを読出し
、フィックストデータカードFC、キーカードKOおよ
びホストプロセッサ12からのデータと照合することに
より、メモリ部7の書込みデータをチェックする(S7
9)。このチェックの結果、書込み不良であれば再度メ
モリ部7に書込む(880)。それでも再度書込み不良
で(881)、完全ではないがある程度アプリケーショ
ン可能な場合(882)、使用できないようにボイドデ
ータをメモリ部7の発行記録エリア94に書込む(88
4)。ボイドデータを書込むことができないものは、そ
のまま不良ICカードとして破壊ユニット35に送られ
て磁気ストライプ2およびエンボス情報3の部分に穴が
開けられ(883,885)、その後ステップ867に
進んでリジェクトスタッカ37に集積される。勿論、不
良ICカードがリジェクトスタッカ37に集積されると
きチェックされ、それがマイクロプロセッサ28を介し
て読取り書込み制御部39に送られることにより、キー
カードKCのメモリ部60の不良カウントエリア73の
内容が1つアップされて記録される。これは、エンコー
ド部32およびエンボスユニット33で不良になった場
合も同様に、リジェクトスタッカ37に不良ICカード
が集積されるときに記録される。勿論、ホストプロセッ
サ12のハードディスク装置13でも記録される。
In this way, when data writing to the memory section 7 is completed,
The read/write control section 39 reads the written data and checks the written data in the memory section 7 by comparing it with the data from the fixed data card FC, key card KO, and host processor 12 (S7)
9). As a result of this check, if the writing is defective, the data is written to the memory section 7 again (880). However, if there is a write failure again (881) and the application is possible to some extent (882), void data is written to the issue recording area 94 of the memory unit 7 so that it cannot be used (88
4). If it is not possible to write void data, it is sent as a defective IC card to the destruction unit 35, where holes are punched in the magnetic stripe 2 and embossed information 3 portions (883, 885), and then the process proceeds to step 867 where it is rejected. They are accumulated in a stacker 37. Of course, when a defective IC card is stacked in the reject stacker 37, it is checked and sent to the read/write control section 39 via the microprocessor 28, so that the contents of the defect count area 73 of the memory section 60 of the key card KC are checked. is uploaded and recorded. This information is also recorded when a defective IC card is stacked in the reject stacker 37 in the same way when the encoder 32 and the embossing unit 33 become defective. Of course, the data is also recorded on the hard disk device 13 of the host processor 12.

ステップ879あるいは881におけるチェックで書込
みが正常であれば、読取り書込み制御部39は乱数にて
携帯者仮暗証番号を算出しく586)、その算出した携
帯者仮暗証番号をメモリ部7の携帯者記録エリア96に
書込む(587>。
If the writing is normal in the check in step 879 or 881, the read/write control unit 39 calculates the temporary carrier PIN number using random numbers (586), and records the calculated temporary carrier PIN number in the memory unit 7. Write to area 96 (587>).

次に、読取り書込み制御部39は、キーカードKCのメ
モリ部60の発行累計エリア74から発行累計値を読出
し、その発行累計値にプラス1してメモリ部7の発行記
録エリア94に発行番号として書込む(588)。これ
と同時に、アクセスキーカードAC,キーカードKCお
よびフィックストデータカードFCから使用者氏名(ま
たはコード)が読出されてメモリ部7の発行記録エリア
94に書込まれる。これが終了すると、読取り書込み制
御部39は、メモリ部7の基本制御プログラムエリア9
1内に書換え不可のホールドデータを書込み(S89)
 、携帯者の仮暗証番号になっている暗証番号や携帯者
がサービスを受けたときに書込むところ以外は書換え不
可とする。そして、このICカードは発行済となり、ス
タッカ38に送られて集積される(892)。また、読
取り書込み制御部39は、キーカードKCのメモリ部6
0の発行カウントエリア72および発行累計エリア74
の各内容をそれぞれプラス1する (S90)。ステッ
プ889においてホールドデータを書込んだ後、ホスト
プロセッサ12はプリンタ19によってICカードの発
送口(このデータは全てフロッピィディスク装@14の
フロッピィディスクまたは磁気テープユニット15の磁
気テープに記録しであるデータから作成できる)を印字
し、またプリンタ20によって上記算出した携帯1仮暗
証番号を印字した発行通知書21を作成する(891)
。携帯者の仮暗証番号は、プリンタ20によって印字さ
れると読取り書込み制卸部39での記憶が消去され、こ
れにより仮暗証番号は非常にセキュリティ性が高いもの
となる。
Next, the read/write control section 39 reads the cumulative issuance value from the cumulative issuance area 74 of the memory section 60 of the key card KC, adds 1 to the cumulative issuance value, and stores it in the issuance record area 94 of the memory section 7 as the issuance number. Write (588). At the same time, the user's name (or code) is read from the access key card AC, key card KC, and fixed data card FC and written into the issuance recording area 94 of the memory section 7. When this is completed, the read/write control section 39 starts the basic control program area 9 of the memory section 7.
Write non-rewritable hold data in 1 (S89)
It is not possible to rewrite any password other than the temporary PIN of the bearer or the part written by the bearer when receiving the service. Then, this IC card becomes issued and is sent to the stacker 38 to be accumulated (892). Further, the read/write control section 39 controls the memory section 6 of the key card KC.
0 issue count area 72 and issue cumulative area 74
Each content is incremented by 1 (S90). After writing the hold data in step 889, the host processor 12 uses the printer 19 to write the IC card to the shipping port (all data is recorded on the floppy disk in the floppy disk unit 14 or on the magnetic tape in the magnetic tape unit 15). 891.
. When the temporary PIN number of the bearer is printed by the printer 20, the memory in the read/write control section 39 is erased, thereby making the temporary PIN number extremely secure.

、!5!取り書込み制御部39は、キーカードKCのメ
モリ部60の発行カウントエリ772をカウントアツプ
したとき、その数と発行枚数エリア71の内容とを比較
することにより、発行した枚数が予定枚数に達したか否
かをチェックする (S93)。このチェックの結果、
予定枚数に達していない場合、その旨の信号がホストプ
ロセッサ12へ送られるので、ホストプロセッサ12か
らデータを受けた後、マイクロプロセッサ28はホッパ
31からICカードを1枚取出す(861)。
,! 5! When the reading/writing control unit 39 counts up the issue count area 772 of the memory unit 60 of the key card KC, it compares the number with the contents of the issue number area 71 to determine whether the number of issued cards has reached the planned number. It is checked whether or not (S93). As a result of this check,
If the scheduled number of IC cards has not been reached, a signal to that effect is sent to the host processor 12, so after receiving the data from the host processor 12, the microprocessor 28 takes out one IC card from the hopper 31 (861).

ステップ893におけるチェックの結果、予定枚数に達
している場合(発行カウントエリア72のカウントアツ
プした後の内容と発行枚数エリア71の内容とが同一に
なった場合)、発行は終了となる。勿論、ホストプロセ
ッサ12側に発行するデータがあっても発行は終了とな
る。
As a result of the check in step 893, if the scheduled number of copies has been reached (if the contents of the issuance count area 72 after counting up and the contents of the issuance number area 71 are the same), the issuance ends. Of course, even if there is data to be issued to the host processor 12 side, the issuance ends.

なお、ステップS89においてホールドデータを書込む
前に、メモリ部7の製造者記録エリア92に書込まれて
いる製造番号(製造者が製造したICカード1枚ごとに
連番に付けて製造記録とともに保管しである番号)を読
出し、キーカードKCのメモリ部60の発行記録エリア
75に発行したICカードの製造番号として書込むこと
により、製造から含めたチェックが可能となり、管理上
有効となる。
Note that before writing the hold data in step S89, the serial number written in the manufacturer record area 92 of the memory section 7 (a serial number is attached to each IC card manufactured by the manufacturer and By reading out the stored number) and writing it in the issuance record area 75 of the memory section 60 of the key card KC as the serial number of the issued IC card, it is possible to check the IC card including the manufacturing number, which is effective for management.

こうして発行が終了すると、読取り書込み制御部39は
、キーカードKCのメモリ部60の発行カウントエリア
72および不良カウントエリア73の各内容を発行記録
エリア75に日付とともに書込み(894)、その後発
行カウントエリア72および不良カウントエリア73の
各内容をそれぞれクリアする。発行累計エリア74の内
容は今までの発行枚数の総計であるためそのままで、発
行番号の最終番号となる。この書込みが終了すると、ホ
ストプロセッサ12は表示装[17に[終了キーを押し
なさい」とのメツセージを表示せしめる(895)。こ
こで、キーボード16によって終了キーを押下する(8
96)。これにより、ホストプロセッサ12は、ハード
ディスク装置13に記憶しておいた発行記録をプリンタ
19によって印字する(897)。この発行記録は、た
とえば第13図に示すように、発行番号順に発行された
ICカードから読出された製造番号、フロッピィディス
ク装置14(または磁気テープユニット15)によって
入力された携帯者の氏名および住所などが印字される。
When the issuance is completed in this way, the read/write control section 39 writes the contents of the issuance count area 72 and defective count area 73 of the memory section 60 of the key card KC together with the date to the issuance record area 75 (894), and then 72 and the contents of defective count area 73 are cleared respectively. Since the content of the cumulative issue area 74 is the total number of issues issued so far, it remains unchanged and becomes the final issue number. When this writing is completed, the host processor 12 causes the display device 17 to display a message "Press the end key" (895). Here, press the end key on the keyboard 16 (8
96). Thereby, the host processor 12 prints the issuance record stored in the hard disk device 13 using the printer 19 (897). For example, as shown in FIG. 13, this issuance record includes the serial number read out from the IC cards issued in the order of the issuance number, the name and address of the bearer inputted by the floppy disk device 14 (or magnetic tape unit 15). etc. will be printed.

また、発行処理ユニット27の取出口扉42を開けるこ
とにより、リジェクトスタッカ37およびスタッカ38
から不良のICカードおよび発行されたICカードをそ
れぞれ取出す(898)。なお、不良のICカードは、
少なくとも磁気ストライプ2の部分または磁気ストライ
プ2とエンボス情報3の両方の部分に穴が開けられてい
るので、発行されたICカードとの区別は容易に可能と
なっている。
Also, by opening the outlet door 42 of the issue processing unit 27, the reject stacker 37 and the stacker 38 can be removed.
The defective IC card and the issued IC card are respectively taken out (898). In addition, defective IC cards,
Since at least the magnetic stripe 2 or both the magnetic stripe 2 and embossed information 3 are perforated, it can be easily distinguished from the issued IC card.

その後、再度キーボード16によって終了キーを押下す
ると(899)、ホストプロセッサ12は、キーカード
KCに発行記録が書込まれたのと同様に、アクセスキー
カードACの発行記録エリア58に発行日付、発行枚数
、不良枚数、キーカードコード、フィックストデータカ
ードコードなどを書込む(S100)。これにより、ど
のようなものを何時、何枚発行したのかの記録がなされ
る。そして、アクセスキーカードAC,キーカードKC
およびフィックストデータカードFCがそれぞれ排出さ
れ(S101)、本装置の全ての動作が終了する。
Thereafter, when the end key is pressed again on the keyboard 16 (899), the host processor 12 writes the issuance date and issuance record area 58 of the access key card AC in the same way as the issuance record was written to the key card KC. The number of sheets, number of defective sheets, key card code, fixed data card code, etc. are written (S100). This records what kind of issue was issued, when and how many copies were issued. And access key card AC, key card KC
and the fixed data card FC are ejected (S101), and all operations of the device are completed.

このように、フロッピィディスク装fl14(あるいは
磁気テープユニット15)およびキーカードKC内の各
データにそれぞれデータ識別コードを付加しておき、デ
ータの読取り書込みに先だって、これらデータ識別コー
ドを読出して照合することにより、フロッピィディスク
装M14(あるいは磁気テープユニット15)およびキ
ーカードKC内の各データ相互間が正しい関係にあるか
否かを確認し、正しい関係にあると確認したとき、読取
り書込み制御部39によるデータの読取り書込みを行な
うことにより、フロッピィディスク装置14(あるいは
磁気テープユニット15)およびキーカードKC内の各
データ相互間が正しい関係にあるか否かをチェックし、
誤ったデータの書込みを確実に防止することができる。
In this way, data identification codes are added to each data in the floppy disk unit fl14 (or magnetic tape unit 15) and key card KC, and these data identification codes are read and verified before reading or writing data. By doing so, it is confirmed whether or not there is a correct relationship between each data in the floppy disk unit M14 (or magnetic tape unit 15) and the key card KC, and when it is confirmed that there is a correct relationship, the read/write control unit 39 By reading and writing data by
Writing of incorrect data can be reliably prevented.

なお、本発明は前記実施例に限定されるものでなく、種
々の変形実施が可能である。たとえばキーカードKOと
そのカードリーダ・ライタ40の代りに、使用者を特定
させる情報を記憶し、内部で照合が行なえる制御部およ
びメモリ部を備えたデータ保持装置にして、読取り書込
み制御部39とは着脱自在な接点で結合することが考え
られる。
Note that the present invention is not limited to the above-mentioned embodiments, and various modifications can be made. For example, instead of the key card KO and its card reader/writer 40, a data holding device equipped with a control section and a memory section that can store information that identifies the user and perform internal verification may be used, and the read/write control section 39 may be used. It is conceivable to connect them with detachable contacts.

同様に、フィックストデータカードFCとそのカードリ
ーダ・ライタ41も、使用者を特定させる情報を記憶し
、内部で照合が行なえる制御部および一メモリ部を備え
たデータ保持装置にして、読取り書込み制御部39とは
着脱自在な接点で結合することが考えられる。また、キ
ーカードKOおよびフィックストデータカードFCの使
用者を特定させる情報に暗証番号を使用したが、たとえ
ば使用者の指紋などの身体的特徴やサインなどを記憶さ
せ、それで照合させることも可能である。その場合、発
行処理ユニット27のキーボード29には指紋やサイン
などを入力する手段を設ける必要がある。
Similarly, the fixed data card FC and its card reader/writer 41 are also data storage devices equipped with a control section and a memory section that can store and internally check information that identifies the user, and read and write information. It is conceivable that the controller 39 is connected to the control unit 39 through detachable contacts. In addition, although a PIN number was used to identify the user of the Key Card KO and Fixed Data Card FC, it is also possible to memorize the user's physical characteristics such as fingerprints or signature, and use that information for verification. be. In that case, the keyboard 29 of the issuing processing unit 27 needs to be provided with means for inputting fingerprints, signatures, etc.

また、前記実施例では、未発行のICカードに対して所
定のデータを書込むことによりICカードを発行するI
Cカード処理装置に適用した場合について説明したが、
本発明はこれに限定されるものでなく、たとえばICカ
ードの製造段階において、ICカードに初期化データな
どを書込むICカード処]!I!装置にも同様に適用で
きる。
Further, in the embodiment, an IC card is issued by writing predetermined data to an unissued IC card.
Although we have explained the case where it is applied to a C card processing device,
The present invention is not limited to this, but for example, at the IC card manufacturing stage, an IC card processing unit that writes initialization data, etc. to an IC card]! I! The same applies to devices.

さらに、前記実施例では、携帯可能記憶媒体が磁気スト
ライブ付ICカードの場合について説明したが、磁気ス
トライブ付でないICカード、あるいはレーザメモリカ
ードと称される光メモリカードの場合にも同様に適用で
きる。
Further, in the above embodiments, the portable storage medium is an IC card with a magnetic stripe, but the same applies to an IC card without a magnetic stripe or an optical memory card called a laser memory card. can.

[発明の効果] 以上詳述したように本発明によれば、各データ保持装置
内のデータ相互間が正しい関係にあるか否かをチェック
し、誤ったデータの書込みを確実に防止できる携帯可能
記憶媒体処理装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to check whether or not the data in each data holding device has a correct relationship with each other, and to reliably prevent writing of erroneous data. A storage medium processing device can be provided.

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

図は本発明の一実施例を説明するためのもので、第1図
はICカード処理装置のブロック構成図、第2図はIC
カード処理装置の外観斜視図、第3図は発行後のICカ
ードの外観斜視図、第4図は不良ICカードの外観斜視
図、第5図はフロッピィディスクのデータフォーマット
例を示す図、第6図は磁気テープのデータフォーマット
例を示す図、第7図は携帯者の仮暗証番号の発行通知書
の印字例を示す図、第8図はアクセスキーカードのメモ
リ部の内容を示す図、第9図はキーカードのメモリ部の
内容を示す図、第10図はフィックストデータカードの
メモリ部の内容を示す図、第11図は発行後のICカー
ドのメモリ部の内容を示す図、第12図は動作を説明す
るフローチャート、第13図は発行記録の印字例を示す
図である。 6・・・ICカードの制御部、7・・・ICカードのメ
モリ部、11・・・ホストIf IIIユニット、12
・・・ホストプロセッサ、27・・・発行処理ユニット
、28・・・マイクロプロセッサ、34・・・リーダラ
イタユニット、39・・・読取り書込み制御部、40.
41・・・カードリーダ・ライタ、60・・・キーカー
ドのメモリ部、80・・・フィックストデータカードの
メモリ部、KC・・・キーカード、FC・・・フィック
ストデータカード。 出願人代理人 弁理士 鈴江武彦 第3図 第4図 第 5 FA 第 61!1 第7図 第8図 第9図 第10図 第13図 第11図 第 12  図 第 12  図(e)
The drawings are for explaining one embodiment of the present invention. Fig. 1 is a block diagram of an IC card processing device, and Fig. 2 is a block diagram of an IC card processing device.
3 is a perspective view of the appearance of an IC card after it has been issued; FIG. 4 is a perspective view of the appearance of a defective IC card; FIG. 5 is a diagram showing an example of the data format of a floppy disk; Figure 7 shows an example of the data format of a magnetic tape, Figure 7 shows an example of the printing of a notice of issuance of the temporary PIN number of the bearer, Figure 8 shows the contents of the memory section of the access key card, 9 is a diagram showing the contents of the memory section of the key card, FIG. 10 is a diagram showing the contents of the memory section of the fixed data card, FIG. 11 is a diagram showing the contents of the memory section of the IC card after it is issued, and FIG. FIG. 12 is a flowchart explaining the operation, and FIG. 13 is a diagram showing an example of printing an issuance record. 6...Control unit of IC card, 7...Memory unit of IC card, 11...Host If III unit, 12
. . . host processor, 27 . . . issue processing unit, 28 . . . microprocessor, 34 . . . reader/writer unit, 39 .
41...Card reader/writer, 60...Key card memory section, 80...Fixed data card memory section, KC...Key card, FC...Fixed data card. Applicant's representative Patent attorney Takehiko Suzue Figure 3 Figure 4 Figure 5 FA 61!1 Figure 7 Figure 8 Figure 9 Figure 10 Figure 13 Figure 11 Figure 12 Figure 12 (e)

Claims (5)

【特許請求の範囲】[Claims] (1) 携帯可能記憶媒体に対して所定のデータを書込
む携帯可能記憶媒体処理装置であって;識別情報が付加
されている前記携帯可能記憶媒体に書込むべき携帯可能
記憶媒体ごとに異なるデータを保持した第1データ保持
装置と; 識別情報が付加されている前記携帯可能記憶媒体に書込
むべき携帯可能記憶媒体に共通なデータを保持した第2
データ保持装置と; これら第1,第2データ保持装置から前記識別情報をそ
れぞれ読出し、これら各識別情報を照合することにより
、第1,第2データ保持装置内のデータ相互間が正しい
関係にあるか否かを確認する照合手段と; この照合手段で正しい関係にあると確認されると、前記
第1,第2データ保持装置と前記携帯可能記憶媒体との
相互間でデータの読取り書込みを制御する読取り書込み
制御手段と を具備したことを特徴とする携帯可能記憶媒体処理装置
(1) A portable storage medium processing device that writes predetermined data to a portable storage medium; different data for each portable storage medium to be written to the portable storage medium to which identification information is added. a first data holding device that holds; a second data holding device that holds data common to portable storage media to be written to the portable storage medium to which identification information is added;
A data holding device; By reading out the identification information from these first and second data holding devices and comparing these pieces of identification information, the data in the first and second data holding devices are in a correct relationship. a verification means for confirming whether or not the relationship is correct; if the verification means confirms that there is a correct relationship, controlling reading and writing of data between the first and second data holding devices and the portable storage medium; What is claimed is: 1. A portable storage medium processing device comprising: a reading/writing control means.
(2) 前記識別情報は番号あるいは記号などからなる
ことを特徴とする特許請求の範囲第1項記載の携帯可能
記憶媒体処理装置。
(2) The portable storage medium processing device according to claim 1, wherein the identification information consists of a number or a symbol.
(3) 前記携帯可能記憶媒体はICカードであること
を特徴とする特許請求の範囲第1項記載の携帯可能記憶
媒体処理装置。
(3) The portable storage medium processing device according to claim 1, wherein the portable storage medium is an IC card.
(4) 前記第2データ保持装置としてICカードを用
い、このICカード内に前記照合手段を設けたことを特
徴とする特許請求の範囲第1項記載の携帯可能記憶媒体
処理装置。
(4) The portable storage medium processing device according to claim 1, wherein an IC card is used as the second data holding device, and the collation means is provided in the IC card.
(5) 前記第1データ保持装置としてフロッピィディ
スク装置あるいは磁気テープ装置などを用いたことを特
徴とする特許請求の範囲第1項記載の携帯可能記憶媒体
処理装置。
(5) The portable storage medium processing device according to claim 1, wherein a floppy disk device, a magnetic tape device, or the like is used as the first data holding device.
JP61309403A 1986-12-24 1986-12-24 Card issuing device Expired - Lifetime JPH07104913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61309403A JPH07104913B2 (en) 1986-12-24 1986-12-24 Card issuing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61309403A JPH07104913B2 (en) 1986-12-24 1986-12-24 Card issuing device

Publications (2)

Publication Number Publication Date
JPS63159991A true JPS63159991A (en) 1988-07-02
JPH07104913B2 JPH07104913B2 (en) 1995-11-13

Family

ID=17992593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61309403A Expired - Lifetime JPH07104913B2 (en) 1986-12-24 1986-12-24 Card issuing device

Country Status (1)

Country Link
JP (1) JPH07104913B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57140452U (en) * 1981-02-25 1982-09-02
JPS61184792A (en) * 1985-02-13 1986-08-18 Toshiba Corp Issuing device for portable medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57140452U (en) * 1981-02-25 1982-09-02
JPS61184792A (en) * 1985-02-13 1986-08-18 Toshiba Corp Issuing device for portable medium

Also Published As

Publication number Publication date
JPH07104913B2 (en) 1995-11-13

Similar Documents

Publication Publication Date Title
JPS6356785A (en) Portable storage medium processor
KR100732138B1 (en) Identification card issuing apparatus and identification card issuing method
KR20010013468A (en) Method and device for identifying qualified voter
JP3590131B2 (en) Portable storage medium and portable storage medium issuing device
JP3622515B2 (en) Authentication medium, authentication medium issuing device, and authentication device
JPS6356780A (en) Portable storage medium processor
JPS63159991A (en) Portable storage medium processor
JP4601916B2 (en) Card processing device
JPS6356787A (en) Portable storage medium processor
JPS6356770A (en) Portable storage medium processor
WO2021246072A1 (en) Processing device, processing method, and program
JPS6356778A (en) Portable storage medium processor
JPS6356789A (en) Portable storage medium processor
JPS6356784A (en) Portable storage medium processor
JPS6356791A (en) Portable storage medium processor
JPS6356781A (en) Portable storage medium processor
JPS6356774A (en) Portable storage medium processor
JPS6356786A (en) Portable storage medium processor
JPS6356775A (en) Portable storage medium processor
JPS6356782A (en) Portable storage medium processor
JPS6356790A (en) Portable storage medium processor
JPS6356783A (en) Portable storage medium processor
JPS6356788A (en) Portable storage medium processor
JPS6356772A (en) Portable storage medium processor
JPS6356773A (en) Portable storage medium processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term