JP2000163546A - Ic card and its using method - Google Patents

Ic card and its using method

Info

Publication number
JP2000163546A
JP2000163546A JP10352148A JP35214898A JP2000163546A JP 2000163546 A JP2000163546 A JP 2000163546A JP 10352148 A JP10352148 A JP 10352148A JP 35214898 A JP35214898 A JP 35214898A JP 2000163546 A JP2000163546 A JP 2000163546A
Authority
JP
Japan
Prior art keywords
card
read
flag
setting
access
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.)
Pending
Application number
JP10352148A
Other languages
Japanese (ja)
Inventor
Tetsuo Suzuki
哲夫 鈴木
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.)
Tokin Corp
Original Assignee
Tokin 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 Tokin Corp filed Critical Tokin Corp
Priority to JP10352148A priority Critical patent/JP2000163546A/en
Publication of JP2000163546A publication Critical patent/JP2000163546A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain both data read-only and data read/write enable IC cards from a single type of IC chip by providing an access limiting flag at a part of a memory of the IC chip for both reading and writing operations. SOLUTION: When a data read-only IC card is set, for example, a bit 0 is set at '0' with other bits 1-7 set at '1' respectively. Then the data to be read are written into a memory after the bit 0 is set at '0' and processed in terms of software so that the second and subsequent writing operations are inhibited after a single writing operation is over. This processing contents are allocated as a flag meaning that the access setting is over to the bit 7 of an 'nnnn' address. If this flag (bit) is set at '0', it's regarded that the setting is over and thereafter the 'nnnn' address is processed in terms of software so that the access is inhibited to the 'nnnn' address.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、IDカード、定期
券、プリペイドカード等に使用される、接触または非接
触型のICカードに関し、特に、ICカードのアクセス
制限用のフラグ設定に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contact or non-contact type IC card used for an ID card, a commuter pass, a prepaid card, and the like, and more particularly to a flag setting for restricting access to an IC card. .

【0002】[0002]

【従来の技術】従来、接触または非接触で外部とのデー
タ通信ができ、内蔵されているメモリに対して、データ
読み出し専用または読み出し及び書き込みが可能なIC
カードにおいて、データ読み出し専用のICカードと、
読み出し及び書き込みが可能なICカードを製作する場
合、それぞれ個別にメモリを内蔵した2種類のICチッ
プを作り、これをそれぞれカード状の基板に埋め込ん
で、2種類のICカードを製造していた。
2. Description of the Related Art Conventionally, an IC which can perform data communication with the outside in a contact or non-contact manner and can read only data or read and write data in a built-in memory.
In the card, an IC card dedicated to reading data,
In the case of manufacturing a readable and writable IC card, two types of IC chips each having a built-in memory are made, and these are embedded in a card-like substrate to manufacture two types of IC cards.

【0003】[0003]

【発明が解決しようとする課題】しかし、それぞれ個別
にメモリを内蔵した2種類のICチップを作る必要があ
るため、開発費用がかかり、ICカードのコストダウン
が難しかった。
However, since it is necessary to make two types of IC chips each having a built-in memory, the development cost is high and it is difficult to reduce the cost of the IC card.

【0004】従って、本発明は、ICチップにアクセス
制限機能を設けることにより、1種類のICチップで、
データ読み出し専用と、読み出し及び書き込みが可能な
2種類のICカード及びその使用方法を提供することで
ある。
[0004] Accordingly, the present invention provides an IC chip with an access restriction function so that one type of IC chip can be used.
An object of the present invention is to provide two types of IC cards that can be used exclusively for reading data and that can read and write, and methods of using the same.

【0005】[0005]

【課題を解決するための手段】本発明によれば、ICチ
ップのメモリの一部に読み出し専用、または、読み出し
及び書き込みを可能とするアクセス制限用のフラグを設
け、工場出荷時あるいは、市場におけるICカード発行
時において、読み出し専用か、または、読み出し及び書
き込み兼用のICカードを認証し、正当性を確認した
後、読み出し専用または、読み出し及び書き込み可能に
アクセス制限用のフラグを設定するICカードを提供す
ることが可能となる。
According to the present invention, a read-only flag or a flag for restricting access to enable reading and writing is provided in a part of a memory of an IC chip, and a flag at the time of factory shipment or in a market is provided. When an IC card is issued, a read-only or read-write IC card is authenticated, and after confirming its validity, an IC card that sets a read-only or read-write enabled access restriction flag is set. Can be provided.

【0006】即ち、本発明は、ICチップのメモリの一
部に、読み出し及び書き込みに関するアクセス制限用の
フラグを設けることを特徴とするICカードである。
That is, the present invention is an IC card characterized in that a part of a memory of an IC chip is provided with an access restriction flag relating to reading and writing.

【0007】また、本発明は、ICチップのメモリの一
部に、読み出し及び書き込みに関するアクセス制限用の
フラグを設け、ICカード発行時に、読み出し専用また
は読み出し及び書き込み兼用のICカードを認証し、正
当性を確認した後、読み出し専用または読み出し及び書
き込み可能に、アクセス制限用のフラグを設定すること
を特徴とするICカードの使用方法である。
Further, according to the present invention, a read / write access restriction flag is provided in a part of the memory of the IC chip, and when the IC card is issued, the read-only or read / write IC card is authenticated and authenticated. This is a method of using an IC card, wherein an access restriction flag is set to read-only or read / write after confirming the performance.

【0008】また、本発明は、前記ICカードにおい
て、読み出し専用ICカードまたは読み出し及び書き込
みが可能なICカードとするアクセス制限用のフラグ
を、認証後にソフトウェアにて設定することを特徴とす
るICカードの使用方法である。
Further, the present invention is characterized in that, in said IC card, an access restriction flag for a read-only IC card or a readable / writable IC card is set by software after authentication. How to use

【0009】また、本発明は、前記ICカードにおい
て、読み出し専用ICカードまたは読み出し及び書き込
みが可能なICカードとするアクセス制限用のフラグ
を、認証後にハードウェアにて行うことを特徴とするI
Cカードの使用方法である。
Further, the present invention is characterized in that in the above-mentioned IC card, an access restriction flag for a read-only IC card or a readable / writable IC card is set by hardware after authentication.
This is how to use the C card.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。
Embodiments of the present invention will be described below.

【0011】まず、本発明の実施の形態における非接触
型のICカードについて、図1及び図2を参照して説明
する。
First, a non-contact type IC card according to an embodiment of the present invention will be described with reference to FIGS.

【0012】図1は、ICカードに内蔵されている不揮
発性メモリのメモリマップを示す図で、アクセス制限用
フラグの設定例を示す。図2は、ICカードとリーダ/
ライタ間のアクセス制限用フラグを設定する時の通信手
順を示す図である。
FIG. 1 is a view showing a memory map of a nonvolatile memory built in an IC card, and shows an example of setting an access restriction flag. FIG. 2 shows an IC card and a reader /
FIG. 9 is a diagram illustrating a communication procedure when setting an access restriction flag between writers.

【0013】図1のメモリマップにおいて、アドレス”
nnnn”番地にアクセス制限用フラグを書き込む領域
とし、ユーザが使用するメモリ領域とはソフト的に、ま
たは、ハード的に切り分け、システムを運用する時はア
クセスできないようにする。
In the memory map shown in FIG.
An area for writing an access restriction flag at the address nnnn "is separated from the memory area used by the user by software or hardware so that access is not possible when the system is operated.

【0014】尚、本発明の実施の形態では、システム運
用時(カード発行処理後)にアクセス制限用フラグ設定
領域は、アクセスできないようにした。
In the embodiment of the present invention, the access restriction flag setting area is not accessible during system operation (after the card issuance processing).

【0015】ここで、データの内容を読み出し専用か、
または、読み出し及び書き込みが可能かどうかをを設定
するフラグをbit0からbit1にそれぞれ割り付け
る。
Here, whether the content of the data is read-only,
Alternatively, a flag for setting whether or not reading and writing are possible is assigned to bit0 to bit1.

【0016】まず最初に、読み出し専用ICカードに設
定する手順について説明する。
First, the procedure for setting a read-only IC card will be described.

【0017】リーダ/ライタにICカードが挿入される
と、ICカードに電源が入り、リーダ/ライタとの通信
が可能状態になり、ICカードのIDデータをリーダ/
ライタに対して送出する。尚、ICカードが送出するI
Dデータは、ICチップ製造時に製造管理用のシリアル
番号等である。
When the IC card is inserted into the reader / writer, the power of the IC card is turned on, communication with the reader / writer is enabled, and the ID data of the IC card is transferred to the reader / writer.
Send to writer. Note that the I card sent by the IC card
The D data is a serial number for manufacturing control at the time of manufacturing the IC chip.

