JPH02128294A - Ic card - Google Patents

Ic card

Info

Publication number
JPH02128294A
JPH02128294A JP63281344A JP28134488A JPH02128294A JP H02128294 A JPH02128294 A JP H02128294A JP 63281344 A JP63281344 A JP 63281344A JP 28134488 A JP28134488 A JP 28134488A JP H02128294 A JPH02128294 A JP H02128294A
Authority
JP
Japan
Prior art keywords
file
card
character string
information
file identification
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
JP63281344A
Other languages
Japanese (ja)
Inventor
Sukenori Kobayashi
小林 資則
Masao Muramatsu
村松 正男
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.)
Kyodo Printing Co Ltd
Original Assignee
Kyodo Printing 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 Kyodo Printing Co Ltd filed Critical Kyodo Printing Co Ltd
Priority to JP63281344A priority Critical patent/JPH02128294A/en
Publication of JPH02128294A publication Critical patent/JPH02128294A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a high security function by converting a character string indicated in file identification corresponding information into file identification information designated by the file identification corresponding information when the character string is inputted after the file identification corresponding information is received. CONSTITUTION:When an external processor 2 accesses the file of an IC card 1, the processor 2 sets an arbitrary character string composed of one character or more corresponding to the file name of the file to be accessed to a storing and converting part 10 as file name corresponding information before the processor 2 accesses the file. When the storing and converting part 10 receives the file name information to indicate the correspondence relation of the file name from the external processor 2, and the character string is sent from the processor 2 to the part 10 afterward, the storing and converting part 10 converts the character string into the designated file name. Since the file designation between the IC card 1 and its external part is executed using the set character string, the use of the actual file identification information stored in the IC card 1 is suppressed to the minimum necessity. Thus, the safety of the IC card 1 can be improved.

Description

【発明の詳細な説明】 技術分野 本発明はICカード、とくにメモリに蓄積されるファイ
ルの検索処理に適したICカードに関する。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to an IC card, and particularly to an IC card suitable for search processing of files stored in a memory.

丘FAll術 周知のように現在では、キャッシュカードやりI/ジッ
トカードを始め各種メンバーズカード、病院の診察券な
ど様々な用途に暗証番号などの情報が記憶されたカード
が流通し、これらがわれわれの日常生活に欠かせないも
のになりつつある。このようなカードとして大容量の記
憶容量を有し、高度なセキュリティ機能を有する次世代
の多機能カードとしてICカードが研究開ダされている
As is well known, cards with information such as PIN numbers stored on them are currently in circulation for various purposes such as cash cards, I/JIT cards, various membership cards, and hospital consultation tickets. It is becoming an essential part of daily life. As such cards, IC cards are being researched and developed as next-generation multifunctional cards that have a large storage capacity and advanced security functions.

ICカードは、磁気カードとほぼ同形状の基体にマイク
ロプロセッサとICメモリなどが内蔵されているカード
であり、メモリの記憶容量は磁気カードに比べ格段に大
きい、このためICカードの場合には、通常の情報処理
装置と同様にメモリ内に情報をたとえばファイル単位で
蓄積し、外部処理装置などにより所足のファイルを指定
することで、ファイル内の読み出しまたは書き込みなど
のアクセス処理が行なわれる。
An IC card is a card that has a microprocessor, IC memory, etc. built into a base that has almost the same shape as a magnetic card, and the memory storage capacity is much larger than that of a magnetic card. Similar to a normal information processing device, information is stored in a memory in units of files, and access processing such as reading or writing within a file is performed by specifying the required file using an external processing device or the like.

すなわちICカードにおけるファイルアクセスは、たと
えばベーシックのファイルアクセスのように限られた数
の英数字により行なわれたり、主に8ビツトパソコンの
オペレーションシステムとして知られているCP/Hの
ようにファイル名を直接指定したり、16ビツトパソコ
ンの標準的なディスクオペレーティングシステムである
MS−DOS、ミニコンピユータやワークステーション
などの共通O5として開発されたυNIXなどのように
オペレーティングシステムが対応づけたファイルディス
クリブタなどを用いたりすることにより行なわれている
In other words, file access on an IC card is performed using a limited number of alphanumeric characters, such as basic file access, or file names, such as CP/H, which is known as an operating system for 8-bit personal computers. You can specify it directly, or use a file disk libter associated with an operating system, such as MS-DOS, the standard disk operating system for 16-bit computers, or υNIX, which was developed as a common O5 for minicomputers and workstations. This is done by using

ICカードにおけるこのようなファイルアクセスの手法
が記載された従来技術として、たとえば特開昭82−1
0238E1号または特開昭fi3−9587号などに
記載されたものがある。これらは前述のオペレーティン
グシステムと同様に、ファイルを有するメモリ上にファ
イル名とその先頭アドレスとが格納されるディレクトリ
を有し、そのディレクトリを検索することによって所望
のファイルにアクセスしている。
As a prior art that describes such a file access method for an IC card, for example, Japanese Patent Application Laid-Open No. 82-1
There are those described in No. 0238E1 or Japanese Patent Application Laid-Open No. 3-9587. Similar to the aforementioned operating systems, these systems have a directory in which file names and their starting addresses are stored in a memory containing files, and a desired file is accessed by searching the directory.

しかしながらこのような従来のICカードでは、データ
アクセスを行なうときに、アクセスするファイルのファ
イル名を直接指定するがまたはカード内部で一意的に対
応づけられた識別子を用いるかのいずれかであった。こ
のため、ファイル名または識別子によってはアクセス処
理が煩雑となる。また、データアクセスに伴い外部処理
装置よりICカードに度々ファイル名または識別子の情
報が送られるため、外部処理装置とICカードとの通信
をモニタすることでこれら力ζ解読される可能性があり
、安全性の点でも問題があった。
However, in such conventional IC cards, when accessing data, either the file name of the file to be accessed is directly specified or an identifier uniquely associated within the card is used. Therefore, access processing becomes complicated depending on the file name or identifier. Additionally, as file name or identifier information is often sent from the external processing device to the IC card in connection with data access, there is a possibility that these forces may be deciphered by monitoring communication between the external processing device and the IC card. There were also safety issues.

目   的 本発明はこのような従来技術の欠点を解消し操作性に優
れ、また高度なセキュリティ機能を有するICカードを
提供することを目的とする。
Purpose It is an object of the present invention to provide an IC card that eliminates the drawbacks of the prior art, has excellent operability, and has advanced security functions.

発明の開示 本発明によれば、情報をファイルとして格納する記憶手
段を有し、記憶手段にファイル識別情報毎に格納された
ファイルを論理アドレス方式にょリデータアクセスする
ことが可能なICカードは、ファイル識別情報を任意の
文字列に対応させる旨のファイル識別対応情報を受けた
場合に文字列をファイル識別情報に変換する変換手段を
有し、変換手段はファイル識別対応情報を受信した後に
、ファイル識別対応情報に示された文字列が入力される
と、文字列をファイル識別対応情報により指定されたフ
ァイル識別情報に変換するものである。
DISCLOSURE OF THE INVENTION According to the present invention, an IC card has a storage means for storing information as a file and is capable of data accessing files stored in the storage means for each file identification information using a logical address method. The conversion means converts the character string into file identification information when receiving file identification correspondence information indicating that the file identification information corresponds to an arbitrary character string, and the conversion means converts the character string into file identification information after receiving the file identification correspondence information. When a character string indicated in the identification correspondence information is input, the character string is converted into file identification information specified by the file identification correspondence information.

なお、本明細書において用語「文字列」は、単に文字の
みに限定されるものではなく、数字および記号なども含
むものとする。
Note that in this specification, the term "character string" is not limited to only characters, but also includes numbers, symbols, and the like.

Xl」(1叉」 次に添付図面を参照して本発明によるICカードの実施
例を詳細に説明する。
Next, embodiments of the IC card according to the present invention will be described in detail with reference to the accompanying drawings.

第1図を参照すると本発明によるICカードの実施例の
機能ブロック図が示されている。 ICカードlは、多
目的な用途に適用可能なようにそのファイル構造がたと
えば論理的ファイル構造になっているカードである。 
ICカードlは、その形状がたとえば名刺サイズの平坦
なカードであり、合成樹脂などの材質の基体内に、記憶
・変換部10.制御部12、記憶インタフェース回路1
4および記憶部16などを含む集積回路が配設されてい
る。なお、同図において本実施例に直接関係の無い構成
要素は略して記載していない。
Referring to FIG. 1, there is shown a functional block diagram of an embodiment of an IC card according to the present invention. The IC card 1 is a card whose file structure is, for example, a logical file structure so that it can be applied to various purposes.
The IC card l is a flat card with the shape of a business card, for example, and has a storage/conversion section 10. Control unit 12, storage interface circuit 1
An integrated circuit including 4, a storage section 16, and the like is provided. Note that, in the figure, constituent elements that are not directly related to this embodiment are omitted.

ICカード1は、所定のリーグ・ライタ(図示せず)に
着脱自在に装着可能であり、このリーグ・ライタを介し
、同図に示すようにたとえばホストコンピュータなどの
外部処理装置2に接続される。
The IC card 1 can be detachably attached to a predetermined league writer (not shown), and is connected to an external processing device 2 such as a host computer via the league writer as shown in the figure. .

外部処理装置2は、リーグ・ライタを介し、たとえば複
数のICカードlと通信制御が可能な情報処理装置であ
る。すなわち処理装置2は、ICカードlの記憶部16
に蓄積されているファイルを読み出し所定の処理を行な
ったり、また必要に応じて記憶部16に格納されている
ファイルへデータの書き込みなどを行なうIICカード
アクセス装置である。
The external processing device 2 is an information processing device that can control communication with, for example, a plurality of IC cards 1 via a league writer. That is, the processing device 2 stores the storage unit 16 of the IC card l.
This is an IIC card access device that reads files stored in the storage unit 16 and performs predetermined processing, and writes data to files stored in the storage unit 16 as necessary.

ICカード1の記憶・変換部10は、本実施例の最も重
要な構成要素であり、外部処理装置2より入力+00を
介し送られてきたあらかじめ指定した文字列を、記憶部
18に蓄積されているこの文字列に対応するファイル名
などのファイル識別情報に変換する機能を有する。すな
わち本実施例では外部処理装置2は、ICカード1のフ
ァイルの読み出しまたは書き込みなどのファイルアクセ
スにおいて、カー1” 1に直接そのファイル名の指定
を入力しない。外部処理装置2は、ICカード1のファ
イルにアクセスする場合、アクセスに先立ってアクセス
するファイル名に対応させる1文字以上の任意の文字列
をファイル名対応情報として記憶・変換部10に設定す
る。
The storage/conversion unit 10 of the IC card 1 is the most important component of this embodiment, and stores a pre-specified character string sent from the external processing device 2 via input +00 in the storage unit 18. It has a function to convert this character string into file identification information such as a file name. That is, in this embodiment, the external processing device 2 does not directly input a file name designation to the card 1"1 when accessing a file such as reading or writing a file on the IC card 1. When accessing a file, an arbitrary character string of one or more characters corresponding to the file name to be accessed is set in the storage/conversion unit 10 as file name correspondence information prior to access.

記憶中変換部10は、外部処理装置2からファイル名の
対応関係を示すファイル名情報を受けると、以後その文
字列が処理装置2より送られてきた場合、指定されたフ
ァイル名に変換する。具体的には処理装置2は、”任意
の文字列”=パフアイル名゛′などのようなファイル名
対応情報を記憶・変換部10に送る。記憶・変換部10
は、これを受けると以後、処理装置2よりこの′°任意
の文字列゛が送られてくれば、この文字列を指定された
ファイル名に変換してその情報を出力102を介し制御
部12に出力する。
Upon receiving file name information indicating the correspondence between file names from the external processing device 2, the in-storage conversion unit 10 converts the character string into a specified file name if the character string is subsequently sent from the processing device 2. Specifically, the processing device 2 sends file name correspondence information such as "arbitrary character string"=puff file name "'" to the storage/conversion unit 10. Memory/conversion section 10
After receiving this, if this ``arbitrary character string'' is sent from the processing device 2, the character string is converted into a specified file name and the information is sent to the control unit 12 via the output 102. Output to.

制御部12は、記憶・変換部10より送られてきたファ
イル名により指定されるファイルの情報を外部処理装置
2の指示に従って記憶部16より呼び出したり、また追
加、変更、削除の制御を行なう。
The control unit 12 reads the information of the file specified by the file name sent from the storage/conversion unit 10 from the storage unit 16 according to instructions from the external processing device 2, and also controls addition, modification, and deletion.

制御部12はまた、ファイル名とその先頭アドレスなど
が登録されている記憶部16のファイル管理テーブル1
8より、ファイル管理情報を入力110を介し入力する
。制御部12は、記憶・変換部10から入力したファイ
ル名の情報をこの管理情報によりファイル20の物理ア
ドレスに変換し、この物理アドレス情報を出力104を
介し記憶部インタフェース回路14に出力する。
The control unit 12 also controls the file management table 1 of the storage unit 16 in which file names and their starting addresses are registered.
8, file management information is input via input 110. The control unit 12 converts the file name information input from the storage/conversion unit 10 into a physical address of the file 20 using this management information, and outputs this physical address information to the storage unit interface circuit 14 via the output 104.

記憶部インタフェース回路14はファイル部20の入出
力制御を行なうインタフェース回路である。
The storage interface circuit 14 is an interface circuit that controls input/output of the file section 20.

すなわち、インタフェース回路14は制御部12から送
られてきた物理アドレス情報に従って、記憶部16のフ
ァイル20にファイルアクセスを行なう。記憶部16は
、複数のファイルが蓄積可能なファイル20と、そこに
格納されたファイルの管理情報が記憶されているファイ
ル管理テーブル18を有する記憶部である。
That is, the interface circuit 14 accesses the file 20 in the storage section 16 according to the physical address information sent from the control section 12. The storage unit 16 is a storage unit that includes a file 20 that can store a plurality of files, and a file management table 18 that stores management information of the files stored therein.

第2図には、本実施例におけるICカードlの動作概念
を示した動作説明図が示されている。同図および第1図
を用いて、ICカード1に格納されているファイル名A
にrKYODo Jという文字列を設定したときの動作
例を説明する。
FIG. 2 shows an operation explanatory diagram showing the operation concept of the IC card 1 in this embodiment. Using the same figure and FIG. 1, file name A stored in IC card 1.
An example of the operation when the character string rKYODo J is set is explained below.

ICカード1がリーグ・ライタを介し外部処理装置2に
接続され、この処理装置2からICカード1の記憶部1
6に記憶されたファイルAにアクセスする場合、たとえ
ばrKYODOJという文字列を使用するのであれば、
ファイルアクセスに先立って、処理装置2はKYODO
” =”ファイル名A”というファイル名対応情報をI
Cカード1に送信する。 ICカード1の記憶・変換部
10は、この対応情報を受信することにより、以後ファ
イルアクセスにおいてrKYODo Jの文字列を受信
すると、これを「ファイル名A」に変換して制御部12
に送る。
The IC card 1 is connected to an external processing device 2 via a league writer, and the storage section 1 of the IC card 1 is transferred from the processing device 2 to the external processing device 2.
When accessing file A stored in 6, for example, if you use the character string rKYODOJ,
Prior to file access, processing device 2 uses KYODO
” = “File name A” file name correspondence information I
Send to C card 1. By receiving this correspondence information, the storage/conversion unit 10 of the IC card 1 converts this into “file name A” and sends it to the control unit 12 when the character string rKYODo J is received in file access from now on.
send to

制u4部12は、ファイル名Aの情報を受信すると、フ
ァイル管理テーブル18からの管理情報によりファイル
名Aのファイルが格納されている物理アドレスを識別し
、このアドレス情報を記憶部インタフェース回路14に
送る。記憶部インタフェース回路14は、送られてきた
物理アドレスよりファイル名Aのファイルが蓄積されて
いるアドレスにアクセス可能状態にする。このようにし
てrKYODOJというファイル指定情報をICカード
1に送ると、ファイルAのアクセスを行なうことができ
る。
When the controller u4 unit 12 receives the information with the file name A, it identifies the physical address where the file with the file name A is stored based on the management information from the file management table 18, and sends this address information to the storage interface circuit 14. send. The storage interface circuit 14 makes the address where the file with file name A is stored accessible from the sent physical address. By sending the file designation information rKYODOJ to the IC card 1 in this manner, file A can be accessed.

なお、この動作例ではファイル指定を複数の文字列とし
たが、たとえば数字または記号などがファイル名対応情
報に含まれてもよい、また、外部処理装置2が複数のフ
ァイルをオープン状態にしたいときには、あらかじめ複
数のファイル名をそれぞれ任意の文字列に対応させても
よい、さらに、たとえばファイル名を定義した文字列を
途中で変更したい場合には、たとえば所定の制御コマン
ドを送った後、変更することも可能である。また、外部
処理装置2とICカードlとの間の通信が一旦終了し、
リーダ・ライタからカードlが離脱されると、通常では
記憶変換部10に送られた変換情報はクリアされる。し
かし、カードlの用途によりこの変換情報がクリアされ
ない方が良い場合には、記憶φ変換部lOに対しバック
アップを行ない、変換情報が消去されないようにするこ
とも勿論可能である。また、記憶部16に変換情報を格
納することもできる。
In this operation example, multiple character strings are specified as file specifications, but numbers or symbols may also be included in the file name correspondence information.Also, when the external processing device 2 wants to open multiple files, , it is possible to associate multiple file names with arbitrary character strings in advance.Furthermore, if you want to change the character string that defines the file name midway through, for example, you can change it after sending a predetermined control command. It is also possible. Also, the communication between the external processing device 2 and the IC card l is temporarily terminated,
When the card l is removed from the reader/writer, the conversion information sent to the storage conversion unit 10 is normally cleared. However, if it is better not to clear this conversion information depending on the purpose of the card l, it is of course possible to back up the storage φ conversion unit lO to prevent the conversion information from being erased. Further, conversion information can also be stored in the storage unit 16.

さらに本実施例では、ファイル名によりファイルをアク
セスするICカード1に適用した例を説明したが、ファ
イル名の代わりにファイルに一意的に対応づけられた識
別子などのファイル識別情報によりファイルアクセスを
行なうICカードにも勿論適用可能である。
Further, in this embodiment, an example has been described in which the application is applied to the IC card 1 that accesses files by file name, but instead of the file name, file access is performed by file identification information such as an identifier uniquely associated with the file. Of course, it is also applicable to IC cards.

効  果 このように本発明によれば、アクセスを行なうファイル
識別情報を所望の任意の文字列で定義することができる
。このため、ファイルアクセスにおけるファイル識別情
報の指定を短縮することが可能である。また、外部との
ファイル指定は、設定された文字列により行なわれるた
め、 ICカードに記憶されている実際のファイル識別
情報の使用は必要最小限に抑えられる。このためファイ
ル名の漏洩の防止効果に優れ、ICカードの安全性の向
上を図ることができる。
Effects As described above, according to the present invention, file identification information to be accessed can be defined as any desired character string. Therefore, it is possible to shorten the specification of file identification information in file access. Furthermore, since the file specification with the outside is performed using a set character string, the use of actual file identification information stored in the IC card can be kept to the necessary minimum. Therefore, the leakage of the file name can be effectively prevented, and the security of the IC card can be improved.

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

第1図は本発明によるICカードの実施例を示す機能ブ
ロック図、 ff52図は、第1図に示したICガードの動作概念の
一例を示す動作説明図である。 主要部分の符号の説明 1  、  、  、 ICカード 210.外部処理装置 10、、、記憶φ変換部 12、、、制御部 +4.、、記憶部インタフェース回路 18、、、記憶部
FIG. 1 is a functional block diagram showing an embodiment of the IC card according to the present invention, and FIG. ff52 is an operation explanatory diagram showing an example of the operational concept of the IC guard shown in FIG. Explanation of symbols of main parts 1, , , IC card 210. External processing device 10, . . . Storage φ conversion section 12, . . . Control section +4. ,,storage unit interface circuit 18, ,,storage unit

Claims (1)

【特許請求の範囲】  情報をファイルとして格納する記憶手段を有し、該記
憶手段にファイル識別情報毎に格納された該ファイルを
データアクセスすることが可能なICカードにおいて、
該ICカードは、 前記ファイル識別情報を任意の文字列に対応させる旨の
ファイル識別対応情報を受けた場合に該文字列を前記フ
ァイル識別情報に変換する変換手段を有し、 該変換手段は前記ファイル識別対応情報を受信した後に
、該ファイル識別対応情報に示された前記文字列が入力
されると、該文字列を該ファイル識別対応情報により指
定された前記ファイル識別情報に変換することを特徴と
するICカード。
[Scope of Claims] An IC card having a storage means for storing information as a file and capable of data accessing the files stored in the storage means for each file identification information,
The IC card has a conversion means that converts the character string into the file identification information when receiving file identification correspondence information indicating that the file identification information corresponds to an arbitrary character string, and the conversion means converts the character string into the file identification information. After receiving the file identification correspondence information, when the character string indicated in the file identification correspondence information is input, the character string is converted into the file identification information specified by the file identification correspondence information. IC card.
JP63281344A 1988-11-09 1988-11-09 Ic card Pending JPH02128294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63281344A JPH02128294A (en) 1988-11-09 1988-11-09 Ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63281344A JPH02128294A (en) 1988-11-09 1988-11-09 Ic card

Publications (1)

Publication Number Publication Date
JPH02128294A true JPH02128294A (en) 1990-05-16

Family

ID=17637800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63281344A Pending JPH02128294A (en) 1988-11-09 1988-11-09 Ic card

Country Status (1)

Country Link
JP (1) JPH02128294A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180437A (en) * 1986-02-04 1987-08-07 Nec Corp File input/output system
JPS639587A (en) * 1986-06-30 1988-01-16 凸版印刷株式会社 Ic card
JPS63100590A (en) * 1986-10-17 1988-05-02 Nec Corp Ic card
JPS63233445A (en) * 1987-03-20 1988-09-29 Nec Corp Local addition system for internal file name

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180437A (en) * 1986-02-04 1987-08-07 Nec Corp File input/output system
JPS639587A (en) * 1986-06-30 1988-01-16 凸版印刷株式会社 Ic card
JPS63100590A (en) * 1986-10-17 1988-05-02 Nec Corp Ic card
JPS63233445A (en) * 1987-03-20 1988-09-29 Nec Corp Local addition system for internal file name

Similar Documents

Publication Publication Date Title
US4891506A (en) Multi-use portable electronic device
KR880701422A (en) Portable data carrier system
US4542477A (en) Information retrieval device
JPH08328762A (en) Semiconductor disk device and memory management method therefor
KR880701423A (en) Versatile portable data carrier device
JPH02181846A (en) File protecting method
KR970071332A (en) Information processing system and information processing device
JPH02128294A (en) Ic card
WO1999046682A9 (en) Mobile intelligent memory (mim) unit with removable security key
JPH0232430A (en) File control device
JP2694170B2 (en) IC card system
JP2537200B2 (en) Portable electronic devices
JP2974144B2 (en) Portable electronic devices
JP3246558B2 (en) IC card
JP3164210B2 (en) Kana-Kanji conversion method
JP2005322273A (en) Ic card
JPS6278790A (en) Storage device
JP2000222319A (en) Pc card
JP3718565B2 (en) IC card
US20020065811A1 (en) Ensured access to static objects inside a dynamic token memory
JP3015376B2 (en) IC card
CN113312000A (en) Hard disk and storage system
JP2891815B2 (en) Media name management method for loosely coupled systems
JP2001134479A (en) Method for managing file
JPH09185565A (en) Network system with program transferring function