JPS6154583A - Ic card - Google Patents
Ic cardInfo
- Publication number
- JPS6154583A JPS6154583A JP59176329A JP17632984A JPS6154583A JP S6154583 A JPS6154583 A JP S6154583A JP 59176329 A JP59176329 A JP 59176329A JP 17632984 A JP17632984 A JP 17632984A JP S6154583 A JPS6154583 A JP S6154583A
- Authority
- JP
- Japan
- Prior art keywords
- card
- program
- data
- user
- writing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
Description
【発明の詳細な説明】
本発明は、情報を記憶する集積回路(以下,ICと言う
)が組み込まれたICカードに関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an IC card incorporating an integrated circuit (hereinafter referred to as IC) for storing information.
、 〈従来技術〉
磁気カードに代わる.次代のカードとして,情報処理機
能及び情報記憶量にすぐれた1Cチ,プをカードに組み
込んでなるICカードと称されるものが注目されている
。, <Prior art> Replaces magnetic cards. As a next-generation card, a so-called IC card, which has a 1C chip built into the card that has excellent information processing functions and information storage capacity, is attracting attention.
通常ICカードにおいて,必要なデータの書込み読出し
等を行なう際のプログラムは,カードが作製されろ以前
にその中のマイクロプロセツサの内部メモリーに書き込
まれている。Usually, in an IC card, a program for writing and reading necessary data is written into the internal memory of a microprocessor within the card before the card is manufactured.
プログラム作製者はなるべく,多様なユーザーの使用形
態にそう様に配慮してはいるが,すべてのアプリケ−シ
コンに対応するようなプログラムを用意することは、プ
ログラムが非常に繁雑になること、メモリー容量に限り
があること等の問題で難しい。Although program creators try to take into consideration the usage patterns of a wide variety of users, preparing a program that is compatible with all application computers will result in a very complex program and a large amount of memory. This is difficult due to issues such as limited capacity.
また、カード初期化の段階で,メモリーエリアを分割指
定したり,各々にパスワードの有無を指定したり,他の
機能を付加することのできろような,イージーオーダ一
方式のICカードプログラムも考えられるが、該方式の
プログラムでは、それらの一方を指定することにより使
用されなくなる部分のプログラムも用意しなければなら
ず、この部分のプログラムは、該指定を行なった後にも
使用されないままプログラム中に存在するので、限られ
たメモリーエリアを有効に利用できない欠点がある。We are also considering an easy-to-order IC card program that allows you to divide the memory area, specify the presence or absence of a password for each area, and add other functions at the card initialization stage. However, in a program using this method, it is necessary to prepare a part of the program that will no longer be used by specifying one of them, and this part of the program will remain unused even after the specification is made. However, since there are two types of memory, there is a drawback that the limited memory area cannot be used effectively.
〈発明が解決しようとする問題点〉
本発明は1以上の現況に対してなされたものであり、I
Cカードが組立てられた後、ユーザーが目的に応じて、
ICカード内のデータ用外部メモリーに、プログラムエ
リアを設定して必要な処理プログラムを自由に書込める
ようにした10カードを提供するものである。<Problems to be solved by the invention> The present invention has been made in response to one or more current situations, and
After the C card is assembled, the user can
A 10-card card is provided in which a program area is set in an external memory for data in an IC card so that necessary processing programs can be freely written.
く問題点を解決するための手段及び作用〉以下本発明を
図面の参照により、評細に説明を行なう。Means and operation for solving the problems> The present invention will be explained in detail below with reference to the drawings.
ICカードは第2図に示す如く、カード内にマイコンの
、外部メモリf30)が適当な位置に組み込まれている
。端子シカを通して、外部の端末装置と接続されて、必
要な情報の交換、処理が行なわれるようになっている。As shown in FIG. 2, the IC card has an external memory (f30) of a microcomputer built into the card at an appropriate position. It is connected to an external terminal device through a terminal so that necessary information can be exchanged and processed.
第1図は本発明に関するICカードのブロック図を示す
説明図である。1iIj図を参照すると、マイクロコン
ピュータ−(201は、バス線を介して、端末t=io
+ 、外部メモIJ (30)との通信を実行する通信
プログラム、該通信時の情報が正しいかどうかのチェッ
クを行なうチェックプログラム、パスワードなどの秘密
保持を行なう秘密保持プログラム等の基本処理プログラ
ムが予め書き込まれている内部メモリ四がある。さらに
該内部メモ!/ (261のプログラム等によって必要
な処理を実行するC’PUI24J、その他インターフ
ェーヌなどが設けられている。FIG. 1 is an explanatory diagram showing a block diagram of an IC card related to the present invention. Referring to FIG. 1iIj, the microcomputer (201 connects the terminal t=io
+ Basic processing programs such as a communication program to execute communication with the external memo IJ (30), a check program to check whether the information at the time of communication is correct, and a confidentiality program to maintain the confidentiality of passwords etc. are pre-installed. There are four internal memories being written. Further internal notes! / (A C'PUI 24J that executes necessary processing using 261 programs, etc., and other interfaces are provided.
該フィクロコンピューター(2Iと並んである外部メモ
リI3αは、P−ROMを用いてあり1本発明により、
ユーザの必要な処理を行なうプログラムが自由に書き込
めろニーサブログラムエリアIJlr、Ffr望のデー
タを書き込むデータエリア(34)の2つのエリアを設
定しである。The external memory I3α located alongside the phycrocomputer (2I) uses P-ROM.1 According to the present invention,
Two areas are set: a knee program area IJlr in which a user can freely write a program that performs necessary processing, and a data area (34) in which desired data can be written.
端末(41は、端子(221を介してICカード(10
)に接続され、データ、プログラム等を外部メモリ(至
)へ書き込んだり、または該内部メモlj −C30)
のデータを読み出して、 Pfi望の表示制御などを実
行1−る装置である。 −−−・
次により具体的な動作を、第6図のフローチャート図に
基づいて説明する。The terminal (41 is an IC card (10) via the terminal (221)
) to write data, programs, etc. to the external memory (to), or to write data, programs, etc. to the internal memory (lj-C30)
This is a device that reads the data and executes display control according to the PFI settings. ----Next, more specific operations will be explained based on the flowchart of FIG.
マイクロプロセッサは、インタープリンタ言語で書かれ
たプログラムを翻訳して、必要な処理を実行することが
できる。そこでユーザーは、ICカードを初期化する際
に1例えばパスワードを付加する機能を設けようとする
場合、そのプログラムをインタープリンタ言語によって
作成する。インタープリンタ言語としては1例えばTI
NYBASIC言胎などがあるが、各マイクロプロセッ
サに応じた言語を用いれば良い。A microprocessor can interpret programs written in an interpreted language and perform the necessary processing. Therefore, if a user wants to provide a function for adding a password, for example, when initializing an IC card, he or she creates a program using an interprinter language. An example of an interpreted language is TI.
There are languages such as NYBASIC, but it is sufficient to use a language suitable for each microprocessor.
次にこのプログラムを端末装置(4(mから入力し、I
Cカード(lO)に転送するものである。ICカード(
lotでは、前述した通信1通信データのチェック。Next, input this program from the terminal device (4 (m),
It is to be transferred to the C card (IO). IC card (
In lot, check the communication 1 communication data mentioned above.
本発明によるユーザープログラムの外部メモリ(301
への書き込み等のプログラムをマイクロコンピュータ−
@の内部メモリ口に予め書き込んでおくことにより、C
P U (2(1を通じて、所望のユーザープログラム
の外部メモIJ−C3Gへの書き込みが行なわれる。External memory (301) for user programs according to the present invention
Programs such as writing to a microcomputer
By writing in advance to the internal memory port of @, C
A desired user program is written to the external memory IJ-C3G through P U (2(1).
まずヌテソプs1にて端末装置よ′り電源をICカード
が受は取り、続いて送られて来るりセント信号をヌテノ
プS2で受しナ取ることによりICカードは初期状態と
なる。First, the IC card receives power from the terminal device at Nutenop S1, and then receives the sent signal at Nutenop S2, thereby bringing the IC card into an initial state.
この状態でヌテップs3における通信の前処理が行なわ
れる。1−なわち伝送速度、伝送フォーマット、ガード
タイム、ブロックサイズ等の初期的設定が計られる。In this state, communication preprocessing in Nutep s3 is performed. 1- That is, initial settings such as transmission speed, transmission format, guard time, block size, etc. are measured.
次に端末からコマンドが送られて来るが、外部メモリ(
至)のデータエリア図にデータを書き込んだり、該デー
タエリアからデータを読み出したりするデータ処理のコ
マンドなのか、または該メモリのユーザープログラムエ
リア国にユーザープログラムを書き込むコマンドなのか
をICカードが認識する必要がある。このため、送られ
てくるコマンドの先頭に、データ処理ならり、ユーザー
プロダラム書き込みならPと℃・った識別マークを付け
ておく。そしてこの識別マークをICカード内のマイク
ロプロセッサ(2(11がステップS12で受は取り、
次のステップ813で最初のコマンドがDがPかにより
1次に送られて(るコマンドが、データ処理かニーサー
ブログラム書き込みかの判断を行なう。Next, a command is sent from the terminal, but the external memory (
The IC card recognizes whether the command is a data processing command to write data to or read data from the data area (to), or a command to write a user program to the user program area of the memory. There is a need. For this reason, an identification mark such as P or °C is placed at the beginning of the sent command for data processing or user program writing. Then, this identification mark is removed by the microprocessor (2 (11) in step S12 in the IC card,
In the next step 813, the first command is sent to the primary depending on whether D or P (it is determined whether the command is for data processing or kneeserv program writing).
ところで外部メモリ(30)のアドレスを例えば100
アドレスあるとすれば、最初から30アドレヌまでをユ
ーザープログラムを書(ためのエリアに対応するアドレ
ス、次の61から1ooアドレスをデータを書くための
エリアに対応するアドレスであることの設定を内部メモ
IJ −CI!61にillみ込んでおく。そしてユー
ザープログラムを後述する手順で、ユーザープログラム
に書き込んだ場合、ユーザープログラムエリアの最終ア
ドレスにニーサーブログラム書き込み終了のマークを付
けておくようにする。By the way, if the address of the external memory (30) is 100, for example
If there are addresses, set internal memo that the first 30 addresses correspond to the area for writing the user program, and the next 61 to 1oo addresses correspond to the area for writing data. IJ-CI! 61. Then, when the user program is written in the user program according to the procedure described later, a mark indicating the completion of knee server program writing is placed at the final address of the user program area.
そこでICカードはステップS13の後、外部メモリー
の読出しを実行して、このユーザープログラムの薔き込
み終了マークを検査することにより、すみかどうかの判
断処理が実行される。Therefore, after step S13, the IC card reads the external memory and checks the end mark of the user program to determine whether it is a corner or not.
ステップ813で1YEsjとなると、ステップS i
4へ進み、ここですでにユーザープログラムが外部メ
モリに書き込まれていれば、2回書込みは出きないよう
に、ステップS15でプログラム曹き込み不許可のステ
ータスを端末装置へ送り+ El−IDとなる。外部メ
モリーにプログラムが居かれていない場合ステップS9
で、秘密保持のため内部メモリ(2Glに設けたユーザ
ープログラム書き込みのためのパスワード機能により、
端末から送られて来るパスワードのチェックを行ない、
パスワードOKでなければ、前記ステップsisへ進む
が、パスワードOKの場合は、ステップS10で、端末
装置から送られて来るユーザープログラムの薔キ込みが
、内部メモIJ tai+の基本処理プログラムによる
制御を受けて、外部メモリー(至)の予め設定したユー
ザープログラムエリア国に先頭アドレスから順に書き込
みが実行される。本例ではニーサーブログラムがTIN
Y BASIC言語で書かれていたので、そのままT
INY BASIC言語状態での」き込みが実行され
ろ。ここで書き込みが終7−J−るとユーザープログラ
ムエリアの最終アドレスにステップS11で、ロード済
みマークをセットする。When it becomes 1YEsj in step 813, step S i
Proceed to step 4, and if the user program has already been written to the external memory, in step S15, a status indicating that program loading is not permitted is sent to the terminal device + El-ID so that the user program is not written twice. becomes. If the program is not stored in the external memory, step S9
In order to maintain confidentiality, the internal memory (2Gl has a password function for writing user programs),
Check the password sent from the terminal,
If the password is not OK, the process proceeds to step sis, but if the password is OK, in step S10, the baraki-in of the user program sent from the terminal device is controlled by the basic processing program of the internal memo IJ tai+. Then, writing is executed sequentially from the first address to the preset user program area country of the external memory (to). In this example, the knee server program is TIN
Since it was written in Y BASIC language, I just changed it to T.
Execute "INY BASIC language state." When the writing is completed 7-J-, a loaded mark is set at the final address of the user program area in step S11.
次にステップS16で端末装置に対し、情報送信終了か
どうかの信号を送り、その返答により、終了かどうかの
判断をして、次にデータの記憶等の処理がつづく場合は
「No」の判断がなされ、ステップS12へもどって1
次の処理が実行される。Next, in step S16, a signal is sent to the terminal device as to whether or not the information transmission is finished, and based on the response, it is determined whether or not it is finished, and if processing such as data storage is to be continued, a "No" decision is made. is performed, and the process returns to step S12.
The following processing is executed.
次に該ステップS13で、最初のコマンドがユーザープ
ログラム書き込みのコマンドでない場合は、ステップs
4へ進む。ここで前記ステツブS14同様外部メモリー
(7)のユーザープログラムエリアOaにユーザープロ
グラムが書き込まれていない場合ステップs17でユー
ザープログラム朱書き込みのステータスを端末装置に送
りENDとなる。ユーザープログラムが書かれていれば
、ステップS5で、外部メモリー00のユーザープログ
ラム書1,17に相当する番地の呼び出しが行なわれる
。今回実施したMPUは、そのインタープリンター言語
であるTINY l3ASICの翻訳機能を持ってお
り、ステップs6でユーザープログラムの機械語への翻
訳が行なわれ、ステップs8でユーザプログラムに基づ
いた実行処理が行なわれる。すなわちデータエリア04
へのデータ書き込みを行なう場合、該ユーザープログラ
ムの手順により実行されろようになる。Next, in step S13, if the first command is not a user program writing command, step s
Proceed to step 4. Here, as in step S14, if the user program is not written in the user program area Oa of the external memory (7), the status of writing the user program in red is sent to the terminal device in step s17, and the process ends. If a user program has been written, addresses corresponding to user program books 1 and 17 in external memory 00 are called in step S5. The MPU implemented this time has a translation function for TINY l3ASIC, which is the interprinter language, and the user program is translated into machine language in step s6, and execution processing based on the user program is performed in step s8. . That is, data area 04
When data is written to, it is executed according to the procedure of the user program.
このようにして、このユーザープログラムにより端末か
らのデータを受は取り、情報処理したり。In this way, this user program receives and receives data from the terminal and processes the information.
データを端末装置へ転送したりできるようになる。Data can then be transferred to a terminal device.
また新たなパスワード機能を付加したり、コードチェッ
クをしたり、暗号化することもユーザープログラムで自
由にすることが出来る。Additionally, users can freely add new password functions, check codes, and perform encryption using the user program.
さらに外部メモリーC30)としてEEPPOMを使用
すれば電気的消去が可能となるので、ユーザープログラ
ムの変更、改良が出来るので、同じICカードで違うア
プリケーションに用いることが出来、シヌテムの計画、
変更等に対処することが可能となる。Furthermore, if EEPPOM is used as an external memory (C30), it can be electrically erased, so the user program can be changed and improved, so the same IC card can be used for different applications,
It becomes possible to deal with changes, etc.
〈発明の効果〉
本発明は以上の叩きであるので以下に示す丁ぐれた効果
を生ずるものである。<Effects of the Invention> Since the present invention achieves the above advantages, it produces the following distinct effects.
すなわちカードメーカーでは、まず基本処理プログラム
の入ったカードを大量生産することが出来、後に各ユー
サー向けのブ町ダラムを別々にICカードに記憶させら
れるので、生産性の向上に貢献できる。又、各ユーザー
が後に独自のプログラムをI Cカードに記憶できるの
で、プログラムの機密條設が出来、応用面を1広げろこ
とが期待できうるものとなる。In other words, the card manufacturer can first mass produce cards containing the basic processing program, and later store the town duram for each user separately on the IC card, contributing to improved productivity. Furthermore, since each user can later store his or her own program on the IC card, the program can be kept confidential, which can be expected to widen the range of applications.
第1図は本発明を実施するICカードのブCffツク図
、第2スはICカードの概略図、第6図は本発明を実施
するフローチャート図。
tlol・・・ICカード (2υ)・・・マイクロフ
ンピユータ−(MPU)]22)・・・端子
シlI+・・・CPUシ1:)・・内部メモリ (3
U)・・外部メモリI3岬・・ニーサブログラムエリア
c341・・・データエリア rlUl・・・端末機
第2図FIG. 1 is a block diagram of an IC card for implementing the present invention, FIG. 2 is a schematic diagram of the IC card, and FIG. 6 is a flowchart for implementing the present invention. tlol...IC card (2υ)...Microphone computer (MPU)]22)...Terminal
Sill+...CPU S1:)...Internal memory (3
U)...External memory I3 Misaki...Nice program area c341...Data area rlUl...Terminal Figure 2
Claims (1)
込、読出等を行なうマイクロコンピューターを組み込ん
だICカードにおいて、 該外部メモリにユーザプログラムエリアと、データエリ
アの2つのエリアを設定して、ユーザープログラムを、
該ユーザプログラムエリアに書込むユーザプログラム書
込手段と、 該ユーザプログラムに基づいて、同一の該外部メモリー
上のデータエリアにデータ書込み等を行なうデータエリ
ア制御手段と、 を設けたことを特徴とするICカード。[Claims] 1) An IC card incorporating an external memory and a microcomputer for writing and reading information to and from the memory, wherein the external memory includes a user program area and a data area. Set up two areas and run the user program.
A user program writing means for writing to the user program area; and a data area control means for writing data to the data area on the same external memory based on the user program. IC card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59176329A JPS6154583A (en) | 1984-08-24 | 1984-08-24 | Ic card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59176329A JPS6154583A (en) | 1984-08-24 | 1984-08-24 | Ic card |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6154583A true JPS6154583A (en) | 1986-03-18 |
JPH0417477B2 JPH0417477B2 (en) | 1992-03-26 |
Family
ID=16011683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59176329A Granted JPS6154583A (en) | 1984-08-24 | 1984-08-24 | Ic card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6154583A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6274190A (en) * | 1985-09-27 | 1987-04-04 | Toshiba Corp | Information medium |
JPS636690A (en) * | 1986-06-26 | 1988-01-12 | Toshiba Corp | Portable electronic device |
JPS63100587A (en) * | 1986-10-16 | 1988-05-02 | Diesel Kiki Co Ltd | Method for detecting insertion of ic card |
JPS63145581A (en) * | 1986-12-08 | 1988-06-17 | Omron Tateisi Electronics Co | Ic card system |
JPS63211483A (en) * | 1987-02-27 | 1988-09-02 | Toppan Moore Co Ltd | Ic card |
JP2009254134A (en) * | 2008-04-07 | 2009-10-29 | Toshiba Mitsubishi-Electric Industrial System Corp | Controller for semiconductor power converter |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5446447A (en) * | 1977-08-26 | 1979-04-12 | Cii | Portable data carrier for storing and processing data |
JPS54154954A (en) * | 1978-04-25 | 1979-12-06 | Cii | Microprocessor |
JPS5851194A (en) * | 1981-09-21 | 1983-03-25 | 株式会社リコー | Electronic memory card |
JPS58139265A (en) * | 1982-02-13 | 1983-08-18 | Dainippon Printing Co Ltd | Microcomputer |
JPS60153582A (en) * | 1984-01-23 | 1985-08-13 | Kyodo Printing Co Ltd | Ic card |
JPS60237575A (en) * | 1984-05-09 | 1985-11-26 | Omron Tateisi Electronics Co | Ic card system |
-
1984
- 1984-08-24 JP JP59176329A patent/JPS6154583A/en active Granted
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5446447A (en) * | 1977-08-26 | 1979-04-12 | Cii | Portable data carrier for storing and processing data |
JPS54154954A (en) * | 1978-04-25 | 1979-12-06 | Cii | Microprocessor |
JPS5851194A (en) * | 1981-09-21 | 1983-03-25 | 株式会社リコー | Electronic memory card |
JPS58139265A (en) * | 1982-02-13 | 1983-08-18 | Dainippon Printing Co Ltd | Microcomputer |
JPS60153582A (en) * | 1984-01-23 | 1985-08-13 | Kyodo Printing Co Ltd | Ic card |
JPS60237575A (en) * | 1984-05-09 | 1985-11-26 | Omron Tateisi Electronics Co | Ic card system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6274190A (en) * | 1985-09-27 | 1987-04-04 | Toshiba Corp | Information medium |
JPS636690A (en) * | 1986-06-26 | 1988-01-12 | Toshiba Corp | Portable electronic device |
JPS63100587A (en) * | 1986-10-16 | 1988-05-02 | Diesel Kiki Co Ltd | Method for detecting insertion of ic card |
JPH0532795B2 (en) * | 1986-10-16 | 1993-05-17 | Zexel Corp | |
JPS63145581A (en) * | 1986-12-08 | 1988-06-17 | Omron Tateisi Electronics Co | Ic card system |
JPS63211483A (en) * | 1987-02-27 | 1988-09-02 | Toppan Moore Co Ltd | Ic card |
JP2009254134A (en) * | 2008-04-07 | 2009-10-29 | Toshiba Mitsubishi-Electric Industrial System Corp | Controller for semiconductor power converter |
Also Published As
Publication number | Publication date |
---|---|
JPH0417477B2 (en) | 1992-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7490333B2 (en) | Capability-based access control for applications in particular co-operating applications in a chip card | |
US6052690A (en) | Coherent data structure with multiple interaction contexts for a smart card | |
US5225664A (en) | Mutual authentication system | |
US6145739A (en) | System and method for performing transactions and an intelligent device therefor | |
JP5323873B2 (en) | System, method, portable computing device, and computer-readable medium using configurable firewall | |
JPH01500379A (en) | System for portable data carriers | |
JPS63503335A (en) | Secure file system for portable data carriers | |
JP2007532984A (en) | Semiconductor memory | |
JP5121326B2 (en) | Financial transaction terminal for processing information medium conforming to USB interface standard and its working method | |
JPH01500378A (en) | Device for portable data carriers with multiple application files | |
JP2003508856A (en) | Modem for secure processing | |
JP2935613B2 (en) | IC card and IC card system | |
JPS63206852A (en) | Single chip lsi | |
JPS6154583A (en) | Ic card | |
JP4090350B2 (en) | IC card | |
US8844827B2 (en) | Chip card, and method for the software-based modification of a chip card | |
JPH09265254A (en) | Mutual authentication system for information recording medium | |
JP2003316655A (en) | Access control method and system for application and data stored in ic card | |
JPH10198776A (en) | Portable information recording medium, and its information writing and reading method | |
JP2004112510A (en) | Data processing apparatus, program thereof, and apparatus thereof | |
CN112084524A (en) | USB flash disk access method and USB flash disk | |
CN112770311B (en) | Mobile terminal implementation method without SIM card slot, terminal and medium | |
JP3231466B2 (en) | Information recording medium storing keys | |
JP7136237B2 (en) | Information processing device and program | |
JPS6324339A (en) | Card system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |