JPS63220386A - Portable electronic device - Google Patents

Portable electronic device

Info

Publication number
JPS63220386A
JPS63220386A JP62054670A JP5467087A JPS63220386A JP S63220386 A JPS63220386 A JP S63220386A JP 62054670 A JP62054670 A JP 62054670A JP 5467087 A JP5467087 A JP 5467087A JP S63220386 A JPS63220386 A JP S63220386A
Authority
JP
Japan
Prior art keywords
data
areas
written
writing
card
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
JP62054670A
Other languages
Japanese (ja)
Inventor
Tetsuo Tateno
舘野 哲夫
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.)
Toshiba Corp
Toshiba Intelligent Technology Co Ltd
Original Assignee
Toshiba Corp
Toshiba Intelligent Technology 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 Toshiba Corp, Toshiba Intelligent Technology Co Ltd filed Critical Toshiba Corp
Priority to JP62054670A priority Critical patent/JPS63220386A/en
Publication of JPS63220386A publication Critical patent/JPS63220386A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent writing data from generating a recording error and to surely protect the writing data by providing the titled device with a means for simultaneously writing the same data in plural areas at the time of writing data in a data memory. CONSTITUTION:The data memory 16 is divided into plural areas A-D, data are stored in respectively areas A-D and the same data can be simultaneously written in two areas. For instance, data (a) are written in the areas A, B and data (b) are written in the areas C, D respectively. Even if a recording error is generated in one area, the data can be held in the other area, so that the writing data can be surely protected.

Description

【発明の詳細な説明】 C発明の目的J (産業上の利用分野) この発明は、たとえば不揮発性のデータメモリおよびC
PUなとの制御素子を有するtCチップを内蔵したいわ
ゆるICカードと称される携帯可能電子装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Field of Industrial Application)
The present invention relates to a portable electronic device called an IC card that has a built-in tC chip having a control element such as a PU.

(従来の技術) 最近、新たな携帯可能なデータ記憶媒体として、不揮発
性のデータメモリおよびCPU (セントラル・プロセ
ッシング・ユニット)などの制御素子を有するICチッ
プを内蔵したICカードが開発されている。この種のI
Cカードは、内蔵するIIJIIl素子によって内蔵す
るデータメモリをアクセスし、外部装置からの要求に応
じて必要なデータの入出力を行なうものである。また、
データメモリはファイルの概念に似たエリアによって定
義され、このエリアをアクセス単位としている。
(Prior Art) Recently, as a new portable data storage medium, an IC card incorporating an IC chip having a nonvolatile data memory and a control element such as a CPU (Central Processing Unit) has been developed. This kind of I
The C card accesses the built-in data memory using the built-in IIJIIII element, and inputs and outputs necessary data in response to requests from external devices. Also,
Data memory is defined by an area similar to the concept of a file, and this area is used as an access unit.

このようなICカードにデータを書込む場合には、外部
装置からのデータを1つのエリアに書込む処理を行なっ
ている。このため、データの書込み途中に、セル不良等
の障害がエリアにて発生した場合、書込みデータは不良
データとなり、書込みエラーが発生する場合があった。
When writing data to such an IC card, data from an external device is written into one area. Therefore, if a failure such as a defective cell occurs in an area during data writing, the written data may become defective and a write error may occur.

そこで、外部装置からの照合要求で、その書込みデータ
を読出すことにより、書込みデータの照合、つまりリー
ドアフタライトが行われ、照合結果か不一致であった場
合、他のエリアに新たに書込みを行なうようになってい
る。
Therefore, by reading the written data in response to a verification request from an external device, the written data is verified, that is, read-after-write is performed, and if the verification result does not match, new writing is performed in another area. It looks like this.

ところが、上記リードアフタライトが行われた後に、静
電気、持運び時の落下により生じるビット反転等の影響
により、書込みデータの記録エラーが発生する場合があ
り、この場合に書込みデータを保護することができない
という欠点があった。
However, after the above-mentioned read-after-write is performed, a recording error may occur in the written data due to the effects of static electricity, bit reversal caused by being dropped during transportation, etc. In this case, it is not possible to protect the written data. The drawback was that it couldn't be done.

特に、暗証番号等の大事なデータが壊れてしまう可能性
があり、大変問題であった。
In particular, important data such as passwords could be destroyed, which was a serious problem.

(発明が解決しようとする問題点) 上記したように、書込みデータの記録エラーが発生し、
書込みデータを保護することができないという欠点を除
去するもので、書込みデータの記録エラーを防止するこ
とができ、書込みデータを確実に保護することができる
携帯可能電子装置を提供することを目的とする。
(Problem to be solved by the invention) As mentioned above, when a recording error occurs in the write data,
It is an object of the present invention to provide a portable electronic device which eliminates the disadvantage of not being able to protect written data, which can prevent recording errors in written data, and which can reliably protect written data. .

[発明の構成] (問題点を解決するための手段) この発明の携帯可能電子1置は、複数のエリアに分割さ
れているデータメモリ襲と、このデータメモリに対して
データの読出しおよび書込みを行なうための制御素子を
有し、選択的に外部からの入出力を行なう手段を具備す
るものにおいて、上記データメモリに対してデータを書
込む際、同一データを複数のエリアに同時に書込む帛込
み手段を設けたものである。
[Structure of the Invention] (Means for Solving the Problems) The portable electronic storage device of the present invention has a data memory area divided into a plurality of areas, and data reading and writing to the data memory. When writing data to the data memory, the same data is written to multiple areas at the same time. This means that a means has been established.

(作用) この発明は、データメモリに対してデータを霞込む際、
同一データを複数のエリアに同時に書込むようにしたも
のである。
(Function) The present invention provides the following features: when blurring data into a data memory,
This allows the same data to be written to multiple areas at the same time.

(実施例) 以下、この発明の一実施例について図面を参照して説明
する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第2図はこの発明の携帯可能電子装置としてのICカー
ドが適用される、たとえばホームバンキングシステムあ
るいはショッピングシステムなどの端末装置として用い
られるカード取扱装置の構成例を示すものである。すな
わち、この装置は、ICカード1をカード処理装置とし
てのカードリーダ・ライタ2を介してCPUなどからな
る制御部3と接続可能にするとともに、制御部3にキー
ボード4、CRTディスプレイ装置5、プリンタ6およ
びフロッピーディスク装置7を接続して構成される。
FIG. 2 shows an example of the configuration of a card handling device used as a terminal device in, for example, a home banking system or a shopping system, to which an IC card as a portable electronic device of 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 as a card processing device, and also connects the control section 3 to a keyboard 4, a CRT display device 5, and a printer. 6 and a floppy disk device 7 are connected.

