JP2017076439A - Information processing apparatus, initial response method, and IC card - Google Patents

Information processing apparatus, initial response method, and IC card Download PDF

Info

Publication number
JP2017076439A
JP2017076439A JP2017006581A JP2017006581A JP2017076439A JP 2017076439 A JP2017076439 A JP 2017076439A JP 2017006581 A JP2017006581 A JP 2017006581A JP 2017006581 A JP2017006581 A JP 2017006581A JP 2017076439 A JP2017076439 A JP 2017076439A
Authority
JP
Japan
Prior art keywords
voltage
class
initial response
external device
response information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017006581A
Other languages
Japanese (ja)
Other versions
JP2017076439A5 (en
JP6299892B2 (en
Inventor
山田 真生
Masanari Yamada
真生 山田
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
Priority to JP2017006581A priority Critical patent/JP6299892B2/en
Publication of JP2017076439A publication Critical patent/JP2017076439A/en
Publication of JP2017076439A5 publication Critical patent/JP2017076439A5/ja
Application granted granted Critical
Publication of JP6299892B2 publication Critical patent/JP6299892B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing apparatus, an initial response method, and an IC card capable of providing information for guiding voltage that cannot guarantee operation to appropriate voltage even when the voltage has been supplied from an external device such as a reading device.SOLUTION: An information processing device discriminates voltage applied from an external device at timing with which a reset signal is received, returns initial response information that displays a voltage class of operation guarantee voltage when the discriminated voltage is not the operation guarantee voltage, and returns initial response information that does not display the voltage class of the operation guarantee voltage when the discriminated voltage is the operation guarantee voltage.SELECTED DRAWING: Figure 2

Description

本発明は、外部機器との間で通信可能なICカードの技術分野に関する。   The present invention relates to the technical field of an IC card that can communicate with an external device.

ICカード等の国際規格ISO/IEC 7816-3によれば、国際的な互換性を持つICカードを駆動させる電圧は3種類のクラス(クラスA:5V、クラスB:3V、クラスC:1.8V
)に分類される。このうち、ICカードは、少なくとも1つの電圧クラスをサポートしていればよい一方、複数の電圧クラスをサポートしていてもよい。外部機器である読取装置(リーダライタ)から印加される電圧とICカードの動作保証電圧が合致すれば、誤動作することなく処理を実行することが可能になる。また、ISO/IEC 7816-3 に準拠する読取
装置は、任意の電圧クラスを選択し、ICカードを活性化する。読取装置は、ICカードから初期応答情報(ATR(Answer To Reset))が応答されなければ、ICカードを非活
性化するか、或いは、別の電圧クラスを選択し、再度活性化を試みてもよい。読取装置は、初期応答情報が応答された場合、当該初期応答情報にICカードがサポートしている電圧クラスが表示されていることを確認する。そして、読取装置は、電圧クラスが初期応答情報に表示されていれば、その中から適切な電圧クラスを選択し、再活性化する(現在印加している電圧クラスが含まれていればそれを維持してもよい)。
According to the international standard ISO / IEC 7816-3 for IC cards and the like, voltages for driving internationally compatible IC cards are classified into three classes (class A: 5V, class B: 3V, class C: 1. 8V
)are categorized. Of these, the IC card only needs to support at least one voltage class, and may support a plurality of voltage classes. If the voltage applied from the reading device (reader / writer), which is an external device, matches the operation guarantee voltage of the IC card, the process can be executed without malfunction. In addition, a reader compliant with ISO / IEC 7816-3 selects an arbitrary voltage class and activates the IC card. If the initial response information (ATR (Answer To Reset)) is not responded from the IC card, the reading device deactivates the IC card or selects another voltage class and tries to activate again. Good. When the initial response information is responded, the reading device confirms that the voltage class supported by the IC card is displayed in the initial response information. If the voltage class is displayed in the initial response information, the reader selects an appropriate voltage class from the voltage class and reactivates it (if the currently applied voltage class is included, it reads it). May be maintained).

一方、読取装置は、電圧クラスが初期応答情報に表示されていなければ現在印加している電圧クラスを維持する。その場合、初期応答情報確認後に実行されるメッセージ交換中に動作しなくなったら、読取装置は別の電圧クラスを選択して再度活性化してもよい。例えば、ICカードを使用したPCのログオンセキュリティ管理システムがWindows XP(登録商標)にて動作していたとする。このICカードは、供給される電圧が5Vの場合に限り動作を保証しており、かつ、初期応答情報には他製品との互換性のために電圧クラスを表示していなかったとする。読取装置が5Vを印加すると、ICカードは初期応答情報を応答し、その後のメッセージ交換も継続して正常に実行するため、安定して稼動する。ところが、OSをWindows 7(登録商標)に変更した際に読取装置のドライバがアップグレ
ードされ、読取装置はクラスC(1.8V)→クラスB(3V)→クラスA(5V) の順に電圧クラス
を選択して活性化を試みるようになったとする。この場合、例えばクラスC(1.8V)ではいずれのICカードも動作しなかったため、読取装置は電圧クラスをクラスB(3V)に変更し、再度活性化を試みたところ、ICカードは動作し、初期応答情報を応答した。しかし、初期応答情報には電圧クラスが表示されておらず、その後のメッセージ交換においても動作しなくなることはなかったため、クラスB(3V)が使用されることになった。ところが、ICカードが暗号演算を実行すると供給電力が足りないため、誤った演算結果を応答するという問題が生じる可能性がある。これは、ICカードは、電力によって駆動する一般的な工業製品と同様に、動作を保証している電圧でなくても動作してしまう場合があるためであり、初期応答情報の送出程度であれば想定通りの動作が可能かもしれないが、例えば暗号演算など、電力を極端に使用する処理を実行した場合に、動作保証電圧に合致していなければ誤動作する可能性がある。その際に、ICカードが動作しなくなるようであれば、読取装置はISO 7816-3の既定動作にしたがって別の電圧クラスを選択し、再度活性化することが可能になるが、ICカードのソフトウェアが誤動作を検知してエラーステータスを応答してしまうと、ISO7816-3に従った読取装置は、適切な電圧クラスを選択すること
ができなくなってしまう問題点があった。これを回避するためには、初期応答情報に電圧クラスを表示しておくべきであるが、システムの要求によっては、互換性確保のために初期応答情報に電圧クラスを表示しない場合があった。このような電圧クラスを表示することはあくまでもオプションであり、例えば、ICカードの動作電圧がわかっているようなクローズドシステムなどの場合、初期応答情報に電圧クラスを表示しない場合がある。一方、特許文献1には、電源電圧の範囲を示す情報を外部から入力し、その情報で特定される電圧範囲が動作保証電圧を満足するか否かを判定し、動作保証電圧を満足しないとき外部との信号入出力を遮断するメモリカードが開示されている。これによれば、動作保証電圧に対して外部電源が不適合であっても、中途半端なレベルの動作電源による誤動作を防止することができるようになっている。
On the other hand, if the voltage class is not displayed in the initial response information, the reading device maintains the currently applied voltage class. In that case, the reader may select another voltage class and activate again if it does not operate during the message exchange performed after confirmation of the initial response information. For example, it is assumed that a PC logon security management system using an IC card operates on Windows XP (registered trademark). This IC card guarantees the operation only when the supplied voltage is 5 V, and the initial response information does not display the voltage class for compatibility with other products. When the reading device applies 5V, the IC card responds with initial response information, and the subsequent message exchange is continued and executed normally, so that the IC card operates stably. However, when the OS is changed to Windows 7 (registered trademark), the reader driver is upgraded, and the reader selects the voltage class in the order of class C (1.8V) → class B (3V) → class A (5V). Then, try to activate. In this case, for example, since no IC card was operated in class C (1.8V), the reader changed the voltage class to class B (3V) and tried to activate again. Responded with initial response information. However, since the voltage class is not displayed in the initial response information and the subsequent message exchange did not stop the operation, the class B (3V) was used. However, when the IC card executes cryptographic computation, there is a possibility that a problem of responding an erroneous computation result may occur because of insufficient supply power. This is because the IC card may operate even if the voltage is not guaranteed to operate, as in the case of general industrial products that are driven by electric power. For example, an operation as expected may be possible, but when processing that uses power extremely, such as cryptographic computation, is executed, there is a possibility of malfunction if the operation guarantee voltage is not met. At that time, if the IC card stops operating, the reader can select another voltage class according to the default operation of ISO 7816-3 and activate it again. However, if a malfunction is detected and an error status is returned, the reader according to ISO7816-3 cannot select an appropriate voltage class. In order to avoid this, the voltage class should be displayed in the initial response information. However, depending on the system requirements, the voltage class may not be displayed in the initial response information to ensure compatibility. Displaying such a voltage class is merely an option. For example, in the case of a closed system in which the operating voltage of the IC card is known, the voltage class may not be displayed in the initial response information. On the other hand, in Patent Document 1, information indicating the range of the power supply voltage is input from the outside, it is determined whether or not the voltage range specified by the information satisfies the operation guarantee voltage, and the operation guarantee voltage is not satisfied A memory card that blocks signal input / output from / to the outside is disclosed. According to this, even if the external power supply is incompatible with the operation guarantee voltage, it is possible to prevent malfunction due to the halfway level of the operation power supply.

特開2000−250665号公報JP 2000-250665 A

上述したように、読取装置が適切な電圧クラスを選択して電圧を印加するためには、不適切な電圧が印加された際にICカードが初期応答情報を応答しないか、初期応答情報は応答するがその後のメッセージ交換中に処理を停止するか、或いはICカードが応答する初期応答情報に電圧クラスを表示しなければならない。しかしながら、初期応答情報を応答しないとなると、単一の電圧クラスでしか動作しない特殊な読取装置による動作環境ではICカードは動作しないため、動作しない原因を特定するためには多くの労力を要することになる。また、初期応答情報は応答したものの、その後のメッセージ交換中に処理を停止させるのであれば、読取装置はワーストケースとして3つの電圧クラスを全て試さねばならず、適切なクラスが確定するまでに時間が掛かる。また、互換性確保の観点から、ICカードが正常に動作する環境では初期応答情報に電圧クラスの表示を許さないようなシステムの場合には、動作を保証していない電圧クラスであったとしても、ICカードが初期応答情報を応答してしまえば、あたかも正常に動作しているかのように見えてしまうため、不適切な電圧クラスによってICカードが誤動作してしまっても、電圧を変更することができない。一方、特許文献1では、電源電圧の範囲を示す情報をICカードへ送信するという対応を読取装置側でとらなければならず、そのような対応が困難な読取装置もある。   As described above, in order for the reading device to select an appropriate voltage class and apply a voltage, the IC card does not respond with initial response information when an inappropriate voltage is applied, or the initial response information is a response. However, the processing must be stopped during the subsequent message exchange, or the voltage class must be displayed in the initial response information to which the IC card responds. However, if the initial response information is not responded, the IC card does not operate in an operating environment with a special reading device that operates only in a single voltage class. Therefore, it takes a lot of labor to identify the cause of the malfunction. become. In addition, if the initial response information is responded but the processing is to be stopped during the subsequent message exchange, the reader must try all three voltage classes as the worst case, and the time until the appropriate class is determined. It takes. Also, from the viewpoint of ensuring compatibility, in an environment where the IC card operates normally, in a system that does not allow the display of the voltage class in the initial response information, even if the voltage class is not guaranteed to operate. If the IC card responds with the initial response information, it will appear as if it is operating normally. Even if the IC card malfunctions due to an inappropriate voltage class, the voltage must be changed. I can't. On the other hand, in Japanese Patent Laid-Open No. 2004-228561, the reader must take a measure of transmitting information indicating the range of the power supply voltage to the IC card, and there are some readers that are difficult to deal with.

そこで、本発明は、これらの事態を解消し、動作を保証できない電圧が読取装置等の外部機器から供給された場合であっても、それを適切な電圧へと誘導するための情報を提供することが可能な情報処理装置、初期応答方法、及びICカードを提供することを目的とする。   Therefore, the present invention eliminates these situations and provides information for guiding the voltage to an appropriate voltage even when a voltage whose operation cannot be guaranteed is supplied from an external device such as a reader. It is an object to provide an information processing apparatus, an initial response method, and an IC card.

上記課題を解決するために、請求項1に記載の発明は、外部機器との間で通信可能な情報処理装置であって、前記外部機器からリセット信号を受信する受信手段と、前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別する判別手段と、前記リセット信号に対する初期応答情報を当該外部機器へ応答する応答手段と、を備え、前記応答手段は、前記判別手段により判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記判別手段により判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 1 is an information processing apparatus capable of communicating with an external device, wherein the receiving unit receives a reset signal from the external device, and the reset signal is A determination unit configured to determine a voltage applied from the external device at a received timing; and a response unit configured to respond to the external device with initial response information with respect to the reset signal. When the determined voltage is not a preset operation guarantee voltage, the initial response information indicating the voltage class of the operation guarantee voltage is returned, and the voltage discriminated by the discrimination means is the operation guarantee voltage. The initial response information that does not display the voltage class of the operation guarantee voltage is returned.

請求項2に記載の発明は、請求項1に記載の情報処理装置において、前記応答手段は、前記判別手段により判別された電圧が、互いに異なる複数の前記動作保証電圧のうち何れの前記動作保証電圧でもない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記動作保証電圧のうち何れかの前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とする。   According to a second aspect of the present invention, in the information processing apparatus according to the first aspect, the response means includes any one of the plurality of operation guarantee voltages that are different from each other in voltage determined by the discrimination means. The initial response information indicating the voltage class of the operation guarantee voltage is returned when the voltage is not a voltage, and the voltage class of the operation guarantee voltage is not displayed when the operation guarantee voltage is any of the operation guarantee voltages. The initial response information is returned.

請求項3に記載の発明は、外部機器との間で通信可能な情報処理装置に含まれるコンピュータにより実行される初期応答方法であって、前記外部機器からリセット信号を受信するステップと、前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別するステップと、前記判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する初期応答情報を前記外部機器へ応答し、前記判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない初期応答情報を前記外部機器へ応答するステップと、を含むことを特徴とする。   The invention according to claim 3 is an initial response method executed by a computer included in an information processing apparatus capable of communicating with an external device, the step of receiving a reset signal from the external device, and the reset A step of determining a voltage applied from the external device at a timing when a signal is received; and initial response information for displaying a voltage class of the operation guaranteed voltage when the determined voltage is not a preset operation guaranteed voltage. Responding to the external device, and responding to the external device initial response information not displaying the voltage class of the guaranteed operation voltage when the determined voltage is the guaranteed operation voltage. And

請求項4に記載の発明は、外部機器との間で通信可能なICカードであって、前記外部機器からリセット信号を受信する受信手段と、前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別する判別手段と、前記リセット信号に対する初期応答情報を当該外部機器へ応答する応答手段と、を備え、前記応答手段は、前記判別手段により判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記判別手段により判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とする。   The invention according to claim 4 is an IC card that can communicate with an external device, and includes a receiving unit that receives a reset signal from the external device, and a timing at which the reset signal is received from the external device. A discriminating unit that discriminates the applied voltage; and a response unit that responds to the external device with initial response information for the reset signal. The response unit is preset with the voltage discriminated by the discriminating unit. In response to the initial response information for displaying the voltage class of the operation guaranteed voltage when the voltage is not the operation guaranteed voltage, the voltage class of the operation guaranteed voltage is displayed when the voltage determined by the determination unit is the operation guaranteed voltage. The initial response information is not responded.

本発明によれば、動作を保証できない電圧が外部機器から供給された場合であっても、それを適切な電圧へと誘導するための情報を提示することができる。   According to the present invention, even when a voltage whose operation cannot be guaranteed is supplied from an external device, information for inducing it to an appropriate voltage can be presented.

ICカード1の概要構成例を示す図である。1 is a diagram illustrating a schematic configuration example of an IC card 1. FIG. (A)は、CPU11の初期応答処理の一例を示すフローチャートであり、(B)は、CPU11の初期応答処理の応用例を示すフローチャートである。(A) is a flowchart which shows an example of the initial response process of CPU11, (B) is a flowchart which shows the application example of the initial response process of CPU11.

以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、ICカードに対して本発明を適用した場合の実施の形態である。   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 an IC card.

先ず、図1を参照して、本実施形態に係るICカードの構成及び機能等について説明する。図1は、ICカード1の概要構成例を示す図である。ICカード1は、金融、通信、交通等の様々な分野で用いられるICカードの他、携帯電話機やスマートホン等の携帯端末に搭載されるICカードとして適用可能である。ICカード1は、読取装置2(外部機器の一例)との間で通信可能になっている。   First, with reference to FIG. 1, the configuration and functions of the IC card according to the present embodiment will be described. FIG. 1 is a diagram illustrating a schematic configuration example of the IC card 1. The IC card 1 can be applied as an IC card mounted on a portable terminal such as a mobile phone or a smart phone, in addition to an IC card used in various fields such as finance, communication, and traffic. The IC card 1 can communicate with the reading device 2 (an example of an external device).

ICカード1に搭載されるICチップC(本発明の情報処理装置の一例)は、図1に示すように、CPU(Central Processing Unit)11、不揮発性メモリ12、RAM(Random
Access Memory)13、電圧検知用レジスタ14、電圧センサー15、及びI/Oポート
16等を備えている。不揮発性メモリ12は、例えばフラッシュメモリである。なお、ICチップCには、ROM(Read Only Memory)が備えられてもよい。また、ICチップCは、ISO/IEC7816等によって定められた、C1〜C8の8個の端子を備えている。このうち、図1の例では、読取装置2から電圧が印加される電源端子(VCC)C1、読取装置2からリセット信号が受信されるリセット端子(RST)C2、読取装置2からクロック信号が受信されるクロック端子(CLK)C3、接地されるグランド端子(GND)C5、読取装置2からコマンドが受信されるI/O端子(I/O)C7を示している。なお、図1の例では、接触式のICカードの例を示したが、外部機器に近づくことにより、磁界をエネルギーとして無結線状態で電源供給され(電圧印加され)、動作する非接触式ICカードであってもよい。
As shown in FIG. 1, an IC chip C (an example of an information processing apparatus of the present invention) mounted on an IC card 1 includes a CPU (Central Processing Unit) 11, a nonvolatile memory 12, a RAM (Random
Access Memory) 13, a voltage detection register 14, a voltage sensor 15, an I / O port 16, and the like. The nonvolatile memory 12 is, for example, a flash memory. The IC chip C may be provided with a ROM (Read Only Memory). Further, the IC chip C includes eight terminals C1 to C8 defined by ISO / IEC7816 or the like. 1, a power supply terminal (VCC) C1 to which a voltage is applied from the reading device 2, a reset terminal (RST) C2 that receives a reset signal from the reading device 2, and a clock signal from the reading device 2 are received. A clock terminal (CLK) C3 to be connected, a ground terminal (GND) C5 to be grounded, and an I / O terminal (I / O) C7 to receive a command from the reading device 2 are shown. In the example of FIG. 1, an example of a contact type IC card is shown. However, by approaching an external device, a non-contact type IC that operates by being supplied with power (voltage applied) in a non-connected state using a magnetic field as energy. It may be a card.

不揮発性メモリ12には、オペレーティングシステム、及び各種アプリケーションプログラムが記憶される。電圧センサー15は、アナログ制御回路に実装されており、読取装置2から電源端子(VCC)C1に印加された電圧を検知して、それがクラスA(5V)であるか、クラスB(3V)であるか、クラスC(1.8V)であるか、あるいはそれ以外であるかを表現するセンサーである。そして、電圧センサー15は、検知した電圧に応じた値を電圧検知用レジスタ14にセット(保持)する。例えば、クラスA(5V) であれば“0”、クラ
スB(3V)であれば“1”、クラスC(1.8V)であれば“2”、それ以外であれば“3”というように電圧検知用レジスタ14に値がセットされる。
The nonvolatile memory 12 stores an operating system and various application programs. The voltage sensor 15 is mounted on an analog control circuit, detects the voltage applied from the reading device 2 to the power supply terminal (VCC) C1, and determines whether the voltage is class A (5V) or class B (3V). It is a sensor that expresses whether it is class C (1.8V) or other. The voltage sensor 15 sets (holds) a value corresponding to the detected voltage in the voltage detection register 14. For example, “0” for class A (5V), “1” for class B (3V), “2” for class C (1.8V), “3” otherwise. A value is set in the voltage detection register 14.

CPU11は、上記オペレーティングシステム及び各種アプリケーションプログラムを実行することで、読取装置2からI/O端子(I/O)C7及びI/Oポート16を介してコマンドを受信し、当該コマンドに応じた処理を実行する。また、CPU11は、本発明における受信手段、判別手段、及び応答手段として機能する。これにより、CPU11は、読取装置2からリセット端子(RST)C2を介してリセット信号を受信し、受信したリセット信号に対する初期応答情報を読取装置2へ応答する。また、CPU11は、リセット信号が受信されたタイミングで電圧検知用レジスタ14から値を読み出し、読取装置2から印加された電圧を判別する。そして、CPU11は、判別した電圧が予め設定された動作保証電圧でない場合に動作保証電圧の電圧クラスを表示する初期応答情報を読取装置2へ応答する。一方、CPU11は、判別した電圧が動作保証電圧である場合に動作保証電圧の電圧クラスを表示しない初期応答情報を応答する。   The CPU 11 receives the command from the reading device 2 via the I / O terminal (I / O) C7 and the I / O port 16 by executing the operating system and various application programs, and performs processing according to the command. Execute. The CPU 11 functions as a receiving unit, a determining unit, and a responding unit in the present invention. Accordingly, the CPU 11 receives a reset signal from the reading device 2 via the reset terminal (RST) C2, and responds to the reading device 2 with initial response information for the received reset signal. Further, the CPU 11 reads the value from the voltage detection register 14 at the timing when the reset signal is received, and determines the voltage applied from the reading device 2. Then, the CPU 11 responds to the reading device 2 with initial response information indicating the voltage class of the operation guarantee voltage when the determined voltage is not a preset operation guarantee voltage. On the other hand, when the determined voltage is an operation guarantee voltage, the CPU 11 responds with initial response information not displaying the voltage class of the operation guarantee voltage.

次に、図2を参照して、本実施形態に係るICカード1におけるCPU11の初期応答処理について説明する。図2(A)は、CPU11の初期応答処理の一例を示すフローチャートである。図2(B)は、CPU11の初期応答処理の応用例を示すフローチャートである。   Next, an initial response process of the CPU 11 in the IC card 1 according to the present embodiment will be described with reference to FIG. FIG. 2A is a flowchart illustrating an example of an initial response process of the CPU 11. FIG. 2B is a flowchart illustrating an application example of the initial response process of the CPU 11.

図2(A)に示す初期応答処理は、例えば、読取装置2へリセット信号が受信されたときに開始される。なお、図2(A)の例では、ICカード1の動作保証電圧は、クラスA(5V)のみであるとする。そして、図2(A)に示す初期応答処理が開始されると、CPU11は、電圧検知用レジスタ14から値を読み出し(ステップS1)、読取装置2から印加された電圧を判別する。例えば、CPU11は、読み出した値が“0”であればクラスA(5V) 、“1”であればクラスB(3V)、“2”であればクラスC(1.8V)、それ以外であ
ればいずれにも該当しないことを判別する。これにより、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示しているか否かを判定する(ステップS2)。そして、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示していないと判定した場合(ステップS2:NO)、つまり、判別した電圧が動作保証電圧でない場合、動作保証電圧の電圧クラスを表示する初期応答情報を読取装置2へ応答する(ステップS3)。すなわち、電圧クラスを示すクラス情報が含まれる初期応答情報が読取装置2へ送信される。一方、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示していると判定した場合(ステップS2:YES)、つまり、判別した電圧が動作保証電圧である場合、動作保証電圧の電圧クラスを表示しない初期応答情報を読取装置2へ応答する(ステップS4)。すなわち、電圧クラスを示すクラス情報が含まれない初期応答情報(正規の初期応答情報)が読取装置2へ送信される。
The initial response process shown in FIG. 2A is started when a reset signal is received by the reading device 2, for example. In the example of FIG. 2A, it is assumed that the operation guarantee voltage of the IC card 1 is only class A (5 V). When the initial response process shown in FIG. 2A is started, the CPU 11 reads a value from the voltage detection register 14 (step S1), and determines the voltage applied from the reading device 2. For example, the CPU 11 class A (5V) if the read value is "0", class B (3V) if "1", class C (1.8V) if "2", otherwise It is determined that none of the above applies. Thus, the CPU 11 determines whether or not the value read from the voltage detection register 14 indicates class A (5V) (step S2). When the CPU 11 determines that the value read from the voltage detection register 14 does not indicate class A (5 V) (step S2: NO), that is, when the determined voltage is not the operation guaranteed voltage, the operation guaranteed voltage The initial response information for displaying the voltage class is returned to the reader 2 (step S3). That is, initial response information including class information indicating the voltage class is transmitted to the reading device 2. On the other hand, when the CPU 11 determines that the value read from the voltage detection register 14 indicates class A (5 V) (step S2: YES), that is, when the determined voltage is the operation guarantee voltage, the operation guarantee is performed. Initial response information not displaying the voltage class of the voltage is returned to the reading device 2 (step S4). That is, initial response information (regular initial response information) that does not include class information indicating the voltage class is transmitted to the reading device 2.

このように、ICカード1がクラスAにおいてのみ動作を保証する場合には、クラスAが印加されたら電圧クラスを表示しない初期応答情報を送信して処理を継続し、それ以外のクラスが印加されたら電圧クラスを表示した初期応答情報を送信するように構成することで、適切ないずれかの電圧クラスへと誘導することができる。これにより、ICカード1は適切な電圧クラスにて動作することが可能になる。   As described above, when the IC card 1 guarantees the operation only in the class A, when the class A is applied, the initial response information not displaying the voltage class is transmitted and the process is continued, and other classes are applied. Then, it is possible to guide to any appropriate voltage class by transmitting the initial response information indicating the voltage class. As a result, the IC card 1 can operate in an appropriate voltage class.

次に、図2(B)に示す初期応答処理は、図2(A)と同様、例えば、読取装置2へリセット信号が受信されたときに開始される。なお、図2(B)の例では、ICカード1の動作保証電圧は、クラスA〜Cの全てあるとする。そして、図2(B)に示す初期応答処理が開始されると、CPU11は、電圧検知用レジスタ14から値を読み出し(ステップS11)、読取装置2から印加された電圧を判別する。そして、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示しているか否かを判定する(ステップS12)。そして、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示していないと判定した場合(ステップS12:NO)、電圧検知用レジスタ14から読み出した値がクラスB(3V)を示しているか否かを判定する(ステップS13)。一方、CPU11は、電圧検知用レジスタ14から読み出した値がクラスA(5V)を示していると判定した場合(ステップS12:YES)、動作保証電圧の電圧クラスを表示しない初期応答情報を読取装置2へ応答する(ステップS16)。   Next, the initial response process shown in FIG. 2B is started, for example, when a reset signal is received by the reading apparatus 2 as in FIG. 2A. In the example of FIG. 2B, it is assumed that the operation guarantee voltages of the IC card 1 are all of classes A to C. Then, when the initial response process shown in FIG. 2B is started, the CPU 11 reads the value from the voltage detection register 14 (step S11), and determines the voltage applied from the reading device 2. Then, the CPU 11 determines whether or not the value read from the voltage detection register 14 indicates class A (5V) (step S12). When the CPU 11 determines that the value read from the voltage detection register 14 does not indicate class A (5V) (step S12: NO), the value read from the voltage detection register 14 is class B (3V). Is determined (step S13). On the other hand, if the CPU 11 determines that the value read from the voltage detection register 14 indicates class A (5 V) (step S12: YES), the CPU 11 reads initial response information that does not display the voltage class of the guaranteed operation voltage. Response to 2 (step S16).

そして、CPU11は、電圧検知用レジスタ14から読み出した値がクラスB(3V)を示していないと判定した場合(ステップS13:NO)、電圧検知用レジスタ14から読み出した値がクラスC(1.8V)を示しているか否かを判定する(ステップS14)。一方、CPU11は、電圧検知用レジスタ14から読み出した値がクラスB(3V)を示していると判定した場合(ステップS13:YES)、動作保証電圧の電圧クラスを表示しない初期応答情報を読取装置2へ応答する(ステップS16)。   If the CPU 11 determines that the value read from the voltage detection register 14 does not indicate class B (3V) (step S13: NO), the value read from the voltage detection register 14 is class C (1.8V). ) Is determined (step S14). On the other hand, if the CPU 11 determines that the value read from the voltage detection register 14 indicates class B (3V) (step S13: YES), the CPU 11 reads initial response information that does not display the voltage class of the guaranteed operation voltage. Response to 2 (step S16).

