JPH0584554B2 - - Google Patents

Info

Publication number
JPH0584554B2
JPH0584554B2 JP13825084A JP13825084A JPH0584554B2 JP H0584554 B2 JPH0584554 B2 JP H0584554B2 JP 13825084 A JP13825084 A JP 13825084A JP 13825084 A JP13825084 A JP 13825084A JP H0584554 B2 JPH0584554 B2 JP H0584554B2
Authority
JP
Japan
Prior art keywords
key
verification
card
data
input
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
JP13825084A
Other languages
Japanese (ja)
Other versions
JPS6118083A (en
Inventor
Kenji Rikuna
Eiichi Takeuchi
Kimyasu Mifuji
Harumi Nakano
Kazuya Hara
Yoshiki Shigenaga
Morihito Tamya
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59138250A priority Critical patent/JPS6118083A/en
Priority to US06/746,200 priority patent/US4749982A/en
Priority to DE8585107392T priority patent/DE3585464D1/en
Priority to EP85107392A priority patent/EP0167044B1/en
Publication of JPS6118083A publication Critical patent/JPS6118083A/en
Publication of JPH0584554B2 publication Critical patent/JPH0584554B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Credit Cards Or The Like (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、自己照合機能を有する識別カード
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] This invention relates to an identification card having a self-verification function.

〔従来技術とその問題点〕[Prior art and its problems]

近時、カードの表面にエンボスを設けたり、あ
るいは磁気ストライブを設けたキヤツシユカード
クレジツトカード等に代わり、紛失、盗難によつ
て他人に勝手に使われたり、偽造を防ぐために、
カードの内部にICチツプを埋設した識別カード
所謂ICカードが使用されつつある。
Recently, in place of cash cards, etc., which have embossed or magnetic stripes on the surface of the card, in order to prevent unauthorized use or forgery due to loss or theft,
Identification cards with an IC chip embedded inside the card, so-called IC cards, are increasingly being used.

この様なICカードには、例えばカードの表面
あるいは端部に接続端子が設けられ、この端子を
介して、外部のカード照合用の端末装置とICカ
ード内のICチツプを電気的に接続し、ICチツプ
に予め記憶されている暗証番号と、カード使用者
が端末装置のキーボードから入力する暗証番号と
を端末装置内で比較し、カード使用者が本人であ
るか否かの照合を行なうようになつている。
Such an IC card is provided with a connection terminal, for example, on the surface or edge of the card, and through this terminal, an external card verification terminal device and the IC chip inside the IC card are electrically connected. The terminal device compares the PIN number pre-stored on the IC chip with the PIN number entered by the card user from the keyboard of the terminal device to verify whether the card user is the actual user. It's summery.

しかしながら、上記のICカードは、カード自
体にICチツプのみ埋設されているので構造が簡
単であるという利点はあるが、暗証番号の照合の
ために、必ず端末装置を用いなければならず、例
えばクレジツトカードを小売店でも使用可能とす
る場合には、各小売店に高価な端末装置を設置し
なければならず、端末装置を設置する側にとつて
は金銭的にも大きな負担となる問題があつた。
However, although the above-mentioned IC card has the advantage of having a simple structure because only the IC chip is embedded in the card itself, it is necessary to use a terminal device to verify the PIN number. If the card could be used at retail stores, it would be necessary to install expensive terminal equipment at each retail store, which would pose a huge financial burden for those installing the terminal equipment. Ta.

そこで、出願人は、カード表面にキーボードを
設け、使用者がキーボードから番号を入力するこ
とによりカード内部がキーボードから入力された
番号と予め記憶されている暗証番号とを比較する
ことによつて、カードの使用者が本人であるか否
かを照合するようにすることにより、即ちカード
自体に照合機能を持たせることにより、端末装置
を用いなくとも暗証番号の照合を可能とする識別
カードを提案し、「識別カード」という件名で特
許出願した。
Therefore, the applicant installed a keyboard on the front of the card, and when the user inputs a number from the keyboard, the inside of the card compares the number input from the keyboard with a pre-stored PIN. We propose an identification card that makes it possible to verify the PIN number without using a terminal device by verifying whether the user of the card is the person in question, that is, by providing the card itself with a verification function. He filed a patent application under the title "Identification Card."

しかしながら、係る識別カードは、通常服のポ
ケツトあるいはカバンの中に入れて携帯するもの
であるため、携帯中不本意にも暗証番号が入力さ
れ、自動的に照合されてしまうこととなる。この
場合、通常は、間違つた番号が入力されるため、
照合結果は不一致と判断され、このようなことが
数回行われるとカード自体が無効となつて、以後
使用不可能となる虞れがある。
However, since such an identification card is usually carried in a pocket of clothing or a bag, the personal identification number is inadvertently input while the card is being carried and is automatically verified. In this case, the wrong number is usually entered.
It is determined that the verification results do not match, and if this happens several times, there is a risk that the card itself will be invalidated and will no longer be usable.

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

この発明は上記事情に鑑みてなされたもので、
使用者が意識的に暗証番号を入力しなければカー
ドに於て照合が実行されないようにして誤入力を
防止するようにした識別カードを提供することを
目的とする。
This invention was made in view of the above circumstances,
To provide an identification card which prevents erroneous input by preventing verification on the card unless a user consciously inputs a personal identification number.

〔発明の要点〕[Key points of the invention]

即ち、この発明は、識別カードにキーボードを
設け、照合指示のための第1の照合キーを押しな
がらキーボードから照合データ(暗証番号)を入
力し、該第1の照合キーを離すことにより、ある
いは別の第2の照合キーの押圧により照合動作に
入るようにし、誤つて照合を行わないようにした
ものである。
That is, the present invention provides a keyboard for the identification card, and inputs verification data (PIN number) from the keyboard while pressing a first verification key for instructing verification, and then releases the first verification key. The verification operation is started by pressing another second verification key, thereby preventing erroneous verification.

〔発明の第1実施例〕 以下図面を参照してこの発明の実施例を説明す
る。
[First Embodiment of the Invention] An embodiment of the invention will be described below with reference to the drawings.

第1図は、この発明を適用した識別カードの外
観図であり、1は識別カード本体である。表側に
は、キーボード2、液晶表示装置3、コネクタ4
が設けられ、カード内部にはLSI(図示せず)が
埋設されている。また裏側には、突出して形成さ
れた識別コード等を表わすエンボス(図示せず)
が設けられている。
FIG. 1 is an external view of an identification card to which the present invention is applied, and 1 is the identification card body. On the front side, there is a keyboard 2, a liquid crystal display device 3, and a connector 4.
is provided, and an LSI (not shown) is embedded inside the card. Also, on the back side, there is an emboss (not shown) that shows an identification code etc.
is provided.

しかして、上記キーボード2には、数値データ
を入力するための置数キー、各種演算を指示する
ためのフアンクシヨンキーの他に、暗証番号入力
時に用いられるPINキー2aが設けられてい
る。
The keyboard 2 is provided with a PIN key 2a used for inputting a personal identification number, in addition to numeric keys for inputting numerical data and function keys for instructing various calculations.

また、コネクタ4は、外部端末装置と上記LSI
とを電気的に接続し、データの授受を可能とする
ためのものである。
In addition, the connector 4 connects the external terminal device and the above LSI.
This is to electrically connect the two to enable the exchange of data.

この識別カード1は、全体の厚さが略0.8mmで
ISO規格に合致するサイズとなつており、通常の
カード及び計算機の両機能を持つたものとなつて
いる。
This identification card 1 has a total thickness of approximately 0.8mm.
The size complies with ISO standards, and it has the functions of both a regular card and a calculator.

なお、この識別カード1の内部構造は、例えば
本出願人が出願した特願昭57−33272号に示され
ているので、ここではその説明を省略する。
The internal structure of this identification card 1 is shown in, for example, Japanese Patent Application No. 1983-33272 filed by the present applicant, so its explanation will be omitted here.

第2図は、この発明の回路ブロツク図であり、
10は、キーボード2を含むキー入力部で、キー
操作に基づきキー操作信号をCPU(中央演算処理
装置)11へ導入する。
FIG. 2 is a circuit block diagram of this invention.
Reference numeral 10 denotes a key input unit including a keyboard 2, which inputs key operation signals to a CPU (central processing unit) 11 based on key operations.

CPU11には、時計・カレンダ回路12、
ROM13、RAM14、EEP−ROM(Electronic
Erasable Programable ROM)15及び表示駆
動回路16が接続されている。
The CPU 11 includes a clock/calendar circuit 12,
ROM13, RAM14, EEP-ROM (Electronic
An erasable programmable ROM) 15 and a display drive circuit 16 are connected.

ROM13には、各種命令を実行するためのマ
イクロ命令が記憶されており、また、RAM14
には、演算用のレジスタをはじめ、一時記憶用の
レジスタが設けられ、ROM13の制御に基づい
て、CPU11及びRAM14の間で算術計算等の
種々の演算が実行される。
The ROM 13 stores micro instructions for executing various instructions, and the RAM 14
is provided with a register for calculations and a register for temporary storage, and various calculations such as arithmetic calculations are executed between the CPU 11 and the RAM 14 under the control of the ROM 13.

そして、上記演算による演算結果及びキー入力
部10から入力された置数データは、表示駆動回
路16により、液晶表示されるべきデータに変換
処理された後、液晶表示装置3にて表示される。
Then, the result of the above calculation and the numerical data input from the key input unit 10 are converted into data to be displayed on the liquid crystal by the display drive circuit 16, and then displayed on the liquid crystal display device 3.

一方、時計・カレンダ回路12は、水晶発振
子、分周回路等を含み、現在時刻を計時すると共
に、日替り信号により年、月、日等を算出し、液
晶表示装置3に、現在時刻、月、日等の表示を可
能としている。
On the other hand, the clock/calendar circuit 12 includes a crystal oscillator, a frequency dividing circuit, etc., and measures the current time, calculates the year, month, day, etc. based on the daily change signal, and displays the current time and the like on the liquid crystal display device 3. It is possible to display the month, day, etc.

EEP−ROM15は、所定の電圧を加えること
により、データの書き替えが可能なROMであ
り、データの書き込み後はバツクアツプの電源が
なくても通常のROMと同様にデータを保持する
ことができるものである。
The EEP-ROM 15 is a ROM in which data can be rewritten by applying a predetermined voltage, and after data has been written, it can retain data like a normal ROM even without a backup power supply. It is.

このため、このEEP−ROM15には、暗証番
号、会員番号等の照合用のデータ(以下暗証番号
と総称する)が予め書き込まれており、詳細は後
述するが、カード使用者がキー入力する番号と、
このEEP−ROM15に記憶されている暗証番号
とを比較することによりカード使用者が本人であ
るか否かの照合が成される。
For this reason, this EEP-ROM 15 is pre-written with verification data such as a PIN number and membership number (hereinafter collectively referred to as the PIN number), and as will be described in detail later, the card user enters the number using the keypad. and,
By comparing the personal identification number stored in the EEP-ROM 15, it is verified whether or not the card user is the person in question.

しかして、これらCPU11、時計・カレンダ
回路12、ROM13、RAM14、EEP−ROM
15、及び表示駆動回路16はLSI17として1
チツプで形成されている。
Therefore, these CPU 11, clock/calendar circuit 12, ROM 13, RAM 14, EEP-ROM
15, and display drive circuit 16 as LSI 17.
It is made of chips.

このLSI17は、ペーパー状の電池18によつ
て電力の供給が行なわれる。
This LSI 17 is supplied with power by a paper-like battery 18.

第3図は、この発明の理解を容易にするため
に、第2図のLSI17を機能的なブロツク図にし
て表わしたものである。なお、第2図と同一箇所
には同一符号を付している。
FIG. 3 shows the LSI 17 of FIG. 2 in a functional block diagram in order to facilitate understanding of the present invention. Note that the same parts as in FIG. 2 are given the same reference numerals.

キー判別部20は、キー入力部10に供給され
キー入力部10から入力されるキー操作信号を解
読してキー判別を行なう。このキー判別部20
は、キー入力部10から出力されたキー操作信号
を一時記憶するバツフア20a、PINキー2a
が押圧されているか否かを検出する検出回路20
bを含んでおり、PINキー2aが操作された場
合にはラインaから出力信号を出し、その他の置
数キー、フアンクシヨンキーが操作された場合に
はバスラインbから各々対応する出力信号を制御
部21へ与える。
The key discrimination section 20 decodes the key operation signal supplied to the key input section 10 and inputted from the key input section 10 to discriminate the key. This key discrimination section 20
are a buffer 20a that temporarily stores key operation signals output from the key input unit 10, and a PIN key 2a.
A detection circuit 20 that detects whether or not is pressed.
b, and when the PIN key 2a is operated, output signals are output from line a, and when other numeric keys and function keys are operated, corresponding output signals are output from bus line b. It is given to the control section 21.

制御部21には、RAMで構成されている記憶
部22、演算回路23、EEP−ROM15が接続
されている。
The control unit 21 is connected to a storage unit 22 composed of RAM, an arithmetic circuit 23, and an EEP-ROM 15.

上記EEP−ROM15は、データの書き込み時
に例えば供給電圧を21V程度に昇圧してデータ書
き込み可能とするための昇圧回路15a、及び予
め設定されている暗証番号を記憶するためのエリ
アN(15b)、この暗証番号とカード使用者がキ
ーボードから入力した番号とを比較した結果、不
一致となつた回数を記憶するエリアM(15c)
等から構成されている。
The EEP-ROM 15 includes a booster circuit 15a for boosting the supply voltage to about 21 V when writing data to enable data writing, and an area N (15b) for storing a preset password. Area M (15c) stores the number of times this PIN number and the number entered by the card user from the keyboard are inconsistent as a result of comparison.
It is composed of etc.

上記エリアN(15b)に記憶されている暗証
番号は、偽造等を防止するために暗号化された形
で記憶されており、照合の際は、復元化部24に
て、通常の2進化10進数に変換され、バツフア2
4aに一時記憶される。なお、暗号化された暗証
番号を復元化するためには、例えば通常のROM
で構成されたエンコーダにより復元化される。
The PIN number stored in the area N (15b) is stored in an encrypted form to prevent forgery, etc. When checking, the PIN number is stored in the decoder 24 as a normal binary 10 Converted to base number, Batsuhua 2
It is temporarily stored in 4a. In addition, in order to restore the encrypted PIN, for example, a normal ROM
It is restored by an encoder composed of .

しかして、上記EEP−ROM15に対するデー
タの書き込み、読み出し等の制御及びアドレス指
定は、バスラインc,dを介して制御部21によ
り行われる。
Control of writing and reading of data to and from the EEP-ROM 15 and address designation are performed by the control section 21 via bus lines c and d.

一方、記憶部22には、X、Y、Zからなる演
算用レジスタ、A〜Dからなる一時記憶用のレジ
スタ等が設けられている。記憶部22は、上記
EEP−ROM15とバスラインe及びfを介して
データの授受を行なうと共に、バスラインg,h
を介して制御部21からレジスタの指定、及び置
数データ、コードデータ(定数)の入力制御が行
われる。
On the other hand, the storage section 22 is provided with arithmetic registers consisting of X, Y, and Z, temporary storage registers consisting of A to D, and the like. The storage unit 22 is
Data is exchanged with the EEP-ROM 15 via bus lines e and f, and bus lines g and h
The control unit 21 performs register designation and input control of numeric data and code data (constants) through the control unit 21.

なお、記憶部22内のAレジスタには、キー入
力部10から入力される置数データ(暗証番号)、
Bレジスタには、EEP−ROM15のエリアM
(15c)に記憶されている不一致の回数、Cレ
ジスタのC0には、カードが無効となつた場合に
フラグが、C1にはキーボード2から入力される
暗証番号の桁数が夫々記憶される。記憶部22
は、表示処理部25に接続され、記憶部22に記
憶されている表示データが、表示処理部25にて
適宜表示処理された後、液晶表示装置3にて表示
される。
Note that the A register in the storage unit 22 stores numeric data (PIN code) input from the key input unit 10,
The B register contains area M of EEP-ROM15.
(15c) stores the number of discrepancies, C0 of the C register stores a flag when the card becomes invalid, and C1 stores the number of digits of the PIN entered from the keyboard 2. Ru. Storage section 22
is connected to the display processing section 25, and the display data stored in the storage section 22 is displayed on the liquid crystal display device 3 after the display processing section 25 performs appropriate display processing on the display data.

演算回路23は、記憶部22と接続され、X、
Y、Zレジスタを用いて各種演算を行なつたり、
Bレジスタに対して、不一致回数の更新のための
「+1」演算を行なう。これらの演算は、バスラ
インiを介して制御部21の制御のもとで行なわ
れる。
The arithmetic circuit 23 is connected to the storage section 22 and has X,
Perform various calculations using Y and Z registers,
A "+1" operation is performed on the B register to update the number of mismatches. These calculations are performed under the control of the control section 21 via the bus line i.

また、26,27は共に比較回路であり、比較
回路26は、バツフア24aの内容とレジスタA
の内容との比較即ち照合を行なうためのものであ
る。比較回路27は、Bレジスタの内容と制御部
21から与えられる定数「5」とを比較するため
のものであり、不一致回数が「5」になつたか否
かを判断する。また、比較回路27は、Cレジス
タのC1の内容と定数「3」とを比較し、キー入
力数が「3」になつたか否かをも判断する。そし
て、比較回路26,27の比較結果は、共に制御
部21へ与えられる。
Further, 26 and 27 are both comparison circuits, and the comparison circuit 26 compares the contents of the buffer 24a with the register A.
This is for comparison or verification with the contents of the . The comparison circuit 27 is for comparing the contents of the B register with a constant "5" given from the control section 21, and determines whether the number of mismatches has reached "5". The comparison circuit 27 also compares the contents of C1 of the C register with a constant "3" and determines whether the number of key inputs has reached "3". The comparison results of the comparison circuits 26 and 27 are both provided to the control section 21.

さらに、制御部21には、カウンタ28が接続
されている。このカウンタ28は、暗証番号の照
合の結果、一致した場合に表示される「OK」の
表示を10秒のみ表示させるようにするためのもの
で、ラインjを介して与えられる制御部21から
のスタート信号でカウント開始し、ラインkにキ
ヤリーが発生することにより、10秒経過したこと
が制御部21によつて判断される。
Further, a counter 28 is connected to the control section 21 . This counter 28 is for displaying the "OK" display for only 10 seconds when a match is found as a result of the verification of the PIN number, and the counter 28 is designed to display the "OK" display for only 10 seconds when the PIN numbers match. Counting starts with the start signal, and when a carry occurs on line k, the control unit 21 determines that 10 seconds have elapsed.

次に、第4図、第5図をもとに、この発明の実
施例の動作を説明する。
Next, the operation of the embodiment of the present invention will be explained based on FIGS. 4 and 5.

第4図は、カード使用者が、照合時にとる動作
を概略示したものである。例えば、ある店で買い
物をしてその代金を支払うかわりに、このカード
をクレジツトカードとして使用する際には、ま
ず、キーボード2内のACキー(オールクリアキ
ー)を操作して、一旦表示をクリアし(ステツプ
S1)、次に、PINキー2aを押した状態でキー
ボード2の置数キーにより所望の番号を入力する
(ステツプS2)。
FIG. 4 schematically shows the actions taken by the card user during verification. For example, if you want to use this card as a credit card instead of shopping at a store and paying for it, first operate the AC key (all clear key) on keyboard 2 to clear the display. (step)
S 1 ), then, while pressing the PIN key 2a, input a desired number using the number keys on the keyboard 2 (step S 2 ).

そして、番号の入力が終了した後、PINキー
2aを離すことにより(ステツプS3)、内部回路
では、予め記憶されている暗証番号とキー入力さ
れた番号との照合が行われ、一致している場合に
は、液晶表示装置3に「OK」の表示がなされ、
カードの使用者が本人であることが判明する(ス
テツプS4)。
After entering the number, when the PIN key 2a is released (step S3 ), the internal circuit checks the pre-stored PIN number and the key-in number, and if they match. If there is, "OK" is displayed on the liquid crystal display device 3, and
It turns out that the user of the card is himself (step S4 ).

従つて、この「OK」の表示がなされれば、店
員は、カード使用者が本人であるとして、通常の
クレジツトカードと同様にして、エンボスインプ
リンタにカード入れて伝票を作れば良い。
Therefore, if the "OK" message is displayed, the store clerk assumes that the card user is the card user and can create a slip by inserting the card into the embossing imprinter in the same way as a normal credit card.

また、キーボード2から入力した番号が不一致
の場合は、「OK」の表示は成されず、ACキーを
操作して(ステツプS1)、再度番号を入力する。
If the numbers entered from the keyboard 2 do not match, "OK" is not displayed, and the user operates the AC key (step S 1 ) to enter the number again.

そこで、例えば、連続5回不一致になると、カ
ードの使用者が本人ではないとしてカードそのも
のが無効となると共に、「EE……E」が表示され
て、以後のカードの使用が不可能になつたことを
明示する(ステツプS5)。
Therefore, for example, if a discrepancy occurs five times in a row, the card itself will be invalidated as the user is not the original user, and "EE...E" will be displayed, making it impossible to use the card from now on. (Step S5 )

このような態様により、この発明の識別カード
は、使用されるものであり、次に、第3図に示す
回路ブロツク図の動作を第5図を用いて説明す
る。
The identification card of the present invention is used in this manner. Next, the operation of the circuit block diagram shown in FIG. 3 will be explained with reference to FIG. 5.

カードを発行する際に、予め暗証番号をEEP
−ROM15のエリアN(15b)に記憶させて
おき、さらにエリアM(15c)をクリアしてお
く(ステツプT1)。
When issuing a card, enter the PIN number in advance using EEP
- Store it in area N (15b) of the ROM 15, and clear area M (15c) (step T 1 ).

そして、照合の際、カード使用者がPINキー
2aを押しながら、置数キーにより番号を入力し
て行く。この時、PINキー2aが押されている
間、キー判別部20からラインaを介して出力信
号が制御部21に与えられるので、制御部21で
は、PINキー2aが押されていると判断され
(ステツプT2)、以後の置数されたデータは、キ
ー判別部20aから制御部21により数値データ
として記憶部22のAレジスタへ順次入力される
と共に、液晶表示装置3にて表示される(ステツ
プT3)。
Then, during verification, the card user inputs the number using the number keys while pressing the PIN key 2a. At this time, while the PIN key 2a is being pressed, an output signal is given from the key discrimination unit 20 to the control unit 21 via line a, so the control unit 21 determines that the PIN key 2a is being pressed. (Step T 2 ), the subsequent input data is sequentially input from the key discrimination section 20a to the A register of the storage section 22 as numerical data by the control section 21, and is also displayed on the liquid crystal display device 3 ( Step T3 ).