上記ICカード1は、ユーザが保持し、たとえば商品購
入などの際にユーザのみが知得している暗証番号の参照
や必要データの蓄積などを行なうもので、第3図にその
機能ブロックを示すように、リード・ライト部11、暗
証設定・暗証照合部12、および暗号化・複号七部13
などの基本機能を実行する部分と、これらの基本機能を
管理するスーパバイザ14とで構成されている。リード
・ライト部11は、カードリーダ・ライタ2との間でデ
ータを読出し、会込み、あるいは消去を行なう機能であ
る。暗証設定・暗証照合部12は、ユーザが設定した暗
証番号の記憶および読出禁止処理を行なうとともに、暗
証番号の設定後にその暗証番号の照合を行ない、以後の
処理の許可を与える機能である。暗号化・複号化部13
は、たとえば通信回線を介して制御部3から他の端末装
置へデータを送信する場合の通信データの漏洩、偽造を
防止するための暗号化や暗号化されたデータの複号化を
行なうものであり、たとえばDES(Data  En
crypttonStandard)など、充分な暗号
強度を有する暗号化アルゴリズムにしたがってデータ処
理を行なう機能である。スーパバイザ14は、カードリ
ーダ・ライタ2から入力された機能コードもしくはデー
タの付加された機能コードを解読し、前記基本機能のう
ち必要な機能を選択して実行させる機能である。
The IC card 1 is held by the user and is used to refer to a personal identification number known only to the user when purchasing a product, for example, and to store necessary data.The functional blocks of the IC card 1 are shown in Fig. 3. As shown in FIG.
It consists of a part that executes basic functions such as, and a supervisor 14 that manages these basic functions. The read/write unit 11 has a function of reading data from the card reader/writer 2, and reading or erasing data. The password setting/password verification unit 12 has a function of storing the password set by the user and prohibiting reading of the password, as well as verifying the password after setting the password and granting permission for subsequent processing. Encryption/decryption section 13
For example, when transmitting data from the control unit 3 to another terminal device via a communication line, the encryption function performs encryption to prevent leakage and forgery of communication data, and decrypts encrypted data. Yes, for example DES (Data En
This is a function that processes data according to an encryption algorithm with sufficient cryptographic strength, such as Crypton Standard). The supervisor 14 has the function of decoding the function code input from the card reader/writer 2 or the function code to which data is added, and selecting and executing a necessary function among the basic functions.

これらの路機能を発揮させるために、ICカード1は例
えば第4図に示すように、制御素子(たとえばCPLI
)15、記憶内容が消去可能な不揮発性のデータメモリ
16、プログラムメモリ17、およびカードリーダ・ラ
イタ2との電気的接触を得るためのコンタクト部18に
よって構成されており、これらのうち破線内の部分(制
御素子15、データメモリ16、プログラムメモリ17
)は1つのICチップで構成されている。プログラムメ
モリ17は、たとえばマスクROMで構成されており、
前記各基本機能を実現するサブルーチンを備えた制御素
子15の制御プログラムを記憶するものである。データ
メモリ16は各種データの記憶に使用され、たとえばE
EPROMで構成されている。
In order to perform these path functions, the IC card 1 is equipped with a control element (for example, a CPLI) as shown in FIG.
) 15, consists of a nonvolatile data memory 16 whose storage contents can be erased, a program memory 17, and a contact part 18 for obtaining electrical contact with the card reader/writer 2. parts (control element 15, data memory 16, program memory 17
) consists of one IC chip. The program memory 17 is composed of, for example, a mask ROM,
It stores a control program for the control element 15 including subroutines for realizing each of the basic functions. The data memory 16 is used to store various data, for example, E.
It is composed of EPROM.

上記データメモリ16は、第1図に示すように、複数の
エリアA1・・・に分割されていて、各エリアA1・・
・ごとにデータが記憶されるようになっている。上記各
エリアA、・・・において、2つのエリアにそれぞれ同
一のデータが同時に書込まれるようになっている。たと
えば、エリアA、Bにそれぞれデータaが書込まれ、エ
リアC,Dにそれぞれデータbが書込まれるようになっ
ている。
As shown in FIG. 1, the data memory 16 is divided into a plurality of areas A1...
・Data is stored for each In each of the areas A, . . . , the same data is simultaneously written to the two areas. For example, data a is written in areas A and B, and data b is written in areas C and D, respectively.

なお、上記同一のデータが書込まれるエリアは2つ以上
の複数のエリアであっても良い。
Note that the area into which the same data is written may be two or more areas.

カードリーダ・ライタ2は、ICカード1と制御部3と
の間で機能コードやデータの授受を行なうものである。
The card reader/writer 2 is used to exchange function codes and data between the IC card 1 and the control section 3.

