JP5991119B2 - COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD - Google Patents

COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD Download PDF

Info

Publication number
JP5991119B2
JP5991119B2 JP2012215173A JP2012215173A JP5991119B2 JP 5991119 B2 JP5991119 B2 JP 5991119B2 JP 2012215173 A JP2012215173 A JP 2012215173A JP 2012215173 A JP2012215173 A JP 2012215173A JP 5991119 B2 JP5991119 B2 JP 5991119B2
Authority
JP
Japan
Prior art keywords
card
communication setting
external device
communication
identification 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.)
Active
Application number
JP2012215173A
Other languages
Japanese (ja)
Other versions
JP2014071528A (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
Priority to JP2012215173A priority Critical patent/JP5991119B2/en
Publication of JP2014071528A publication Critical patent/JP2014071528A/en
Application granted granted Critical
Publication of JP5991119B2 publication Critical patent/JP5991119B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部機器との間で低速通信と高速通信との何れかを選択して設定可能なICカードの技術分野に関する。   The present invention relates to a technical field of an IC card that can be set by selecting either low-speed communication or high-speed communication with an external device.

従来から、低速通信と高速通信との何れかを選択して設定可能なICカードが知られている。このようなICカードの初期応答情報であるATR(Answer To Reset)は、国際規格ISO/IEC 7816-3によって定義されている。これは主に通信プロトコルに関するICカードの性能を表しており、ICカードの対向機器である端末等の外部機器がATRに記載されたICカードの性能に合わせて通信プロトコルを変更する際に使用される。   Conventionally, there is known an IC card that can be set by selecting either low-speed communication or high-speed communication. Such ATR (Answer To Reset) which is the initial response information of the IC card is defined by the international standard ISO / IEC 7816-3. This mainly represents the performance of the IC card related to the communication protocol, and is used when an external device such as a terminal that is the opposite device of the IC card changes the communication protocol according to the performance of the IC card described in the ATR. The

例えば、特許文献1に開示されたICカードでは、低速通信プロトコルで通信する低速インターフェイスと、高速通信プロトコルで通信する高速インターフェイスとを備えており、低速インターフェイスを通して外部機器からリセット信号を受信した場合に、当該リセット信号に応じて高速通信プロトコル情報を含むATRを低速通信で外部機器へ送信するようになっている。これにより、ICカードは、高速通信プロトコル情報に応じて外部機器から、高速通信への設定変更の要求を受信すると、低速通信から高速通信に設定変更、つまり、通信速度を変更し、その後は外部機器との間で高速通信を行う。   For example, the IC card disclosed in Patent Document 1 includes a low-speed interface that communicates with a low-speed communication protocol and a high-speed interface that communicates with a high-speed communication protocol, and when a reset signal is received from an external device through the low-speed interface. In response to the reset signal, the ATR including the high-speed communication protocol information is transmitted to the external device by low-speed communication. As a result, when the IC card receives a request to change the setting from the external device to the high-speed communication according to the high-speed communication protocol information, the IC card changes the setting from the low-speed communication to the high-speed communication. High-speed communication with equipment.

ところで、ISO/IEC 7816-3に準拠したICカードであれば、必ずATRを応答するため、たとえ通信速度を変更する必要のない特定用途向けに作られたシステムであっても、ICカードはATRを応答しなければならない。特定用途向けに作られたシステムではATRが限定されるため、外部機器によっては特定のATRのみをサポート対象とし、それ以外のATRを異常として扱うように、特定のATRのみが有効な値として設定されることも少なくない。   By the way, an IC card conforming to ISO / IEC 7816-3 always responds with ATR, so even if it is a system made for a specific application that does not need to change the communication speed, the IC card is ATR. Must respond. Since the ATR is limited in a system created for a specific application, depending on the external device, only a specific ATR is supported and only the specific ATR is set as an effective value so that other ATRs are treated as abnormal. It is often done.

一方で、暗号解読技術の進歩により、ITシステムは高いセキュリティレベルを要求されつつある。強固なITシステムを実現するために、そのセキュリティを司る暗号鍵の長さも次第に伸長され、それに伴って通信データ量も拡大の一途を辿っている。大量のデータをストレスなく送受信するためには、通信速度を高めて、瞬時に大量のデータを交換する必要がある。高速な通信は、接続された双方の機器が高速通信可能な機能を備えていなければ実現できず、片方だけが備えていたとしても実現できるものではない。そのため、不特定多数の機器が相互に接続されるITシステムにおいて高速データ転送を実現し、かつ、いずれの機器も支障なく通信できることを保証するためには、それぞれの機器の起動時にはいかなる機器が相手であっても動作可能な通信速度に設定しておき、高速通信機能を持った機器同士が接続されていることを認識した後に高速な通信を開始するような通信規約が必要となる。   On the other hand, IT systems are being required to have a high security level due to the progress of cryptanalysis technology. In order to realize a strong IT system, the length of the encryption key that controls the security is gradually expanded, and the amount of communication data is steadily expanding accordingly. In order to transmit and receive large amounts of data without stress, it is necessary to increase the communication speed and exchange large amounts of data instantaneously. High-speed communication cannot be realized unless both connected devices have a function capable of high-speed communication, and even if only one of them has. Therefore, in order to realize high-speed data transfer in an IT system in which a large number of unspecified devices are connected to each other and to ensure that any device can communicate without any problem, any device is the partner when each device starts up. Even so, it is necessary to set a communication speed that can be operated, and a communication protocol that starts high-speed communication after recognizing that devices having high-speed communication functions are connected to each other is required.

特表2009―527044号公報Special table 2009-527044

しかしながら、特定用途向けに作られたシステムであるがゆえに特定のATRのみが有効な値として設定(つまり、設定可能なATRが限定)されてしまうと、ICカードは本来持ち合わせている全ての通信性能をISO/IEC 7816-3 に従って外部機器へ通知することができなくなってしまうため、高速通信機能を持った機器同士が接続されていたとしても、それを認識する手段を失ってしまう。   However, because the system is designed for a specific application, if only a specific ATR is set as an effective value (that is, the settable ATR is limited), the IC card has all the communication performance that it originally has. Cannot be notified to external devices according to ISO / IEC 7816-3, and even if devices having high-speed communication functions are connected to each other, the means for recognizing them is lost.

そこで、本発明は、上記点等に鑑みてなされたものであり、設定可能なATRが限定された場合であっても、最適な通信設定へと変更して後続する一連の処理を最適な通信設定の下に実施することが可能な通信システム、ICカード、ICカードの処理プログラム、及び通信方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above points and the like, and even when the ATR that can be set is limited, the series of processes that are changed to the optimal communication setting and the subsequent communication are optimized. It is an object of the present invention to provide a communication system, an IC card, an IC card processing program, and a communication method that can be implemented under the setting.

上記課題を解決するために、請求項1に記載の発明は、外部機器との間で通信可能なICカードを備える通信システムであって、前記ICカードは、前記ICカードの識別情報と、特定用途向け用の第1の通信設定情報とを予め記録する記録手段と、前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信する応答手段と、前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信する識別情報送信手段と、を備え、前記外部機器は、前記ICカードへ前記リセット信号を送信するリセット信号送信手段と、前記ICカードから前記初期応答を受信すると、前記ICカードの識別情報読出命令を該ICカードへ送信する読出命令送信手段と、前記ICカードから前記ICカードの識別情報を受信すると、受信した該識別情報から通信設定変更の可否を判定する判定手段と、前記判定手段により通信設定変更が可能であると判定された場合、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を前記ICカードへ送信する変更要求送信手段と、を備え、前記ICカードは、前記外部機器から前記通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更する変更手段を備えることを特徴とする。 In order to solve the above-described problem, the invention according to claim 1 is a communication system including an IC card capable of communicating with an external device, wherein the IC card includes identification information of the IC card and identification Recording means for preliminarily recording first communication setting information for use, and when receiving a reset signal from the external device , an initial response indicating that the communication setting cannot be changed set for actual use, and response means for sending the initial response including a first communication setting information to the external device, upon receiving the identification information readout command of the IC card from the external device which receives the initial response, the identification information of the IC card Identification information transmitting means for transmitting to the external device, and the external device transmits reset signal to the IC card, and the initial signal from the IC card. When the answer is received, the reading instruction transmitting means for transmitting the IC card identification information reading command to the IC card, and when the IC card identification information is received from the IC card, the communication setting change is received from the received identification information. A communication unit including second communication setting information different from the first communication setting information included in the initial response when the determination unit determines whether the communication setting can be changed by the determination unit; Change request transmitting means for transmitting a setting change request to the IC card, and when the IC card receives the communication setting change request from the external device, the second communication included in the communication setting change request A change means for changing the communication setting according to the setting information is provided.

請求項2に記載の発明は、請求項1に記載の通信システムにおいて、前記通信設定情報は、通信速度と通信プロトコルの少なくとも何れか一方の情報を示すことを特徴とする。   According to a second aspect of the present invention, in the communication system according to the first aspect, the communication setting information indicates at least one of a communication speed and a communication protocol.

請求項3に記載の発明は、外部機器との間で通信可能なICカードであって、前記ICカードの識別情報と、特定用途向け用の第1の通信設定情報とを予め記録する記録手段と、前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信する応答手段と、前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信する識別情報送信手段と、前記識別情報を受信した前記外部機器により該識別情報から通信設定変更が可能であると判定されたときに該外部機器から、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更する変更手段と、を備えることを特徴とする。 According to a third aspect of the present invention, there is provided an IC card capable of communicating with an external device, wherein the recording means records in advance the identification information of the IC card and the first communication setting information for a specific application. When the receives the reset signal from the external device, a initial response indicating communication settings changes allowed which is set for actual use, transmits the initial response that includes the first communication setting information to the external device A response means for receiving the identification information of the IC card from the external device receiving the initial response, an identification information transmitting means for transmitting the identification information of the IC card to the external device, and receiving the identification information the second communication configuration that is different from the external device, and the first communication setting information included in the initial response when it is determined from the said identification information by an external device and is capable of changing the communication settings When receiving a communication setting change request containing the distribution, characterized in that it comprises a changing means for changing the communication setting in accordance with the second communication setting information included in the communication setting change request.

請求項4に記載の発明は、外部機器との間で通信可能なICカードであって、前記ICカードの識別情報と特定用途向け用の第1の通信設定情報とを予め記録するICカードに含まれるコンピュータに、前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信するステップと、前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信するステップと、前記識別情報を受信した前記外部機器により該識別情報から通信設定変更が可能であると判定されたときに該外部機器から、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更するステップと、を実行させることを特徴とする。 According to a fourth aspect of the present invention, there is provided an IC card capable of communicating with an external device, wherein the identification information of the IC card and the first communication setting information for specific use are recorded in advance. the computer included, the upon receiving the reset signal from the external device, a initial response indicating communication settings changes allowed which is set for actual use, the initial response of the external portion including the first communication setting information A step of transmitting to the device; a step of transmitting the identification information of the IC card to the external device upon receipt of an IC card identification information read command from the external device that has received the initial response; and a step of receiving the identification information from the external device when it is determined that it is possible to communicate configuration changes from the identification information by the external device, that is different from said first communication setting information included in the initial response When receiving a communication setting change request containing the second communication setting information, wherein the executing the steps of: changing the communication setting in accordance with the second communication setting information included in the communication setting change request.

請求項5に記載の発明は、外部機器との間で通信可能なICカードであって、前記ICカードの識別情報と特定用途向け用の第1の通信設定情報とを予め記録するICカードを備える通信システムにおける通信方法であって、前記外部機器が、前記ICカードへリセット信号を送信するステップと、前記ICカードが、前記外部機器から前記リセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信するステップと、前記外部機器が、前記ICカードから前記初期応答を受信すると、前記ICカードの識別情報読出命令を該ICカードへ送信するステップと、前記ICカードが、前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信するステップと、前記外部機器が、前記ICカードから前記ICカードの識別情報を受信すると、受信した該識別情報から通信設定変更の可否を判定するステップと、前記外部機器が、前記通信設定変更が可能であると判定した場合、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を前記ICカードへ送信するステップと、前記ICカードが、前記外部機器から前記通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更するステップと、を含むことを特徴とする。 According to a fifth aspect of the present invention, there is provided an IC card capable of communicating with an external device, wherein the IC card records in advance identification information of the IC card and first communication setting information for a specific application. A communication method in a communication system comprising: a step in which the external device transmits a reset signal to the IC card; and when the IC card receives the reset signal from the external device, the external device is set for actual use. and a initial showing a communication setting changes allowed response, and sending the initial response that includes the first communication setting information to the external device, the external device receives the initial response from the IC card Sending an IC card identification information read command to the IC card, and the IC card receives the IC card identification information read command from the external device. Then, transmitting the identification information of the IC card to the external device, and when the external device receives the identification information of the IC card from the IC card, whether or not the communication setting can be changed from the received identification information. And a communication setting change including second communication setting information different from the first communication setting information included in the initial response when the external device determines that the communication setting change is possible. Transmitting the request to the IC card; and when the IC card receives the communication setting change request from the external device, the communication setting is changed according to the second communication setting information included in the communication setting change request. And a step.

本発明によれば、設定可能なATRが限定された場合であっても、最適な通信設定へと変更して後続する一連の処理を最適な通信設定の下に実施することができる。   According to the present invention, even when ATRs that can be set are limited, a series of subsequent processes can be performed under optimal communication settings after changing to optimal communication settings.

本実施形態に係るICカードの発行処理システムSの概要構成例を示すブロック図である。1 is a block diagram illustrating a schematic configuration example of an IC card issuance processing system S according to the present embodiment. ICカード1の発行処理システムSにおけるICカード1の発行処理を示すシーケンス図である。FIG. 6 is a sequence diagram showing an issue process of the IC card 1 in the issue processing system S of the IC card 1.

以下、図面を参照して本発明の実施形態について詳細に説明する。以下に説明する実施形態は、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 issuance processing system.

先ず、図1を参照して、本実施形態に係るICカードの発行処理システムの構成及び機能等について説明する。図1は、本実施形態に係るICカードの発行処理システムSの概要構成例を示すブロック図である。図1に示すように、ICカードの発行処理システムSは、発行対象となるICカード1と、発行装置(発行機)2とを備えて構成される。ICカード1は、発行装置2との間で低速通信と高速通信との何れかを選択して設定可能になっている。ICカード1は、金融、通信、交通等の様々な分野で用いられるICカードの他、携帯電話機やスマートホン等の携帯端末に搭載されるICカードとして適用可能である。発行装置2は、ICカード1から情報を読み取る読取装置(リーダライタ)としての機能を有し、ICカード1の対向機器である外部機器の一例である。発行装置2は、発行対象となるICカード1へ発行データを書き込んで発行させる発行処理を行う装置である。発行装置2の制御部は、本発明におけるリセット信号送信手段、読出命令送信手段、判定手段、及び変更要求送信手段等として機能し、後述する処理を実行する。   First, with reference to FIG. 1, the configuration and function of an IC card issuance processing system according to the present embodiment will be described. FIG. 1 is a block diagram illustrating a schematic configuration example of an IC card issue processing system S according to the present embodiment. As shown in FIG. 1, the IC card issue processing system S includes an IC card 1 to be issued and an issuing device (issuing machine) 2. The IC card 1 can be set by selecting either low-speed communication or high-speed communication with the issuing device 2. 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 issuing device 2 has a function as a reading device (reader / writer) that reads information from the IC card 1 and is an example of an external device that is an opposite device of the IC card 1. The issuing device 2 is a device that performs an issuing process in which issuance data is written and issued to the IC card 1 to be issued. The control unit of the issuing device 2 functions as a reset signal transmission unit, a read command transmission unit, a determination unit, a change request transmission unit, and the like in the present invention, and executes processing described later.

ICカード1に搭載されるICチップCは、図1に示すように、信号処理を担うCPU(Central Processing Unit)11、ROM(Read Only Memory)12、不揮発性メモリ(例えばフラッシュメモリやEEPROM)13、データを一時記憶するRAM(Random Access Memory)14、及びI/Oポート(入出力ポート)15等を備えている。I/Oポート15は、図1に示すように、ISO/IEC7816等によって定められた、C1〜C8の8個の端子を有する。ここで、C1端子は電源端子(VCC)であり、C5端子はグランド端子(GND)である。また、C2端子は、リセット端子(RST)であり、読取装置2からリセット信号を入力するために用いられる。また、C3端子は、クロック端子(CLK)であクロック信号を入力するために用いられる。C7端子は、読取装置2との間のインターフェイスを担う端子であり、読取装置2との間の通信のために用いられる。   As shown in FIG. 1, an IC chip C mounted on the IC card 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, and a non-volatile memory (for example, a flash memory or an EEPROM) 13. A RAM (Random Access Memory) 14 for temporarily storing data, an I / O port (input / output port) 15 and the like. As shown in FIG. 1, the I / O port 15 has eight terminals C1 to C8 defined by ISO / IEC7816 or the like. Here, the C1 terminal is a power supply terminal (VCC), and the C5 terminal is a ground terminal (GND). The C2 terminal is a reset terminal (RST) and is used for inputting a reset signal from the reading device 2. The C3 terminal is a clock terminal (CLK) used for inputting a clock signal. The C7 terminal is a terminal that serves as an interface with the reading device 2 and is used for communication with the reading device 2.

ROM12又は不揮発性メモリ13には、オペレーティングシステム、及び本発明の処理プログラムが予め記憶されている。また、ROM12又は不揮発性メモリ13は、本発明における記録手段として、ICカード1の識別情報と、特定用途向け用の第1の通信設定情報とを予め記録する。この第1の通信設定情報は、ATRの設定から影響を受けないように記録される。通信設定情報は、通信速度と通信プロトコルの少なくとも何れか一方の情報を示す。CPU11は、本発明の処理プログラムを実行することにより、本発明における応答手段、識別情報送信手段、及び変更手段等として機能し、後述する処理を実行する。   The ROM 12 or the non-volatile memory 13 stores an operating system and the processing program of the present invention in advance. The ROM 12 or the non-volatile memory 13 records in advance the identification information of the IC card 1 and the first communication setting information for a specific application as recording means in the present invention. The first communication setting information is recorded so as not to be affected by the ATR setting. The communication setting information indicates information on at least one of a communication speed and a communication protocol. By executing the processing program of the present invention, the CPU 11 functions as a response unit, an identification information transmission unit, a change unit, and the like in the present invention, and executes processing to be described later.

次に、図2を参照して、本実施形態に係るICカード1の発行処理システムの動作について、実施例1と実施例2とに分けて説明する。図2は、ICカード1の発行処理システムSにおけるICカード1の発行処理を示すシーケンス図である。
(実施例1)
実施例1では、特定用途向けICカード1の発行処理システムSにおいて使用されるICカード1は、発行処理前の状態であっても出荷後の実使用を想定して、例えば、「通信速度9600bps・通信設定変更不可」を示すATRが出力されるように設定されているものとする。 加えて、ATRの設定値はICカード1の通信設定情報と内部的に連動しておらず、ICカード1は、例えば「115000bps」 による通信をサポートしているものとする。
Next, with reference to FIG. 2, the operation of the IC card 1 issuance processing system according to the present embodiment will be described separately in Example 1 and Example 2. FIG. 2 is a sequence diagram showing the issue processing of the IC card 1 in the issue processing system S of the IC card 1.
Example 1
In the first embodiment, the IC card 1 used in the issuance processing system S of the application-specific IC card 1 assumes, for example, “communication speed 9600 bps” assuming actual use after shipment even in a state before the issuance processing. It is assumed that an ATR indicating that “communication setting cannot be changed” is output. In addition, it is assumed that the setting value of ATR is not internally linked with the communication setting information of the IC card 1 and the IC card 1 supports communication at “115000 bps”, for example.

図2において、先ず、発行装置2は、ICカード1へリセット信号を送信する(ステップS1)。ICカード1は、発行装置2からリセット信号を受信すると(ステップS2)、通信速度を「9600bps」 に設定し、「通信速度9600bps・通信設定変更不可」を示す通信設定情報を含むATR(特定用途向け用の第1の通信設定情報を含む初期応答の一例)を発行装置2へ送信する(ステップS3)。   In FIG. 2, the issuing device 2 first transmits a reset signal to the IC card 1 (step S1). When the IC card 1 receives the reset signal from the issuing device 2 (step S2), the communication speed is set to “9600 bps” and the ATR (specific use including communication setting information indicating “communication speed 9600 bps / communication setting cannot be changed”) is set. An example of an initial response including the first communication setting information for the destination is transmitted to the issuing device 2 (step S3).

発行装置2は、ICカード1からATRを受信すると(ステップS4)、ICカード1の識別情報読出命令をICカード1へ送信する(ステップS5)。ICカード1は、発行装置2からICカード1の識別情報読出命令を受信すると(ステップS6)、ICカード1の識別情報を例えば不揮発性メモリ13から読出し、これを発行装置2へ送信する(ステップS7)。   When issuing device 2 receives ATR from IC card 1 (step S4), it issues an identification information read command for IC card 1 to IC card 1 (step S5). When the IC card 1 receives the identification information read command of the IC card 1 from the issuing device 2 (step S6), the identification information of the IC card 1 is read from, for example, the nonvolatile memory 13 and transmitted to the issuing device 2 (step S6). S7).

