JP2000066882A - Ic card, and program managing method for ic card - Google Patents

Ic card, and program managing method for ic card

Info

Publication number
JP2000066882A
JP2000066882A JP10232535A JP23253598A JP2000066882A JP 2000066882 A JP2000066882 A JP 2000066882A JP 10232535 A JP10232535 A JP 10232535A JP 23253598 A JP23253598 A JP 23253598A JP 2000066882 A JP2000066882 A JP 2000066882A
Authority
JP
Japan
Prior art keywords
card
execution
function
application program
functions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10232535A
Other languages
Japanese (ja)
Inventor
Hirohito Yano
浩仁 矢野
Masaru Kobayashi
賢 小林
Toshiro Sasaki
敏郎 佐々木
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10232535A priority Critical patent/JP2000066882A/en
Publication of JP2000066882A publication Critical patent/JP2000066882A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a program managing method for IC card which can limit the execution of a specific application program or only its partial functions by storing at least one execution condition under which respective functions of the application program are executed. SOLUTION: A call signal from a reader writer to an IC card is received (S101). It is decided (S102) whether or not the call signal contents are concerned in the setting of execution conditions. An execution essential condition check process for deciding whether or not functions of the application program corresponding to the call signal meet the execution essential conditions is performed (S103). Then a function selective executing process for selecting and executing one of executable functions is performed (S107). Further, a report on the absence of executable functions is set (S108) and a function execution condition setting process is performed (S109). Thus, the application program or only its functions are limited.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ICカードおよび
ICカードのプログラム管理方法に関し、さらに詳しく
は、ICカードに記憶されたアプリケーションプログラ
ムやその機能ごとに実行を制限できるICカードおよび
ICカードのプログラム管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card and an IC card program management method, and more particularly, to an IC card and an IC card program whose execution can be restricted for each application program or function stored in the IC card. Regarding management methods.

【0002】[0002]

【従来の技術】ICカードは、そのセキュリティの高さ
のために、定期券,クレジットカード,電子マネー等の
用途に利用されている。これらは、用途にあった機能を
盛り込んだアプリケーションプログラムをICカード内
に記憶させることで実現している。例えば、電子マネー
用のICカードならば、入金,出金,残高照会の3つの
機能を持ったアプリケーションプログラムをICカード
内に記憶させている。
2. Description of the Related Art Because of its high security, IC cards are used for commuter passes, credit cards, electronic money, and the like. These are realized by storing an application program incorporating functions suitable for the purpose in an IC card. For example, in the case of an electronic card for electronic money, an application program having three functions of deposit, withdrawal, and balance inquiry is stored in the IC card.

【0003】最近になって、1枚のICカード内に複数
のアプリケーションプログラムを記憶させた多目的IC
カードが登場してきた(日経マイクロデバイス1997年8
月号49ページ)。例えば、1枚のICカード内に定期券
のアプリケーションプログラムとクレジットカードのア
プリケーションプログラムとを記憶させ、定期券とクレ
ジットカードの両方の用途に利用できるようにしたIC
カードである。1枚のICカードに複数のアプリケーシ
ョンプログラムを記憶させることで、例えば異なる交通
機関を乗り継ぐ場合でも1枚のICカードで利用可能と
なるため、利便性が向上する。また、アプリケーション
プログラムごとのICカード発行の製造コストを削減で
きる。
Recently, a multipurpose IC storing a plurality of application programs in one IC card
Cards have appeared (Nikkei Microdevices 1997 August
Monthly issue page 49). For example, an IC in which a commuter pass application program and a credit card application program are stored in one IC card, and can be used for both commuter pass and credit card applications.
Card. By storing a plurality of application programs in one IC card, for example, even when transiting to different transportation means, the IC card can be used with one IC card, so that the convenience is improved. Further, the manufacturing cost of issuing an IC card for each application program can be reduced.

【0004】さらに、新たなアプリケーションプログラ
ムや機能を後から追加することが出来るICカードも登
場しつつある。
[0004] Further, IC cards to which new application programs and functions can be added later are also appearing.

【0005】[0005]

【発明が解決しようとする課題】ところで、ICカード
を失効させる方法がいくつか提案されている(特開平8
−50639号公報、特開平8−263578号公報、
特開平7−319967号公報、特開平5−13650
3号公報)。しかしながら、これらの方法はICカード
自体を使用不可能とするものであるため、多目的ICカ
ードについては、全てのアプリケーションが使用不可能
となってしまう問題点がある。そこで、本発明の第1の
目的は、ICカード内の特定のアプリケーションプログ
ラムやその一部の機能のみの実行を制限可能とするIC
カードのプログラム管理方法を提供することにある。
By the way, several methods for revoking an IC card have been proposed (Japanese Unexamined Patent Publication No.
50639, JP-A-8-263578,
JP-A-7-319967, JP-A-5-13650
No. 3). However, since these methods make the IC card itself unusable, there is a problem that all applications cannot be used for the multipurpose IC card. Therefore, a first object of the present invention is to provide an IC card capable of restricting execution of a specific application program in an IC card or only a part of its functions.
An object of the present invention is to provide a card program management method.

【0006】さらに、交通機関の改札口を通過する際
に、ICカードの持つ定期券機能で通過させるのか,料
金前払い機能で通過させるのか,金融機関から引き落と
す機能で料金精算するのか等、起動可能なアプリケーシ
ョンプログラムまたはその機能が複数存在する場合に、
従来は、実行可能なアプリケーションプログラムまたは
その機能をICカードの利用者に知らせ、実行するアプ
リケーションプログラムまたはその機能を利用者に選択
させることにしている。しかしながら、実行するアプリ
ケーションプログラムまたはその機能を利用者に選択さ
せる方法では、手続き処理時間が長くかかる問題点があ
る。そこで、本発明の第2の目的は、実行するアプリケ
ーションプログラムまたはその機能を自動選択可能とす
るICカードおよびICカードのプログラム管理方法を
提供することにある。
Further, when passing through a ticket gate of transportation, it is possible to activate, for example, whether to pass through a commuter pass function of the IC card, pass through a prepaid billing function, or settle charges with a function of debiting from a financial institution. When there are multiple application programs or their functions,
Conventionally, an executable application program or its function is notified to a user of an IC card, and an application program or its function to be executed is selected by the user. However, the method of allowing the user to select an application program to be executed or its function has a problem that the procedure processing time is long. Therefore, a second object of the present invention is to provide an IC card and an IC card program management method which enable automatic selection of an application program to be executed or its function.

【0007】さらに、本発明の第3の目的は、ICカー
ド内の特定のアプリケーションプログラムやその一部の
機能のみの実行を制限可能とする条件が不当に変更され
ることを防止できるICカードおよびICカードのプロ
グラム管理方法を提供することにある。
Further, a third object of the present invention is to provide an IC card and an IC card which can prevent a condition for restricting execution of only a specific application program or a part of the function in the IC card from being unduly changed. An object of the present invention is to provide an IC card program management method.

【0008】[0008]

【課題を解決するための手段】第1の観点では、本発明
は、複数のアプリケーションプログラムと各アプリケー
ションプログラムをそれぞれ実行する前提となる実行条
件および1以上のアプリケーションプログラムと各アプ
リケーションプログラムの各機能をそれぞれ実行する前
提となる実行条件の少なくとも一方を記憶したことを特
徴とするICカードを提供する。また、本発明は、上記
構成のICカードに記憶されているアプリケーションプ
ログラムまたはその機能の実行が要求された時に、当該
ICカードに記憶されている当該アプリケーションプロ
グラムまたは当該機能の実行条件を読み出し、その実行
条件が充足されているか否かを判定し、充足している場
合のみ実行可能とすることを特徴とするICカードのプ
ログラム管理方法を提供する。上記第1の観点のICカ
ードおよびICカードのプログラム管理方法では、アプ
リケーションプログラムまたはその機能ごとの実行条件
をICカードに記憶させておき、ICカード自身が、又
は、リーダーライター側が、実行条件を読み出して実行
可能性を判定する。これにより、ICカード内の特定の
アプリケーションプログラムやその一部の機能のみの実
行を制限できるようになる。
According to a first aspect of the present invention, a plurality of application programs and execution conditions presupposed to execute each application program and at least one application program and each function of each application program are defined. There is provided an IC card in which at least one of execution conditions presupposed to be executed is stored. Further, the present invention reads out the application program or the execution condition of the function stored in the IC card when the execution of the application program or the function stored in the IC card of the above configuration is requested. A program management method for an IC card, characterized in that it is determined whether or not an execution condition is satisfied, and that execution is possible only when the condition is satisfied. In the IC card and the IC card program management method according to the first aspect, the execution condition for each application program or its function is stored in the IC card, and the IC card itself or the reader / writer reads out the execution condition. To determine feasibility. This makes it possible to restrict the execution of a specific application program in the IC card or only a part of the function.

【0009】第2の観点では、本発明は、上記構成のI
Cカードにおいて、実行可能な複数のアプリケーション
プログラムが存在したときの実行優先度を決める情報お
よび実行可能な複数の機能が存在したときの実行優先度
を決める情報の少なくとも一方を記憶したことを特徴と
するICカードを提供する。また、本発明は、上記構成
のICカードに記憶されているアプリケーションプログ
ラムまたはその機能の実行が要求された時に、当該IC
カードに記憶されている当該アプリケーションプログラ
ムまたは当該機能の実行条件を読み出し、その実行条件
が充足されているか否かを判定し、充足しているアプリ
ケーションプログラムまたは機能が複数あった場合は当
該ICカードに記憶されている実行優先度を決める情報
を読み出し、その情報に基づいて最優先のアプリケーシ
ョンプログラムまたは機能を実行可能とすることを特徴
とするICカードのプログラム管理方法を提供する。上
記第2の観点のICカードおよびICカードのプログラ
ム管理方法では、アプリケーションプログラムまたはそ
の機能ごとの実行優先度を決める情報をICカードに記
憶させておき、ICカード自身が、又は、リーダーライ
ター側が、実行優先度を決める情報を読み出して最優先
のアプリケーションプログラムまたは機能を決定しそれ
のみを実行可能とする。これにより、実行するアプリケ
ーションプログラムまたはその機能を自動選択できるよ
うになり、手続き処理時間を短縮できる。
According to a second aspect, the present invention provides an I
The C card stores at least one of information for determining an execution priority when there are a plurality of executable application programs and information for determining an execution priority when there are a plurality of executable functions. To provide an IC card. In addition, the present invention provides a method for controlling the execution of an application program stored in an IC card having the above configuration or a function of the application program.
The execution condition of the application program or the function stored in the card is read out, and it is determined whether or not the execution condition is satisfied. There is provided an IC card program management method characterized by reading out stored information for determining an execution priority and enabling the highest priority application program or function to be executed based on the information. In the IC card and the IC card program management method according to the second aspect, the application program or information for determining the execution priority of each function is stored in the IC card, and the IC card itself or the reader / writer performs The information that determines the execution priority is read out to determine the highest priority application program or function, and only that can be executed. As a result, an application program to be executed or its function can be automatically selected, and the procedure processing time can be reduced.

【0010】第3の観点では、本発明は、上記構成のI
Cカードにおいて、前記実行条件または前記実行優先度
を決める情報の変更許可/変更禁止を定義した変更フラ
グを記憶したことを特徴とするICカードを提供する。
また、本発明は、上記構成のICカードに記憶されてい
る実行条件または実行優先度を決める情報の変更が要求
された時に、当該ICカードに記憶されている変更フラ
グを参照し、変更フラグが変更許可の場合のみ変更可能
とすることを特徴とするICカードのプログラム管理方
法を提供する。上記第3の観点のICカードおよびIC
カードのプログラム管理方法では、変更フラグをICカ
ードに記憶させておき、ICカード自身が、又は、リー
ダーライター側が、変更フラグを読み出して実行条件ま
たは実行優先度を決める情報の変更の許可/禁止を判断
し、許可の場合のみ変更を可能にする。これにより、I
Cカード内の特定のアプリケーションプログラムやその
一部の機能のみの実行を制限可能とする条件が不当に変
更されることを防止できる。
According to a third aspect, the present invention provides an I
An IC card is provided, wherein a change flag defining change permission / prohibition of change of the execution condition or the information for determining the execution priority is stored in the C card.
Further, the present invention refers to a change flag stored in the IC card when the change of the information for determining the execution condition or the execution priority stored in the IC card having the above configuration is requested, and the change flag is set. Provided is a method for managing a program of an IC card, wherein a change can be made only when change is permitted. IC card and IC according to the third aspect
In the card program management method, the change flag is stored in the IC card, and the IC card itself or the reader / writer reads out the change flag and permits or prohibits the change of the information for determining the execution condition or the execution priority. Judge and allow changes only if permitted. This allows I
It is possible to prevent a condition that can restrict execution of only a specific application program in the C card or a part of the function from being improperly changed.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を詳細
に説明する。なお、これにより本発明が限定されるもの
ではない。
Embodiments of the present invention will be described below in detail. Note that the present invention is not limited by this.

【0012】一般に、リーダーライターと呼ばれる専用
の装置によって、様々な処理要求が、ICカードに対し
て送信される。ICカードは、前記処理要求に対してセ
キュリティチェックを行い、それに合格すると、前記処
理要求に応じて、ICカード内部の記憶装置に記憶され
たアプリケーションプログラムやその機能を実行する。
そして、必要があれば、ICカード内部の記憶装置に情
報を書き込み、リーダーライターに情報を送信する。最
後に、ICカードは処理終了信号をリーダーライターに
送信し、ICカードの処理を終る。また、リーダーライ
ターは、前記処理終了信号を受信し、処理を終了する。
Generally, various processing requests are transmitted to an IC card by a dedicated device called a reader / writer. The IC card performs a security check on the processing request, and if it passes, executes the application program and its function stored in the storage device inside the IC card in response to the processing request.
Then, if necessary, the information is written into the storage device inside the IC card, and the information is transmitted to the reader / writer. Finally, the IC card transmits a processing end signal to the reader / writer, and ends the processing of the IC card. Further, the reader / writer receives the processing end signal and ends the processing.

