JPH0850641A - Ic card - Google Patents
Ic cardInfo
- Publication number
- JPH0850641A JPH0850641A JP6203074A JP20307494A JPH0850641A JP H0850641 A JPH0850641 A JP H0850641A JP 6203074 A JP6203074 A JP 6203074A JP 20307494 A JP20307494 A JP 20307494A JP H0850641 A JPH0850641 A JP H0850641A
- Authority
- JP
- Japan
- Prior art keywords
- state
- card
- information
- setting
- command
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は,ICカードに関し、特
に、ICカードの実行状態の保存機能と、実行状態の復
帰機能をもったICカードに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card, and more particularly to an IC card having a function of saving the execution state of the IC card and a function of restoring the execution state.
【0002】[0002]
【従来の技術】ICカードは新しい情報記録媒体とし
て、特に磁気カードに代わる情報記録媒体として注目を
集めており次第に普及しつつある。特に、CPUを内蔵
したICカードは、高度なセキュリテイーを有するた
め、種々の分野での利用が期待されている。一般にIC
カードは、RAM、ROM、EEPROMといった3種
類のメモリを内蔵しており、いずれも内蔵CPUによっ
てアクセスされる。ROM内には、CPUが実行すべき
プログラム(ルーチンプログラム)が格納されており、
EEPROMには、ユーザのための個人データなどが格
納される。またRAMは、CPUが命令を実行するとき
のワークエリアとして利用される。2. Description of the Related Art IC cards have been attracting attention as new information recording media, especially as information recording media to replace magnetic cards, and are becoming increasingly popular. In particular, since an IC card having a built-in CPU has a high degree of security, it is expected to be used in various fields. IC in general
The card contains three types of memories such as RAM, ROM, and EEPROM, all of which are accessed by the built-in CPU. A program (routine program) to be executed by the CPU is stored in the ROM,
The EEPROM stores personal data for the user. The RAM is also used as a work area when the CPU executes instructions.
【0003】そして、従来のCPU付きICカードで
は、電源のON/OFFまたは、RESET信号等によ
る処理の再開時に、レジスタやRAM等の揮発性メモリ
の内容をある一定の数値で初期化する。そして、以後
は、レジスタやRAMの内容は処理の実行に応じて書き
換えられる。ICカードの状態の保存の目的でレジスタ
やRAMの内容を不揮発性のメモリEEPROMに退避
させることはない。このように、従来のCPU付きIC
カードでは、レジスタやRAMの状態保存機能と保存情
報をレジスタやRAMにセットする復帰機能を持たない
為、電源OFF等による処理の一時中断、再復帰継続が
できなかった。これにより、ICカードの発行処理に
於いて、処理を複数の段階に分け、異なる機械にて動作
させる場合、各機械での環境設定処理の為のデータ伝送
が生じ、全発行処理を通じてみた場合に、オーバーヘッ
ドとなる。カードの動作不良の際の故障解析情報とし
て処理の結果のみの情報しかない為、故障解析が困難で
ある。多くの関連した一括処理を行う際に、途中で停
電等の障害により処理が中断した場合に、もう一度、始
めから処理を行わなければならない。環境設定処理
(操作フアイルの選択、操作レコードの選択等)の省略
ができない。等の問題が生じていた。In a conventional IC card with a CPU, the contents of a volatile memory such as a register or a RAM are initialized to a certain numerical value when the power is turned on / off or the processing is restarted by a RESET signal or the like. Then, after that, the contents of the register and the RAM are rewritten as the processing is executed. The contents of the registers and RAM are not saved in the nonvolatile memory EEPROM for the purpose of saving the state of the IC card. Thus, the conventional IC with CPU
Since the card does not have the function of saving the state of the register or RAM and the function of restoring the saved information to the register or RAM, it was not possible to temporarily suspend the process due to power-off or the like and to continue the recovery again. As a result, in the process of issuing the IC card, when the process is divided into a plurality of stages and operated by different machines, data transmission for the environment setting process occurs in each machine, , Becomes an overhead. Failure analysis is difficult because there is only information about the result of processing as failure analysis information when a card malfunctions. When performing many related batch processes, if the process is interrupted due to a failure such as a power failure, the process must be performed again from the beginning. The environment setting process (operation file selection, operation record selection, etc.) cannot be omitted. There were problems such as.
【0004】[0004]
【発明が解決しようとする課題】上記のように、従来の
CPU付きICカードにおいては,ICカードの実行状
態の保存機能と、実行状態の復帰機能をもたないため、
種々の問題が生じており、その対応が求められていた。
本発明は、このような状況のもと、CPU付きICカー
ドにおいて,ICカードの実行状態の保存機能と、実行
状態の復帰機能をもたせ、ICカードの処理の中断と処
理の途中からの再開を可能としようとするものであり、
同時にICカードの動作状態を取得することを目的とす
るものである。As described above, the conventional IC card with CPU does not have the function of storing the execution state of the IC card and the function of restoring the execution state.
Various problems have arisen and it has been demanded to deal with them.
Under the circumstances, the present invention provides an IC card with a CPU with a function of saving the execution state of the IC card and a function of restoring the execution state, so that the processing of the IC card can be interrupted and restarted from the middle of the processing. Is something that is going to be possible,
At the same time, the purpose is to acquire the operating state of the IC card.
【0005】[0005]
【課題を解決するための手段】本発明のICカードは、
少なくとも、レジスタ、揮発性メモリ、IOポートの状
態等の、電源の供給停止後の再開やリセット信号により
処理をはじめる際に、状態設定が必要な情報を、EEP
ROM等の不揮発性記録部に保存する状態保存手段と、
不揮発性記録部に保存してある情報により、レジスタ、
揮発メモリ、IOポート等の状態設定が必要な箇所の状
態設定を行う状態設定手段と、ICカードの状態が保存
してあるか否かを示す情報をセットする保存状態セット
手段と、該保存状態セット手段によってセットされた情
報を読み取り判定するセット状態判定手段とを備えたこ
とを特徴とするものである。そして、上記において、外
部からの状態保存命令を認識する状態保存命令認識手
段、及びまたは不揮発性記録部に保存してある情報を揮
発性記憶装置にセットする事を要求する外部からの状態
復帰命令を認識する状態復帰命令認識手段を備えている
ことを特徴とするものである。The IC card of the present invention comprises:
At least, information such as the status of registers, volatile memory, IO ports, etc. that needs to be set when restarting after power supply is stopped or when processing is started by a reset signal
State saving means for saving in a non-volatile recording unit such as a ROM,
By the information stored in the non-volatile recording unit, the register,
State setting means for setting the state of the volatile memory, IO port, etc., where the state setting is required, storage state setting means for setting information indicating whether the state of the IC card is stored, and the storage state And a set state determining means for reading and determining the information set by the setting means. Then, in the above, a state save instruction recognition means for recognizing an external state save instruction, and / or an external state return instruction requesting that the information stored in the non-volatile recording unit be set in the volatile storage device. Is provided with a state return instruction recognition means for recognizing.
【0006】[0006]
【作用】本発明の(実行状態保存機能付き)ICカード
は、上記のような構成にすることにより、ICカードの
実行状態の保存機能と、実行状態の復帰機能とを持たせ
ており、ICカードの処理の中断時状態からの再開を可
能にするものである。そしてまた、外部からの状態保存
命令を認識する手段、外部からの状態復帰命令を認識す
る手段を備えていることにより、任意の時期に外部から
の命令により、状態の保存、状態の復帰を可能にしてい
る。The IC card (with the execution state saving function) of the present invention has the function of saving the execution state of the IC card and the function of restoring the execution state by the above-mentioned configuration. The card processing can be resumed from the state at the time of interruption. Also, by providing a means for recognizing a state save command from the outside and a means for recognizing a state return command from the outside, it is possible to save the state and restore the state by the command from the outside at any time. I have to.
【0007】[0007]
【実施例】本発明のICカードの実施例を挙げ、図面に
そって説明する。図1は本実施例ICカードの機能図を
示すものであり、図1にもとづいて、簡単に本発明のI
Cカードを説明する。本実施例ICカードは、図1に示
すように、状態保存手段101、状態設定手段102、
保存状態セット手段103、セット状態判定手段10
4、状態復帰命令認識手段105、状態保存命令認識手
段106とを持つものである。状態保存手段101は、
ICカードのレジスタ、揮発性メモリ、IOポートの状
態等の、電源の供給停止後の再開やリセット信号により
処理をはじめる際に、初期設定が必要な情報を、EEP
ROM等の不揮発性記録部に保存する手段である。状態
設定手段102は、不揮発性記録部に保存してある情報
により、レジスタ、揮発メモリ、IOポート等の初期設
定が必要な箇所の初期設定を行う手段である。保存状態
セット手段103は、ICカードの状態が保存してある
か否かを示す情報をセットする手段であり、セット状態
判定手段104は、このセットされた情報を判定する手
段である。状態保存命令認識手段106は、外部から任
意の時期ないし自動的に、ICカードのレジスタ、揮発
性メモリ、IOポートの状態等を保存する命令があるか
否かを判断する手段であり、状態保存命令認識手段10
6が命令有りと認識した場合には、状態保存手段101
により所定の情報を保存し、次いで、保存状態セット手
段103により、保存した状態にセットする。状態復帰
命令認識手段105は、ICカードの不揮発性記録部に
保存してある情報により、レジスタ、揮発メモリ、IO
ポート等の初期設定を行う命令が外部からあるか否かを
判断する手段であり、状態復帰命令認識手段105が命
令有りと認識した場合には、保存情報がある場合には、
状態設定手段102により、所定の情報を設定して復帰
させる。尚、本実施例ICカードは、上記のように外部
からの命令により、状態の保存、復帰が可能であるが、
勿論、内部の命令により、自動的に状態の保存、復帰も
可能である。Embodiments of the IC card of the present invention will be described with reference to the drawings. FIG. 1 is a functional diagram of the IC card of the present embodiment, and based on FIG.
The C card will be explained. As shown in FIG. 1, the IC card of this embodiment includes a state storage means 101, a state setting means 102,
Storage state setting means 103, set state determination means 10
4, state recovery command recognition means 105 and state storage command recognition means 106. The state storage means 101 is
Information such as the status of IC card registers, volatile memory, IO ports, etc. that needs to be initialized when restarting after the supply of power is stopped or when processing is started by a reset signal
It is a means for storing in a non-volatile recording unit such as a ROM. The state setting unit 102 is a unit that performs initial setting of a portion such as a register, a volatile memory, an IO port, or the like that requires initial setting, based on information stored in the nonvolatile recording unit. The storage state setting means 103 is means for setting information indicating whether or not the state of the IC card is stored, and the set state determination means 104 is means for determining the set information. The state saving instruction recognition unit 106 is a unit that determines whether or not there is an instruction to save the state of the IC card register, volatile memory, IO port, etc. from the outside at an arbitrary time or automatically. Command recognition means 10
When 6 recognizes that there is a command, the state saving means 101
Predetermined information is saved by, and then saved state setting means 103 sets the saved state. The state recovery command recognition means 105 uses the information stored in the non-volatile recording unit of the IC card to register, volatile memory, and IO.
It is a means for judging whether or not there is an instruction for initializing a port or the like from the outside, and when the state return instruction recognition means 105 recognizes that there is an instruction, when there is stored information,
The state setting means 102 sets predetermined information and restores it. Note that the IC card of this embodiment can save and restore the state by an external command as described above.
Of course, it is possible to automatically save and restore the state by an internal command.
【0008】次に、本発明のICカードの動作として、
第一に、自動的に揮発性記憶部に情報を保存し、復帰を
行う場合の例を挙げ、図2に基づいて説明する。ICカ
ードを端末装置へセット(S201)すると、ICカー
ドのレジスタやRAM等の揮発性メモリの内容をある一
定の数値で初期化する。(S202) 次いで、実行情報を保存するか否かの命令状態を示す情
報保存FLAGを判定し(S203)する。次いで、保
存情報があるか否かを判定し(S204)、有る場合に
は保存情報を揮発性記憶部RAMへセットしてから外部
(端末)からの命令を受信し、無い場合には、そのまま
外部(端末)からの命令を受信する。(S205) 次いで、情報保存FLAGを非保存にセットし(S20
6)、外部(端末)からの命令を実行する。(S20
7) この後、揮発性記憶部RAMの状態を不揮発性記憶部
(EEPROM)に保存し(S208)、情報保存FL
AGを保存にセットする。(S209) 以下、S205からS209を繰り返す。Next, as the operation of the IC card of the present invention,
First, an example in which information is automatically saved in a volatile storage unit and restoration is performed will be described with reference to FIG. When the IC card is set in the terminal device (S201), the contents of the IC card's registers and volatile memory such as RAM are initialized to a certain numerical value. (S202) Next, the information storage FLAG indicating the instruction status as to whether or not to save the execution information is determined (S203). Next, it is determined whether or not there is stored information (S204). If there is stored information, the stored information is set in the volatile storage unit RAM, and then an instruction from the external (terminal) is received. Receive commands from the outside (terminal). (S205) Next, the information storage FLAG is set to non-storage (S20).
6) Execute commands from the outside (terminal). (S20
7) After that, the state of the volatile storage unit RAM is stored in the nonvolatile storage unit (EEPROM) (S208), and the information storage FL is stored.
Set AG to save. (S209) Hereinafter, S205 to S209 are repeated.
【0009】次に、本発明のICカードの動作として、
第二に、自動的に揮発性記憶部に情報を保存し、コマン
ドにより任意の時期に復帰する例を挙げ、図3に基づい
て説明する。ICカードを端末装置へセット(S30
1)すると、ICカードのレジスタやRAM等の揮発性
メモリの内容をある一定の数値で初期化する。(S30
2) 次いで、外部(端末)からの命令を受信し(S30
3)、受信した命令が状態復帰命令であるか否かを判断
する。(S304) ここで、状態復帰命令でない場合には、情報保存FLA
Gを非保存にセット(S305)し、外部(端末)から
の命令を実行する。(S306)し、次いで揮発性記憶
部RAMの状態を不揮発性記憶部EEPROMる保存し
(S307)、この後、情報保存FLAGを保存にセッ
トし(S308)、再度(S303)の処理に移る。
又、ここで、状態復帰命令である場合には、保存情報が
あるか否かを判定し(S310)、有る場合には保存情
報を揮発性記憶部EEPROMにセットし(S31
1)、再度(S303)の処理に移り、無い場合には、
そのまま再度(S303)の処理へ移る。Next, as the operation of the IC card of the present invention,
Secondly, an example in which information is automatically saved in the volatile storage unit and is restored at an arbitrary time by a command will be described with reference to FIG. Set the IC card to the terminal device (S30
1) Then, the contents of the volatile memory such as the register of the IC card and the RAM are initialized to a certain constant value. (S30
2) Next, a command from the outside (terminal) is received (S30
3) It is determined whether or not the received command is a state restoration command. (S304) Here, if it is not the status return command, the information saving FLA
G is set to non-save (S305), and a command from the outside (terminal) is executed. Then, the state of the volatile storage unit RAM is saved in the nonvolatile storage unit EEPROM (S307), and then the information storage FLAG is set to save (S308), and the process proceeds to (S303) again.
If it is a status return command, it is determined whether there is stored information (S310), and if there is stored information, the stored information is set in the volatile memory EEPROM (S31).
1), move to the processing of (S303) again, and if there is not,
Then, the process proceeds to the process of (S303) again.
【0010】次に、本発明のICカードの動作として、
第三に、任意の時期に揮発性記憶部に情報を復帰を行
い、自動的に情報の保存を行う例を挙げ、図4に基づい
て説明する。ICカードを端末装置へセット(S40
1)すると、ICカードのレジスタやRAM等の揮発性
メモリの内容をある一定の数値で初期化する。(S40
2) 次いで、実行情報を保存するか否かの命令状態を示す情
報保存FLAGを判定し(S403)する。次いで、保
存情報があるか否かを判定し(S404)、有る場合に
は保存情報を揮発性記憶部RAMへセットしてから外部
(端末)からの命令を受信し(S405)、無い場合に
は、そのまま外部(端末)からの命令を受信する。(S
406) 次いで、外部(端末)からの命令を受信し、情報保存F
LAGを非保存にセットした(S407)後、受信した
命令が状態保存命令であるか否かを判断する。(S40
8) ここで、状態保存命令でない場合には、そのまま外部
(端末)からの命令を実行(S408)し、再度外部
(端末)からの命令を受信する。(S405) 又、ここで、状態保存命令である場合には、揮発性記憶
部の状態を不揮発性記憶部に保存し(S410)た後、
情報保存FLAGを保存にセットし(S411)再度外
部(端末)からの命令を受信する。(S405)Next, as the operation of the IC card of the present invention,
Thirdly, an example in which information is restored to the volatile storage unit at an arbitrary time and information is automatically saved will be described with reference to FIG. Set the IC card to the terminal device (S40
1) Then, the contents of the volatile memory such as the register of the IC card and the RAM are initialized to a certain constant value. (S40
2) Next, the information storage FLAG indicating the instruction state as to whether or not to save the execution information is determined (S403). Next, it is determined whether or not there is stored information (S404). If there is stored information, the stored information is set in the volatile storage unit RAM and then an instruction from the outside (terminal) is received (S405). Receives a command from the outside (terminal) as it is. (S
406) Next, the command from the outside (terminal) is received, and the information storage F
After setting the LAG to non-save (S407), it is determined whether the received command is a state save command. (S40
8) Here, if it is not the state save command, the command from the outside (terminal) is directly executed (S408), and the command from the outside (terminal) is received again. (S405) If the command is a state saving command, the state of the volatile storage unit is stored in the nonvolatile storage unit (S410).
The information storage FLAG is set to storage (S411), and a command from the outside (terminal) is received again. (S405)
【0011】次に、本発明のICカードの動作として、
第四に、任意の時期に揮発性記憶部に情報を復帰、保存
を行う例を挙げ、図5に基づいて説明する。ICカード
を端末装置へセット(S501)すると、ICカードの
レジスタやRAM等の揮発性メモリの内容をある一定の
数値で初期化する。(S502) 次いで、外部(端末)からの命令を受信し(S50
3)、受信した命令が状態復帰命令であるか否かを判断
する。(S504) ここで、状態復帰命令でない場合には、状態保存命令で
あるか否かを判断し(S505)、状態保存命令でない
場合には外部(端末)からの命令を実行し(S50
6)、状態保存命令である場合には、揮発性記憶部の状
態を不揮発性記憶部に保存した(S510)後、情報保
存FLAGを保存にセットし(S511)再度外部(端
末)からの命令を受信する。(S503) またここで、状態復帰命令である場合には、保存情報が
あるか否かを判断し、ある場合には保存情報を揮発性記
憶装置にセットし(S520)、再度外部(端末)から
の命令を受信し(S503)、無い場合にはそのままと
し(S521)、再度外部(端末)からの命令を受信す
る。(S503)Next, as the operation of the IC card of the present invention,
Fourthly, an example in which information is restored and stored in the volatile storage unit at an arbitrary time will be described with reference to FIG. When the IC card is set in the terminal device (S501), the contents of the volatile memory such as the registers and RAM of the IC card are initialized with a certain fixed value. (S502) Next, a command from the outside (terminal) is received (S50
3) It is determined whether or not the received command is a state restoration command. (S504) Here, if it is not a state return instruction, it is judged whether it is a state saving instruction (S505), and if it is not a state saving instruction, an instruction from the outside (terminal) is executed (S50).
6) If it is a state save command, after saving the state of the volatile storage unit in the non-volatile storage unit (S510), set the information storage FLAG to save (S511) and again send an instruction from the external (terminal). To receive. (S503) If it is a status return command, it is determined whether or not there is stored information. If there is stored information, the stored information is set in the volatile storage device (S520), and the external (terminal) is restarted. From the outside (terminal) is received again (S503), and if not present, it is left as it is (S521). (S503)
【0012】次に、本発明のICカードの動作として、
第五に、故障解析の為の保存データ読み出し処理例を挙
げ、図6に基づいて説明する。ICカードを端末装置へ
セット(S601)すると、ICカードのレジスタやR
AM等の揮発性メモリの内容をある一定の数値で初期化
する。(S602) 次いで、外部(端末)からの命令を受信し(S60
3)、受信した命令が状態復読み出し命令であるか否か
を判断する。(S604) 状態復読み出し命令でない場合には、そのまま外部(端
末)からの命令を実行する。(S605)した後、再度
外部(端末)からの命令を受信する。(S603) 状態復読み出し命令がある場合には、保存情報があるか
否かを判断し(S610)、有る場合には、状態保存情
報を外部(端末)に送信し(S611)、再度外部(端
末)からの命令を受信する。(S603)、無い場合に
は、そのまま再度外部(端末)からの命令を受信する。
(S603)Next, as the operation of the IC card of the present invention,
Fifthly, an example of a stored data reading process for failure analysis will be given and described with reference to FIG. When the IC card is set in the terminal device (S601), the IC card registers and R
The contents of volatile memory such as AM are initialized to a certain constant value. (S602) Next, a command from the outside (terminal) is received (S60
3) It is determined whether or not the received command is a status recovery read command. (S604) If it is not the status read command, the command from the outside (terminal) is executed as it is. After (S605), the command from the outside (terminal) is received again. (S603) If there is a status read command, it is determined whether or not there is saved information (S610). If there is, the status saved information is transmitted to the outside (terminal) (S611), and again the outside (terminal). Terminal). (S603), if not present, the command from the outside (terminal) is received again as it is.
(S603)
【0013】[0013]
【効果】本発明のICカードは、このように、ICカー
ドの実行状態の保存機能と、実行状態の復帰機能とを持
たせており、ICカードの処理の中断時状態からの再開
を可能にするものである。そしてまた、EEPROM等
の不揮発性記録部に保存された状態保存情報を読み出す
事により、ICカードの故障解析の際、故障が発生した
処理、状態を容易に特定できるものとしている。更に、
ICカードの処理の途中からの再開と、保存情報を読み
出す事で、ICカードの実行状態を外部から調べる事を
可能としている。[Effect] As described above, the IC card of the present invention is provided with the function of storing the execution state of the IC card and the function of restoring the execution state, so that it is possible to restart the IC card from the interrupted state. To do. Further, by reading the state storage information stored in the non-volatile recording section such as the EEPROM, it is possible to easily specify the process and state in which the failure has occurred during the failure analysis of the IC card. Furthermore,
By restarting the processing of the IC card from the middle and reading the stored information, the execution state of the IC card can be checked from the outside.
【図1】本発明のICカードの構成図FIG. 1 is a block diagram of an IC card of the present invention.
【図2】本発明のICカードの要部動作フロー図FIG. 2 is a flow chart of the operation of the essential parts of the IC card of the present invention.
【図3】本発明のICカードの要部動作フロー図FIG. 3 is a flowchart showing the operation of the main part of the IC card of the present invention.
【図4】本発明のICカードの要部動作フロー図FIG. 4 is a flow chart of the operation of the essential parts of the IC card of the present invention.
【図5】本発明のICカードの要部動作フロー図FIG. 5 is a flowchart showing the operation of the essential parts of the IC card of the present invention.
101 状態保存手段 102 状態設定手段 103 保存状態セット手段 104 セット状態判定手段 105 状態復帰命令認識手段 106 状態保存命令認識手段 101 State Saving Means 102 State Setting Means 103 Saving State Setting Means 104 Set State Determining Means 105 State Return Command Recognition Means 106 State Saving Command Recognition Means
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成6年12月2日[Submission date] December 2, 1994
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明のICカードの構成図FIG. 1 is a block diagram of an IC card of the present invention.
【図2】本発明のICカードの要部動作フロー図FIG. 2 is a flow chart of the operation of the essential parts of the IC card of the present invention.
【図3】本発明のICカードの要部動作フロー図FIG. 3 is a flowchart showing the operation of the main part of the IC card of the present invention.
【図4】本発明のICカードの要部動作フロー図FIG. 4 is a flow chart of the operation of the essential parts of the IC card of the present invention.
【図5】本発明のICカードの要部動作フロー図FIG. 5 is a flowchart showing the operation of the essential parts of the IC card of the present invention.
【図6】本発明のICカードの要部動作フロー図FIG. 6 is a flow chart of the operation of the essential parts of the IC card of the present invention.
【符号の説明】 101 状態保存手段 102 状態設定手段 103 保存状態セット手段 104 セット状態判定手段 105 状態復帰命令認識手段 106 状態保存命令認識手段[Explanation of reference numerals] 101 state saving means 102 state setting means 103 save state setting means 104 set state determining means 105 state return command recognition means 106 state save command recognition means
Claims (2)
IOポートの状態等の、電源の供給停止後の再開やリセ
ット信号により処理をはじめる際に、状態設定が必要な
情報を、EEPROM等の不揮発性記録部に保存する状
態保存手段と、不揮発性記録部に保存してある情報によ
り、レジスタ、揮発メモリ、IOポート等の状態設定が
必要な箇所の状態設定を行う状態設定手段と、ICカー
ドの状態が保存してあるか否かを示す情報をセットする
保存状態セット手段と、該保存状態セット手段によって
セットされた情報を読み取り判定するセット状態判定手
段とを備えたことを特徴とするICカード。1. At least a register, a volatile memory,
State storage means for storing information such as the state of the IO port that needs to be set in a nonvolatile recording unit such as an EEPROM when restarting after power supply is stopped or when processing is started by a reset signal, and a nonvolatile recording Based on the information stored in the unit, a status setting means for setting the status of a register, a volatile memory, an IO port, etc. where the status needs to be set, and information indicating whether or not the status of the IC card is saved. An IC card comprising a storage state setting means for setting, and a set state determining means for reading and determining the information set by the storage state setting means.
命令を認識する状態保存命令認識手段、及びまたは不揮
発性記録部に保存してある情報を揮発性記憶装置にセッ
トする事を要求する外部からの状態復帰命令を認識する
状態復帰命令認識手段を備えていることを特徴とするI
Cカード。2. The state saving command recognizing means for recognizing a state saving command from the outside according to claim 1, and / or an external request for setting information stored in a non-volatile recording unit in a volatile storage device. And a state return instruction recognition means for recognizing the state return instruction from I.
C card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6203074A JPH0850641A (en) | 1994-08-05 | 1994-08-05 | Ic card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6203074A JPH0850641A (en) | 1994-08-05 | 1994-08-05 | Ic card |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0850641A true JPH0850641A (en) | 1996-02-20 |
Family
ID=16467924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6203074A Pending JPH0850641A (en) | 1994-08-05 | 1994-08-05 | Ic card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0850641A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006302130A (en) * | 2005-04-22 | 2006-11-02 | Dainippon Printing Co Ltd | Ic card and program for ic card |
-
1994
- 1994-08-05 JP JP6203074A patent/JPH0850641A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006302130A (en) * | 2005-04-22 | 2006-11-02 | Dainippon Printing Co Ltd | Ic card and program for ic card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6327653B1 (en) | Technique for easily changing operating systems of a digital computer system using at least two pushbuttons | |
US6237091B1 (en) | Method of updating firmware without affecting initialization information | |
KR101051703B1 (en) | Integrated circuit card and integrated circuit card system with suspend / reset function | |
US20030145191A1 (en) | Computer system and method of controlling the same | |
EP0267613B1 (en) | Micro processor capable of being connected with coprocessor | |
US20060047938A1 (en) | Method and apparatus to initialize CPU | |
US5351216A (en) | Premature termination of microcontroller EEPROM write | |
US6925522B2 (en) | Device and method capable of changing codes of micro-controller | |
JPH0850641A (en) | Ic card | |
EP1408406B1 (en) | Arithmetic unit with reduced startup time and method of loading data | |
KR100703164B1 (en) | Data processing device and control method of the same | |
JP2003114831A (en) | Portable electronic device | |
KR101236393B1 (en) | Electric device and control method thereof | |
JPH06139064A (en) | Countermeasure device against bug for electronic equipment | |
KR19990012409A (en) | Register Control Method | |
JPH0855204A (en) | Ic card with cpu and accessible address limiting method of ic card with cpu | |
JPH0496122A (en) | Information processor | |
JPH0498473A (en) | Portable terminal equipment | |
JPH0833838B2 (en) | Computer system | |
JPH04130949A (en) | Simple method for starting system | |
JPH06195210A (en) | Program exchange system | |
JPH04134527A (en) | Operating system selection switching method | |
JPH02125303A (en) | Programmable controller | |
JPS61255440A (en) | Program interruption control system | |
JPH05342009A (en) | Program class managing device for computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040928 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041126 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20051101 |