【0018】その後、リーダ/ライタは、認証をするた
めのコマンドをICカードに送信し、ICカードからの
レスポンスを確認し、正当なカードであるかどうかを判
断し、正当なカードであると判断した場合は、アクセス
制限用フラグ書き替えコマンドとフラグデータを送信し
フラグを設定する。
Thereafter, the reader / writer sends a command for authentication to the IC card, checks the response from the IC card, determines whether the card is valid, and determines that the card is valid. In this case, an access restriction flag rewrite command and flag data are transmitted to set a flag.

【0019】尚、本実施の形態では、ICカードとリー
ダ/ライタのそれぞれが、お互いに正当なものかどうか
を確認するため、相互認証を行った。
In this embodiment, mutual authentication is performed to confirm whether the IC card and the reader / writer are mutually valid.

【0020】読み出し専用のICカードに設定する場合
は、bit0を”0”とし、他のbit1〜bit7を
すべて”1”とする。
When a read-only IC card is set, bit 0 is set to "0" and all other bits 1 to 7 are set to "1".

【0021】また、bit0を”0”に設定後、読み出
すデータをメモリに書き込み、1回書き込みが終了すれ
ば2回目以降の書き込みができないようにソフト的に処
理を行った。
After setting bit0 to "0", the data to be read was written to the memory, and the processing was performed in a software manner so that once the writing was completed, the second and subsequent writings could not be performed.

【0022】処理の内容は、”nnnn”番地のbit
7をアクセス設定処理終了済みを意味するフラグとして
割り付け、このフラグ(bit)が”0”になっていれ
ば設定が終了したとみなし、以後”nnnn”番地に
は、アクセスできなくなるようソフト的な処理を行っ
た。
The content of the processing is a bit at the address "nnnn".
7 is assigned as a flag indicating that the access setting process has been completed. If this flag (bit) is "0", it is regarded that the setting has been completed, and the software "nnnnn" will not be accessible any more. Processing was performed.

【0023】以上の処理内容を、図3の読み出し専用I
Cカードのアクセス制限フラグの設定フローチャートに
示した。
The above processing is performed by using the read-only I
The flowchart for setting the access restriction flag of the C card is shown in FIG.

【0024】次に、読み出し及び書き込みが可能なIC
カードに設定する手順について説明する。
Next, a readable and writable IC
The procedure for setting the card will be described.

【0025】リーダ/ライタにICカードが挿入される
と、ICカードに電源が入り、リーダ/ライタとの通信
が可能状態になり、ICカードのIDデータをリーダ/
ライタに対して送出する。
When the IC card is inserted into the reader / writer, the power of the IC card is turned on, communication with the reader / writer is enabled, and the ID data of the IC card is transferred to the reader / writer.
Send to writer.

【0026】その後、リーダ/ライタは、認証をするた
めのコマンドをICカードに送信し、ICカードからの
レスポンスを確認し、正当なカードであるかどうかを判
断し、正当なカードであると判断した場合は、アクセス
制限用フラグ書き替えコマンドとフラグデータを送信し
フラグを設定する。
After that, the reader / writer sends a command for authentication to the IC card, checks the response from the IC card, determines whether the card is valid, and determines that the card is valid. In this case, an access restriction flag rewrite command and flag data are transmitted to set a flag.

【0027】尚、本実施の形態では、ICカードとリー
ダ/ライタそれぞれが、お互いに正当なものかどうかを
確認するため、相互認証を行った。
In the present embodiment, the IC card and the reader / writer perform mutual authentication in order to confirm whether they are valid or not.

【0028】この時、読み出し及び書き込みが可能なI
Cカードに設定する場合はbit1を”0”とし、他の
bit0とbit2〜bit7をすべて”1”とする。
At this time, the read and write I
When setting to the C card, bit1 is set to "0", and the other bit0 and bit2 to bit7 are all set to "1".

【0029】また、bit1を”0”に設定後、”nn
nn”番地のbit7をアクセス設定処理終了済みを意
味するフラグとして割り付け、このフラグ(bit)
が”0”になっていれば設定が終了したとみなし、以
後”nnnn”番地には、アクセスできなくなるようソ
フト的な処理を行う。
After setting bit1 to "0", "nn"
The bit 7 at the address “nn” is assigned as a flag indicating that the access setting process has been completed, and this flag (bit)
Is set to "0", it is regarded that the setting has been completed, and a software process is performed so that the address "nnnnn" cannot be accessed thereafter.

【0030】以上の処理内容を図4の読み出し及び書き
込み可能なICカードのアクセス制限フラグの設定フロ
ーチャートに示した。
The above processing contents are shown in the flowchart for setting the access restriction flag of the readable and writable IC card in FIG.

【0031】本実施の形態では、読み出し専用ICカー
ドと、読み出し及び書き込みが可能なICカードとの設
定を、1つのアドレス内のビットにそれぞれフラグとし
て割り付けて実施したが、これを数バイトから数十バイ
トからなるエリア毎にアクセス制限用フラグを設けれ
ば、1枚のICカード内に読み出し専用のエリアと読み
出し及び書き込みが可能なエリアを設定することも可能
である。
In this embodiment, the setting of the read-only IC card and the setting of the readable and writable IC card are performed by allocating each bit in one address as a flag. If an access restriction flag is provided for each area of 10 bytes, it is possible to set a read-only area and a read / write area in one IC card.

【0032】[0032]

【発明の効果】以上、説明したように、本発明によれ
ば、ICカードのメモリの一部に、読み出し及び書き込
みに関するアクセス制限用のフラグ設け、ICカード発
行時に認証を行い、正当性確認後フラグを設定し、アク
セス制限用のフラグを読み出し専用ICカード用、また
は、読み出し及び書き込みが可能なICカード用とする
ことにより、それぞれ専用のICチップを開発すること
なく一つのICチップで、データ読み出し専用と、読み
出し及び書き込みが可能な2種類のICカード及びその
使用方法を提供することが可能となる。
As described above, according to the present invention, an access restriction flag for reading and writing is provided in a part of the memory of the IC card, authentication is performed when the IC card is issued, and after the validity is confirmed. By setting a flag and setting an access restriction flag for a read-only IC card or a readable and writable IC card, data can be stored in one IC chip without developing a dedicated IC chip. It is possible to provide two types of IC cards that are readable only and readable and writable, and a method of using the same.

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

【図1】本発明の実施の形態におけるICカードのメモ
リマップを示す図。
FIG. 1 is a diagram showing a memory map of an IC card according to an embodiment of the present invention.

【図2】本発明の実施の形態におけるアクセス制限フラ
グ設定手順を示す図。
FIG. 2 is a diagram showing an access restriction flag setting procedure according to the embodiment of the present invention.

【図3】本発明の実施の形態における読み出し専用IC
カードのアクセス制限フラグの設定フローチャートを示
す図。
FIG. 3 is a read-only IC according to the embodiment of the present invention;
The figure which shows the setting flowchart of the access restriction flag of a card.

【図4】本発明の実施の形態における読み出し及び書き
込み可能なICカードのアクセス制限フラグの設定フロ
ーチャートを示す図。
FIG. 4 is a diagram showing a flowchart for setting an access restriction flag of a readable and writable IC card according to the embodiment of the present invention.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ICチップのメモリの一部に、読み出し
及び書き込みに関するアクセス制限用のフラグを設けて
なることを特徴とするICカード。
An IC card characterized in that a part of a memory of an IC chip is provided with a flag for restricting access for reading and writing.
【請求項2】 ICチップのメモリの一部に、読み出し
及び書き込みに関するアクセス制限用のフラグを設け、
ICカード発行時に、読み出し専用または読み出し及び
書き込み兼用のICカードを認証し、正当性を確認した
後、読み出し専用または読み出し及び書き込み可能に、
アクセス制限用のフラグを設定することを特徴とするI
Cカードの使用方法。
2. A read / write access restriction flag is provided in a part of a memory of an IC chip,
When an IC card is issued, a read-only or read-write IC card is authenticated, and after confirming its validity, read-only or read-write and write-enable.
I. An access control flag is set.
How to use C card.
【請求項3】 請求項1記載のICカードにおいて、読
み出し専用ICカードまたは読み出し及び書き込みが可
能なICカードとするアクセス制限用のフラグを、認証
後にソフトウェアにて設定することを特徴とするICカ
ードの使用方法。
3. The IC card according to claim 1, wherein an access restriction flag for a read-only IC card or a readable / writable IC card is set by software after authentication. How to use
【請求項4】 請求項1記載のICカードにおいて、読
み出し専用ICカードまたは読み出し及び書き込みが可
能なICカードとするアクセス制限用のフラグを、認証
後にハードウェアにて行うことを特徴とするICカード
の使用方法。
4. The IC card according to claim 1, wherein a flag for restricting access to a read-only IC card or a readable / writable IC card is executed by hardware after authentication. How to use
JP10352148A 1998-11-25 1998-11-25 Ic card and its using method Pending JP2000163546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10352148A JP2000163546A (en) 1998-11-25 1998-11-25 Ic card and its using method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10352148A JP2000163546A (en) 1998-11-25 1998-11-25 Ic card and its using method

Publications (1)

Publication Number Publication Date
JP2000163546A true JP2000163546A (en) 2000-06-16

Family

ID=18422114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10352148A Pending JP2000163546A (en) 1998-11-25 1998-11-25 Ic card and its using method

Country Status (1)

Country Link
JP (1) JP2000163546A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009503665A (en) * 2005-07-25 2009-01-29 オベルトゥル カード システムズ ソシエテ アノニム Electronic entity having contact communication means and remote communication means
CN104794813A (en) * 2014-01-16 2015-07-22 浙江融创信息产业有限公司 IC card card-issuing system, read-write machine and blacklist and whitelist processing method and device
JP2020166335A (en) * 2019-03-28 2020-10-08 日本電産サンキョー株式会社 Card issuance device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009503665A (en) * 2005-07-25 2009-01-29 オベルトゥル カード システムズ ソシエテ アノニム Electronic entity having contact communication means and remote communication means
JP2013054768A (en) * 2005-07-25 2013-03-21 Oberthur Technologies Electronic entity with contact and remote communication means
JP2014220002A (en) * 2005-07-25 2014-11-20 オベルトゥルテクノロジ Electronic entity with contact and remote communication means
US9111188B2 (en) 2005-07-25 2015-08-18 Oberthur Technologies Electronic entity with contact and remote communication means
US9600697B2 (en) 2005-07-25 2017-03-21 Oberthur Technologies Electronic entity with contact and remote communication means
JP2017102967A (en) * 2005-07-25 2017-06-08 オベルトゥル テクノロジ Electronic entity including contact communication means and remote communication means
CN104794813A (en) * 2014-01-16 2015-07-22 浙江融创信息产业有限公司 IC card card-issuing system, read-write machine and blacklist and whitelist processing method and device
JP2020166335A (en) * 2019-03-28 2020-10-08 日本電産サンキョー株式会社 Card issuance device
JP7307574B2 (en) 2019-03-28 2023-07-12 ニデックインスツルメンツ株式会社 card issuing device

Similar Documents

Publication Publication Date Title
US9418224B2 (en) Portable electronic device and control method of portable electronic device
US8266713B2 (en) Method, system and controller for transmitting and dispatching data stream
JP2005515542A (en) Apparatus and method for writing to NV memory in a controller architecture together with a corresponding computer program and a corresponding computer-readable storage medium
US6766961B2 (en) IC card
JP2006236200A (en) Card type storage device and host device thereof
JPH0766431B2 (en) How to approve PIN code for memory card
JP2000163546A (en) Ic card and its using method
JP2006252079A (en) Information recording medium, information communication system, information communication method, and information communication program
JP4445718B2 (en) IC card and IC card program
JPH10198776A (en) Portable information recording medium, and its information writing and reading method
JP3718564B2 (en) IC card
KR100390366B1 (en) Card reader and control method thereof
US20020054513A1 (en) Method for program revise of an IC smartcard system
JP3195122B2 (en) Check method of instruction format given to IC card
JPH0417477B2 (en)
US20040133800A1 (en) Method of manufacturing smart cards
EP1369828A2 (en) Personalised digital data processing system
EP3992830A1 (en) Secure memory card and control method thereof
JP2002024785A (en) Ic card and reader/writer
JPH1153487A (en) Method for deciding validity of written data on ic card
JPS62289999A (en) Data writing method
JPH06119507A (en) Ic card
JP2022132923A (en) IC card
JP2004192181A (en) Ic card, and ic card program
JPH07129736A (en) Ic memory card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070228

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070711