【0013】図1は、本発明の一実施形態にかかるIC
カードの斜視図である。このICカード1は、プレート
11に、ICチップ12と、リーダーライターとの情報
のやりとりを行う接続部13と、電源を供給する電源供
給部14とを設けたものである。前記電源供給部14
は、接触ICカードにおける電源端子や、非接触ICカ
ードにおける内蔵バッテリーや発電コイル等を意味す
る。
FIG. 1 shows an IC according to an embodiment of the present invention.
It is a perspective view of a card. This IC card 1 has a plate 11 provided with an IC chip 12, a connection unit 13 for exchanging information with a reader / writer, and a power supply unit 14 for supplying power. The power supply unit 14
Means a power supply terminal in a contact IC card, a built-in battery and a power generation coil in a non-contact IC card, and the like.

【0014】図2は、前記ICチップ12の構成を示す
ブロック図である。このICチップ12は、記憶装置1
2mと演算装置12pとを具備し、データバス15によ
り前記接続部13に接続されると共に、電源ライン16
により前記電源供給部14に接続されている。前記記憶
装置12mには、複数のアプリケーションプログラム
と、本発明のプログラム管理方法を実施するための管理
プログラムと、前記アプリケーションプログラムまたは
その一部の機能の実行条件を登録した条件テーブル(図
3〜図5)と、ICカード1の利用者の個人情報等が記
憶されている。
FIG. 2 is a block diagram showing the configuration of the IC chip 12. As shown in FIG. This IC chip 12 is used for the storage device 1
2m and an arithmetic unit 12p, which are connected to the connection unit 13 by a data bus 15 and a power line 16
Is connected to the power supply unit 14. In the storage device 12m, a plurality of application programs, a management program for implementing the program management method of the present invention, and a condition table in which execution conditions of the application programs or some functions thereof are registered (FIGS. 5) and personal information of the user of the IC card 1 are stored.

【0015】図3〜図5は、前記条件テーブルの例示図
である。条件テーブルは、アプリケーションプログラム
名と、各アプリケーションプログラムの機能と、各機能
の実行条件すなわち実行必須条件または実行優先度関数
と、実行優先順位とを対応表にしたものである。前記実
行必須条件は、当該機能を実行するために充足していな
ければならない条件を登録した内容と、その内容の変更
を利用者に対して許可しているか否かを示す利用者によ
る変更フラグと、前記内容の変更をサービス提供者に対
して許可しているか否かを示すサービス提供者による変
更フラグとからなっている。前記実行優先度関数は、当
該機能の外にも実行可能な機能があった場合に当該機能
を優先的に実行するための条件を登録した内容と、その
内容の変更を利用者に対して許可しているか否かを示す
利用者による変更フラグと、前記内容の変更をサービス
提供者に対して許可しているか否かを示すサービス提供
者による変更フラグと、当該機能の実行優先度関数がオ
リジナルな関数であるか否かを示すオリジナルフラグ
と、複数のアプリケーションプログラムまたはその機能
が実行可能であった場合にそれらを実行する優先順位を
登録した実行優先順位とからなっている。
FIGS. 3 to 5 are illustrations of the condition tables. The condition table is a table in which an application program name, a function of each application program, an execution condition of each function, that is, an execution essential condition or an execution priority function, and an execution priority are listed. The execution essential condition includes a registered content of a condition that must be satisfied in order to execute the function, a change flag by the user indicating whether or not the user is permitted to change the content. And a change flag by the service provider indicating whether the change of the content is permitted to the service provider. The execution priority function permits a user to register contents for registering a condition for preferentially executing the function when there is an executable function in addition to the function, and to change the content. The change flag by the user indicating whether or not the change has been performed, the change flag by the service provider indicating whether or not the change of the content is permitted to the service provider, and the execution priority function of the function An original flag indicating whether the function is a simple function or not, and an execution priority in which, when a plurality of application programs or their functions are executable, the priorities for executing them are registered.

【0016】なお、図3〜図5の条件テーブルでは、ア
プリケーションプログラムの機能単位で実行必須条件と
実行優先度関数が設定されているが、アプリケーション
プログラム単位に実行必須条件と実行優先度関数を設定
してもよい。
In the condition tables shown in FIGS. 3 to 5, the execution essential condition and the execution priority function are set for each function of the application program. However, the execution essential condition and the execution priority function are set for each application program. May be.

【0017】図6は、ICカード1の管理プログラムの
メイン処理を示すフローチャートである。ステップ10
1では、リーダーライターからICカード1への呼びか
け信号を受信する。ステップ102では、呼びかけ信号
内容が実行条件の設定に関するものか否かを判定し、そ
うでなければステップ103へ進み、そうであればステ
ップ109へ進む。ステップ103では、呼びかけ信号
に対応するアプリケーションプログラムの機能が実行必
須条件を満足しているか否かを判定する実行必須条件チ
ェック処理を行う。この実行必須条件チェック処理につ
いては、図7を参照して後述する。ステップ104で
は、すべての機能について前記ステップ103を実行し
たかをチェックし、実行してないなら前記ステップ10
1に戻り、実行したならステップ105に進む。ステッ
プ105では、すべての呼びかけ信号について前記ステ
ップ103を実行したかをチェックし、実行してないな
ら前記ステップ101に戻り、実行したならステップ1
06に進む。ステップ106では、実行可能な機能があ
ったかをチェックし、あったならステップ107へ進
み、なかったならステップ108へ進む。ステップ10
7では、実行可能な機能の中から一つを選択し実行する
機能選択実行処理を行う。そして、メイン処理を終了す
る。この機能選択実行処理については、図8を参照して
後述する。ステップ108では、実行可能な機能が無い
旨の送信を行う。そして、メイン処理を終了する。ステ
ップ109では、機能実行条件設定処理を実行する。そ
して、メイン処理を終了する。この機能実行条件設定処
理については、図9を参照して後述する。
FIG. 6 is a flowchart showing the main processing of the management program of the IC card 1. Step 10
In step 1, an interrogation signal from the reader / writer to the IC card 1 is received. In step 102, it is determined whether or not the content of the call signal is related to the setting of the execution condition. If not, the process proceeds to step 103, and if so, the process proceeds to step 109. In step 103, an execution essential condition check process is performed to determine whether the function of the application program corresponding to the call signal satisfies the execution essential condition. The execution essential condition check processing will be described later with reference to FIG. In step 104, it is checked whether or not step 103 has been executed for all the functions.
Returning to step 1, if executed, proceed to step 105. In step 105, it is checked whether or not step 103 has been executed for all the interrogation signals, and if not executed, the process returns to step 101;
Proceed to 06. In step 106, it is checked whether there is an executable function. If there is, the process proceeds to step 107, and if not, the process proceeds to step 108. Step 10
In step 7, a function selection execution process of selecting and executing one of the executable functions is performed. Then, the main process ends. This function selection execution processing will be described later with reference to FIG. In step 108, a message indicating that there is no executable function is transmitted. Then, the main process ends. In step 109, a function execution condition setting process is executed. Then, the main process ends. This function execution condition setting process will be described later with reference to FIG.

【0018】図7は、実行必須条件チェック処理(10
3)を示すフローチャートである。ステップ201で
は、ICチップ12の記憶装置12mから、呼びかけ信
号が求めているアプリケーションプログラムの機能の実
行必須条件の一つを読み取る。ステップ202では、I
Cチップ12の記憶装置12mやリーダーライターか
ら、前記読み出した実行必須条件の判定に必要な情報を
読み出す。ステップ203では、ICチップ12の演算
装置12pが、前記読み出した実行必須条件を充足して
いるか判定する。ステップ204では、前記読み出した
実行必須条件を充足していたならステップ205へ進
み、充足していなかったらステップ207へ進む。な
お、実行必須条件の内容に「無効」が設定されていた
ら、実行必須条件を充足していないものとする。ステッ
プ205では、呼びかけ信号が求めているアプリケーシ
ョンプログラムの機能の実行必須条件の全てについて前
記ステップ204の判定を行ったかチェックし、行って
いないなら前記ステップ201に戻り、行ったならステ
ップ206へ進む。ステップ206では、呼びかけ信号
が求めているアプリケーションプログラムの機能を実行
可能であると判定する。そして、実行必須条件チェック
処理を終了する。ステップ207では、呼びかけ信号が
求めているアプリケーションプログラムの機能を実行不
能であると判定する。そして、実行必須条件チェック処
理を終了する。
FIG. 7 shows an execution essential condition check process (10
It is a flowchart which shows 3). In step 201, one of the essential conditions for executing the function of the application program required by the interrogation signal is read from the storage device 12m of the IC chip 12. In step 202, I
From the storage device 12m or the reader / writer of the C chip 12, information necessary for determining the read execution essential condition is read. In step 203, it is determined whether the arithmetic unit 12p of the IC chip 12 satisfies the read execution essential condition. In step 204, if the read execution essential condition is satisfied, the process proceeds to step 205; otherwise, the process proceeds to step 207. If “invalid” is set in the content of the execution essential condition, it is assumed that the execution essential condition is not satisfied. In step 205, it is checked whether or not the determination in step 204 has been made for all of the execution essential conditions of the function of the application program required by the interrogation signal. If not, the process returns to step 201; In step 206, it is determined that the function of the application program required by the call signal can be executed. Then, the execution essential condition check processing ends. In step 207, it is determined that the function of the application program required by the call signal is not executable. Then, the execution essential condition check processing ends.

【0019】図8は、機能選択実行処理(107)を示
すフローチャートである。ステップ301では、ICチ
ップ12の記憶装置12mから、実行可能な機能の一つ
に着目し、さらにその実行優先度関数の一つを読み出
す。ステップ302では、ICチップ12の記憶装置1
2mやリーダーライターから、前記読み出した実行優先
度関数の算出に必要な情報を読み出す。ステップ303
では、実行優先度関数の値を算出する。ステップ304
では、着目している機能の実行優先度関数の全てについ
て前記ステップ303の値の算出を行ったかチェック
し、行っていないなら前記ステップ301に戻り、行っ
たならステップ305へ進む。ステップ305では、算
出した全ての実行優先度関数の値の和を算出する。ステ
ップ306では、実行可能な機能の全てに対して前記ス
テップ305の和の算出を行ったかチェックし、行って
いないなら実行可能な機能の別の一つに着目して前記ス
テップ301に戻り、行ったならステップ307へ進
む。ステップ307では、実行優先度関数の和が最も高
い機能が複数あるかチェックし、一つしかなければステ
ップ308へ進み、複数あればステップ309へ進む。
ステップ308では、実行優先度関数の和が最も高い機
能を選択し、ステップ310へ進む。ステップ309で
は、実行優先度関数の和が最も高い複数の機能の中で実
行優先順位が最も高い機能を選択する。ステップ310
では、選択した機能を実行する。
FIG. 8 is a flowchart showing the function selection execution processing (107). In step 301, one of the executable functions is noted from the storage device 12m of the IC chip 12, and one of the execution priority functions is read out. In step 302, the storage device 1 of the IC chip 12
Information necessary for calculating the read execution priority function is read from 2m or a reader / writer. Step 303
Then, the value of the execution priority function is calculated. Step 304
Then, it is checked whether or not the calculation of the value of step 303 has been performed for all of the execution priority functions of the function of interest. If not, the process returns to step 301; In step 305, the sum of the values of all the calculated execution priority functions is calculated. In step 306, it is checked whether the sum of step 305 has been calculated for all of the executable functions. If not, the process returns to step 301, focusing on another executable function. If yes, go to step 307. In step 307, it is checked whether there is a plurality of functions having the highest sum of the execution priority functions. If there is only one function, the process proceeds to step 308. If there is more than one, the process proceeds to step 309.
In step 308, the function having the highest sum of the execution priority functions is selected, and the process proceeds to step 310. In step 309, the function having the highest execution priority is selected from among the plurality of functions having the highest sum of the execution priority functions. Step 310
Now, execute the selected function.

【0020】図9は、機能実行条件設定処理(109)
を示すフローチャートである。ステップ401では、実
行条件の設定を行うための装置から、設定信号を受信す
る。ステップ402では、設定信号が指定する機能がI
Cカード1内に存在するか否かをチェックし、存在した
場合はステップ403へ進み、存在しなかった場合はス
テップ410へ進む。ステップ403では、設定信号が
指定する機能の利用者による変更フラグまたはサービス
提供者による変更フラグをチェックし、実行条件の設定
を行おうとしている者が変更許可されているならステッ
プ404へ進み、変更禁止されているならステップ41
0へ進む。ステップ404では、設定信号が指定する機
能が実行必須条件か否かをチェックし、実行必須条件な
らステップ405へ進み、実行必須条件でない(実行優
先度関数である)ならステップ407へ進む。ステップ
405では、実行必須条件で新たに設定されようとして
いる内容が、変更不可能な既設定の実行必須条件と矛盾
するか否かをチェックし、矛盾がなければステップ40
6へ進み、矛盾があればステップ410へ進む。ステッ
プ406では、実行必須条件で新たに設定されようとし
ている内容が、変更可能な既設定の実行必須条件と矛盾
するか否かをチェックし、矛盾がなければステップ40
7へ進み、矛盾があれば矛盾している実行必須条件を消
去してステップ410へ進む。
FIG. 9 shows a function execution condition setting process (109).
It is a flowchart which shows. In step 401, a setting signal is received from an apparatus for setting execution conditions. In step 402, the function specified by the setting signal is I
It is checked whether or not the card exists in the C card 1, and if there is, the procedure proceeds to step 403, and if not, the procedure proceeds to step 410. In step 403, the change flag by the user of the function specified by the setting signal or the change flag by the service provider is checked. If the person who is going to set the execution condition is permitted to change, the process proceeds to step 404, and the change is performed. Step 41 if prohibited
Go to 0. In step 404, it is checked whether or not the function specified by the setting signal is an execution essential condition. If the function is an execution essential condition, the process proceeds to step 405. If not, the process proceeds to step 407. In step 405, it is checked whether or not the content to be newly set in the execution essential condition is inconsistent with the previously set unexecutable execution condition that cannot be changed.
Then, if there is a contradiction, go to step 410. In step 406, it is checked whether or not the content to be newly set in the execution essential condition is inconsistent with the settable execution essential condition that can be changed.
Then, if there is a contradiction, the contradictory execution essential condition is deleted and the flow proceeds to step 410.

【0021】ステップ407では、設定信号が指定する
実行必須条件または実行優先度関数を、ICチップ12
の記憶装置12mの条件テーブルに設定する。ステップ
408では、前記ステップ407で実行優先度関数を設
定した場合、他の機能の実行優先度関数と比較し関数値
として上下関係が成立するものを発見し上下関係処理を
行う。ここで、関数値として上下関係が成立するものと
は、関数f1,f2が任意の入力に対してf1≦f2となる
ことをいう。また、上下関係処理とは、機能A1,A2
実行優先度関数f1,f2が関数値として上下関係が成立
している場合には機能選択時には機能A1が必ず選択さ
れる様にした処理である。実行優先度関数がf1≦f2
満たすということは、機能A1が機能A2よりも専門的で
あることを示している。そこで、どちらの機能も使用可
能といった場合には、機能A1の方が使用目的に近いと
考えられるため、上下関係処理で機能A1が選ばれるよ
うにする。この上下関係処理については、図10を参照
して後述する。ステップ409では、実行優先度関数値
で選択できなかった場合に使用する実行優先順位を全て
の機能に対して付ける。実行優先順位は、例えば登録順
に番号を付けて行く。そして、機能実行条件設定処理を
終了する。
In step 407, an execution essential condition or an execution priority function specified by the setting signal is stored in the IC chip 12.
Is set in the condition table of the storage device 12m. In step 408, when the execution priority function is set in step 407, the function is compared with the execution priority function of another function to find a function whose upper and lower relation is established as a function value, and performs upper and lower relation processing. Here, the fact that the upper and lower relations are established as function values means that the functions f 1 and f 2 satisfy f 1 ≦ f 2 with respect to an arbitrary input. The upper-lower relation processing means that when the upper-lower relation is established as a function value of the execution priority functions f 1 and f 2 of the functions A 1 and A 2 , the function A 1 is always selected when the function is selected. This is the processing performed. The fact that the execution priority function satisfies f 1 ≦ f 2 indicates that the function A 1 is more specialized than the function A 2 . Therefore, even if such available both features, it functions A 1 it is because it is considered to be close to the intended use, so that functions A 1 in the vertical-related process is selected. This vertical relationship processing will be described later with reference to FIG. In step 409, an execution priority to be used when the selection cannot be made with the execution priority function value is given to all the functions. The execution priorities are numbered, for example, in the order of registration. Then, the function execution condition setting process ends.

【0022】ステップ410では、実行不能信号を送信
する。そして、機能実行条件設定処理を終了する。
In step 410, a non-executable signal is transmitted. Then, the function execution condition setting process ends.

【0023】図10は、上下関係処理(408)を示す
フローチャートである。ステップ801では、前記ステ
ップ407で設定した実行優先度関数(これをf1とす
る)を、他の機能の実行優先度関数(これをf2とす
る)と比較し、f1≦f2を満たす実行優先度関数f2
もつ機能を探す。ステップ803では、f1≦f2を満た
す実行優先度関数f2が存在した場合はステップ804
へ進み、存在しなかった場合はステップ805へ進む。
ステップ804では、実行優先度関数f1の機能に実行
優先度関数f2を加えると共にオリジナルな関数でない
ことを該当するオリジナルフラグに登録する。この操作
を行うことにより、元の実行優先度関数がf1≦f2なら
ば、新たな実行優先度関数(和)がf1≧f2となり、前
記ステップ308,309では、関数値和で選択するの
で、実行優先度関数f1の機能が選ばれるようになる。
ステップ805では、前記ステップ801〜804をす
べての他の機能に対して行う。
FIG. 10 is a flowchart showing the vertical relation processing (408). In step 801, the execution priority function set in step 407 (this is set to f 1 ) is compared with the execution priority function of another function (this is set to f 2 ), and f 1 ≦ f 2 is set. Find function with the execution priority function f 2 satisfying. In step 803, if there is an execution priority function f 2 that satisfies f 1 ≦ f 2 , step 804
The process proceeds to step 805 if it does not exist.
In step 804, it registers the original flag corresponding to that non-original function with adding the function of the execution priority function f 1 the execution priority function f 2. By performing this operation, if the original execution priority function is f 1 ≦ f 2 , the new execution priority function (sum) becomes f 1 ≧ f 2 , and in steps 308 and 309, the function value sum is calculated. since selecting, so the function of executing priority function f 1 is chosen.
At step 805, steps 801 to 804 are performed for all other functions.

【0024】ステップ806では、前記ステップ407
で設定した実行優先度関数(これをf1とする)を、他
の機能の実行優先度関数(これをf3とする)と比較
し、f3≦f1を満たす実行優先度関数f2をもつ機能を
探す。ステップ807では、f3≦f1を満たす実行優先
度関数f3が存在した場合はステップ808へ進み、存
在しなかった場合はステップ809へ進む。ステップ8
08では、実行優先度関数f3の機能に実行優先度関数
1を加えると共にオリジナルな関数でないことを該当
するオリジナルフラグに登録する。ステップ809で
は、前記ステップ806〜808をすべての他の機能に
対して行う。そして、上下関係処理を終了する。
In step 806, step 407 is executed.
The execution priority function in set (referred to as f 1), compared with the execution priority function of another function (referred to as f 3), f 3 ≦ f 1 execution priority function f 2 satisfying Look for functions with. In step 807, if the execution priority function f 3 satisfying f 3 ≦ f 1 were present the process proceeds to step 808, if not present, the sequence goes to step 809. Step 8
In 08, and registers the original flag corresponding to that non-original functions with addition of execution priority function f 1 to the function of the execution priority function f 3. In step 809, steps 806 to 808 are performed for all other functions. Then, the vertical relationship processing ends.

【0025】図11は、アプリケーションプログラムの
機能登録処理のフローチャートである。ステップ701
では、ICチップ12の記憶装置12mに、新たなアプ
リケーションプログラムの機能を記憶する。ステップ7
02では、新たなアプリケーションプログラムの機能の
すべての実行必須条件を記憶装置12mの条件テーブル
に記録する。ステップ703では、新たなアプリケーシ
ョンプログラムの機能の実行優先度関数の一つを記憶装
置12mの条件テーブルに記録する。ステップ704で
は、図10の上下関係処理を行う。ステップ705で
は、新たなアプリケーションプログラムの機能の実行優
先度関数で前記ステップ703,704を実行していな
いものが残っていれば前記ステップ703に戻り、残っ
ていなければステップ706へ進む。ステップ706で
は、実行優先順位を全ての機能に対して付け直す。そし
て、アプリケーションプログラムの機能登録処理を終了
する。
FIG. 11 is a flowchart of the function registration process of the application program. Step 701
Then, the function of the new application program is stored in the storage device 12m of the IC chip 12. Step 7
In 02, all the execution essential conditions of the function of the new application program are recorded in the condition table of the storage device 12m. In step 703, one of the execution priority functions of the function of the new application program is recorded in the condition table of the storage device 12m. In step 704, the vertical relationship processing of FIG. 10 is performed. In step 705, the process returns to step 703 if any of the execution priority functions of the functions of the new application program, for which the steps 703 and 704 have not been executed, remains. If not, the process proceeds to step 706. In step 706, the execution priority is reset for all the functions. Then, the function registration process of the application program ends.

【0026】図12は、アプリケーションプログラムの
機能削除処理のフローチャートである。ステップ901
では、ICチップ12の記憶装置12mから削除対象の
アプリケーションプログラムの機能を削除する。ステッ
プ902では、削除したアプリケーションプログラムの
機能のすべての実行必須条件を記憶装置12mの条件テ
ーブルから削除する。ステップ903では、削除したア
プリケーションプログラムの機能の実行優先度関数の一
つを記憶装置12mの条件テーブルから削除する実行優
先度関数削除処理を実行する。この実行優先度関数削除
処理については、図13を参照して後述する。ステップ
904では、削除したアプリケーションプログラムの機
能の実行優先度関数で削除していないものが残っていれ
ば前記ステップ903に戻り、残っていなければステッ
プ905へ進む。ステップ905では、実行優先順位を
全ての機能に対して付け直す。そして、アプリケーショ
ンプログラムの機能削除処理を終了する。
FIG. 12 is a flowchart of the function deleting process of the application program. Step 901
Then, the function of the application program to be deleted is deleted from the storage device 12m of the IC chip 12. In step 902, all the execution essential conditions of the function of the deleted application program are deleted from the condition table of the storage device 12m. In step 903, an execution priority function deletion process of deleting one of the execution priority functions of the function of the deleted application program from the condition table of the storage device 12m is executed. This execution priority function deletion processing will be described later with reference to FIG. In step 904, the process returns to step 903 if any of the execution priority functions of the functions of the deleted application program that have not been deleted remains. If not, the process proceeds to step 905. In step 905, the execution priority is reset for all the functions. Then, the function deleting process of the application program ends.

【0027】図13は、実行優先度関数削除処理を示す
フローチャートである。ステップ1001では、削除対
象の実行優先度関数(これをf1とする)を記憶装置1
2mの条件テーブルから削除する。ステップ1002で
は、削除した実行優先度関数f1のオリジナルフラグを
参照し、オリジナルな関数であればステップ1003へ
進み、オリジナルな関数でなければ実行優先度関数削除
処理を終了する。ステップ1003では、記憶装置12
mに記憶されている残りの機能の実行優先度関数の中に
1と同じ関数f1’が存在していないか調べる。ステッ
プ1004では、関数f1’が存在し且つそれがオリジ
ナルな関数であればステップ1005へ進み、関数
1’が存在しないか又は存在してもそれがオリジナル
な関数でなければステップ1006へ進む。ステップ1
005では、関数f1’を条件テーブルから削除する。
ステップ1006では、f1と同じ関数f1’が存在して
いないか調べ尽くしていなければ前記ステップ1003
に戻り、調べ尽くしておれば実行優先度関数削除処理を
終了する。
FIG. 13 is a flowchart showing the execution priority function deletion processing. In step 1001, the storage device to execute priority function for deletion (referred to as f 1) 1
Delete from the 2m condition table. In step 1002, referring to the original flag of the deleted execution priority function f 1, if the original function proceeds to step 1003 to end the execution priority function deletion process if not original function. In step 1003, the storage device 12
examine either does not exist the same function f 1 'and f 1 in the execution priority function of the remaining functions stored to m. In step 1004, if the function f 1 ′ exists and is an original function, the process proceeds to step 1005. If the function f 1 ′ does not exist or exists, but the function f 1 ′ is not an original function, the process proceeds to step 1006. . Step 1
In 005, the function f 1 ′ is deleted from the condition table.
In step 1006, the step unless exhaustively examined or not there is the same function f 1 'and f 1 1003
When the check has been completed, the execution priority function deletion processing ends.

【0028】上記実施形態においては、ICカード1の
ICチップ12が実行必須条件の判定,実行優先度関数
の判定,機能の選択を行うとしたが、リーダーライター
側で行ってもよい。前者の方法は、ICカード1内の情
報をリーダーライター側に渡す必要が無いため、情報の
漏洩を防ぐことが出来る。一方、後者の方法は、判断を
行うのがリーダーライター側であるため、ICカードの
偽造に強い。ICカードの用途や重要度に応じて、これ
ら2つの方法を適宜使い分けるのが良い。
In the above embodiment, the IC chip 12 of the IC card 1 determines the execution essential condition, determines the execution priority function, and selects the function. However, the determination may be performed on the reader / writer side. In the former method, it is not necessary to pass information in the IC card 1 to the reader / writer side, so that information leakage can be prevented. On the other hand, the latter method is strong against forgery of an IC card because the judgment is made by the reader / writer. It is preferable to appropriately use these two methods depending on the use and importance of the IC card.

【0029】また、上記実施形態において、例えば図4
の実行優先度関数の内容に中に、 「10000円からは3%引き」 が存在するが、これを、 「f=0.03*x if x≧10000, f≧0 otherwise, x:利
用金額」 というように、値引き額を算出する関数にしてもよい。
ただし、この場合には、関数によって値域が異なるの
で、機能の選択のときには新たな評価基準をとる必要が
ある。例えば、機能A1,A2に対し値域が等しい関数f
1,f2を比較し、関数値がf1≦f2であったならばA2
に1加点し、最終的に最も多い点数の機能を選択するな
どの処理が考えられる。
In the above embodiment, for example, FIG.
There is "3% off from 10,000 yen" in the contents of the execution priority function of, which is called "f = 0.03 * x if x≥10000, f≥0 otherwise, x: usage amount" As described above, a function for calculating the discount amount may be used.
However, in this case, since the value range differs depending on the function, it is necessary to take a new evaluation criterion when selecting a function. For example, a function f having the same range for the functions A 1 and A 2
1 and f 2 , and if the function value is f 1 ≦ f 2 , A 2
For example, processing such as adding one point to the function and finally selecting the function with the largest number of points can be considered.

【0030】また、上記実施形態では、実行優先度関数
値の和が最も高い機能が複数存在した場合、実行優先順
位により機能を選択したが、利用者に問い合せて選択さ
せるようにしてもよい。実行優先度関数値の和が最も高
い機能が複数存在する場合は稀であり、多くの場合は実
行優先度関数値の和により機能を選択できるため、利用
者に問い合せて選択させるようにしても、従来より手続
き処理時間を短縮できる。
Further, in the above embodiment, when there are a plurality of functions having the highest sum of the execution priority function values, the functions are selected according to the execution priority. However, the user may be asked to select the function. It is rare that there are a plurality of functions having the highest sum of the execution priority function values, and in many cases, the function can be selected based on the sum of the execution priority function values. In addition, the procedure processing time can be reduced as compared with the related art.

【0031】以上のICカード1によれば、アプリケー
ションプログラムの各機能ごとに実行必須条件を設けて
いるため、各機能ごとに実行を制限できる。すなわち、
特定のアプリケーションプログラムや特定の機能の実行
のみを制限できる。また、アプリケーションプログラム
の各機能ごとに実行優先度関数や実行優先順位を設けて
いるため、実行可能なアプリケーションプログラムやそ
の機能が複数ある場合に、実行するアプリケーションプ
ログラムやその機能の選択を自動化でき、手続き処理時
間を短縮できる。また、実行必須条件および実行優先度
関数ごとに変更フラグを設けているため、意図せぬ者に
よる内容変更を禁止でき、セキュリティを確保できる。
According to the above-described IC card 1, since the execution essential condition is set for each function of the application program, the execution can be restricted for each function. That is,
Only the execution of a specific application program or a specific function can be restricted. In addition, since an execution priority function and an execution priority are provided for each function of the application program, when there are a plurality of executable application programs and their functions, the selection of the application program to be executed and the functions can be automated, Procedure processing time can be reduced. Also, since a change flag is provided for each of the execution essential condition and the execution priority function, it is possible to prohibit an unintended person from changing the contents, thereby ensuring security.

【0032】さらに、実行必須条件をうまく組み合わせ
ることにより、サービスの細分化が可能となる。すなわ
ち、サービス提供者がアプリケーションプログラムを登
録する際にICカード利用者の好みや要求を踏まえて実
行必須条件や実行優先度関数を設定すれば、ICカード
利用者の好みや要求に応じたサービスを提供できると共
に余分なサービスを提供する無駄がなくなり、低料金の
サービス提供が可能となる。
Further, by properly combining the execution essential conditions, the service can be subdivided. In other words, when the service provider sets the necessary execution conditions and the execution priority function based on the preferences and requirements of the IC card user when registering the application program, the service according to the preferences and requirements of the IC card user can be provided. It is possible to provide a service at a low cost, because it can be provided and unnecessary service is provided.

【0033】[0033]

【発明の効果】本発明のICカードのプログラム管理方
法によれば、次の効果が得られる。 (1) ICカードの特定のアプリケーションプログラムま
たはその一部の機能を制限する場合、従来はICカード
全体が無効化されてしまったが、本発明では当該アプリ
ケーションプログラムまたは機能だけを制限できるよう
になり、他のアプリケーションプログラムまたは機能を
無駄にせずに利用できる。 (2) 実行可能なアプリケーションプログラムまたは機能
が複数存在した場合、従来は利用者による選択が必要で
あったが、本発明では自動選択できるようになり、手続
き処理時間を短縮できる。 (3) 実行条件または実行優先度を決める情報を変更しよ
うとした場合、変更フラグにより変更可否をチェックす
るため、意図せぬ者による内容変更を禁止でき、セキュ
リティを確保できる。
According to the IC card program management method of the present invention, the following effects can be obtained. (1) When a specific application program of an IC card or a function of a part of the IC card is restricted, the entire IC card has been conventionally invalidated. However, according to the present invention, only the application program or the function can be restricted. Can be used without wasting other application programs or functions. (2) In the case where there are a plurality of executable application programs or functions, selection by the user has conventionally been necessary, but according to the present invention, automatic selection can be performed, and the procedure processing time can be reduced. (3) When the information for determining the execution condition or the execution priority is to be changed, it is checked whether or not the change is possible by the change flag, so that the change of the contents by an unintended person can be prohibited, and the security can be ensured.

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

【図1】本発明の一実施形態のICカードの斜視図であ
る。
FIG. 1 is a perspective view of an IC card according to an embodiment of the present invention.

【図2】図1のICカード内部のICチップの構成を示
すブロック図である。
FIG. 2 is a block diagram showing a configuration of an IC chip inside the IC card of FIG. 1;

【図3】図2のICチップに記憶された条件テーブルの
構成説明図である。
FIG. 3 is an explanatory diagram of a configuration of a condition table stored in the IC chip of FIG. 2;

【図4】図2のICチップに記憶された条件テーブルの
続きの構成説明図である。
FIG. 4 is an explanatory diagram illustrating a continuation of a condition table stored in the IC chip of FIG. 2;

【図5】図2のICチップに記憶された条件テーブルの
更に続きの構成説明図である。
FIG. 5 is a diagram illustrating a further continuation of a condition table stored in the IC chip of FIG. 2;

【図6】図1のICカードのメイン処理を示すフローチ
ャートである。
FIG. 6 is a flowchart showing main processing of the IC card of FIG. 1;

【図7】図1のICカードの実行必須条件チェック処理
を示すフローチャートである。
FIG. 7 is a flowchart showing an essential condition check process of the IC card of FIG. 1;

【図8】図1のICカードの機能選択実行処理を示すフ
ローチャートである。
FIG. 8 is a flowchart showing a function selection execution process of the IC card of FIG. 1;

【図9】図1のICカードの機能実行条件設定処理を示
すフローチャートである。
FIG. 9 is a flowchart showing a function execution condition setting process of the IC card of FIG. 1;

【図10】図1のICカードの上下関係処理を示すフロ
ーチャートである。
FIG. 10 is a flowchart showing a vertical relation process of the IC card of FIG. 1;

【図11】図1のICカードのアプリケーションプログ
ラムの機能登録処理を示すフローチャートである。
FIG. 11 is a flowchart showing a function registration process of an application program of the IC card of FIG. 1;

【図12】図1のICカードのアプリケーションプログ
ラムの機能削除処理を示すフローチャートである。
FIG. 12 is a flowchart showing a function deleting process of an application program of the IC card of FIG. 1;

【図13】図1のICカードの実行優先度関数削除処理
を示すフローチャートである。
FIG. 13 is a flowchart showing an execution priority function deletion process of the IC card of FIG. 1;

【符号の説明】[Explanation of symbols]

1…ICカード、11…プレート、12…ICチップ、
12m…記憶装置、12p…演算装置、13…接続部、
14…電源供給部。
1: IC card, 11: plate, 12: IC chip,
12m storage device, 12p arithmetic device, 13 connection unit,
14 Power supply unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐々木 敏郎 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 Fターム(参考) 5B035 AA06 BB09 BB11 BC00 CA11 5B058 CA25 CA28 YA03 YA20 5B076 AB17 CA07  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Toshiro Sasaki 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture F-term in Hitachi, Ltd. Systems Development Laboratory 5B035 AA06 BB09 BB11 BC00 CA11 5B058 CA25 CA28 YA03 YA20 5B076 AB17 CA07

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数のアプリケーションプログラムと各
アプリケーションプログラムをそれぞれ実行する前提と
なる実行条件および1以上のアプリケーションプログラ
ムと各アプリケーションプログラムの各機能をそれぞれ
実行する前提となる実行条件の少なくとも一方を記憶し
たことを特徴とするICカード。
At least one of execution conditions presupposed to execute a plurality of application programs and each application program and execution conditions premised to execute each function of at least one application program and each application program is stored. An IC card, characterized in that:
【請求項2】 請求項1のICカードに記憶されている
アプリケーションプログラムまたはその機能の実行が要
求された時に、当該ICカードに記憶されている当該ア
プリケーションプログラムまたは当該機能の実行条件を
読み出し、その実行条件が充足されているか否かを判定
し、充足している場合のみ実行可能とすることを特徴と
するICカードのプログラム管理方法。
2. When the execution of the application program or the function stored in the IC card of claim 1 is requested, the execution condition of the application program or the function stored in the IC card is read. A program management method for an IC card, comprising determining whether or not an execution condition is satisfied, and enabling execution only when the condition is satisfied.
【請求項3】 請求項1に記載のICカードにおいて、
実行可能な複数のアプリケーションプログラムが存在し
たときの実行優先度を決める情報および実行可能な複数
の機能が存在したときの実行優先度を決める情報の少な
くとも一方を記憶したことを特徴とするICカード。
3. The IC card according to claim 1, wherein
An IC card storing at least one of information for determining an execution priority when a plurality of executable application programs exist and information for determining an execution priority when a plurality of executable functions exist.
【請求項4】 請求項3のICカードに記憶されている
アプリケーションプログラムまたはその機能の実行が要
求された時に、当該ICカードに記憶されている当該ア
プリケーションプログラムまたは当該機能の実行条件を
読み出し、その実行条件が充足されているか否かを判定
し、充足しているアプリケーションプログラムまたは機
能が複数あった場合は当該ICカードに記憶されている
実行優先度を決める情報を読み出し、その情報に基づい
て最優先のアプリケーションプログラムまたは機能を実
行可能とすることを特徴とするICカードのプログラム
管理方法。
4. When the execution of the application program or the function stored in the IC card according to claim 3 is requested, the execution condition of the application program or the function stored in the IC card is read out. It is determined whether or not the execution conditions are satisfied. If there are a plurality of application programs or functions that are satisfied, the information that determines the execution priority stored in the IC card is read out, and based on the information, the information is determined. A program management method for an IC card, wherein a priority application program or function can be executed.
【請求項5】 請求項1または請求項3に記載のICカ
ードにおいて、前記実行条件または前記実行優先度を決
める情報の変更許可/変更禁止を定義した変更フラグを
記憶したことを特徴とするICカード。
5. The IC card according to claim 1, wherein a change flag defining change permission / prohibition of change of the execution condition or the information for determining the execution priority is stored. card.
【請求項6】 請求項5のICカードに記憶されている
実行条件または実行優先度を決める情報の変更が要求さ
れた時に、当該ICカードに記憶されている変更フラグ
を参照し、変更フラグが変更許可の場合のみ変更可能と
することを特徴とするICカードのプログラム管理方
法。
6. A request for changing execution conditions or execution priority information stored in the IC card according to claim 5, wherein the change flag is referred to by referring to a change flag stored in the IC card. A program management method for an IC card, wherein a change can be made only when a change is permitted.
JP10232535A 1998-08-19 1998-08-19 Ic card, and program managing method for ic card Pending JP2000066882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10232535A JP2000066882A (en) 1998-08-19 1998-08-19 Ic card, and program managing method for ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10232535A JP2000066882A (en) 1998-08-19 1998-08-19 Ic card, and program managing method for ic card

Publications (1)

Publication Number Publication Date
JP2000066882A true JP2000066882A (en) 2000-03-03

Family

ID=16940862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10232535A Pending JP2000066882A (en) 1998-08-19 1998-08-19 Ic card, and program managing method for ic card

Country Status (1)

Country Link
JP (1) JP2000066882A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076968A (en) * 2001-09-04 2003-03-14 Toshiba Corp Portable electronic device and method for inhibiting the use
WO2006011343A1 (en) * 2004-07-28 2006-02-02 Matsushita Electric Industrial Co., Ltd. Competition solving device
US7281101B2 (en) 2003-02-06 2007-10-09 Renesas Technology Corp. Memory device storing data relating to specific application programs
JP2008015976A (en) * 2006-07-10 2008-01-24 Fuji Electric Retail Systems Co Ltd Communication device
JP2008269077A (en) * 2007-04-17 2008-11-06 Toshiba Corp Portable electronic device and ic card
JP2011065477A (en) * 2009-09-17 2011-03-31 Toshiba Corp Mobile electronic device
JP2014186378A (en) * 2013-03-21 2014-10-02 Toshiba Corp Ic card and portable electronic device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076968A (en) * 2001-09-04 2003-03-14 Toshiba Corp Portable electronic device and method for inhibiting the use
US7281101B2 (en) 2003-02-06 2007-10-09 Renesas Technology Corp. Memory device storing data relating to specific application programs
WO2006011343A1 (en) * 2004-07-28 2006-02-02 Matsushita Electric Industrial Co., Ltd. Competition solving device
JPWO2006011343A1 (en) * 2004-07-28 2008-05-01 松下電器産業株式会社 Conflict resolution device
JP2008015976A (en) * 2006-07-10 2008-01-24 Fuji Electric Retail Systems Co Ltd Communication device
JP2008269077A (en) * 2007-04-17 2008-11-06 Toshiba Corp Portable electronic device and ic card
JP2011065477A (en) * 2009-09-17 2011-03-31 Toshiba Corp Mobile electronic device
US8665070B2 (en) 2009-09-17 2014-03-04 Kabushiki Kaisha Toshiba Mobile electronic device
JP2014186378A (en) * 2013-03-21 2014-10-02 Toshiba Corp Ic card and portable electronic device

Similar Documents

Publication Publication Date Title
US11348086B2 (en) Information processing device and information processing method
US6705518B2 (en) System and method for providing tourism service using RF IC card, and storage medium for storing tourism service algorithm thereof
KR0146624B1 (en) Credit dealing card and credit dealing apparatus and method thereof
CN106530423B (en) Method and server for realizing parking fee payment
US20110125633A1 (en) Transaction processing
EP0878784A2 (en) Electronic money card, electronic money receiving/paying machine, and electronic money card editing device
JP2002157491A (en) Privilege service system, recording medium used for the same and privilege service method
EP1191776A2 (en) Method for automatically changing an access contract between a prepaid contract and a postpaid contract
JP2000066882A (en) Ic card, and program managing method for ic card
JP2004102787A (en) Credit card use propriety determination system and method, credit card processing system and method, credit card direct debit schedule notification service system and method, computer program, and recording medium recorded with computer program
JP2000357191A (en) Method and system for providing service of electronic map
JP4851835B2 (en) Electronic money management device, electronic payment processing method, and mobile phone device
JP2002117362A (en) Electronic money managing method, electronic money managing system, medium for electronic money managing possession, program for electronic money management, recording medium readable by computer having recoded program, electronic value information management
SK86099A3 (en) Chip card and method for its use
JP2008139953A (en) Apparatus and method for transmitting money amount changing information
EP1176491A2 (en) Software program providing system and software program providing method
JP2015138431A (en) Credit card use limitation system, reading device, credit card use limitation device, limitation terminal, credit card use limitation method, program and storage medium
JP4329754B2 (en) Service providing system and terminal device thereof
JP2002297554A (en) Information processing system, information storage medium and service system constituting the same, program for service system, and medium with the program recorded thereon
JP3585771B2 (en) Product sales data processing device
JP7260366B2 (en) Electronic money management system, management method, and program
JP5202825B2 (en) Game equipment
CN117764577A (en) Method and device for executing business, storage medium and electronic equipment
JP2005141492A (en) Information processing system, information processing method, program, and recording medium
JP4954594B2 (en) Game equipment