発行装置2は、ICカード1からICカード1の識別情報を受信すると(ステップS8)、受信した識別情報から通信設定変更の可否を判定する(ステップS9)。例えば、発行装置2は、ICカードの識別情報と、ICカードがサポートする通信設定情報とを識別情報ごとに対応付けて登録する通信設定変更情報テーブルを予め記憶している。そして、発行装置2は、ICカード1から読み出された識別情報をキーとして、通信設定変更情報テーブルから該当する通信設定情報を検索する。これにより、発行装置2は、例えば上記受信したATRに示される通信速度「9600bps」より速い通信速度がICカード1の識別情報に対応付けられて登録されている場合、受信した識別情報から通信設定変更が可能であると判定する。通信設定変更が可能であると判定された場合(ステップS9:可能)、ステップS10へ進む。一方、通信設定変更が不可能であると判定された場合(ステップS9:不可能)、ステップS17へ進む。   When the issuing device 2 receives the identification information of the IC card 1 from the IC card 1 (step S8), the issuing device 2 determines whether the communication setting can be changed from the received identification information (step S9). For example, the issuing device 2 stores in advance a communication setting change information table that registers identification information of an IC card and communication setting information supported by the IC card in association with each identification information. Then, the issuing device 2 searches the communication setting change information table for the corresponding communication setting information using the identification information read from the IC card 1 as a key. Thereby, for example, when the communication speed faster than the communication speed “9600 bps” indicated in the received ATR is registered in association with the identification information of the IC card 1, the issuing device 2 sets the communication setting from the received identification information. It is determined that the change is possible. If it is determined that the communication setting can be changed (step S9: possible), the process proceeds to step S10. On the other hand, when it is determined that the communication setting cannot be changed (step S9: impossible), the process proceeds to step S17.

ステップS10では、発行装置2は、ICカード1の通信設定情報(第1の通信設定情報とは異なる第2の通信設定情報)を、通信設定変更情報テーブルから特定する。こうして特定される通信設定情報は、ICカード1の通信性能である。次いで、発行装置2は、特定した通信設定情報から、例えばICカード1がサポートする最高通信速度「115000bps」を選択し、これを通信設定変更要求に付加して、ICカード1へ送信する(ステップS11)。つまり、受信したATRに示される通信速度「9600bps」とは異なる通信速度「115000bps」を示す通信設定情報を含む通信設定変更要求がICカード1へ送信される。ICカード1は、発行装置2から通信設定変更要求を受信すると(ステップS12)、通信設定変更完了通知を発行装置2へ送信する(ステップS13)。次いで、ICカード1は、受信した通信設定変更要求に含まれる通信設定情報に従って通信設定を変更する(ステップS14)。例えば、通信速度「9600bps」が通信速度「115000bps」に変更される。   In step S10, the issuing device 2 specifies the communication setting information (second communication setting information different from the first communication setting information) of the IC card 1 from the communication setting change information table. The communication setting information specified in this way is the communication performance of the IC card 1. Next, the issuing device 2 selects, for example, the maximum communication speed “115000 bps” supported by the IC card 1 from the specified communication setting information, adds this to the communication setting change request, and transmits it to the IC card 1 (step). S11). That is, a communication setting change request including communication setting information indicating a communication speed “115000 bps” different from the communication speed “9600 bps” indicated in the received ATR is transmitted to the IC card 1. When receiving a communication setting change request from the issuing device 2 (step S12), the IC card 1 transmits a communication setting change completion notification to the issuing device 2 (step S13). Next, the IC card 1 changes the communication setting according to the communication setting information included in the received communication setting change request (step S14). For example, the communication speed “9600 bps” is changed to the communication speed “115000 bps”.

発行装置2は、ICカード1から通信設定変更完了通知を受信すると(ステップS15)、ステップS11で送信した通信設定変更要求に含まれる通信設定情報(通信速度「115000bps」を示す)に従って通信設定を変更し(ステップS16)、ステップS17へ進む。以降の発行処理は、例えば通信速度「115000bps」 にて実施されるため、高速に発行処理することが可能になる。   When the issuing device 2 receives the communication setting change completion notification from the IC card 1 (step S15), the issuing device 2 sets the communication setting according to the communication setting information (indicating the communication speed “115000 bps”) included in the communication setting change request transmitted in step S11. Change (step S16) and proceed to step S17. Since the subsequent issuance processing is performed at a communication speed of “115000 bps”, for example, it becomes possible to perform the issuance processing at high speed.

(実施例2)
実施例2では、特定用途向けICカード1の発行処理システムSにおいて使用されるICカード1は、発行処理前の状態であっても出荷後の実使用を想定して、例えば、「通信プロトコルT=1・通信速度9600bps・通信設定変更不可」を示すATRが出力されるように設定されているものとする。 加えて、ATRの設定値はICカード1の通信設定情報と内部的に連動しておらず、ICカード1は、例えば「通信プロトコルT=1またはT=0・最高通信速度115000bps」による通信をサポートしているものとする。
(Example 2)
In the second embodiment, the IC card 1 used in the issuance processing system S for the application-specific IC card 1 is assumed to be used after shipping, for example, “communication protocol T Assume that the ATR indicating that “= 1, communication speed 9600 bps, communication setting cannot be changed” is output. In addition, the setting value of ATR is not linked internally with the communication setting information of the IC card 1, and the IC card 1 performs communication by, for example, “communication protocol T = 1 or T = 0, maximum communication speed 115000 bps”. It shall be supported.

図2において、実施例1と同様、ICカード1は、発行装置2からリセット信号を受信すると(ステップS2)、通信プロトコルをT=1に設定し、通信速度を「9600bps」に設定し、「通信プロトコルT=1・通信速度9600bps・通信設定変更不可」を示す通信設定情報を含むATR(特定用途向け用の第1の通信設定情報を含む初期応答の一例)を発行装置2へ送信する(ステップS3)。なお、ステップS4〜S10の処理は、実施例1と同様である。   In FIG. 2, as in the first embodiment, when the IC card 1 receives a reset signal from the issuing device 2 (step S <b> 2), the communication protocol is set to T = 1, the communication speed is set to “9600 bps”, “ ATR including communication setting information indicating “communication protocol T = 1, communication speed 9600 bps, communication setting cannot be changed” (an example of an initial response including first communication setting information for a specific application) is transmitted to issuing device 2 ( Step S3). The processes in steps S4 to S10 are the same as those in the first embodiment.

次いで、発行装置2は、特定した通信設定情報(「通信プロトコルT=1またはT=0・最高通信速度115000bps」を含む)から、例えばICカード1がサポートする「通信プロトコルT=0・通信速度115000bps」を選択し、これを通信設定変更要求に付加して、ICカード1へ送信する(ステップS11)。つまり、受信したATRに示される通信プロトコル「T=1」及び通信速度「9600bps」とは異なる通信プロトコル「T=0」及び通信速度「115000bps」を示す通信設定情報を含む通信設定変更要求がICカード1へ送信される。そして、ICカード1は、発行装置2から通信設定変更要求を受信すると(ステップS12)、通信設定変更完了通知を発行装置2へ送信し(ステップS13)、受信した通信設定変更要求に含まれる通信設定情報に従って通信設定を変更する(ステップS14)。例えば、通信プロトコル「T=1」及び通信速度「9600bps」が、通信プロトコル「T=0」及び通信速度「115000bps」に変更される。以降の発行処理は「通信プロトコルT=0・通信速度115000bps」にて実施される。これにより、T=0にて動作する発行装置2が、T=1のサポートを示すICカード1を高速に発行処理することが可能になる。   Next, the issuing device 2 uses, for example, “communication protocol T = 0.communication speed” supported by the IC card 1 from the specified communication setting information (including “communication protocol T = 1 or T = 0.maximum communication speed 115000 bps”). 115000 bps "is selected, added to the communication setting change request, and transmitted to the IC card 1 (step S11). That is, a communication setting change request including communication setting information indicating a communication protocol “T = 0” and a communication speed “115000 bps” different from the communication protocol “T = 1” and the communication speed “9600 bps” indicated in the received ATR is issued by the IC. It is transmitted to the card 1. When the IC card 1 receives the communication setting change request from the issuing device 2 (step S12), the IC card 1 transmits a communication setting change completion notification to the issuing device 2 (step S13), and the communication included in the received communication setting change request. The communication setting is changed according to the setting information (step S14). For example, the communication protocol “T = 1” and the communication speed “9600 bps” are changed to the communication protocol “T = 0” and the communication speed “115000 bps”. The subsequent issuance processing is performed at “communication protocol T = 0, communication speed 115000 bps”. As a result, the issuing device 2 operating at T = 0 can issue the IC card 1 indicating T = 1 support at high speed.

以上説明したように、上記実施形態によれば、設定可能なATRが限定されたICカード1(例えば、特定用途向けに設定され、ISO/IEC 7816-3 に定義された手順による通信設定変更ができないように設定された)ICカード1であっても、発行装置2がICカード1の通信性能を判別し、最適な通信設定へと変更することにより、後続する一連の処理を最適な通信設定の下に実施することができる。   As described above, according to the above embodiment, the IC card 1 (for example, set for a specific application and defined in ISO / IEC 7816-3 is used to change the communication setting) with a settable ATR. Even if the IC card 1 is set so that it cannot be performed, the issuing device 2 determines the communication performance of the IC card 1 and changes the communication setting to the optimum communication setting. Can be implemented under.

1 ICカード
2 発行装置
11 CPU
12 ROM
13 不揮発性メモリ
14 RAM
15 I/Oポート
S 発行処理システム
1 IC Card 2 Issuing Device 11 CPU
12 ROM
13 Nonvolatile memory 14 RAM
15 I / O port S issuance processing system

Claims (6)

外部機器との間で通信可能なICカードを備える通信システムであって、
前記ICカードは、
前記ICカードの識別情報と、特定用途向け用の第1の通信設定情報とを予め記録する記録手段と、
前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信する応答手段と、
前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信する識別情報送信手段と、
を備え、
前記外部機器は、
前記ICカードへ前記リセット信号を送信するリセット信号送信手段と、
前記ICカードから前記初期応答を受信すると、前記ICカードの識別情報読出命令を該ICカードへ送信する読出命令送信手段と、
前記ICカードから前記ICカードの識別情報を受信すると、受信した該識別情報から通信設定変更の可否を判定する判定手段と、
前記判定手段により通信設定変更が可能であると判定された場合、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を前記ICカードへ送信する変更要求送信手段と、
を備え、
前記ICカードは、
前記外部機器から前記通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更する変更手段を備えることを特徴とする通信システム。
A communication system including an IC card capable of communicating with an external device,
The IC card is
Recording means for pre-recording identification information of the IC card and first communication setting information for specific use;
Wherein upon receiving the reset signal from the external device, a initial response indicating communication settings changes allowed which is set for actual use, in response to transmitting the initial response that includes the first communication setting information to the external device Means,
When receiving an IC card identification information read command from the external device that has received the initial response, identification information transmitting means for transmitting the IC card identification information to the external device;
With
The external device is
Reset signal transmitting means for transmitting the reset signal to the IC card;
Upon receiving the initial response from the IC card, a read command transmission means for transmitting an identification information read command for the IC card to the IC card;
When receiving the identification information of the IC card from the IC card, determination means for determining whether or not the communication setting can be changed from the received identification information;
When it is determined by the determination means that the communication setting can be changed, a communication setting change request including second communication setting information different from the first communication setting information included in the initial response is sent to the IC card. A change request sending means for sending;
With
The IC card is
When the communication setting change request is received from the external device, the communication system includes a changing unit that changes communication settings according to the second communication setting information included in the communication setting change request.
前記通信設定情報は、通信速度と通信プロトコルの少なくとも何れか一方の情報を示すことを特徴とする請求項1に記載の通信システム。   The communication system according to claim 1, wherein the communication setting information indicates at least one of a communication speed and a communication protocol. 外部機器との間で通信可能なICカードであって、
前記ICカードの識別情報と、特定用途向け用の第1の通信設定情報とを予め記録する記録手段と、
前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信する応答手段と、
前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信する識別情報送信手段と、
前記識別情報を受信した前記外部機器により該識別情報から通信設定変更が可能であると判定されたときに該外部機器から、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更する変更手段と、
を備えることを特徴とするICカード。
An IC card that can communicate with an external device,
Recording means for pre-recording identification information of the IC card and first communication setting information for specific use;
Wherein upon receiving the reset signal from the external device, a initial response indicating communication settings changes allowed which is set for actual use, in response to transmitting the initial response that includes the first communication setting information to the external device Means,
When receiving an IC card identification information read command from the external device that has received the initial response, identification information transmitting means for transmitting the IC card identification information to the external device;
The from the external device when the communication setting change from the identification information by the external device that receives the identification information is determined to be possible, that is different from said first communication setting information included in the initial response When a communication setting change request including two communication setting information is received, changing means for changing the communication setting according to the second communication setting information included in the communication setting change request;
An IC card comprising:
外部機器との間で通信可能なICカードであって、前記ICカードの識別情報と特定用途向け用の第1の通信設定情報とを予め記録するICカードに含まれるコンピュータに、
前記外部機器からリセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信するステップと、
前記初期応答を受信した前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信するステップと、
前記識別情報を受信した前記外部機器により該識別情報から通信設定変更が可能であると判定されたときに該外部機器から、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更するステップと、
を実行させることを特徴とするICカードの処理プログラム。
An IC card that can communicate with an external device, and the computer included in the IC card that pre-records the identification information of the IC card and the first communication setting information for specific use,
Upon receiving the reset signal from the external device, a initial response indicating communication settings changes allowed which is set for actual use, sending the initial response that includes the first communication setting information to the external device When,
When receiving an IC card identification information read command from the external device that has received the initial response, transmitting the IC card identification information to the external device;
The from the external device when the communication setting change from the identification information by the external device that receives the identification information is determined to be possible, that is different from said first communication setting information included in the initial response Receiving a communication setting change request including two communication setting information, changing the communication setting according to the second communication setting information included in the communication setting change request;
An IC card processing program characterized in that
外部機器との間で通信可能なICカードであって、前記ICカードの識別情報と特定用途向け用の第1の通信設定情報とを予め記録するICカードを備える通信システムにおける通信方法であって、
前記外部機器が、前記ICカードへリセット信号を送信するステップと、
前記ICカードが、前記外部機器から前記リセット信号を受信すると、実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を該外部機器へ送信するステップと、
前記外部機器が、前記ICカードから前記初期応答を受信すると、前記ICカードの識別情報読出命令を該ICカードへ送信するステップと、
前記ICカードが、前記外部機器からICカードの識別情報読出命令を受信すると、前記ICカードの識別情報を該外部機器へ送信するステップと、
前記外部機器が、前記ICカードから前記ICカードの識別情報を受信すると、受信した該識別情報から通信設定変更の可否を判定するステップと、
前記外部機器が、前記通信設定変更が可能であると判定した場合、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を前記ICカードへ送信するステップと、
前記ICカードが、前記外部機器から前記通信設定変更要求を受信すると、前記通信設定変更要求に含まれる前記第2の通信設定情報に従って通信設定を変更するステップと、
を含むことを特徴とする通信方法。
A communication method in a communication system comprising an IC card capable of communicating with an external device, wherein the IC card records in advance the identification information of the IC card and first communication setting information for a specific application. ,
The external device transmitting a reset signal to the IC card;
Said IC card, said when receiving the reset signal from an external device, a initial response indicating communication settings changes allowed which is set for actual use, the said initial response that includes the first communication setting information Sending to an external device;
When the external device receives the initial response from the IC card, a step of transmitting an identification information read command of the IC card to the IC card;
When the IC card receives an IC card identification information read command from the external device, transmitting the IC card identification information to the external device;
When the external device receives the identification information of the IC card from the IC card, the step of determining whether or not the communication setting can be changed from the received identification information;
When the external device determines that the communication setting change is possible, the IC card sends a communication setting change request including second communication setting information different from the first communication setting information included in the initial response. Sending to
When the IC card receives the communication setting change request from the external device, changing the communication setting according to the second communication setting information included in the communication setting change request;
A communication method comprising:
ICカードの識別情報と特定用途向け用の第1の通信設定情報とを予め記録する前記ICカードへリセット信号を送信するリセット信号送信手段と、Reset signal transmitting means for transmitting a reset signal to the IC card for pre-recording the identification information of the IC card and the first communication setting information for a specific application;
実使用のために設定された通信設定変更不可を示す初期応答であって、前記第1の通信設定情報を含む前記初期応答を受信すると、前記ICカードの識別情報読出命令を該ICカードへ送信する読出命令送信手段と、When the initial response indicating that the communication setting cannot be changed set for actual use and the initial response including the first communication setting information is received, the IC card identification information read command is transmitted to the IC card. Reading command transmitting means for
前記ICカードから前記ICカードの識別情報を受信すると、受信した該識別情報から通信設定変更の可否を判定する判定手段と、When receiving the identification information of the IC card from the IC card, determination means for determining whether or not the communication setting can be changed from the received identification information;
前記判定手段により通信設定変更が可能であると判定された場合、前記初期応答に含まれる前記第1の通信設定情報とは異なる第2の通信設定情報を含む通信設定変更要求を前記ICカードへ送信する変更要求送信手段と、When it is determined by the determination means that the communication setting can be changed, a communication setting change request including second communication setting information different from the first communication setting information included in the initial response is sent to the IC card. A change request sending means for sending;
を備えることを特徴とする外部機器。An external device characterized by comprising:
JP2012215173A 2012-09-27 2012-09-27 COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD Active JP5991119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012215173A JP5991119B2 (en) 2012-09-27 2012-09-27 COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012215173A JP5991119B2 (en) 2012-09-27 2012-09-27 COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2014071528A JP2014071528A (en) 2014-04-21
JP5991119B2 true JP5991119B2 (en) 2016-09-14

Family

ID=50746703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012215173A Active JP5991119B2 (en) 2012-09-27 2012-09-27 COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP5991119B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63268085A (en) * 1987-04-27 1988-11-04 Toshiba Corp Portable memory medium reading and writing device
JP3421378B2 (en) * 1993-03-23 2003-06-30 株式会社東芝 Transmission control method
JP3718564B2 (en) * 1995-12-22 2005-11-24 大日本印刷株式会社 IC card
JP2004240861A (en) * 2003-02-07 2004-08-26 Matsushita Electric Ind Co Ltd Information storage carrier reader/writer and information storage medium communication method
JP5078915B2 (en) * 2006-02-17 2012-11-21 ケーティーフリーテル・カンパニー・リミテッド IC card, terminal equipped with IC card, and initialization method thereof
JP4198167B2 (en) * 2006-09-20 2008-12-17 株式会社ソニー・コンピュータエンタテインメント Adapter device, data transmission system
JP5179834B2 (en) * 2007-10-31 2013-04-10 ルネサスエレクトロニクス株式会社 Semiconductor device and data processing system

Also Published As

Publication number Publication date
JP2014071528A (en) 2014-04-21

Similar Documents

Publication Publication Date Title
US8931705B2 (en) IC card, mobile electronic device and data processing method in IC card
JP3028815B2 (en) Transmission method of portable electronic device and portable electronic device
JP6516133B2 (en) Communication device and communication system
EP2500876A2 (en) IC card, portable electronic device, IC card issuing apparatus, and communication method
JP2010176582A (en) Ic chip, ic card, issuing device, issuing method and issuing system
KR101265574B1 (en) Rf card apparatus with tag function and control method thereof
JP5991119B2 (en) COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD
JP5444138B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE
JP2007087120A (en) Ic card mounted with multiple os (operating system) and issue consignment method
JP3718564B2 (en) IC card
JP2008152525A (en) Device equipped with function to output monitoring state and computer equipment
JP6241340B2 (en) Information processing apparatus, information processing method, and information processing program
JP5799754B2 (en) IC chip, processing method in IC chip, IC chip processing program, IC card, and portable terminal
JP4590201B2 (en) Data carrier and data carrier program
EP2947600A1 (en) Portable electronic device, program, terminal device and method of controlling decoding of data
JP2009123144A (en) Ic card reader/writer
JP5481464B2 (en) Communication medium and communication medium processing apparatus
JP7439847B2 (en) Electronic information storage medium, key data setting method, and program
JP2018194995A (en) Electronic information storage medium, IC card, data transmission method, data writing method, data transmission program and data writing program
JP2006172271A (en) Multi-application ic card, and program for ic card
KR20070059946A (en) Rfid tag device and method for operating the same
JP2013191117A (en) Ic chip, atr response processing program, and atr response method
KR100564759B1 (en) Method for Changing ATR Answer To Reset in Smart Card Systems
JP2006209172A (en) Ic card and program for ic card
CN115840968A (en) Chip with logic encryption card and CPU card and communication method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160801

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5991119

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150