JPS6364185A - Portable electronic device - Google Patents

Portable electronic device

Info

Publication number
JPS6364185A
JPS6364185A JP61208253A JP20825386A JPS6364185A JP S6364185 A JPS6364185 A JP S6364185A JP 61208253 A JP61208253 A JP 61208253A JP 20825386 A JP20825386 A JP 20825386A JP S6364185 A JPS6364185 A JP S6364185A
Authority
JP
Japan
Prior art keywords
data
command data
electronic device
portable electronic
state
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
Application number
JP61208253A
Other languages
Japanese (ja)
Other versions
JPH0760454B2 (en
Inventor
Yasuo Iijima
康雄 飯島
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
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61208253A priority Critical patent/JPH0760454B2/en
Publication of JPS6364185A publication Critical patent/JPS6364185A/en
Publication of JPH0760454B2 publication Critical patent/JPH0760454B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To divide and transmit data and to execute an access with a high redundancy by deciding with the instruction data to execute the processing whether or not the processing is concluded, and when it is not concluded, receiving instruction data for continuing the next processing. CONSTITUTION:A device connects as IC card 1 through a card reader writer 2 to a control part 3 and to the control part 3, a keyboard 4, a CRT display 5, a printer 6 and a floppy disk device 7 are connected. The card 1 has a reader writer part 11 to exchange the data at the section of the writer 2, a personal identification setting personal identification collating part and an encoding decoding part 13, and is equipped with a supervisor 14 to control these. The card 1 decides with writing reading instruction data whether or not the processing is concluded, and when it is not concluded, the next instruction data for continuing the processing is received and the condition is informed to an external part. Thus, the data can be divided and transmitted and the data access with a high redundancy can be executed.

Description

【発明の詳細な説明】 [発明の目的コ 〈産業上の利用分野) 本発明は、たとえば不揮発性のデータメモリおよびCP
U (セントラル・プロセッシング・ユニット)などの
制御素子を有するIC(集積回路)チップを内蔵した、
いわゆるICカードと称される携帯可能電子装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application)]
Built-in IC (integrated circuit) chip with control elements such as U (central processing unit),
The present invention relates to a portable electronic device called an IC card.

(従来の技術) 最近、新たな携帯可能なデータ記憶媒体として、不揮発
性のデータメモリおよび09口などの制御素子を有する
ICチップを内蔵したICカードが普及し始めている。
(Prior Art) Recently, IC cards containing a built-in IC chip having a nonvolatile data memory and a control element such as an 09 port have become popular as a new portable data storage medium.

このICカードは、内部の制御素子もしくは外部装置に
より内蔵するデータメモリに記憶されるデータの管理を
行なうようになっている。
This IC card is designed to manage data stored in a built-in data memory using an internal control element or an external device.

この種のICカードへのアクセス方式として、データメ
モリを複数のエリアに分割し、そのエリアを対象とした
任意アクセスがあげられる。この場合、ICカード内に
は対象エリアの先頭アドレスとエリアを構成するバイト
数などの特定情報があらかじめ登録されており、入力し
た命令データ中に対象エリア情報を付加することにより
、ICカードは対象とするエリアの特定情報を探し、物
理的なアクセス情報に変換して処理を行なう。
One method of accessing this type of IC card is to divide the data memory into a plurality of areas and arbitrarily access those areas. In this case, specific information such as the start address of the target area and the number of bytes constituting the area is registered in advance in the IC card, and by adding the target area information to the input command data, the IC card can be set to the target area. It searches for specific information about the desired area and converts it into physical access information for processing.

ところで通常、ICカードは、入力されたデータ列を制
御素子内のRAM(ランダム・アクセス・メモリ)上の
バッファ領域に一時的に保持しておき、処理を行なう。
By the way, normally, an IC card temporarily stores an input data string in a buffer area on a RAM (random access memory) in a control element, and processes the data string.

ただし、このRA Mの容品からバッファ領域が限定さ
れてしまい、このバッファ領域の最大値が一度に伝送さ
れるデータ長の最大値となる。したがって、たとえばデ
ータ書込みの際には前記データ長以内のデータ列しか書
込めない。
However, the buffer area is limited by the contents of this RAM, and the maximum value of this buffer area becomes the maximum value of the data length that can be transmitted at one time. Therefore, for example, when writing data, only a data string within the data length can be written.

(発明が解決しようとする問題点) 上記したように、一度の伝送によるデータ長が決まって
おり、書込み時の記憶データ列のデータ長の最大値が決
定されてしまっていた。
(Problems to be Solved by the Invention) As described above, the data length for one transmission is determined, and the maximum value of the data length of the stored data string at the time of writing has been determined.

そこで、本発明は以上の欠点を除去するもので、記憶デ
ータ長および読出データ長が伝送データ長に依存せず、
よって冗長度の高いデータアクセスが可能となる携帯可
能電子装置を提供することを目的とする。
Therefore, the present invention eliminates the above-mentioned drawbacks, and the storage data length and the read data length do not depend on the transmission data length.
Therefore, it is an object of the present invention to provide a portable electronic device that enables highly redundant data access.

[発明の構成] (問題点を解決するための手段) 本発明の携帯可能電子装置は、処理を行なうための命令
データにより、この処理が完結するか否かの判定を行な
い、完結しない場合には次の処理続行用の命令データを
受付ける状態となり、それを外部に知らせる。また、こ
のとき処理続行用の命令データを受付けると前の処理の
続きを行ない、これも完結するのか判定し、完結しない
場合には再び処理続行用の命令データ受付は状態となる
。また、上記判定で完結したと判定した際には処理続行
用の命令データ受付は不可の状態になり、それを外部に
知らせる。
[Structure of the Invention] (Means for Solving the Problems) The portable electronic device of the present invention determines whether or not the process is completed based on command data for performing the process, and if the process is not completed, the portable electronic device determines whether the process is completed or not. is in a state of accepting command data for continuing the next process, and notifies the outside. At this time, when command data for continuing processing is accepted, the previous processing is continued, and it is determined whether this is also completed. If it is not completed, the receiving of command data for continuing processing is returned to the state. Further, when it is determined that the process has been completed in the above judgment, the reception of command data for continuing the process becomes impossible, and this is notified to the outside.

(作用) データの書込時または読出時など、データを複数に分割
して伝送することができるため、記憶データ長および読
出データ長が伝送データ長に依存しない。したがって、
冗長度の高いデータアクセスが可能となる。
(Operation) Since data can be divided into a plurality of parts and transmitted when writing or reading data, the storage data length and the read data length do not depend on the transmission data length. therefore,
Highly redundant data access is possible.

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

第18図は本発明に係る携帯可能電子装置としてのIC
カードが適用される、たとえばホームバンキングシステ
ムあるいはショッピングシステムなどの端末装置として
用いられるカード取扱装置の構成例を示すものである。
FIG. 18 shows an IC as a portable electronic device according to the present invention.
This figure shows an example of the configuration of a card handling device used as a terminal device in a home banking system, shopping system, etc., to which a card is applied.

すなわち、この装置は、ICカード1をカードリーダ・
ライタ2を介してCPUなどからなる制御部3と接続可
能にするとともに、11111部3にキーボード4、C
RTディスプレイ1iH5、プリンタ6およびフロッピ
ィディスク装置7を接続して構成される。
That is, this device connects the IC card 1 to a card reader.
It is possible to connect to the control unit 3 consisting of a CPU etc. via the writer 2, and the keyboard 4 and C
It is configured by connecting an RT display 1iH5, a printer 6, and a floppy disk device 7.

ICカード1は、ユーザが保持し、たとえば商品購入な
どの際にユーザのみが知得している暗証番号の参照や必
要データの蓄積などを行なうもので、第17図にその機
能ブロックを示すように、リード・ライト部11、暗証
設定・暗証照合部12、および暗号化・復号化部13な
どの基本機能を実行する部分と、これらの基本機能を管
理するスーパバイザ14とで構成されている。リード・
ライト部11は、カードリーダ・ライタ2との間でデー
タを読出し、書込み、あるいは消去を行なう機能である
。暗証設定・暗証照合部12は、ユーザが設定した暗証
番号の記憶および読出禁止処理を行なうとともに、iI
@証番号の設定後にその暗証番号の照合を行ない、以後
の処理の許可を与える機能である。暗号化・復号化部1
3は、たとえば通信回線を介して制御部3から他の端末
装置へデータを送信する場合の通信データの漏洩、偽造
を防止するための暗号化や暗号化されたデータの復号化
を行なうものであり、たとえばDES(Data   
Encryption  5tandard)など、充
分な暗号強度を有する暗号化アルゴリズムにしたがって
データ処理を行なう機能である。スーパバイザ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, etc., and to store necessary data.The functional blocks of the IC card 1 are shown in FIG. It is comprised of parts that execute basic functions such as a read/write section 11, a password setting/password verification section 12, and an encryption/decryption section 13, and a supervisor 14 that manages these basic functions. Lead
The write section 11 has a function of reading, writing, or erasing data from/to the card reader/writer 2. The password setting/password verification unit 12 stores the password set by the user and prohibits reading it, and also stores the password set by the user.
@This is a function that verifies the PIN number after setting it and gives permission for further processing. Encryption/decryption section 1
3 performs encryption and decryption of encrypted data to prevent leakage and forgery of communication data when transmitting data from the control unit 3 to another terminal device via a communication line, for example. Yes, for example DES (Data
This function performs data processing according to an encryption algorithm with sufficient encryption strength, such as Encryption 5 standard). The supervisor 14 is
This is a function that decodes the function code input from the card reader/writer 2 or the function code added to the data, and selects and executes the necessary function from the basic functions.

これらの諸機能を発揮させるために、ICカード1は例
えば第16図に示すように、制御□□部としての制御素
子(たとえばCPU)15、データメモリ部としての記
憶内容が消去可能な不揮発性のデータメモリ16、プロ
グラムメモリ17、およびカードリーダ・ライタ2どの
電気的接触を得るためのコンタクト部18によって構成
されており、これらのうち破線内の部分(制御素子15
、データメモリ16、プログラムメモリ17)は1つの
ICチップで構成されている。プログラムメモリ17は
たとえばマスクRO〜1で構成されており、前記各基本
機能を実現するサブルーチンを備えた制御素子15のI
II @プログラムが格納されている。
In order to perform these functions, the IC card 1 has a control element (for example, a CPU) 15 as a control section and a non-volatile memory whose storage contents can be erased as a data memory section, as shown in FIG. 16, for example. , a data memory 16, a program memory 17, and a contact section 18 for electrically contacting the card reader/writer 2.
, data memory 16, and program memory 17) are composed of one IC chip. The program memory 17 is composed of, for example, masks RO to 1, and the control element 15 is provided with subroutines for realizing each of the basic functions.
II @Program is stored.

データメモリ16は各種データの記憶に使用され、たと
えばEEPROMで構成されている。
The data memory 16 is used to store various data and is composed of, for example, an EEPROM.

データメモリ16は、たとえば第13図に示すように複
数のエリアに分割されていて、これら各エリアはそれぞ
れ単一または複数のブロックに分割されており、このブ
ロックはある定められたバイト数で構成され、そのブロ
ックを単位として処理するようになっている。また、1
つのブロックは、性質情報(1バイト)と記憶データと
から構成されている。図示するように分割された各エリ
アにはそれぞれエリア番号〔00〜FFIが与えられて
いる。このうち、エリア[Oo]には、第14図に示す
ように、エリア[01〜FF]のそれぞれのブロック内
の記憶データのバイト数、エリアの先頭アドレスおよび
エリアの最終アドレスがエリア番号と対応して記憶され
ている。たとえばエリア[01]の先頭アドレスはaa
a番地、最終アドレスはbbb番地で、また1ブロック
当り6バイトで構成され、記憶データバイト数は1ブロ
ック当り5バイトであるといったように対応している。
The data memory 16 is divided into a plurality of areas, as shown in FIG. 13, for example, and each of these areas is divided into a single block or a plurality of blocks, and each block is composed of a certain number of bytes. The block is then processed as a unit. Also, 1
Each block consists of property information (1 byte) and storage data. As shown in the figure, each divided area is given an area number [00 to FFI]. Among these, in area [Oo], as shown in Figure 14, the number of bytes of storage data in each block of area [01 to FF], the start address of the area, and the end address of the area correspond to the area number. It is remembered as such. For example, the start address of area [01] is aa
The address a and the final address are addresses bbb, each block consists of 6 bytes, and the number of stored data bytes is 5 bytes per block.

そして、各エリアの先頭には、エリアにデータを書込ん
だ際、書込まれた最終ブロックの最終バイトのアドレス
(以下ポインタ情報とする)を記憶する領域がある。こ
こで、図中の斜線部分は各ブロックに対する性質情報が
記憶される箇所である。性質情報は、対応する記憶デー
タが有効か否かを示す識別子と、一連の記憶データ列が
複数ブロックに渡る場合、最終データが記憶されている
ブロックか否かを示す識別子が含まれている。第15図
に性質情報のフォーマント例を示す。図示するように、
第6ビツト目はブロック内の記憶データが有効か否かの
識別子で、このビットが“1″ならば無効であることを
示し、II OITであれば有効であることを示す。第
7ビツト目は一連データの最終バイトが含まれるブロッ
クか否かを示す識別子で、このビットが′1”ならば最
終バイトが含まれていないブロックであることを示し、
110 Nであれば含まれているブロックであることを
示す。なお、第Oないし第5ビツト目はダミービットで
ある。
At the beginning of each area, there is an area for storing the address (hereinafter referred to as pointer information) of the last byte of the last block written when data is written to the area. Here, the shaded areas in the figure are locations where property information for each block is stored. The property information includes an identifier indicating whether the corresponding stored data is valid or not, and, if a series of stored data strings spans multiple blocks, an identifier indicating whether the block stores the final data. FIG. 15 shows an example of the formant of property information. As shown,
The sixth bit is an identifier indicating whether the stored data in the block is valid or not; if this bit is "1", it is invalid, and if it is II OIT, it is valid. The 7th bit is an identifier that indicates whether the block contains the final byte of the series of data. If this bit is '1', it indicates that the block does not contain the final byte.
110 N indicates that the block is included. Note that the Oth to fifth bits are dummy bits.

次に、このような構成においてデータメモリ16に対す
るデータ書込動作を第1図に示すフローチャートを参照
して説明する。データメモリ16にデータを書込む際に
は第2図に示ずようなフォーマットを持つ書込み命令デ
ータを入力する。
Next, the data writing operation to the data memory 16 in such a configuration will be explained with reference to the flowchart shown in FIG. When writing data to the data memory 16, write command data having a format as shown in FIG. 2 is input.

この書込み命令データは、書込みn能コード、エリア番
号および記憶データから構成されている。
This write command data is composed of a write n-capability code, an area number, and storage data.

記憶データは、記憶すべきデータ列とそのデータ列を構
成するバイト数情報(以下データ列バイト数情報という
)とからなっている。定常状態では、カードリーダ・ラ
イタ2からの命令データ持ち状態となっており、このと
きカードリーダ・ライタ2から命令データが入力される
と、制御素子15はまず命令データに含まれる機能コー
ドが書込用のものか否かをi ztする。、書込用のも
のであれば、ill ljD素子15は命令データに付
加されているエリア番号をデータメモリ16のエリア[
00〕から探し出す。見つからなければ、ill 1素
子15は該当エリア無しを意味する応答データを出力し
、命令データ持ち状態に戻る。見つかれば、制御素子1
5はそれに対応した処理単位データを参照する。
The storage data consists of a data string to be stored and information on the number of bytes constituting the data string (hereinafter referred to as data string byte number information). In the steady state, the command data from the card reader/writer 2 is held, and when command data is input from the card reader/writer 2 at this time, the control element 15 first writes the function code included in the command data. I zt whether it is for personal use or not. , if it is for writing, the ill ljD element 15 converts the area number added to the instruction data into the area [
00]. If it is not found, the ill 1 element 15 outputs response data indicating that there is no corresponding area, and returns to the command data holding state. If found, control element 1
5 refers to the corresponding processing unit data.

さて、この記憶データをエリアに書込む際には、制御素
子15はまずエリアの先頭にあるポインタ情報を参照し
、1始めるアドレスを確認する。次に、制御素子15は
命令データ中のデータ列バイト数情報により、入力した
記憶データが全てエリアに書込めるか否かの判定を行な
う。この判定の結果、書込めないと判定すると、制御素
子15はバイト数情報エラーを意味する応答データを出
力し、命令データ持ち状態に戻る。上記判定の結果、書
込めると判定すると、υ110素子15はデータ列バイ
ト数情報と今回命令データ中に含まれているデータ列を
構成するバイト数のチェックを行なう。
Now, when writing this storage data into an area, the control element 15 first refers to the pointer information at the beginning of the area and confirms the address at which 1 starts. Next, the control element 15 determines whether all of the input storage data can be written into the area based on the data string byte number information in the command data. As a result of this determination, if it is determined that writing is not possible, the control element 15 outputs response data indicating a byte number information error, and returns to the command data holding state. If it is determined that writing is possible as a result of the above determination, the υ110 element 15 checks the data string byte number information and the number of bytes constituting the data string included in the current instruction data.

このチェックの結果、前者の値が後者の値よりも小なる
場合、υJIE素子15はバイト数情報エラーを意味す
る応答データを出力し、命令データ持ち状態に戻る。そ
れ以外の場合には前者の値から後者の値を引き、その結
果を残遥値として保持しておく。
As a result of this check, if the former value is smaller than the latter value, the υJIE element 15 outputs response data indicating a byte number information error and returns to the instruction data holding state. In other cases, subtract the latter value from the former value and hold the result as a residual value.

次に、制御素子15はデータ列バイト数情報を構成して
いるビット列の最上位ピットを1”にすることにより、
記憶データを一時無効状態にする。次に、制御素子15
はこの記憶データを処理単位データ数ごとに分割し、こ
の分割したデータのそれぞれに性質情報を付加して記憶
する。このとき、先に保持された残暑値が「0」であれ
ば入力データを全て記憶し、さらに記憶されたデータ列
バイト数情報を構成しているピット列の最上位ビットを
“0”にすることにより、記憶データを有効状態にし、
記憶データ列中の最終バイトが含まれているブロックの
屋終アドレスをポインタ情゛報として記憶する。そして
、制御素子15は書込み終了を意味する応答データを出
力し、命令データ持ち状態に戻る。一方、残m1lli
がrOJ以外であれば、制御!I素子15は最終分割デ
ータのみ記憶せずに内蔵するRAM(ランダム・アクセ
ス・メモリ)に保持し、かつ内蔵する書込み継続受付は
フラグをセットし、次の未書込みブロックの先頭アドレ
スを記憶開始アドレスとして上記RA Mに保持し、同
時に書込み継続受付けを意味する応答データを出力し、
命令データ待ち状態に戻る。
Next, the control element 15 sets the most significant pit of the bit string constituting the data string byte number information to 1".
Temporarily invalidate stored data. Next, the control element 15
divides this stored data into units of processing data, adds property information to each of the divided data, and stores the data. At this time, if the previously stored remaining heat value is "0", all input data is stored, and the most significant bit of the pit string that constitutes the stored data string byte number information is set to "0". By doing this, the stored data is made valid,
The end address of the block containing the last byte in the stored data string is stored as pointer information. Then, the control element 15 outputs response data indicating the end of writing, and returns to the command data holding state. On the other hand, remaining m1lli
If is other than rOJ, control! The I element 15 does not store only the final divided data, but retains it in the built-in RAM (random access memory), and the built-in write continuation acceptance flag is set, and the start address of the next unwritten block is set as the storage start address. is held in the RAM as above, and at the same time outputs response data indicating acceptance of continued writing.
Return to command data waiting state.

次に、継続書込動作について第3図に示すフローチャー
トを参照して説明する。継続書込みを行なう際には第4
図に示すようなフォーマットを持つ継続書込み命令デー
タを入力する。この継続書込み命令データは、継続書込
み機能コードと記憶データとから構成されている。継続
書込み命令データが入力されると、制御11子15はま
ず先の書込み継続受付はフラグを参照し、そのフラグが
セットされているか否かを確認する。その結果、書込み
継続受付はフラグがセットされていなければ、制御素子
15はシーケンスエラーを意味する応答データを出力し
、命令データ待ち状態に戻る。N込み継続受付はフラグ
がセットされていれば、制御素子15は入力した記憶デ
ータを構成するバイト数と先の残tillをチェックす
る。このチェックの結果、前者の値が後者の値よりも大
なる場合、制御素子15はバイト数情報エラーを意味す
る応答データを出力し、命令データ持ち状態に戻る。
Next, the continuous write operation will be explained with reference to the flowchart shown in FIG. When performing continuous writing, the fourth
Input continuous write command data having the format shown in the figure. This continuous write command data is composed of a continuous write function code and storage data. When the continuation write command data is input, the control 11 child 15 first refers to the previous write continuation reception flag and confirms whether or not the flag is set. As a result, if the write continuation acceptance flag is not set, the control element 15 outputs response data indicating a sequence error and returns to the command data waiting state. If the flag is set for N-include continuation reception, the control element 15 checks the number of bytes constituting the input storage data and the previous remaining till. As a result of this check, if the former value is larger than the latter value, the control element 15 outputs response data indicating a byte number information error and returns to the command data holding state.

それ以外の場合には後者の値から前者の値を引き、その
結果を新たな残m値として保持しておく。
In other cases, the former value is subtracted from the latter value, and the result is held as a new remaining m value.

次に、制御素子15は入力した記憶データの前に先にR
AMに保持しておいた前回最終分割データを付加して新
たな記憶データを生成し、これを処理単位データ数ごと
に分割し、この分割したデータのそれぞれに性質情報を
付加する。そして、先にRA〜1に保持した記憶開始ア
ドレスをもとにデータを記憶する。このとき、先に保持
した新規の残」値が「O」であれば、記憶データの全て
を記憶し、さらに先に記憶されたデータ列バイト数情報
の最上位ビットを“0″にし、記憶データ列中の最終バ
イトが含まれているブロックの最終アドレスをポインタ
情報として記憶する。そして、制御素子15は書込み継
続受付はフラグをリセットし、自込み終了を意味する応
答データを出力し、命令データ待ち状態に戻る。一方、
残量値が「0」以外であれば、制御素子15はRt4分
割データのみ記憶せずに内蔵するRAMに保持し、かつ
書込み継続受付はフラグをセットし、次の未書込みブロ
ックの先頭アドレスを記憶開始アドレスとして上記RA
Mに侃持し、同時に書込み継続受付けを意味する応答デ
ータを出力し、命令データ待ち状態に戻る。
Next, the control element 15 first performs R before the input storage data.
New stored data is generated by adding the previous final divided data held in the AM, divided into units of processing data, and property information is added to each of the divided data. Then, data is stored based on the storage start address previously held in RA~1. At this time, if the new "remaining" value stored earlier is "O", all of the stored data is stored, the most significant bit of the data string byte number information stored earlier is set to "0", and the data is stored. The final address of the block containing the final byte in the data string is stored as pointer information. Then, the control element 15 resets the flag to accept write continuation, outputs response data indicating completion of self-programming, and returns to the command data waiting state. on the other hand,
If the remaining amount value is other than "0", the control element 15 holds only the Rt4 divided data in the built-in RAM without storing it, sets a flag to accept write continuation, and sets the start address of the next unwritten block. The above RA is used as the storage start address.
At the same time, it outputs response data indicating acceptance of continued writing, and returns to the command data waiting state.

このようにして、1回の伝送では書込みきれないデータ
列を記憶する。ただし、ブロックごとに記憶した際、付
加する性質情報のうち第7ビツト目を“0”にする。ま
た、特に残量値がrOJとなった場合の最終分割データ
が記憶されるブロックには第7ビツト目および第6ビツ
ト目を共にO”にする。
In this way, data strings that cannot be written in one transmission are stored. However, when storing each block, the seventh bit of the added property information is set to "0". In addition, both the 7th bit and the 6th bit are set to "O" in the block where the final divided data is stored especially when the remaining amount value becomes rOJ.

すなわち、たとえば第5図(a)に示すような命令デー
タが入力されたとする。これは書込み命令データであり
、対象とするエリアは[02FであるとIIする。エリ
ア[02コの処理単位バイト数は4バイトである。まず
、入力した命令データ中のバイト数情報を抽出し、同時
にエリア[02]の先頭に位置するポインタ情報を参照
し、記憶データが全て記憶できることを確認後、バイト
数情報の最上位ビットを“1パにする(第5図b)。次
に、記憶データのバイト数とバイト数情報の値から残量
値をセットする(第5図C)。この場合、バイト数情報
が「11」で、今回の記憶データのバイト数が「5」で
あるので残量値は「6」となる。次に、記憶データを処
理単位バイト数で分割しく第5図d)、第5図(e)に
示すようにエリア[021に記憶する。ただし、残量値
は「0」以外なので最終分割データは記憶しない。そし
て、次に書込むべきアドレスを保持し、書込み継続受付
はフラグをセットする。
That is, suppose, for example, command data as shown in FIG. 5(a) is input. This is write command data, and the target area is [02F]. The processing unit number of bytes for area [02 is 4 bytes. First, extract the byte number information from the input instruction data, refer to the pointer information located at the beginning of area [02] at the same time, and after confirming that all the storage data can be stored, set the most significant bit of the byte number information to “ (Fig. 5b).Next, set the remaining capacity value from the number of bytes of the stored data and the value of the byte number information (Fig. 5C).In this case, if the byte number information is "11", , since the current number of bytes of stored data is "5", the remaining amount value is "6". Next, the stored data is divided by the number of bytes per processing unit and stored in area [021] as shown in FIG. 5(d) and FIG. 5(e). However, since the remaining amount value is other than "0", the final divided data is not stored. Then, the address to be written next is held, and a flag is set to accept writing continuation.

この状態で、第51(f)に示すような継続書込み命令
データが入力されたとすると、この命令データ中の記憶
データ数をチェックし、よければ先の残量値と今回の記
憶データのバイト数により新たな残量値をセットする〈
第5図g)。この場合、先の残量値は「6」で、今回の
記憶データのバイト数が「6」であるので新たな残m値
はrOJとなる。次に、先に保持しておいた前回最終分
割データと今回入力した記憶データとを合わせ(第5図
h)、記憶データを処理単位バイト数で分割しく第5図
1)、先の書込むべきアドレスにより記憶してゆく〈第
5図j)。このとき、残量値はrOJになっているので
、バイト数情報の最上位ビットを“O″にし、かつ最終
アドレスをポインタ情報として記憶する。
In this state, if continuous write command data as shown in No. 51(f) is input, the number of stored data in this command data is checked, and if it is OK, the previous remaining amount value and the number of bytes of the current stored data are input. Set a new remaining amount value by <
Figure 5g). In this case, the previous remaining amount value was "6" and the current number of bytes of stored data is "6", so the new remaining m value is rOJ. Next, combine the previous final divided data held earlier with the memory data input this time (Fig. 5 h), divide the stored data by the processing unit number of bytes (Fig. 5 1), and write the previous data. The information is stored according to the desired address (Fig. 5j). At this time, since the remaining amount value is rOJ, the most significant bit of the byte number information is set to "O" and the final address is stored as pointer information.

次に、データメモリ16に対するデータ読出動作を第6
図に示すフローチャートを参照して説明する。データメ
モリ16に記憶したデータを読出す際には第7図に示す
ようなフォーマットを持つ読出し命令データを入力する
。この読出し命令データは、読出し機能コードおよびエ
リア番号から構成されている。定常状態では、カードリ
ーダ・ライタ2からの命令データ持ち状態となっており
、このときカードリーダ・ライタ2がら命令データが入
力されると、制御素子15はまず命令データに含まれる
機能コードが読出用のものが否かを確認する。読出用の
ものであれば、制御素子15は命令データに付加されて
いるエリア番号をデータメモリ16のエリア[00コか
ら探し出す。見つからなければ、制御素子15は該当エ
リア無しを意味する応答データを出力し、命令データ待
ち状態に戻る。見つかれば、!ill!l素子15はそ
れに対応した処理単位データを参照し、同時にエリアの
先頭アドレスおよび最終アドレスを内蔵するR A M
に記憶しておく。さて、このエリア内のデータを読出す
際には、制御素子15はまずエリアの先頭に位置するポ
インタ情報を参照する。その結果、このポインタ情報の
全ビットが1″であれば、制御素子15はこのエリアに
は何も記憶されていないとil!し、未書込みエリアを
意味する応答データを出力し、命令データ待ち状態に戻
る。
Next, the data read operation for the data memory 16 is performed in the sixth step.
This will be explained with reference to the flowchart shown in the figure. When reading data stored in the data memory 16, read command data having a format as shown in FIG. 7 is input. This read command data consists of a read function code and an area number. In the steady state, the command data from the card reader/writer 2 is held, and when command data is input from the card reader/writer 2 at this time, the control element 15 first reads out the function code included in the command data. Check to see if there is one for you. If it is for reading, the control element 15 searches the area number added to the command data from area [00] of the data memory 16. If it is not found, the control element 15 outputs response data indicating that there is no corresponding area, and returns to the command data waiting state. If you can find it! ill! The l element 15 refers to the processing unit data corresponding to it, and at the same time, the RAM element 15 contains the start address and end address of the area.
Remember it. Now, when reading data in this area, the control element 15 first refers to pointer information located at the beginning of the area. As a result, if all bits of this pointer information are 1'', the control element 15 determines that nothing is stored in this area, outputs response data indicating an unwritten area, and waits for command data. Return to state.

一方、ポインタ情報の全ビットが1″でなければ、制御
素子15はこのポインタ情報をもとにエリア内の最新デ
ータの先頭ブロックを認識する。
On the other hand, if all bits of the pointer information are not 1'', the control element 15 recognizes the first block of the latest data in the area based on this pointer information.

この先頭ブロックにはバイト数情報が記憶されているの
で、制御素子15はこのバイト数情報を抽出してその値
をチェックし、データ列がエリアに存在できる値か否か
を調べる。その結果、存在できない不当な値だと判定す
ると、制御素子15はバイト数情報エラーを意味する応
答データを出力し、命令データ持ち状態に戻る。存在で
きるような正当な値だと判定すると、制御素子15は上
記抽出したバイト数情報を内蔵するカウンタの初期値と
してセットする。このとき、上記バイト数情報の最上位
ビットが“1”になっている場合、制御素子15はこれ
に続くデータ列は無効データであると認識し、内蔵する
無効データ有りフラグをセットする。次に、制御素子1
5はバイト数情報の後に続くデータ列を1バイトずつ読
出し、内蔵するRAMに記憶してゆく。この際、1バイ
ト読出すごとに上記カウンタを1つ減算する。ただし、
性質情報を読出す際にはカウンタは不変で、RAMにも
記憶しない。
Since byte number information is stored in this first block, the control element 15 extracts this byte number information and checks its value to determine whether the data string can exist in the area. As a result, if it is determined that the value is an invalid value that cannot exist, the control element 15 outputs response data indicating a byte number information error, and returns to the command data holding state. If it is determined that it is a valid value that can exist, the control element 15 sets the extracted byte number information as the initial value of a built-in counter. At this time, if the most significant bit of the byte number information is "1", the control element 15 recognizes that the following data string is invalid data, and sets a built-in invalid data presence flag. Next, control element 1
5 reads out the data string following the byte number information one byte at a time and stores it in the built-in RAM. At this time, the counter is decremented by one each time one byte is read. however,
When reading the property information, the counter remains unchanged and is not stored in the RAM.

このようにして、記憶データをカウンタが「0」になる
まで順次RA〜1内に記憶する。しかし、RAMの容量
が限られているため、カウンタがrOJになる前にRA
M内に記憶したデータ数がこの容量となった場合、制御
素子15はこのカウンタ値と今回読出しデータの最終ア
ドレスを保持しておき、同時に内蔵する読出し継続受付
はフラグをセットする。そして、制御素子15は読出し
継続受付けを意味する応答データにRA〜1内のデータ
列を付加して出力し、命令データ待ち状態に戻る。一方
、カウンタ値がrOJであれば、制御素子15は無効デ
ータ有りフラグがセットされているか否かをチェックし
、セットされていなければ読出し終了を意味する応答デ
ータにRAM内のデータ列を付加して出力し、命令デー
タ持ち状態に戻る。無効データ有りフラグがセットされ
ていれば、制御素子15は無効データを意味する応答デ
ータにRAM内のデータ列を付加して出力し、命令デー
タ待ち状態に戻る。
In this way, the stored data is sequentially stored in RA~1 until the counter reaches "0". However, because the RAM capacity is limited, the RAM is loaded before the counter reaches rOJ.
When the number of data stored in M reaches this capacity, the control element 15 holds this counter value and the final address of the current read data, and at the same time sets a built-in read continuation acceptance flag. Then, the control element 15 adds the data string in RA~1 to the response data indicating acceptance of continued reading and outputs the result, and returns to the command data waiting state. On the other hand, if the counter value is rOJ, the control element 15 checks whether or not the invalid data presence flag is set, and if it is not set, adds the data string in the RAM to the response data, which means that reading has ended. output and return to the state with instruction data. If the invalid data presence flag is set, the control element 15 adds the data string in the RAM to the response data indicating invalid data and outputs it, and returns to the command data waiting state.

次に、継続読出動作について第8図に示すフローチャー
トを参照して説明する。11M読出しを行なう際には第
9図に示すようなフォーマットを持つ継続読出し命令デ
ータを入力する。この継続続出し命令データは、継続読
出し機能コードおよびエリア番号から構成されている。
Next, the continuous read operation will be explained with reference to the flowchart shown in FIG. When performing 11M reading, continuous read command data having a format as shown in FIG. 9 is input. This continuous read command data is composed of a continuous read function code and an area number.

継続読出し命令データが入力されると、!+1 制御素
子15はまず先の読出し継続受付はフラグを参照し、そ
のフラグがセットされているか否かを確認する。その結
果、読出し継続受付はフラグがセットされていなければ
、制御素子15はシーケンスエラーを意味する応答デー
タを出力し、命令データ持ち状態に戻る。
When continuous read command data is input,! +1 The control element 15 first refers to the flag to confirm whether or not the flag is set when accepting the read continuation. As a result, if the read continuation acceptance flag is not set, the control element 15 outputs response data indicating a sequence error and returns to the command data holding state.

読出し継続受付はフラグがセットされていれば、制御素
子15は先に保持しておいたアドレスとカウンタ値から
同様にカウンタを1つ減算しながらデータを読出し、R
AMに記憶する。ただし、性質情報を読出す際にはカウ
ンタは不変で、RAMにも記憶しない。そして、カウン
タが「0」となった場合、制御素子15は読出し継続受
付はフラグをリセットし、無効データ有りフラグがセッ
トされているか否かをチェックし、セットされていなけ
れば読出し終了を意味する応答データにRAM内のデー
タ列を付加して出力し、命令データ持ち状態に戻る。無
効データ有りフラグがセットされていれば、制ms子1
5は無効データを意味する応答データにRAM内のデー
タ列を付加して出力し、命令データ持ち状態に戻る。一
方、カウンタがrOJとなる前にRAMの容量が満たさ
れた場合、l1lIIIll素子15はこのカウンタ値
と今回読出しデータの最終アドレスを保持しておき、同
時に読出し継続受付はフラグをセットする。そして、制
御素子15は読出し継続受付けを意味する応答データに
RA M内のデータ列を付加して出力し、命令データ待
ち状態に戻る。
If the read continuation acceptance flag is set, the control element 15 reads the data while subtracting one counter from the previously held address and counter value.
Store in AM. However, when reading the property information, the counter remains unchanged and is not stored in the RAM. Then, when the counter becomes "0", the control element 15 resets the read continuation acceptance flag and checks whether the invalid data presence flag is set, and if it is not set, it means that the read is finished. The data string in the RAM is added to the response data and output, and the state returns to the state with command data. If the invalid data flag is set, control child 1
5 adds the data string in the RAM to the response data meaning invalid data and outputs the result, returning to the command data holding state. On the other hand, if the RAM capacity is filled before the counter reaches rOJ, the l1lIIIll element 15 holds this counter value and the final address of the current read data, and at the same time sets a flag to accept read continuation. Then, the control element 15 adds the data string in the RAM to the response data indicating acceptance of continued reading and outputs it, and returns to the command data waiting state.

すなわち、たとえば第5図(j)のような状態のエリア
(エリアr02J )を対象に、第10図(a)に示す
ような読出し命令データにより読出しを行なうものとす
る。ただし、RAMの容量は例えば8バイトであるとす
る。この場合、この命令データで読出されるデータ列は
第10図(b)のようなデータ列であり、かつバイト数
情報は11バイトを示している。したがって、読出した
データ列をRAMに記憶した状態においてカウンタは「
5」である。カウンタの値は「0」以外なので、読出し
継続受付けを意味する応答データとして、このデータ列
を付加して出力する(第10図C)。次に、第10図(
d)に示すような継続読出し命令データが入力されると
、RAM内には第10図(e)に示すようなデータ列が
記憶される。このとき、カウンタはrOJになっている
ので、読出し終了を意味する応答データにこのデータ列
を付加して出力する(第10図f)。
That is, assume that reading is performed using read command data as shown in FIG. 10(a), for example, for an area (area r02J) in a state as shown in FIG. 5(j). However, assume that the capacity of the RAM is, for example, 8 bytes. In this case, the data string read with this instruction data is a data string as shown in FIG. 10(b), and the byte number information indicates 11 bytes. Therefore, in the state where the read data string is stored in the RAM, the counter is "
5". Since the value of the counter is other than "0", this data string is added and output as response data indicating acceptance of continued reading (FIG. 10C). Next, Figure 10 (
When continuous read command data as shown in d) is input, a data string as shown in FIG. 10(e) is stored in the RAM. At this time, since the counter is at rOJ, this data string is added to the response data indicating the end of reading and output (FIG. 10f).

次に、データメモリ16に対するデータ消去動作を第1
1図に示すフローチャートを参照して説明する。データ
メモリ16に記憶したデータを消去する際には第12図
に示すようなフォーマットを持つ消去命令データを入力
する。この消去命令データは、消去礪能コードおよびエ
リア番号から構成されている。定常状態では、カードリ
ーダ・ライタ2かうの命令データ持ち状態となっており
、このときカードリーダ・ライタ2から命令データが入
力されると、υIyA素子15はまず命令データに含ま
れる機能コードが消去用のものか否かを確認する。消去
用のものであれば、制御素子15は命令データに付加さ
れているエリア番号をデータメモリ16のエリア[00
Fから探し出す。見つからなければ、制御素子15は該
当エリア無しを意味する応答データを出力し、命令デー
タ持ち状態に戻る。見つかれば、制御素子15はエリア
の先頭アドレスを参照し、このエリアのポインタ情報を
確認する。その結果、このポインタ情報の全ビットが1
”であれば、制御素子15はこのエリアには何も記憶さ
れていないと認識し、未書込みエリアを意味する応答デ
ータを出力し、命令データ持ち状態に戻る。一方、ポイ
ンタ情報の全ビットが“1”でなければ、制御素子15
はこのポインタ情報の全ビットを“1”にし、消去終了
を意味する応答データを出力し、命令データ待ち状態に
戻る。
Next, the data erasing operation for the data memory 16 is performed in a first manner.
This will be explained with reference to the flowchart shown in FIG. When erasing data stored in the data memory 16, erasure command data having a format as shown in FIG. 12 is input. This erasure command data consists of an erasure enablement code and an area number. In the steady state, the card reader/writer 2 has command data, and when command data is input from the card reader/writer 2 at this time, the υIyA element 15 first erases the function code included in the command data. Check whether it is for use. If it is for erasing, the control element 15 converts the area number added to the command data into the area [00
Find it from F. If it is not found, the control element 15 outputs response data indicating that there is no corresponding area, and returns to the command data holding state. If found, the control element 15 refers to the start address of the area and confirms the pointer information of this area. As a result, all bits of this pointer information are 1.
”, the control element 15 recognizes that nothing is stored in this area, outputs response data indicating an unwritten area, and returns to the state with command data.On the other hand, all bits of pointer information are If it is not “1”, the control element 15
sets all bits of this pointer information to "1", outputs response data indicating completion of erasure, and returns to the instruction data waiting state.

以上説明したICカードは、書込あるいは読出処理を行
なうための命令データ(書込み命令データ、読出し命令
データ)により、この処理が完結するか否かの判定を行
ない、完結しない場合には次の処理続行用の命令データ
(継FA書込み命令データ、継続読出し命令データ)を
受付ける状態となり、それを外部に知らせる。また、こ
のとき処理続行用の命令データを受付けると前の処理の
続きを行ない、これも完結するのか判定し、完結しない
場合には再び処理続行用の命令データ受付は状態となる
。また、上記判定で完結したと判定した際には処理続行
用の命令データ受付は不可の状態になり、それを外部に
知らせる。これにより、データの書込時または読出時な
ど、データを複数に分割して伝送することができるため
、記憶データ長および読出データ長が伝送データ長に依
存しない。したがって、冗長度の高いデータアクセスが
可能となる。
The IC card described above uses command data (write command data, read command data) for performing write or read processing to determine whether or not this process is completed, and if it is not completed, the next process is performed. A state is reached in which instruction data for continuation (transfer FA write instruction data, continuous read instruction data) is accepted, and this is notified to the outside. At this time, when command data for continuing processing is accepted, the previous processing is continued, and it is determined whether this is also completed. If it is not completed, the receiving of command data for continuing processing is returned to the state. Further, when it is determined that the process has been completed in the above judgment, the reception of command data for continuing the process becomes impossible, and this is notified to the outside. Thereby, data can be divided into a plurality of parts and transmitted when writing or reading data, so that the storage data length and the read data length do not depend on the transmission data length. Therefore, highly redundant data access is possible.

なお、前記実施例では、制wJ素子、データメモリおよ
びプログラムメモリが1つのICチップで構成されてい
る場合について説明したが、必ずしも1つのI C,チ
ップで構成されている必要はなく、別々のICチップで
構成されていてもよい。
In addition, in the above embodiment, the case where the control wJ element, data memory and program memory are composed of one IC chip has been explained, but it is not necessarily necessary that they are composed of one IC chip, and they may be composed of separate IC chips. It may be composed of an IC chip.

また、前記実施例では、携帯可能電子装置としてICカ
ードを例示したが、本発明はカード状のものに限定され
るものでなく、たとえばブロック状あるいはペンシル状
のものでもよい。また、携帯可能電子装置のハード構成
もその要旨を逸脱しない範囲で種々変形可能である。
Further, in the above embodiments, an IC card is used as an example of a portable electronic device, but the present invention is not limited to a card-shaped device, and may be, for example, a block-shaped or pencil-shaped device. Furthermore, the hardware configuration of the portable electronic device can be modified in various ways without departing from the spirit of the invention.

[発明の効果] 以上詳述したように本発明によれば、記憶データ長およ
び続出データ長が伝送データ長に依存せず、よって冗長
度の高いデータアクセスが可能となる携帯可能電子8置
を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, the storage data length and the successive data length do not depend on the transmission data length, and therefore, a portable electronic 8-position device is provided in which highly redundant data access is possible. Can be provided.

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

図は本発明の一実施例を説明するためのもので、第1図
はデータ書込動作を説明するフローチャート、第2図は
書込み命令データのフォーマットを示す図、第3図は継
続書込動作を説明するフローチャート、第4図は継続書
込み命令データのフォーマットを示す図、第5図はデー
タ書込動作の具体例を説明する図、第6図はデータ読出
動作を説明するフローチャート、第7図は読出し命令デ
ータのフォーマットを示す図、第8図は継続読出動作を
説明するフローチャート、第9図は継続読出し命令デー
タのフォーマットを示す図、第10図はデータ読出動作
の具体例を説明する図、第11図はデータ消去動作を説
明するフローチャート、第12区は消去命令データのフ
ォーマットを示す図、第13図および第14図はデータ
メモリの構成を示す図、第15図は性質情報のフォーマ
ットを示す図、第16図はIC刀−ドに内蔵するICチ
ップの構成を示すブロック図、第17図はICカードの
機能ブロックを示す図、第18図はカード取扱装置の構
成を示すブロック図である。 1・・・・・・ICカード(携帯可能電子装置)、2・
・・・・・カードリーダ・ライタ、15・・・・・・υ
I11]素子(制御部)、16・・・・・・データメモ
リ(データメモリ部)、17・・・・・・プログラムメ
モリ、18・・・・・・コンタクト部。 出願人代理人 弁理士 鈴 江 武 彦第2図 第4図 (aン 記憶データ 第5図 第5図 (b) 第11図 第12図 第14図 (0:含まれる l:含まれない) 第15図 第16図 第17図 ÷ 第18図
The figures are for explaining one embodiment of the present invention, and FIG. 1 is a flowchart explaining a data write operation, FIG. 2 is a diagram showing a format of write command data, and FIG. 3 is a continuous write operation. FIG. 4 is a diagram showing the format of continuous write command data, FIG. 5 is a diagram explaining a specific example of data writing operation, FIG. 6 is a flowchart explaining data reading operation, and FIG. 7 is a flowchart explaining data reading operation. 8 is a flowchart explaining the continuous read operation, FIG. 9 is a diagram showing the format of the continuous read instruction data, and FIG. 10 is a diagram explaining a specific example of the data read operation. , FIG. 11 is a flowchart explaining the data erasing operation, section 12 is a diagram showing the format of erasure command data, FIGS. 13 and 14 are diagrams showing the configuration of the data memory, and FIG. 15 is the format of the property information. 16 is a block diagram showing the configuration of the IC chip built into the IC card, FIG. 17 is a diagram showing the functional blocks of the IC card, and FIG. 18 is a block diagram showing the configuration of the card handling device. It is. 1...IC card (portable electronic device), 2.
・・・・・・Card reader/writer, 15・・・・・・υ
I11] element (control section), 16... data memory (data memory section), 17... program memory, 18... contact section. Applicant's representative Patent attorney Takehiko Suzue Figure 2 Figure 4 (a) Memory data Figure 5 Figure 5 (b) Figure 11 Figure 12 Figure 14 (0: Included l: Not included) Figure 15 Figure 16 Figure 17 ÷ Figure 18

Claims (7)

【特許請求の範囲】[Claims] (1)データメモリ部と、このデータメモリ部に対して
データの読出しおよび書込みを行なうための制御部とを
有し、選択的に外部からの入出力を行なう携帯可能電子
装置において、入力される第1の命令データにより処理
を行なう手段と、この手段による処理が前記第1の命令
データにより完結するか否かを判定し、この判定結果を
外部に出力する手段とを具備したことを特徴とする携帯
可能電子装置。
(1) In a portable electronic device that has a data memory section and a control section for reading and writing data to the data memory section, and selectively performs input/output from the outside, The present invention is characterized by comprising means for performing processing based on the first command data, and means for determining whether or not the processing by the means is completed by the first command data, and outputting the result of this determination to the outside. portable electronic device.
(2)前記判定により処理が完結しないと判定された場
合、前記処理を続行するための第2の命令データを受付
ける状態にするとともに外部に受付ける状態であること
を出力し、この受付ける状態で前記第2の命令データが
入力されると前記処理の続行を行なうことを特徴とする
特許請求の範囲第1項記載の携帯可能電子装置。
(2) If it is determined that the process is not completed, the state is set to accept the second command data for continuing the process, and a message indicating that the data is accepted externally is output, and in this accepting state, the 2. The portable electronic device according to claim 1, wherein said processing is continued when second command data is input.
(3)前記判定により処理が完結したと判定された場合
、前記第2の命令データを受付け不可の状態にするとと
もに外部に受付け不可の状態であることを出力し、この
状態で前記第2の命令データが入力されると受付け不可
の状態を意味する応答データを出力することを特徴とす
る特許請求の範囲第2項記載の携帯可能電子装置。
(3) If it is determined that the process has been completed, the second command data is set to a state where it is not accepted, and a message indicating that it is not accepted is outputted to the outside, and in this state, the second command data is set to a state where the process is completed. 3. The portable electronic device according to claim 2, wherein when command data is input, response data indicating an unacceptable state is outputted.
(4)前記処理の続行を行なった際、前記第2の命令デ
ータにより促された処理が完結しないと判定した場合、
再び前記第2の命令データを受付ける状態にするととも
に外部に受付け状態であることを出力することを特徴と
する特許請求の範囲第2項記載の携帯可能電子装置。
(4) When continuing the process, if it is determined that the process prompted by the second command data is not completed,
3. The portable electronic device according to claim 2, wherein the portable electronic device is brought into a state of accepting the second command data again and outputs to the outside that it is in the accepting state.
(5)前記処理の続行を行なった際、前記第2の命令デ
ータにより促された処理が完結したと判定した場合、前
記第2の命令データを受付け不可の状態にするとともに
外部に受付け不可の状態であることを出力することを特
徴とする特許請求の範囲第2項記載の携帯可能電子装置
(5) When continuing the process, if it is determined that the process prompted by the second command data has been completed, the second command data is set to an unacceptable state, and an externally designated non-acceptable state is set. 3. The portable electronic device according to claim 2, wherein the portable electronic device outputs the status.
(6)前記データメモリ部は消去可能な不揮発性メモリ
である特許請求の範囲第1項記載の携帯可能電子装置。
(6) The portable electronic device according to claim 1, wherein the data memory section is an erasable nonvolatile memory.
(7)前記制御部はCPU(セントラル・プロセッシン
グ・ユニット)である特許請求の範囲第1項記載の携帯
可能電子装置。
(7) The portable electronic device according to claim 1, wherein the control section is a CPU (Central Processing Unit).
JP61208253A 1986-09-04 1986-09-04 Portable electronic device Expired - Lifetime JPH0760454B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61208253A JPH0760454B2 (en) 1986-09-04 1986-09-04 Portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61208253A JPH0760454B2 (en) 1986-09-04 1986-09-04 Portable electronic device

Publications (2)

Publication Number Publication Date
JPS6364185A true JPS6364185A (en) 1988-03-22
JPH0760454B2 JPH0760454B2 (en) 1995-06-28

Family

ID=16553185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61208253A Expired - Lifetime JPH0760454B2 (en) 1986-09-04 1986-09-04 Portable electronic device

Country Status (1)

Country Link
JP (1) JPH0760454B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5365629A (en) * 1976-11-24 1978-06-12 Sanyo Electric Co Ltd Memory system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5365629A (en) * 1976-11-24 1978-06-12 Sanyo Electric Co Ltd Memory system

Also Published As

Publication number Publication date
JPH0760454B2 (en) 1995-06-28

Similar Documents

Publication Publication Date Title
JP2537199B2 (en) IC card
US4839792A (en) Portable electronic apparatus with a device for determining data validity
JPH05250523A (en) Processing system
JP2557838B2 (en) IC card
JPS63201748A (en) Portable electronic equipment
KR910001972B1 (en) Processing system for portable electronic apparatus
JPS6364185A (en) Portable electronic device
JPS63787A (en) Portable electronic equipment
JP2537200B2 (en) Portable electronic devices
JPH01217689A (en) Portable electronic equipment
JP2537198B2 (en) Portable electronic devices
JPS63785A (en) Portable electronic equipment
JPS62197848A (en) Portable electronic equipment system
JPS63145582A (en) Data storage system
JP4318494B2 (en) IC card and IC card program
JP2856415B2 (en) Portable electronic devices
JPS62196784A (en) Portable electronic device
JP2675563B2 (en) Portable electronic devices
JPS62130484A (en) Portable electronic device
JPS63211046A (en) Portable electronic equipment
JPS6383894A (en) Portable electronic device
JP2001195362A (en) Device and method for processing transaction and ic card with transaction processing function
JPS6364184A (en) Portable electronic device
JPS63228282A (en) Portable electronic equipment
JPH01177183A (en) Portable electronic device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term