JPH11312223A - Ic card and ic card reader/writer - Google Patents

Ic card and ic card reader/writer

Info

Publication number
JPH11312223A
JPH11312223A JP10119702A JP11970298A JPH11312223A JP H11312223 A JPH11312223 A JP H11312223A JP 10119702 A JP10119702 A JP 10119702A JP 11970298 A JP11970298 A JP 11970298A JP H11312223 A JPH11312223 A JP H11312223A
Authority
JP
Japan
Prior art keywords
card
flag
writing
data
writer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10119702A
Other languages
Japanese (ja)
Other versions
JP3331962B2 (en
Inventor
Yoshinaga Masuda
悦良 増田
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.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric 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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP11970298A priority Critical patent/JP3331962B2/en
Publication of JPH11312223A publication Critical patent/JPH11312223A/en
Application granted granted Critical
Publication of JP3331962B2 publication Critical patent/JP3331962B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an IC card provided with the writing area of a flag capable of determining the validity of data at the time of utilizing internal data of the IC card and an IC card reader, capable of reading and writing internal data of the IC card. SOLUTION: When an IC card 1 is inserted into an IC card reader/writer part 2, a flag provided inside of the IC card 1 is read, first. The state of the IC card 1 is discriminated by the value of the flag. After finishing the writing of data into the IC card 1, a flag for normal finish is written into the IC card 1. The effect of reading the eject flag of the IC card makes it possible to determine whether the IC card is forcedly ejected in the middle of writing data determine the possibility that internal data of the IC card may partially be defective or abnormal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ICカード及びI
Cカードリーダライタ装置に関し、特にICカードの内
部データを利用する際にデータの有効性の判断を可能と
したICカードと、そのICカードの内部データを読み
書き可能としたICカードリーダライタ装置に関する。
[0001] The present invention relates to an IC card and an IC card.
The present invention relates to a C card reader / writer, and more particularly, to an IC card that can determine the validity of data when using internal data of the IC card, and an IC card reader / writer that can read and write the internal data of the IC card.

【0002】[0002]

【従来の技術】8bitのCPUとデータ用メモリ(EE
PROM)を内蔵し、6〜8個の外部接続端子を備えた
プラスチックカードであるICカードが金融、保健医療
福祉、行政、流通、運輸、ID利用、通信などの各分野
で運用され始めている。
2. Description of the Related Art An 8-bit CPU and a data memory (EE)
An IC card, which is a plastic card having a built-in PROM and having six to eight external connection terminals, has begun to be used in various fields such as finance, health care and welfare, administration, distribution, transportation, ID use, and communication.

【0003】従来のICカード11は、図5に示すよう
に、CPU13がICカードリーダライタ部12を制御
して、ICカード11の内部データのリード/ライト
(読み出し/書き込み)を行っていた。
In a conventional IC card 11, as shown in FIG. 5, a CPU 13 controls an IC card reader / writer section 12 to read / write (read / write) internal data of the IC card 11.

【0004】ICカード11は任意な時にICカード読
み書き装置Bからイマージェンシィイジェクトを利用し
て、強制イジェクトが可能である。
The IC card 11 can be forcibly ejected from the IC card read / write device B at any time by using an emergency eject.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
ICカード及びICカードリーダライタ装置は、ICカ
ードにデータを書き込んでいる時、強制的にイジェクト
が可能であるため、強制イジェクトされたICカードか
ら、読み込んだデータが正当なものであるかどうかの判
断が不可能であるという課題があった。
However, the conventional IC card and IC card reader / writer device can forcibly eject data while writing data in the IC card. However, there is a problem that it is impossible to determine whether the read data is valid.

【0006】それ故、本発明は、上記課題を解決するた
めに、ICカードの内部データを利用する際にデータの
有効性が判断できるフラグの書き込み領域を設けたIC
カードと、そのICカードの内部データの読み出し又は
書き込みができるICカードリーダライタ装置を提供す
ることを目的とする。
[0006] Therefore, in order to solve the above-mentioned problems, the present invention provides an IC having a flag write area for judging the validity of data when using internal data of an IC card.
It is an object of the present invention to provide a card and an IC card reader / writer device capable of reading or writing internal data of the IC card.

【0007】[0007]

【課題を解決するための手段】従って、本発明のICカ
ードは、上述の目的を達成するために、内部メモリに強
制イジェクトされたかどうかを判別するためのイジェク
トフラグを書き込む領域を具備したことを特徴とする。
Therefore, in order to achieve the above object, the IC card according to the present invention has an area for writing an ejection flag for discriminating whether or not a forced ejection has been performed in an internal memory. Features.

【0008】また、ICカードリーダライタ装置は、内
部メモリに強制イジェクトされたかどうかを判別するた
めのイジェクトフラグを書き込む領域を備えたICカー
ドと、このICカードの内部データの読み出し又は書き
込みを行うICカードリーダライタ部と、前記ICカー
ドの内部データの読み出し又は書き込みを制御すると共
に、ICカードの内部に書き込まれたイジェクトフラグ
の値を検出し、その値に従って異常終了かどうかを判別
する制御手段と、この制御手段が異常終了を検出した
時、警告文を表示するディスプレイとを具備したことを
特徴とする。
An IC card reader / writer device includes an IC card provided with an area for writing an ejection flag for determining whether or not a forced ejection has been performed in an internal memory, and an IC card for reading or writing internal data of the IC card. A card reader / writer unit, and control means for controlling reading or writing of internal data of the IC card, detecting a value of an eject flag written in the IC card, and determining whether or not an abnormal end is performed according to the value. A display for displaying a warning message when the control means detects an abnormal end.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施の形態による
ICカードを図面を参照して説明する。
Next, an IC card according to an embodiment of the present invention will be described with reference to the drawings.

【0010】図1は、本発明にかかるICカードとIC
カードリーダライタ装置の一実施の形態を示す概略構成
図、図2は、本発明にかかるICカードの内部の論理構
成を示す図、図3は、本発明にかかるICカードをIC
カードリーダライタ装置に挿入した時の動作フローチャ
ート、図4は、本発明にかかるICカードにデータをラ
イトした時の動作フローチャートである。
FIG. 1 shows an IC card and an IC according to the present invention.
FIG. 2 is a schematic configuration diagram showing an embodiment of a card reader / writer device, FIG. 2 is a diagram showing an internal logical configuration of an IC card according to the present invention, and FIG.
FIG. 4 is an operation flowchart when data is written to the IC card according to the present invention when inserted into the card reader / writer device.

【0011】本発明の実施の形態によるICカードは、
図2に示すように、強制イジェクトされたかどうかを判
別するためのイジェクトフラグを書き込む領域を有する
もので、ICカード1内部にイジェクトフラグ用専用フ
ァイル(DF)9、イジェクトフラグ用基礎ファイル
(WEF)10、イジェクトフラグ用IEF11が設け
られている。ここで判別に用いるフラグであるイジェク
トフラグはWEF10に設定する。すなわち、ICカー
ド1内に専用ファイル(DF)9を設け、その内部に基
礎ファイル(WEF)10をイジェクトフラグとして設
け、これに基づき、強制イジェクトされたICカードか
どうかの判断を可能としている。
An IC card according to an embodiment of the present invention
As shown in FIG. 2, the IC card 1 has an area for writing an ejection flag for determining whether or not the ejection has been forcibly performed. 10, an ejection flag IEF 11 is provided. Here, an ejection flag, which is a flag used for determination, is set to WEF10. That is, a dedicated file (DF) 9 is provided in the IC card 1, and a basic file (WEF) 10 is provided therein as an ejection flag. Based on this, it is possible to determine whether or not the IC card has been forcibly ejected.

【0012】尚、初期発行(未使用)のICカード1の
イジェクトフラグは「00」が設定されている。
The eject flag of the initially issued (unused) IC card 1 is set to "00".

【0013】このICカード1を使用して、その内部デ
ータの読み出し又は書き込みが可能なICカードリーダ
ライタ装置Aの一実施の形態について説明する。
An embodiment of an IC card reader / writer A capable of reading or writing internal data using the IC card 1 will be described.

【0014】ICカードリーダライタ装置Aは、図1に
示すように、上記ICカード1と、ICカード1の内部
データの読み出し又は書き込みを行うICカードリーダ
ライタ部2と、ICカード1の内部データの読み出し又
は書き込みを制御すると共に、ICカード1の内部に書
き込まれたフラグの値を検出し、その値に従って異常終
了かどうか、例えば強制イジェクトされたかどうかを判
別する制御手段であるCPU3と、ICカード1の内部
データを表示すると共に、CPU3が異常終了を検出し
た時、警告文を表示するディスプレイ4とから構成され
ている。
As shown in FIG. 1, an IC card reader / writer A includes an IC card 1, an IC card reader / writer 2 for reading or writing internal data of the IC card 1, and an internal data of the IC card 1. CPU3, which is control means for controlling the reading or writing of the IC card, detecting the value of the flag written in the IC card 1, and determining whether or not abnormal termination, for example, whether or not the ejection has been forcibly performed, according to the value; The display 4 displays internal data of the card 1 and displays a warning message when the CPU 3 detects abnormal termination.

【0015】このような構成における本発明のICカー
ドリーダライタ装置の動作について説明する。まず、図
3に示すように、ICカード1がICカードリーダライ
タ部2に挿入されると(ステップ100)、CPU3が
ICカード1内部に設けられたイジェクトフラグを読み
込む(ステップ101)。そのフラグの値を判別し(ス
テップ102)、値が「02」でない場合はディスプレ
イ4に警告文を表示する(ステップ103)。値が「0
2」の場合はイジェクトフラグに「01」を書き込む
(ステップ104)。
The operation of the IC card reader / writer of the present invention having such a configuration will be described. First, as shown in FIG. 3, when the IC card 1 is inserted into the IC card reader / writer unit 2 (step 100), the CPU 3 reads an eject flag provided inside the IC card 1 (step 101). The value of the flag is determined (step 102), and if the value is not "02", a warning message is displayed on the display 4 (step 103). If the value is "0
In the case of "2", "01" is written in the eject flag (step 104).

【0016】次に、図4に示すように、ICカードにデ
ータを書き込み(ステップ110)、データの書き込み
が終了したら(ステップ111)、イジェクトフラグに
「02」を書き込む(ステップ112)。
Next, as shown in FIG. 4, data is written to the IC card (step 110). When the data writing is completed (step 111), "02" is written to the eject flag (step 112).

【0017】[0017]

【発明の効果】以上説明した通り、本発明のICカード
によれば、ICカードのイジェクトフラグを読み込むこ
とにより、そのICカードがデータを書き込み途中で強
制イジェクトされたか否かを判断でき、さらにそのIC
カードの内部データに一部欠落または異常がある可能性
があるという判断ができるという効果を奏する。
As described above, according to the IC card of the present invention, by reading the ejection flag of the IC card, it can be determined whether or not the IC card has been forcibly ejected while data is being written. IC
This has the effect that it can be determined that there is a possibility that the internal data of the card is partially missing or abnormal.

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

【図1】本発明にかかるICカードとICカードリーダ
ライタ装置の一実施の形態を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of an IC card and an IC card reader / writer device according to the present invention.

【図2】本発明にかかるICカードの内部の論理構成を
示す図である。
FIG. 2 is a diagram showing a logical configuration inside an IC card according to the present invention.

【図3】本発明にかかるICカードをICカードリーダ
ライタ装置に挿入した時の動作フローチャートである。
FIG. 3 is an operation flowchart when an IC card according to the present invention is inserted into an IC card reader / writer device.

【図4】本発明にかかるICカードにデータをライトし
た時の動作フローチャートである。
FIG. 4 is an operation flowchart when data is written to an IC card according to the present invention.

【図5】ICカードとICカードリーダライタ装置の従
来例を示す概略構成図である。
FIG. 5 is a schematic configuration diagram showing a conventional example of an IC card and an IC card reader / writer device.

【符号の説明】[Explanation of symbols]

A ICカードリーダライタ装置 1 ICカード 2 ICカードリーダライタ部 3 CPU 4 ディスプレイ A IC card reader / writer device 1 IC card 2 IC card reader / writer unit 3 CPU 4 display

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 内部メモリに強制イジェクトされたかど
うかを判別するためのイジェクトフラグを書き込む領域
を具備したことを特徴とするICカード。
1. An IC card having an area for writing an ejection flag for determining whether or not a forced ejection has been performed in an internal memory.
【請求項2】 内部メモリに強制イジェクトされたかど
うかを判別するためのイジェクトフラグを書き込む領域
を備えたICカードと、 このICカードの内部データの読み出し又は書き込みを
行うICカードリーダライタ部と、 前記ICカードの内部データの読み出し又は書き込みを
制御すると共に、ICカードの内部に書き込まれたイジ
ェクトフラグの値を検出し、その値に従って異常終了か
どうかを判別する制御手段と、 この制御手段が異常終了を検出した時、警告文を表示す
るディスプレイとを具備したことを特徴とするICカー
ドリーダライタ装置。
2. An IC card having an area for writing an ejection flag for determining whether or not forced ejection has been performed on an internal memory; an IC card reader / writer for reading or writing internal data of the IC card; Control means for controlling the reading or writing of the internal data of the IC card, detecting the value of the eject flag written inside the IC card, and judging whether or not the processing is abnormally terminated according to the value; And a display for displaying a warning message upon detection of an error.
JP11970298A 1998-04-28 1998-04-28 IC card Expired - Fee Related JP3331962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11970298A JP3331962B2 (en) 1998-04-28 1998-04-28 IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11970298A JP3331962B2 (en) 1998-04-28 1998-04-28 IC card

Publications (2)

Publication Number Publication Date
JPH11312223A true JPH11312223A (en) 1999-11-09
JP3331962B2 JP3331962B2 (en) 2002-10-07

Family

ID=14767976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11970298A Expired - Fee Related JP3331962B2 (en) 1998-04-28 1998-04-28 IC card

Country Status (1)

Country Link
JP (1) JP3331962B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009113379A (en) * 2007-11-07 2009-05-28 Kyocera Mita Corp Image forming system, image forming device, and authentication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009113379A (en) * 2007-11-07 2009-05-28 Kyocera Mita Corp Image forming system, image forming device, and authentication method

Also Published As

Publication number Publication date
JP3331962B2 (en) 2002-10-07

Similar Documents

Publication Publication Date Title
JPH0473194B2 (en)
JPH09114944A (en) Card and processor for the same
US5615381A (en) Security for a data processing system having multiple distinct program instruction sections
JP2745669B2 (en) Printer
JPS6299893A (en) Electronic type cash register
JP2003500721A (en) Method and apparatus for managing electronic circuits
JP2877097B2 (en) Display device
JP3331962B2 (en) IC card
US4731748A (en) Pocket computer with means for checking the detachable memory module before and after power interruption
US5979759A (en) IC card reader/writer and its control method
JP2002150246A (en) Portable electronic device
JP2878293B2 (en) Printer extended font supply device
JPH11175667A (en) Information card processor
JP2000123126A (en) Handy terminal with ic card reader/writer
JPS6353687A (en) Operation control system for portable medium
KR200171853Y1 (en) Magnetic card recorder for video game system
JP2691039B2 (en) Magnetic card encoder
JP2934304B2 (en) Fare settlement device with card type ticket
JPS6117286A (en) Electronic equipment
JPH04195597A (en) Portable terminal equipment
JPH0421082A (en) Private card decision device
JP2000194908A (en) Method and device for controlling automatic vending machine
JPH0263872A (en) Paper automatic discrimination system for printer
JPH0850642A (en) Ic card
JPS61279567A (en) Recorder

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020625

LAPS Cancellation because of no payment of annual fees