そして、CPU11は、電圧検知用レジスタ14から読み出した値がクラスC(1.8V)を示していないと判定した場合(ステップS14:NO)、動作保証電圧の電圧クラスを表示する初期応答情報を読取装置2へ応答する(ステップS15)。一方、CPU11は、電圧検知用レジスタ14から読み出した値がクラスC(1.8V)を示していると判定した場合(ステップS14:YES)、動作保証電圧の電圧クラスを表示しない初期応答情報を読取装置2へ応答する(ステップS16)。   If the CPU 11 determines that the value read from the voltage detection register 14 does not indicate class C (1.8 V) (step S14: NO), the CPU 11 reads the initial response information indicating the voltage class of the guaranteed operation voltage. It responds to the apparatus 2 (step S15). On the other hand, when the CPU 11 determines that the value read from the voltage detection register 14 indicates class C (1.8 V) (step S14: YES), the CPU 11 reads initial response information that does not display the voltage class of the guaranteed operation voltage. It responds to the apparatus 2 (step S16).

このように、ICカード1がクラスA,B,Cの全てにおいて動作を保証する場合には、クラスA,B,Cのいずれかの電圧が印加されたら(つまり、互いに異なる複数の動作保証電圧のうち何れかの動作保証電圧である場合)電圧クラスを表示しない初期応答情報を送信し、クラスA,B,Cのいずれでもない電圧が印加されたら(つまり、互いに異なる複数の動作保証電圧のうち何れの動作保証電圧でない場合)電圧クラスを表示した初期応答情報を送信して、適切ないずれかのクラスへと誘導することもできる。   As described above, when the IC card 1 guarantees the operation in all of the classes A, B, and C, when any of the voltages of the classes A, B, and C is applied (that is, a plurality of operation guarantee voltages different from each other). When the initial response information not indicating the voltage class is transmitted and a voltage that is not one of the classes A, B, and C is applied (that is, a plurality of operation guarantee voltages different from each other). The initial response information indicating the voltage class can be transmitted and guided to any appropriate class (if it is not any of the guaranteed operating voltages).

以上説明したように、上記実施形態によれば、例えば、初期応答情報に電圧クラスの表示を許さないシステムにおいて使用するICカードが、異なるシステムに接続され、動作を保証しない電圧クラスが印加された場合に、電圧クラスを表示した初期応答情報を読取装置2へ送信し、適切な電圧クラスへと誘導し、正常に動作させることが可能になる。したがって、動作を保証できない電圧が読取装置2から供給された場合であっても、それを適切な電圧へと誘導するための情報を提示することができる。   As described above, according to the above embodiment, for example, an IC card used in a system that does not allow display of a voltage class in the initial response information is connected to a different system, and a voltage class that does not guarantee operation is applied. In this case, it is possible to transmit the initial response information indicating the voltage class to the reading device 2, to guide to the appropriate voltage class, and to operate normally. Therefore, even when a voltage whose operation cannot be guaranteed is supplied from the reading device 2, information for guiding it to an appropriate voltage can be presented.

1 ICカード
2 読取装置
11 CPU
12 不揮発性メモリ
13 RAM
14 電圧検知用レジスタ
15 電圧センサー
16 I/Oポート
1 IC card 2 reader 11 CPU
12 Nonvolatile memory 13 RAM
14 Voltage detection register 15 Voltage sensor 16 I / O port

Claims (4)

外部機器との間で通信可能な情報処理装置であって、
前記外部機器からリセット信号を受信する受信手段と、
前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別する判別手段と、
前記リセット信号に対する初期応答情報を当該外部機器へ応答する応答手段と、
を備え、
前記応答手段は、前記判別手段により判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記判別手段により判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とする情報処理装置。
An information processing apparatus capable of communicating with an external device,
Receiving means for receiving a reset signal from the external device;
Determining means for determining a voltage applied from the external device at a timing when the reset signal is received;
Response means for responding to the external device with initial response information for the reset signal;
With
The response means responds with the initial response information indicating the voltage class of the operation guaranteed voltage when the voltage determined by the determination means is not a preset operation guaranteed voltage, and the voltage determined by the determination means An information processing apparatus that responds with the initial response information that does not display a voltage class of the operation guarantee voltage when is an operation guarantee voltage.
前記応答手段は、前記判別手段により判別された電圧が、互いに異なる複数の前記動作保証電圧のうち何れの前記動作保証電圧でもない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記動作保証電圧のうち何れかの前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とする請求項1に記載の情報処理装置。   The response means displays the initial response information for displaying a voltage class of the operation guarantee voltage when the voltage discriminated by the discrimination means is not any of the operation guarantee voltages among the plurality of operation guarantee voltages different from each other. 2. The information processing according to claim 1, wherein the initial response information that does not display a voltage class of the operation guarantee voltage is returned when the operation guarantee voltage is one of the operation guarantee voltages. apparatus. 外部機器との間で通信可能な情報処理装置に含まれるコンピュータにより実行される初期応答方法であって、
前記外部機器からリセット信号を受信するステップと、
前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別するステップと、
前記判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する初期応答情報を前記外部機器へ応答し、前記判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない初期応答情報を前記外部機器へ応答するステップと、
を含むことを特徴とする初期応答方法。
An initial response method executed by a computer included in an information processing apparatus capable of communicating with an external device,
Receiving a reset signal from the external device;
Determining a voltage applied from the external device at a timing when the reset signal is received;
When the determined voltage is not a preset operation guarantee voltage, the initial response information indicating the voltage class of the operation guarantee voltage is returned to the external device, and the determined voltage is the operation guarantee voltage Responding to the external device with initial response information that does not display the voltage class of the operation-guaranteed voltage,
Including an initial response method.
外部機器との間で通信可能なICカードであって、
前記外部機器からリセット信号を受信する受信手段と、
前記リセット信号が受信されたタイミングで前記外部機器から印加された電圧を判別する判別手段と、
前記リセット信号に対する初期応答情報を当該外部機器へ応答する応答手段と、
を備え、
前記応答手段は、前記判別手段により判別された電圧が予め設定された動作保証電圧でない場合に前記動作保証電圧の電圧クラスを表示する前記初期応答情報を応答し、前記判別手段により判別された電圧が前記動作保証電圧である場合に前記動作保証電圧の電圧クラスを表示しない前記初期応答情報を応答することを特徴とするICカード。
An IC card that can communicate with an external device,
Receiving means for receiving a reset signal from the external device;
Determining means for determining a voltage applied from the external device at a timing when the reset signal is received;
Response means for responding to the external device with initial response information for the reset signal;
With
The response means responds with the initial response information indicating the voltage class of the operation guaranteed voltage when the voltage determined by the determination means is not a preset operation guaranteed voltage, and the voltage determined by the determination means An IC card that responds with the initial response information that does not display the voltage class of the operation guarantee voltage when is the operation guarantee voltage.
JP2017006581A 2017-01-18 2017-01-18 Information processing apparatus, initial response method, and IC card Active JP6299892B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017006581A JP6299892B2 (en) 2017-01-18 2017-01-18 Information processing apparatus, initial response method, and IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017006581A JP6299892B2 (en) 2017-01-18 2017-01-18 Information processing apparatus, initial response method, and IC card

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013095605A Division JP6079414B2 (en) 2013-04-30 2013-04-30 Information processing apparatus, initial response method, and IC card

Publications (3)

Publication Number Publication Date
JP2017076439A true JP2017076439A (en) 2017-04-20
JP2017076439A5 JP2017076439A5 (en) 2017-06-08
JP6299892B2 JP6299892B2 (en) 2018-03-28

Family

ID=58551366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017006581A Active JP6299892B2 (en) 2017-01-18 2017-01-18 Information processing apparatus, initial response method, and IC card

Country Status (1)

Country Link
JP (1) JP6299892B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09330387A (en) * 1996-06-07 1997-12-22 Toshiba Corp Semiconductor integrated circuit, ic card, and ic card system
JP2002150246A (en) * 2000-11-07 2002-05-24 Toshiba Corp Portable electronic device
JP2003099740A (en) * 2001-09-21 2003-04-04 Toshiba Corp Portable electronic equipment and method of outputting initial response
US20100224684A1 (en) * 2009-03-03 2010-09-09 Atmel Corporation Smart card reader
JP2012018635A (en) * 2010-07-09 2012-01-26 Toshiba Corp Portable electronic device and ic card
JP2014063340A (en) * 2012-09-21 2014-04-10 Toshiba Corp Ic card, portable electronic device, and information processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09330387A (en) * 1996-06-07 1997-12-22 Toshiba Corp Semiconductor integrated circuit, ic card, and ic card system
JP2002150246A (en) * 2000-11-07 2002-05-24 Toshiba Corp Portable electronic device
JP2003099740A (en) * 2001-09-21 2003-04-04 Toshiba Corp Portable electronic equipment and method of outputting initial response
US20100224684A1 (en) * 2009-03-03 2010-09-09 Atmel Corporation Smart card reader
JP2012018635A (en) * 2010-07-09 2012-01-26 Toshiba Corp Portable electronic device and ic card
JP2014063340A (en) * 2012-09-21 2014-04-10 Toshiba Corp Ic card, portable electronic device, and information processing method

Also Published As

Publication number Publication date
JP6299892B2 (en) 2018-03-28

Similar Documents

Publication Publication Date Title
EP1457922B1 (en) Smart card that can be configured for debugging and software development using secondary communication port
JP2007242024A (en) Ic card, portable terminal, and control method of portable terminal
KR101576735B1 (en) Radio communication devices and methods for controlling a radio communication device
JP2007226796A (en) Smart card supporting a plurality of interfaces and smart card system including the same
JPH08263607A (en) Card read/write method
EP3170059A1 (en) Host apparatus and expansion device
EP2500876A2 (en) IC card, portable electronic device, IC card issuing apparatus, and communication method
JP6299892B2 (en) Information processing apparatus, initial response method, and IC card
WO2014061986A1 (en) Rf card device equipped with tagging function and method for controlling same
JP6079414B2 (en) Information processing apparatus, initial response method, and IC card
US20220076090A1 (en) Memory Card Identification Method and Mobile Device
EP2220583B1 (en) Electronic system and method of operating an electronic system
JP2002150246A (en) Portable electronic device
WO2021124846A1 (en) Ic card and control program for ic card
JP2014063340A (en) Ic card, portable electronic device, and information processing method
JP2015114803A (en) Electronic device and noncontact power transmission system
KR101485157B1 (en) Radio Frequency identification tag comprising an input unit
JP7366765B2 (en) Control program for IC cards, IC card processing systems, and IC card processing devices
JP4417705B2 (en) Portable information storage medium, its holder and portable information storage medium program
JP4734844B2 (en) Holder for portable information storage medium and program thereof
JP2023146841A (en) Information processing device and information processing method
KR101237437B1 (en) Method for Displaying Image
US20190236422A1 (en) Method implemented in an electronic entity and associated electronic entity
EP1403809A1 (en) Smart card accepting device
KR20090033845A (en) Card with electronic medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180212

R150 Certificate of patent or registration of utility model

Ref document number: 6299892

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150