JP7206942B2 - Electronic information storage medium, IC chip, initial setting method, and initial setting program - Google Patents

Electronic information storage medium, IC chip, initial setting method, and initial setting program Download PDF

Info

Publication number
JP7206942B2
JP7206942B2 JP2019008799A JP2019008799A JP7206942B2 JP 7206942 B2 JP7206942 B2 JP 7206942B2 JP 2019008799 A JP2019008799 A JP 2019008799A JP 2019008799 A JP2019008799 A JP 2019008799A JP 7206942 B2 JP7206942 B2 JP 7206942B2
Authority
JP
Japan
Prior art keywords
program
interfaces
interface
storage medium
information storage
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
JP2019008799A
Other languages
Japanese (ja)
Other versions
JP2019139760A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Publication of JP2019139760A publication Critical patent/JP2019139760A/en
Application granted granted Critical
Publication of JP7206942B2 publication Critical patent/JP7206942B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Description

複数のインターフェースを備えるICカード等の技術分野に関する。 The present invention relates to technical fields such as IC cards having multiple interfaces.

従来から、複数のインターフェースを有するICカードが知られている。例えば、特許文献1に開示されたメモリカードは、複数のインターフェースを有し、ホストとの間で複数のインターフェースを用いて同時に通信することができるように構成されている。このようなICカードに搭載されるICチップの製造工程において、ICチップ内の不揮発性メモリにOSなどの大容量のデータを外部から書き込む場合、通信速度が速い例えばSWP(Single Wire Protocol)のインターフェースを使用することで製造速度を上げることができる。 2. Description of the Related Art Conventionally, an IC card having multiple interfaces is known. For example, the memory card disclosed in Patent Document 1 has a plurality of interfaces and is configured to be able to communicate simultaneously with a host using the plurality of interfaces. In the manufacturing process of an IC chip mounted on such an IC card, when writing large-capacity data such as an OS to the non-volatile memory in the IC chip from the outside, a fast communication speed, such as a SWP (Single Wire Protocol) interface can be used to speed up production.

特開2014-182776号公報JP 2014-182776 A

しかしながら、市場におけるサービスでは、例えばSWPのインターフェースが利用されず、このインターフェース以外の例えばISO7816のインターフェースが利用される場合がある。この場合、サービスで利用されないSWPのインターフェースが利用可能状態にあることは、不正な利用や意図しない動作の一因となりかねない。逆に、市場におけるサービスでは、SWPのインターフェースだけが利用されるものの、ICチップの製造設備によってはISO7816のインターフェースだけしか対応できない場合もある。他方、製品ごとにインターフェースの対応が異なるOSを用意することはソフトウェアの流用性を下げることにもなり、開発効率が下がる要因となる。 However, in some services in the market, for example, the SWP interface is not used, and an interface other than this interface, such as an ISO7816 interface, is used. In this case, the availability of SWP interfaces that are not used by the service may contribute to unauthorized use or unintended behavior. Conversely, in market services, only the SWP interface is used, but depending on the IC chip manufacturing facility, there are cases where only the ISO7816 interface is available. On the other hand, preparing OSs with different interface correspondences for each product also reduces the applicability of software, which is a factor in lowering development efficiency.

そこで、本発明は、このような点等に鑑みてなされたものであり、複数のインターフェースのうち利用されないインターフェースの不正な利用や意図しない動作を防ぐことが可能な電子情報記憶媒体、ICチップ、初期設定方法、及び初期設定プログラムを提供することを目的とする。 Therefore, the present invention has been made in view of such points and the like, and provides an electronic information storage medium, an IC chip, and an electronic information storage medium capable of preventing unauthorized use and unintended operation of an unused interface among a plurality of interfaces. An object of the present invention is to provide an initial setting method and an initial setting program.

上記課題を解決するために、請求項1に記載の発明は、複数のインターフェースを備える電子情報記憶媒体であって、前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶する記憶手段と、前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行う設定手段と、を備え、前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする。 In order to solve the above problems, the invention according to claim 1 is an electronic information storage medium having a plurality of interfaces, wherein a first interface for performing initial setting for operating one or more interfaces among the plurality of interfaces is provided. a storage means for storing one program and a second program for performing initial settings for operating some of the interfaces; and when the electronic information storage medium is started, the electronic determining whether or not the information storage medium is in a specific state, selecting one of the first program and the second program based on the result of the determination, and performing at least the above according to the selected program and setting means for performing initial settings for operating some of the interfaces, wherein the interfaces subject to the initial settings by the first program include interfaces not subject to the initial settings by the second program. It is characterized by

請求項2に記載の発明は、複数のインターフェースを備える電子情報記憶媒体であって、前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶する記憶手段と、前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行う設定手段と、を備えることを特徴とする。 According to a second aspect of the present invention, there is provided an electronic information storage medium having a plurality of interfaces, wherein the storage means stores operability information indicating whether or not to operate at least one of the plurality of interfaces; setting means for performing initial setting for operating a part of the interface based on the operability information when the electronic information storage medium is activated.

請求項3に記載の発明は、請求項2に記載の電子情報記憶媒体において、前記設定手段は、前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該電子情報記憶媒体が当該特定の状態にあると判定した場合に、前記動作可否情報に基づいて前記一部のインターフェースを動作させる初期設定を行うことを特徴とする。 The invention according to claim 3 is the electronic information storage medium according to claim 2, wherein the setting means determines whether or not the electronic information storage medium is in a specific state when the electronic information storage medium is activated. If it is determined that the electronic information storage medium is in the specific state, initial setting is performed to operate the part of the interface based on the operation propriety information.

請求項4に記載の発明は、請求項2または3に記載の電子情報記憶媒体において、前記動作可否情報は、前記複数のインターフェース毎に前記記憶手段に記憶されており、前記設定手段は、前記インターフェース毎に記憶された前記動作可否情報に基づいて前記インターフェース毎に動作させるか否かを判定し、動作させると判定されたインターフェースを動作させる初期設定を行うことを特徴とする。 The invention according to claim 4 is the electronic information storage medium according to claim 2 or 3, wherein the operability information is stored in the storage means for each of the plurality of interfaces, and the setting means It is characterized in that whether or not to operate each interface is determined based on the operability information stored for each interface, and initial setting is performed to operate the interface determined to be operated.

請求項5に記載の発明は、請求項2乃至4の何れか一項に記載の電子情報記憶媒体において、外部装置から動作状態にある何れかの前記インターフェースを介して前記動作可否情報を更新するコマンドが受信された場合、前記記憶手段に記憶されている前記動作可否情報を更新する更新手段を更に備えることを特徴とする。 The invention according to claim 5 is the electronic information storage medium according to any one of claims 2 to 4, wherein the operability information is updated from an external device via any one of the interfaces in an operating state. It is characterized by further comprising update means for updating the operation enable/disable information stored in the storage means when a command is received.

請求項6に記載の発明は、複数のインターフェースを備えるICチップであって、前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶する記憶手段と、前記ICチップが起動した際に、当該ICチップが特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行う設定手段と、を備え、前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする。 The invention according to claim 6 is an IC chip having a plurality of interfaces, wherein a first program for performing initial settings for operating one or more interfaces among the plurality of interfaces; a storage means for storing a second program for performing initial settings for operating a portion of the interface; and determination as to whether or not the IC chip is in a specific state when the IC chip is activated. setting means for selecting either one of the first program and the second program based on the result of the determination, and performing initial setting for operating at least the part of the interface according to the selected program; , wherein interfaces to be initialized by the first program include interfaces not to be initialized by the second program.

請求項7に記載の発明は、複数のインターフェースを備えるICチップであって、前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶する記憶手段と、前記ICチップが起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行う設定手段と、を備えることを特徴とする。 According to a seventh aspect of the present invention, there is provided an IC chip having a plurality of interfaces, comprising storage means for storing operability information indicating whether or not at least one of the plurality of interfaces should be operated; setting means for performing initial setting to operate a part of the interface based on the operation propriety information when the chip is activated.

請求項8に記載の発明は、複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータにより実行される初期設定方法であって、前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶するステップと、前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行うステップと、を含み、前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする。 According to an eighth aspect of the invention, there is provided an initialization method executed by a computer included in an electronic information storage medium having a plurality of interfaces, wherein initialization is performed to operate one or more of the plurality of interfaces. and a second program for performing initial settings for operating some of the plurality of interfaces; and when the electronic information storage medium is activated, determining whether the electronic information storage medium is in a specific state, selecting one of the first program and the second program based on the result of the determination, and performing processing according to the selected program and performing initial settings for operating at least some of the interfaces, wherein the interfaces subject to the initial settings by the first program include interfaces not subject to the initial settings by the second program. characterized by being

請求項9に記載の発明は、複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータにより実行される初期設定方法であって、前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶するステップと、前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行うステップと、を含むことを特徴とする。 According to a ninth aspect of the invention, there is provided an initialization method executed by a computer included in an electronic information storage medium having a plurality of interfaces, wherein whether or not to operate at least one of the plurality of interfaces is determined. and a step of initializing a portion of the interface to operate based on the operability information when the electronic information storage medium is activated. .

請求項10に記載の発明は、複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータに、前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶するステップと、前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行うステップと、を実行させる初期設定プログラムであって、前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする。 A tenth aspect of the invention provides a computer included in an electronic information storage medium having a plurality of interfaces; a second program for performing initial settings for operating some of the interfaces of the electronic information storage medium; selects either the first program or the second program based on the result of the determination, and operates at least the part of the interface according to the selected program and an initial setting program for executing an initial setting step, wherein interfaces to be initialized by the first program include interfaces not to be initialized by the second program. characterized by

請求項11に記載の発明は、複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータに、前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶するステップと、前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行うステップと、を実行させることを特徴とする。 The invention according to claim 11 is a step of storing, in a computer included in an electronic information storage medium having a plurality of interfaces, operability information indicating whether or not at least one of the plurality of interfaces is to be operated. and performing initial setting for operating a part of the interface based on the operability information when the electronic information storage medium is activated.

本発明によれば、複数のインターフェースのうち利用されないインターフェースの不正な利用や意図しない動作を防ぐことができる。 According to the present invention, unauthorized use and unintended operation of an unused interface among a plurality of interfaces can be prevented.

ICチップ1の機能ブロックの一例を示す図である。2 is a diagram showing an example of functional blocks of the IC chip 1; FIG. (A),(B)は、実施例1において、NVM13に記憶された内容の一例を示す図である。4A and 4B are diagrams showing an example of contents stored in the NVM 13 in the first embodiment; FIG. (A)は、実施例1において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートであり、(B)は、実施例1において、ICチップ1がインターフェースの動作可否情報を更新するコマンドを受信した際のCPU10の処理例を示すフローチャートである。(A) is a flowchart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the first embodiment, and (B) is a flow chart in which the IC chip 1 updates interface operability information in the first embodiment 4 is a flow chart showing an example of processing of the CPU 10 when a command is received; 実施例2において、NVM13に記憶された内容の一例を示す図である。FIG. 12 is a diagram showing an example of contents stored in the NVM 13 in the second embodiment; FIG. 実施例2において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートである。10 is a flow chart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the second embodiment; (A),(B)は、実施例3において、NVM13に記憶された内容の一例を示す図である。(A) and (B) are diagrams showing an example of contents stored in the NVM 13 in the third embodiment. (A)は、実施例3において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートであり、(B)は、実施例3において、ICチップ1がインターフェースの動作可否情報を更新するコマンドを受信した際のCPU10の処理例を示すフローチャートである。(A) is a flowchart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the third embodiment, and (B) is a flow chart in which the IC chip 1 updates interface operability information in the third embodiment. 4 is a flow chart showing an example of processing of the CPU 10 when a command is received;

以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、複数のインターフェースを備えるICチップに対して本発明を適用した場合の実施の形態である。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below are embodiments in which the present invention is applied to an IC chip having a plurality of interfaces.

[1.ICチップの概要構成及び機能]
先ず、図1等を参照して、ICチップ1の概要構成及び機能について説明する。図1は、ICチップ1の機能ブロックの一例を示す図である。図1に示すように、ICチップ1は、CPU(Central Processing Unit)10、ROM(Read Only Memory)11、RAM(Random Access Memory)12、NVM(Nonvolatile Memory)13、及び第1~第4インターフェース14a~14d等を備えて構成される。ここで、CPU10は、ROM11またはNVM13に記憶された各種プログラムを実行するプロセッサである。ROM11は記憶手段の一例として適用可能であるが、ICチップ1に備えられない場合もある。NVM13は、記憶手段の一例であり、例えばフラッシュメモリ等の不揮発性メモリである。NVM13は、「Electrically Erasable Programmable Read-Only Memory」であってもよい。ROM11またはNVM13には、OS(Operating System)、及びアプリケーションプログラムが記憶される。OSには、本発明の初期設定プログラム、及び第1~第4インターフェース14a~14dのそれぞれに対応するドライバプログラム等が含まれる。本発明の初期設定プログラムによりCPU10は設定手段及び更新手段として機能する。
[1. General configuration and function of IC chip]
First, the general configuration and functions of the IC chip 1 will be described with reference to FIG. FIG. 1 is a diagram showing an example of functional blocks of an IC chip 1. As shown in FIG. As shown in FIG. 1, the IC chip 1 includes a CPU (Central Processing Unit) 10, ROM (Read Only Memory) 11, RAM (Random Access Memory) 12, NVM (Nonvolatile Memory) 13, and first to fourth interfaces 14a to 14d and the like. Here, the CPU 10 is a processor that executes various programs stored in the ROM 11 or NVM 13 . The ROM 11 can be applied as an example of storage means, but it may not be provided in the IC chip 1 in some cases. The NVM 13 is an example of storage means, such as a non-volatile memory such as a flash memory. The NVM 13 may be "Electrically Erasable Programmable Read-Only Memory". The ROM 11 or NVM 13 stores an OS (Operating System) and application programs. The OS includes an initial setting program of the present invention, driver programs corresponding to the first to fourth interfaces 14a to 14d, and the like. The initial setting program of the present invention causes the CPU 10 to function as setting means and updating means.

なお、ICチップ1は、本発明の電子情報記憶媒体の一例であり、セキュアマイコンとも呼ばれる場合がある。ICチップ1は、キャッシュカード、クレジットカード、社員カード等のICカードに搭載されて使用される。或いは、ICチップ1は、例えばSIM(Subscriber Identity Module)としてICカードに搭載され、スマートフォンや携帯電話機等の端末装置に装着されてもよい。或いは、ICチップ1は、例えばeUICC(Embedded Universal Integrated Circuit Card)として、IoT(Internet of Things)などの端末装置から容易に取り外しや取り換えができないように組み込み基板上に実装(つまり、端末装置と一体的に形成)されてもよい。 Note that the IC chip 1 is an example of an electronic information storage medium of the present invention, and is sometimes called a secure microcomputer. The IC chip 1 is used by being mounted on IC cards such as cash cards, credit cards, and employee cards. Alternatively, the IC chip 1 may be mounted on an IC card as a SIM (Subscriber Identity Module), for example, and mounted on a terminal device such as a smart phone or a mobile phone. Alternatively, the IC chip 1 may be mounted on an embedded substrate as eUICC (Embedded Universal Integrated Circuit Card), for example, so that it cannot be easily removed or replaced from a terminal device such as IoT (Internet of Things) (that is, integrated with the terminal device). may be formed).

第1~第4インターフェース14a~14dは、CPU10が外部装置(図示せず)との間で通信を行うためのものである。なお、図1の例では、ICチップ1が4つのインターフェース14a~14dを備えるが、これに限定されるものではなく、ICチップ1は2つまたは3つのインターフェースを備えてもよいし、或いは5つ以上のインターフェースを備えてもよい。第1インターフェース14aは、例えばISO7816等によって定められたT=1プロトコル(調歩式半二重ブロック伝送プロトコル)に従った通信を行うためのインターフェース(つまり、ISO7816のインターフェース)である。第2インターフェース14bは、例えばSWPに従った通信を行うためのインターフェース(つまり、SWPのインターフェース)である。第3インターフェース14cは、例えばI2C(Inter-Integrated Circuit)によるシリアル通信のためのインターフェースである。第4インターフェース14dは、例えばSPI(Serial Peripheral Interface)によるシリアル通信のためのインターフェースである。インターフェース14a~14dのうち何れかがGPIO(General Purpose Input Output)などのインターフェースであってもよい。 The first to fourth interfaces 14a to 14d are for the CPU 10 to communicate with an external device (not shown). Although the IC chip 1 has four interfaces 14a to 14d in the example of FIG. 1, the IC chip 1 may have two or three interfaces, or five interfaces. It may have more than one interface. The first interface 14a is an interface (that is, an ISO7816 interface) for performing communication according to the T=1 protocol (start-stop half-duplex block transmission protocol) defined by ISO7816, for example. The second interface 14b is, for example, an interface for performing communication according to SWP (that is, an SWP interface). The third interface 14c is an interface for serial communication by, for example, I 2 C (Inter-Integrated Circuit). The fourth interface 14d is an interface for serial communication by SPI (Serial Peripheral Interface), for example. Any one of the interfaces 14a-14d may be an interface such as GPIO (General Purpose Input Output).

なお、ICチップ1が国際規格であるISO7816等によって定められたC1~C8の8個の端子を備える場合、例えば、C1端子は電源が供給されるために用いられ、C2端子は外部装置からリセット(リセット信号)が入力されるために用いられ、C6端子はSWPのインターフェースのために用いられ、C7端子はISO7816のインターフェースのために用いられる。外部装置の例としては、ICチップ発行機(ICカード発行機)、ATM、改札機、認証用ゲート等が挙げられる。或いは、ICチップ1が端末装置に搭載される場合、外部装置には端末装置を制御する制御部、または端末装置との間でネットワークを介して通信を行うサーバが該当する。 If the IC chip 1 has eight terminals C1 to C8 defined by the international standard ISO7816 or the like, for example, the C1 terminal is used to supply power, and the C2 terminal is used for resetting from an external device. (reset signal) is input, the C6 terminal is used for the SWP interface, and the C7 terminal is used for the ISO7816 interface. Examples of external devices include IC chip issuing machines (IC card issuing machines), ATMs, ticket gates, authentication gates, and the like. Alternatively, when the IC chip 1 is mounted on a terminal device, the external device corresponds to a control unit that controls the terminal device or a server that communicates with the terminal device via a network.

以上の構成において、CPU10は、ICチップ1が起動した際に、初期設定プログラムにしたがって、インターフェースの動作可否情報に基づいて、第1~第4インターフェース14a~14dのうち一部のインターフェースを動作させる初期設定を行う。このように構成すれば、複数のインターフェースのうち利用されないインターフェースの不正な利用や意図しない動作を防ぐことができる。ここで、インターフェースの動作可否情報は、第1~第4インターフェース14a~14dのうち少なくとも1つのインターフェースを動作させるか否か(つまり、許可または不許可)を示す情報であり、外部装置からのコマンドにより更新可能になっている。なお、CPU10は、ICチップ1が起動した際に、当該ICチップ1が特定の状態にあるか否かを判定し、当該ICチップ1が当該特定の状態にあると判定した場合に、インターフェースの動作可否情報に基づいて第1~第4インターフェース14a~14dのうち一部のインターフェースを動作させる初期設定を行うように構成してもよい。 In the above configuration, when the IC chip 1 is activated, the CPU 10 operates some of the first to fourth interfaces 14a to 14d according to the initial setting program and based on the operability information of the interfaces. Make initial settings. By configuring in this way, it is possible to prevent unauthorized use and unintended operation of an unused interface among a plurality of interfaces. Here, the interface operability information is information indicating whether or not at least one of the first to fourth interfaces 14a to 14d should be operated (that is, permitted or not permitted). can be updated by When the IC chip 1 is activated, the CPU 10 determines whether the IC chip 1 is in a specific state. An initial setting may be made to operate some of the first to fourth interfaces 14a to 14d based on the operability information.

ここで、ICチップ1が特定の状態にあるか否かは、例えばNVM13に記憶される状態管理変数により判断される。特定の状態の例として、ICチップ1の製造完了状態、及びICチップ1のサービス投入状態などが挙げられるが、その他の状態であってもよい。例えば、ICチップ1の製造が完了した時に、所定の機器により、NVM13に記憶される状態管理変数が製造完了状態を示す値に書き換えられる。或いは、ICチップ1を利用するサービスが開始された時に、所定の機器により、NVM13に記憶される状態管理変数がサービス投入状態を示す値に書き換えられる。 Here, whether or not the IC chip 1 is in a specific state is determined by a state management variable stored in the NVM 13, for example. Examples of the specific state include a manufacturing completion state of the IC chip 1 and a service entry state of the IC chip 1, but other states may be used. For example, when the manufacture of the IC chip 1 is completed, a predetermined device rewrites the state management variable stored in the NVM 13 to a value indicating the manufacture completion state. Alternatively, when a service using the IC chip 1 is started, a predetermined device rewrites the state management variable stored in the NVM 13 to a value indicating the service input state.

一方、インターフェースの動作可否情報をNVM13に記憶することなく、第1~第4インターフェース14a~14dのうち一部のインターフェースを動作させる初期設定を行うように構成することも可能である。この場合、NVM13には、第1~第4インターフェース14a~14dのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、第1~第4インターフェース14a~14dのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムとが記憶される。 On the other hand, it is also possible to perform initial setting for operating some of the first to fourth interfaces 14a to 14d without storing the interface operability information in the NVM 13. FIG. In this case, the NVM 13 includes a first program for performing initial settings for operating one or more of the first to fourth interfaces 14a to 14d, and a part of the first to fourth interfaces 14a to 14d. and a second program for performing initial settings for operating the interface.

ここで、第1プログラムにより初期設定の対象となるインターフェースには、第2プログラムにより初期設定の対象とならないインターフェースが含まれる。一つの例として、第1プログラムにより初期設定の対象となるインターフェースが第1~第4インターフェース14a~14d(つまり、全てのインターフェース)であり、第2プログラムにより初期設定の対象となるインターフェースが第2インターフェース14b及び第3インターフェース14cであるというケースが考えられる。この場合、第1プログラムにより初期設定の対象となるインターフェースには、第2プログラムにより初期設定の対象とならないインターフェース(つまり、第1インターフェース14a及び第4インターフェース14d)が含まれる。 Here, interfaces to be initialized by the first program include interfaces not to be initialized by the second program. As an example, the interfaces to be initialized by the first program are the first to fourth interfaces 14a to 14d (that is, all interfaces), and the interface to be initialized by the second program is the second interface. A possible case is the interface 14b and the third interface 14c. In this case, interfaces to be initialized by the first program include interfaces not to be initialized by the second program (that is, the first interface 14a and the fourth interface 14d).

ただし、本願では、ICチップ1の製造工程(例えば、ICチップ1の発行時)では高速なインターフェースを使用する一方、市場におけるサービス(例えば、ICチップ1の運用時)ではセキュリティを向上させるということを目的の一つとしているので、必ずしも、第1プログラムにより初期設定の対象となるインターフェースが全てのインターフェースでなくてもよい。このため、第1プログラムにより初期設定の対象となるインターフェースが第2インターフェース14bであり、第2プログラムにより初期設定の対象となるインターフェースが第1インターフェース14aであるというケースも考えられる。この場合、第1プログラムにより初期設定の対象となるインターフェースには、第2プログラムにより初期設定の対象とならないインターフェース(つまり、第2インターフェース14b)が含まれる。或いは、別の例として、第1プログラムにより初期設定の対象となるインターフェースが第2インターフェース14b及び第4インターフェース14dであり、第2プログラムにより初期設定の対象となるインターフェースが第1インターフェース14a及び第4インターフェース14dであるというケースも考えられる。この場合も、第1プログラムにより初期設定の対象となるインターフェースには、第2プログラムにより初期設定の対象とならないインターフェース(つまり、第2インターフェース14b)が含まれる。 However, in the present application, while using a high-speed interface in the manufacturing process of the IC chip 1 (for example, when issuing the IC chip 1), security is improved in the service in the market (for example, when operating the IC chip 1). is one of the purposes, the interfaces to be initialized by the first program do not necessarily have to be all the interfaces. Therefore, there may be a case where the interface to be initialized by the first program is the second interface 14b and the interface to be initialized by the second program is the first interface 14a. In this case, the interfaces to be initialized by the first program include an interface not to be initialized by the second program (that is, the second interface 14b). Alternatively, as another example, the interfaces to be initialized by the first program are the second interface 14b and the fourth interface 14d, and the interfaces to be initialized by the second program are the first interface 14a and the fourth interface 14d. A case of being the interface 14d is also conceivable. In this case as well, the interfaces to be initialized by the first program include the interfaces not to be initialized by the second program (that is, the second interface 14b).

そして、CPU10は、ICチップ1が起動した際に、ICチップ1が特定の状態にあるか否かを判定し、当該判定の結果に基づいて第1プログラムと第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも一部のインターフェースを動作させる初期設定を行う。このように構成しても、複数のインターフェースのうち利用されないインターフェースの不正な利用や意図しない動作を防ぐことができる。 Then, when the IC chip 1 is activated, the CPU 10 determines whether or not the IC chip 1 is in a specific state, and based on the determination result, either the first program or the second program is executed. Selecting a program and initializing at least a portion of the interface to operate according to the selected program. Even with this configuration, it is possible to prevent unauthorized use and unintended operation of unused interfaces among a plurality of interfaces.

