JP2528466B2 - IC card - Google Patents
IC cardInfo
- Publication number
- JP2528466B2 JP2528466B2 JP62138538A JP13853887A JP2528466B2 JP 2528466 B2 JP2528466 B2 JP 2528466B2 JP 62138538 A JP62138538 A JP 62138538A JP 13853887 A JP13853887 A JP 13853887A JP 2528466 B2 JP2528466 B2 JP 2528466B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- time
- card
- memory
- storage area
- 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
Links
Landscapes
- Storage Device Security (AREA)
- Credit Cards Or The Like (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、所定時間記憶されたデータの読出しを不
能にし、さらにこのデータを消去する機能を有するICカ
ードに関する。TECHNICAL FIELD The present invention relates to an IC card having a function of disabling the reading of data stored for a predetermined time and further erasing the data.
最近、CPUやメモリ等のICをカードに内蔵したICカー
ドが提案され普及しつつある。このICカードは、一般に
不揮発性プログラマブルメモリを有し、このメモリ内に
種々の情報をデータとして記憶することで、長期間のデ
ータ記憶が行なえる。さらに書換え可能なメモリの開発
も進み、メモリ内に記憶されたデータの更新も容易にな
るなどで、ICカード自体をリサイクルに使用できるよう
になった。Recently, an IC card in which an IC such as a CPU or a memory is built in the card has been proposed and is becoming popular. This IC card generally has a non-volatile programmable memory, and by storing various information as data in this memory, long-term data storage can be performed. Furthermore, the development of rewritable memory has progressed, and the data stored in the memory can be updated easily, making it possible to use the IC card itself for recycling.
このようなICカードのメモリ内に記憶されたデータは
一般に、内蔵あるいは外部プログラムに基づきCPUある
いは外部装置によりアクセスコントロールされている。
またこのICカードのROM等に記憶された応用プログラム
によっては、ICカード内のCPUによりそのプログラム上
における所定の解釈に従い、ICカードのメモリ内に論理
的あるいは物理的記録位置を指定し管理するような構成
のものが多い。従って必要な情報をデータとして記録す
るには、ICカードのメモリ内に情報の内容に応じたデー
タ格納領域,位置を予め定義しておき、応用システムで
はこのデータ格納領域,位置を指定して情報の読書きを
行なうことになる。The data stored in the memory of such an IC card is generally access-controlled by the CPU or an external device based on a built-in or external program.
In addition, depending on the application program stored in the ROM of this IC card, the CPU in the IC card may specify and manage the logical or physical recording position in the memory of the IC card according to the predetermined interpretation on the program. There are many things with different configurations. Therefore, in order to record the necessary information as data, a data storage area and position according to the content of the information are defined in advance in the memory of the IC card, and the application system specifies this data storage area and position to store the information. Will read and write.
ところが、上記構成の従来のICカードでは、不揮発性
読み書き可能なメモリ内のデータ記憶領域に書込んだデ
ータはデータ記録後、消去するか別のデータをオーバー
ライトするまで保存されることになる。このため、機密
性を有する情報がICカードに記憶されており、このICカ
ードを紛失した場合、機密性を有する情報が半永久的に
ICカード内に保存されることになり、このICカードを拾
得した第3者に機密性を有する情報が盗まれる可能性が
高いという問題点があった。However, in the conventional IC card having the above-described configuration, the data written in the data storage area in the nonvolatile readable / writable memory is stored until the data is erased or another data is overwritten. Therefore, confidential information is stored in the IC card, and if this IC card is lost, the confidential information will be
Since it is stored in the IC card, there is a problem that confidential information is likely to be stolen by a third party who picks up the IC card.
この発明は、上記のような問題点を解決するためにな
されたもので、機密性の高い情報を記憶する際、この情
報を所定時間保存後は読出せないようにしさらに消去す
るようにしたICカードを得ることを目的とする。The present invention has been made to solve the above problems, and when storing highly confidential information, the IC is designed so that the information cannot be read out after being stored for a predetermined time and is further erased. Aim to get a card.
この発明にかかるICカードは、CPUと不揮発性読み書
き可能なメモリを有しており、前記メモリ中に、当該メ
モリ内へのデータ記憶時より所定時間経過後の判別を行
なうための時刻判別情報格納領域を設け、前記メモリ内
へ格納されたデータを書き込む際に、当該データと対に
して、前記時刻判別情報格納領域に当該データ固有の読
み出し不能時刻を書き込み、前記メモリ内へ格納された
前記データを読出す際に、当該データと対をなす前記読
み出し不能時刻と現在時刻とを比較し、その比較結果に
基づいてそのデータを読出し不能にし、さらに消去して
いる。The IC card according to the present invention has a CPU and a non-volatile readable / writable memory, and stores in the memory time determination information for performing determination after a predetermined time has elapsed since the data was stored in the memory. An area is provided, and when the data stored in the memory is written, the unreadable time peculiar to the data is written in the time determination information storage area as a pair with the data, and the data stored in the memory When the data is read, the unreadable time forming a pair with the data is compared with the current time, the data is made unreadable based on the comparison result, and further erased.
この発明において、データと対をなす読み出し不能時
刻と読み出し時の現在時刻とを比較して、読み出し不能
時刻の経過の有無を確認することにより、読み出し不能
時刻経過後のICカードのメモリ内に記憶されたデータを
読出し不能にすることができる。In the present invention, the unreadable time forming a pair with the data is compared with the current time at the time of reading to confirm whether or not the unreadable time has passed, thereby storing in the memory of the IC card after the unreadable time. The stored data can be made unreadable.
第1図はこの発明の一実施例であるICカード内の不揮
発性プログラマブルメモリのメモリ構成図である。同図
において、1はデータ格納領域、1aは通常データ格納領
域、1bは消去データ格納領域であり、通常データ格納領
域1aはアドレスA1〜An-1、消去データ格納領域はアドレ
スAn〜Amに割り当てられている。FIG. 1 is a memory configuration diagram of a nonvolatile programmable memory in an IC card which is an embodiment of the present invention. In the figure, 1 is a data storage area, 1a is a normal data storage area, and 1b is an erase data storage area. The normal data storage area 1a has addresses A 1 to A n-1 and the erase data storage area has addresses A n to. It is assigned to a m.
通常データ格納領域1aは各アドレスA1〜An-1に対応し
てデータD1〜Dn-1が格納されている。一方、消去データ
格納領域1bでは(An,An+1),(An+2,An+3),…
(Am-1,Am)と対になった(Ak,Ak+1)の形式で格納さ
れ、アドレスAkには消去データSDlを、アドレスAk+1に
は消去データSDlの消去すべき時刻Tlを記録している。Normal data storage region 1a data D 1 ~D n-1 corresponding to each address A 1 ~A n-1 is stored. On the other hand, in the erased data storage area 1b, (A n , A n + 1 ), (A n + 2 , A n + 3 ), ...
It is stored in the form of (A k , A k + 1 ) paired with (A m-1 , A m ), and erase data SD l is stored in address A k and erase data SD is stored in address A k + 1. It records the time T l at which l should be erased.
第2図は、第1図で示したメモリ構成のICカードのデ
ータ書込み時における処理手順を示すフローチャートで
あり、以下同図を参照しつつ書込み動作の説明をする。
ステップS1において、入力装置等により入力するデータ
が消去データか通常データかを入力者が指定し、消去デ
ータと指定した場合、ステップS2で消去データ格納領域
1bの突きアドレスAkにデータSDlとして書込み、そして
ステップS3でアドレスAk+1に、現在時刻に所定の保存時
間を加えた消去時刻(読み出し不能時刻)Tlを書込む。
一方、ステップS1で通常データと指定した場合、ステッ
プS4で通常データ格納領域1aの空きアドレスAi(i=1
〜n−1)にデータDiとして書込む。FIG. 2 is a flow chart showing a processing procedure at the time of writing data in the IC card having the memory configuration shown in FIG. 1. The write operation will be described below with reference to the same figure.
In step S1, if the input person specifies whether the data to be input by the input device etc. is erase data or normal data, and if it is designated as erase data, in step S2 the erase data storage area
The data SD1 is written to the bump address A k of 1b, and the erase time (unreadable time) T l obtained by adding a predetermined storage time to the current time is written to the address A k + 1 in step S3.
On the other hand, if normal data is designated in step S1, free address A i (i = 1 in the normal data storage area 1a is specified in step S4).
To n-1) as data D i .
第3図は第1図で示したメモリ構成のICカードのデー
タ読出し時における処理手順を示すフローチャートであ
り、以下同図を参照しつつ読出し動作の説明をする。ス
テップS11において、ICカード内のCPUによりアクセスさ
れたICカード1のメモリ上のアドレスAjが通常データ格
納領域1aか消去データ格納領域1bかの判定を行ない、こ
のアドレスAjが通常データ格納領域1aであれば、ステッ
プS12でこのアドレスAjの内容を読出し、処理を終了す
る。一方、このアドレスAjが消去データ格納領域1bであ
れば、ステップS13でアドレスAj+1に書き込まれた消去
時刻と現在時刻を比較し、現在時刻が消去時刻をすぎて
いなければ、ステップS12でアドレスAjの内容を読出
し、処理を終了する。FIG. 3 is a flow chart showing a processing procedure at the time of reading data from the IC card having the memory structure shown in FIG. 1. The read operation will be described below with reference to the same figure. In step S11, it is determined whether the address A j on the memory of the IC card 1 accessed by the CPU in the IC card is the normal data storage area 1a or the erase data storage area 1b, and this address A j is the normal data storage area. If it is 1a, the contents of this address A j are read in step S12, and the process is terminated. On the other hand, if the address A j is the erase data storage area 1b, the erase time written in the address A j + 1 in step S13 is compared with the current time, and if the current time does not exceed the erase time, step S12 The contents of the address A j are read with and the processing ends.
しかしながら、ステップS13において現在時刻が消去
時刻を越えていれば次のステップS14に移り、アドレスA
jの内容の読出しを不可能(不能)にし、ステップS15で
アドレスAjの内容を消去し処理を終了する。However, if the current time exceeds the erase time in step S13, the process moves to the next step S14 and the address A
The reading of the contents of j is disabled (disabled), the contents of the address A j are erased in step S15, and the process ends.
このように、機密データ等を消去データとして消去デ
ータ格納領域1bに、消去時刻を対にして格納しておけ
ば、読出し時刻が消去時刻を越えると、当該データを読
出し不能にし、さらに消去するようになっている。従っ
て、仮に第3者にICカードが渡った場合でも、消去時刻
を過ぎていれば機密データを第3者に盗まれる可能性が
全くなくなる。In this way, if the erase time is paired and stored in the erase data storage area 1b as the erase data such as confidential data, when the read time exceeds the erase time, the data is made unreadable and further erased. It has become. Therefore, even if the IC card is given to the third party, there is no possibility that the confidential data will be stolen by the third party if the erasing time has passed.
第2図,第3図で示した処理はICカード内のROM等に
格納された応用プログラムに基づき、ICカード内のCPU
により行える。また時間管理はICカード内に時計機能を
内蔵する、外部時計より時刻情報をICカード内に得られ
るようにする等の構成により行える。The processing shown in Fig. 2 and Fig. 3 is based on the application program stored in the ROM etc. in the IC card, and the CPU in the IC card
Can be done by In addition, time management can be performed by a configuration in which a clock function is built in the IC card, time information can be obtained from an external clock in the IC card, and the like.
また、この実施例では消去時刻を消去データ格納領域
1b内に記憶させたが、書込み時刻を消去データ格納領域
1b内に記憶させてもよく、この場合は現在時刻と書込み
時刻+保存時間とを比較することで、消去データの消去
の要否を判断処理できる。また、保存時間を可変にする
こともできる。さらに、データ格納領域1を通常データ
格納領域1aと消去データ格納領域1bとに分けることな
く、消去データか否かを示す情報をデータに付加してデ
ータ格納領域1に格納する方法も考えられる。Further, in this embodiment, the erase time is set as the erase data storage
Although it is stored in 1b, the write time is the erased data storage area.
It may be stored in 1b. In this case, the necessity of erasing erased data can be determined by comparing the current time with the write time + save time. Also, the storage time can be made variable. Further, without dividing the data storage area 1 into the normal data storage area 1a and the erased data storage area 1b, a method of adding information indicating whether or not the data is erased data to the data and storing it in the data storage area 1 is also conceivable.
以上説明したように、この発明によれば、例えば消去
時刻等の読み出し不能時刻と読み出し時の現在時刻とを
比較することにより、この読み出し不能時刻と対をなす
読出すべきデータが読み出し不能時刻を経過したものか
否かが確認でき、読み出し不能時刻経過後にそのデータ
を読出し不能にすることができるため、機密性の高い情
報をデータとしてICカード内に記憶させても読み出し不
能時刻経過後は、機密を確実に守ることができる。As described above, according to the present invention, by comparing the unreadable time such as the erase time with the current time at the time of reading, the data to be read forming a pair with the unreadable time indicates the unreadable time. You can check whether it has passed, and you can make the data unreadable after the unreadable time passes, so even if you store highly confidential information as data in the IC card, after the unreadable time passes, You can ensure confidentiality.
さらに、データと読み出し不能時刻とが対をなし、デ
ータ単位に読み出し不能時刻を設定することにより、デ
ータ個々の機密性に応じてそれぞれ適切な時刻に読み出
し不能にすることができる。Furthermore, the data and the unreadable time form a pair, and by setting the unreadable time for each data unit, the unreadable time can be set to an appropriate time according to the confidentiality of each data.
第1図はこの発明の一実施例であるICカード内の不揮発
性プログラマブルメモリのメモリ構成図、第2図,第3
図は各々第1図で示したメモリ構成のICカードの書込み
及び読出しにおける処理手順を示すフローチャートであ
る。 図において、1はデータ格納領域、1aは通常データ格納
領域、1bは消去データ格納領域である。 なお、各図中同一符号は同一または相当部分を示す。FIG. 1 is a memory configuration diagram of a nonvolatile programmable memory in an IC card which is an embodiment of the present invention, FIG. 2, FIG.
Each of the drawings is a flowchart showing a processing procedure in writing and reading of the IC card having the memory configuration shown in FIG. In the figure, 1 is a data storage area, 1a is a normal data storage area, and 1b is an erase data storage area. In the drawings, the same reference numerals indicate the same or corresponding parts.
Claims (2)
したICカードにおいて、 前記メモリ中に、当該メモリ内へのデータ記憶時より所
定時間経過後の判別を行なうための時刻判別情報格納領
域を設け、 前記メモリ内へ格納されたデータを書き込む際に、当該
データと対にして、前記時刻判別情報格納領域に当該デ
ータ固有の読み出し不能時刻を書き込み、前記メモリ内
へ格納された前記データを読出す際に、当該データと対
をなす前記読み出し不能時刻と現在時刻とを比較し、そ
の比較結果に基づいてそのデータを読出し不能にし、さ
らに消去することを特徴とするICカード。1. An IC card having a CPU and a non-volatile readable / writable memory, wherein a time discriminating information storage area is provided in the memory for discriminating after a predetermined time has elapsed since the data was stored in the memory. When the data stored in the memory is written, the unreadable time peculiar to the data is written in the time discrimination information storage area as a pair with the data, and the data stored in the memory is read. An IC card characterized in that, at the time of outputting, the unreadable time forming a pair with the data is compared with the current time, the data is made unreadable based on the comparison result, and further erased.
のないデータを格納する通常情報格納領域をさらに設け
た特許請求の範囲第1項記載のICカード。2. The IC card according to claim 1, further comprising a normal information storage area for storing data that does not need to be made unreadable in the memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62138538A JP2528466B2 (en) | 1987-06-01 | 1987-06-01 | IC card |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62138538A JP2528466B2 (en) | 1987-06-01 | 1987-06-01 | IC card |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63301389A JPS63301389A (en) | 1988-12-08 |
| JP2528466B2 true JP2528466B2 (en) | 1996-08-28 |
Family
ID=15224495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62138538A Expired - Lifetime JP2528466B2 (en) | 1987-06-01 | 1987-06-01 | IC card |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2528466B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008078689A1 (en) | 2006-12-26 | 2008-07-03 | International Business Machines Corporation | Information converting technique |
| US9208351B2 (en) | 2009-06-15 | 2015-12-08 | International Business Machines Corporation | Processing information |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CH572246A5 (en) * | 1973-05-30 | 1976-01-30 | Europ Handelsges Anst | |
| JPS61241888A (en) * | 1985-04-19 | 1986-10-28 | Toshiba Corp | Portable medium |
| JPS61255436A (en) * | 1985-05-08 | 1986-11-13 | Fujitsu Ltd | Software discrimination system |
-
1987
- 1987-06-01 JP JP62138538A patent/JP2528466B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63301389A (en) | 1988-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4891506A (en) | Multi-use portable electronic device | |
| US6915375B2 (en) | Memory apparatus and a data-processing apparatus, and method for using the memory apparatus | |
| JP2002108714A (en) | Memory device and memory access restriction method | |
| US5724544A (en) | IC memory card utilizing dual eeproms for image and management data | |
| US8429401B2 (en) | Method and apparatus for virtually erasing data from WORM storage devices | |
| JP2002108713A (en) | Memory device and memory access restriction method | |
| JPH0827756B2 (en) | IC card | |
| JP2547379B2 (en) | Portable data carrier | |
| JP2528466B2 (en) | IC card | |
| EP1091357A2 (en) | Record medium with mechanism of secrecy protection | |
| JPH04157699A (en) | Preliminary writing method for flash erasure-type e2 prom | |
| JPH0756780A (en) | Memory card device | |
| JPS63301387A (en) | Ic card system | |
| JPS63301388A (en) | Ic card | |
| JPS63301390A (en) | Ic card | |
| JP4546256B2 (en) | How to safely change the data recorded on the memory card | |
| JP3246558B2 (en) | IC card | |
| JPS63229542A (en) | Electronic card | |
| JP2752074B2 (en) | Data storage method for portable electronic device | |
| JPS63200399A (en) | data processing system | |
| JPH0426923Y2 (en) | ||
| JPH01147686A (en) | Portable electronic device | |
| JPH06139131A (en) | Memory card device | |
| JPH06150673A (en) | Non-volatile memory access control device | |
| JPH03280180A (en) | Ic card |