JPH0758516B2 - IC card device - Google Patents

IC card device

Info

Publication number
JPH0758516B2
JPH0758516B2 JP61159961A JP15996186A JPH0758516B2 JP H0758516 B2 JPH0758516 B2 JP H0758516B2 JP 61159961 A JP61159961 A JP 61159961A JP 15996186 A JP15996186 A JP 15996186A JP H0758516 B2 JPH0758516 B2 JP H0758516B2
Authority
JP
Japan
Prior art keywords
card
terminal device
program
read
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61159961A
Other languages
Japanese (ja)
Other versions
JPS6315394A (en
Inventor
和俊 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP61159961A priority Critical patent/JPH0758516B2/en
Publication of JPS6315394A publication Critical patent/JPS6315394A/en
Publication of JPH0758516B2 publication Critical patent/JPH0758516B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はICカード装置に関し、特に、電子式キャッシ
ュレジスタ(以下、ECR)などに設けられ、ICカードに
記憶されているデータを読取る端末装置のようなICカー
ド装置に関する。
The present invention relates to an IC card device, and more particularly to a terminal device provided in an electronic cash register (hereinafter referred to as an ECR) or the like for reading data stored in an IC card. IC card device such as.

[従来の技術] 最近では、従来の磁気カードに代えて、ICカードを用い
たクレジットカードが使用されるに到っている。このよ
うなICカードは各クレジット会社から発行されており、
各ICカードに記憶されているデータの種類が異なってい
るばかりでなく、ICカードのデータの読出しプログラム
およびデータの書込みプログラムも異なっている場合が
ある。
[Prior Art] Recently, a credit card using an IC card has been used instead of a conventional magnetic card. Such IC cards are issued by each credit company,
Not only are the types of data stored in each IC card different, but the IC card data read programs and data write programs may also be different.

一方、最近のECRには、クレジットカードを用いて取引
処理できるように構成されたものがある。この場合、EC
Rにはカード端末装置が内蔵されているかあるいは外付
けされている。そして、カード端末装置には、ICカード
のデータを読出す読出しプログラムおよびデータをICカ
ードに書込むための書込みプログラムが内蔵されてい
る。
On the other hand, some recent ECRs are configured so that they can process transactions using a credit card. In this case EC
R has a built-in or external card terminal device. The card terminal device has a built-in read program for reading data from the IC card and a write program for writing data in the IC card.

[発明が解決しようとする問題点] 上述のごとく、各クレジット会社から発行されているIC
カードの読出し書込みプログラムがそれぞれ異なってい
るため、或るクレジット会社のICカードのデータの読出
しおよび書込みができても、他のクレジット会社のICカ
ードのデータの読出しおよび書込みができない場合があ
る。いずれのICカードにも対応できるようにするには、
各クレジット会社のICカードのデータの読出しおよび書
込みが可能なように、各クレジット会社のICカードに対
応したカード端末装置を揃えるか、あるいはカード端末
装置内に各クレジット会社のICカードのデータの読出し
および書込みが可能なように複数のプログラムを内蔵さ
せておく必要があった。
[Problems to be Solved by the Invention] As described above, the IC issued by each credit company
Since the card read / write programs are different from each other, it may happen that even if the IC card data of a certain credit company can be read and written, the IC card data of another credit company cannot be read and written. To be compatible with any IC card,
To be able to read and write the IC card data of each credit company, prepare a card terminal device compatible with each credit company's IC card, or read the IC card data of each credit company in the card terminal device. And it was necessary to have a plurality of programs built in so as to be writable.

このため、カード端末装置の種類を多くするかあるいは
各プログラムを記憶するために大容量のメモリが必要に
なるという欠点があった。
Therefore, there is a drawback that the number of types of card terminal devices is increased or a large capacity memory is required to store each program.

それゆえに、この発明の主たる目的は、ICカードのデー
タの読出し手順プログラムおよび書込み手順プログラム
をICカードに内蔵させ、取引処理時にICカードからプロ
グラムを端末装置にロードできるようにして、端末装置
側に各ICカードに応じたプログラムを用意する必要がな
いようなICカード端末装置を提供することである。
Therefore, the main object of the present invention is to incorporate a read procedure program and a write procedure program for data in an IC card into the IC card so that the program can be loaded from the IC card to the terminal device during transaction processing, and An object of the present invention is to provide an IC card terminal device in which it is not necessary to prepare a program corresponding to each IC card.

[問題点を解決するための手段] この発明はICカードとこのICカードが挿入される端末装
置とによって構成されたICカード装置であって、ICカー
ドには端末装置の読出し書込み手順プログラムを記憶す
る第1の記憶手段と、端末装置からのロード命令に応じ
て読出し書込み手順プログラムを読出して端末装置に送
出するプログラム送出手段とを含んで構成される。一
方、端末装置は、プログラム送出手段から送出された読
出し書込み手順プログラムを記憶する第2の記憶手段
と、ICカードが挿入されているか否かを検出するための
検出手段と、ICカードが引抜かれたことが検出されたこ
とに応じて第2の記憶手段に記憶されている読出し書込
み手順プログラムを消去する消去手段とから構成され
る。
[Means for Solving the Problems] The present invention is an IC card device composed of an IC card and a terminal device into which the IC card is inserted. The IC card stores a read / write procedure program for the terminal device. And a program sending means for reading the read / write procedure program according to a load instruction from the terminal device and sending it to the terminal device. On the other hand, the terminal device has a second storage means for storing the read / write procedure program sent from the program sending means, a detecting means for detecting whether or not an IC card is inserted, and an IC card being pulled out. And a erasing means for erasing the read / write procedure program stored in the second storage means in response to the detection of the failure.

[作用] この発明のICカード装置は、取引処理時にICカードを端
末装置に挿入することによって、ICカードに記憶されて
いる読出し書込み手順プログラムを端末装置にロード
し、そのプログラムに基づいてICカードにデータを書込
んだりデータを読出しすることにより、端末装置側に異
なるICカード毎に複数種類のプログラムを記憶しておく
必要がなくなる。
[Operation] The IC card device of the present invention loads the read / write procedure program stored in the IC card into the terminal device by inserting the IC card into the terminal device during transaction processing, and based on the program, the IC card device By writing data to or reading data from the terminal device, it becomes unnecessary to store a plurality of types of programs for different IC cards on the terminal device side.

[発明の実施例] 第2図はこの発明の一実施例に含まれるICカードの外観
図であり、第3図はICカードの概略ブロック図であり、
第4図は第3図に示すROM2に記憶されるデータおよびプ
ログラムを示す図である。
[Embodiment of the Invention] FIG. 2 is an external view of an IC card included in an embodiment of the present invention, and FIG. 3 is a schematic block diagram of the IC card.
FIG. 4 is a diagram showing data and programs stored in the ROM 2 shown in FIG.

まず、第2図ないし第4図を参照して、ICカード1の構
成について説明する。ICカード1には、第2図に示すよ
うに、端末装置3に電気的に接続するための複数の接点
2が設けられている。また、ICカード1には、第3図に
示すように、CPU11とROM12とRAM13とが内蔵されてい
る。ROM12には、第4図に示すように、IDデータと読出
し手順プログラムと書込み手順プログラムが予め記憶さ
れている。このICカード1が端末装置3に挿入される
と、端末装置3からのロード命令に応じて、ROM12に記
憶されている読出し手順プログラムと書込み手順プログ
ラムが端末装置3に送出される。
First, the configuration of the IC card 1 will be described with reference to FIGS. 2 to 4. As shown in FIG. 2, the IC card 1 is provided with a plurality of contacts 2 for electrically connecting to the terminal device 3. Further, as shown in FIG. 3, the IC card 1 has a CPU 11, a ROM 12 and a RAM 13 built therein. In the ROM 12, as shown in FIG. 4, ID data, a read procedure program and a write procedure program are stored in advance. When this IC card 1 is inserted into the terminal device 3, the read procedure program and the write procedure program stored in the ROM 12 are sent to the terminal device 3 in response to a load command from the terminal device 3.

第5図は端末装置の概略ブロック図である。この端末装
置3はたとえばECRやクレジットオーソリゼーションタ
ーミナル(CAT)などによって構成される。ここでは、
端末装置としてECRに適用した場合について説明する。E
CR3はCPU31と表示器32とプリンタ33と回線制御部34とピ
ンパッド35とICカードリーダライタ36とキーボード38と
ROM39とRAM40とを含む。CPU31はROM39に予め記憶されて
いるプログラムに従って、登録処理を行なうものであ
る。表示器32はキーボード38から入力された商品に関連
するデータおよび合計額などを表示する。プリンタ33は
それらのデータをレシートに印字する。回線制御部34は
CPU31とホストコンピュータ(図示せず)との間でデー
タのやりとりを行なうものである。ピンパッド35は顧客
がクレジットカードによる取引処理を希望したとき、そ
の顧客の暗証番号をキー入力するものである。ICカード
リーダライタ36はICカード1からデータを読出したりIC
カード1にデータを書込むためのものである。
FIG. 5 is a schematic block diagram of the terminal device. The terminal device 3 is composed of, for example, an ECR or a credit authorization terminal (CAT). here,
The case where it is applied to ECR as a terminal device will be described. E
CR3 includes a CPU 31, a display 32, a printer 33, a line controller 34, a pin pad 35, an IC card reader / writer 36, and a keyboard 38.
Includes ROM 39 and RAM 40. The CPU 31 performs a registration process according to a program stored in the ROM 39 in advance. The display 32 displays data related to the product input from the keyboard 38 and the total price. The printer 33 prints those data on a receipt. The line controller 34
Data is exchanged between the CPU 31 and a host computer (not shown). The pin pad 35 is used to key in the personal identification number of a customer when the customer desires to process a transaction with a credit card. The IC card reader / writer 36 reads data from the IC card 1 and IC
It is for writing data to the card 1.

ICカードリーダライタ36に関連してカード挿入検出器37
が設けられる。このカード挿入検出器37はICカードリー
ダライタ36にICカード1が挿入されているか否かを検出
するものである。キーボード38は顧客の買上げた商品に
関するデータおよび顧客が支払った現金のデータなどを
入力するものである。ROM39はCPU31が登録処理するのに
必要なプログラムを予め記憶している。RAM40は、キー
ボード38から入力された商品に関するデータなどを記憶
する。
Card insertion detector 37 related to IC card reader / writer 36
Is provided. The card insertion detector 37 detects whether or not the IC card 1 is inserted in the IC card reader / writer 36. The keyboard 38 is used to input data regarding products purchased by the customer, cash data paid by the customer, and the like. The ROM 39 stores in advance a program necessary for the CPU 31 to perform registration processing. The RAM 40 stores data regarding the product input from the keyboard 38.

第1A図ないし第1C図はこの発明の一実施例の動作を説明
するためのフロー図であり、特に、第1A図はECRによる
登録処理動作を示し、第1B図はICカードから読出し書込
み手順プログラムをECRにロードする動作を示し、第1C
図はICカードをECRから引抜いたときの動作を示す。
1A to 1C are flow charts for explaining the operation of one embodiment of the present invention. In particular, FIG. 1A shows the registration processing operation by ECR, and FIG. 1B shows the read / write procedure from an IC card. Shows the operation of loading the program into ECR.
The figure shows the operation when the IC card is pulled out from the ECR.

次に、第1A図ないし第5図を参照して、この発明の一実
施例の具体的な動作について説明する。まず、オペレー
タは顧客が買上げた商品に関するデータをキーボード38
から順次入力する。ECR3のCPU31はキーボード38から入
力された各商品に関するデータをRAM40に記憶させて登
録処理を行なう。登録動作を終了すると、オペレータは
ICカード1をカードリーダライタ36に挿入する。ICカー
ド1がICカードリーダライタ36に挿入されると、カード
挿入検出器37がICカード1の挿入されたことを検出し、
CPU31に検出信号を与える。応じて、CPU31はプログラム
のロード処理を行なう。
Next, a specific operation of the embodiment of the present invention will be described with reference to FIGS. 1A to 5. First, the operator uses the keyboard 38 to store data related to the products purchased by the customer.
Enter sequentially from. The CPU 31 of the ECR 3 causes the RAM 40 to store the data regarding each product input from the keyboard 38 and performs the registration processing. After completing the registration operation, the operator
Insert the IC card 1 into the card reader / writer 36. When the IC card 1 is inserted into the IC card reader / writer 36, the card insertion detector 37 detects that the IC card 1 is inserted,
A detection signal is given to the CPU 31. In response, CPU 31 carries out a program loading process.

すなわち、ICカード1はICカードリーダライタ36に挿入
され、接点2がICカードリーダライタ36に接続されたこ
とを判別すると、第4図に示すようなROM12に記憶され
ているカードIDデータを、ICカードリーダライタ36を介
してCPU31に送信する。このカードIDデータはそれぞれ
のICカードを特定するためのものである。ECR3は、ICカ
ード1がカードリーダライタ36に挿入されたことを判別
し、ICカード1から送られてきたカードIDデータを受信
すると、取引可能なIDであるか否かを判別する。CPU31
は取引可能なIDデータであれば、ICカード1に対してロ
ード命令を送信する。ロード命令を受信したICカード1
は、ROM12に記憶している読出し手順プログラムと書込
み手順プログラムをECR3に送信する。ECR3はそのプログ
ラムをRAM40に記憶する。
That is, when it is determined that the IC card 1 is inserted in the IC card reader / writer 36 and the contact 2 is connected to the IC card reader / writer 36, the card ID data stored in the ROM 12 as shown in FIG. It is transmitted to the CPU 31 via the IC card reader / writer 36. This card ID data is for identifying each IC card. The ECR 3 determines that the IC card 1 has been inserted into the card reader / writer 36, and when the card ID data sent from the IC card 1 is received, determines whether it is a transactable ID. CPU31
Sends a load command to the IC card 1 if the ID data can be traded. IC card 1 that received the load command
Sends the read procedure program and write procedure program stored in ROM 12 to ECR3. ECR3 stores the program in RAM40.

ECR3のCPU31は与信限度をチェックするために、RAM40に
記憶された読出し手順プログラムを起動する。すなわ
ち、CPU31は読出し手順プログラムに基づいて、ICカー
ド1に対して読出しコマンドを送出する。ICカード1は
読出しコマンドを受取ると、ACK信号をECR3のCPU31に送
出するとともに、RAM13に予め記憶されている与信限度
を示すデータを送出する。CPU31は買上げ合計額から与
信限度以内であれば、合計額と与信限度データとに基づ
いて新たな与信限度を計算する。そして、CPU31は書込
み手順プログラムを起動し、書込みコマンド信号と新た
な与信限度データをICカードリーダライタ36によってIC
カード1のRAM13に書込む。
The CPU 31 of the ECR3 activates the read procedure program stored in the RAM 40 to check the credit limit. That is, the CPU 31 sends a read command to the IC card 1 based on the read procedure program. When the IC card 1 receives the read command, it sends an ACK signal to the CPU 31 of the ECR 3 and also sends data indicating the credit limit stored in the RAM 13 in advance. If the total purchase amount is within the credit limit, the CPU 31 calculates a new credit limit based on the total amount and the credit limit data. Then, the CPU 31 activates the writing procedure program, and sends the writing command signal and new credit limit data to the IC card reader / writer 36 by the IC.
Write to RAM13 of card 1.

ICカード1は、新たな与信限度データが書込まれると、
ACK信号をCPU31に送出する。CPU31はACK信号のステータ
スを受信すると、正常に終了したことを判別し、RAM40
に記憶した読出し手順プログラムおよび書込み手順プロ
グラムをクリアする。なお、ICカード1へのデータの書
込が正常に行なわれなかった場合には、ICカード1をIC
カードリーダライタ36から引抜くが、ICカード1がICカ
ードリーダライタ36から引抜かれたことをカード挿入検
出器37が検出する。CPU31はカード挿入検出器37からの
検出信号に応じて、第1C図に示すように、RAM40に記憶
した読出し手順プログラムと書込み手順プログラムをク
リアし、エラー表示する。
When new credit limit data is written to the IC card 1,
Sends an ACK signal to the CPU 31. When the CPU 31 receives the status of the ACK signal, it determines that it has completed normally, and the RAM 40
Clear the read procedure program and write procedure program stored in. If the writing of data to the IC card 1 is not performed normally, replace the IC card 1 with the IC.
Although the card is pulled out from the card reader / writer 36, the card insertion detector 37 detects that the IC card 1 is pulled out from the IC card reader / writer 36. In response to the detection signal from the card insertion detector 37, the CPU 31 clears the read procedure program and the write procedure program stored in the RAM 40 and displays an error as shown in FIG. 1C.

[発明の効果] 以上のように、この発明によれば、読出し手順プログラ
ムと書込み手順プログラムをICカードに内蔵し、ICカー
ドが端末装置に各プログラムを端末装置側にロードし、
取引処理が終了またはICカードが引抜かれたときに、ロ
ードされたプログラムを自動的に消去するようにしたの
で、端末装置側に異なるICカードのプログラムを記憶し
ておく必要がなくなる。したがって、種々のICカードに
対応するために複数のプログラムを記憶するための大容
量メモリを不要にできる。さらに、ICカードを端末装置
から引抜くと、端末装置にロードしたプログラムが消去
されるため、秘密性を保つことができる。
As described above, according to the present invention, the read procedure program and the write procedure program are built in the IC card, and the IC card loads each program to the terminal device side,
Since the loaded program is automatically deleted when the transaction processing is completed or the IC card is pulled out, it is not necessary to store a different IC card program in the terminal device side. Therefore, it is possible to eliminate the need for a large-capacity memory for storing a plurality of programs to support various IC cards. Furthermore, when the IC card is pulled out from the terminal device, the program loaded in the terminal device is erased, so that confidentiality can be maintained.

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

第1A図ないし第1C図はこの発明の一実施例を動作を説明
するためのフロー図であり、特に第1A図はECRによる登
録処理動作を示し、第1B図はICカードから読出し書込み
プログラムをECRにロードする動作を示し、第1C図はIC
カードをECRから引抜いたときの動作を示す。第2図はI
Cカードの外観図である。第3図はICカードの構成を示
すブロック図である。第4図はICカードのROMに記憶さ
れるデータを示す図である。第5図はECRの概略ブロッ
ク図である。 図において、1はICカード、2は接点、3はECR、11,31
はCPU、12,39はROM、13,40はRAM、32は表示器、33はプ
リンタ、34は回線制御部、35はピンパッド、36はICカー
ドリーダライタ、37はカード挿入検出器、38はキーボー
ドを示す。
1A to 1C are flow charts for explaining the operation of an embodiment of the present invention. In particular, FIG. 1A shows a registration processing operation by ECR, and FIG. 1B shows a read / write program from an IC card. The operation of loading the ECR is shown in Figure 1C.
It shows the operation when the card is pulled out from the ECR. Figure 2 shows I
It is an external view of a C card. FIG. 3 is a block diagram showing the configuration of the IC card. FIG. 4 is a diagram showing data stored in the ROM of the IC card. FIG. 5 is a schematic block diagram of ECR. In the figure, 1 is an IC card, 2 is a contact point, 3 is an ECR, 11, 31
Is a CPU, 12,39 is a ROM, 13,40 is a RAM, 32 is a display, 32 is a printer, 33 is a printer, 34 is a line controller, 35 is a pin pad, 36 is an IC card reader / writer, 37 is a card insertion detector, and 38 is Indicates a keyboard.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ICカードと前記ICカードが挿入される端末
装置とによって構成されたICカード装置において、 前記ICカードは、 前記端末装置の読出し書込み手順プログラムを記憶する
第1の記憶手段と、 前記端末装置からのロード命令に応じて、前記第1の記
憶手段から前記読出し書込み手順プログラムを読出し
て、前記端末装置に送出するプログラム送出手段とを含
み、 前記端末装置は、 前記ICカードのプログラム送出手段から送出された読出
し書込み手順プログラムを記憶する第2の記憶手段と、 前記ICカードが挿入されているか否かを検出するための
検出手段と、 前記検出手段によって前記ICカードが引抜かれたことが
検出されたことに応じて、前記第2の記憶手段に記憶さ
れている読出し書込み手順プログラムを消去する消去手
段とを含む、ICカード装置。
1. An IC card device comprising an IC card and a terminal device into which the IC card is inserted, wherein the IC card comprises a first storage means for storing a read / write procedure program of the terminal device, Program sending means for reading the read / write procedure program from the first storage means and sending it to the terminal device in response to a load command from the terminal device, wherein the terminal device is a program for the IC card. Second storage means for storing the read / write procedure program sent from the sending means, detection means for detecting whether or not the IC card is inserted, and the IC card pulled out by the detection means Erasing means for erasing the read / write procedure program stored in the second storage means in response to the detection of that No, IC card device.
JP61159961A 1986-07-07 1986-07-07 IC card device Expired - Fee Related JPH0758516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61159961A JPH0758516B2 (en) 1986-07-07 1986-07-07 IC card device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61159961A JPH0758516B2 (en) 1986-07-07 1986-07-07 IC card device

Publications (2)

Publication Number Publication Date
JPS6315394A JPS6315394A (en) 1988-01-22
JPH0758516B2 true JPH0758516B2 (en) 1995-06-21

Family

ID=15704950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61159961A Expired - Fee Related JPH0758516B2 (en) 1986-07-07 1986-07-07 IC card device

Country Status (1)

Country Link
JP (1) JPH0758516B2 (en)

Also Published As

Publication number Publication date
JPS6315394A (en) 1988-01-22

Similar Documents

Publication Publication Date Title
JPS6339099A (en) Transaction processing system
JP2882642B2 (en) Card handling device
JPH1091903A (en) Magnetic card reader, self-service terminal and its operation
JP2651426B2 (en) IC card
JPH0758516B2 (en) IC card device
JP3427214B2 (en) Card processing system and controller
JPS6125187B2 (en)
JP2661775B2 (en) Error handling method for automatic transaction equipment
JP2555163B2 (en) Transaction processing method
JPS6349267B2 (en)
JP2531142B2 (en) Storage medium processing device
JP2700548B2 (en) Automatic cash handling equipment
JP2556326B2 (en) IC card information processing system
JP2524626B2 (en) Transaction processor
JPS63109595A (en) Electronic type cash register
JPS61121171A (en) Electronic bankbook
JPH0582624B2 (en)
JPH0542029B2 (en)
JP2723430B2 (en) How to operate a card vending machine
JP2665276B2 (en) Electronic cash register
JPH0628078B2 (en) IC card trading system
JPS61168176A (en) Magnetic card system
JPH06103422A (en) Reader-writer device for magnetic card
JPS62227695A (en) Gold-note integrated circuit card
JPH0628079B2 (en) IC card trading system

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees