JP2015166990A - Ic chip, command execution method and program for ic chip - Google Patents
Ic chip, command execution method and program for ic chip Download PDFInfo
- Publication number
- JP2015166990A JP2015166990A JP2014041711A JP2014041711A JP2015166990A JP 2015166990 A JP2015166990 A JP 2015166990A JP 2014041711 A JP2014041711 A JP 2014041711A JP 2014041711 A JP2014041711 A JP 2014041711A JP 2015166990 A JP2015166990 A JP 2015166990A
- Authority
- JP
- Japan
- Prior art keywords
- data
- command
- interface
- predetermined area
- nonvolatile memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、ICチップに関し、特に、ICチップが備える不揮発性メモリにデータを書き込む技術に関する。 The present invention relates to an IC chip, and more particularly to a technique for writing data in a nonvolatile memory included in the IC chip.
近年、携帯端末を用いた非接触通信での決済サービスが提供されている。決済時には、携帯端末が決済端末に翳されることで、携帯端末と決済端末は、コマンド(コマンドデータ)とレスポンス(レスポンスデータ)を送受信し、決済に必要な処理を行う。このような携帯端末には、例えば、SIM(Subscriber Identity Module)カードといったセキュアエレメントと呼ばれるICチップ(ICモジュール)が組み込まれている。セキュアエレメントは、2つのインターフェース(IF)をもつ。それぞれのインターフェースは、携帯端末に搭載されるコントローラとの接触通信用(例えば、ISO/IEC7816規格に基づく)、外部端末との非接触通信用(例えば、ISO/IEC 14443規格に基づく)といった用途で使用される。セキュアエレメントは、それぞれのインターフェースを介して、外部端末や携帯端末のコントローラから受信したコマンドに応じた処理を実行し、その結果をレスポンスとして応答する。 In recent years, settlement services using non-contact communication using mobile terminals have been provided. At the time of payment, the mobile terminal is deceived as a payment terminal, so that the mobile terminal and the payment terminal transmit / receive a command (command data) and a response (response data) and perform processing necessary for payment. Such a portable terminal incorporates an IC chip (IC module) called a secure element such as a SIM (Subscriber Identity Module) card. The secure element has two interfaces (IF). Each interface is used for contact communication with a controller mounted on a portable terminal (for example, based on ISO / IEC7816 standard) and non-contact communication with an external terminal (for example, based on ISO / IEC 14443 standard). used. The secure element executes processing according to a command received from the controller of the external terminal or the mobile terminal via each interface, and responds with the result as a response.
上述した決済サービスにおいて、セキュアエレメントは、受信したコマンドに応じた処理を実行するが、その処理時間が取引全体にかかる時間の多くを占めている。そのセキュアエレメント内での処理には、暗号演算処理や不揮発性メモリへの書き込み処理が含まれる。非接触での決済サービスでは、コマンドの受信から応答までにかかる処理時間を短縮することが要求されるため、暗号演算処理や不揮発性メモリへの書き込み処理がボトルネックとなる問題がある。不揮発性メモリへの書き込み処理を短縮する技術として、不揮発性メモリへの書き込み処理をキャッシングする技術が知られている(例えば、特許文献1及び特許文献2参照)。この技術では、書き込みたい複数のデータを一つにまとめるなどして、不揮発性メモリへの書き込み回数を減らすことで、上記処理時間を短縮させている。 In the payment service described above, the secure element executes processing according to the received command, and the processing time occupies much of the time required for the entire transaction. The processing within the secure element includes cryptographic calculation processing and writing processing to the nonvolatile memory. In the non-contact payment service, it is required to shorten the processing time from the reception of a command to the response, so that there is a problem that the cryptographic calculation processing and the writing processing to the nonvolatile memory become a bottleneck. As a technique for shortening the writing process to the nonvolatile memory, a technique for caching the writing process to the nonvolatile memory is known (see, for example, Patent Document 1 and Patent Document 2). In this technique, the processing time is shortened by reducing the number of times of writing to the nonvolatile memory by combining a plurality of data to be written into one.
しかしながら、従来技術のように不揮発性メモリへの書き込み回数を減らす方法では限界があり、更なる処理時間の短縮が望まれている。 However, there is a limit to the method of reducing the number of times of writing to the nonvolatile memory as in the prior art, and further reduction of the processing time is desired.
そこで、本発明は、このような点に鑑みてなされたものであり、コマンドの受信から応答までにかかる処理時間を、より一層、短縮することが可能なICチップ、コマンド実行方法、及びICチップ用プログラムを提供することを課題とする。 Therefore, the present invention has been made in view of such a point, and an IC chip, a command execution method, and an IC chip that can further reduce the processing time from reception of a command to a response. It is an object to provide a program for use.
上記課題を解決するために、請求項1に記載の発明は、外部との間で通信を行うための複数のインターフェースと、キャッシュメモリと、不揮発性メモリとを備えるICチップであって、前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信する受信手段と、前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定する判定手段と、前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新する更新手段と、前記判定手段により前記特定のインターフェースであると判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記判定手段により前記特定のインターフェースでないと判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む書き込み手段と、を備えることを特徴とする。 In order to solve the above-described problem, an invention according to claim 1 is an IC chip including a plurality of interfaces for performing communication with the outside, a cache memory, and a nonvolatile memory, wherein the cache A command for executing at least a process of updating data in a predetermined area in the memory and writing the data in the predetermined area including the updated data to the nonvolatile memory, wherein any one of the interfaces from the outside Receiving means for receiving the command via the interface, determining means for determining whether or not the interface from which the command is received is a specific interface, and a predetermined area in the cache memory according to the received command Updating means for updating the data, and the determination means If it is determined that the interface is not the specific interface, the update is not performed while the data in the predetermined area including the data updated by the update unit is not written to the nonvolatile memory. And writing means for writing the data in the predetermined area including the data updated by the means into the non-volatile memory.
請求項2に記載の発明は、請求項1に記載のICチップにおいて、前記書き込み手段は、前記コマンドが受信されたときに前記判定手段により前記特定のインターフェースであると判定された場合、前記更新手段により更新された第1のデータを含む前記所定領域のデータを不揮発性メモリに書き込まず、その後に、次の前記コマンドが受信されたときに前記判定手段により前記特定のインターフェースでないと判定された場合、前記更新手段により更新された第2のデータ及び前記第1のデータを含む前記所定領域のデータを前記不揮発性メモリに書き込むことを特徴とする。 According to a second aspect of the present invention, in the IC chip according to the first aspect, when the writing unit determines that the specific interface is the specific interface when the command is received, the update is performed. The data in the predetermined area including the first data updated by the means is not written to the nonvolatile memory, and then, when the next command is received, it is determined that the specific interface is not the specific interface. In this case, the second data updated by the updating unit and the data in the predetermined area including the first data are written in the nonvolatile memory.
請求項3に記載の発明は、請求項1または請求項2に記載のICチップにおいて、前記判定手段は、前記複数のインターフェースが利用設定されているか否かを判定し、前記利用設定されていると判定した場合に限り、前記特定のインターフェースであるか否かを判定することを特徴とする。 According to a third aspect of the present invention, in the IC chip according to the first or second aspect, the determination unit determines whether or not the plurality of interfaces are set for use, and the use is set. Only when it is determined, it is determined whether or not the interface is the specific interface.
請求項4に記載の発明は、外部との間で通信を行うための複数のインターフェースと、キャッシュメモリと、不揮発性メモリとを備えるICチップにおけるコンピュータを、前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信する受信手段と、前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定する判定手段と、前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新する更新手段と、前記判定手段により前記特定のインターフェースであると判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記判定手段により前記特定のインターフェースでないと判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む書き込み手段として機能させることを特徴とする。 According to a fourth aspect of the present invention, a computer in an IC chip including a plurality of interfaces for communicating with the outside, a cache memory, and a nonvolatile memory is updated, and data in a predetermined area in the cache memory is updated. And a command for executing at least a process of writing the data in the predetermined area including the updated data to the nonvolatile memory, and receiving the command from the outside via any of the interfaces Receiving means; determining means for determining whether or not the interface from which the command is received is a specific interface; and updating means for updating data in a predetermined area in the cache memory in accordance with the received command The specific interface is determined by the determination means. If the determination means determines that the data is not in the specific interface, the update means updates the data in the predetermined area including the data updated by the update means. The data of the predetermined area including the processed data is made to function as a writing means for writing to the nonvolatile memory.
請求項5に記載の発明は、外部との間で通信を行うための複数のインターフェースと、キャッシュメモリと、不揮発性メモリとを備えるICチップにおけるコマンド実行方法であって、前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信するステップと、前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定するステップと、前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新するステップと、前記特定のインターフェースであると判定された場合、前記更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記特定のインターフェースでないと判定された場合、前記更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込むステップと、を含むことを特徴とする。 The invention according to claim 5 is a command execution method in an IC chip comprising a plurality of interfaces for performing communication with the outside, a cache memory, and a nonvolatile memory, and a predetermined area in the cache memory Is a command for executing at least a process of updating the data of the predetermined area and writing the data of the predetermined area including the updated data to the nonvolatile memory, and the command from the outside via any of the interfaces Receiving a command; determining whether an interface from which the command is received is a specific interface; and updating data in a predetermined area in the cache memory according to the received command. And determine that it is the specific interface If it is determined that the data is not in the specific interface, the data in the predetermined area including the updated data is not written to the nonvolatile memory. And writing to the non-volatile memory.
本発明によれば、コマンドの受信から応答までにかかる処理時間を、より一層、短縮することができる。 According to the present invention, it is possible to further reduce the processing time required from the reception of a command to the response.
以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、携帯端末に対して本発明を適用した場合の実施の形態である。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The embodiment described below is an embodiment when the present invention is applied to a mobile terminal.
先ず、図1を参照して、本実施形態に係る携帯端末の構成及び機能概要について説明する。図1は、本実施形態に係る携帯端末の概要構成例を示すブロック図である。図1に示すように、携帯端末Tは、携帯端末Tの機能を担うコントローラ11、CLF(ContactLess Front-end)12、SE(Secure Element)13、及び電池14等を備えて構成されている。なお、携帯端末Tには、例えば操作キー、ディスプレイ、スピーカ、及び移動体通信部等を備える携帯電話機やスマートフォン等を適用できる。また、SE13は、本発明のICチップの一例である。SE13は、携帯端末Tの回路基板上に直接組み込んで構成するようにしてもよい。電池14は、コントローラ11等に電力を供給する。
First, with reference to FIG. 1, the configuration and functional overview of the mobile terminal according to the present embodiment will be described. FIG. 1 is a block diagram illustrating a schematic configuration example of a mobile terminal according to the present embodiment. As shown in FIG. 1, the mobile terminal T includes a
コントローラ11は、図示しないが、CPU(Central Processing Unit)、各種プログラム及びデータを記憶する不揮発性メモリ(例えばフラッシュメモリ等)、データを一時記憶するRAM、及び、SE13との間のインターフェースを担うI/Oポート等を備えている。コントローラ11は、SE13との間でI/Oポートを介して通信を行う。そして、コントローラ11は、携帯端末Tの通信(移動体通信網やインターネットを介して行われる通信)処理や携帯端末Tのユーザからの操作キーを介した操作指示に応じて各種処理を実行する。このような処理の中で、コントローラ11は、例えば暗号化処理や認証処理等に係るコマンドをI/Oポートを介してSE13へ送信する。
Although not shown, the
CLF12は、NFC(Near Field Communication)の規格で規定される非接触通信(近距離無線通信)用のLSIモジュールであり、SE13との間のインターフェースを担うI/Oポート(SWIO)、及び非接触のフィールド内で非接触リーダライタR/Wとの間で各種信号の送受信を行うためのアンテナ12aに接続されている。そして、ユーザが携帯端末Tを非接触リーダライタR/Wに翳すと、非接触リーダライタR/Wからアンテナ12aを介して受信したコマンドをI/Oポートを介してSE13へ送信する。
The
SE13は、例えば、SIM(Subscriber Identity Module)をベースに機能を拡張されたUIM(User Identity Module)である。図2(A)は、SE13のハードウェア構成例を示すブロック図であり、図2(B)は、SE13の機能構成例を示すブロック図である。図2(A)に示すように、SE13は、CPU13a、ROM(Read Only Memory)13b、RAM(Random Access Memory)13c、NVM(Nonvolatile Memory)13d、及び外部(SE13の外部)との間で通信を行うための複数のIF(インターフェース)1〜IFn等を備えている。SE13は、例えばIF1を介してコントローラ11との間で通信を行う。また、SE13は、例えばIF2を介してCLF12との間で通信を行う。CLF12とSE13間の通信プロトコルには、例えば、SWP(Single Wire Protocol)が適用される。なお、SE13は、図示しないが、例えば、ISO/IEC7816等によって定められた、C1〜C8の8個の端子を有する。このうち、例えば、C7端子は、コントローラ11との間のIF1を担う端子であり、C6端子は、CLF12との間のIF2を担う端子である。なお、IFの数は、特に限定されるものではなく、3つ以上のIFが備えられる場合も本発明を適用することができる。
The SE 13 is a UIM (User Identity Module) whose functions are expanded based on, for example, a SIM (Subscriber Identity Module). FIG. 2A is a block diagram illustrating a hardware configuration example of SE13, and FIG. 2B is a block diagram illustrating a functional configuration example of SE13. As shown in FIG. 2A, the
RAM13cは、NVM13dへの書き込み処理をキャッシングするためのキャッシュメモリである。RAM13cには、図2(B)に示すように、データを一時的に保持するためのキャッシュデータ保持領域105(所定領域の一例)が設けられる。NVM13dは、フラッシュメモリ、または「Electrically Erasable Programmable Read-Only Memory」等の不揮発性メモリである。NVM13dには、図2(B)に示すように、キャッシュデータ保持領域105のデータを保持するための更新対象データ保持領域106(キャッシュデータ保持領域105に対応する領域)が設けられる。また、ROMまたはNVM13dには、OS、本発明のICチップ用プログラム及びアプリケーションプログラムが記憶される。アプリケーションプログラムには、例えば、決済処理用アプリケーションプログラムが含まれる。決済処理用アプリケーションプログラムの実行により、例えば暗号化処理、認証処理、残高更新処理等が行われる。なお、更新対象データ保持領域106には、これらの処理で用いられるアプリケーションプログラム用の更新対象データ(例えば、決済処理が開始されたか否かを示すフラグ、コントローラ11からピン(暗証番号)を入力したか否かを示すフラグなど)が保持される。
The
CPU13aは、本発明のICチップ用プログラム等を実行することにより、図2(B)に示すように、IF判定部101、コマンド処理部102、キャッシュメモリ更新部103、及び不揮発性メモリ更新部104等として機能する。ここで、IF判定部101は、本発明における判定手段の一例である。コマンド処理部102は、本発明における受信手段の一例である。キャッシュメモリ更新部103は、本発明における更新手段の一例である。不揮発性メモリ更新部104は、本発明における書き込み手段の一例である。
As shown in FIG. 2B, the
IF判定部101は、外部(例えば、コントローラ11、またはCLF12)から何れかのIFを介してコマンド(例えば、APDU(Application Protocol Data Unit))が受信された場合に、当該コマンドが受信されたIFが特定のIF(例えば、パフォーマンスを優先する非接触通信用のIF)であるか否かを判定する。このコマンドは、RAM13cにおけるキャッシュデータ保持領域105のデータ(更新対象データ)を更新し、且つ当該更新されたデータを含むキャッシュデータ保持領域105のデータをNVM13dに書き込む処理を少なくとも実行させるためのコマンドである。なお、本実施形態では、CLF12との間で通信を行うためのIF2が、特定のIFであるとして例えばプログラム中、或いはNVM13d中に予め設定される。なお、どのIFを特定のIFに設定するかは任意であり、例えばサービスの形態によって適宜変更可能である。
When the
コマンド処理部102は、受信されたコマンドに応じたコマンド処理を実行し、その結果をレスポンスとして外部へ応答する。キャッシュメモリ更新部103は、IF判定部101により特定のIFであると判定されたか否かに関わらず、受信されたコマンドに応じて、RAM13cにおけるキャッシュデータ保持領域105のデータを更新する。不揮発性メモリ更新部104は、IF判定部101により特定のIFであると判定された場合、キャッシュメモリ更新部103により更新されたデータを含むキャッシュデータ保持領域105のデータをNVM13dに書き込まない(反映しない)一方、IF判定部101により特定のIFでないと判定された場合、不揮発性メモリ更新部104は、キャッシュメモリ更新部103により更新されたデータを含む「キャッシュデータ保持領域105のデータ」をNVM13dにおける更新対象データ保持領域106に書き込む。つまり、CPU13aは、特定のIFを介してコマンドが受信された場合のNVM13dへの書き込み処理を、そのコマンド処理中に実行せず、その後に、特定のIF以外のIFを介してコマンドが受信されたときに実行する。これにより、コマンドの受信から応答までにかかる処理時間を短縮することができる。
The
次に、図3を参照して、SE13がコマンドを受信したときのコマンド処理について説明する。図3は、SE13がコマンドを受信したときのコマンド処理の一例を示すフローチャートである。図3に示すコマンド処理は、外部からIFを介してコマンドが受信されたときに開始される。
Next, command processing when the
図3に示すコマンド処理が開始されると、CPU13aは、RAM13cにおけるキャッシュデータ保持領域105のデータが初期化されている(キャッシュデータが初期化済)か否かを判定する(ステップS1)。キャッシュデータ保持領域105のデータが初期化されていない(例えば、0000・・・になっている)と判定された場合(ステップS1:NO)、ステップS2へ進む。一方、キャッシュデータ保持領域105のデータが初期化されていると判定された場合(ステップS1:YES)、ステップS3へ進む。
When the command processing shown in FIG. 3 is started, the
ステップS2では、CPU13aは、更新対象データ保持領域106に保持されている更新対象データ(例えば上述したフラグ等)を、キャッシュデータ保持領域105へ記憶(コピー)し、ステップS3へ進む。
In step S2, the
ステップS3では、CPU13aのコマンド処理部102は、コマンド処理を行う。このコマンド処理において、CPU13aのキャッシュメモリ更新部103は、受信されたコマンドに応じて、キャッシュデータ保持領域105に保持されている更新対象データを更新(キャッシュデータ更新)する。なお、この更新対象データは、例えば、図2(B)に示すデータA(第1のデータの一例)とする。
In step S3, the
次いで、CPU13aのIF判定部101は、複数のIFが利用設定されている(複数のIFが利用設定中)か否かを判定する(ステップS4)。複数のIFが利用設定されていると判定された場合(ステップS4:YES)、ステップS5へ進む。一方、複数のIFが利用設定されていないと判定された場合(ステップS4:NO)、ステップS6へ進む。つまり、複数のIFのうち、単一のIFのみが利用設定されている場合、ステップS5の処理がスキップされる。ステップS4の判定は行わないように構成してもよいが(つまり、コマンドが受信されると、常にステップS5の判定を行う)、ステップS4の判定を行うことで、複数のIFが利用設定されていると判定された場合に限りステップS5の判定を行うようにすることができる。そのため、単一のIFのみが利用設定されている場合におけるコマンド処理時間を短縮することができる。
Next, the
ステップS5では、CPU13aのIF判定部101は、コマンドが受信されたIFが、特定のIF(例えば、非接触通信用のIF)であるか否かを判定する。特定のIFであると判定された場合(ステップS5:YES)、不揮発性メモリ更新部104は、ステップS3でキャッシュデータ保持領域105において更新された更新対象データをNVM13dに書き込まず、コマンド処理部102は、コマンド処理の結果をレスポンスとして、コマンドが受信されたIFを介して外部へ応答し(ステップS7)、コマンド処理を終了する。一方、特定のIFでないと判定された場合(ステップS5:NO)、不揮発性メモリ更新部104は、ステップS3でキャッシュデータ保持領域105において更新された更新対象データをNVM13dにおける更新対象データ保持領域106に書き込み、コマンド処理部102は、コマンド処理の結果をレスポンスとして、コマンドが受信されたIFを介して外部へ応答し(ステップS7)、コマンド処理を終了する。
In step S5, the
その後に、次のコマンドが受信されることでコマンド処理が開始されたときに、キャッシュメモリ更新部103は、キャッシュデータ保持領域105の更新対象データとして、例えば、データB(第2のデータの一例)を更新し、ステップS5で特定のIFでないと判定されたとする。この場合、不揮発性メモリ更新部104は、キャッシュメモリ更新部103により更新された更新対象データ(データB)及び前回のコマンド処理で書き込まれなかったデータAを含む「キャッシュデータ保持領域105のデータ」を、更新対象データ保持領域106に書き込むことになる。
Thereafter, when command processing is started by receiving the next command, the cache
以上説明したように、上記実施形態によれば、特定のIFを介してコマンドが受信された場合のNVM13dへの書き込み処理を、そのコマンド処理中に実行せず、その後に、特定のIF以外のIFを介してコマンドが受信されたときに実行するように構成したので、コマンドの受信から応答までにかかる処理時間を、より一層、短縮することができる。これにより、非接触決済などの処理をより短時間に完了させることができるため、例えば交通機関における改札の処理を高速化させて改札の出入りをスムーズにさせることができたり、店舗等の決済処理においては決済の処理待ちを解消して利便性を上げたりすることができる。
As described above, according to the above-described embodiment, the write process to the
11 コントローラ
12 CLF
13 SE
14 電池
13a CPU
13b ROM
13c RAM
13d NVM
101 IF判定部
102 コマンド処理部
103 キャッシュメモリ更新部
104 不揮発性メモリ更新部
105 キャッシュデータ保持領域
106 更新対象データ保持領域
T 携帯端末
11
13 SE
14
13b ROM
13c RAM
13d NVM
DESCRIPTION OF
Claims (5)
前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信する受信手段と、
前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定する判定手段と、
前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新する更新手段と、
前記判定手段により前記特定のインターフェースであると判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記判定手段により前記特定のインターフェースでないと判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む書き込み手段と、
を備えることを特徴とするICチップ。 An IC chip comprising a plurality of interfaces for communicating with the outside, a cache memory, and a nonvolatile memory,
A command for executing at least a process of updating data in a predetermined area in the cache memory and writing the data in the predetermined area including the updated data into the nonvolatile memory. Receiving means for receiving the command via the interface;
Determining means for determining whether the interface from which the command is received is a specific interface;
Updating means for updating data in a predetermined area in the cache memory in response to the received command;
When the determination unit determines that the interface is the specific interface, the data of the predetermined area including the data updated by the update unit is not written to the nonvolatile memory, but the determination unit does not write the specific interface. If determined, writing means for writing data in the predetermined area including data updated by the updating means to the nonvolatile memory;
An IC chip comprising:
前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信する受信手段と、
前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定する判定手段と、
前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新する更新手段と、
前記判定手段により前記特定のインターフェースであると判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記判定手段により前記特定のインターフェースでないと判定された場合、前記更新手段により更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む書き込み手段として機能させることを特徴とするICチップ用プログラム。 A computer in an IC chip including a plurality of interfaces for communicating with the outside, a cache memory, and a nonvolatile memory,
A command for executing at least a process of updating data in a predetermined area in the cache memory and writing the data in the predetermined area including the updated data into the nonvolatile memory. Receiving means for receiving the command via the interface;
Determining means for determining whether the interface from which the command is received is a specific interface;
Updating means for updating data in a predetermined area in the cache memory in response to the received command;
When the determination unit determines that the interface is the specific interface, the data of the predetermined area including the data updated by the update unit is not written to the nonvolatile memory, but the determination unit does not write the specific interface. An IC chip program that, when determined, causes the data in the predetermined area including the data updated by the updating means to function as a writing means for writing to the nonvolatile memory.
前記キャッシュメモリにおける所定領域のデータを更新し、且つ当該更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込む処理を少なくとも実行させるためのコマンドであって、前記外部から何れかの前記インターフェースを介して当該コマンドを受信するステップと、
前記コマンドが受信されたインターフェースが特定のインターフェースであるか否かを判定するステップと、
前記受信されたコマンドに応じて、前記キャッシュメモリにおける所定領域のデータを更新するステップと、
前記特定のインターフェースであると判定された場合、前記更新されたデータを含む前記所定領域のデータを不揮発性メモリに書き込まない一方、前記特定のインターフェースでないと判定された場合、前記更新されたデータを含む前記所定領域のデータを前記不揮発性メモリに書き込むステップと、
を含むことを特徴とするコマンド実行方法。 A command execution method in an IC chip comprising a plurality of interfaces for communicating with the outside, a cache memory, and a nonvolatile memory,
A command for executing at least a process of updating data in a predetermined area in the cache memory and writing the data in the predetermined area including the updated data into the nonvolatile memory. Receiving the command via the interface;
Determining whether the interface from which the command was received is a specific interface;
Updating data in a predetermined area in the cache memory in response to the received command;
If it is determined that the interface is the specific interface, the data in the predetermined area including the updated data is not written to the nonvolatile memory. On the other hand, if it is determined that the interface is not the specific interface, the updated data is stored. Including writing the predetermined area of data into the nonvolatile memory;
A command execution method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041711A JP6307938B2 (en) | 2014-03-04 | 2014-03-04 | IC chip, command execution method, and IC chip program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041711A JP6307938B2 (en) | 2014-03-04 | 2014-03-04 | IC chip, command execution method, and IC chip program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015166990A true JP2015166990A (en) | 2015-09-24 |
JP6307938B2 JP6307938B2 (en) | 2018-04-11 |
Family
ID=54257822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014041711A Active JP6307938B2 (en) | 2014-03-04 | 2014-03-04 | IC chip, command execution method, and IC chip program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6307938B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017222678A (en) * | 2017-07-06 | 2017-12-21 | バイエル・ヘルスケア・エルエルシーBayer HealthCare LLC | Monoclonal antibodies against tissue factor pathway inhibitors (tfpi) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013037430A (en) * | 2011-08-04 | 2013-02-21 | Dainippon Printing Co Ltd | Ic chip, processing method in ic chip, and processing program in ic chip |
-
2014
- 2014-03-04 JP JP2014041711A patent/JP6307938B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013037430A (en) * | 2011-08-04 | 2013-02-21 | Dainippon Printing Co Ltd | Ic chip, processing method in ic chip, and processing program in ic chip |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017222678A (en) * | 2017-07-06 | 2017-12-21 | バイエル・ヘルスケア・エルエルシーBayer HealthCare LLC | Monoclonal antibodies against tissue factor pathway inhibitors (tfpi) |
Also Published As
Publication number | Publication date |
---|---|
JP6307938B2 (en) | 2018-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10380578B2 (en) | Systems and methods for providing near field communications | |
US10810591B2 (en) | Virtual reality headset device and payment method | |
US20120067947A1 (en) | Ic card, mobile electronic device and data processing method in ic card | |
US9978056B2 (en) | Smart card having multiple payment instruments | |
US8650387B2 (en) | IC chip, information processing apparatus, software module control method, information processing system, information processing method, and program | |
KR102371705B1 (en) | Device and method for controlling transactions of nfc reader with external electronic device | |
EP3065097B1 (en) | Device and method for facilitating a transaction | |
JP5457743B2 (en) | IC card and portable electronic information device | |
JP6307938B2 (en) | IC chip, command execution method, and IC chip program | |
US9594917B2 (en) | Secured multi-directional, multi-interface transaction processing | |
EP3493134A1 (en) | Electronic device and method for processing remote payment | |
JP2012093857A (en) | Ic chip, memory initialization method for ic chip, processing program for ic chip, and portable terminal | |
US11863475B2 (en) | Method and apparatus for designing rate matching pattern for partial demodulation reference signal (DMRS) transmission | |
CN112822666B (en) | Communication method, communication device, electronic equipment and storage medium | |
JP5838713B2 (en) | IC chip, UIM, processing method in IC chip, IC chip processing program, and portable terminal | |
US11652512B2 (en) | Fast NFC processing | |
CN110830556B (en) | Service processing method and device | |
US9948752B2 (en) | Default data packet routing in a NFC device | |
JP5799754B2 (en) | IC chip, processing method in IC chip, IC chip processing program, IC card, and portable terminal | |
JP5724701B2 (en) | IC chip, processing method in IC chip, IC chip processing program, and portable terminal | |
JP6201812B2 (en) | Information processing apparatus and information processing method | |
JP2017142655A (en) | Electronic information storage medium, information processing method, and information processing program | |
US11954477B2 (en) | Information processing device, information processing method, and program | |
JP6326835B2 (en) | Information processing apparatus, IC card, command processing method, and command processing program | |
JP2018022228A (en) | Electronic information storage medium, determination method, and determination program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170925 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171017 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171212 |
|
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: 20180213 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180226 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6307938 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |