JP3957167B2 - Data update method and apparatus - Google Patents

Data update method and apparatus Download PDF

Info

Publication number
JP3957167B2
JP3957167B2 JP2002145238A JP2002145238A JP3957167B2 JP 3957167 B2 JP3957167 B2 JP 3957167B2 JP 2002145238 A JP2002145238 A JP 2002145238A JP 2002145238 A JP2002145238 A JP 2002145238A JP 3957167 B2 JP3957167 B2 JP 3957167B2
Authority
JP
Japan
Prior art keywords
update
data
storage area
processor
target 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 - Lifetime
Application number
JP2002145238A
Other languages
Japanese (ja)
Other versions
JP2003050982A (en
JP2003050982A5 (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.)
NTT Data Corp
Original Assignee
NTT Data 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 NTT Data Corp filed Critical NTT Data Corp
Priority to JP2002145238A priority Critical patent/JP3957167B2/en
Publication of JP2003050982A publication Critical patent/JP2003050982A/en
Publication of JP2003050982A5 publication Critical patent/JP2003050982A5/ja
Application granted granted Critical
Publication of JP3957167B2 publication Critical patent/JP3957167B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、例えばオフラインの使用時における不当なデータの更新を防止し、それによって生じるカード発行者及びカード所有者のリスクを軽減させることができるICカードに関する。
【0002】
【従来の技術】
ICカードの内部に、カード発行主体であるセンタシステム側で管理されている対象データ、例えば金額等に相当するデータ(以下、金額データ)を格納しておき、その金額データを用いてセンタシステム側の了解を得ずに商品購入等を行う取引形態がある。このような取引形態をオフライン取引という。例えば、センタシステムとオンライン接続されているATM(automatic teller machine)等を用いて自己の銀行預金残高の全部または一部に対応する金額データをICカードのメモリ領域に格納しておき、商品購入時には、店舗にあるオフライン端末を用いて上記金額データを逐次減算していく場合がオフライン取引に該当する。
【0003】
このようなオフライン取引においては、ICカードに格納されている金額データと、センタシステム側で管理している預金残高に相当する金額データとの不一致による、カード発行者とカード所有者との間のトラブル発生を回避する手段を講じることが重要となる。
【0004】
そこで、従来は、センタシステム側でICカードに格納できる金額データに上限を設けて金額データの更新(増額)の際に一定の制限を課し、上記金額データの不一致を防止するような工夫が施されていた。図7は、この場合のシーケンスチャートであり、ICカード、ATMに設けられるカードリーダライタ(以下、R/W)、及び、ATMにオンライン接続されているセンタシステムにおける、それぞれの処理の流れを示すものである。
【0005】
図7において、R/W(ATM)は、カード挿入の検知を契機に(R21)所要のカード挿入後処理を行った後、ICカードに対して現在値、すなわち現在格納されている金額データの読出要求を行う(R22)。ICカードは、この要求の受信によって(K21)自己のメモリ領域から、現在格納されている金額データを読み出し、これをR/Wへ送信する(K22)。ICカードから金額データを受信したR/Wは、この金額データと増加予定額とを加算して変更値を演算し(R23)、演算結果である変更値をセンタシステムに送信する(R24)。つまり更新可能かどうかの問い合わせを行う。
【0006】
センタシステムでは、変更値を受信すると、当該ICカードの登録所有者について管理している金額データ(以下、管理値)を検索し(C21)、存在する場合はその管理値と受信した変更値とを比較する(C22)。そして変更値が管理値以下であれば(C23:Yes)更新可能通知、変更値が管理値を越える場合(C23:No)更新不可通知をそれぞれR/Wに送る。
【0007】
R/Wは、センタシステムからの通知が更新可能通知の場合はその旨をICカード側に送り(R25)、更新不可通知の場合は更新不可表示を行って所定のエラー処理を行う。
【0008】
ICカードは、更新可能通知を確認すると、金額データの現在値を更新するとともに(K232)。更新が正常終了した場合はその旨をR/Wに通知する(K24)。この通知を受信したR/Wは、更新済を表示し(R27)、必要処理が終了した場合は、当該ICカードの排出制御を行う(R28)。これによりICカードは排出され、更新された金額データに基づくオフライン取引が可能になる。
【0009】
【発明が解決しようとする課題】
上述のように、ICカードに格納されている金額データを更新する場合、通常は、常にセンタシステム側で管理されている金額データとの整合性をチェックした上で更新の可否が行われるようになっている。しかし、上記ICカードに対して行われる金額データの更新手順を第三者が盗み、その手順を実現する機能を搭載した不正なATMを作成してしまえば、センタシステムへの問い合わせを行わなくともICカードの内部の金額データを一方的に更新することが可能となってしまう。また、正規のカード所有者がICカードを紛失ないし盗難にあった場合、それを取得した悪意の第三者が更新可能な金額データの範囲内で設定金額の増額や商品の購入等を繰り返すことが考えられる。
【0010】
このように、従来のICカードを用いてオフライン取引を行う場合、カード所有者及びカード発行者(あるいはシステム運用者)の双方にとって、危険性のある取引形態となってしまう問題があった。このような問題は、上記金額データのように、ICカードの内部に格納される対象データの更新可否が、ICカードの外部に存する装置の判断によって行われることに起因しており、同様の手法を採用する他のICカードシステムにも共通に存していた。
【0011】
そこで、本発明の課題は、カード内部に格納される対象データの更新制限を徹底させ、該対象データに対する不当なアクセスを確実に防止することができる、改良されたICカードを提供することにある。
【0012】
【課題を解決するための手段】
本発明は、上記課題を解決するため、更新によってその値が増減する対象データを格納するためのデータ格納領域と、前記データ格納領域に格納される対象データの更新可能範囲が設定された設定領域と、前記データ格納領域に格納されている対象データの現在値及び新規入力値に基づいて更新候補データを生成するとともに、該更新候補データが前記設定領域に設定された更新可能範囲内のときのみ前記データ格納領域の更新を許容する第1のメモリ制御手段と、を有するICカードを提供する。
【0013】
また、更新によってその値が増減する対象データを格納するためのデータ格納領域と、前記データ格納領域に格納される対象データの更新可能範囲を設定するための設定領域と、この設定領域に少なくとも一種類の前記更新可能範囲を設定ないし更新する第2のメモリ制御手段とを有するICカードをも提供する。
【0014】
上記各ICカードにおいて、前記更新可能範囲は、例えば、少なくとも一方が固定値である更新上限値と更新下限値との組、あるいは個別に設定及び更新が可能な更新上限値と更新下限値との組により規定されるものであり、また、前記データ格納領域に複数種別の対象データの格納領域が形成される場合、個々の対象データの格納領域について規定されるものである。更新上限値は、例えば対象データの値が累積され過ぎないようにするため、更新下限値は、対象データの値が低減され過ぎないようにするための保全手法として用いることができる。
【0015】
本発明の他のICカードは、カード外部より入力される前記対象データの更新要求と前記更新可能範囲の設定ないし更新要求とを識別するとともに、識別結果に応じて異なる形態の認証処理を行う認証処理手段をさらに有する。この認証処理手段は、好ましくは、前記更新可能範囲の上限値及び下限値の設定ないし更新を異なる権限IDに基づいて許容するように構成されるようにする。
【0016】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を詳細に説明する。図1は、本発明が適用されるICカードの構成例を示す図である。このICカード1は、カードリーダライタ(R/W)2との間のデータ入出力制御を行う入出力制御部(I/O)11、マイクロプロセッサ(CPU)12、ROM13、RAM14、及びEEPROM15を備えて構成される。
【0017】
RAM14は、CPU12がプログラムを実行するために使用するワーキングメモリであり、ROM13は、少なくともCPU12が実行する制御プログラムを格納するメモリである。
【0018】
図2は、EEPROM15の内容説明図である。本実施形態では、EEPROM15に、少なくとも、アクセス権限IDである複数のPIN(Personal Identification Number:暗証番号)を格納するためのPIN格納領域151と、対象データの一例である金額データの更新可能範囲を設定するための設定データ格納領域152と、上記金額データの格納領域153とを形成する。ここで用いる金額データは、金額等を表すデータであり、オフライン取引時の資金保留に際してその値が増加し、商品購入等の支払いの際にその値が減少するデータである。
【0019】
PIN格納領域151には、カード発行者用のPIN#1と正規のカード所有者用のPIN#2とを設定しておく。設定データ格納領域152に設定される更新可能範囲は更新上限値と更新下限値との組から成り、この更新上限値及び更新下限値は、それぞれ個別に設定ないし更新(以下、この実施形態において設定等とする)できるようになっている。例えば更新上限値はカード発行者、更新下限値はカード所有者のみが設定等を行えるようにする使い方が可能である。
【0020】
なお、更新上限値と下限値の少なくとも一方は、固定値としておくことも可能である。また、両方とも固定値とすれば、少なくとも後述の認証処理手段の構成を、より簡略化させることができる。
【0021】
更新上限値と更新下限値は複数の組を設定することができ、かつ各組の更新上限値と更新下限値には、複数の金額データ#1〜#nの各々の格納領域について個別に設定することができる。このようにすれば、1枚のICカードで複数のサービスの提供を受ける場合等に対応させることができる。図示の例では、更新上限値Aと更新下限値Aの組に金額データ#1,更新上限値Bと更新下限値Bの組に金額データ#2と金額データ#3とが設定されている。
【0022】
図3は、ROM13に格納された制御プログラムに従ってCPU12が実現する機能ブロック構成図である。この実施形態では、認証処理部120、コマンド実行管理部121、上限値設定部122,下限値設定部123、対象データ設定部124、データ比較処理部125、演算処理部126、及びデータ更新処理部127を構築する。なお、ここでは、更新上限値及び更新下限値が、それぞれ個別に更新等することができるものとして説明する。
【0023】
認証処理部120は、I/O11を介してR/W2から入力されるPINを識別して所要の認証処理を行うものである。なお、金額データの更新の際にはPIN入力による認証処理を省略することもできる(PINアンロック状態)。コマンド実行管理部121は、認証処理部120が金額データの更新要求とは異なる要求、すなわち更新可能範囲の設定等や各更新可能範囲についての金額データの設定等を要求を前提とした認証処理を行ったとき、当該要求に対応するコマンドを選択的に実行するものである。
【0024】
このコマンド実行管理部121における処理の手順を図4により説明する。コマンド実行管理部121は、例えば、カード発行者が自己のPIN#1の入力をもとに更新上限値の設定等を要求した場合(ステップS101:Yes)、上限値設定部122に更新上限値の設定用コマンドを送る(ステップS102)。また、カード所有者が自己のPIN#2入力をもとに更新下限値の設定等を要求した場合は(ステップS101:No、ステップS103:Yes)、下限値設定部123に更新下限値の設定用コマンドを送る(ステップS104)。更新可能範囲に個別的に金額データ#1〜#nの設定等を行う場合も、カード所有者のPIN照合を行い、正常の場合に対象データ設定用コマンドを対象データ設定部124に送るようにする。PIN照合の結果、認証がとれない場合はエラー処理を行って(ステップS105)、処理を終える。
【0025】
データ比較処理部125は、金額データ格納領域153に格納されている金額データの現在値とI/O11を介して新規入力された金額データ(新規入力値)とを演算処理部126を用いて合計し、合計値が当該金額データについて設定された更新可能範囲内かどうかを比較する。そして、更新可能範囲内の場合は合計値をデータ更新処理部127に送る。データ更新処理部127は、データ比較処理部125の比較処理結果に応じて金額データ格納領域153の該当データ領域を更新するものである。
【0026】
次に、上記構成のICカードの使用方法を図5及び図6を参照しながら具体的に説明する。図5は、データ比較処理部125及びデータ更新処理部127における処理手順の流れを示しており、図6は、ICカード1とR/W2との間のシーケンス手順を示している。ここでは、更新可能範囲が既に設定されており、認証処理については問題ないものとして説明する。
【0027】
図6において、R/W2は、ICカード1が挿入されると(R11)、当該ICカードにデータ更新要求(コマンド)を送信する(R12)。ICカード側では、この更新要求の受信を契機にEEPROM15の該当領域を検索するとともに所要の更新処理を行う(K11〜K16)。
【0028】
具体的には、図5に示されるように、データ更新要求の受信により(ステップS201)、該当する金額データの格納領域を検索する(ステップS202)。金額データが存在している場合(ステップS203:Yes)、当該金額データについて設定されている更新可能範囲があるかどうかを検索する(ステップS204)。更新可能範囲が存在した場合(ステップS205:Yes)、増額要求かどうかを判定し(ステップS206)、増額要求である場合は、現在の金額値と増額値とを加算し(ステップS206:Yes、S207k)、この加算値が更新上限値以下であることをチェックする(ステップS208k)。一方、ステップS206において減額要求であることを確認した場合は、現在の金額値から減額値を減算し(ステップS206:No、S207g)、この減算値がデータ変更可能下限値以上であることをチェックする(ステップS208g)。
【0029】
上記ステップS206,S208k,S208gでのチェックの際に、算出データが更新可能範囲に収まっていることが確認できた場合は、該当金額データの更新を行い(ステップS209)、正常に終了した旨をR/W2に通知する(ステップS210)。一方、当該コマンドの実行条件チェックにおいてエラーとなった場合には、所定のエラー処理を行い、異常終了をR/W2に通知する(ステップS211)。図6に戻り、R/W2は、ICカード1からの通知内容を利用者に認識できる形で出力し(R13)、必要な終了処理を経た後、カード排出を行う(R14)。
【0030】
このように、本実施形態のICカード1は、その内部に、格納できる金額データの範囲を定める更新可能範囲を設定しておき、金額データの更新の際に自己チェックを行うようにしたので、更新処理が従来よりも簡素化される。従って、例えば店舗等において買い物をする場合に、レジにおける精算処理と作業とが簡易になり、レジ付近で他の客による待ち行列が生じる事態を回避することができるようになる。しかも従来のように、R/W側に現在の金額データを知らせる必要がないので、悪意の第三者にカード内部の金額データを読み出される虞がなくなるため、ICカード所有者のプライバシー保護にもつながる。
【0031】
また、更新可能範囲のうち上限値はカード発行者によって秘密裏にICカード1に設定しておき、下限値はICカード1の正規所有者が設定するとともに、これらの設定については、不正なアクセスから防止するために、PIN照合を経た後に特殊コマンドでしか実行できなくなるようにすることで、ICカードによるオフライン取引を安全に執り行うことができるようになる。また、カード所有者は、自己のICカードを信頼できる他人に渡し、現在の金額データのうち下限値までは商品の購入等をさせるような使い方も可能になる。
【0032】
なお、本実施形態では、対象データとして、金額データの場合の例を示したが、このほか、図書カードによる貸出量や、ゲームカードによる得点量の場合も同様の実施態様が可能である。
【0033】
【発明の効果】
以上の説明から明らかなように、本発明のICカードによれば、不正なR/Wを用いてカード内部の対象データを不当に更新しようとしてもその更新が制限されるため、オフライン取引時におけるカード所有者及びカード発行者のリスクが軽減される、という特有の効果がある。
【図面の簡単な説明】
【図1】 本発明が適用されるICカードの構成図。
【図2】 本実施形態のICカードのEEPROMの内容説明図。
【図3】 本実施形態のICカードにより実現される機能ブロックの構成図。
【図4】 本実施形態のコマンド実行管理部における処理手順説明図。
【図5】 本実施形態のICカードにおける処理手順説明図。
【図6】 ICカードとR/Wとの間で行われる処理手順を示したシーケンスチャート。
【図7】 従来のICカードとR/Wとセンタシステムとの間で行われる処理手順を示したシーケンスチャート。
【符号の説明】
1 ICカード
2 カードリーダライタ(R/W)
11 入出力制御部(I/O)
12 マイクロプロセッサ(CPU)
121 認証処理部
122 コマンド実行管理部
123 上限値設定部
124 下限値設定部
125 データ比較処理部
126 演算処理部
127 データ更新処理部
13 ROM
14 RAM
15 EEPROM
151 PIN格納領域
152 設定データ格納領域
153 金額データ格納領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an IC card that can prevent unauthorized updating of data during offline use, for example, and can reduce the risk of a card issuer and a cardholder caused thereby.
[0002]
[Prior art]
The target data managed by the center system that is the card issuer, for example, data corresponding to the amount of money (hereinafter referred to as amount data) is stored in the IC card, and the center system side uses the amount data. There is a transaction form in which goods are purchased without obtaining approval. Such a transaction form is called offline transaction. For example, by using an ATM (automatic teller machine) connected online with the center system, money amount data corresponding to all or part of the bank deposit balance is stored in the memory area of the IC card. A case where the amount data is successively subtracted using an offline terminal in a store corresponds to offline transaction.
[0003]
In such offline transactions, the amount of data stored in the IC card and the amount of data corresponding to the deposit balance managed on the center system side do not match between the card issuer and the cardholder. It is important to take measures to avoid troubles.
[0004]
Therefore, in the past, there has been a contrivance that sets an upper limit for the amount data that can be stored in the IC card on the center system side and places a certain limit when updating (increase) the amount data, thereby preventing inconsistencies in the amount data. It was given. FIG. 7 is a sequence chart in this case, and shows the flow of each processing in the IC card, the card reader / writer (hereinafter referred to as R / W) provided in the ATM, and the center system connected online to the ATM. Is.
[0005]
In FIG. 7, the R / W (ATM) performs the required post-card insertion processing upon the detection of card insertion (R21), and then the current value for the IC card, that is, the amount data currently stored. A read request is made (R22). Upon receiving this request (K21), the IC card reads the amount data currently stored from its own memory area and transmits it to the R / W (K22). The R / W that has received the money amount data from the IC card adds the money amount data and the planned increase amount to calculate the changed value (R23), and transmits the changed value as the calculation result to the center system (R24). That is, it is inquired whether it can be updated.
[0006]
In the center system, when the change value is received, the amount data (hereinafter referred to as management value) managed for the registered owner of the IC card is searched (C21), and if it exists, the management value and the received change value and Are compared (C22). If the change value is equal to or less than the management value (C23: Yes), an update possible notification is sent to the R / W. If the change value exceeds the management value (C23: No), an update impossible notification is sent to the R / W.
[0007]
When the notification from the center system is an updatable notification, the R / W sends a message to that effect to the IC card (R25).
[0008]
When the IC card confirms the update possible notification, it updates the current value of the amount data (K232). If the update is normally completed, the R / W is notified to that effect (K24). The R / W that has received this notification displays updated information (R27), and controls the ejection of the IC card when the necessary processing is completed (R28). As a result, the IC card is discharged, and offline transaction based on the updated amount data becomes possible.
[0009]
[Problems to be solved by the invention]
As described above, when the amount data stored in the IC card is updated, it is usually checked whether the update is possible after checking the consistency with the amount data managed on the center system side. It has become. However, if a third party steals the amount data update procedure performed on the IC card and creates an unauthorized ATM with a function for realizing the procedure, it is not necessary to make an inquiry to the center system. The amount data inside the IC card can be unilaterally updated. In addition, if the authorized cardholder loses or steals an IC card, repeat the increase of the set amount or purchase of goods within the range of amount data that can be updated by the malicious third party who acquired it. Can be considered.
[0010]
As described above, when an offline transaction is performed using a conventional IC card, there is a problem that the transaction form becomes dangerous for both the card owner and the card issuer (or the system operator). Such a problem is caused by whether or not the target data stored inside the IC card is updatable by the judgment of a device existing outside the IC card, such as the amount data, and the same method It also existed in common with other IC card systems that employ the.
[0011]
SUMMARY OF THE INVENTION An object of the present invention is to provide an improved IC card capable of thoroughly restricting update of target data stored in the card and reliably preventing unauthorized access to the target data. .
[0012]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides a data storage area for storing target data whose value increases or decreases by updating, and a setting area in which an updatable range of target data stored in the data storage area is set And generating update candidate data based on the current value and new input value of the target data stored in the data storage area, and only when the update candidate data is within the updatable range set in the setting area There is provided an IC card comprising: a first memory control unit that allows updating of the data storage area.
[0013]
In addition, there is a data storage area for storing target data whose value is increased or decreased by updating, a setting area for setting an updatable range of the target data stored in the data storage area, and at least one in this setting area There is also provided an IC card having second memory control means for setting or updating the type of updatable range.
[0014]
In each of the above IC cards, the updatable range is, for example, a set of an update upper limit value and an update lower limit value, at least one of which is a fixed value, or an update upper limit value and an update lower limit value that can be individually set and updated. In addition, when a plurality of types of target data storage areas are formed in the data storage area, each target data storage area is specified. For example, the update upper limit value prevents the value of the target data from being accumulated too much, and the update lower limit value can be used as a maintenance technique for preventing the value of the target data from being excessively reduced.
[0015]
Another IC card of the present invention identifies an update request for the target data input from the outside of the card and a setting or update request for the updatable range, and performs an authentication process in a different form depending on the identification result It further has a processing means. This authentication processing means is preferably configured to allow setting or updating of the upper limit value and the lower limit value of the updatable range based on different authority IDs.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a configuration example of an IC card to which the present invention is applied. The IC card 1 includes an input / output control unit (I / O) 11 that performs data input / output control with a card reader / writer (R / W) 2, a microprocessor (CPU) 12, a ROM 13, a RAM 14, and an EEPROM 15. It is prepared for.
[0017]
The RAM 14 is a working memory that is used by the CPU 12 to execute a program, and the ROM 13 is a memory that stores at least a control program executed by the CPU 12.
[0018]
FIG. 2 is an explanatory diagram of the contents of the EEPROM 15. In the present embodiment, the EEPROM 15 has at least a PIN storage area 151 for storing a plurality of PINs (Personal Identification Numbers) as access authority IDs, and an updatable range of amount data as an example of target data. A setting data storage area 152 for setting and a storage area 153 for the amount data are formed. The amount data used here is data representing the amount of money and the like, and is data in which the value increases when the funds are reserved at the time of offline transaction and decreases when the payment such as the purchase of goods is made.
[0019]
In the PIN storage area 151, a PIN # 1 for a card issuer and a PIN # 2 for a legitimate card holder are set. The updatable range set in the setting data storage area 152 consists of a set of an update upper limit value and an update lower limit value, and the update upper limit value and the update lower limit value are individually set or updated (hereinafter, set in this embodiment). Etc.). For example, the update upper limit value can be set by the card issuer, and the update lower limit value can be set by only the card holder.
[0020]
It should be noted that at least one of the update upper limit value and the lower limit value may be a fixed value. If both are fixed values, at least the configuration of the authentication processing means described later can be further simplified.
[0021]
The update upper limit value and the update lower limit value can be set in a plurality of sets, and the update upper limit value and the update lower limit value of each set are individually set for each storage area of the plurality of amount data # 1 to #n. can do. In this way, it is possible to cope with a case where a plurality of services are received with one IC card. In the example shown in the figure, money amount data # 1 is set for the set of update upper limit value A and update lower limit value A, and money amount data # 2 and money amount data # 3 are set for the set of update upper limit value B and update lower limit value B.
[0022]
FIG. 3 is a functional block configuration diagram realized by the CPU 12 in accordance with the control program stored in the ROM 13. In this embodiment, the authentication processing unit 120, the command execution management unit 121, the upper limit value setting unit 122, the lower limit value setting unit 123, the target data setting unit 124, the data comparison processing unit 125, the arithmetic processing unit 126, and the data update processing unit 127 is built. Here, it is assumed that the update upper limit value and the update lower limit value can be updated individually.
[0023]
The authentication processing unit 120 identifies a PIN input from the R / W 2 via the I / O 11 and performs a required authentication process. When updating the amount data, the authentication process by PIN input can be omitted (PIN unlock state). The command execution management unit 121 performs an authentication process on the premise that the authentication processing unit 120 requests a request different from the update request for the amount of money data, that is, setting of the updatable range and the setting of the amount of money data for each updatable range. When executed, the command corresponding to the request is selectively executed.
[0024]
The processing procedure in the command execution management unit 121 will be described with reference to FIG. For example, when the card issuer requests setting of an update upper limit value based on the input of its own PIN # 1 (step S101: Yes), the command execution management unit 121 sends an update upper limit value to the upper limit value setting unit 122. A setting command is sent (step S102). Further, when the cardholder requests setting of the update lower limit value based on his / her PIN # 2 input (step S101: No, step S103: Yes), the update lower limit value is set in the lower limit value setting unit 123. Command is sent (step S104). Even when the amount data # 1 to #n are individually set in the updatable range, the cardholder PIN verification is performed, and the target data setting command is sent to the target data setting unit 124 when normal. To do. If authentication cannot be obtained as a result of the PIN verification, an error process is performed (step S105), and the process ends.
[0025]
The data comparison processing unit 125 adds the current value of the amount data stored in the amount data storage area 153 and the amount data (new input value) newly input via the I / O 11 using the arithmetic processing unit 126. Then, it is compared whether the total value is within the updatable range set for the amount data. If it is within the updatable range, the total value is sent to the data update processing unit 127. The data update processing unit 127 updates the corresponding data area of the money amount data storage area 153 according to the comparison processing result of the data comparison processing unit 125.
[0026]
Next, a method of using the IC card having the above configuration will be specifically described with reference to FIGS. FIG. 5 shows a flow of processing procedures in the data comparison processing unit 125 and the data update processing unit 127, and FIG. 6 shows a sequence procedure between the IC card 1 and the R / W 2. Here, it is assumed that the updatable range has already been set and there is no problem with the authentication process.
[0027]
In FIG. 6, when the IC card 1 is inserted (R11), the R / W 2 transmits a data update request (command) to the IC card (R12). On the IC card side, upon receipt of this update request, the corresponding area in the EEPROM 15 is searched and necessary update processing is performed (K11 to K16).
[0028]
Specifically, as shown in FIG. 5, upon receipt of a data update request (step S201), a corresponding money amount storage area is searched (step S202). When the amount data exists (step S203: Yes), it is searched whether there is an updatable range set for the amount data (step S204). If there is an updatable range (step S205: Yes), it is determined whether or not it is an increase request (step S206). If it is an increase request, the current amount value and the increase value are added (step S206: Yes, S207k), it is checked that the added value is not more than the update upper limit value (step S208k). On the other hand, if it is confirmed in step S206 that it is a reduction request, the reduction value is subtracted from the current amount value (step S206: No, S207g), and this subtraction value is checked to be equal to or greater than the data changeable lower limit value. (Step S208g).
[0029]
When it is confirmed that the calculated data is within the updatable range at the time of checking in the above steps S206, S208k, and S208g, the corresponding amount data is updated (step S209), and the fact that the processing has been completed normally is confirmed. R / W2 is notified (step S210). On the other hand, if an error occurs in the execution condition check of the command, predetermined error processing is performed, and abnormal termination is notified to the R / W 2 (step S211). Returning to FIG. 6, the R / W 2 outputs the notification contents from the IC card 1 in a form that can be recognized by the user (R 13), and after the necessary end processing, the card is discharged (R 14).
[0030]
Thus, since the IC card 1 of this embodiment has set an updatable range that determines the range of the amount data that can be stored in the IC card 1 and performs the self-check when updating the amount data, The update process is simplified compared to the conventional method. Therefore, for example, when shopping at a store or the like, the checkout process and work at the cash register are simplified, and a situation in which a queue by other customers near the cash register can be avoided. Moreover, since it is not necessary to inform the R / W side of the current amount data as in the prior art, there is no possibility that a malicious third party will read out the amount data inside the card, thus protecting the privacy of the IC card owner. Connected.
[0031]
The upper limit of the updatable range is set in the IC card 1 secretly by the card issuer, and the lower limit is set by the authorized owner of the IC card 1, and these settings are illegal access Therefore, it is possible to safely carry out off-line transactions using an IC card by allowing only a special command to be executed after PIN verification. In addition, the cardholder can use his / her IC card to another person who can be trusted to purchase the product up to the lower limit of the current amount data.
[0032]
In the present embodiment, the example in the case of monetary data is shown as the target data. However, the same embodiment is possible in the case of a loan amount by a book card or a score amount by a game card.
[0033]
【The invention's effect】
As is clear from the above description, according to the IC card of the present invention, even if an attempt is made to improperly update the target data inside the card using an unauthorized R / W, the update is restricted, so that at the time of offline transaction There is a unique effect that the risk of cardholders and card issuers is reduced.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an IC card to which the present invention is applied.
FIG. 2 is an explanatory diagram of contents of an EEPROM of the IC card according to the present embodiment.
FIG. 3 is a configuration diagram of functional blocks realized by the IC card of the present embodiment.
FIG. 4 is an explanatory diagram of a processing procedure in a command execution management unit of the present embodiment.
FIG. 5 is an explanatory diagram of a processing procedure in the IC card of the present embodiment.
FIG. 6 is a sequence chart showing a processing procedure performed between the IC card and the R / W.
FIG. 7 is a sequence chart showing a processing procedure performed between the conventional IC card, the R / W, and the center system.
[Explanation of symbols]
1 IC card 2 Card reader / writer (R / W)
11 Input / output control unit (I / O)
12 Microprocessor (CPU)
121 Authentication Processing Unit 122 Command Execution Management Unit 123 Upper Limit Value Setting Unit 124 Lower Limit Value Setting Unit 125 Data Comparison Processing Unit 126 Operation Processing Unit 127 Data Update Processing Unit 13 ROM
14 RAM
15 EEPROM
151 PIN storage area 152 Setting data storage area 153 Amount data storage area

Claims (8)

リーダライタと通信可能であって、所定のプログラムによって動作するプロセッサとメモリとを備えたICで実行されるデータの更新方法であって、
前記メモリには、
更新によってその値が増減する対象データを格納するためのデータ格納領域と、前記データ格納領域に格納される対象データの更新可能範囲として少なくとも一方が固定値である更新上限値と更新下限値との組により設定された設定領域とが形成されており、
前記プロセッサは、
前記リーダライタより前記対象データの更新要求を受信すると、前記データ格納領域に格納されている対象データの現在値及び新規入力値に基づいて更新候補データを生成するとともに、該更新候補データが前記設定領域に設定された更新可能範囲内のときのみ前記データ格納領域の更新を許容することを特徴とするプロセッサとメモリとを備えたICで実行されるデータの更新方法。
A can communicate with a reader-writer, a method of updating data to be executed by the IC that includes a processor and a memory operating according to a predetermined program,
In the memory,
A data storage area for storing target data whose value increases or decreases by updating, and an update upper limit value and an update lower limit value at least one of which is a fixed value as an updatable range of the target data stored in the data storage area A set area set by a set is formed,
The processor is
When an update request for the target data is received from the reader / writer, update candidate data is generated based on the current value and new input value of the target data stored in the data storage area, and the update candidate data is A data update method executed by an IC comprising a processor and a memory, wherein the data storage area is allowed to be updated only when it is within an updatable range set for the area.
リーダライタと通信可能であって、所定のプログラムによって動作するプロセッサとメモリとを備えたICで実行されるデータの更新方法であって、
前記メモリには、
更新によってその値が増減する対象データを格納するためのデータ格納領域と、前記データ格納領域に格納される対象データの更新可能範囲として個別に設定及び更新が可能な更新上限値と更新下限値との組により設定された設定領域とが形成されており、
前記プロセッサは、
前記リーダライタより前記対象データの更新要求を受信すると、前記データ格納領域に格納されている対象データの現在値及び新規入力値に基づいて更新候補データを生成するとともに、該更新候補データが前記設定領域に設定された更新可能範囲内のときのみ前記データ格納領域の更新を許容することを特徴とするプロセッサとメモリとを備えたICで実行されるデータの更新方法。
An update method of data executed by an IC that is communicable with a reader / writer and that includes a processor and a memory that operate according to a predetermined program,
In the memory,
A data storage area for storing target data whose value increases or decreases by updating, an update upper limit value and an update lower limit value that can be individually set and updated as an updatable range of the target data stored in the data storage area, and And a setting area set by a set of
The processor is
When an update request for the target data is received from the reader / writer, update candidate data is generated based on the current value and new input value of the target data stored in the data storage area, and the update candidate data is A data update method executed by an IC comprising a processor and a memory, wherein the data storage area is allowed to be updated only when it is within an updatable range set for the area.
前記設定領域には前記更新可能範囲を複数種類設定するための領域が形成されていることを特徴とする請求項1又は2記載のプロセッサとメモリとを備えたICで実行されるデータの更新方法。3. A data updating method executed by an IC having a processor and a memory according to claim 1, wherein an area for setting a plurality of types of the updatable range is formed in the setting area. . 前記データ格納領域に複数種別の対象データの格納領域が形成されており、前記更新上限値及び更新下限値が、個々の対象データの格納領域について規定されるものであることを特徴とする請求項1〜3のいずれかに記載のプロセッサとメモリとを備えたICで実行されるデータの更新方法。The storage area for plural types of target data is formed in the data storage area, and the update upper limit value and the update lower limit value are defined for each storage area of the target data. A data update method executed by an IC including the processor and the memory according to any one of 1 to 3. 前記プロセッサは、前記リーダライタから受信した前記対象データの更新要求と前記更新可能範囲の設定ないし更新要求とを識別するとともに、識別結果に応じて異なる形態の認証を行うことを特徴とする請求項1〜4のいずれかに記載のプロセッサとメモリとを備えたICで実行されるデータの更新方法。The processor is configured to identify an update request for the target data received from the reader / writer and a setting or update request for the updatable range, and perform different forms of authentication according to the identification result. A data updating method executed by an IC including the processor and the memory according to any one of 1 to 4. 前記認証は、前記更新可能範囲の上限値及び下限値の設定ないし更新を異なる権限IDに基づいて許容することを特徴とする請求項1〜5記載のプロセッサとメモリとを備えたICで実行されるデータの更新方法。6. The authentication is executed by an IC having a processor and a memory according to claim 1, wherein the upper limit value and the lower limit value of the updatable range are allowed to be set or updated based on different authority IDs. how to update that data. リーダライタと通信可能で、所定のプログラムによって動作するプロセッサとメモリとを内蔵するICであって、
前記メモリには、
更新によってその値が増減する対象データを格納するためのデータ格納頗域と、前記データ格納領域に格納される対象データの更新可能範囲として少なくとも一方が固定値である更新上限値と更新下限値との組により設定された設定領域とが形成されており、
前記プロセッサは、
前記リーダライタより前記対象データの更新要求を受信すると、前記データ格納領域に格納されている対象データの現在値及び新規入力値に基づいて更新候補データを生成するとともに、該更新候補データが前記設定領域に設定された更新可能範囲内のときのみ前記データ格納領域の更新を許容することを特徴とするIC
An IC that includes a processor and a memory that can communicate with a reader / writer and operate according to a predetermined program,
In the memory,
A data storage area for storing target data whose value is increased or decreased by updating, an update upper limit value and an update lower limit value at least one of which is a fixed value as an updatable range of the target data stored in the data storage area; And a setting area set by a set of
The processor is
When an update request for the target data is received from the reader / writer, update candidate data is generated based on the current value and new input value of the target data stored in the data storage area, and the update candidate data is The IC, wherein the data storage area is allowed to be updated only when it is within an updatable range set in the area.
リーダライタと通信可能で、所定のプログラムによって動作するプロセッサとメモリとを内蔵するICであって、
前記メモリには、
更新によってその値が増減する対象データを格納するためのデータ格納領域と、前記データ格納領域に格納される対象データの更新可能範囲として個別に設定及び更新が可能な更新上限値と更新下限値との組により設定された設定領域とが形成されており、
前記プロセッサは、
前記リーダライタより前記対象データの更新要求を受信すると、前記データ格納領域に格納されている対象データの現在値及び新規入力値に基づいて更新候補データを生成するとともに、該更新候補データが前記設定領域に設定された更新可能範囲内のときのみ前記データ格納領域の更新を許容することを特徴とするIC
An IC that includes a processor and a memory that can communicate with a reader / writer and operate according to a predetermined program,
In the memory,
A data storage area for storing target data whose value increases or decreases by updating, an update upper limit value and an update lower limit value that can be individually set and updated as an updatable range of the target data stored in the data storage area, and And a setting area set by a set of
The processor is
When an update request for the target data is received from the reader / writer, update candidate data is generated based on the current value and new input value of the target data stored in the data storage area, and the update candidate data is The IC, wherein the data storage area is allowed to be updated only when it is within an updatable range set in the area.
JP2002145238A 2002-05-20 2002-05-20 Data update method and apparatus Expired - Lifetime JP3957167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002145238A JP3957167B2 (en) 2002-05-20 2002-05-20 Data update method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002145238A JP3957167B2 (en) 2002-05-20 2002-05-20 Data update method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP30537296A Division JP3321374B2 (en) 1996-11-15 1996-11-15 IC card

Publications (3)

Publication Number Publication Date
JP2003050982A JP2003050982A (en) 2003-02-21
JP2003050982A5 JP2003050982A5 (en) 2004-11-11
JP3957167B2 true JP3957167B2 (en) 2007-08-15

Family

ID=19194652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002145238A Expired - Lifetime JP3957167B2 (en) 2002-05-20 2002-05-20 Data update method and apparatus

Country Status (1)

Country Link
JP (1) JP3957167B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118874A (en) * 1986-11-06 1988-05-23 Toshiba Corp Automatic transaction device
JPH0212484A (en) * 1988-06-30 1990-01-17 Toshiba Corp Portable electronic equipment
JPH04158489A (en) * 1990-10-22 1992-06-01 Omron Corp Card with credit for plural card companies
JP2835236B2 (en) * 1992-03-18 1998-12-14 株式会社東芝 IC card processing system and IC card loading terminal device
JPH0684052A (en) * 1992-09-04 1994-03-25 Omron Corp Automatic cash transaction device
JP3055859B2 (en) * 1994-09-27 2000-06-26 沖電気工業株式会社 Media amount group management method for automatic transaction equipment
KR0146624B1 (en) * 1994-12-19 1998-09-15 김광호 Credit dealing card and credit dealing apparatus and method thereof
JP3321374B2 (en) * 1996-11-15 2002-09-03 株式会社エヌ・ティ・ティ・データ IC card

Also Published As

Publication number Publication date
JP2003050982A (en) 2003-02-21

Similar Documents

Publication Publication Date Title
US10147077B2 (en) Financial transaction method and system having an update mechanism
US20060016879A1 (en) Presentation instrument security arrangement and methods
WO1995024690A1 (en) Transaction processing system and transaction processing method
JPH0670818B2 (en) Verification card and its authentication method
US11900345B2 (en) Financial terminal that automatically reconfigures into different financial processing terminal types
US20010027435A1 (en) Electronic-money settlement method and information processing apparatus therefor
JPH09245104A (en) Electronic wallet device
WO2003032264A2 (en) Enhanced pin-based security system
JP2011503739A (en) Card authentication system and method
JP3321374B2 (en) IC card
JPH02165290A (en) Ic card and method for operating ic card
JP3957167B2 (en) Data update method and apparatus
KR20050008439A (en) Card with Cardholder`s Definition Information for Using It and Method for Operating It
JPS6391793A (en) Ic card and ic card transaction processing system
JP3321375B2 (en) IC card and IC card system
EP3163526A1 (en) Secure element
WO2002075676A1 (en) Automatic transaction device and transaction method using it
JP3294126B2 (en) IC card
JPH0619945A (en) Data transfer system portable terminal equipment
KR100836007B1 (en) Method for Processing Payment Approval
KR100804635B1 (en) Server for Operating Card with Cardholder`s Definition Information for Using It
JP2005228006A (en) Payment management method and payment management system
JP3231906B2 (en) Sales data processing equipment
CN115812213A (en) Hosted EMV kernel for faster processing
KR100836011B1 (en) System for Operating Card`s Definition Information for Using It

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20070206

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070501

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070502

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110518

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110518

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120518

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130518

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140518

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term