[2.ICチップ1の動作]
次に、ICチップ1の動作について、実施例1~実施例3に分けて説明する。
[2. Operation of IC chip 1]
Next, the operation of the IC chip 1 will be described separately for Examples 1 to 3. FIG.

(実施例1)
先ず、図2及び図3を参照して、実施例1におけるICチップ1の動作について説明する。なお、実施例1では、インターフェースの動作可否情報は、許可フラグの形式でNVM13に記憶されているものとする。図2(A),(B)は、実施例1において、NVM13に記憶された内容の一例を示す図である。図3(A)は、実施例1において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートであり、図3(B)は、実施例1において、ICチップ1がインターフェースの動作可否情報を更新するコマンドを受信した際のCPU10の処理例を示すフローチャートである。なお、図3(A),(B)に示す処理は、OS中の初期設定プログラム等にしたがって実行される。
(Example 1)
First, the operation of the IC chip 1 according to the first embodiment will be described with reference to FIGS. 2 and 3. FIG. In addition, in the first embodiment, it is assumed that the interface operability information is stored in the NVM 13 in the form of a permission flag. 2A and 2B are diagrams showing an example of contents stored in the NVM 13 in the first embodiment. FIG. 3A is a flowchart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the first embodiment, and FIG. 4 is a flow chart showing an example of processing of the CPU 10 when a command for updating information is received; The processes shown in FIGS. 3A and 3B are executed according to an initial setting program or the like in the OS.

図2(A)の例では、ISO7816許可フラグF1、SWP許可フラグF2、I2C許可フラグF3、及びSPI許可フラグF4がNVM13の所定領域(例えば、インターフェースの識別子から特定される領域)に記憶されている。ISO7816許可フラグF1は、第1インターフェース14aを動作させるか否かを示すフラグであり、図2(A)の例では、許可を示す“1”になっている。SWP許可フラグF2は、第2インターフェース14bを動作させるか否かを示すフラグであり、図2(A)の例では、不許可を示す“0”になっている。I2C許可フラグF3は、第3インターフェース14cを動作させるか否かを示すフラグであり、図2(A)の例では、不許可を示す“0”になっている。SPI許可フラグF4は、第4インターフェース14dを動作させるか否かを示すフラグであり、図2(A)の例では、不許可を示す“0”になっている。このように、図2(A)の例では、許可フラグは、第1~第4インターフェース14a~14d毎にNVM13に記憶されている。しかし、例えばライフサイクル上動作し続けなければならないインターフェースがある場合、このインターフェースの許可フラグはNVM13には記憶されなくてもよい。図2(B)の例では、SWP許可フラグF2、I2C許可フラグF3、及びSPI許可フラグF4がNVM13の所定領域に記憶されているが、第1インターフェース14aはライフサイクル上動作し続けなければならないインターフェースであるため、そのISO7816許可フラグF1は記憶されていない。 In the example of FIG . 2A, the ISO7816 permission flag F1, the SWP permission flag F2, the I2C permission flag F3, and the SPI permission flag F4 are stored in a predetermined area of the NVM 13 (for example, an area specified by the interface identifier). It is The ISO7816 permission flag F1 is a flag indicating whether or not to operate the first interface 14a, and is "1" indicating permission in the example of FIG. 2(A). The SWP permission flag F2 is a flag indicating whether or not to operate the second interface 14b, and is set to "0" indicating non-permission in the example of FIG. 2(A). The I2C permission flag F3 is a flag indicating whether or not to operate the third interface 14c, and is set to "0" indicating non-permission in the example of FIG. 2(A). The SPI permission flag F4 is a flag indicating whether or not to operate the fourth interface 14d, and is "0" indicating disapproval in the example of FIG. 2(A). Thus, in the example of FIG. 2A, permission flags are stored in the NVM 13 for each of the first to fourth interfaces 14a to 14d. However, if, for example, there is an interface whose life cycle must continue to operate, the permission flag for this interface may not be stored in NVM 13 . In the example of FIG . 2B, the SWP permission flag F2, the I2C permission flag F3, and the SPI permission flag F4 are stored in a predetermined area of the NVM 13, but the first interface 14a must continue to operate during its life cycle. The ISO7816 permission flag F1 is not stored because it is an interface that must be used.

図3(A)に示す処理は、ICチップ1が起動したときに開始される。なお、ICチップ1の起動は、ICチップ1によりリセットが受信されたとき、またはICチップ1に電源が供給されたときになされる。図3(A)に示すステップS1では、CPU10は、第1~第4インターフェース14a~14dのうち、許可フラグが記憶されている1つのインターフェースを選定する。例えば、はじめに、第1インターフェース14aが選定される。なお、許可フラグが記憶されていないインターフェース、つまり、ライフサイクル上動作し続けなければならないインターフェースがある場合、例えばステップS1の直前にそのインターフェース(図2(B)の例では、第1インターフェース14aが該当)の初期化処理が実行される。許可フラグが記憶されないインターフェースについては、初期化処理が必ず行われるようにプログラム中に記述される。 The processing shown in FIG. 3A is started when the IC chip 1 is activated. The IC chip 1 is activated when the IC chip 1 receives a reset signal or when power is supplied to the IC chip 1 . At step S1 shown in FIG. 3A, the CPU 10 selects one of the first to fourth interfaces 14a to 14d for which a permission flag is stored. For example, first, the first interface 14a is selected. Note that if there is an interface for which the permission flag is not stored, that is, an interface that must continue to operate in terms of its life cycle, for example, immediately before step S1, that interface (in the example of FIG. 2B, the first interface 14a is applicable) is executed. Interfaces for which the permission flag is not stored are described in the program so that initialization processing is always performed.

次いで、CPU10は、ステップS1で選定されたインターフェースの許可フラグが「許可」を示すか否かを判定する(ステップS2)。CPU10は、選定されたインターフェースの許可フラグが「許可」を示すと判定した場合(ステップS2:YES)、ステップS1で選定されたインターフェースの初期化処理を実行し(ステップS3)、ステップS5へ進む。この初期化処理において、選定されたインターフェースを動作させる初期設定、例えば、当該インターフェースの通信速度の設定が行われる。なお、この初期化処理において、当該インターフェースに用いられる端子の電位設定(例えば、ハイレベルに設定)が行われる場合もある。 Next, the CPU 10 determines whether or not the permission flag of the interface selected in step S1 indicates "permitted" (step S2). When the CPU 10 determines that the permission flag of the selected interface indicates "permitted" (step S2: YES), the CPU 10 executes initialization processing of the interface selected in step S1 (step S3), and proceeds to step S5. . In this initialization process, initial setting for operating the selected interface, for example, setting of the communication speed of the interface is performed. Note that in this initialization process, the potential of terminals used for the interface may be set (for example, set to a high level).

一方、CPU10は、ステップS1で選定されたインターフェースの許可フラグが「許可」を示さないと判定した場合(ステップS2:NO)、ステップS1で選定されたインターフェースの停止処理を実行し(ステップS4)、ステップS5へ進む。この停止処理において、選定されたインターフェースを動作させない初期設定、例えば、当該インターフェースに用いられる端子への電源供給を切断する設定が行われる。なお、この停止処理において、当該インターフェースに用いられる端子の電位設定(例えば、ローレベルに設定)が行われる場合もある。或いは、CPU10は、選定されたインターフェースの許可フラグが「許可」を示さないと判定した場合(ステップS2:NO)、停止処理を行わずに(つまり、ステップS4へ進まず)、ステップS5へ進むように構成してもよい。 On the other hand, when the CPU 10 determines that the permission flag of the interface selected in step S1 does not indicate "permitted" (step S2: NO), the CPU 10 executes stop processing of the interface selected in step S1 (step S4). , go to step S5. In this stop processing, initial setting for not operating the selected interface, for example, setting for cutting off the power supply to the terminal used for the interface is performed. It should be noted that in this stop processing, the potential of the terminal used for the interface may be set (for example, set to low level). Alternatively, when the CPU 10 determines that the permission flag of the selected interface does not indicate "permitted" (step S2: NO), the CPU 10 proceeds to step S5 without performing the stop processing (that is, without proceeding to step S4). It may be configured as

ステップS5では、CPU10は、許可フラグが記憶されているインターフェースのうち、ステップS1でまだ選定されていないインターフェースがあるか否かを判定する。CPU10は、まだ選定されていないインターフェースがあると判定した場合(ステップS5:YES)、ステップS1に戻り、まだ選定されていないインターフェースを選定する。そして、CPU10は、選定したインターフェースについてステップS2以降の処理を行う。このように、CPU10は、ICチップ1が起動した際に、インターフェース毎に記憶された許可フラグに基づいて、インターフェース毎に動作させるか否かを判定し、動作させると判定された(つまり、許可フラグは“1である)インターフェースを動作させる初期設定を行うことになる。 In step S5, the CPU 10 determines whether or not there is an interface that has not been selected in step S1 among the interfaces for which permission flags are stored. When the CPU 10 determines that there is an interface that has not yet been selected (step S5: YES), the process returns to step S1 and selects an interface that has not yet been selected. Then, the CPU 10 performs the processes after step S2 for the selected interface. In this way, when the IC chip 1 is activated, the CPU 10 determines whether or not to operate each interface based on the permission flag stored for each interface. flag is "1") to initialize the interface to operate.

一方、CPU10は、まだ選定されていないインターフェースがないと判定した場合(ステップS5:NO)、図3(A)に示す処理を終了する。ここで、リセット受信によりICチップ1が起動して図3(A)に示す処理が開始されたケースでは、このリセットに対する初期応答(ATR(Answer to Reset))が外部装置へ送信された後に、図3(A)に示す処理が終了し、その後、外部装置からのコマンドの待ち状態となる(実施例2及び3も同様)。一方、電源供給によりICチップ1が起動して図3(A)に示す処理が開始されたケースでは、図3(A)に示す処理が終了された後、外部装置からのリセット待ち状態になる(実施例2及び3も同様)。 On the other hand, when the CPU 10 determines that there is no interface that has not been selected yet (step S5: NO), the process shown in FIG. 3(A) ends. Here, in a case where the IC chip 1 is activated by receiving a reset and the processing shown in FIG. After the process shown in FIG. 3A is completed, the system waits for a command from an external device (the same applies to the second and third embodiments). On the other hand, in the case where the IC chip 1 is activated by power supply and the processing shown in FIG. 3A is started, after the processing shown in FIG. (The same applies to Examples 2 and 3).

なお、インターフェースの動作可否情報は許可リストの形式でNVM13に記憶されてもよく、この場合、許可リストには、動作させるインターフェースの識別子が登録される。そして、CPU10は、ICチップ1が起動した際に、記憶された許可リストに基づいて、第1~第4インターフェース14a~14dのうち一部(つまり、許可リストに識別子が登録された)のインターフェースを動作させる初期設定を行うことになる。或いは、インターフェースの動作可否情報は不許可リストの形式でNVM13に記憶されてもよく、この場合、不許可リストには、動作させないインターフェースの識別子が登録される。そして、CPU10は、ICチップ1が起動した際に、記憶された不許可リストに基づいて、第1~第4インターフェース14a~14dのうち一部(つまり、不許可リストに識別子が登録されていない)のインターフェースを動作させる初期設定を行うことになる。 The interface operability information may be stored in the NVM 13 in the form of a permission list. In this case, identifiers of interfaces to be operated are registered in the permission list. Then, when the IC chip 1 is activated, the CPU 10 selects a part of the first to fourth interfaces 14a to 14d (that is, the identifiers are registered in the permission list) based on the stored permission list. You will need to make initial settings to operate the Alternatively, the interface operability information may be stored in the NVM 13 in the form of a disapproval list. In this case, identifiers of interfaces that are not to be operated are registered in the disapproval list. Then, when the IC chip 1 is activated, the CPU 10 selects some of the first to fourth interfaces 14a to 14d (that is, interfaces whose identifiers are not registered in the non-permission list) based on the stored non-permission list. ) to operate the interface.

次に、図3(B)に示す処理は、外部装置から動作状態にある何れかのインターフェースを介して、インターフェースの動作可否情報を更新するコマンドを受信したときに開始される。このコマンドは、例えば、APDU(Application Protocol Data Unit)により構成されており、APDUは、例えば、CLA、INS、P1及びP2を含むヘッダと、Lc及びDataを含むボディとから構成される。ここで、CLAはコマンドクラス(命令クラス)を示し、INSはコマンドコード(命令コード)を示し、P1及びP2はコマンドパラメータ(命令パラメータ)を示す。LcはDataの長さを示し、Dataはインターフェースの動作可否情報の更新データを示す。 Next, the processing shown in FIG. 3B is started when a command to update the operability information of the interface is received from an external device via any interface in the operating state. This command is composed of, for example, an APDU (Application Protocol Data Unit), and the APDU is composed of, for example, a header including CLA, INS, P1 and P2, and a body including Lc and Data. Here, CLA indicates a command class (instruction class), INS indicates a command code (instruction code), and P1 and P2 indicate command parameters (instruction parameters). Lc indicates the length of Data, and Data indicates updated data of the interface operability information.

図3(B)に示すステップS6では、CPU10は、受信されたコマンドに含まれる更新データに基づいて、NVM13に記憶されている許可フラグを特定する。例えば、更新データに、インターフェースの識別子が含まれる場合、CPU10は、更新データで示される識別子からNVM13上の許可フラグを特定する。なお、更新データには、全てのインターフェースに対応する更新後の許可フラグが予め定められた順序で含まれてもよく、この場合、CPU10は、NVM13上の各許可フラグを特定する。 At step S6 shown in FIG. 3B, the CPU 10 identifies the permission flag stored in the NVM 13 based on the update data included in the received command. For example, if the update data includes an interface identifier, the CPU 10 identifies the permission flag on the NVM 13 from the identifier indicated by the update data. Note that the update data may include updated permission flags corresponding to all interfaces in a predetermined order. In this case, the CPU 10 identifies each permission flag on the NVM 13 .

次いで、CPU10は、ステップS6で特定された許可フラグ(つまり、NVM13に記憶されている許可フラグ)を更新(例えば、“1”を“0”に書き換え)する(ステップS7)。なお、インターフェースの動作可否情報が許可リストの形式で記憶される場合、更新データには、例えば、更新後の許可リストが含まれる。この場合、CPU10は、受信されたコマンドに含まれる更新データで示される許可リストに基づいて、NVM13上の許可リストを更新する(更新データで示される許可リストで上書き)。次いで、CPU10は、上記コマンドに対するレスポンス(例えば、正常終了を示すステータスワードを含む)を外部装置へ送信し(ステップS8)、図3(B)に示す処理を終了する。 Next, the CPU 10 updates the permission flag specified in step S6 (that is, the permission flag stored in the NVM 13) (for example, rewrites "1" to "0") (step S7). Note that when the interface operability information is stored in the form of a permission list, the update data includes, for example, the permission list after the update. In this case, the CPU 10 updates the permission list on the NVM 13 based on the permission list indicated by the update data included in the received command (overwrites the permission list indicated by the update data). Next, the CPU 10 transmits a response to the command (including, for example, a status word indicating normal termination) to the external device (step S8), and terminates the processing shown in FIG. 3B.

以上説明したように、実施例1によれば、インターフェース毎に動作可否情報をNVM13に記憶させておき、ICチップ1が起動した際に、この動作可否情報に基づいて、インターフェース毎に動作させるか否かを設定できるように構成したので、例えば製造工程では利用される(例えば、スピード面で利用価値が高い、或いは製造設備により利用せざるを得ない)が市場におけるサービスでは利用されないインターフェースの不正な利用や意図しない動作を防ぐことができる。また、ICチップ1を搭載する製品ごとにインターフェースの対応が異なるOSを用意しなくてもよいので、ソフトウェアの流用性を下げず、開発効率も向上することができる。しかも、インターフェースの動作可否情報は、外部装置からのコマンドにより更新できるように構成したので、サービスが開始された後の状況変化に応じてインターフェース毎の動作可否を臨機応変に更新することができる。 As described above, according to the first embodiment, the NVM 13 stores operability information for each interface. Since it is configured to be able to set whether or not, for example, it is used in the manufacturing process (for example, it has a high utility value in terms of speed, or it has to be used depending on the manufacturing equipment), but it is not used in the service in the market. prevent unintended use and unintended operation. In addition, since it is not necessary to prepare an OS having different interface correspondences for each product on which the IC chip 1 is mounted, it is possible to improve development efficiency without lowering the reusability of software. Moreover, since the operability information of the interface is configured to be updated by a command from an external device, the operability of each interface can be flexibly updated in accordance with the change in the situation after the service is started.

(実施例2)
次に、図4及び図5を参照して、実施例2におけるICチップ1の動作について説明する。なお、実施例2では、インターフェースの許可フラグは用いられない。図4は、実施例2において、NVM13に記憶された内容の一例を示す図である。図4の例では、状態管理変数がNVM13の所定領域に記憶されている。また、NVM13に記憶される初期設定プログラムには、全てのインターフェースを動作させる初期設定を行うための第1プログラムと、一部のインターフェースを動作させるための初期設定を行うための第2プログラムとが含まれている。図5は、実施例2において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートである。なお、図5に示す処理は、OS中の初期設定プログラム等にしたがって実行される。
(Example 2)
Next, the operation of the IC chip 1 according to the second embodiment will be described with reference to FIGS. 4 and 5. FIG. Note that, in the second embodiment, the permission flag of the interface is not used. FIG. 4 is a diagram showing an example of contents stored in the NVM 13 in the second embodiment. In the example of FIG. 4, the state management variables are stored in a predetermined area of NVM13. The initial setting programs stored in the NVM 13 include a first program for performing initial settings for operating all interfaces and a second program for performing initial settings for operating some interfaces. include. FIG. 5 is a flow chart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the second embodiment. Note that the processing shown in FIG. 5 is executed according to an initial setting program or the like in the OS.

