【発明の詳細な説明】〔産業上の利用分野〕本発明は、ICカードやメモリカード、非接触形ICカ
ードなどの媒体に用いて好適なプログラム制御システム
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program control system suitable for use in media such as IC cards, memory cards, and non-contact IC cards.
ICカードやメモリカードなどにおいては、ユーザデー
タを保持するメモリのほかに、リーダ/ライタからのコ
マンドの判別処理、コマンドに応答してメモリでのユー
ザデータの書込み、読出しをするための処理、通信処理
メモリに保持されているユーザデータの機密性を維持す
るために使用される暗証番号などの照合処理ならびに暗
号、復号の処理など各種処理を行なう中央処理装置(M
PU)も設けられ、このMPUに付随して、これら各種
処理をMPUで実行させるための各種プログラムを格納
したメモリも設けられている。In IC cards, memory cards, etc., in addition to the memory that holds user data, there is also processing for determining commands from the reader/writer, processing for writing and reading user data in memory in response to commands, and communication. The central processing unit (M
A CPU (PU) is also provided, and a memory storing various programs for causing the MPU to execute these various processes is also provided accompanying this MPU.
かかるプログラムを格納する従来の方法としては、第1
に、読取り専用のマスクROM (リードオンリメモリ
)を用い、これに必要な全てのプログラムを格納する方
法と、第2に、マスクROMと書込み可能なROMとを
用い、マスクROMにはMPUの基本的な処理動作のた
めの制御プログラムを格納し、書込み可能なROMにユ
ーザ毎の応用処理プログラムを格納する方法とがある。Conventional methods for storing such programs include the first method.
The second method is to use a read-only mask ROM (read-only memory) to store all the necessary programs.The second method is to use a mask ROM and a writable ROM, and the mask ROM contains the basics of the MPU. There is a method in which control programs for various processing operations are stored, and application processing programs for each user are stored in a writable ROM.
書込み可能なROMとしては、EPROM (電気的書
込み可能なROM) 、E”FROM (電気的に消去
、書込みが可能なROM)などがあり、ユーザデータの
記憶と兼用される。Examples of the writable ROM include EPROM (electrically programmable ROM) and E''FROM (electrically erasable and writable ROM), which are also used to store user data.
ところで、EPROM、E”PROMなどの半導体メモ
リの容量は制約されている。このために、かかる半導体
メモリでは、ユーザデータを記憶するユーザエリアを極
力広くし、ユーザデータの可能な記憶容量を大きくする
ことが望ましい。Incidentally, the capacity of semiconductor memories such as EPROM and E"PROM is limited. For this reason, in such semiconductor memories, the user area for storing user data is made as wide as possible to increase the possible storage capacity of user data. This is desirable.
この点からみると、マスクROMに全てのプログラムを
マスクROMに格納する上記第1の方法は好ましいので
あるが、その反面、プログラムの修正が不可能であり、
標準化の進展に伴なう標準コマンド処理や暗号、通信処
理などの変更や追加したいプログラム、入れ換えたいプ
ログラムなどがあった場合、これに対処することができ
ないという問題がある。From this point of view, the first method described above, in which all programs are stored in the mask ROM, is preferable, but on the other hand, it is impossible to modify the programs.
There is a problem in that it is not possible to deal with changes in standard command processing, encryption, communication processing, etc., as well as programs to be added or replaced as standardization progresses.
これに対し、上記第2の方法によると、マスクROMに
はMPUが動作するに必要な基本プログラムのみが格納
され、他の処理プログラムは書込み可能なROMに格納
されるから、上記のようなプログラムの変更、追加、入
れ換えなどに対処することができる。しかしながら、マ
スクROMには、上記のように、基本プログラムのみが
格納されるから、その利用効率が極めて低く、無駄な使
われ方がなされるという問題がある。On the other hand, according to the second method, only the basic programs necessary for the MPU to operate are stored in the mask ROM, and other processing programs are stored in the writable ROM. It is possible to deal with changes, additions, replacements, etc. However, as described above, since only the basic program is stored in the mask ROM, there is a problem in that its utilization efficiency is extremely low and the program is wasted.
本発明の目的は、かかる問題を解消し、メモリの利用効
率を高め、かつプログラムの変更、追加、入れ替えに充
分対処できるようにしたプログラム制mシステムを提供
することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a program-based m-system that solves such problems, improves memory utilization efficiency, and can adequately cope with changes, additions, and replacements of programs.
上記目的を達成するために、本発明は、中央処理装置の
プログラムメモリとして、予じめ必要な各種プログラム
を全て格納した読取り専用の第1のメモリと各種プログ
ラムを格納できる書込み可能な第2のメモリを用いると
ともに、優先制御手段を設ける。In order to achieve the above object, the present invention provides a read-only first memory in which all necessary various programs are stored in advance and a writable second memory in which various programs can be stored as a program memory of a central processing unit. A memory is used and a priority control means is provided.
中央処理手段は、優先制御手段により、第1のメモリに
優先して第2のメモリに格納されているプログラムを実
行し、指定されたプログラムが第2のメモリに格納され
ていないときのみ、第1のメモリに格納されている指定
プログラムを実行する。The central processing means executes the program stored in the second memory with priority over the first memory using the priority control means, and executes the program stored in the second memory only when the designated program is not stored in the second memory. Execute the specified program stored in memory 1.
第2のメモリには、第1のメモリに格納されているプロ
グラムの変更プログラムや代替プログラム、あるいは新
たな追加プログラムが格納され、たとえば、第1のメモ
リに格納されているプログラムの代替プログラムが第2
のメモリに格納されていて、これらのプログラムが指定
されたときには、第2のメモリに格納されている代替プ
ログラムを優先して実行する。The second memory stores a modification program or alternative program for the program stored in the first memory, or a new additional program. For example, a replacement program for the program stored in the first memory is 2
When these programs are specified, the alternative program stored in the second memory is executed with priority.
以下、本発明の実施例を図面によって説明する。Embodiments of the present invention will be described below with reference to the drawings.
第1図はICカードに適用した場合の本発明によるプロ
グラム制御システムの一実施例を示すブロック図であっ
て、1は入力接点、2はMPU、3はRAM (ランダ
ムアクセスメモリ)、4はマスクROM、5は書込み可
能なROM、6〜11はプログラムエリアである。FIG. 1 is a block diagram showing an embodiment of the program control system according to the present invention when applied to an IC card, in which 1 is an input contact, 2 is an MPU, 3 is a RAM (random access memory), and 4 is a mask. ROM, 5 is a writable ROM, and 6 to 11 are program areas.
同図において、入力接点1は図示しないリーダ/ライタ
と接続され、MPU2の指示により、リーダ/ライタと
の間でデータやコマンドなどの送受を行なう、MPU2
は、マスクROM4の各プログラムエリア6〜9に格納
されたプログラムに従って、起動管理、入力接点1の制
御、RAM3を用いたユーザデータやコマンド、暗証番
号の処理などを実行する。書込み可能なROM5は、た
とえば、E”FROMであって、8にバイト程度の容量
のデータエリアを有し、その一部にプログラムエリア1
0.11なども設けられている。RAM3としては、2
56バイト程度の容量のものが用いられる。In the figure, an input contact 1 is connected to a reader/writer (not shown), and transmits and receives data, commands, etc. to and from the reader/writer according to instructions from the MPU 2.
In accordance with the programs stored in each of the program areas 6 to 9 of the mask ROM 4, the control section 4 executes startup management, control of the input contact 1, and processing of user data, commands, and passwords using the RAM 3. The writable ROM 5 is, for example, an E"FROM, and has a data area with a capacity of about 8 bytes, and a program area 1 in a part of it.
0.11 etc. are also provided. As RAM3, 2
A memory with a capacity of about 56 bytes is used.
マスクROM4には、各種プログラムが格納される。こ
れらプログラムは、当然のことながら、マスクROM4
がICカードに組み込まれて使用される以前に存在する
ものである。ICカードの使用後、プログラムの変更、
追加、入れ換えなどがあったときには、この場合の追加
プログラムや代替プログラムは書込み可能なROM5に
おけるプログラムエリア10などに書き込まれる。また
、書込み可能なROM5にプログラムを書き込む毎に、
その位置を示すデータがプログラムエリア11に書き込
まれる。かかるデータをまとめプログラムモジュールと
いう。この例として、暗号処理のDES、R3Aなどや
T=1.T−14,T=0なとの通信処理および各種オ
プション利用したいコマンド処理などがある。Various programs are stored in the mask ROM 4. These programs are, of course, mask ROM4
This existed before the IC card was incorporated and used. After using the IC card, change the program,
When there is an addition or replacement, the additional program or alternative program in this case is written to the program area 10 in the writable ROM 5 or the like. Also, each time a program is written to the writable ROM5,
Data indicating the position is written into the program area 11. Such data is collectively called a program module. Examples of this include cryptographic processing such as DES, R3A, etc., and T=1. This includes communication processing with T-14, T=0, and command processing that uses various options.
このように書込み可能なROM5にプログラムやプログ
ラムモジュールを書き込み可能とするために、マスクR
OM4の特定のプログラムエリアに書込みプログラムが
格納されており、リーダ/ライタからプログラムの書込
みコマンドがあると、MPU2はこの書込みプログラム
を実行する。また、このような書込み可能なROM5に
格納されたプログラムをMPU2が実行することができ
るようにするために、マスクROM4に予め優先制御プ
ログラムが格納されている。ここでは、この優先制御プ
ログラムはマスクROM4のプログラムエリア7に格納
されているものとする。なお、マスクROM4のプログ
ラムエリア6には入力接点1を制御するための通信プロ
グラムが、プログラムエリア8などにユーザ毎の応用処
理プログラムが、また、プログラムエリア9にマスクR
OM4での各プログラムの格納位置を示すプログラムモ
ジュールが夫々格納されているものとする。In order to be able to write programs and program modules in the writable ROM 5, a mask R is used.
A writing program is stored in a specific program area of the OM4, and when a program writing command is received from the reader/writer, the MPU 2 executes this writing program. Further, in order to enable the MPU 2 to execute a program stored in such a writable ROM 5, a priority control program is stored in advance in the mask ROM 4. Here, it is assumed that this priority control program is stored in the program area 7 of the mask ROM 4. The program area 6 of the mask ROM 4 contains a communication program for controlling the input contact 1, the program area 8 etc. contains an application processing program for each user, and the program area 9 contains a mask R.
It is assumed that program modules indicating the storage locations of each program in OM4 are stored.
プログラムモジュールは、第2図(a)に示すように、
各プログラムに付されたプログラム番号、プログラムの
格納場所の先頭アドレス、プログラムの大きさ(長さ)
を表わすデータからなっており、第2図(b)にその−
例を示すと、たとえばプログラム番号¥1のプログラム
は、マスクメモリ4または書込み可能なROM5の32
00番地(但し、16進数)から始めるエリアに格納さ
れ、その長さは3FF番地分である。The program module is as shown in FIG. 2(a).
Program number assigned to each program, start address of program storage location, program size (length)
It consists of data representing the -
For example, the program with program number ¥1 is 32 in the mask memory 4 or writable ROM 5.
It is stored in an area starting from address 00 (hexadecimal number), and its length is 3FF addresses.
次に、リーダ/ライタからの受信コマンドを実行する場
合について説明する。Next, a case will be described in which a received command from a reader/writer is executed.
第3図は受信コマンドに対するプログラムが書込み可能
なROM5に格納されている場合の動作の流れを示すも
のであって、■、■、・・・・・・が動作順序を表わし
ている。かかる動作をMPU2の制御動作を示す第5図
とともに説明する。FIG. 3 shows the flow of operations when a program for a received command is stored in the writable ROM 5, where ◯, ◯, . . . represent the order of operations. This operation will be explained with reference to FIG. 5 showing the control operation of the MPU 2.
リーダ/ライタがコマンドを出力しく第3図■)。The reader/writer should output commands (Figure 3 ■).
MPU2が待機状態にあった入力接点1を介してこのコ
マンドを受けると(第3図■、第5図のステップ100
) 、MPU2は、まず、マスクROM4のプログラム
エリア6から通信プログラムを読み取り(第3図■)、
これを実行して人力接点1をリーダ/ライタとのデータ
送受可能状態に設定する。この処理が終ると、次に、M
PU2はマスクROM 4のプログラムエリア7からの
優先制御プログラムの読取りに移り(第3図■)、これ
を実行することによって書込み可能なROM5のプログ
ラムエリア10で受信コマンドに対するプログラムのサ
ーチを行なう(第3図■。以上、第5図のステップ10
1)。この場合、プログラムエリア10に受信コマンド
に対するプログラムがあるので、このプログラムがある
ことが検出されると(第5図のステップ102)、次に
、MPU2は、書込み可能なROM5のプログラムエリ
ア11でのこのプロゲラに対する第2図に示したような
プログラムモジュールを実行して(第3図■)プログラ
ムエリア10からこのプログラムを読み取り、これを実
行する(第5図のステップ103)。When the MPU 2 receives this command via the input contact 1 which was in the standby state (Fig. 3, step 100 in Fig. 5)
), the MPU 2 first reads the communication program from the program area 6 of the mask ROM 4 (Fig. 3),
By executing this, the human contact 1 is set to a state where data can be transmitted and received with the reader/writer. After this process is completed, M
The PU 2 moves to reading the priority control program from the program area 7 of the mask ROM 4 (Fig. 3), and by executing this, searches the program area 10 of the writable ROM 5 for a program corresponding to the received command ( Figure 3■.That's it for step 10 in Figure 5.
1). In this case, since there is a program for the received command in the program area 10, when the existence of this program is detected (step 102 in FIG. 5), the MPU 2 next executes the program in the program area 11 of the writable ROM 5. A program module as shown in FIG. 2 is executed for this progera (FIG. 3), and this program is read from the program area 10 and executed (step 103 in FIG. 5).
そこで、たとえば、マスクROM4のプログラムエリア
8に格納されている応用処理プログラムに変更があり、
これの代替プログラムが書込み可能な只へM5のプログ
ラムエリア10に格納されたとすると、プログラムエリ
ア8に格納されている応用処理プログラムに対して受信
コマンドがあった場合には、MPU4は必ずこの応用処
理プログラムに対して変更した書込み可能なROM 5
におけるプログラムエリア10の代替プログラムを実行
するここになる。すなわち、マスクROM4と書込み可
能なROM 5とに同じコマンドに対するプログラムが
あった場合には、優先制御プログラムにより、MPU2
は必ず書込み可能なROM5に格納されているプログラ
ムを優先して実行する。Therefore, for example, if there is a change in the application processing program stored in the program area 8 of the mask ROM 4,
Assuming that an alternative program for this is stored in the program area 10 of the memory M5 that can be written to, when a received command is received for the application processing program stored in the program area 8, the MPU 4 will always receive this application processing program. Writable ROM with changes made to the program 5
This is where the alternative program in program area 10 is executed. That is, if there is a program for the same command in the mask ROM 4 and the writable ROM 5, the priority control program
Always gives priority to the program stored in the writable ROM 5 and executes it.
第4図は受信コマンドに対するプログラムが書込み可能
なROM5に格納されていない場合の動作の流れを示し
、かかる動作を第5図とともに説明する。FIG. 4 shows the flow of operation when the program for the received command is not stored in the writable ROM 5, and this operation will be explained in conjunction with FIG.
第3図の場合と同様に、MPU2はコマンドの受信とと
もに(第5図のステップ100)、マスクROM4のプ
ログラムエリア6での通信プログラムを実行した後(第
4図■〜■)、プログラムエリア7での優先制御プログ
ラムを実行しく第4図■)、書込み可能なROM5のプ
ログラムエリア10で受信コマンドに対するプログラム
のサーチを行なう(第5図のステップ101)。ここで
は、このプログラムはないので、このことを判定すると
(第5図のステップ102) 、MPU2は、次に、マ
スクROM4のプログラムエリア8でのプログラムのサ
ーチに移り(第4図■)、プログラムエリア9でのこの
プログラムに対する第2図に示したようなプログラムモ
ジュールを実行しく第4図■)、プログラムエリア8か
らプログラムを読み取って実行する(第5図のステップ
104)。As in the case of FIG. 3, upon reception of the command (step 100 in FIG. 5), the MPU 2 executes the communication program in the program area 6 of the mask ROM 4 (■ to ■ in FIG. 4), and then executes the communication program in the program area 7. In order to execute the priority control program in FIG. 4), the program area 10 of the writable ROM 5 is searched for a program corresponding to the received command (step 101 in FIG. 5). Here, this program does not exist, so when this is determined (step 102 in FIG. 5), the MPU 2 next moves to search for the program in the program area 8 of the mask ROM 4 (■ in FIG. 4), and A program module as shown in FIG. 2 for this program in area 9 is executed (FIG. 4), and the program is read from program area 8 and executed (step 104 in FIG. 5).
ところで、マスクROM4に格納されている応用処理プ
ログラムなどには、将来一部変更が考えられるものがあ
る。このようなプログラムに対しては、プログラムエリ
ア9におけるプログラムモジュールの変更が考えられる
部分にこれを表わす番号(チエツクポイント)が設けら
れており、この変更があると、この変更部分がチエツク
ポイントと同じ番号が付されて書込み可能なROM5の
プログラムエリア10に格納されるとともに、プログラ
ムエリア11にその変更部分の格納位置を示すデータが
書き込まれる。By the way, some of the application processing programs stored in the mask ROM 4 may be partially changed in the future. For such a program, a number (check point) is provided in the part of the program area 9 where the program module may be changed, and if this change occurs, this changed part will be the same as the check point. The data is numbered and stored in the program area 10 of the writable ROM 5, and data indicating the storage location of the changed portion is written in the program area 11.
そこで、マスクROM4のプログラムエリア9でのプロ
グラムモジュールの実行中、チエツクポイントに達する
と(第5図のステップ105)、MPU2はマスクRO
M7の優先制御プログラムを実行し、書込み可能なRO
Ml0での変更部分のサーチに移る(第5図のステップ
101)。そして、この変更部分がプログラムエリア1
0にあるときにはこれを実行しく第5図のステップ10
2゜103)、これが終ると再びマスクROM4のプロ
グラムエリア9でのプログラムモジュールの実行に移る
が、書込み可能なROM5のプログラムエリア10に変
更部分がないときには(第5図のステップ102)、マ
スクROM4のプログラムエリア9でのプログラムモジ
ュールの実行をm続する。Therefore, when a checkpoint is reached during execution of the program module in the program area 9 of the mask ROM 4 (step 105 in FIG. 5), the MPU 2
Execute the M7 priority control program and write to the RO
The process moves on to searching for a changed part in M10 (step 101 in FIG. 5). And this changed part is program area 1
If the value is 0, execute this step in step 10 of Figure 5.
2゜103), when this is completed, the program starts executing the program module in the program area 9 of the mask ROM 4 again, but if there is no change in the program area 10 of the writable ROM 5 (step 102 in FIG. 5), the program module in the program area 9 of the mask ROM 4 is executed again. Execution of the program module in the program area 9 continues m times.
以上のように、この実施例では、優先制御プログラムに
より、まず、マスクROM4に格納されているプログラ
ムよりも優先して書込み可能なROM5に格納されてい
るプログラムが実行され、書込み可能なROM5に該当
するプログラムがないとき、始めてマスクROM4に格
納されているプログラムが実行される。このため、既存
の必要なプログラムを全てマスクROM4に格納し、そ
の後の変更プログラム、代替プログラム、追加プログラ
ムを書込み可能なROM5に格納するようにすることに
より、これらが優先して実行されることになり、たとえ
ば、マスクROM4に格納されているプログラムの代替
プログラムが書込み可能なROM5に格納されていると
きには、このマスクROM4に格納されているプログラ
ムに代えて、必ずこの代替プロクムが実行されることに
なる。したがって、プログラムの変更、追加、入れ換え
などに対処することができる。As described above, in this embodiment, the priority control program first executes the program stored in the writable ROM 5 with priority over the program stored in the mask ROM 4, and the program corresponding to the writable ROM 5 is executed. When there is no program to be executed, the program stored in the mask ROM 4 is executed for the first time. Therefore, by storing all existing necessary programs in the mask ROM 4 and storing subsequent modified programs, alternative programs, and additional programs in the writable ROM 5, these programs can be executed with priority. For example, when an alternative program to the program stored in the mask ROM 4 is stored in the writable ROM 5, this alternative program will always be executed in place of the program stored in the mask ROM 4. Become. Therefore, it is possible to deal with changes, additions, replacements, etc. of programs.
また、マスクROM4には、必要な全てのブロダラムが
予め格納されるので、マスクROM4の利用効率が向上
して有効な利用が可能となるし、また、変更、追加、代
替プログラムに要する記憶容量はわずかですむので、こ
れによって書込み可能なROM5でのユーザデータが記
憶できる容量は格別制約されるものではない。In addition, since all necessary programmable programs are stored in the mask ROM 4 in advance, the utilization efficiency of the mask ROM 4 is improved and effective use is possible, and the storage capacity required for changes, additions, and alternative programs is reduced. Since it only requires a small amount, this does not particularly restrict the capacity of the writable ROM 5 to store user data.
なお、上記実施例では、ユーザ毎の応用処理データの変
更、追加、入れ換えのみに限らず、通信プログラムなど
の任意のプログラムについても同様であり、たとえば、
通信方式が変更になった場合には、その代替プログラム
を書込み可能なROM5に格納すればよい。Note that the above embodiment is not limited to changing, adding, or replacing application processing data for each user; the same applies to any program such as a communication program, for example,
If the communication method is changed, the alternative program may be stored in the writable ROM 5.
また、書込み可能なROM 5に格納されるデータにつ
いても、第2図に示したようなモジュールでもって、た
とえば、プログラムエリア11のモジュールで管理する
ことができる。これによると、書込み可能なROM5で
の空きエリアを容易に見つけ出すことができ、新たなデ
ータやプログラムの書き込みが短時間で行なえる。この
場合のデータとプログラムとの識別は、データに対して
記号$、プログラムに対しては記号¥というように、区
別可能な異なる記号を付すようにすればよい。Further, data stored in the writable ROM 5 can also be managed by a module such as that shown in FIG. 2, for example, by a module in the program area 11. According to this, a free area in the writable ROM 5 can be easily found, and new data or programs can be written in a short time. In this case, the data and the program may be identified by attaching different distinguishable symbols, such as the symbol $ for data and the symbol ¥ for the program.
さらに、書込み可能なROM5において、プログラムの
格納エリアとデータの格納エリアとを予め区分していて
もよいが、上記のようにプログラムとデータとを管理す
る場合には、書込み可能なROM5の一方側から、プロ
グラムとデータとを区別することなく、入力された順に
書き込むことができる。但し、この場合でも、プログラ
ムモジュールを格納するエリア(プログラムエリア11
)は予しめ設定される。Furthermore, in the writable ROM 5, a program storage area and a data storage area may be separated in advance, but when managing programs and data as described above, one side of the writable ROM 5 , it is possible to write programs and data in the order they were input without distinguishing between them. However, even in this case, the area for storing program modules (program area 11
) is set in advance.
さらに、途中で一且書込み可能なROM5でのデータを
全て吸い上げ、再度レイアウトしながら新しいプログラ
ムとともにそのデータを書き込むようにしてプログラム
の追加をしてもよい。Further, a program may be added by downloading all the data from the writable ROM 5 and writing the data together with the new program while laying out the layout again.
さらにまた、上記実施例では、ユーザにプログラム作成
仕様を提供することにより、ユーザ自身が新たにプログ
ラムを作成してこれを追加することも可能となる。この
ため、特に、標準のISO規格に準拠した物理的条件、
電気的条件(I 5ON7816/1〜3)のカード(
ISOカード)では、単に優先制御プログラムを付加す
るだけで上記の制御動作が可能である。Furthermore, in the above embodiment, by providing the user with the program creation specifications, the user can create and add a new program himself/herself. For this reason, in particular, physical conditions according to standard ISO standards,
Electrical conditions (I 5ON7816/1-3) card (
ISO card), the above control operation is possible by simply adding a priority control program.
〔発明の効果)以上説明したように、本発明によれば、読取り専用のメ
モリに予め必要とするプログラムを全て格納し、その後
の必要なプログラムは書込み可能なメモリに格納して優
先的に実行されるものであるから、読取り専用のメモリ
の利用効率を高くできて有効に使用することができるし
、プログラムの変更、入れ換え、追加にも対処すること
ができる。[Effects of the Invention] As explained above, according to the present invention, all necessary programs are stored in advance in a read-only memory, and subsequent necessary programs are stored in a writable memory and executed preferentially. Therefore, read-only memory can be used more efficiently and effectively, and it is also possible to deal with changes, replacements, and additions to programs.
また、書込み可能なメモリにデータを記憶する場合にお
いては、このメモリに格納されるプログラムの記憶容量
はわずかなものであるから、データの記憶容量が格別制
約されるものではなく、特に、8〜IOKバイト程度の
小さい記憶容量のカード状媒体に対し、極めて有効であ
る。Furthermore, when data is stored in a writable memory, the storage capacity of the program stored in this memory is small, so there is no particular restriction on the data storage capacity. It is extremely effective for card-like media with a small storage capacity of IOK bytes.
第1図は本発明によるプログラムilJ?ilシステム
の一実施例を示すブロック図、第2図はこの実施例にお
けるプログラムモジュールの一具体例を示す図、第3図
および第4図は夫々第1図における動作の流れを示す図
、第5図は第1図における中央処理装置の制御動作を示
すフローチャートである。2・・・・・・・・・中央処理装置、4・・・・・・・
・・マスクROM。5・・・・・・・・・書込み可能なROM、7・・・・
・・・・・優先制御プログラムのプログラムエリア、9
,1o・・・・・・・・・プログラムモジュールのプロ
グラムエリア。第1図第3図1152図(a)(b)第4図FIG. 1 shows the program ilJ? according to the present invention. FIG. 2 is a block diagram showing one embodiment of the il system; FIG. 2 is a diagram showing a specific example of a program module in this embodiment; FIGS. FIG. 5 is a flowchart showing the control operation of the central processing unit in FIG. 2... Central processing unit, 4...
...Mask ROM. 5...Writable ROM, 7...
...Program area of priority control program, 9
, 1o...Program area of the program module. Figure 1 Figure 3 1152 (a) (b) Figure 4
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2035096AJPH03240127A (en) | 1990-02-17 | 1990-02-17 | program control system |
| US07/651,545US5252812A (en) | 1990-02-17 | 1991-02-06 | Program control system for portable data storage device |
| DE69123775TDE69123775T2 (en) | 1990-02-17 | 1991-02-12 | Program control system for a portable data storage device |
| EP91301100AEP0451936B1 (en) | 1990-02-17 | 1991-02-12 | Program control system for portable data storage device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2035096AJPH03240127A (en) | 1990-02-17 | 1990-02-17 | program control system |
| Publication Number | Publication Date |
|---|---|
| JPH03240127Atrue JPH03240127A (en) | 1991-10-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2035096APendingJPH03240127A (en) | 1990-02-17 | 1990-02-17 | program control system |
| Country | Link |
|---|---|
| US (1) | US5252812A (en) |
| EP (1) | EP0451936B1 (en) |
| JP (1) | JPH03240127A (en) |
| DE (1) | DE69123775T2 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005234898A (en)* | 2004-02-19 | 2005-09-02 | Dainippon Printing Co Ltd | Multi-application IC card and program with application mounted on ROM |
| JP2008134942A (en)* | 2006-11-29 | 2008-06-12 | Dainippon Printing Co Ltd | Information processing apparatus and program thereof, method of manufacturing information processing apparatus, and method of using information processing apparatus |
| JP2013131252A (en)* | 2006-12-07 | 2013-07-04 | Semiconductor Energy Lab Co Ltd | Semiconductor device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB9019423D0 (en)* | 1990-09-06 | 1990-10-24 | Gen Motors Luxembourg Operatio | Electronic controller for vehicle |
| FR2667417B1 (en)* | 1990-10-02 | 1992-11-27 | Gemplus Card Int | MICROPROCESSOR CARD DESIGNED TO RECEIVE MULTIPLE PROGRAMS IN PROGRAMMABLE MEMORY. |
| JP2724046B2 (en)* | 1991-02-07 | 1998-03-09 | 富士写真フイルム株式会社 | IC memory card system |
| FR2683357A1 (en)* | 1991-10-30 | 1993-05-07 | Philips Composants | MICROCIRCUIT FOR PROTECTED PROGRAMMABLE MEMORY CHIP CARD. |
| EP0583723A1 (en)* | 1992-08-20 | 1994-02-23 | THOMSON multimedia | Card, card reader and method for protocol selection |
| EP0583526A1 (en)* | 1992-08-20 | 1994-02-23 | THOMSON multimedia | Card, card reader and method for protocol selection |
| ATE237854T1 (en)* | 1992-10-26 | 2003-05-15 | Intellect Australia Pty Ltd | HOST-USER TRANSACTION SYSTEM |
| JP3480958B2 (en)* | 1993-02-19 | 2003-12-22 | 富士通株式会社 | Character file access method |
| JP3568970B2 (en)* | 1993-04-12 | 2004-09-22 | 株式会社東芝 | IC card issuing device |
| US5555389A (en)* | 1993-07-07 | 1996-09-10 | Hitachi, Ltd. | Storage controller for performing dump processing |
| JP3662946B2 (en)* | 1993-09-22 | 2005-06-22 | 株式会社東芝 | File management system and portable electronic device |
| US6145739A (en)* | 1993-10-26 | 2000-11-14 | Intellect Australia Pty Ltd. | System and method for performing transactions and an intelligent device therefor |
| US5679944A (en) | 1994-06-15 | 1997-10-21 | Dallas Semiconductor Corporation | Portable electronic module having EPROM memory, systems and processes |
| DE4425388B4 (en)* | 1994-07-19 | 2005-07-21 | Robert Bosch Gmbh | control unit |
| DE4440127B4 (en)* | 1994-11-10 | 2007-11-08 | Robert Bosch Gmbh | control unit |
| US5918006A (en)* | 1994-12-20 | 1999-06-29 | Canon Kabushiki Kaisha | Communication device provided with a storage medium for storing a control program |
| JPH0962583A (en)* | 1995-08-24 | 1997-03-07 | Mitsubishi Electric Corp | Data processor |
| US5832263A (en)* | 1996-03-15 | 1998-11-03 | Digidox, Inc. | System and method for in-place modification of information recorded in read-only storage using modifiable non-volatile storage associated with an agent |
| DE19718115A1 (en)* | 1996-12-23 | 1998-06-25 | Ccs Chipcard & Comm Syst Gmbh | Smart card and method of using the smart card |
| JP3689213B2 (en) | 1997-01-21 | 2005-08-31 | ローム株式会社 | Non-contact IC card |
| US6575372B1 (en) | 1997-02-21 | 2003-06-10 | Mondex International Limited | Secure multi-application IC card system having selective loading and deleting capability |
| US6317832B1 (en) | 1997-02-21 | 2001-11-13 | Mondex International Limited | Secure multiple application card system and process |
| US6164549A (en)* | 1997-05-15 | 2000-12-26 | Mondex International Limited | IC card with shell feature |
| US6488211B1 (en) | 1997-05-15 | 2002-12-03 | Mondex International Limited | System and method for flexibly loading in IC card |
| US6385723B1 (en) | 1997-05-15 | 2002-05-07 | Mondex International Limited | Key transformation unit for an IC card |
| US6220510B1 (en) | 1997-05-15 | 2001-04-24 | Mondex International Limited | Multi-application IC card with delegation feature |
| US6230267B1 (en) | 1997-05-15 | 2001-05-08 | Mondex International Limited | IC card transportation key set |
| US6328217B1 (en) | 1997-05-15 | 2001-12-11 | Mondex International Limited | Integrated circuit card with application history list |
| EP0992027A2 (en)* | 1997-06-23 | 2000-04-12 | Siemens Aktiengesellschaft | Chip card for executing non-modifiable system program routines and replacement program routines allocated thereto, and method for operating the chip card |
| JPH11191149A (en) | 1997-12-26 | 1999-07-13 | Oki Electric Ind Co Ltd | Lsi for ic card and using method therefor |
| US6357665B1 (en) | 1998-01-22 | 2002-03-19 | Mondex International Limited | Configuration of IC card |
| US6736325B1 (en) | 1998-01-22 | 2004-05-18 | Mondex International Limited | Codelets |
| US6742120B1 (en) | 1998-02-03 | 2004-05-25 | Mondex International Limited | System and method for controlling access to computer code in an IC card |
| AU2289999A (en)* | 1998-02-06 | 1999-08-23 | Mondex International Limited | Configuration of ic card |
| AU2573200A (en)* | 1999-02-17 | 2000-09-04 | Sony Corporation | Semiconductor ic, information processing method, information processing device, and program storage medium |
| US6493616B1 (en)* | 1999-08-13 | 2002-12-10 | Clark Equipment Company | Diagnostic and control unit for power machine |
| GB9925227D0 (en) | 1999-10-25 | 1999-12-22 | Internet Limited | Data storage retrieval and access system |
| US7539828B2 (en)* | 2000-08-08 | 2009-05-26 | Faronics Corporation | Method and system for automatically preserving persistent storage |
| JPWO2002041158A1 (en)* | 2000-11-20 | 2004-03-25 | 松下電器産業株式会社 | Non-contact reader / writer, information communication system using the same, and management system using the same |
| RU2313122C2 (en)* | 2002-03-13 | 2007-12-20 | Мацусита Электрик Индастриал Ко., Лтд. | Protected device |
| SG139519A1 (en)* | 2003-07-28 | 2008-02-29 | Seagate Technology Llc | Dynamic mask-rom register patching |
| EP2016535A4 (en) | 2006-04-19 | 2010-06-23 | Stepnexus Holdings | Methods and systems for ic card application loading |
| JP5795921B2 (en)* | 2011-09-21 | 2015-10-14 | 株式会社東芝 | IC card, portable electronic device, and IC card control method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4028684A (en)* | 1975-10-16 | 1977-06-07 | Bell Telephone Laboratories, Incorporated | Memory patching circuit with repatching capability |
| US4506346A (en)* | 1982-12-01 | 1985-03-19 | At&T Bell Laboratories | Programmable cartridge telephone communication system |
| US4703416A (en)* | 1982-12-10 | 1987-10-27 | American Telephone And Telegraph Company | Apparatus for locating programs resident on a cartridge of a cartridge programmable communication system |
| DE3686291T2 (en)* | 1985-05-29 | 1993-03-11 | Toshiba Computer Eng | CACHE ARRANGEMENT WITH LRU METHOD AND MAGNETIC DISC CONTROL DEVICE WITH SUCH AN ARRANGEMENT. |
| US4829169A (en)* | 1985-07-01 | 1989-05-09 | Toppan Moore Company, Inc. | IC card having state marker for record access |
| US4777355A (en)* | 1986-12-24 | 1988-10-11 | Mitsubishi Denki Kabushiki Kaisha | IC card and system for checking the functionality thereof |
| DE68927361T4 (en)* | 1988-08-12 | 1999-11-04 | Hitachi Maxell, Ltd. | Chip card and procedure for rewriting your program |
| US5136700A (en)* | 1989-12-22 | 1992-08-04 | Digital Equipment Corporation | Apparatus and method for reducing interference in two-level cache memories |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005234898A (en)* | 2004-02-19 | 2005-09-02 | Dainippon Printing Co Ltd | Multi-application IC card and program with application mounted on ROM |
| JP2008134942A (en)* | 2006-11-29 | 2008-06-12 | Dainippon Printing Co Ltd | Information processing apparatus and program thereof, method of manufacturing information processing apparatus, and method of using information processing apparatus |
| JP2013131252A (en)* | 2006-12-07 | 2013-07-04 | Semiconductor Energy Lab Co Ltd | Semiconductor device |
| Publication number | Publication date |
|---|---|
| EP0451936A1 (en) | 1991-10-16 |
| EP0451936B1 (en) | 1996-12-27 |
| DE69123775D1 (en) | 1997-02-06 |
| DE69123775T2 (en) | 1997-07-10 |
| US5252812A (en) | 1993-10-12 |
| Publication | Publication Date | Title |
|---|---|---|
| JPH03240127A (en) | program control system | |
| US20100070707A1 (en) | Portable electronic device and data processing method in portable electronic device | |
| WO2000016199A1 (en) | Method for making memory management table and memory device | |
| JP3771904B2 (en) | Microprocessor circuit with auxiliary register bank | |
| JPH11175667A (en) | Information card processor | |
| JPS5848932B2 (en) | Memory expansion method | |
| JP4747450B2 (en) | Portable information processing device | |
| CN114217737B (en) | Data storage processing method, data storage processing circuit and electronic device | |
| JP2978008B2 (en) | Memory management method | |
| JP2012133656A (en) | Portable electronic apparatus and ic card | |
| JPH10307749A (en) | Memory device | |
| JP4921867B2 (en) | RFID management method, RFID management program, and RFID management apparatus | |
| JP4026796B2 (en) | IC card with command distribution function | |
| JP2974144B2 (en) | Portable electronic devices | |
| JP2798957B2 (en) | Portable electronic devices | |
| JP3668204B2 (en) | Portable electronic device and data area allocation method | |
| CN108089886A (en) | A kind of intelligent card chip downloads the implementation method of program | |
| JP2835159B2 (en) | Portable storage media | |
| JP3884722B2 (en) | Data management method, program, and semiconductor device | |
| JP2024173084A (en) | ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, RECORD WRITING METHOD, AND PROGRAM | |
| JPH04205291A (en) | IC card and its information transmission method | |
| JP2003203211A (en) | Portable electronic devices | |
| JPH0468486A (en) | Portable storage medium | |
| JP3001464B2 (en) | Microprocessor device | |
| JPH05334506A (en) | Ic memory card |