具体的には、第5図に示すように、図示しないカード挿
入口に挿入されたICカード1を所定の位置まで搬送す
る搬送機構21、所定の位置にセットされたICカード
1のコンタクト部18に電気的に接触されるコンタクト
部22、全体の制御を司るCPUなどからなる制御回路
23、制御回路23と制御部3との間で命令データや応
答データの授受を行なうための入出力インターフェース
回路24、およびデータを記憶するデータメモリ25な
どから構成されている。
Specifically, as shown in FIG. 5, a transport mechanism 21 that transports the IC card 1 inserted into a card insertion slot (not shown) to a predetermined position, and a contact section 18 of the IC card 1 set at a predetermined position. a contact section 22 that is electrically contacted, a control circuit 23 consisting of a CPU that controls the entire system, and an input/output interface circuit for exchanging command data and response data between the control circuit 23 and the control section 3. 24, and a data memory 25 for storing data.

次に、このような構成において動作を説明する。Next, the operation in such a configuration will be explained.

たとえば今、暗証番号の登録モードにおいて、キーボー
ド4により暗証番号が設定される。すると、制御部3は
その暗証番号をカードリーダ・ライタ2を介してICカ
ード1内の制御素子15に供給する。これにより、1l
ilJI!l素子15はその一供給された暗証番号をデ
ータメモリ16内のエリアAに書込むとともに、エリア
Bにも同時に書込む。
For example, now, in the password registration mode, a password is set using the keyboard 4. Then, the control unit 3 supplies the password to the control element 15 in the IC card 1 via the card reader/writer 2. As a result, 1l
ilJI! The l element 15 writes the supplied password into area A in the data memory 16 and also writes it into area B at the same time.

また、他のデータをデータメモリ16に書込む際も、上
記同様に2つのエリアに同一のデータが同時に1込まれ
るようになっている。
Furthermore, when writing other data to the data memory 16, the same data is simultaneously written into two areas in the same manner as described above.

このように、ICカードのデータメモリにデータを書込
む際、同一データを少なくとも2つのエリアに同時に書
込むようにしたので、一方のエリアで記録エラーが生じ
ても、他方のエリアでデータを保持しておくことができ
る。
In this way, when writing data to the data memory of an IC card, the same data is written to at least two areas at the same time, so even if a recording error occurs in one area, the data will be retained in the other area. You can keep it.

したがって、書込みデータを確実に保護することができ
る。特に、暗証番号等の重要な情報を保護する場合に有
用である。
Therefore, written data can be reliably protected. This is particularly useful when protecting important information such as a password.

また、リーダアフタライトを行なわずに確実にデータの
書込みを行なうことができる。
Furthermore, data can be reliably written without performing reader after-write.

なお、前記実施例は、常に、データの書込みを行なう際
に、複数のエリアに同一データを書込む場合について説
明したが、これに限らず、重要なデータを書込む際にの
み、複数のエリアに同一デ砲 敬したが、この発明はカード状のものに限定されるもの
ではなく、たとえばブロック状あるいはペンシル状のも
のでも良い。
In the above embodiment, when writing data, the same data is always written in multiple areas, but the present invention is not limited to this. Although the same description has been given, the present invention is not limited to a card-like structure, and may be, for example, a block-shaped or pencil-shaped structure.

[発明の効果] 以上詳述したようにこの発明によれば、書込みデータの
記録エラーを防止することができ、書込みデータを確実
に保護することができる携帯可能電子装置を提供できる
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a portable electronic device that can prevent recording errors in written data and can reliably protect written data.

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

図面はこの発明の一実施例を説明するためのもので、第
1図はデータメモリ部のデータの書込み例を説明するた
めの図、第2図はカード取扱装置の構成を示すブロック
図、第3図はICカードの機能ブロックを示す図、第4
図はICカードに内蔵するICチップの構成を示すブロ
ック図、第5図はカードリーダ・ライタの構成を示すブ
ロック図である。 1・・・・・・ICカード(携帯可能電子装置)、2・
・・・・・カードリーダ・ライタ、15・・・・・・制
御素子(CPU)、16・・・・・・データメモリ、2
3・・・・・・制御回路、A、〜・・・エリア、a%b
・・・データ。 第1図 第3図
The drawings are for explaining one embodiment of the present invention, and FIG. 1 is a diagram for explaining an example of writing data in a data memory section, FIG. 2 is a block diagram showing the configuration of a card handling device, and FIG. Figure 3 is a diagram showing the functional blocks of the IC card.
The figure is a block diagram showing the structure of an IC chip built into an IC card, and FIG. 5 is a block diagram showing the structure of a card reader/writer. 1...IC card (portable electronic device), 2.
...Card reader/writer, 15...Control element (CPU), 16...Data memory, 2
3...Control circuit, A, ~...Area, a%b
···data. Figure 1 Figure 3

Claims (3)

【特許請求の範囲】[Claims] (1)複数のエリアに分割されているデータメモリと、
このデータメモリに対してデータの読出しおよび書込み
を行なうための制御素子を有し、選択的に外部からの入
出力を行なう手段を具備する携帯可能電子装置において
、 上記データメモリに対してデータを書込む際、同一デー
タを複数のエリアに同時に書込む書込み手段を設けたこ
とを特徴とする携帯可能電子装置。
(1) Data memory divided into multiple areas,
A portable electronic device having a control element for reading and writing data to and from the data memory, and a means for selectively inputting and outputting data from the outside. What is claimed is: 1. A portable electronic device, characterized in that it is provided with a writing means for writing the same data into a plurality of areas at the same time.
(2)データメモリが、消去可能な不揮発性メモリであ
ることを特徴とする特許請求の範囲第1項記載の携帯可
能電子装置。
(2) The portable electronic device according to claim 1, wherein the data memory is an erasable nonvolatile memory.
(3)制御素子が、CPUであることを特徴とする特許
請求の範囲第1項記載の携帯可能電子装置。
(3) The portable electronic device according to claim 1, wherein the control element is a CPU.
JP62054670A 1987-03-10 1987-03-10 Portable electronic device Pending JPS63220386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62054670A JPS63220386A (en) 1987-03-10 1987-03-10 Portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62054670A JPS63220386A (en) 1987-03-10 1987-03-10 Portable electronic device

Publications (1)

Publication Number Publication Date
JPS63220386A true JPS63220386A (en) 1988-09-13

Family

ID=12977214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62054670A Pending JPS63220386A (en) 1987-03-10 1987-03-10 Portable electronic device

Country Status (1)

Country Link
JP (1) JPS63220386A (en)

Similar Documents

Publication Publication Date Title
KR100205740B1 (en) A secure application card for sharing application data and procedures among a plurality of microprocessors
JP2557838B2 (en) IC card
JP2943924B2 (en) Portable electronic devices
EP0458306B1 (en) Portable information medium
JP2592856B2 (en) IC card issuing system
JPS60205690A (en) Portable medium
JPS62190585A (en) Portable electronic device
JPH0253154A (en) Portable electronic equipment
JPS63220386A (en) Portable electronic device
JPS61211787A (en) Ic card
JPS63184853A (en) Portable electronic apparatus
JPS60160492A (en) Ic card
JP2006293875A (en) Settlement system cooperating with biological authentication, and settlement terminal for ic card and ic card for use in the same
JPS63211049A (en) Portable electronic equipment
JPS63192180A (en) Portable electronic equipment
JPS63181088A (en) Portable electronic equipment
JPS63228282A (en) Portable electronic equipment
JP2002024785A (en) Ic card and reader/writer
JPS6383894A (en) Portable electronic device
JPH03296842A (en) Data writing method and ic card
JPH08315089A (en) Terminal for ic card
JPS62159295A (en) Portable electronic device
JPS63211044A (en) Portable electronic equipment
JPS63228283A (en) Portable electronic equipment
JPS62197848A (en) Portable electronic equipment system