JP5516323B2 - IC chip, IC chip initialization method, IC chip processing program, portable terminal - Google Patents
IC chip, IC chip initialization method, IC chip processing program, portable terminal Download PDFInfo
- Publication number
- JP5516323B2 JP5516323B2 JP2010239052A JP2010239052A JP5516323B2 JP 5516323 B2 JP5516323 B2 JP 5516323B2 JP 2010239052 A JP2010239052 A JP 2010239052A JP 2010239052 A JP2010239052 A JP 2010239052A JP 5516323 B2 JP5516323 B2 JP 5516323B2
- Authority
- JP
- Japan
- Prior art keywords
- interface
- self
- diagnosis
- chip
- abnormality
- 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
Links
Images
Description
本発明は、複数のインターフェースを備えるICチップ等における処理技術に関する。 The present invention relates to a processing technique in an IC chip or the like having a plurality of interfaces.
近年、接触型IC(Integrated Circuit)チップが搭載されたUIM(User Identity Module)が設けられた携帯端末が普及している。このような携帯端末は、更に非接触型ICチップとしてのCLF(Contact Less Front-end)を搭載し、当該CLFを、UIMが備える既存のインターフェースとは別のインターフェースに接続することで、UIM内で既存のインターフェースで動作する接触アプリケーションに加え、別のインターフェースで動作する非接触アプリケーションを管理する。 In recent years, portable terminals provided with a UIM (User Identity Module) equipped with a contact IC (Integrated Circuit) chip have become widespread. Such a portable terminal is further equipped with a CLF (Contact Less Front-end) as a non-contact type IC chip, and by connecting the CLF to an interface different from the existing interface provided in the UIM, In addition to the contact application that operates on the existing interface, the non-contact application that operates on another interface is managed.
例えば、このような複数のインターフェースを備えるICチップでは起動時に初期化処理を行うが、その一例として、他のインターフェースの起動状態により初期化処理を変更するといった方法が開示されている(例えば、特許文献1参照)。 For example, such an IC chip having a plurality of interfaces performs an initialization process at the time of activation, and as an example, a method is disclosed in which the initialization process is changed depending on the activation state of other interfaces (for example, patents). Reference 1).
特許文献1は、複数のインターフェースを備えたメモリカードのリセット方法であって、複数のインターフェースのうち選択されたインターフェースと関連する機能ブロックをインタラプトするものである。 Patent Document 1 is a method for resetting a memory card having a plurality of interfaces, which interrupts a function block associated with a selected interface among the plurality of interfaces.
しかしながら、一般的に、複数のインターフェースを備えるICカードの初期化処理において、正常に初期化処理が行われるとアンサー・ツウ・リセット(Answer to Reset)と称する初期応答信号を出力するようになっているが、ある1つのインターフェースのシステム領域に異常が検出された場合には、初期応答信号を出力しない。そのために、他のインターフェースが正常に動作する場合であっても、すべてのインターフェースが使用できなくなり、すなわち、例えば、非接触カードとしての機能に異常があるものの、携帯電話機での認証などには何ら問題がない場合に、携帯電話機の機能を利用することができなくなってしまい、このような問題はサービス上避ける必要がある。 However, generally, in an initialization process of an IC card having a plurality of interfaces, an initial response signal called “Answer to Reset” is output when the initialization process is normally performed. However, if an abnormality is detected in the system area of a certain interface, the initial response signal is not output. For this reason, even when other interfaces operate normally, all the interfaces cannot be used. That is, for example, although there is an abnormality in the function as a contactless card, there is no authentication for the mobile phone. If there is no problem, the function of the mobile phone cannot be used, and such a problem must be avoided in service.
そこで、本発明は、このような問題等に鑑みてなされたものであり、初期化処理において1のインターフェースに動作上の問題が発生しても、他のインターフェースを動作させるICチップ等を提供することを目的とする。 Therefore, the present invention has been made in view of such problems and the like, and provides an IC chip or the like that operates another interface even when an operation problem occurs in one interface in the initialization process. For the purpose.
上記課題を解決するために、請求項1に記載のICチップは、複数のインターフェースを備え、各インターフェースが非同期に他の通信端末と通信するために動作するICチップであって、1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段と、自己診断の結果を示す応答信号を出力する出力手段と、を具備し、前記出力手段は、前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とする。 In order to solve the above problem, an IC chip according to claim 1 is an IC chip that includes a plurality of interfaces, and each interface operates to asynchronously communicate with other communication terminals. An initialization / self-diagnosis process execution means for executing an initialization process and a self-diagnosis process for each interface after detecting a start; and an output means for outputting a response signal indicating a result of the self-diagnosis, the output means Is characterized in that, when it is determined that there is an abnormality with respect to another interface as a result of the self-diagnosis, a response signal in which a flag indicating that there is an abnormality in the other interface is set is output.
請求項5に記載のICチップにおける初期化方法は、複数のインターフェースを備え、各インターフェースが非同期に他の通信端末と通信するために動作するICチップにおける初期化方法であって、1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行ステップと、自己診断の結果を示す応答信号を出力する出力ステップと、を具備し、前記出力ステップは、前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とする。
The initialization method for an IC chip according to
請求項6に記載のICチップ用処理プログラムは、複数のインターフェースを備え、各インターフェースが非同期に他の通信端末と通信するために動作するICチップに含まれるコンピュータを、1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段、及び自己診断の結果を示す応答信号を出力し、前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力する出力手段として機能させることを特徴とする。
7. The IC chip processing program according to
請求項7に記載の携帯端末は、複数のインターフェースを備える接触型ICチップと、当該接触型ICチップと第一の前記インターフェースを介して通信可能なコントローラと、当該接触型ICチップと第二の前記インターフェースを介して通信可能な非接触型ICチップと、を備える携帯端末において、前記接触型ICチップは、1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段と、自己診断の結果を示す応答信号を出力する出力手段と、を具備し、前記出力手段は、前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とする。 The portable terminal according to claim 7, a contact IC chip having a plurality of interfaces, a controller capable of communicating with the contact IC chip via the first interface, the contact IC chip, and a second In a portable terminal comprising a non-contact type IC chip capable of communicating via the interface, the contact type IC chip executes initialization processing and self-diagnosis processing of each interface after detecting activation of one interface. Initialization / self-diagnosis processing execution means and output means for outputting a response signal indicating the result of self-diagnosis, and the output means determines that there is an abnormality with respect to another interface as a result of the self-diagnosis. A response signal in which a flag indicating that there is an abnormality in the other interface is set is output. That.
本発明によれば、複数のインターフェースを備えるICチップ等において、一部のインターフェースが故障しても、正常なインターフェースを用いてICチップ等を動作させることができる。 According to the present invention, an IC chip or the like having a plurality of interfaces can be operated using a normal interface even if some of the interfaces fail.
以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、携帯端末に対して本発明を適用した場合の実施の形態である。 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を参照して、本実施形態に係る携帯端末の構成及び機能概要について説明する。 First, with reference to FIG. 1, the configuration and functional overview of the mobile terminal according to the present embodiment will be described.
図1は、本実施形態に係る携帯端末の概要構成例を示すブロック図である。図1に示すように、携帯端末1は、携帯端末1の機能を担うコントローラ11、CLF12、及びUIM13等を備えて構成されている。なお、携帯端末1には、例えば操作キー、ディスプレイ、スピーカ、及び移動体通信部等を備える携帯電話機やPDA等を適用できる。 FIG. 1 is a block diagram illustrating a schematic configuration example of a mobile terminal according to the present embodiment. As illustrated in FIG. 1, the mobile terminal 1 includes a controller 11, a CLF 12, a UIM 13, and the like that perform functions of the mobile terminal 1. For example, a mobile phone, a PDA, or the like including operation keys, a display, a speaker, a mobile communication unit, and the like can be applied to the mobile terminal 1.
コントローラ11は、図示しないが、CPU(Central Processing Unit)、各種プログラム及びデータを記憶する不揮発性メモリ(例えばフラッシュメモリ等)、データを一時記憶するRAM、UIM13との間のインターフェースを担うI/Oポート等を備えている。コントローラ11は、UIM13との間で第1のインターフェースを介して通信可能になっている。そして、コントローラ11は、携帯端末1の通信(移動体通信網やインターネットを介して行われる通信)処理や携帯端末1のユーザからの操作キーを介した操作指示に応じて各種処理を実行する。このような処理の中で、コントローラ11は、例えば、暗号化処理や認証処理等に係るコマンド信号を第1のインターフェースを介してUIM13へ送信する。また、コントローラ11は、例えば、起動時、又はUIM13との間で通信エラーが発生した場合に、第1のインターフェースのリセット信号をUIM13へ送信するようになっている。
Although not shown, the controller 11 is a CPU (Central Processing Unit), a nonvolatile memory (such as a flash memory) that stores various programs and data, a RAM that temporarily stores data, and an I / O that serves as an interface with the
CLF12は、NFCの規格で規定される非接触通信を行う非接触型ICチップであり、図示しないが、CPU、各種プログラム及びデータを記憶する不揮発性メモリ、データを一時記憶するRAM、UIM13との間の第2のインターフェースを担うI/Oポート(SWIO)等を備えている。また、CLF12は、非接触のフィールド内で非接触リーダ2との間で各種信号の送受信を行うためのアンテナ12aに接続されている。そして、ユーザが携帯端末1を図示しない非接触リーダに翳すと、非接触リーダから送信されたサービス要求に係るコマンド信号を第2のインターフェースを介してUIM13へ送信するようになっている。
The CLF 12 is a non-contact IC chip that performs non-contact communication defined by the NFC standard. Although not shown, the
UIM13は、UICC(Universal Integrated Circuit Card)の一つであり、従来のSIM(Subscriber Identity Module)をベースに機能を拡張された接触型ICチップを搭載する。そして、UIM13は、CPU、各種プログラム及びデータを記憶する不揮発性メモリ、データを一時記憶するRAM、コントローラ11との間の第1のインターフェースXを担うI/Oポート、CLF12との間の第2のインターフェースYを担うI/Oポート(C6)等を備えている。なお、CLF12とUIM13間の第2のインターフェースYには、SWP(Single Wire Protocol)が適用される。
The UIM 13 is one of UICCs (Universal Integrated Circuit Cards), and is equipped with a contact IC chip whose functions are expanded based on a conventional SIM (Subscriber Identity Module). The UIM 13 includes a CPU, a nonvolatile memory that stores various programs and data, a RAM that temporarily stores data, an I / O port that bears the first interface X with the controller 11, and a second interface with the
また、UIM13は、図示しないが、USBメモリなどの外部記憶媒体との間の第3のインターフェースZを担うI/Oポート(C4又はC8)を備えている(USB規格に準拠した、例えば、ETSI TS 102 600参照)。 Although not shown, the UIM 13 includes an I / O port (C4 or C8) that bears a third interface Z with an external storage medium such as a USB memory (for example, ETSI that conforms to the USB standard). TS 102 600).
UIM13は、コントローラ11及びCLF12から送信されるコマンド信号等に応じて各種アプリケーションプログラムにしたがって動作し、所定の処理を行う。
The UIM 13 operates in accordance with various application programs in accordance with command signals transmitted from the controller 11 and the
また、例えば、UIM13のCPUは、コントローラ11からのリセット信号又はCLF12からのコマンド信号によって、インターフェースX又はインターフェースYの初期化処理を実行する。この初期化処理とは、各インターフェースを用いてICチップを動作可能にするための処理であって、この初期化処理には、例えば、UIM13のクロック設定、記憶装置(RAM等)及び周辺回路(乱数生成器,暗号コプロセッサ等)の動作確認、記憶装置(RAM等)の初期化、スタックポインタ初期化、周辺回路の初期設定等が含まれる。
Further, for example, the CPU of the
また、UIM13のCPUは、例えば、不揮発性メモリ内に記憶された初期化プログラム及び自己診断プログラムにしたがって、初期化処理とともに、自己診断処理を実行する。この自己診断処理とは、たとえば、RAMが正常に動作するか否かのチェック等である。この自己診断の結果、正常動作を行うと判断すれば、初期応答信号を出力する一方で、正常動作を行わないと判断すれば、正常動作不可能と診断されたインターフェースに異常がある(インターフェースが対応していない)ことを示すフラグ(以下、「エラーフラグ」と称する。)が設定された初期応答信号(本願の応答信号)を出力する。この初期応答信号は、予めエラーフラグが設定された初期応答信号をRAMに記憶させ、必要時に読み出して用いても、自己診断の結果に従って生成させてもどちらでも構わない。なお、本実施形態では、正常動作を行う場合に出力する初期応答信号と、エラーフラグが設定された初期応答信号と、を予めRAMに記憶させておき、必要時に読み出すようになっている。
Further, the CPU of the
また、その他の上記UIM13におけるICチップの動作は、用途(例えば、通信用または電子取引用)及び作動モード(接触または非接触)により異なり、このような用途及び作動モードによる基本動作は公知技術であるため、詳細な説明を省略する。
In addition, the operation of the other IC chip in the
また本実施形態のRAMの内部は、図2に示すように、全てのインターフェースX〜Zの動作処理用に用いられる共通の情報が記憶される共通領域16と、各インターフェースの動作処理用にのみ用いられる専用の情報が記憶される専用領域17〜19と、を有している。
Further, as shown in FIG. 2, the RAM of the present embodiment includes only a
ところで、通常のUIM13の初期化処理において、自己診断の結果、1のインターフェースのシステム領域に異常が発見された場合には、例えば、初期応答信号を出力しないなどの処理によって、すべてのインターフェースが利用できなくなってしまう。よって、本実施形態のように複数のインターフェースを備えたICチップ等では、RAM内におけるインターフェースXの領域には何の問題もないにも拘らず、インターフェースYの領域での異常によりインターフェースXを利用することができなくなってしまうこととなりサービス上問題となる。
By the way, in the
そこで、本実施形態に示す携帯端末では、例えば、自己診断によりインターフェースXの動作には問題がないにも拘らず、インターフェースYの処理に用いられるRAMのシステム領域に異常が検出された場合に、異常があることを示す(インターフェースYが対応していないことを示す)エラーフラグが設定された初期応答信号を出力することで、初期化処理を継続し、正常に動作するインターフェースXの動作に影響を与えないようにしている。 Therefore, in the mobile terminal shown in the present embodiment, for example, when an abnormality is detected in the system area of the RAM used for the processing of the interface Y even though there is no problem in the operation of the interface X by self-diagnosis, By outputting an initial response signal in which an error flag indicating that there is an abnormality (indicating that interface Y is not compatible) is output, the initialization process is continued and the operation of interface X that operates normally is affected. Not to give.
次に、図3乃至図5を参照して具体的な携帯端末1の動作について説明する。 Next, a specific operation of the mobile terminal 1 will be described with reference to FIGS. 3 to 5.
−実施例1−
本実施例は、ISO7816によって動作するISO7816インターフェースとSWP/HCI通信で接続されたSWPインターフェースを備えた携帯端末における初期化処理例である。また、図3は実施例1におけるUIMのCPUの動作処理例を示すフローチャート図である。
Example 1
This embodiment is an example of an initialization process in a portable terminal having an SWP interface connected by an SW78 / HCI communication with an ISO7816 interface operated by ISO7816. FIG. 3 is a flowchart showing an example of operation processing of the CPU of the UIM in the first embodiment.
まず、図3に示すように、UIM13のCPUは、コントローラ11からのリセット信号によりISO7816インターフェースが起動後、初期化プログラム及び自己診断プログラムにしたがって、ISO7816インターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS1)。
First, as shown in FIG. 3, the CPU of the
UIM13のCPUは、この自己診断処理の結果、故障を検出(異常が発生)したか否かを判断し(ステップS2)、故障を検出した場合(ステップS2:Yes)には処理を終了する。
The CPU of the
一方で、故障が検出されなかった場合には、UIM13のCPUは、SWPインターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS3)。
On the other hand, if no failure is detected, the CPU of the
UIM13のCPUは、この自己判断処理の結果、故障を検出したか否かを判断し(ステップS4)、故障が検出されなければ(ステップS4:No)、初期化処理を終了する一方で、故障が検出された場合には(ステップS4:Yes)、初期化処理を中断し(ステップS5)、正常に動作する場合に出力する初期応答信号に代えて、SWPインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS6)、初期化処理を終了する。
The CPU of the
このようにすれば、異常のあるインターフェースによって初期化処理が中断することなく継続し他のインターフェースが使用できなくなることを防止するため、正常なインターフェースを用いて携帯端末の機能の一部を使用することができる。 In this way, a part of the function of the mobile terminal is used using a normal interface in order to prevent the initialization process from continuing without interruption due to an abnormal interface and preventing other interfaces from being used. be able to.
また、UIM13のCPUは、異常が発生したインターフェースを用いることなく他の処理を継続するため、異常が発生したインターフェースを用いた処理を行うことによる動作の不安定性等を未然に防止し、セキュリティ上の安全性を担保することができる。
In addition, since the CPU of the
−実施例2−
本実施例は、ISO7816によって動作するISO7816インターフェースとSWP/HCI通信で接続されたSWPインターフェースを備えた携帯端末における初期化処理例である。なお、実施例2は、故障が検出されたインターフェースの故障情報を不揮発性メモリに登録する点で実施例1と異なる。また、図4は実施例2におけるUIMのCPUの動作処理例を示すフローチャート図である。
-Example 2-
This embodiment is an example of an initialization process in a portable terminal having an SWP interface connected by an SW78 / HCI communication with an ISO7816 interface operated by ISO7816. The second embodiment is different from the first embodiment in that failure information of an interface in which a failure is detected is registered in a nonvolatile memory. FIG. 4 is a flowchart showing an example of operation processing of the CPU of the UIM in the second embodiment.
まず、図4に示すように、UIM13のCPUは、コントローラ11からのリセット信号によりISO7816インターフェースが起動後、初期化プログラム及び自己診断プログラムにしたがって、ISO7816インターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS11)。
First, as shown in FIG. 4, the CPU of the
UIM13のCPUは、この自己診断処理の結果、故障を検出したか否かを判断し(ステップS12)、故障を検出した場合(ステップS12:Yes)には処理を終了する。
The CPU of the
一方で、故障が検出されなかった場合には、UIM13のCPUは、不揮発性メモリにSWPインターフェースの故障情報が登録されているか否かを判断し(ステップS13)、この判断が肯定されれば(ステップS13:Yes)、SWPインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS14)、初期化処理を終了する。
On the other hand, if no failure is detected, the CPU of the
また、UIM13のCPUは、SWPインターフェースの故障情報が登録されていなければ(ステップS13:No)、SWPインターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS15)。
In addition, if failure information of the SWP interface is not registered (step S13: No), the CPU of the
UIM13のCPUは、この自己判断処理の結果、故障を検出したか否かを判断し(ステップS16)、故障が検出されなければ(ステップS16:No)、初期化処理を終了する一方で、故障が検出された場合には(ステップS16:Yes)、不揮発性メモリにSWPインターフェースの故障情報を登録し(ステップS17)、正常に動作する場合に出力する初期応答信号に代えて、SWPインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS18)、初期化処理を終了する。
The CPU of the
このようにすれば、異常のあるインターフェースによって初期化処理が中断することなく継続し他のインターフェースが使用できなくなることを防止するため、正常なインターフェースを用いて携帯端末の機能の一部を使用することができる。 In this way, a part of the function of the mobile terminal is used using a normal interface in order to prevent the initialization process from continuing without interruption due to an abnormal interface and preventing other interfaces from being used. be able to.
また、不揮発性メモリに予め登録されたインターフェースの故障情報を参照することにより、インターフェースの初期化処理を行う前に故障情報を把握することができるため、UIM13のCPUの処理時間の節約を図ることができる(即ち、UIM13のCPUの処理の経済性を担保することができる)。
Also, by referring to the failure information of the interface registered in advance in the non-volatile memory, the failure information can be grasped before the interface initialization processing is performed, so the processing time of the CPU of the
このことは、近年、RAMの記憶領域の大容量化が望まれるケースがある開発の実情に鑑みれば、UIM13のCPUの処理負担を軽減することは、当該CPUの動作の安定性確保、サービスに対するユーザビリティーの向上等多大な効果を奏することとなる。
This is because, in light of the development situation in recent years where it is desired to increase the capacity of the RAM storage area, reducing the processing load on the CPU of the
−実施例3−
本実施例は、ISO7816によって動作するISO7816インターフェースとSWP/HCI通信で接続されたSWPインターフェースと、USB用インターフェースと、を備えた携帯端末における初期化処理である。なお、実施例3は、USB用インターフェースを更に備えている点で実施例2と異なる。また、図5は実施例3におけるUIMのCPUの動作処理例を示すフローチャート図である。
-Example 3-
This embodiment is an initialization process in a portable terminal provided with an ISO 7816 interface that operates by ISO 7816, a SWP interface connected by SWP / HCI communication, and a USB interface. The third embodiment is different from the second embodiment in that it further includes a USB interface. FIG. 5 is a flowchart showing an example of operation processing of the CPU of the UIM in the third embodiment.
まず、図5に示すように、UIM13のCPUは、コントローラ11からのリセット信号によりISO7816インターフェースが起動後、初期化プログラム及び自己診断プログラムにしたがって、ISO7816インターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS21)。
First, as shown in FIG. 5, the CPU of the
UIM13のCPUは、この自己診断処理の結果、故障を検出したか否かを判断し(ステップS22)、故障を検出した場合(ステップS22:Yes)には処理を終了する。
The CPU of the
一方で、故障が検出されなかった場合(ステップS22:No)には、UIM13のCPUは、不揮発性メモリにSWPインターフェースの故障情報が登録されているか否かを判断し(ステップS23)、この判断が肯定されれば(ステップS23:Yes)、SWPインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS24)、ステップS29に進む。
On the other hand, when no failure is detected (step S22: No), the CPU of the
また、UIM13のCPUは、ステップS23において、SWPインターフェースの故障情報が登録されていなければ(ステップS23:No)、SWPインターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS25)。
If the failure information of the SWP interface is not registered in step S23 (step S23: No), the CPU of the
UIM13のCPUは、この自己判断処理の結果、故障を検出したか否かを判断し(ステップS26)、故障が検出されなければ(ステップS26:No)ステップS29に進む一方で、故障が検出された場合には(ステップS26:Yes)、不揮発性メモリにSWPインターフェースの故障情報を登録し(ステップS27)、正常に動作する場合に出力する初期応答信号に代えて、SWPインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS28)、ステップS29に進む。
The CPU of the
ステップS29では、UIM13のCPUは、不揮発性メモリにUSB用インターフェースの故障情報が登録されているか否かを判断し、この判断が肯定されれば(ステップS29:Yes)、USB用インターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS30)、初期化処理を終了する。
In step S29, the CPU of the
また、UIM13のCPUは、ステップS29において、USB用インターフェースの故障情報が登録されていなければ(ステップS29:No)、USB用インターフェースにおける初期化処理とともに自己診断処理を実行する(ステップS31)。
If the failure information of the USB interface is not registered in step S29 (step S29: No), the CPU of the
UIM13のCPUは、この自己判断処理の結果、故障を検出したか否かを判断し(ステップS32)、故障が検出されなければ(ステップS32:No)、初期化処理を終了する一方で、故障が検出された場合には(ステップS32:Yes)、不揮発性メモリにUSB用インターフェースの故障情報を登録し(ステップS33)、正常に動作する場合に出力する初期応答信号に代えて、USB用インターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力して(ATR(Answer To Reset)を切替えて:ステップS34)、初期化処理を終了する。
The CPU of the
このようにすれば、異常のあるインターフェースによって初期化処理が中断することなく継続し他のインターフェースが使用できなくなることを防止するため、正常なインターフェースを用いて携帯端末の機能の一部を使用することができる。また、故障が検出された場合に故障情報が登録されるため、故障が検出されたインターフェースにおける初期化処理及び自己診断を無駄に行うことがなく、ソフトウェアの効率化を図れる。 In this way, a part of the function of the mobile terminal is used using a normal interface in order to prevent the initialization process from continuing without interruption due to an abnormal interface and preventing other interfaces from being used. be able to. In addition, since failure information is registered when a failure is detected, the initialization process and self-diagnosis in the interface where the failure is detected are not wasted, and software efficiency can be improved.
以上説明したように、上記実施形態によれば、自己診断により1のインターフェースの動作には問題がないにも拘らず、他のインターフェースの処理に用いられるRAMのシステム領域に異常が検出された場合に、他のインターフェースが対応していないことを示すエラーフラグが設定された初期応答信号を出力することで、初期化処理を継続するように構成したので、正常に動作する1のインターフェースの動作に影響を与えないため、正常に動作する1のインターフェースを用いて携帯端末の機能の一部を使用することができる。また、異常が検出された場合には故障情報が登録されるため、故障が検出されたインターフェースにおける初期化処理及び自己診断を無駄に行うことがなく、ソフトウェアの効率化を図れる。 As described above, according to the above-described embodiment, when an abnormality is detected in the system area of the RAM used for processing of another interface even though there is no problem in the operation of one interface by self-diagnosis. In addition, since the initialization process is configured to continue by outputting an initial response signal in which an error flag indicating that the other interface is not compatible is set, the operation of one interface that operates normally can be performed. Since there is no influence, a part of the functions of the portable terminal can be used by using one interface that operates normally. In addition, since failure information is registered when an abnormality is detected, the initialization process and self-diagnosis at the interface where the failure is detected are not wasted, and software efficiency can be improved.
1 携帯端末
11 コントローラ
12 CLF
13 UIM
1 mobile terminal 11
13 UIM
Claims (7)
1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段と、
自己診断の結果を示す応答信号を出力する出力手段と、を具備し、
前記出力手段は、
前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とするICチップ。 An IC chip having a plurality of interfaces, each interface operating asynchronously to communicate with other communication terminals,
Initialization / self-diagnosis processing execution means for executing initialization processing and self-diagnosis processing of each interface after detecting activation of one interface;
Output means for outputting a response signal indicating the result of self-diagnosis,
The output means includes
As a result of the self-diagnosis, when it is determined that there is an abnormality with respect to another interface, a response signal in which a flag indicating that there is an abnormality in the other interface is set is output.
前記出力手段は、
前記初期化・自己診断処理を実行する前に、前記記憶手段に異常情報が記憶されているときには、前記初期化・自己診断処理実行手段による前記他のインターフェースの初期化処理及び自己診断処理を実行せずに、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とする請求項1に記載のICチップ。 As a result of the self-diagnosis, when it is determined that there is an abnormality with respect to another interface, the storage unit stores abnormality information of the other interface determined to have the abnormality,
The output means includes
Before executing the initialization / self-diagnosis process, when abnormality information is stored in the storage unit, the initialization / self-diagnosis process execution unit executes initialization process and self-diagnosis process of the other interface. The IC chip according to claim 1, wherein a response signal in which a flag indicating that there is an abnormality in the other interface is set is output.
1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行ステップと、
自己診断の結果を示す応答信号を出力する出力ステップと、を具備し、
前記出力ステップは、
前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とするICチップにおける初期化方法。 An initialization method in an IC chip comprising a plurality of interfaces, each interface operating asynchronously to communicate with another communication terminal,
An initialization / self-diagnosis processing execution step for executing initialization processing and self-diagnosis processing of each interface after detecting activation of one interface;
An output step for outputting a response signal indicating the result of the self-diagnosis, and
The output step includes
If the result of the self-diagnosis indicates that there is an abnormality with respect to another interface, a response signal in which a flag indicating that there is an abnormality in the other interface is set is output. Method.
1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段、及び
自己診断の結果を示す応答信号を出力し、前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力する出力手段として機能させることを特徴とするICチップ用処理プログラム。 A computer that includes a plurality of interfaces and that is included in an IC chip that operates to asynchronously communicate with other communication terminals.
After detecting the activation of one interface, an initialization / self-diagnosis processing execution means for executing initialization processing and self-diagnosis processing of each interface, and a response signal indicating the result of the self-diagnosis are output. An IC chip processing program that functions as an output unit that outputs a response signal in which a flag indicating that there is an abnormality in another interface is set when it is determined that there is an abnormality in another interface .
前記接触型ICチップは、
1のインターフェースの起動を検出後、各インターフェースの初期化処理及び自己診断処理を実行する初期化・自己診断処理実行手段と、
自己診断の結果を示す応答信号を出力する出力手段と、を具備し、
前記出力手段は、
前記自己診断の結果、他のインターフェースに対して異常有りと判断した場合に、他の前記インターフェースに異常があることを示すフラグが設定された応答信号を出力することを特徴とする携帯端末。 A contact IC chip having a plurality of interfaces, a controller that can communicate with the contact IC chip via the first interface, and a non-contact that can communicate with the contact IC chip via the second interface In a portable terminal comprising a type IC chip,
The contact type IC chip is:
Initialization / self-diagnosis processing execution means for executing initialization processing and self-diagnosis processing of each interface after detecting activation of one interface;
Output means for outputting a response signal indicating the result of self-diagnosis,
The output means includes
As a result of the self-diagnosis, when it is determined that there is an abnormality in another interface, a response signal in which a flag indicating that there is an abnormality in the other interface is set is output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010239052A JP5516323B2 (en) | 2010-10-25 | 2010-10-25 | IC chip, IC chip initialization method, IC chip processing program, portable terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010239052A JP5516323B2 (en) | 2010-10-25 | 2010-10-25 | IC chip, IC chip initialization method, IC chip processing program, portable terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012093856A JP2012093856A (en) | 2012-05-17 |
JP5516323B2 true JP5516323B2 (en) | 2014-06-11 |
Family
ID=46387134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010239052A Active JP5516323B2 (en) | 2010-10-25 | 2010-10-25 | IC chip, IC chip initialization method, IC chip processing program, portable terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5516323B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6181018B2 (en) * | 2014-09-09 | 2017-08-16 | 株式会社東芝 | IC card, IC module, and portable terminal |
EP3640852B1 (en) | 2014-09-09 | 2022-04-06 | Kabushiki Kaisha Toshiba | Ic card, ic module, portable terminal, portable electronic apparatus, and terminal |
JP7206942B2 (en) * | 2018-02-06 | 2023-01-18 | 大日本印刷株式会社 | Electronic information storage medium, IC chip, initial setting method, and initial setting program |
-
2010
- 2010-10-25 JP JP2010239052A patent/JP5516323B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012093856A (en) | 2012-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5270377B2 (en) | Platform boot with bridge support | |
JP5516323B2 (en) | IC chip, IC chip initialization method, IC chip processing program, portable terminal | |
KR102371705B1 (en) | Device and method for controlling transactions of nfc reader with external electronic device | |
JP2003030613A (en) | Storage device and data processor provided with the storage device | |
JP2012093857A (en) | Ic chip, memory initialization method for ic chip, processing program for ic chip, and portable terminal | |
JP6181018B2 (en) | IC card, IC module, and portable terminal | |
JP5754287B2 (en) | IC chip, processing method in IC chip, UIM, portable terminal, and processing program for IC chip | |
JP5799754B2 (en) | IC chip, processing method in IC chip, IC chip processing program, IC card, and portable terminal | |
US8783576B2 (en) | Memory card having multiple interfaces and reset control method thereof | |
CN111475432A (en) | Slave starting control device, single bus system and control method thereof | |
US20230056827A1 (en) | Method and device for nft-based software | |
US11476895B2 (en) | External device including at least one antenna, and electronic device and method for improving antenna performance using same | |
JP7085918B2 (en) | Information processing equipment and information processing method | |
JP2007115187A (en) | Portable electronic device and ic card | |
JP5724694B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROCESSING PROGRAM | |
JP2013122690A (en) | Ic card, portable electronic device and ic card control method | |
JP5724701B2 (en) | IC chip, processing method in IC chip, IC chip processing program, and portable terminal | |
JP5838713B2 (en) | IC chip, UIM, processing method in IC chip, IC chip processing program, and portable terminal | |
JP6686725B2 (en) | Electronic information storage medium, information processing method, and information processing program | |
JP6863032B2 (en) | Electronic information storage medium, IC card, activation control method, and program | |
JP5258219B2 (en) | Memory card having a plurality of interfaces, reset control method thereof, and reset control system | |
KR101686631B1 (en) | Apparatus for Smart Secure Storage | |
KR20190138463A (en) | Electronic device for supporting a plurality of nfc operation modes and method for the same | |
JP4734838B2 (en) | Information recording medium, program, and command execution control method | |
JP2017142655A (en) | Electronic information storage medium, information processing method, and information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130822 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140226 |
|
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: 20140304 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140317 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5516323 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |