JPH01166281A - Portable electronic equipment - Google Patents
Portable electronic equipmentInfo
- Publication number
- JPH01166281A JPH01166281A JP62325936A JP32593687A JPH01166281A JP H01166281 A JPH01166281 A JP H01166281A JP 62325936 A JP62325936 A JP 62325936A JP 32593687 A JP32593687 A JP 32593687A JP H01166281 A JPH01166281 A JP H01166281A
- Authority
- JP
- Japan
- Prior art keywords
- area
- information
- data
- memory
- portable electronic
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Credit Cards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、たとえば消去可能な不揮発性メモリおよびC
PUなどの制御素子を有するIC(集積回路)チップを
内蔵した、いわゆるICカードと称される携帯可能電子
装置に関する。Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention relates to erasable non-volatile memory and C
The present invention relates to a portable electronic device called an IC card, which has a built-in IC (integrated circuit) chip having a control element such as a PU.
(従来の技術)
最近、新たな携帯可能なデータ記憶媒体として、EEF
ROMなどの消去可能な不揮発性メモリおよびCPUな
どの制御素子を有するICチップを内蔵したICカード
が開発されている。この種のICカードは、内蔵する制
御素子によって内蔵するメモリをアクセスし、外部装置
からの要求に応じて必要なデータの入出力を行なうもの
である。(Prior Art) Recently, as a new portable data storage medium, EEF
2. Description of the Related Art IC cards have been developed that include a built-in IC chip that has an erasable nonvolatile memory such as a ROM and a control element such as a CPU. This type of IC card accesses a built-in memory using a built-in control element, and inputs and outputs necessary data in response to a request from an external device.
さて、このようなICカードのメモリは、記憶データの
性格あるいは利用用途などに合せて複数のエリアに分割
定義され、そのエリアをアクセス単位として運用される
ようになっている。The memory of such an IC card is defined as being divided into a plurality of areas depending on the nature of the stored data or the intended use, and each area is used as an access unit.
そして、このように分割定義゛された各エリアには、記
憶データの性格あるいは利用用途などに応じて扱い易い
コード情報でデータが記憶される場合がある。したがっ
て、このような場合、メモリの各エリアをアクセスする
ことによりデータ処理などを行なう際、メモリの各エリ
アがどのようなコード情報でデータが記憶されているか
を識別する必要がある。Data may be stored in each of the areas thus divided and defined using code information that is easy to handle depending on the nature of the stored data or its intended use. Therefore, in such a case, when performing data processing by accessing each area of the memory, it is necessary to identify what kind of code information the data is stored in each area of the memory.
そこで、従来は、アプリケーション側で、メモリの各エ
リアがどのようなコード情報でデータが記憶されている
かを識別するための識別情報を記憶しておき、この識別
情報に基づきどのようなコード情報で記憶されているか
を識別するようになっている。Conventionally, the application side stores identification information to identify the code information in which data is stored in each area of the memory, and based on this identification information, the application side stores identification information to identify the code information in which data is stored in each area of the memory. It is designed to identify whether it is stored or not.
しかし、このようにアプリケーション側でメモリの各エ
リアがどのようなコード情報で記憶されているかを識別
するための識別情報を記憶しておく方法では、たとえば
ICカードの種類ごとに識別情報を記憶しておく必要が
あるので、アプリケーション側での識別情報の管理が面
倒であり、かつアプリケーション側の負担が増加するな
どの問題があった。However, with this method of storing identification information on the application side to identify what kind of code information is stored in each area of the memory, for example, identification information is stored for each type of IC card. Therefore, there were problems such as the management of identification information on the application side being troublesome and the burden on the application side increasing.
(発明が解決しようとする問題点)
本発明は、上記したようにアプリケーション側でメモリ
の各エリアがどのようなコード情報で記憶されているか
を識別するための識別情報を記憶しておく方法では、ア
プリケーション側での識別情報の管理が面倒であり、か
つアプリケーション側の負担が増加するという問題点を
解決すべくなされたもので、アプリケーション側でメモ
リの各エリアがどのようなコード情報で記憶されている
かを識別するための識別情報を記憶しておく必要がなく
なるので、アプリケーション側での識別情報の管理が不
要で、かつアプリケーション側の負担を軽減することが
できる携帯可能電子装置を提供することを目的とする。(Problems to be Solved by the Invention) As described above, the present invention is not a method in which the application side stores identification information for identifying what kind of code information is stored in each area of the memory. This was done to solve the problem that managing identification information on the application side is troublesome and increases the burden on the application side. To provide a portable electronic device that eliminates the need to store identification information for identifying whether an application is running, eliminates the need for management of identification information on an application side, and reduces the burden on the application side. With the goal.
[発明の構成]
(問題点を解決するための手段)
本発明は、消去可能な不揮発性メモリと、この不揮発性
メモリに対してデータの読出しおよび書込みを行なうた
めの制御部を有し、選択的に外部からの入出力を行ない
、かつ前記不揮発性メモリは少なくとも2つのエリアに
分割されていて、これらエリアのうち少なくとも1つは
エリア定義情報エリアで、このエリア定義情報エリアに
エリア定義情報を記憶することにより、この記憶したエ
リア定義情報によって前記分割された他のエリアを定楓
する携帯可能電子装置であって、前記エリア定義情報に
そのエリア定義情報で定義されるエリアがどのようなコ
ード情報でデータが記憶されているかを識別可能な識別
情報を付加することを特徴としている。[Structure of the Invention] (Means for Solving the Problems) The present invention includes an erasable non-volatile memory and a control section for reading and writing data to the non-volatile memory. The nonvolatile memory is divided into at least two areas, and at least one of these areas is an area definition information area, and the area definition information is stored in the area definition information area. A portable electronic device that defines the other divided areas by storing the stored area definition information, the area definition information including a code that defines the area defined by the area definition information. It is characterized by adding identification information that can identify whether data is stored.
(作用)
エリア定義情報にそのエリア定義情報で定義されるエリ
アがどのようなコード情報でデータが記憶されているか
を識別可能な識別情報を付加することことにより、不揮
発性メモリの各エリアをアクセスする際、その識別情報
を参照することにより、そのエリアがどのようなコード
情報でデータが記憶されているかを容易に識別できる。(Function) By adding identification information to the area definition information that can identify what kind of code information is used to store data in the area defined by the area definition information, each area of the nonvolatile memory can be accessed. When doing so, by referring to the identification information, it is possible to easily identify what kind of code information is used to store data in that area.
したがって、アプリケーション側で各エリアがどのよう
なコード情報で記憶されているかを識別するための識別
情報を記憶しておく必要がなくなるので、アプリケーシ
ョン側での識別情報の管理が不要となり、かつアプリケ
ーション側の負担を軽減することができる。Therefore, there is no need for the application to store identification information to identify what kind of code information is stored in each area, so there is no need for the application to manage identification information, and the application side can reduce the burden of
(実施例)
以下、本発明の一実施例について図面を参照して説明す
る。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第3図は本発明に係る携帯可能電子装置としてのICカ
ードが適用される、たとえばホームバンキングシステム
あるいはショッピングシステムなどの端末装置として用
いられるカード取扱装置の構成例を示すものである。す
なわち、この装置は、ICカード1をカードリーダ・ラ
イタ2を介してCPUなどからなる制御部3と接続可能
にするとともに、制御部3にキーボード4、CRTデイ
スプレィ装置5、プリンタ6およびフロッピィディスク
装置7を接続して構成される。FIG. 3 shows an example of the configuration of a card handling device used as a terminal device in a home banking system or shopping system, to which an IC card as a portable electronic device according to the present invention is applied. That is, this device enables an IC card 1 to be connected to a control section 3 consisting of a CPU or the like via a card reader/writer 2, and also connects a keyboard 4, a CRT display device 5, a printer 6, and a floppy disk device to the control section 3. It is constructed by connecting 7.
第2図はICカード1の構成例を示すもので、制御部と
しての制御素子(たとえばCPU)11、データメモリ
12、プログラムメモリ13、およびカードリーダ・ラ
イタ2との電気的接触を得るためのコンタクト部14に
よって構成されており、これらのうち破線内の部分(制
御素子11、データメモリ12、プログラムメモリ13
)は1つのICチップ(あるいは複数のICチップ)で
構成されてICカード本体内に埋設されている。プログ
ラムメモリ13は、たとえばマスクROMで構成されて
おり、制御素子11の制御プログラムなどを記憶するも
のである。データメモリ12は各種データの記憶に使用
され、たとえばEEPROMなどの消去可能な不揮発性
メモリで構成されている。FIG. 2 shows an example of the configuration of the IC card 1, which includes a control element (for example, a CPU) 11 as a control unit, a data memory 12, a program memory 13, and a device for electrical contact with the card reader/writer 2. The contact portion 14 includes the portions within the broken line (control element 11, data memory 12, program memory 13).
) is composed of one IC chip (or multiple IC chips) and is embedded within the IC card body. The program memory 13 is composed of, for example, a mask ROM, and stores a control program for the control element 11 and the like. The data memory 12 is used to store various data, and is composed of an erasable nonvolatile memory such as an EEPROM.
データメモリ12は、たとえば第1図に示すように、エ
リア定義情報エリア121とデータエリア122とに大
きく部分されている。エリア定義情報エリア121には
、データエリア122を複数のエリアに分割定義するエ
リア定義情報が記憶される。1つのエリアを分割定義す
るエリア定義情報は、エリア固有の番号を定義するエリ
ア番号、データエリアにおけるエリアの位置を定義する
先頭アドレス、およびエリアの大きさを定義するエリア
サイズからなっている。そして、各エリア定義情報には
、そのエリア定義情報によって定義されるエリアがどの
ようなコード情報でデータが記憶されているかを識別す
るための識別情報が付加されている。m1図の例では、
たとえばエリア[01]の先頭アドレスはAO1番地、
エリアサイズはSo1バイトであり、識別情報はASC
IIコードであることを示している。また、エリア[0
2]の先頭アドレスはA02番地、エリアサイズはS0
2バイトであり、識別情報はHEXコードであることを
示している。The data memory 12 is largely divided into an area definition information area 121 and a data area 122, as shown in FIG. 1, for example. Area definition information area 121 stores area definition information that defines dividing data area 122 into a plurality of areas. The area definition information that divides and defines one area includes an area number that defines a unique number for the area, a start address that defines the position of the area in the data area, and an area size that defines the size of the area. Each piece of area definition information is appended with identification information for identifying what kind of code information is used to store data in the area defined by the area definition information. In the example of m1 diagram,
For example, the start address of area [01] is address AO1,
The area size is So1 byte, and the identification information is ASC.
This indicates that it is a II code. Also, area [0
2] start address is address A02, area size is S0
It is 2 bytes, indicating that the identification information is a HEX code.
なお、上記識別情報は、エリア定義情報を書込む際に同
時に書込んでもよく、あるい、はエリア定義情報を書込
んだ後に書込んでもよい。Note that the above identification information may be written at the same time as writing the area definition information, or may be written after writing the area definition information.
このように、エリア定義情報にそのエリア定義情報で定
義されるエリアがどのようなコード情報でデータが記憶
されているかを識別可能な識別情報を付加することこと
により、データメモリ12の各エリアをアクセスする際
、対応するその識別情報を参照することにより、そのエ
リアがどのようなコード情報でデータが記憶されている
かを容易に識別できる。したがって、従来のようにアプ
リケーション側で各エリアがどのようなコード情報で記
憶されているかを識別するための識別情報を記憶してお
く必要がなくなるので、アプリケーション側での識別情
報の管理が不要となり、かつアプリケーション側の負担
を軽減することができる。In this way, by adding identification information to the area definition information that can identify what kind of code information is used to store data in the area defined by the area definition information, each area of the data memory 12 can be When accessing, by referring to the corresponding identification information, it is possible to easily identify what kind of code information is used to store data in that area. Therefore, unlike in the past, it is no longer necessary for the application to store identification information to identify what kind of code information is stored in each area, so there is no need to manage identification information on the application side. , and the burden on the application side can be reduced.
[発明の効果]
以上詳述したように本発明によれば、アプリケーション
側でメモリの各エリアがどのようなコード情報で記憶さ
れているかを識別するための識別情報を記憶しておく必
要がなくなるので、アプリケーション側での識別情報の
管理が不要で、かつアプリケーション側の負担を軽減す
ることができる携帯可能電子装置を提供できる。[Effects of the Invention] As detailed above, according to the present invention, there is no need for the application to store identification information for identifying what kind of code information is stored in each area of the memory. Therefore, it is possible to provide a portable electronic device that does not require management of identification information on the application side and can reduce the burden on the application side.
図は本発明の一実施例を説明するためのもので、第1図
はデータメモリ内の構成を示す図、第2図はICカード
の構成を概略的に示すブロック図、第3図はカード取扱
装置の構成を示すブロック図である。
1・・・ICカード(携帯可能電子装置)、2・・・カ
ードリーダ・ライタ、11・・・制御素子(制御部)、
12・・・データメモリ(不揮発性メモリ)、13・・
・プログラムメモリ、121・・・エリア定義情報エリ
ア、122・・・データエリア。
出願人代理人 弁理士 鈴江武彦
Il
第1図
第2図
第3図The figures are for explaining one embodiment of the present invention, and FIG. 1 is a diagram showing the internal structure of the data memory, FIG. 2 is a block diagram schematically showing the structure of the IC card, and FIG. 3 is a block diagram showing the structure of the IC card. FIG. 2 is a block diagram showing the configuration of a handling device. 1... IC card (portable electronic device), 2... Card reader/writer, 11... Control element (control unit),
12...Data memory (non-volatile memory), 13...
- Program memory, 121...Area definition information area, 122...Data area. Applicant's agent Patent attorney Takehiko Suzue Figure 1 Figure 2 Figure 3
Claims (1)
リに対してデータの読出しおよび書込みを行なうための
制御部を有し、選択的に外部からの入出力を行ない、か
つ前記不揮発性メモリは少なくとも2つのエリアに分割
されていて、これらエリアのうち少なくとも1つはエリ
ア定義情報エリアで、このエリア定義情報エリアにエリ
ア定義情報を記憶することにより、この記憶したエリア
定義情報によって前記分割された他のエリアを定義する
携帯可能電子装置であって; 前記エリア定義情報にそのエリア定義情報で定義される
エリアがどのようなコード情報でデータが記憶されてい
るかを識別可能な識別情報を付加することを特徴とする
携帯可能電子装置。 (2)前記コード情報はASCII、HEX、OCT、
DECコードなどであることを特徴とする特許請求の範
囲第1項記載の携帯可能電子装置。(3)前記識別情報
は前記エリア定義情報を記憶する際に付加されることを
特徴とする特許請求の範囲第1項記載の携帯可能電子装
置。 (4)前記識別情報は前記エリア定義情報を記憶した後
に付加されることを特徴とする特許請求の範囲第1項記
載の携帯可能電子装置。[Scope of Claims] (1) It has an erasable non-volatile memory and a control unit for reading and writing data to the non-volatile memory, selectively inputting and outputting data from the outside, and the nonvolatile memory is divided into at least two areas, and at least one of these areas is an area definition information area, and by storing area definition information in the area definition information area, the stored area definition A portable electronic device that defines the other divided areas by information, wherein the area definition information can identify what kind of code information is used to store data in the area defined by the area definition information. 1. A portable electronic device characterized in that identification information is added thereto. (2) The code information is ASCII, HEX, OCT,
The portable electronic device according to claim 1, characterized in that it is a DEC code or the like. (3) The portable electronic device according to claim 1, wherein the identification information is added when storing the area definition information. (4) The portable electronic device according to claim 1, wherein the identification information is added after storing the area definition information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62325936A JP2598056B2 (en) | 1987-12-23 | 1987-12-23 | Portable electronic devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62325936A JP2598056B2 (en) | 1987-12-23 | 1987-12-23 | Portable electronic devices |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01166281A true JPH01166281A (en) | 1989-06-30 |
| JP2598056B2 JP2598056B2 (en) | 1997-04-09 |
Family
ID=18182250
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62325936A Expired - Lifetime JP2598056B2 (en) | 1987-12-23 | 1987-12-23 | Portable electronic devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2598056B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005045680A1 (en) * | 2003-11-07 | 2005-05-19 | Matsushita Electric Industrial Co., Ltd. | Information recording medium and its control method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5850044A (en) * | 1981-09-10 | 1983-03-24 | Fujitsu Ltd | Retrieval processing system for index record |
| JPS61231393A (en) * | 1985-04-08 | 1986-10-15 | Mitsubishi Heavy Ind Ltd | Particulate material heat exchanger |
-
1987
- 1987-12-23 JP JP62325936A patent/JP2598056B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5850044A (en) * | 1981-09-10 | 1983-03-24 | Fujitsu Ltd | Retrieval processing system for index record |
| JPS61231393A (en) * | 1985-04-08 | 1986-10-15 | Mitsubishi Heavy Ind Ltd | Particulate material heat exchanger |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005045680A1 (en) * | 2003-11-07 | 2005-05-19 | Matsushita Electric Industrial Co., Ltd. | Information recording medium and its control method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2598056B2 (en) | 1997-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2537199B2 (en) | IC card | |
| JP3015377B2 (en) | IC card | |
| US4839792A (en) | Portable electronic apparatus with a device for determining data validity | |
| JPS6228297A (en) | Integrated circuit card having reading means of update information and hysteresis information | |
| JPS63204493A (en) | Portable electronic device | |
| US5615381A (en) | Security for a data processing system having multiple distinct program instruction sections | |
| JPS62190584A (en) | Portable electronic device | |
| JP3471842B2 (en) | Data management device, data storage device, and data management method | |
| JPH01166281A (en) | Portable electronic equipment | |
| JP2537200B2 (en) | Portable electronic devices | |
| JP3017736B2 (en) | Portable electronic devices | |
| JP2609645B2 (en) | Portable electronic devices | |
| JPH05100961A (en) | Data storage system | |
| JP2974144B2 (en) | Portable electronic devices | |
| JP3209994B2 (en) | Portable electronic devices | |
| JPH0746376B2 (en) | IC card | |
| JP2537198B2 (en) | Portable electronic devices | |
| JP2798957B2 (en) | Portable electronic devices | |
| JP3015376B2 (en) | IC card | |
| JP2538907B2 (en) | IC card | |
| JPH02140892A (en) | IC card system | |
| JP2538906B2 (en) | IC card | |
| JPS61241888A (en) | Portable medium | |
| JP3054119B2 (en) | Portable electronic devices | |
| JP2675563B2 (en) | Portable electronic devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |