Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6426411B2 - IC card and portable electronic device - Google Patents
[go: Go Back, main page]

JP6426411B2 - IC card and portable electronic device - Google Patents

IC card and portable electronic device Download PDF

Info

Publication number
JP6426411B2
JP6426411B2 JP2014184005A JP2014184005A JP6426411B2 JP 6426411 B2 JP6426411 B2 JP 6426411B2 JP 2014184005 A JP2014184005 A JP 2014184005A JP 2014184005 A JP2014184005 A JP 2014184005A JP 6426411 B2 JP6426411 B2 JP 6426411B2
Authority
JP
Japan
Prior art keywords
record
application
unit
card
status
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.)
Active
Application number
JP2014184005A
Other languages
Japanese (ja)
Other versions
JP2016057868A (en
Inventor
福田 亜紀
亜紀 福田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2014184005A priority Critical patent/JP6426411B2/en
Publication of JP2016057868A publication Critical patent/JP2016057868A/en
Application granted granted Critical
Publication of JP6426411B2 publication Critical patent/JP6426411B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明の実施形態は、ICカード、携帯可能電子装置、及び、プログラムコードに関する。   Embodiments of the present invention relate to an IC card, a portable electronic device, and a program code.

ICカードなどの携帯可能電子装置は、アプリケーションの種別をPES(Payment System Enviroment)と呼ばれるDFに当該アプリケーションのレコードとして格納する。従来、ICカードは、アプリケーションのステータスの変更、又は、削除を行う場合には、アプリケーションのステータスを変更又はアプリケーションを削除した後に、PES内のレコードを変更又は削除する必要があるという課題がある。   A portable electronic device such as an IC card stores the type of application in a DF called a payment system environment (PES) as a record of the application. Conventionally, when changing or deleting the status of an application, the IC card has a problem that it is necessary to change or delete a record in the PES after changing the status of the application or deleting the application.

特開平06−504862Japanese Patent Application Publication No. 06-504862

上記の課題を解決するために、レコードを変更することでレコードに関連するアプリケーションの管理を行うことができるICカード、携帯可能電子装置、及び、プログラムコードを提供する。   In order to solve the above problems, an IC card, a portable electronic device, and a program code capable of managing an application related to a record by changing the record are provided.

実施形態によれば、ICカードは、通信部と、第1記憶部と、第2記憶部と、更新部と、変更部と、レコード削除部と、アプリケーション削除部と、を備える。通信部は、外部装置とデータを送受信する。第1記憶部は、アプリケーションを格納する。第2記憶部は、前記アプリケーションのステータス設定を含むレコードを格納する。更新部は、前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する。変更部は、前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する。レコード削除部は、前記通信部を通じてレコードを削除する削除コマンドを受信した場合、前記削除コマンドに従って、前記第2記憶部が格納するレコードを削除する。アプリケーション削除部は、前記レコード削除部が前記第2記憶部が格納する前記レコードを削除すると、前記レコードに対応するアプリケーションを物理的に削除する。 According to the embodiment, the IC card includes the communication unit, the first storage unit, the second storage unit, the update unit, the change unit, the record deletion unit, and the application deletion unit . The communication unit exchanges data with an external device. The first storage unit stores an application. The second storage unit stores a record including status setting of the application. The update unit updates the status setting of the record stored in the second storage unit according to the update command, when an update command for updating the status setting of the record is received through the communication unit. The changing unit changes the status of the application according to the status setting when the updating unit updates the status setting of the record. When the record deletion unit receives a deletion command for deleting a record through the communication unit, the record deletion unit deletes the record stored in the second storage unit according to the deletion command. The application deletion unit physically deletes the application corresponding to the record when the record deletion unit deletes the record stored in the second storage unit.

図1は、実施形態に係るICカード処理システムの構成例を示す図である。FIG. 1 is a view showing a configuration example of an IC card processing system according to an embodiment. 図2は、実施形態に係るICカードの構成例を示すブロック図である。FIG. 2 is a block diagram showing an exemplary configuration of the IC card according to the embodiment. 図3は、実施形態に係るICカードのNVMのファイル構造の構成例を示すブロック図である。FIG. 3 is a block diagram showing a configuration example of the file structure of NVM of the IC card according to the embodiment. 図4は、実施形態に係るICカードのNVMが格納するアプリケーションの構成例を示す図である。FIG. 4 is a view showing an example of the configuration of an application stored in the NVM of the IC card according to the embodiment. 図5は、実施形態に係るICカードのアプリケーションリストが格納するレコードの構成例を示す図である。FIG. 5 is a diagram showing a configuration example of a record stored in the application list of the IC card according to the embodiment. 図6は、実施形態に係るICカードのレコードが格納するデータの構成例を示す図である。FIG. 6 is a view showing a configuration example of data stored in the record of the IC card according to the embodiment. 図7は、実施形態に係るICカード処理システムのインストールファイルである。FIG. 7 shows an installation file of the IC card processing system according to the embodiment. 図8は、実施形態に係るICカードのOSの動作例を示すフローチャートである。FIG. 8 is a flowchart showing an operation example of the OS of the IC card according to the embodiment. 図9は、実施形態に係るICカードのOSの動作例を示すフローチャートである。FIG. 9 is a flowchart showing an operation example of the OS of the IC card according to the embodiment. 図10は、実施形態に係る管理アプリケーションの動作例を示すフローチャートである。FIG. 10 is a flowchart showing an operation example of the management application according to the embodiment. 図11は、実施形態に係るICカードのOSの動作例を示すフローチャートである。FIG. 11 is a flowchart showing an operation example of the OS of the IC card according to the embodiment. 図12は、実施形態に係るICカードのOSの動作例を示すフローチャートである。FIG. 12 is a flowchart showing an operation example of the OS of the IC card according to the embodiment. 図13は、実施形態に係る管理アプリケーションの動作例を示すフローチャートである。FIG. 13 is a flowchart showing an operation example of the management application according to the embodiment. 図14は、実施形態に係るICカードのOSの動作例を示すフローチャートである。FIG. 14 is a flowchart showing an operation example of the OS of the IC card according to the embodiment.

以下、実施形態について、図面を参照して説明する。
図1は、ICカード処理システム10の構成例について説明するためのブロック図である。図1が示すように、ICカード処理システム10は、ICカード処理装置1(外部装置)、及び、ICカード2(携帯可能電子装置)などから構成される。
Hereinafter, embodiments will be described with reference to the drawings.
FIG. 1 is a block diagram for explaining an exemplary configuration of the IC card processing system 10. As shown in FIG. As FIG. 1 shows, the IC card processing system 10 is comprised from IC card processing apparatus 1 (external device), IC card 2 (portable electronic device), etc.

図1が示す構成例において、ICカード処理装置1は、基本的な構成として、CPU11、ROM12、RAM13、NVM14、カードリーダライタ15、操作部16、及び、ディスプレイ17などを有する。これらの各部は、データバスを介して互いに接続されている。なお、ICカード処理装置1は、図1が示すような構成の他に、必要に応じた構成を具備したり特定の構成を除外したりしてもよい。   In the configuration example shown in FIG. 1, the IC card processing device 1 has a CPU 11, a ROM 12, a RAM 13, an NVM 14, a card reader / writer 15, an operation unit 16, a display 17 and the like as a basic configuration. These units are connected to one another via a data bus. In addition to the configuration as shown in FIG. 1, the IC card processing device 1 may have a configuration according to need or exclude a specific configuration.

CPU11は、ICカード処理装置1全体の動作を制御する機能を有する。CPU11は、内部キャッシュおよび各種のインターフェースなどを備えても良い。CPU11は、内部メモリ、ROM12あるいはNVM14に予め記憶したプログラムを実行することにより種々の処理を実現する。   The CPU 11 has a function of controlling the overall operation of the IC card processing device 1. The CPU 11 may have an internal cache, various interfaces, and the like. The CPU 11 implements various processes by executing programs stored in advance in the internal memory, the ROM 12 or the NVM 14.

CPU11は、カードリーダライタ15によりICカード2へコマンドを送信する機能、ICカード2から受信するレスポンスなどのデータを基に種々の処理を行う機能などを有する。たとえば、CPU11は、カードリーダライタ15を介して、操作部16などに入力されたデータ又は所定のデータなどを含む書き込みコマンドをICカード2に送信することにより、ICカード2に当該データの書き込み処理を要求する制御を行う。   The CPU 11 has a function of transmitting a command to the IC card 2 by the card reader / writer 15 and a function of performing various processing based on data such as a response received from the IC card 2. For example, CPU 11 transmits a write command including data input to operation unit 16 or the like or predetermined data to IC card 2 via card reader / writer 15 to write the data to IC card 2 Control to request

なお、CPU11がプログラムを実行することにより実現する各種の機能のうちの一部は、ハードウエア回路により実現されるものであっても良い。この場合、CPU11は、ハードウエア回路により実行される機能を制御する。   Note that some of the various functions implemented by the CPU 11 executing a program may be implemented by a hardware circuit. In this case, the CPU 11 controls the function executed by the hardware circuit.

ROM12は、予め制御用のプログラム及び制御データなどが記憶された不揮発性のメモリである。ROM12に記憶される制御プログラム及び制御データは、予めICカード処理装置1の仕様に応じて組み込まれる。ROM12は、たとえば、ICカード処理装置1の回路基板を制御するプログラム(例えば、BIOS)などを格納している。   The ROM 12 is a non-volatile memory in which control programs and control data are stored in advance. The control program and control data stored in the ROM 12 are incorporated in advance according to the specification of the IC card processing apparatus 1. The ROM 12 stores, for example, a program (for example, a BIOS) for controlling the circuit board of the IC card processing apparatus 1 or the like.

RAM13は、揮発性のメモリである。RAM13は、CPU11の処理中のデータなどを一時的に格納する。RAM13は、CPU11からの命令に基づき種々のアプリケーションプログラムを格納している。また、RAM13は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを格納してもよい。   The RAM 13 is a volatile memory. The RAM 13 temporarily stores data and the like being processed by the CPU 11. The RAM 13 stores various application programs based on an instruction from the CPU 11. In addition, the RAM 13 may store data necessary for executing the application program, an execution result of the application program, and the like.

NVM14は、データの書き込み及び書き換えが可能な不揮発性のメモリである。NVM14は、例えば、ハードディスク、SSD、EEPROM又はフラッシュメモリなどにより構成される。NVM14は、ICカード処理装置1の運用用途に応じて制御プログラム、アプリケーション、及び種々のデータを格納する。   The NVM 14 is a non-volatile memory capable of writing and rewriting data. The NVM 14 is configured by, for example, a hard disk, an SSD, an EEPROM, or a flash memory. The NVM 14 stores control programs, applications, and various data in accordance with the operation application of the IC card processing device 1.

カードリーダライタ15は、ICカード2との通信を行うためのインターフェース装置である。カードリーダライタ15は、ICカード2の通信方式に応じたインターフェースにより構成される。たとえば、ICカード2が接触型のICカードである場合、カードリーダライタ15は、ICカード2のコンタクト部と物理的かつ電気的に接続するための接触部などにより構成される。   The card reader / writer 15 is an interface device for communicating with the IC card 2. The card reader / writer 15 is configured by an interface corresponding to the communication method of the IC card 2. For example, when the IC card 2 is a contact type IC card, the card reader / writer 15 is constituted by a contact portion for connecting the contact portion of the IC card 2 physically and electrically.

また、ICカード2が非接触型のICカードである場合、カードリーダライタ15は、ICカード2との無線通信を行うためのアンテナおよび通信制御部などにより構成される。カードリーダライタ15では、ICカード2に対する電源供給、クロック供給、リセット制御、データの送受信が行われるようになっている。   When the IC card 2 is a noncontact IC card, the card reader / writer 15 is configured of an antenna for performing wireless communication with the IC card 2, a communication control unit, and the like. The card reader / writer 15 performs power supply to the IC card 2, clock supply, reset control, and data transmission / reception.

このような機能によってカードリーダライタ15は、CPU11による制御に基づいてICカード2に対する電源供給、ICカード2の活性化(起動)、クロック供給、リセット制御、種々のコマンドの送信、及び送信したコマンドに対する応答(レスポンス)の受信などを行なう。   With such functions, the card reader / writer 15 supplies power to the IC card 2, activates (starts up) the IC card 2, supplies clock, resets, transmits various commands, and transmits commands based on control by the CPU 11. Receive a response to the message.

操作部16は、ICカード処理装置1の操作者によって、種々の操作指示が入力される。操作部16は、操作者に入力された操作指示のデータをCPU11へ送信する。操作部16は、たとえば、キーボード、テンキー、及び、タッチパネルなどである。また、操作部16は、生態情報の入力を受け付けてもよい。   Various operation instructions are input to the operation unit 16 by the operator of the IC card processing apparatus 1. The operation unit 16 transmits data of the operation instruction input by the operator to the CPU 11. The operation unit 16 is, for example, a keyboard, a ten key, a touch panel, and the like. In addition, the operation unit 16 may receive input of ecological information.

ディスプレイ17は、CPU11の制御により種々の情報を表示する表示装置である。ディスプレイ17は、たとえば、液晶モニタなどである。   The display 17 is a display device that displays various information under the control of the CPU 11. The display 17 is, for example, a liquid crystal monitor.

次に、ICカード2について説明する。
ICカード2は、ICカード処理装置1などの上位装置から電力などの供給を受けて活性化される(動作可能な状態になる)ようになっている。例えば、ICカード2が接触型の通信によりICカード処理装置1と接続される場合、つまり、ICカード2が接触型のICカードで構成される場合、ICカード2は、通信インターフェースとしてのコンタクト部を介してICカード処理装置1からの動作電源及び動作クロックの供給を受けて活性化される。
Next, the IC card 2 will be described.
The IC card 2 is activated (becomes operable) by being supplied with power or the like from a higher-level device such as the IC card processing device 1. For example, when the IC card 2 is connected to the IC card processing device 1 by contact communication, that is, when the IC card 2 is configured of a contact IC card, the IC card 2 is a contact unit as a communication interface. Are activated by receiving the supply of operating power and clock from the IC card processing device 1 via

また、ICカード2が非接触型の通信方式によりICカード処理装置1と接続される場合、つまり、ICカード2が非接触式のICカードで構成される場合、ICカード2は、通信インターフェースとしてのアンテナ及び変復調回路などを介してICカード処理装置1からの電波を受信し、その電波から図示しない電源部により動作電源及び動作クロックを生成して活性化するようになっている。   Further, when the IC card 2 is connected to the IC card processing apparatus 1 by the noncontact communication method, that is, when the IC card 2 is configured by the noncontact IC card, the IC card 2 is used as a communication interface. The radio wave from the IC card processing apparatus 1 is received via the antenna and the modulation / demodulation circuit, and the operation power supply and the operation clock are generated from the radio wave by a power supply unit (not shown) and activated.

次に、ICカード2の構成例について説明する。
図2は、実施形態に係るICカード2の構成例を概略的に示すブロック図である。
ICカード2は、プラスチックなどで形成されたカード状の本体Cを有する。ICカード2は、本体C内にモジュールMが内蔵されている。モジュールMは、1つまたは複数のICチップCaと通信部としての外部インターフェース(通信インターフェース)とが接続された状態で一体的に形成され、ICカード2の本体C内に埋設されている。
Next, a configuration example of the IC card 2 will be described.
FIG. 2 is a block diagram schematically showing a configuration example of the IC card 2 according to the embodiment.
The IC card 2 has a card-like main body C formed of plastic or the like. The IC card 2 incorporates a module M in a main body C. The module M is integrally formed in a state in which one or more IC chips Ca and an external interface (communication interface) as a communication unit are connected, and is embedded in the main body C of the IC card 2.

図2に示す構成例において、ICカード2は、CPU21、ROM22、RAM23、NVM24、及び、通信部25などを備えている。これらの各部は、データバスを介して互いに接続されている。また、CPU21、ROM22、RAM23、およびNVM24は、1つ又は複数のICチップCaにより構成され、通信部25に接続された状態でモジュールMを構成している。   In the configuration example shown in FIG. 2, the IC card 2 includes a CPU 21, a ROM 22, a RAM 23, an NVM 24, a communication unit 25, and the like. These units are connected to one another via a data bus. The CPU 21, the ROM 22, the RAM 23, and the NVM 24 are configured by one or more IC chips Ca, and configure the module M in a state of being connected to the communication unit 25.

CPU21は、ICカード2全体の制御を司る制御部として機能する。CPU21は、ROM22あるいはNVM24に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。たとえば、CPU21は、ROM22に記憶されているプログラムを実行することにより、ICカード2の動作制御あるいはICカード2の運用形態に応じた種々の処理を行う。   The CPU 21 functions as a control unit that controls the entire IC card 2. The CPU 21 performs various processing based on the control program and control data stored in the ROM 22 or the NVM 24. For example, the CPU 21 executes the program stored in the ROM 22 to perform various types of processing according to the operation control of the IC card 2 or the operation mode of the IC card 2.

なお、各種の機能のうちの一部は、ハードウエア回路により実現されるものであっても良い。この場合、CPU21は、ハードウエア回路により実行される機能を制御する。   Note that some of the various functions may be realized by a hardware circuit. In this case, the CPU 21 controls the function executed by the hardware circuit.

ROM22は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROM22は、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード2に組み込まれる。即ち、ROM22に記憶される制御プログラム及び制御データは、予めICカード2の仕様に応じて組み込まれる。   The ROM 22 is a non-volatile memory that stores control programs and control data in advance. The ROM 22 is incorporated into the IC card 2 in a state in which control programs and control data and the like are stored at the manufacturing stage. That is, the control program and control data stored in the ROM 22 are incorporated in advance according to the specification of the IC card 2.

RAM23は、揮発性のメモリである。RAM23は、CPU21の処理中のデータなどを一時的に格納する。たとえば、RAM23は、計算用バッファ、受信用バッファ及び送信用バッファとして機能する。計算用バッファとしては、CPU21が実行する種々の演算処理の結果などを一時的に保持する。受信用バッファとしては、通信部25を介してICカード処理装置1から受信するコマンドデータなどを保持する。送信用バッファとしては、通信部25を介してICカード処理装置1へ送信するメッセージ(レスポンスデータ)などを保持する。また、RAM23は、動作状態を示すフラグを記憶する。   The RAM 23 is a volatile memory. The RAM 23 temporarily stores data and the like being processed by the CPU 21. For example, the RAM 23 functions as a calculation buffer, a reception buffer, and a transmission buffer. The calculation buffer temporarily holds the results of various arithmetic processing executed by the CPU 21 and the like. The reception buffer holds command data and the like received from the IC card processing device 1 via the communication unit 25. As a transmission buffer, a message (response data) to be transmitted to the IC card processing device 1 via the communication unit 25 is held. In addition, the RAM 23 stores a flag indicating an operation state.

NVM24は、例えば、EEPROMあるいはフラッシュROMなどのデータの書き込み及び書換えが可能な不揮発性のメモリにより構成される。NVM24は、ICカード2の運用用途に応じて制御プログラム、アプリケーション、及び種々のデータを格納する。例えば、NVM24では、プログラムファイル及びデータファイルなどが作成される。作成された各ファイルは、制御プログラム及び種々のデータなどが書き込まれる。   The NVM 24 is configured by, for example, a non-volatile memory capable of writing and rewriting data, such as an EEPROM or a flash ROM. The NVM 24 stores control programs, applications, and various data in accordance with the application of the IC card 2. For example, the NVM 24 creates program files and data files. Each file created is written with a control program and various data.

通信部25は、ICカード処理装置1のカードリーダライタ15との通信を行うためのインターフェースである。ICカード2が接触型のICカードとして実現される場合、通信部25は、ICカード処理装置1のカードリーダライタ15と物理的かつ電気的に接触して信号の送受信を行うための通信制御部とコンタクト部とにより構成される。また、ICカード2が非接触型のICカードとして実現される場合、通信部25は、ICカード処理装置1のカードリーダライタ15との無線通信を行うための変復調回路などの通信制御部とアンテナとにより構成される。   The communication unit 25 is an interface for communicating with the card reader / writer 15 of the IC card processing apparatus 1. When the IC card 2 is realized as a contact-type IC card, the communication unit 25 is a communication control unit for physically and electrically contacting the card reader / writer 15 of the IC card processing apparatus 1 to transmit and receive signals. And the contact portion. Further, when the IC card 2 is realized as a non-contact IC card, the communication unit 25 is a communication control unit such as a modulation / demodulation circuit for performing wireless communication with the card reader / writer 15 of the IC card processing device 1 and an antenna. And consists of

図3は、NVM24に格納されるファイルの構造例を示す図である。
図3が示すように、NVM24は、MF(Master File)、DF(Dedicated File)および、EF(Elementary File)などからなる階層構造を有する複数のファイル群が定義される。
FIG. 3 is a view showing an example of the structure of a file stored in the NVM 24. As shown in FIG.
As illustrated in FIG. 3, the NVM 24 defines a plurality of file groups having a hierarchical structure including a master file (MF), a dedicated file (DF), and an elementary file (EF).

図3が示す例では、最上階層のMF101(マスターファイル)の下の階層には、DF102乃至104が存在する。たとえば、1つのDFは、ICカード2が具備する1つのアプリケーションを実現するためのデータが格納される。ICカードが複数のアプリケーションによって複数の機能を実現している場合は、NVM24は、各アプリケーションに対応する複数のDFを格納しても良い。また、DFの下の階層に、さらに他のDFが存在してもよい。   In the example shown in FIG. 3, DFs 102 to 104 exist in the hierarchy below the MF 101 (master file) in the top hierarchy. For example, one DF stores data for realizing one application included in the IC card 2. When the IC card realizes a plurality of functions by a plurality of applications, the NVM 24 may store a plurality of DFs corresponding to each application. Also, another DF may exist in the lower hierarchy of the DF.

また、図3が示す例では、DF102乃至104の下の階層に、それぞれEF112乃至114が存在している。EF112乃至114は、各種のデータを格納するためのデータファイルである。EF112乃至114には、所定のデータ構造のうち何れかのデータ構造でデータが格納される。たとえば、EF112乃至114は、識別子(タグ(Tag))、長さ情報(レングス(Length))、および、データ部(バリュー(Value))が順に連結されるTLV構造のオブジェクトデータが格納されるファイルであっても良いし、バイナリーデータを記憶するファイルであっても良い。   Further, in the example shown in FIG. 3, EFs 112 to 114 exist in the layers below the DFs 102 to 104, respectively. The EFs 112 to 114 are data files for storing various data. Data is stored in any of the predetermined data structures in the EFs 112 to 114. For example, a file in which object data of a TLV structure in which an identifier (tag), length information (length), and a data part (value) are sequentially connected is stored in the EFs 112 to 114. It may be a file storing binary data.

ここでは、DF102乃至104は、それぞれ1つのEFを格納する。DF102乃至104は、複数のEFを格納してもよい。DF102乃至104が格納するEFの個数は、特定の個数に限定されるものではない。   Here, each of the DFs 102 to 104 stores one EF. The DFs 102 to 104 may store a plurality of EFs. The number of EFs stored by the DFs 102 to 104 is not limited to a specific number.

なお、NVM24は、MFがなく各ファイルが横並びである構造であってもよい。たとえば、NVM24のファイル構造は、Java(登録商標)Cardのように階層構造を持たなくともよい。   The NVM 24 may have a structure in which the files are arranged side by side without the MF. For example, the file structure of the NVM 24 may not have a hierarchical structure like Java Card.

なお、NVM24に格納されるファイル構造は、特定の構造に限定されるものではない。   The file structure stored in the NVM 24 is not limited to a specific structure.

次に、NVM24が格納するアプリケーションについて説明する。
図4は、NVM24が格納するアプリケーションを示すブロック図である。
ここでは、NVM24は、DF102乃至104にアプリケーションを格納しているものとする。
Next, an application stored in the NVM 24 will be described.
FIG. 4 is a block diagram showing an application stored by the NVM 24. As shown in FIG.
Here, it is assumed that the NVM 24 stores an application in the DFs 102 to 104.

NVM24は、DF102及び103(請求項1、7及び9の第1記憶部、又は、請求項5、8及び9の記憶部に対応)にそれぞれ通常アプリケーション31及び32を格納する。また、NVM24は、DF104(第2記憶部に対応)に管理アプリケーション33を格納する。   The NVM 24 stores the normal applications 31 and 32 in the DFs 102 and 103 (corresponding to the first storage units of claims 1, 7 and 9 or the storage units of claims 5, 8 and 9), respectively. Also, the NVM 24 stores the management application 33 in the DF 104 (corresponding to the second storage unit).

通常アプリケーション31は、ICカード2の所定の機能を実現するためのアプリケーションである。たとえば、通常アプリケーション31は、ICカード処理装置1からのコマンドに従って、認証処理を実行する。また、たとえば、通常アプリケーション31は、ICカード処理装置1からのコマンドに従って、特定の領域にデータを書き込む処理を実行する。通常アプリケーション31が実現する機能は、特定の機能に限定されるものではない。   The normal application 31 is an application for realizing a predetermined function of the IC card 2. For example, the normal application 31 executes an authentication process in accordance with a command from the IC card processing device 1. Also, for example, the normal application 31 executes a process of writing data in a specific area in accordance with a command from the IC card processing device 1. The functions realized by the normal application 31 are not limited to specific functions.

通常アプリケーション31は、ICカード2の発行時にNVM24に格納されてもよい。また、通常アプリケーション31は、ICカード2の運用に応じて追加されたものであってもよい。   The normal application 31 may be stored in the NVM 24 when the IC card 2 is issued. Further, the normal application 31 may be added according to the operation of the IC card 2.

通常アプリケーション31は、AID31a、アプリケーションデータ31b及びコード31cなどから構成される。なお、AID31a、アプリケーションデータ31b及びコード31cは、EF112に格納されてもよい。また、AID31a、アプリケーションデータ31b及びコード31cは、DF102にある複数個のEFにそれぞれ格納されてもよい。   The normal application 31 includes an AID 31a, application data 31b, a code 31c, and the like. The AID 31a, the application data 31b, and the code 31c may be stored in the EF 112. Also, the AID 31a, the application data 31b, and the code 31c may be stored in a plurality of EFs in the DF 102, respectively.

AID31aは、通常アプリケーション31を識別する識別子である。たとえば、AID31aは、数値、文字列又は両者の組合せなどであってもよい。   The AID 31 a is an identifier that usually identifies the application 31. For example, the AID 31a may be a numerical value, a character string, or a combination of both.

アプリケーションデータ31bは、通常アプリケーション31を実行するために必要なデータである。たとえば、通常アプリケーション31が決済機能を実現する場合、アプリケーションデータ31bは、ICカード2にチャージされる金額などを示す。   The application data 31 b is usually data required to execute the application 31. For example, when the normal application 31 realizes the payment function, the application data 31 b indicates the amount of money charged in the IC card 2 or the like.

また、アプリケーションデータ31bは、通常アプリケーション31が生成するデータであってもよい。   Also, the application data 31 b may be data generated by the normal application 31.

コード31cは、通常アプリケーション31のプログラムコードである。コード31cは、通常アプリケーション31が実現する内容に応じたプログラムコードである。   The code 31 c is usually a program code of the application 31. The code 31 c is a program code according to the contents that the normal application 31 realizes.

通常アプリケーション32は、通常アプリケーション31と同様であるので説明を省略する。   The normal application 32 is the same as the normal application 31, so the description will be omitted.

次に、管理アプリケーション33について説明する。
管理アプリケーション33は、通常アプリケーション31及び32などを管理するためのアプリケーションである。前述の通り、管理アプリケーション33は、DF104に格納される。即ち、管理アプリケーション33は、管理アプリケーション33が管理するアプリケーション(たとえば、通常アプリケーション31又は32)と同階層に格納される。同階層とは、MF101からの同一の深度にあるDFであることを示す。また、管理アプリケーション33は、管理アプリケーション33が管理するアプリケーションと異なる階層に格納されてもよい。
Next, the management application 33 will be described.
The management application 33 is an application for managing the normal applications 31 and 32 and the like. As described above, the management application 33 is stored in the DF 104. That is, the management application 33 is stored in the same hierarchy as the application (for example, the normal application 31 or 32) managed by the management application 33. The same hierarchy indicates that the DF is at the same depth from the MF 101. Also, the management application 33 may be stored in a hierarchy different from the application managed by the management application 33.

管理アプリケーション33は、ICカード2の発行時にNVM24に格納されてもよい。また、管理アプリケーション33は、通常アプリケーション31又は32がインストールされたのちに、NVM24に格納されてもよい。   The management application 33 may be stored in the NVM 24 when the IC card 2 is issued. Also, the management application 33 may be stored in the NVM 24 after the normal application 31 or 32 is installed.

図4が示すように、管理アプリケーション33は、AID33a、アプリケーションリスト33b、及び、コード34bなどを備える。   As illustrated in FIG. 4, the management application 33 includes an AID 33a, an application list 33b, and a code 34b.

AID33aは、管理アプリケーション33を識別する識別子である。   The AID 33 a is an identifier for identifying the management application 33.

アプリケーションリスト33bは、通常アプリケーション31及び32に対応するレコードを格納する。レコードについては、後述する。   The application list 33 b normally stores records corresponding to the applications 31 and 32. The record will be described later.

コード33cは、管理アプリケーション33のプログラムコードである。コード33cは、管理アプリケーション33の機能を実現するためのプログラムコードである。管理アプリケーション33が実現する機能について後述する。   The code 33 c is a program code of the management application 33. The code 33 c is a program code for realizing the function of the management application 33. The functions realized by the management application 33 will be described later.

次に、アプリケーションリスト33bが格納するレコードについて説明する。
図5は、アプリケーションリスト33bが格納するレコードを示すブロック図である。
Next, the records stored in the application list 33b will be described.
FIG. 5 is a block diagram showing records stored in the application list 33b.

アプリケーションリスト33bは、NVM24が格納するアプリケーションに対応するレコードを格納する。アプリケーションリスト33bは、NVM24が格納するアプリケーションの一部に対応するレコードを格納してもよい。   The application list 33 b stores records corresponding to the applications stored in the NVM 24. The application list 33 b may store a record corresponding to a part of the application stored in the NVM 24.

図5が示すように、アプリケーションリスト33bは、レコード41及び42などを格納する。   As FIG. 5 shows, the application list 33b stores the records 41 and 42 and the like.

レコード41及び42は、通常アプリケーション31及び32にそれぞれ関する情報を格納する。   Records 41 and 42 generally store information related to applications 31 and 32, respectively.

ここでは、アプリケーションリスト33bは、2つのレコードを格納するが、アプリケーションリスト33bが格納するレコードの個数は、特定の個数に限定されるものではない。   Here, the application list 33 b stores two records, but the number of records stored in the application list 33 b is not limited to a specific number.

次に、レコードについて説明する。
図6は、レコードが格納するデータについて説明するための図である。
Next, the record will be described.
FIG. 6 is a diagram for explaining data stored in a record.

図6は、レコード41の構成例を示す。   FIG. 6 shows a configuration example of the record 41.

図6が示すように、レコード41は、AID51、アプリ名52、管理者名53、利用開始日54、有効期限55、ステータス設定56、及び、電子署名57などを備える。   As illustrated in FIG. 6, the record 41 includes an AID 51, an application name 52, an administrator name 53, a use start date 54, an expiration date 55, a status setting 56, an electronic signature 57, and the like.

AID51は、レコード41が対応するアプリケーションを識別する識別子である。AID51は、AID33aに対応する。AID51は、AID33aと同一であってもよいし、異なってもよい。   The AID 51 is an identifier that identifies the application to which the record 41 corresponds. The AID 51 corresponds to the AID 33a. The AID 51 may be the same as or different from the AID 33a.

アプリ名52は、レコード41が対応する通常アプリケーション31の名称である。アプリ名52は、利用者がICカード2からレコード41を取得した際にレコード41に対応するアプリケーションの表示用の文字列などである。   The application name 52 is the name of the normal application 31 to which the record 41 corresponds. The application name 52 is a display character string of the application corresponding to the record 41 when the user acquires the record 41 from the IC card 2.

管理者名53は、レコード41が対応する通常アプリケーション31を管理している管理者の名称である。管理者名53は、通常アプリケーション31をインストールした者の名称であってもよいし、通常アプリケーション31を発行している者の名称であってもよい。   The administrator name 53 is the name of an administrator who manages the normal application 31 corresponding to the record 41. The administrator name 53 may be the name of the person who installed the normal application 31 or may be the name of the person who has issued the normal application 31.

利用開始日54は、レコード41が対応する通常アプリケーション31の利用が開始する日付である。   The use start date 54 is a date when the use of the normal application 31 corresponding to the record 41 starts.

有効期限55は、レコード41が対応する通常アプリケーション31の利用が終了する日付である。また、有効期限55は、利用開始日54からの期間を示してもよい。   The expiration date 55 is a date when the use of the normal application 31 corresponding to the record 41 ends. In addition, the expiration date 55 may indicate a period from the usage start date 54.

ステータス設定56は、レコード41が対応する通常アプリケーション31のステータスを示す。ステータスは、アプリケーションの状態を示す。たとえば、ステータスは、「ロック」、「終了(論理的無効化)」、又は、「消去(論理的削除)」などである。   The status setting 56 indicates the status of the normal application 31 to which the record 41 corresponds. The status indicates the status of the application. For example, the status is "lock", "termination (logical invalidation)", or "erase (logical deletion)".

「ロック」は、アプリケーションが利用不可能な状態であることを示す。   "Lock" indicates that the application is in an unusable state.

「終了」は、アプリケーションが無効化されている状態であることを示す。無効化されてい状態とは、アプリケーションのコードは実行できないがアプリケーションのデータなどは利用可能である状態を示す。 "End" indicates that the application is in a disabled state. The state that has been disabled, the application code can not be run, such as application data indicating the state is available.

「消去」は、アプリケーションが論理的に消去されたことを示す。たとえば、消去は、NVM24の論理領域からアプリケーションに対応する記録が消去された状態を示す。   "Erase" indicates that the application has been logically erased. For example, the erasure indicates that the recording corresponding to the application has been erased from the logic area of the NVM 24.

なお、ステータスは、他の状態を示してもよい。ステータスが示す状態は、特定の構成に限定されるものではない。   The status may indicate other states. The status indicated by the status is not limited to a specific configuration.

電子署名57は、レコード41が改ざんされていないことを示す署名である。   The electronic signature 57 is a signature indicating that the record 41 has not been falsified.

次に、ICカード2のOSが実現する機能について説明する。
ICカード2のOSが実現する機能は、CPU21がROM22又はNVM24などが格納するコード又はデータなどを用いて実現する。
Next, functions implemented by the OS of the IC card 2 will be described.
The functions realized by the OS of the IC card 2 are realized using codes or data stored by the CPU 21 in the ROM 22 or the NVM 24 or the like.

ICカード2のOSは、通信部25を通じてアプリケーションリスト33b内のレコードを更新するコマンド(更新コマンド)を受信した場合に、当該コマンドに従って当該レコードを書き換える機能を有する(更新部に対応)。たとえば、ICカード処理装置1は、所定のレコード(たとえば、レコード41)のステータス設定(たとえば、ステータス設定56)を更新するコマンドをICカード2へ送信する。ICカード2のOSは、通信部25を通じて当該コマンドを受信すると、当該コマンドに従って、ステータス設定を更新する。   When the OS of the IC card 2 receives a command (update command) for updating a record in the application list 33b through the communication unit 25, the OS has a function of rewriting the record according to the command (corresponding to the update unit). For example, the IC card processing device 1 transmits a command for updating the status setting (for example, the status setting 56) of a predetermined record (for example, the record 41) to the IC card 2. When the OS of the IC card 2 receives the command through the communication unit 25, the OS updates the status setting according to the command.

ICカード2のOSは、通信部25を通じてアプリケーションリスト33b内のレコードを削除するコマンド(削除コマンド)を受信した場合に、当該コマンドに従って当該レコードを削除する機能を有する(レコード削除部に対応)。たとえば、ICカード処理装置1は、所定のレコード(たとえば、レコード41)を削除するコマンドをICカード2へ送信する。ICカード2のOSは、通信部25を通じて当該コマンドを受信すると、当該コマンドに従って、レコードを削除する。   The OS of the IC card 2 has a function of deleting the record according to the command when receiving a command (delete command) for deleting the record in the application list 33b through the communication unit 25 (corresponding to the record deleting unit). For example, the IC card processing device 1 transmits a command for deleting a predetermined record (for example, the record 41) to the IC card 2. When the OS of the IC card 2 receives the command through the communication unit 25, the OS deletes the record according to the command.

ICカード2のOSは、管理アプリケーションから前記アプリケーションのステータスを変更する変更命令を受信した場合に、前記変更命令に従ってアプリケーションのステータスを変更する機能を有する(変更部)。たとえば、管理アプリケーション33が所定のアプリケーションをロックさせる変更命令をOSへ送信すると、ICカード2のOSは、当該変更命令に従って、当該所定のアプリケーションをロックする。この場合、たとえば、ICカード2のOSは、当該変更命令に従って、当該所定のアプリケーションがロックされていることを示すフラグを立てる。   The OS of the IC card 2 has a function of changing the status of the application according to the change command, when a change command to change the status of the application is received from the management application (change unit). For example, when the management application 33 transmits a change instruction for locking a predetermined application to the OS, the OS of the IC card 2 locks the predetermined application according to the change instruction. In this case, for example, the OS of the IC card 2 sets a flag indicating that the predetermined application is locked in accordance with the change instruction.

また、管理アプリケーション33が所定のアプリケーションを論理的に無効にする変更命令(終了させる命令)をOSに送信すると、ICカード2のOSは、当該変更命令に従って、所定のアプリケーションを論理的に無効する。この場合、たとえば、ICカード2のOSは、当該変更命令に従って、所定のアプリケーションが論理的に無効になったことを示すフラグを立てる。   In addition, when the management application 33 transmits a change instruction (instruction to end) to invalidate the predetermined application logically to the OS, the OS of the IC card 2 logically inactivates the predetermined application according to the change instruction. . In this case, for example, the OS of the IC card 2 sets a flag indicating that the predetermined application has been logically invalidated in accordance with the change instruction.

また、管理アプリケーション33が所定のアプリケーションを論理的に削除する変更命令をOSに送信すると、ICカード2のOSは、当該変更命令に従って、所定のアプリケーションを論理的に削除する。この場合、たとえば、ICカード2のOSは、当該変更命令に従って、所定のアプリケーションに対応する論理領域に当該所定のアプリケーションのデータが削除されたことを示すフラグを立てる。   Further, when the management application 33 transmits a change instruction for logically deleting a predetermined application to the OS, the OS of the IC card 2 logically deletes the predetermined application in accordance with the change instruction. In this case, for example, the OS of the IC card 2 sets a flag indicating that data of the predetermined application has been deleted in the logical area corresponding to the predetermined application according to the change instruction.

また、ICカード2のOSは、管理アプリケーションからアプリケーションを物理的に削除する削除命令を受信した場合に、削除命令に従ってアプリケーションを物理的に削除する機能を有する(アプリケーション削除部に対応)。管理アプリケーション33が所定のアプリケーションを物理的に削除する削除命令をOSに送信すると、ICカード2のOSは、当該削除命令に従って、所定のアプリケーションを物理的に削除する。この場合、たとえば、ICカード2のOSは、削除命令に従って、所定のアプリケーションに対応する論理領域及び物理領域を削除する。   In addition, the OS of the IC card 2 has a function of physically deleting the application according to the deletion instruction when receiving the deletion instruction of physically deleting the application from the management application (corresponding to the application deletion unit). When the management application 33 transmits a deletion instruction for physically deleting a predetermined application to the OS, the OS of the IC card 2 physically deletes the predetermined application according to the deletion instruction. In this case, for example, the OS of the IC card 2 deletes the logical area and physical area corresponding to the predetermined application in accordance with the delete instruction.

次に、管理アプリケーション33が実現する機能について説明する。
管理アプリケーション33が実現する機能は、CPU21がコード33cを実行することで実現される。
Next, functions implemented by the management application 33 will be described.
The function realized by the management application 33 is realized by the CPU 21 executing the code 33 c.

管理アプリケーション33は、レコード(たとえば、レコード41)のステータス設定(たとえば、ステータス設定56)が変更されたことを検知する機能を有する。たとえば、管理アプリケーション33は、OSが管理アプリケーション33のアプリケーションリスト33bへアクセスしたことを検知する。   The management application 33 has a function of detecting that the status setting (for example, the status setting 56) of the record (for example, the record 41) has been changed. For example, the management application 33 detects that the OS has accessed the application list 33 b of the management application 33.

また、管理アプリケーション33は、レコード(たとえば、レコード41)のステータス設定(たとえば、ステータス設定56)が変更された場合に、ステータス設定に従って、当該レコードに対応するアプリケーション(たとえば、通常アプリケーション31)のステータスを変更させる変更命令をOSへ送信する。たとえば、管理アプリケーション33は、レコードのステータス設定が「ロック」に変更されると、当該レコードに対応するアプリケーションをロックさせる変更命令をOSへ送信する。   In addition, when the status setting (for example, status setting 56) of the record (for example, record 41) is changed, the management application 33 follows the status setting to determine the status of the application (for example, normal application 31) corresponding to the record. Send change instruction to change OS to OS. For example, when the status setting of the record is changed to “locked”, the management application 33 transmits, to the OS, a change instruction to lock the application corresponding to the record.

また、管理アプリケーション33は、レコードのステータス設定が「終了」に変更されると、当該レコードに対応するアプリケーションを終了(論理的無効)させる変更命令をOSへ送信する。   Also, when the status setting of the record is changed to “end”, the management application 33 transmits, to the OS, a change instruction for ending (logically invalidating) the application corresponding to the record.

また、管理アプリケーション33は、レコードのステータス設定が「削除」に変更されると、当該レコードに対応するアプリケーションを論理的に削除させる変更命令をOSへ送信する。   In addition, when the status setting of the record is changed to “deleted”, the management application 33 transmits, to the OS, a change instruction that causes the application corresponding to the record to be logically deleted.

また、管理アプリケーション33は、レコード(たとえば、レコード41)が削除されたことを検知する機能を有する。たとえば、管理アプリケーション33は、OSが管理アプリケーション33のアプリケーションリスト33bからレコードを削除したことを検知する。   The management application 33 also has a function of detecting that a record (for example, the record 41) has been deleted. For example, the management application 33 detects that the OS has deleted a record from the application list 33 b of the management application 33.

また、管理アプリケーション33は、レコード(たとえば、レコード41)が削除されると、当該レコードに対応するアプリケーション(たとえば、通常アプリケーション31)を削除させる削除命令をOSへ送信する。   Also, when the record (for example, the record 41) is deleted, the management application 33 transmits a deletion instruction to delete the application (for example, the normal application 31) corresponding to the record to the OS.

なお、管理アプリケーション33が他のアプリケーションよりも後にNVM24にインストールされる場合、管理アプリケーション33は、他のアプリケーションに関する情報(たとえば、AID、アプリ名、管理者名、利用開始日、有効期限、ステータス、及び、電子署名など)を収集する機能を有する。たとえば、管理アプリケーション33は、PSEなどを参照して他のアプリケーションに関する情報を収集する。また、管理アプリケーション33は、アプリケーションに関する情報から当該アプリケーションに対応するレコードを生成し、アプリケーションリスト33bに格納する。   In addition, when the management application 33 is installed on the NVM 24 later than the other applications, the management application 33 is information on the other applications (for example, AID, application name, administrator name, use start date, expiration date, status, And have a function of collecting electronic signatures and the like. For example, the management application 33 collects information on other applications by referring to the PSE or the like. Further, the management application 33 generates a record corresponding to the application from the information on the application, and stores the record in the application list 33 b.

次に、アプリケーションをインストールするためのインストールファイルについて説明する。
図7は、インストールファイルの構成例を説明するためのブロック図である。
インストールファイル60は、アプリケーションをインストールするためにICカード処理装置1がICカード2へ送信するファイルである。
Next, an installation file for installing an application will be described.
FIG. 7 is a block diagram for explaining an exemplary configuration of an installation file.
The installation file 60 is a file that the IC card processing apparatus 1 transmits to the IC card 2 in order to install an application.

図7が示すように、インストールファイル60は、アプリケーションデータ61及びコード62などから構成される。   As FIG. 7 shows, the installation file 60 is comprised from the application data 61, code 62 grade | etc.,.

アプリケーションデータ61は、アプリケーションを実行するために必要なデータである。   The application data 61 is data necessary to execute an application.

コード62は、アプリケーションのプログラムコードである。   The code 62 is a program code of the application.

なお、インストールファイル60は、アプリケーションデータ61を格納しなくともよい。   The installation file 60 may not store the application data 61.

次に、ICカード2のCPU21がアプリケーションをインストールする動作例について説明する。
図8は、CPU21がアプリケーションをインストールする動作例について説明するためのフローチャートである。
Next, an operation example in which the CPU 21 of the IC card 2 installs an application will be described.
FIG. 8 is a flowchart for explaining an operation example in which the CPU 21 installs an application.

なお、CPU21は、ICカード2のOSの動作としてアプリケーションをインストールしてもよい。   The CPU 21 may install an application as an operation of the OS of the IC card 2.

まず、CPU21は、通信部25を通じて、インストールファイル60をICカード処理装置1から受信したか判定する(ステップS11)。インストールファイル60を受信していないと判定すると(ステップS11、NO)、CPU21は、ステップS11へ戻る。   First, the CPU 21 determines whether the installation file 60 has been received from the IC card processing device 1 through the communication unit 25 (step S11). If it is determined that the installation file 60 has not been received (NO in step S11), the CPU 21 returns to step S11.

インストールファイル60を受信したと判定すると(ステップS11、YES)、CPU21は、受信されたインストールファイル60からアプリケーションデータ61及びコード62を抽出する(ステップS12)。   If it is determined that the installation file 60 has been received (YES in step S11), the CPU 21 extracts the application data 61 and the code 62 from the received installation file 60 (step S12).

アプリケーションデータ61及びコード62を抽出すると、CPU21は、NVM24にコード62を書き込む(ステップS13)。   After extracting the application data 61 and the code 62, the CPU 21 writes the code 62 in the NVM 24 (step S13).

コード62を書き込むと、CPU21は、コード62を格納するDF内の所定の領域にアプリケーションデータ61を書き込む(ステップS14)。   When the code 62 is written, the CPU 21 writes the application data 61 in a predetermined area in the DF storing the code 62 (step S14).

アプリケーションデータ61を書き込むと、CPU21は、インストールファイル60からアプリケーションに関する情報を抽出する(ステップS16)。たとえば、CPU21は、アプリケーションデータ61又はコード62から当該情報を抽出する。また、インストールファイル60がアプリケーションデータ61又はコード62に加えて当該情報を格納し、CPU21は、インストールファイル60から当該情報を取得してもよい。   After writing the application data 61, the CPU 21 extracts information on the application from the installation file 60 (step S16). For example, the CPU 21 extracts the information from the application data 61 or the code 62. Further, the installation file 60 may store the information in addition to the application data 61 or the code 62, and the CPU 21 may acquire the information from the installation file 60.

アプリケーションに関する情報を抽出すると、CPU21は、抽出された情報をアプリケーションに対応するレコードとしてアプリケーションリスト33bに書き込む(ステップS16)
抽出された情報をアプリケーションリスト33bに書き込むと、CPU21は、動作を終了する。
After extracting the information on the application, the CPU 21 writes the extracted information as a record corresponding to the application in the application list 33b (step S16).
When the extracted information is written to the application list 33b, the CPU 21 ends the operation.

次に、ICカード2がアプリケーションのステータスを変更する動作例について説明する。
まず、所定のレコードのステータス設定を更新するコマンドを受信した際におけるICカード2のOSの動作例について説明する。
図9は、所定のレコードのステータス設定を更新するコマンドを受信した際におけるICカード2のOSの動作例を説明するためのフローチャートである。
ここでは、ICカード処理装置1は、所定のレコードのステータス設定を更新するコマンドをICカード2へ送信するものとする。
Next, an operation example in which the IC card 2 changes the status of the application will be described.
First, an operation example of the OS of the IC card 2 when a command for updating the status setting of a predetermined record is received will be described.
FIG. 9 is a flowchart for describing an operation example of the OS of the IC card 2 when a command for updating the status setting of a predetermined record is received.
Here, it is assumed that the IC card processing device 1 transmits a command for updating the status setting of a predetermined record to the IC card 2.

まず、ICカード2のOSは、通信部25を通じて、所定のレコードのステータス設定を変更するコマンドを受信したか判定する(ステップS21)。当該コマンドを受信していないと判定すると(ステップS21、NO)、OSは、ステップS21に戻る。   First, the OS of the IC card 2 determines whether a command to change the status setting of a predetermined record has been received through the communication unit 25 (step S21). If it is determined that the command has not been received (NO in step S21), the OS returns to step S21.

当該コマンドを受信しと判定すると(ステップS21、YES)、OSは、当該コマンドの認証処理を実行する(ステップS22)。 If it is determined that the command has been received ( YES in step S21), the OS executes an authentication process of the command (step S22).

認証処理に成功すると(ステップS23、YES)、OSは、当該コマンドに従って、アプリケーションリスト33b内のレコードのステータス設定を更新する(ステップS24)。   If the authentication process is successful (step S23, YES), the OS updates the status setting of the record in the application list 33b according to the command (step S24).

認証処理に失敗した場合(ステップS23、NO)、又は、レコードのステータス設定を更新した場合(ステップS24)、OSは、動作を終了する。   When the authentication process fails (step S23, NO), or when the status setting of the record is updated (step S24), the OS ends the operation.

次に、アプリケーションリスト33b内のステータス設定が更新された際における管理アプリケーション33の動作例について説明する。
図10は、アプリケーションリスト33b内のステータス設定が更新された際における管理アプリケーション33の動作例を説明するためのフローチャートである。
Next, an operation example of the management application 33 when the status setting in the application list 33b is updated will be described.
FIG. 10 is a flowchart for describing an operation example of the management application 33 when the status setting in the application list 33 b is updated.

まず、管理アプリケーション33は、アプリケーションリスト33bが格納するレコードのステータス設定が更新されたか判定する(ステップS31)。レコードのステータス設定が更新されていないと判定する(ステップS31、NO)、管理アプリケーション33は、ステップS31へ戻る。 First, the management application 33 determines whether the status setting of the record stored in the application list 33b is updated (step S31). A record status settings are not updated and determines (step S31, NO), the management application 33 returns to step S31.

レコードのステータス設定が更新されたと判定すると(ステップS31、YES)、管理アプリケーション33は、更新されたステータス設定に従って、当該レコードに対応するアプリケーションのステータスを変更する変更命令をOSに送信する(ステップS32)。   If it is determined that the status setting of the record has been updated (YES in step S31), the management application 33 transmits a change instruction for changing the status of the application corresponding to the record to the OS according to the updated status setting (step S32). ).

当該変更命令をOSに送信すると、管理アプリケーション33は、動作を終了する。   When the change instruction is transmitted to the OS, the management application 33 ends the operation.

次に、変更命令を受信した際におけるICカード2のOSの動作例について説明する。
図11は、変更命令を受信した際におけるICカード2のOSの動作例を説明するためのフローチャートである。
Next, an operation example of the OS of the IC card 2 when the change command is received will be described.
FIG. 11 is a flowchart for explaining an operation example of the OS of the IC card 2 when the change instruction is received.

まず、OSは、アプリケーションのステータスを変更する変更命令を受信したか判定する(ステップS41)。当該変更命令を受信していないと判定する(ステップS41、NO)、OSは、ステップS41へ戻る。 First, the OS determines whether a change instruction for changing the status of an application has been received (step S41). And determines that it has not received the change command (step S41, NO), OS returns to step S41.

当該変更命令を受信したと判定する(ステップS41、YES)、OSは、当該変更命令に従って、当該アプリケーションのステータスを変更する(ステップS42)。 And it determines that it has received the change command (step S41, YES), OS, according to the change command to change the status of the application (step S42).

当該アプリケーションのステータスを更新すると、OSは、動作を終了する。   When the status of the application is updated, the OS ends the operation.

次に、ICカード2がアプリケーションを物理的に削除する動作例について説明する。
まず、所定のレコードを削除するコマンドを受信した際におけるICカード2のOSの動作例について説明する。
図12は、所定のレコードを削除するコマンドを受信した際におけるICカード2のOSの動作例を説明するためのフローチャートである。
ここでは、ICカード処理装置1は、所定のレコードを削除するコマンドをICカード2へ送信するものとする。
Next, an operation example in which the IC card 2 physically deletes the application will be described.
First, an operation example of the OS of the IC card 2 when receiving a command to delete a predetermined record will be described.
FIG. 12 is a flowchart for explaining an operation example of the OS of the IC card 2 when a command to delete a predetermined record is received.
Here, it is assumed that the IC card processing device 1 transmits a command for deleting a predetermined record to the IC card 2.

まず、ICカード2のOSは、通信部25を通じて、所定のレコードを削除するコマンドを受信したか判定する(ステップS51)。当該コマンドを受信していないと判定すると(ステップS51、NO)、OSは、ステップ51に戻る。   First, the OS of the IC card 2 determines whether a command to delete a predetermined record has been received through the communication unit 25 (step S51). If it is determined that the command has not been received (step S51, NO), the OS returns to step 51.

当該コマンドを受信していないと判定すると(ステップS51、NO)、OSは、当該コマンドの認証処理を実行する(ステップS52)。   If it is determined that the command has not been received (NO in step S51), the OS executes an authentication process of the command (step S52).

認証処理に成功すると(ステップS53、YES)、OSは、当該コマンドに従って、アプリケーションリスト33b内のレコードを削除する(ステップS54)。   If the authentication process is successful (step S53, YES), the OS deletes the record in the application list 33b according to the command (step S54).

認証処理に失敗した場合(ステップS53、NO)、又は、アプリケーションリスト33b内のレコードを削除した場合(ステップS54)、OSは、動作を終了する。   If the authentication process fails (step S53, NO), or if the record in the application list 33b is deleted (step S54), the OS ends the operation.

次に、アプリケーションリスト33b内のレコードが削除された際における管理アプリケーション33の動作例について説明する。
図13は、アプリケーションリスト33b内のレコードが削除された際における管理アプリケーション33の動作例を説明するためのフローチャートである。
Next, an operation example of the management application 33 when a record in the application list 33b is deleted will be described.
FIG. 13 is a flowchart for describing an operation example of the management application 33 when the record in the application list 33 b is deleted.

まず、管理アプリケーション33は、アプリケーションリスト33bが格納するレコードが削除されたか判定する(ステップS61)。レコードが削除されていないと判定する(ステップS61、NO)、管理アプリケーション33は、ステップS61へ戻る。   First, the management application 33 determines whether the record stored in the application list 33b is deleted (step S61). It is determined that the record is not deleted (step S61, NO), the management application 33 returns to step S61.

レコードが削除されたと判定すると(ステップS61、YES)、管理アプリケーション33は、当該レコードに対応するアプリケーションを物理的に削除する削除命令をOSに送信する(ステップS62)。   If it is determined that the record has been deleted (YES in step S61), the management application 33 sends a deletion instruction to physically delete the application corresponding to the record to the OS (step S62).

当該削除命令をOSに送信すると、管理アプリケーション33は、動作を終了する。   When the deletion instruction is sent to the OS, the management application 33 ends the operation.

次に、削除命令を受信した際におけるICカード2のOSの動作例について説明する。
図14は、削除命令を受信した際におけるICカード2のOSの動作例を説明するためのフローチャートである。
Next, an operation example of the OS of the IC card 2 when receiving the delete command will be described.
FIG. 14 is a flow chart for explaining an operation example of the OS of the IC card 2 when the deletion instruction is received.

まず、OSは、アプリケーションを物理的に削除する削除命令を受信したか判定する(ステップS71)。当該削除命令を受信していないと判定する(ステップS71、NO)、OSは、ステップS71へ戻る。   First, the OS determines whether a delete command to physically delete an application has been received (step S71). It is determined that the deletion instruction has not been received (step S71, NO), and the OS returns to step S71.

当該削除命令を受信したと判定する(ステップS71、NO)、OSは、当該変更命令に従って、当該アプリケーションを物理的に削除する(ステップS72)。たとえば、OSは、当該アプリケーションに対応する論理領域及び物理領域を削除する。   It is determined that the delete command has been received (step S71, NO), and the OS physically deletes the application according to the change command (step S72). For example, the OS deletes the logical area and physical area corresponding to the application.

当該アプリケーションを物理的に削除すると、OSは、動作を終了する。   When the application is physically deleted, the OS ends the operation.

なお、ICカード2のCPU21は、アプリケーションリスト33bが格納するレコードをICカード処理装置1へ送信する機能を有してもよい。たとえば、CPU21は、通信部25を通じてICカード処理装置1からレコードを取得する取得コマンドを受信する。CPU21は、当該取得コマンドに従って、通信部25を通じて、レコードを含むレスポンスをICカード処理装置1へ送信してもよい。   The CPU 21 of the IC card 2 may have a function of transmitting the record stored in the application list 33 b to the IC card processing device 1. For example, the CPU 21 receives an acquisition command for acquiring a record from the IC card processing device 1 through the communication unit 25. The CPU 21 may transmit a response including a record to the IC card processing device 1 through the communication unit 25 in accordance with the acquisition command.

以上のように構成されたICカード処理システムは、アプリケーションリストのレコードを書き換え又は削除することで、アプリケーションのステータスの変更又はアプリケーションの削除を行うことができる。その結果、ICカード処理システムは、アプリケーションリストが格納するレコードを用いてアプリケーションを管理することができる。   The IC card processing system configured as described above can change the status of an application or delete an application by rewriting or deleting a record in the application list. As a result, the IC card processing system can manage the application using the records stored in the application list.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に本件出願当初の特許請求の範囲に記載された発明を付記する。
[C1]
外部装置からのコマンドを実行するICカードであって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、
前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、
前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、
を備えるICカード。
[C2]
前記通信部を通じてレコードを削除する削除コマンドを受信した場合、前記削除コマンドに従って、前記第2記憶部が格納するレコードを削除するレコード削除部と、
前記レコード削除部が前記第2記憶部が格納する前記レコードを削除すると、前記レコードに対応するアプリケーションを物理的に削除するアプリケーション削除部と、
を備える、
前記C1に記載のICカード。
[C3]
前記ステータスは、ロック、論理的無効、又は、論理的削除の少なくとも1つを含む、
前記C1又は2に記載のICカード。
[C4]
前記レコードは、AID、アプリ名、管理者名、利用開始日、有効期限、又は、電子署名の少なくとも1つを含む、
前記C1乃至3の何れか1項に記載のICカード。
[C5]
前記第2記憶部は、前記第1記憶部と同階層にある、
前記C1乃至4の何れか1項に記載のICカード。
[C6]
外部装置からのコマンドを実行するICカードであって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する記憶部と、
前記アプリケーションのステータスを含むレコードを更新する更新部と、
管理アプリケーションから前記アプリケーションのステータスを変更する変更命令を受信した場合に、前記変更命令に従って前記アプリケーションの前記ステータスを変更する変更部と、
を備えるICカード。
[C7]
前記管理アプリケーションから前記アプリケーションを物理的に削除する削除命令を受信した場合に、前記削除命令に従って前記アプリケーションを物理的に削除するアプリケーション削除部を備える、
前記C6に記載のICカード。
[C8]
前記レコードは、前記記憶部と同階層に格納される、
前記C6又は7に記載のICカード。
[C9]
外部装置からのコマンドを実行するICカードであって、
外部装置とデータを送受信する通信部と、アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、を備えるモジュールと、
前記モジュールを内蔵した本体と、
を備えるICカード。
[C10]
外部装置からのコマンドを実行するICカードであって、
外部装置からのコマンドを実行するICカードであって、外部装置とデータを送受信する通信部と、アプリケーションを格納する記憶部と、前記アプリケーションのステータスを含むレコードを更新する更新部と、管理アプリケーションから前記アプリケーションのステータスを変更する変更命令を受信した場合に、前記変更命令に従って前記アプリケーションの前記ステータスを変更する変更部と、を備えるモジュールと、
前記モジュールを内蔵した本体と、
を備えるICカード。
[C11]
外部装置からのコマンドを実行する携帯可能電子装置であって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、
前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、
前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、
を備える携帯可能電子装置。
[C12]
外部装置からのコマンドを実行する携帯可能電子装置であって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する記憶部と、
前記アプリケーションのステータスを含むレコードを更新する更新部と、
管理アプリケーションから前記アプリケーションのステータスを変更する変更命令を受信した場合に、前記変更命令に従って前記アプリケーションの前記ステータスを変更する変更部と、
を備える携帯可能電子装置。
[C13]
ICカード2が格納するアプリケーションを管理するプログラムコードであって、
アプリケーションリスト内においてレコードが格納するステータス設定が更新されたことを検知するコードと、
前記ステータス設定が更新されたことを検知すると、前記ステータス設定に従って、前記レコードに対応するアプリケーションのステータスを変更する変更命令を送信するコードと、
を備えるプログラムコード。
[C14]
前記アプリケーションリスト内においてレコードが削除されたことを検知するコードと、
前記レコードが削除されたことを検知すると、前記レコードに対応するアプリケーションを物理的に削除する削除命令を送信するコードと、
を備える、
前記C13に記載のプログラムコード。
While certain embodiments of the present invention have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and the gist of the invention, and are included in the invention described in the claims and the equivalent scope thereof.
The invention described in the claims at the beginning of the application is appended below.
[C1]
An IC card that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A first storage unit for storing an application;
A second storage unit storing a record including status settings of the application;
An update unit configured to update the status setting of the record stored in the second storage unit according to the update command, when an update command for updating the status setting of the record is received through the communication unit;
A changing unit that changes the status of the application according to the status setting when the updating unit updates the status setting of the record;
IC card equipped with
[C2]
A record deletion unit that deletes a record stored in the second storage unit according to the deletion command when a deletion command to delete a record is received through the communication unit;
An application deletion unit that physically deletes an application corresponding to the record when the record deletion unit deletes the record stored in the second storage unit;
Equipped with
The IC card according to C1.
[C3]
The status includes at least one of a lock, a logical invalidation, or a logical deletion,
The IC card according to C1 or 2.
[C4]
The record includes at least one of an AID, an application name, an administrator name, a use start date, an expiration date, or a digital signature.
The IC card according to any one of C1 to C3.
[C5]
The second storage unit is in the same hierarchy as the first storage unit.
The IC card according to any one of C1 to C4.
[C6]
An IC card that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A storage unit for storing the application;
An update unit that updates a record including the status of the application;
A change unit that changes the status of the application according to the change instruction when receiving a change instruction to change the status of the application from a management application;
IC card equipped with
[C7]
An application deletion unit physically deleting the application according to the deletion instruction when receiving a deletion instruction to physically delete the application from the management application.
The IC card according to C6.
[C8]
The record is stored in the same hierarchy as the storage unit.
The IC card according to C6 or 7.
[C9]
An IC card that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device; a first storage unit that stores an application;
The second storage unit for storing a record including the status setting of the application, and the record stored by the second storage unit according to the update command when an update command for updating the status setting of the record is received through the communication unit A module including: an updating unit that updates the status setting of: and a changing unit that changes the status of the application according to the status setting when the updating unit updates the status setting of the record;
A main body incorporating the module,
IC card equipped with
[C10]
An IC card that executes commands from an external device,
A communication unit that executes a command from an external device, which is a communication unit that transmits and receives data to and from an external device, a storage unit that stores an application, an update unit that updates a record including the status of the application, and a management application A module including: a change unit that changes the status of the application according to the change instruction when a change instruction to change the status of the application is received;
A main body incorporating the module,
IC card equipped with
[C11]
A portable electronic device that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A first storage unit for storing an application;
A second storage unit storing a record including status settings of the application;
An update unit configured to update the status setting of the record stored in the second storage unit according to the update command, when an update command for updating the status setting of the record is received through the communication unit;
A changing unit that changes the status of the application according to the status setting when the updating unit updates the status setting of the record;
Portable electronic device comprising:
[C12]
A portable electronic device that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A storage unit for storing the application;
An update unit that updates a record including the status of the application;
A change unit that changes the status of the application according to the change instruction when receiving a change instruction to change the status of the application from a management application;
Portable electronic device comprising:
[C13]
Program code for managing an application stored in the IC card 2
Code that detects that the status settings stored in the record have been updated in the application list,
A code for transmitting a change instruction to change the status of the application corresponding to the record according to the status setting upon detecting that the status setting has been updated;
Program code comprising:
[C14]
Code for detecting that a record has been deleted in the application list,
A code for transmitting a deletion instruction for physically deleting an application corresponding to the record when it is detected that the record is deleted;
Equipped with
The program code according to C13.

1…ICカード処理装置、2…ICカード、10…ICカード処理システム、11…CPU、15…カードリーダライタ、21…CPU、23…RAM、24…NVM、25…通信部、33…管理アプリケーション、33b…アプリケーションリスト、33c…コード、M…モジュール、C…本体。   DESCRIPTION OF SYMBOLS 1 ... IC card processing apparatus, 2 ... IC card, 10 ... IC card processing system, 11 ... CPU, 15 ... Card reader writer, 21 ... CPU, 23 ... RAM, 24 ... NVM, 25 ... Communications part, 33 ... Management application 33b: application list 33c: code M: module C: main body

Claims (5)

外部装置からのコマンドを実行するICカードであって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、
前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、
前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、
前記通信部を通じてレコードを削除する削除コマンドを受信した場合、前記削除コマンドに従って、前記第2記憶部が格納するレコードを削除するレコード削除部と、
前記レコード削除部が前記第2記憶部が格納する前記レコードを削除すると、前記レコードに対応するアプリケーションを物理的に削除するアプリケーション削除部と、
を備えるICカード。
An IC card that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A first storage unit for storing an application;
A second storage unit storing a record including status settings of the application;
An update unit configured to update the status setting of the record stored in the second storage unit according to the update command, when an update command for updating the status setting of the record is received through the communication unit;
A changing unit that changes the status of the application according to the status setting when the updating unit updates the status setting of the record;
A record deletion unit that deletes a record stored in the second storage unit according to the deletion command when a deletion command to delete a record is received through the communication unit;
An application deletion unit that physically deletes an application corresponding to the record when the record deletion unit deletes the record stored in the second storage unit;
IC card equipped with
前記ステータスは、ロック、論理的無効、又は、論理的削除の少なくとも1つを含む、
前記請求項に記載のICカード。
The status includes at least one of a lock, a logical invalidation, or a logical deletion,
The IC card according to claim 1 .
前記レコードは、AID、アプリ名、管理者名、利用開始日、有効期限、又は、電子署名の少なくとも1つを含む、
前記請求項1又は2に記載のICカード。
The record includes at least one of an AID, an application name, an administrator name, a use start date, an expiration date, or a digital signature.
The IC card according to claim 1 or 2 .
外部装置からのコマンドを実行するICカードであって、
外部装置とデータを送受信する通信部と、アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、前記通信部を通じてレコードを削除する削除コマンドを受信した場合、前記削除コマンドに従って、前記第2記憶部が格納するレコードを削除するレコード削除部と、前記レコード削除部が前記第2記憶部が格納する前記レコードを削除すると、前記レコードに対応するアプリケーションを物理的に削除するアプリケーション削除部と、を備えるモジュールと、
前記モジュールを内蔵した本体と、
を備えるICカード。
An IC card that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device; a first storage unit that stores an application;
The second storage unit for storing a record including the status setting of the application, and the record stored by the second storage unit according to the update command when an update command for updating the status setting of the record is received through the communication unit An update unit for updating the status setting, a changing unit for changing the status of the application according to the status setting when the update unit updates the status setting of the record, and a deletion for deleting the record through the communication unit When a command is received, a record deletion unit that deletes a record stored in the second storage unit according to the deletion command, and the record deletion unit deletes the record stored in the second storage unit, in the record Physically delete the corresponding application A module comprising an application deleting unit, the that,
A main body incorporating the module,
IC card equipped with
外部装置からのコマンドを実行する携帯可能電子装置であって、
外部装置とデータを送受信する通信部と、
アプリケーションを格納する第1記憶部と、
前記アプリケーションのステータス設定を含むレコードを格納する第2記憶部と、
前記通信部を通じてレコードのステータス設定を更新する更新コマンドを受信した場合、前記更新コマンドに従って、前記第2記憶部が格納する前記レコードの前記ステータス設定を更新する更新部と、
前記更新部が前記レコードの前記ステータス設定を更新すると、前記ステータス設定に従って、前記アプリケーションのステータスを変更する変更部と、
前記通信部を通じてレコードを削除する削除コマンドを受信した場合、前記削除コマンドに従って、前記第2記憶部が格納するレコードを削除するレコード削除部と、
前記レコード削除部が前記第2記憶部が格納する前記レコードを削除すると、前記レコードに対応するアプリケーションを物理的に削除するアプリケーション削除部と、
を備える携帯可能電子装置。
A portable electronic device that executes commands from an external device,
A communication unit that transmits and receives data to and from an external device;
A first storage unit for storing an application;
A second storage unit storing a record including status settings of the application;
An update unit configured to update the status setting of the record stored in the second storage unit according to the update command, when an update command for updating the status setting of the record is received through the communication unit;
A changing unit that changes the status of the application according to the status setting when the updating unit updates the status setting of the record;
A record deletion unit that deletes a record stored in the second storage unit according to the deletion command when a deletion command to delete a record is received through the communication unit;
An application deletion unit that physically deletes an application corresponding to the record when the record deletion unit deletes the record stored in the second storage unit;
Portable electronic device comprising:
JP2014184005A 2014-09-10 2014-09-10 IC card and portable electronic device Active JP6426411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014184005A JP6426411B2 (en) 2014-09-10 2014-09-10 IC card and portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014184005A JP6426411B2 (en) 2014-09-10 2014-09-10 IC card and portable electronic device

Publications (2)

Publication Number Publication Date
JP2016057868A JP2016057868A (en) 2016-04-21
JP6426411B2 true JP6426411B2 (en) 2018-11-21

Family

ID=55758734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014184005A Active JP6426411B2 (en) 2014-09-10 2014-09-10 IC card and portable electronic device

Country Status (1)

Country Link
JP (1) JP6426411B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6822158B2 (en) * 2017-01-16 2021-01-27 大日本印刷株式会社 Electronic information storage medium, IC card, deletion processing method, and deletion processing program
JP6473527B1 (en) * 2018-02-02 2019-02-20 クールビックス リミテッド Software update method for closed storage device
JP7010084B2 (en) * 2018-03-16 2022-01-26 大日本印刷株式会社 Token device used for IC payment
KR20210066798A (en) 2018-10-02 2021-06-07 캐피탈 원 서비시즈, 엘엘씨 System and method for cryptographic authentication of contactless card
CN110457083B (en) * 2019-07-04 2023-07-18 深圳市中易通安全芯科技有限公司 Method and device for starting chip file system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4774811B2 (en) * 2005-06-03 2011-09-14 大日本印刷株式会社 IC module for IC card, IC card and IC card program
JP2007004704A (en) * 2005-06-27 2007-01-11 Nippon Telegr & Teleph Corp <Ntt> IC card system to delete applications
US20100083006A1 (en) * 2007-05-24 2010-04-01 Panasonic Corporation Memory controller, nonvolatile memory device, nonvolatile memory system, and access device
JP5381975B2 (en) * 2008-03-04 2014-01-08 日本電気株式会社 Mobile terminal equipped with IC chip, application area control method, and application area control program
EP2857964B1 (en) * 2012-05-31 2020-09-16 Sony Corporation Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP2016057868A (en) 2016-04-21

Similar Documents

Publication Publication Date Title
JP5329884B2 (en) Portable electronic device and data processing method in portable electronic device
US10156988B2 (en) Composite solid state drive identification and optimization technologies
JP4717381B2 (en) Mobile device and access control method
JP6426411B2 (en) IC card and portable electronic device
JP5454933B2 (en) Portable electronic device, IC card, and control method for portable electronic device
US20060086785A1 (en) Portable electronic apparatus and method of updating application in portable electronic apparatus
JP2010182270A (en) Mobile electronic apparatus and data management method in mobile electronic apparatus
KR101783526B1 (en) Ic card, electronic device and portable electronic device
CN117272350A (en) Data encryption key management method, device, storage control card and storage medium
JP7202543B2 (en) eUICC and eUICC provisioning methods
JP5259507B2 (en) Portable electronic device and data processing method in portable electronic device
JP6370669B2 (en) IC card, portable electronic device, and IC card processing device
JP6845021B2 (en) Electronic devices, IC cards and information processing systems
JP2014059806A (en) Ic card, portable electronic device, and ic card processor
JP7021465B2 (en) Electronic information storage device, IC card, data recovery method, and data recovery program
JP2019028602A (en) Electronic information storage medium, ic card, update method by electronic information storage medium and update program
JP2006338311A (en) Computer system, device and computer program for processing a device with multiple applications
JP5229855B2 (en) Memory system and computer system
JP2019148907A (en) Electronic information storage medium, ic card, and information processing method by electronic information storage medium and os
JP7040053B2 (en) Information processing method and OS using electronic information storage medium, IC card, electronic information storage medium
JP2016129072A (en) IC card, portable electronic device, and IC card processing device
JP2016177850A (en) IC card, portable electronic device, and IC card processing device
JP2016081117A (en) IC card, portable electronic device, and IC card manufacturing method
CN102043972A (en) Information processing apparatus, communication apparatus, and program
JP2019032578A (en) Electronic information storage medium, ic card, and update method and update program by electronic information storage medium

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170904

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170905

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180925

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181025

R150 Certificate of patent or registration of utility model

Ref document number: 6426411

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350