しかして、ステツプT4では、キーボード2か
らデータが入力される毎に、演算回路23にてC
レジスタのC1は「+1」され、C1には入力され
たデータの桁数が記憶される。なお、C1の内容
は、ACキーの操作あるいは照合動作後にクリア
される。
Therefore, in step T4 , every time data is input from the keyboard 2, the arithmetic circuit 23
C1 of the register is incremented by "+1", and the number of digits of the input data is stored in C1 . Note that the contents of C1 are cleared after an AC key operation or verification operation.

次に、使用者が番号の入力を終了した後、
PINキー2aを離すと、キー判別部20からラ
インaに出力信号が出力されなくなり、これによ
りステツプT6へ進む。
Next, after the user has finished entering the number,
When the PIN key 2a is released, the key discriminator 20 no longer outputs an output signal to the line a, and the process advances to step T6 .

ステツプT6では、C1の内容即ち入力データの
桁数が「3」になつたか否かが判別される。これ
は、使用者が、暗証番号を入力中に誤まつて
PINキー2aを離してしまい、不本意に照合動
作に入らないようにするものであり、C1の内容
は比較回路27へ与えられ、制御部21から出力
される定数「3」と比較される。そして「C1
3」の場合は入力エラーとして再びステツプT2
へ進み、一旦表示をクリアした後、再び入力可能
となり、「C1>3」の場合は、ステツプT7へ進
み、照合が行われる。
In step T6 , it is determined whether the content of C1 , that is, the number of digits of the input data has reached "3". This happens when the user makes a mistake while entering the PIN number.
This is to prevent the user from inadvertently entering the verification operation by releasing the PIN key 2a, and the contents of C1 are given to the comparison circuit 27 and compared with the constant "3" output from the control section 21. . And “C 1
3", it is considered an input error and the process returns to step T 2.
After clearing the display once, input becomes possible again. If "C 1 >3", the process advances to step T 7 and verification is performed.

ステツプT7では、EEP−ROM15のエリアN
(15b)に記憶されている暗号化された暗証番
号が復元化部24へ読み出されて暗号の復元化が
行われた後、バツフア24aに一時記憶される。
そして、Aレジスタに記憶されている番号と、バ
ツフア24aに記憶されている暗証番号とが比較
回路26で一致比較される。
In step T7 , area N of EEP-ROM15 is
After the encrypted password stored in (15b) is read out to the decoding section 24 and decoded, it is temporarily stored in the buffer 24a.
Then, the comparison circuit 26 compares the number stored in the A register and the password stored in the buffer 24a.

今、両者が一致しているとすると、ステツプ
T8へ進み、EEP−ROM15のエリアM(15c)
がクリアされた後、ステツプT9へ進む。
Now, assuming that they match, the step
Proceed to T 8 , area M (15c) of EEP-ROM15
After is cleared, proceed to step T9 .

ステツプT9では、「OK」の表示をするために、
制御部21からバスラインhを介して、Xレジス
タに「OK」に対応する文字コードを書き込み、
さらにXレジスタ内の文字コードを表示処理部2
5に与えることにより、「OK」の表示が行われ
る。
In step T9 , to display "OK",
A character code corresponding to “OK” is written from the control unit 21 to the X register via the bus line h,
Furthermore, display processing unit 2 displays the character code in the X register.
5, "OK" is displayed.

この「OK」の表示が行われると、制御部21
は、カウンタ28にスタート信号を与え、キヤリ
ー信号が出るまでカウンタ28を駆動させ(ステ
ツプT10)、10秒経過してキヤリー信号が出ると、
制御部21は、上記Xレジスタに書き込まれてい
た文字コードをクリアすることにより、「OK」
の表示を消す(ステツプT11)。
When this “OK” is displayed, the control unit 21
gives a start signal to the counter 28, drives the counter 28 until a carry signal is output (step T10 ), and when a carry signal is output after 10 seconds,
The control unit 21 clears the character code written in the X register, thereby indicating "OK".
disappear (step T 11 ).

このため、10秒で「OK」の表示が消えること
により、「OK」の表示が出たまま次の店で使用
することは事実上不可能となつて、1回の照合で
1回しか使用できず、悪用を防ぐことができる。
For this reason, the "OK" display disappears after 10 seconds, making it virtually impossible to use it at the next store with the "OK" display still displayed, and it can only be used once per verification. This can prevent abuse.

一方、上記ステツプT7で不一致の場合は、ス
テツプT12へ進み、EEP−ROM15内のエリア
M(15c)の内容が、バスラインeを介してB
レジスタに書き込まれる。
On the other hand, if there is a mismatch in step T7 , the process proceeds to step T12 , where the contents of area M (15c) in the EEP-ROM 15 are transferred to B via bus line e.
written to the register.

そして、ステツプT13では、上記エリアM(1
5c)の内容が一旦クリアされ、次のステツプ
T14では、Bレジスタの内容は演算回路23にて
「+1」される。その後、ステツプT15では更新
されたBレジスタの内容はエリアM(15c)に
書き込まれる。
Then, in step T13 , the area M (1
Once the contents of 5c) are cleared, proceed to the next step.
At T14 , the contents of the B register are incremented by "+1" by the arithmetic circuit 23. Thereafter, at step T15 , the updated contents of the B register are written to area M (15c).

次に、ステツプT16では、ステツプT7で不一致
であつたことを明示するために「ERROR」の表
示が成される。即ち、制御部21からバスライン
hを介して、Xレジスタに「ERROR」に対応す
る文字コードを書き込み、これを表示処理部25
に供給することにより「ERROR」の表示が成さ
れる。
Next, at step T16 , "ERROR" is displayed to clearly indicate that there was a mismatch at step T7 . That is, a character code corresponding to "ERROR" is written from the control unit 21 to the X register via the bus line h, and this is sent to the display processing unit 25.
"ERROR" is displayed by supplying the signal to

さらに、ステツプT17では、ステツプT14で更
新されたBレジスタの内容は比較回路27へ送
り、この内容が「5」に達したか否か比較する。
Bレジスタの内容、即ち、不一致の回数が「5」
に達していなければ、ACキーにより表示を一旦
クリアした後、再び置数可能となる(ステツプ
T2)。
Furthermore, in step T17 , the contents of the B register updated in step T14 are sent to the comparison circuit 27, and a comparison is made to see if the contents have reached "5".
The contents of the B register, that is, the number of mismatches is "5"
If the value has not been reached, the display will be cleared once using the AC key, and then the number can be set again (step
T2 ).

しかしながら、ステツプT17で、Bレジスタの
内容が「5」であれば、不一致の回数が「5」で
あるため、ステツプT18へ進み、カード無効の処
理が行われる。
However, if the content of the B register is "5" at step T17 , the number of mismatches is "5", so the process proceeds to step T18 , where the card is invalidated.

即ち、制御部21により、CレジスタのC0
にフラグ(“1”)が書き込まれると共に、Xレジ
スタには、「EE……E」表示のための文字コード
が書き込まれ、カードが無効となつたことを
「EE……E」の表示により明示し、以後のカード
の使用を不可能とする。
That is, the control unit 21 writes a flag ("1") to the C0 digit of the C register, and writes a character code for displaying "EE...E" to the X register, indicating that the card is invalid. This will be clearly indicated by displaying "EE...E" and the card will no longer be usable.

なお、ステツプT2でPINキー2aが押されず、
他のキーが押された場合は、ステツプT19へ進
み、通常の計算機としての演算を行なう。
Note that if the PIN key 2a is not pressed in step T2 ,
If any other key is pressed, the process advances to step T19 and performs calculations as a normal calculator.

〔発明の第2実施例〕 上記第1実施例では、PINキー2aを離すこ
とにより、自動的に照合動作に入つたが、第6図
に示すように、更にCFキー2bを設け、PIN
キー2aを押したまま置数し、置数が終了した
後、CFキー2bを押すことにより照合動作に入
るようにすることもできる。
[Second Embodiment of the Invention] In the first embodiment described above, the verification operation is automatically started by releasing the PIN key 2a, but as shown in FIG.
It is also possible to input a number while holding down the key 2a, and then press the CF key 2b after completing the input to enter the collation operation.

この実施例では、第3図のキー判別部20の構
成を第7図のキー判別部20′のようにすれば簡
単に実現できる。即ち、キー判別部20′は更に
CFキー2bの押圧を検出する検出回路20Cを
具備し、ライン1を介して出力信号を制御部21
に与える。
This embodiment can be easily realized by changing the configuration of the key discriminating section 20 shown in FIG. 3 to the key discriminating section 20' shown in FIG. 7. That is, the key discriminator 20' further
It is equipped with a detection circuit 20C that detects the press of the CF key 2b, and sends an output signal to the control unit 21 via line 1.
give to

第7図は、キー入力部10、キー判別部20′、
制御部21のみ示しており、他の回路は第3図と
同一なので省略している。
FIG. 7 shows a key input section 10, a key discrimination section 20',
Only the control section 21 is shown, and other circuits are omitted because they are the same as in FIG. 3.

第8図は、第2実施例に於けるカード使用者の
動作を示したものであり、第4図のフローチヤー
トにステツプU1、ステツプU2が新しく加えられ
ている。
FIG. 8 shows the actions of the card user in the second embodiment, and step U 1 and step U 2 are newly added to the flowchart of FIG. 4.

即ち、ACキーにより表示を一旦クリアした後
(ステツプS1)、PINキー2aを押しながら暗証
番号を入力し(ステツプS2)、置数が終了すると
PINキー2aを離す(ステツプS3)。そこで、
使用者は表示を確認し(ステツプU1)、間違つて
おれば再度ACキーによりクリアして入力すれば
良く、正しく入力されておればCFキー2bを押
して、照合動作に入るべく指示を行なう(ステツ
プU2)。
That is, after clearing the display once with the AC key (step S 1 ), enter the PIN while holding down the PIN key 2a (step S 2 ), and when the number has been entered,
Release PIN key 2a (step S3 ). Therefore,
The user checks the display (step U 1 ), and if it is incorrect, clear it again using the AC key and enter it again; if it is entered correctly, press the CF key 2b to instruct the user to start the verification operation. (Step U 2 ).

そして、照合の結果、暗証番号と入力された番
号とが一致しておれば「OK」の表示が成され
(ステツプS4)、不一致であれば、カードが無効か
否かの判断が行われる(ステツプS5)。
As a result of the verification, if the PIN number and the entered number match, "OK" is displayed (step S 4 ), and if they do not match, it is determined whether the card is invalid or not. (Step S 5 ).

次に、第9図のフローチヤートをもとに、第2
実施例の動作を説明する。このフローチヤート
は、第5図のフローチヤートのステツプT4、ス
テツプT6の代りにステツプV1が加えられたもの
であり、第5図のフローチヤートと重複するステ
ツプは省略してある。
Next, based on the flowchart in Figure 9, the second
The operation of the embodiment will be explained. In this flowchart, step V1 is added in place of step T4 and step T6 in the flowchart of FIG. 5, and steps that overlap with the flowchart of FIG. 5 are omitted.

ステツプT1〜ステツプT3の動作は上述した通
りで、ここでは説明を省略する。第9図ではステ
ツプT3からステツプT5へ進み、PINキー2a
が押されているか否かが判断される。
The operations from step T1 to step T3 are as described above, and their explanation will be omitted here. In Fig. 9, proceed from step T 3 to step T 5 , and press PIN key 2a.
It is determined whether or not is pressed.

そこで、PINキー2aが離されるとステツプ
V1へ進み、CFキー2bが押されたか否かが判
断される。ステツプV1では、キー判別部20′の
検出回路20Cにより、CFキー2bが押された
か否かが検出され、検出信号はライン1を介して
制御部21に与えられる。CFキー2bが押され
ていない場合はステツプT2へ進み、CFキー2
bが押された場合はステツプT7へ進み、照合の
動作に入る。
Therefore, when the PIN key 2a is released, the step
Proceeding to V1 , it is determined whether or not the CF key 2b has been pressed. In step V1 , the detection circuit 20C of the key discrimination section 20' detects whether or not the CF key 2b has been pressed, and a detection signal is given to the control section 21 via line 1. If CF key 2b is not pressed, proceed to step T2 and press CF key 2b.
If b is pressed, the process advances to step T7 and the verification operation begins.

このように、第2実施例では、キーボード2か
ら暗証番号を入力した後、CFキー2bを押すま
で照合動作に入らないため、入力したデータを十
分に確認でき、もし誤入力の場合は表示をクリア
して、再度入力すればよく、カード使用者本人の
使用の際、誤入力によつてカードが無効になつて
しまうのを未然に防止できる。
In this way, in the second embodiment, the verification operation does not begin until the CF key 2b is pressed after the password is input from the keyboard 2, so the input data can be fully confirmed, and if an incorrect input is made, the display is displayed. All you have to do is clear it and re-enter it, which prevents the card from being invalidated due to incorrect input when the card user uses it.

なお、上記実施例では、照合データとして数値
を用いたが、これに限らず、アルフアベツト、記
号等を用いても良い。
In the above embodiment, numerical values are used as the verification data, but the present invention is not limited to this, and alphanumeric characters, symbols, etc. may also be used.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に述べたように、この発明によれ
ば、PINキー(第1の照合キー)を押しなが
ら、キーボードから照合データ(暗証番号)を入
力するようにしているため、携帯中に誤まつて番
号が入力され自動的に照合されることを未然に防
止でき、また、入力される番号の桁数が所定値に
達したか否かを判断し、入力データの桁数が所定
値を超えた際に照合動作に入るようにしているた
め、番号入力の途中にPINキーを離してしまつ
ても誤まつて照合動作に入るのを防止でき、カー
ド使用者本人によるカード使用中に、暗証番号の
入力ミスによりカードが無効となつてしまうのを
防止できる。
As described in detail above, according to the present invention, verification data (PIN) is entered from the keyboard while holding down the PIN key (first verification key), so there is no chance of accidentally entering data while carrying the device. It is possible to prevent numbers from being entered and automatically verified, and also to determine whether the number of digits in the input data has reached a predetermined value, and to check whether the number of digits in the input data exceeds a predetermined value. This prevents the card user from accidentally entering the verification process even if he or she releases the PIN key while entering the number. This will prevent your card from becoming invalid due to input errors.

さらに、PINキー(第1の照合キー)の他に
CFキー(第2の照合キー)を設け、PINキー
を押ながら暗証番号を入力し、その後CFキーを
押すことにより、照合動作に入るので、暗証番号
入力後、使用者は十分にその入力番号を確認でき
るので、暗証番号の入力ミスを避けることができ
る。
Furthermore, in addition to the PIN key (first verification key),
A CF key (second verification key) is provided, and by pressing the PIN key and entering the PIN number, and then pressing the CF key, the verification operation begins. You can avoid making mistakes when entering your PIN.

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

第1図は、この発明の第1実施例に係わる識別
カード本体の外観斜視図、第2図は同例の回路ブ
ロツク図、第3図は、第2図を機能的に表わした
ブロツク図、第4図は同例に於けるカード使用者
の動作を説明するためのフローチヤート、第5図
は同例の動作を説明するためのフローチヤート、
第6図は第2実施例に係わる識別カード本体の外
観斜視図、第7図は同例に於けるキー判別部及び
その周辺のブロツク図、第8図は同例に於けるカ
ード使用者の動作を説明するためのフローチヤー
ト、第9図は同例の動作を説明するためのフロー
チヤートである。 1……識別カード本体、2……キーボード、2
a……PINキー、2b……CFキー、3……液
晶表示装置、10……キー入力部、11……
CPU、13……ROM、14……RAM、15…
…EEP−ROM、17……LSI、20,20′……
キー判別部、20a……バツフア、20b,20
c……検出回路、22……記憶部、23……演算
回路、26,27……比較回路、27……カウン
タ。
1 is an external perspective view of an identification card body according to a first embodiment of the present invention, FIG. 2 is a circuit block diagram of the same example, and FIG. 3 is a block diagram functionally representing FIG. 2. FIG. 4 is a flowchart for explaining the operation of the card user in the same example, FIG. 5 is a flowchart for explaining the operation of the same example,
Fig. 6 is an external perspective view of the identification card body according to the second embodiment, Fig. 7 is a block diagram of the key discrimination section and its surroundings in the same embodiment, and Fig. 8 is a diagram of the card user in the same embodiment. Flowchart for explaining the operation. FIG. 9 is a flowchart for explaining the operation of the same example. 1...Identification card body, 2...Keyboard, 2
a...PIN key, 2b...CF key, 3...Liquid crystal display device, 10...key input section, 11...
CPU, 13...ROM, 14...RAM, 15...
...EEP-ROM, 17...LSI, 20,20'...
Key discriminator, 20a...batshua, 20b, 20
c...Detection circuit, 22...Storage unit, 23...Arithmetic circuit, 26, 27...Comparison circuit, 27...Counter.

Claims (1)

【特許請求の範囲】 1 少なくとも集積回路が内蔵された識別カード
に於て、照合に付されるべきデータを入力するた
めの複数のキー及び照合指示を行なうための第1
の照合キーを有するキー入力手段と、該キー入力
手段から入力されたデータを一時記憶する第1の
記憶手段と、予め定められた照合データを記憶す
る第2の記憶手段と、上記第1、第2の記憶手段
の内容を比較して照合する比較手段と、上記第1
の照合キーが押されているか否かを検出する検出
手段と、該検出手段で上記第1の照合キーが押さ
れていると検出されている際には、上記キー入力
手段から入力されたデータを第1の記憶手段に書
き込み、上記第1の照合キーが離されたことが検
出されることにより、上記第1、第2の記憶手段
の内容を上記比較手段にて比較せしめるよう制御
する制御手段とを具備したことを特徴とする照合
カード。 2 少なくとも集積回路が内蔵された識別カード
に於て、照合に付されるべきデータを入力するた
めの複数のキー、及び照合指示に係わる第1、第
2の照合キーを有するキー入力手段と、該キー入
力手段から入力されたデータを一時記憶する第1
の記憶手段と、予め定められた照合データを記憶
する第2の記憶手段と、上記第1、第2の記憶手
段の内容を比較して照合する比較手段と、上記第
1、第2の照合キーが各々押されているか否かを
検出する検出手段と、該検出手段で上記第1の照
合キーのみが押されていると検出されている際に
は、上記キー入力手段から入力されたデータを第
1の記憶手段に書き込み、第1の照合キーが離さ
れ且つ第2の照合キーが押されたことが検出され
ることにより、上記第1、第2の記憶手段の内容
を上記比較手段にて比較せしめるよう制御する制
御手段とを具備したことを特徴とする照合カー
ド。
[Scope of Claims] 1. In an identification card in which at least an integrated circuit is built-in, a plurality of keys for inputting data to be verified and a first key for issuing a verification instruction.
a key input means having a verification key; a first storage means for temporarily storing data input from the key input means; a second storage means for storing predetermined verification data; a comparison means for comparing and collating the contents of the second storage means;
a detection means for detecting whether or not the first verification key is pressed; and when the detection means detects that the first verification key is pressed, data input from the key input means; is written in the first storage means, and when it is detected that the first collation key is released, the contents of the first and second storage means are compared by the comparison means. A verification card characterized by comprising means. 2. Key input means having at least a plurality of keys for inputting data to be verified, and first and second verification keys related to verification instructions, in an identification card having a built-in integrated circuit; a first one for temporarily storing data input from the key input means;
a second storage means for storing predetermined verification data; a comparison means for comparing and verifying the contents of the first and second storage means; and the first and second verification data. a detection means for detecting whether or not each key is pressed; and when the detection means detects that only the first collation key is pressed, data input from the key input means; is written in the first storage means, and when it is detected that the first collation key is released and the second collation key is pressed, the contents of the first and second storage means are written to the comparison means. A verification card characterized by comprising a control means for controlling the comparison to be performed.
JP59138250A 1984-06-19 1984-07-04 Collation data input system of identification card Granted JPS6118083A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP59138250A JPS6118083A (en) 1984-07-04 1984-07-04 Collation data input system of identification card
US06/746,200 US4749982A (en) 1984-06-19 1985-06-18 Intelligent card
DE8585107392T DE3585464D1 (en) 1984-06-19 1985-06-18 SMART CARD.
EP85107392A EP0167044B1 (en) 1984-06-19 1985-06-18 Intelligent card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59138250A JPS6118083A (en) 1984-07-04 1984-07-04 Collation data input system of identification card

Publications (2)

Publication Number Publication Date
JPS6118083A JPS6118083A (en) 1986-01-25
JPH0584554B2 true JPH0584554B2 (en) 1993-12-02

Family

ID=15217566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59138250A Granted JPS6118083A (en) 1984-06-19 1984-07-04 Collation data input system of identification card

Country Status (1)

Country Link
JP (1) JPS6118083A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2740287B2 (en) * 1989-08-25 1998-04-15 沖電気工業株式会社 IC card
CN101300820A (en) 2006-09-27 2008-11-05 松下电器产业株式会社 Portable terminal system, portable terminal device and function locking method

Also Published As

Publication number Publication date
JPS6118083A (en) 1986-01-25

Similar Documents

Publication Publication Date Title
US6615194B1 (en) System for secure execution of credit based point of sale purchases
US4801787A (en) IC card identification system having first and second data identification functions
JPH05242127A (en) Electronic check calculating device and method for using the device
JPS615389A (en) Identification card
JPH0584554B2 (en)
JPS6391793A (en) Ic card and ic card transaction processing system
JP2500552B2 (en) Collator
JPS62137692A (en) Individual identification card
JPS61228567A (en) Electronic personal identification card and its display system
JPH08287169A (en) Electronic purse balance display system
JP3664659B2 (en) Electronic payment method and system, and electronic payment terminal
JPS6353687A (en) Operation control system for portable medium
JPH0833911B2 (en) IC card
JPS6270970A (en) Input system for personal identification number of intelligent card
JPS63237169A (en) Automated teller machine
JP2740287B2 (en) IC card
JPH0212484A (en) Portable electronic equipment
JPS61170878A (en) Recording method of ic card
JPS6354690A (en) Intelligent card
JPS60220489A (en) Machine locking system for transaction processor
JPH01114987A (en) Sign collating system
JPH01248292A (en) Ic card
JPS61249184A (en) Ic card certifying system
JPS61139880A (en) Storage system for wrong input of password number
JPS621592A (en) Medium for operation