図5に示す処理は、ICチップ1が起動したときに開始される。図5に示すステップS11では、CPU10は、NVM13に記憶された状態管理変数を参照して、ICチップ1が特定の状態にあるか否かを判定する。例えば、状態管理変数が製造完了状態を示す値であれば、ICチップ1が特定の状態(例えば、製造完了状態)にあると判定される。CPU10は、ICチップ1が特定の状態にないと判定した場合(ステップS11:NO)、第1プログラムを選択(言い換えれば、第1プログラムの記憶開始アドレスを選択)し、選択した第1プログラム(言い換えれば、記憶開始アドレスからの第1プログラム)にしたがって、第1~第4インターフェース14a~14d(つまり、全てのインターフェース)の初期化処理を実行し(ステップS12)、図5に示す処理を終了する。この初期化処理の内容は実施例1と同様である。 The processing shown in FIG. 5 is started when the IC chip 1 is activated. At step S11 shown in FIG. 5, the CPU 10 refers to the state management variables stored in the NVM 13 to determine whether the IC chip 1 is in a specific state. For example, if the state management variable is a value indicating the manufacturing completed state, it is determined that the IC chip 1 is in a specific state (for example, manufacturing completed state). When the CPU 10 determines that the IC chip 1 is not in the specific state (step S11: NO), the CPU 10 selects the first program (in other words, selects the storage start address of the first program), and selects the first program ( In other words, the first to fourth interfaces 14a to 14d (that is, all interfaces) are initialized according to the first program from the storage start address (step S12), and the process shown in FIG. 5 is terminated. do. The contents of this initialization process are the same as in the first embodiment.

一方、CPU10は、ICチップ1が特定の状態にあると判定した場合(ステップS11:YES)、第2プログラムを選択し、選択した第2プログラムにしたがって、第1~第4インターフェース14a~14dのうち特定のインターフェース(つまり、一部のインターフェース)の初期化処理を実行し(ステップS13)、図5に示す処理を終了する。初期化処理の対象となる特定のインターフェースとして、例えば第2インターフェース14b及び第3インターフェース14cの識別子が第2プログラム中に記述される。なお、初期化処理の対象とならないインターフェースについては、実施例1と同様、停止処理が実行されるか、或いは何の処理も行われない。 On the other hand, when the CPU 10 determines that the IC chip 1 is in the specific state (step S11: YES), the CPU 10 selects the second program, and according to the selected second program, controls the first to fourth interfaces 14a to 14d. A specific interface (that is, a part of the interface) is initialized (step S13), and the process shown in FIG. 5 is terminated. Identifiers of, for example, the second interface 14b and the third interface 14c are described in the second program as specific interfaces to be initialized. It should be noted that, as in the first embodiment, interfaces that are not subject to the initialization process are either stopped or are not processed at all.

以上説明したように、実施例2によれば、全てのインターフェースを動作させる初期設定を行うための第1プログラムと、一部のインターフェースを動作させるための初期設定を行うための第2プログラムとを予めROM11またはNVM13記憶させておき、ICチップ1が起動した際に、ICチップ1の状態(例えば、製造完了状態、またはサービス投入状態)に基づいて選択されたプログラム(第1プログラム、または第2プログラム)にしたがってインターフェース毎に動作させるか否かを設定できるように構成したので、例えば製造工程では利用される(例えば、スピード面で利用価値が高い、或いは製造設備により利用せざるを得ない)が市場におけるサービスでは利用されないインターフェースの不正な利用や意図しない動作を防ぐことができる。また、ICチップ1を搭載する製品ごとにインターフェースの対応が異なるOSを用意しなくてもよいので、ソフトウェアの流用性を下げず、開発効率も向上することができる。しかも、NVM13に記憶される状態管理変数に基づいて第1プログラムまたは第2プログラムを選択できるように構成したので、何れか一方の初期設定をより効率良く実施することができる。なお、実施例2では、第1プログラムにより初期設定の対象となるインターフェースの例として、第1~第4インターフェース14a~14d(つまり、全てのインターフェース)としたが、第1プログラムにより初期設定の対象となるインターフェースは、第1~第4インターフェース14a~14dのうちの一部のインターフェースとしてもよい(つまり、全てのインターフェースでなくてもよい)。 As described above, according to the second embodiment, the first program for performing initial settings for operating all interfaces and the second program for performing initial settings for operating some interfaces are provided. A program (a first program or a second Since it is possible to set whether or not to operate each interface according to the program), it is used in the manufacturing process (for example, it has high utility value in terms of speed, or it has to be used depending on the manufacturing equipment) can prevent unauthorized use and unintended operation of interfaces that are not used in services on the market. In addition, since it is not necessary to prepare an OS having different interface correspondences for each product on which the IC chip 1 is mounted, it is possible to improve development efficiency without lowering the reusability of software. Moreover, since the configuration is such that the first program or the second program can be selected based on the state management variables stored in the NVM 13, the initialization of either one can be performed more efficiently. In the second embodiment, the first to fourth interfaces 14a to 14d (that is, all interfaces) are used as examples of interfaces to be initialized by the first program. The interface may be a part of the first to fourth interfaces 14a to 14d (that is, it may not be all of the interfaces).

(実施例3)
次に、図6及び図7を参照して、実施例3におけるICチップ1の動作について説明する。なお、実施例3では、インターフェースの動作可否情報は、許可フラグの形式でNVM13に記憶されているものとする。図6(A),(B)は、実施例3において、NVM13に記憶された内容の一例を示す図である。図6(A)の例では、状態管理変数、ISO7816許可フラグF1、SWP許可フラグF2、I2C許可フラグF3、及びSPI許可フラグF4がNVM13の所定領域に記憶されている。一方、図6(B)の例では、状態管理変数、SWP許可フラグF2、I2C許可フラグF3、及びSPI許可フラグF4がNVM13の所定領域に記憶されている。図7(A)は、実施例3において、ICチップ1が起動した際のCPU10の処理例を示すフローチャートであり、図7(B)は、実施例3において、ICチップ1がインターフェースの動作可否情報を更新するコマンドを受信した際のCPU10の処理例を示すフローチャートである。なお、図7(A),(B)に示す処理は、OS中の初期設定プログラム等にしたがって実行される。図7(B)に示す処理(ステップS31~S33)は、図3(B)に示す処理(ステップS6~S8)と同様であるので、重複する説明を省略する。
(Example 3)
Next, the operation of the IC chip 1 according to the third embodiment will be described with reference to FIGS. 6 and 7. FIG. In addition, in the third embodiment, it is assumed that interface operability information is stored in the NVM 13 in the form of a permission flag. 6A and 6B are diagrams showing an example of contents stored in the NVM 13 in the third embodiment. In the example of FIG . 6A, state management variables, ISO7816 permission flag F1, SWP permission flag F2, I2C permission flag F3, and SPI permission flag F4 are stored in a predetermined area of NVM13. On the other hand, in the example of FIG . 6B, the state management variables, the SWP permission flag F2, the I2C permission flag F3, and the SPI permission flag F4 are stored in a predetermined area of the NVM13. FIG. 7A is a flow chart showing an example of processing of the CPU 10 when the IC chip 1 is activated in the third embodiment, and FIG. 4 is a flow chart showing an example of processing of the CPU 10 when a command for updating information is received; The processes shown in FIGS. 7A and 7B are executed according to an initial setting program or the like in the OS. The processing (steps S31 to S33) shown in FIG. 7B is the same as the processing (steps S6 to S8) shown in FIG. 3B, so redundant description will be omitted.

図7(A)に示す処理は、ICチップ1が起動したときに開始される。図7(A)に示すステップS21では、CPU10は、NVM13に記憶された状態管理変数を参照して、ICチップ1が特定の状態にあるか否かを判定する。例えば、状態管理変数がサービス投入状態を示す値であれば、ICチップ1が特定の状態(例えば、サービス投入状態)にあると判定される。CPU10は、ICチップ1が特定の状態にないと判定した場合(ステップS21:NO)、第1~第4インターフェース14a~14dの初期化処理を実行し(ステップS22)、図7(A)に示す処理を終了する。 The processing shown in FIG. 7A is started when the IC chip 1 is activated. At step S21 shown in FIG. 7A, the CPU 10 refers to the state management variables stored in the NVM 13 to determine whether the IC chip 1 is in a specific state. For example, if the state management variable is a value indicating a service-on state, it is determined that the IC chip 1 is in a specific state (eg, service-on state). When the CPU 10 determines that the IC chip 1 is not in the specific state (step S21: NO), the CPU 10 executes initialization processing of the first to fourth interfaces 14a to 14d (step S22). Terminate the indicated process.

一方、CPU10は、ICチップ1が特定の状態にあると判定した場合(ステップS21:YES)、第1~第4インターフェース14a~14dのうち、許可フラグが記憶されている1つのインターフェースを選定する(ステップS23)。なお、許可フラグが記憶されていないインターフェースがある場合、例えばステップS23の直前にそのインターフェース(図6(B)の例では、第1インターフェース14aが該当)の初期化処理が実行される。 On the other hand, when the CPU 10 determines that the IC chip 1 is in a specific state (step S21: YES), it selects one interface for which a permission flag is stored, from among the first to fourth interfaces 14a to 14d. (Step S23). If there is an interface for which the permission flag is not stored, for example, the initialization process for that interface (the first interface 14a in the example of FIG. 6B) is executed immediately before step S23.

次いで、CPU10は、ステップS23で選定されたインターフェースの許可フラグが「許可」を示すか否かを判定する(ステップS24)。CPU10は、選定されたインターフェースの許可フラグが「許可」を示すと判定した場合(ステップS24:YES)、ステップS23で選定されたインターフェースの初期化処理を実行し(ステップS25)、ステップS27へ進む。この初期化処理の内容は実施例1と同様である。 Next, the CPU 10 determines whether or not the permission flag of the interface selected in step S23 indicates "permitted" (step S24). When the CPU 10 determines that the permission flag of the selected interface indicates "permitted" (step S24: YES), the CPU 10 executes initialization processing of the interface selected in step S23 (step S25), and proceeds to step S27. . The contents of this initialization process are the same as in the first embodiment.

一方、CPU10は、ステップS23で選定されたインターフェースの許可フラグが「許可」を示さないと判定した場合(ステップS24:NO)、ステップS23で選定されたインターフェースの停止処理を実行し(ステップS26)、ステップS27へ進む。この停止処理の内容は実施例1と同様である。なお、実施例1と同様、選定されたインターフェースの許可フラグが「許可」を示さないと判定された場合、停止処理を行わずに、ステップS27へ進むように構成してもよい。 On the other hand, when the CPU 10 determines that the permission flag of the interface selected in step S23 does not indicate "permitted" (step S24: NO), the CPU 10 executes stop processing of the interface selected in step S23 (step S26). , the process proceeds to step S27. The contents of this stop processing are the same as in the first embodiment. As in the first embodiment, if it is determined that the permission flag of the selected interface does not indicate "permitted", the processing may proceed to step S27 without performing the stop processing.

ステップS27では、CPU10は、許可フラグが記憶されているインターフェースのうち、ステップS23でまだ選定されていないインターフェースがあるか否かを判定する。CPU10は、まだ選定されていないインターフェースがあると判定した場合(ステップS27:YES)、ステップS23に戻り、まだ選定されていないインターフェースを選定する。そして、CPU10は、選定したインターフェースについてステップS24以降の処理を行う。一方、CPU10は、まだ選定されていないインターフェースがないと判定した場合(ステップS27:NO)、図7(A)に示す処理を終了する。 In step S27, the CPU 10 determines whether or not there is an interface that has not been selected in step S23 among the interfaces for which permission flags are stored. When the CPU 10 determines that there is an interface that has not yet been selected (step S27: YES), the process returns to step S23 to select an interface that has not yet been selected. Then, the CPU 10 performs the processes after step S24 for the selected interface. On the other hand, when the CPU 10 determines that there is no interface that has not been selected yet (step S27: NO), it ends the processing shown in FIG. 7A.

以上説明したように、実施例3によれば、ICチップ1の状態(例えば、製造完了状態、またはサービス投入状態)に応じて、インターフェースの動作可否情報を参照する初期設定を行うか否かが決まるので、例えば製造完了状態、またはサービス投入状態になる前などにインターフェースの動作可否情報を参照する初期設定が実施されることを回避でき、その結果、より効率良くインターフェースを動作させる初期設定を実施することができる。 As described above, according to the third embodiment, whether or not to perform initial setting referring to interface operability information is determined according to the state of the IC chip 1 (for example, manufacturing completed state or service input state). Therefore, it is possible to avoid the initial setting referring to the operability information of the interface, for example, before entering the manufacturing completion state or the service input state, and as a result, perform the initial setting to operate the interface more efficiently. can do.

1 ICチップ
10 CPU
11 ROM
12 RAM
13 NVM
14a~14d 第1~第4インターフェース
1 IC chip 10 CPU
11 ROMs
12 RAMs
13 NVM
14a to 14d 1st to 4th interfaces

Claims (11)

複数のインターフェースを備える電子情報記憶媒体であって、
前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶する記憶手段と、
前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行う設定手段と、
を備え、
前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする電子情報記憶媒体。
An electronic information storage medium comprising a plurality of interfaces,
a first program for performing initial settings for operating one or more of the plurality of interfaces; a second program for performing initial settings for operating some of the plurality of interfaces; a storage means for storing
When the electronic information storage medium is activated, it is determined whether or not the electronic information storage medium is in a specific state, and one of the first program and the second program is selected based on the result of the determination. setting means for selecting a program of and performing initial setting for operating at least the part of the interface according to the selected program;
with
An electronic information storage medium, wherein the interface to be initialized by the first program includes an interface not to be initialized by the second program.
複数のインターフェースを備える電子情報記憶媒体であって、
前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶する記憶手段と、
前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行う設定手段と、
を備えることを特徴とする電子情報記憶媒体。
An electronic information storage medium comprising a plurality of interfaces,
storage means for storing operability information indicating whether or not to operate at least one interface among the plurality of interfaces;
setting means for performing initial setting for operating a part of the interface based on the operability information when the electronic information storage medium is activated;
An electronic information storage medium comprising:
前記設定手段は、前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該電子情報記憶媒体が当該特定の状態にあると判定した場合に、前記動作可否情報に基づいて前記一部のインターフェースを動作させる初期設定を行うことを特徴とする請求項2に記載の電子情報記憶媒体。 The setting means determines whether or not the electronic information storage medium is in a specific state when the electronic information storage medium is activated, and if it is determined that the electronic information storage medium is in the specific state 3. The electronic information storage medium according to claim 2, wherein an initial setting for operating said part of the interfaces is performed based on said operation propriety information. 前記動作可否情報は、前記複数のインターフェース毎に前記記憶手段に記憶されており、
前記設定手段は、前記インターフェース毎に記憶された前記動作可否情報に基づいて前記インターフェース毎に動作させるか否かを判定し、動作させると判定されたインターフェースを動作させる初期設定を行うことを特徴とする請求項2または3に記載の電子情報記憶媒体。
the operability information is stored in the storage means for each of the plurality of interfaces;
The setting means determines whether or not to operate each interface based on the operability information stored for each interface, and performs initial setting to operate the interface determined to be operated. 4. The electronic information storage medium according to claim 2 or 3.
外部装置から動作状態にある何れかの前記インターフェースを介して前記動作可否情報を更新するコマンドが受信された場合、前記記憶手段に記憶されている前記動作可否情報を更新する更新手段を更に備えることを特徴とする請求項2乃至4の何れか一項に記載の電子情報記憶媒体。 further comprising update means for updating the operability information stored in the storage means when a command for updating the operability information is received from an external device via any of the interfaces in an operating state. 5. The electronic information storage medium according to any one of claims 2 to 4, characterized by: 複数のインターフェースを備えるICチップであって、
前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶する記憶手段と、
前記ICチップが起動した際に、当該ICチップが特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行う設定手段と、
を備え、
前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とするICチップ。
An IC chip comprising a plurality of interfaces,
a first program for performing initial settings for operating one or more of the plurality of interfaces; a second program for performing initial settings for operating some of the plurality of interfaces; a storage means for storing
When the IC chip is activated, it is determined whether or not the IC chip is in a specific state, and one of the first program and the second program is selected based on the result of the determination. and setting means for performing initial setting for operating at least the part of the interface according to the selected program;
with
An IC chip, wherein the interfaces to be initialized by the first program include interfaces not to be initialized by the second program.
複数のインターフェースを備えるICチップであって、
前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶する記憶手段と、
前記ICチップが起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行う設定手段と、
を備えることを特徴とするICチップ。
An IC chip comprising a plurality of interfaces,
storage means for storing operability information indicating whether or not to operate at least one interface among the plurality of interfaces;
setting means for performing initial setting for operating a part of the interface based on the operability information when the IC chip is activated;
An IC chip comprising:
複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータにより実行される初期設定方法であって、
前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶するステップと、
前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行うステップと、
を含み、
前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする初期設定方法。
An initialization method executed by a computer contained in an electronic information storage medium having multiple interfaces, comprising:
a first program for performing initial settings for operating one or more of the plurality of interfaces; a second program for performing initial settings for operating some of the plurality of interfaces; and storing
When the electronic information storage medium is activated, it is determined whether or not the electronic information storage medium is in a specific state, and one of the first program and the second program is selected based on the result of the determination. selecting a program for and initializing at least the portion of the interface to operate according to the selected program;
including
The initial setting method, wherein the interfaces to be initialized by the first program include interfaces not to be initialized by the second program.
複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータにより実行される初期設定方法であって、
前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶するステップと、
前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行うステップと、
を含むことを特徴とする初期設定方法。
An initialization method executed by a computer contained in an electronic information storage medium having multiple interfaces, comprising:
storing operability information indicating whether or not to operate at least one interface among the plurality of interfaces;
performing initial setting for operating a part of the interface based on the operability information when the electronic information storage medium is activated;
An initial setting method, comprising:
複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータに、
前記複数のインターフェースのうち1以上のインターフェースを動作させる初期設定を行うための第1プログラムと、前記複数のインターフェースのうち一部のインターフェースを動作させるための初期設定を行うための第2プログラムと、を記憶するステップと、
前記電子情報記憶媒体が起動した際に、当該電子情報記憶媒体が特定の状態にあるか否かを判定し、当該判定の結果に基づいて前記第1プログラムと前記第2プログラムとの何れか一方のプログラムを選択し、選択したプログラムにしたがって少なくとも前記一部のインターフェースを動作させる初期設定を行うステップと、
を実行させる初期設定プログラムであって、
前記第1プログラムにより前記初期設定の対象となるインターフェースには、前記第2プログラムにより前記初期設定の対象とならないインターフェースが含まれることを特徴とする初期設定プログラム。
A computer contained in an electronic information storage medium having multiple interfaces,
a first program for performing initial settings for operating one or more of the plurality of interfaces; a second program for performing initial settings for operating some of the plurality of interfaces; and storing
When the electronic information storage medium is activated, it is determined whether or not the electronic information storage medium is in a specific state, and one of the first program and the second program is selected based on the result of the determination. selecting a program for and initializing at least the portion of the interface to operate according to the selected program;
An initialization program that causes the execution of
The initial setting program, wherein the interfaces to be initialized by the first program include interfaces not to be initialized by the second program.
複数のインターフェースを備える電子情報記憶媒体に含まれるコンピュータに、
前記複数のインターフェースのうち少なくとも1つのインターフェースを動作させるか否かを示す動作可否情報を記憶するステップと、
前記電子情報記憶媒体が起動した際に、前記動作可否情報に基づいて一部の前記インターフェースを動作させる初期設定を行うステップと、
を実行させることを特徴とする初期設定プログラム。
A computer contained in an electronic information storage medium having multiple interfaces,
storing operability information indicating whether or not to operate at least one interface among the plurality of interfaces;
performing initial setting for operating a part of the interface based on the operability information when the electronic information storage medium is activated;
An initial setting program characterized by executing
JP2019008799A 2018-02-06 2019-01-22 Electronic information storage medium, IC chip, initial setting method, and initial setting program Active JP7206942B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018019152 2018-02-06
JP2018019152 2018-02-06

Publications (2)

Publication Number Publication Date
JP2019139760A JP2019139760A (en) 2019-08-22
JP7206942B2 true JP7206942B2 (en) 2023-01-18

Family

ID=67694200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019008799A Active JP7206942B2 (en) 2018-02-06 2019-01-22 Electronic information storage medium, IC chip, initial setting method, and initial setting program

Country Status (1)

Country Link
JP (1) JP7206942B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101433A (en) 2001-09-20 2003-04-04 Canon Inc Storage device, information processor, information processing system, radio communication function control method and storage medium
JP2008059419A (en) 2006-09-01 2008-03-13 Nec Infrontia Corp Barcode scanner, setting method, its program, and program recording medium
JP2008123203A (en) 2006-11-10 2008-05-29 Toshiba Corp Portable electronic device and method for controlling portable electronic device
JP2012093856A (en) 2010-10-25 2012-05-17 Dainippon Printing Co Ltd Ic chip, initialization method in ic chip, processing program for ic chip and portable terminal
US20140289465A1 (en) 2013-03-21 2014-09-25 Kabushiki Kaisha Toshiba Smart card, portable electronic device and smart card processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101433A (en) 2001-09-20 2003-04-04 Canon Inc Storage device, information processor, information processing system, radio communication function control method and storage medium
JP2008059419A (en) 2006-09-01 2008-03-13 Nec Infrontia Corp Barcode scanner, setting method, its program, and program recording medium
JP2008123203A (en) 2006-11-10 2008-05-29 Toshiba Corp Portable electronic device and method for controlling portable electronic device
JP2012093856A (en) 2010-10-25 2012-05-17 Dainippon Printing Co Ltd Ic chip, initialization method in ic chip, processing program for ic chip and portable terminal
US20140289465A1 (en) 2013-03-21 2014-09-25 Kabushiki Kaisha Toshiba Smart card, portable electronic device and smart card processing device

Also Published As

Publication number Publication date
JP2019139760A (en) 2019-08-22

Similar Documents

Publication Publication Date Title
JP4898784B2 (en) Smart card power management
US9183400B2 (en) IC card and IC card control method
JP7206942B2 (en) Electronic information storage medium, IC chip, initial setting method, and initial setting program
JP4742469B2 (en) IC card, IC card processing apparatus and processing method using a plurality of OSs
JP5085254B2 (en) Portable electronic device, IC card, and command processing method in portable electronic device
JP2007087120A (en) Ic card mounted with multiple os (operating system) and issue consignment method
EP3023925B1 (en) Secure element with applications
CN112347482A (en) System-level chip SOC starting method and device, SOC and storage medium
US20030136829A1 (en) IC card terminal
WO2008104601A2 (en) Method of managing command execution in an electronic token
JP7005934B2 (en) Electronic information storage medium, IC card, data transmission method, data writing method, data transmission program and data writing program
JP2006293706A (en) Multi-application ic card with application updating function
JP7439798B2 (en) Electronic information storage medium, application selection processing method, and program
JP7533142B2 (en) Electronic information storage medium, initialization sequence execution method, and program
JP7420179B1 (en) Electronic information storage medium, IC card, issuance processing method, and program
JP7439847B2 (en) Electronic information storage medium, key data setting method, and program
JP6859997B2 (en) Information processing equipment, IC chips, information processing methods, and programs
JP7468757B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, RESPONSE TRANSMISSION METHOD, AND PROGRAM
JP5932588B2 (en) IC card, portable electronic device, and IC card processing device
JP7010084B2 (en) Token device used for IC payment
JP4549731B2 (en) Multi-application IC card with command code that is commonly used by applications
KR100615890B1 (en) Method for patching smart card operating system
JP4641157B2 (en) Multi-application IC card and application program
JP2022025986A (en) Electronic information storage medium, program addition method, and program
JP6039036B2 (en) IC card, portable electronic device, and control method of IC card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221026

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: 20221206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221219

R150 Certificate of patent or registration of utility model

Ref document number: 7206942

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150