JP6111742B2 - Proximity IC card system and proximity IC card - Google Patents

Proximity IC card system and proximity IC card Download PDF

Info

Publication number
JP6111742B2
JP6111742B2 JP2013042364A JP2013042364A JP6111742B2 JP 6111742 B2 JP6111742 B2 JP 6111742B2 JP 2013042364 A JP2013042364 A JP 2013042364A JP 2013042364 A JP2013042364 A JP 2013042364A JP 6111742 B2 JP6111742 B2 JP 6111742B2
Authority
JP
Japan
Prior art keywords
proximity
card
initial response
reader
writer
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
JP2013042364A
Other languages
Japanese (ja)
Other versions
JP2014170423A (en
JP2014170423A5 (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 JP2013042364A priority Critical patent/JP6111742B2/en
Publication of JP2014170423A publication Critical patent/JP2014170423A/en
Publication of JP2014170423A5 publication Critical patent/JP2014170423A5/ja
Application granted granted Critical
Publication of JP6111742B2 publication Critical patent/JP6111742B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、近接型ICカードにかかる規格で規格化されている衝突防止手順において、通信パラメータのネゴシエーション処理を省くための技術に関する。   The present invention relates to a technique for omitting a communication parameter negotiation process in a collision prevention procedure standardized by a standard for a proximity IC card.

近接型ICカードにかかる規格では、近接型ICカードがサポートする通信パラメータが近接型ICカードで異なる場合があること、リーダライタの動作磁界内に複数の近接型ICカードが存在する場合があることを考慮し、リーダライタとそれぞれの近接型ICカード間で通信を確立するための手順である衝突防止手順を定めている。   In the standard for proximity IC cards, the communication parameters supported by the proximity IC card may differ between the proximity IC cards, and there may be a plurality of proximity IC cards in the operating magnetic field of the reader / writer. In consideration of the above, a collision prevention procedure, which is a procedure for establishing communication between the reader / writer and each proximity IC card, is defined.

図5は、ISO/IEC14443−3(タイプB)における衝突防止手順を説明する図で、図5では、運用に用いる近接型ICカード5を近接型ICカードカード5A、Bの二枚としている。   FIG. 5 is a diagram for explaining a collision prevention procedure in ISO / IEC144443-3 (type B). In FIG. 5, the proximity IC card 5 used for operation is two proximity IC card cards 5A and 5B.

タイプBの近接型ICカード5における衝突防止手順において、リーダライタ4が発信する搬送波によって電力が供給された近接型ICカード5はIDEL状態に遷移し、リーダライタ4は、近接型ICカードに初期応答を要求する初期応答要求コマンドの一つであるREQBを送出する(S20)。   In the collision prevention procedure for the type B proximity IC card 5, the proximity IC card 5 to which power is supplied by the carrier wave transmitted from the reader / writer 4 transits to the IDEL state, and the reader / writer 4 is initially set to the proximity IC card. REQB, which is one of initial response request commands for requesting a response, is transmitted (S20).

REQBを受信した近接型ICカード5A、Bは、Ready状態に遷移し、衝突防止に用いる乱数Rを生成する。ここでは、REQBで示されるスロット数を「4」とし、近接型ICカード5Aが生成した乱数Rを「1」、近接型ICカード5Bが生成した乱数Rを「3」とする。   The proximity IC cards 5A and 5B that have received REQB transition to the Ready state and generate a random number R used for collision prevention. Here, the number of slots indicated by REQB is “4”, the random number R generated by the proximity IC card 5A is “1”, and the random number R generated by the proximity IC card 5B is “3”.

生成した乱数Rが「1」である近接型ICカード5Aは、REQBのレスポンスであるATQBを送出する条件が成立するため、近接型ICカード5Aがサポートする通信パラメータを示す情報を含み、REQBのレスポンスであるATQBを送信する(S21)。   The proximity IC card 5A having the generated random number R of “1” includes information indicating communication parameters supported by the proximity IC card 5A because the condition for sending the ATQB which is a response to the REQB is satisfied. ATQB as a response is transmitted (S21).

ATQBを近接型ICカード5Aから受信したリーダライタ4は、ATQBに含まれる情報を参照して、近接型ICカード5Aとの通信に用いる通信パラメータを決定した後、決定した通信パラメータを含み、通信を確立する近接型ICカード5を選択するための近接型ICカード選択コマンド(Proximity Card Selection Command、タイプBではATTRIB)を近接型ICカード5Aへ送出する(S22)。   The reader / writer 4 that has received the ATQB from the proximity IC card 5A refers to the information included in the ATQB, determines communication parameters used for communication with the proximity IC card 5A, and then includes the determined communication parameters to perform communication. Is sent to the proximity IC card 5A (Proximity Card Selection Command, ATTRIB for type B) to select the proximity IC card 5 that establishes (S22).

ATTRIBを受信した近接型ICカード5Aは、ATTRIBのレスポンスであるATAをリーダライタ4へ送出した後(S23)、近接型ICカード5Aの通信パラメータをATTRIBで指定された値に設定し、Active状態に遷移する。近接型ICカード5Aの状態がActive状態になることで、リーダライタ4と近接型ICカード5A間における通信パラメータのネゴシエーションは終了する。   The proximity IC card 5A that has received ATTRIB sends ATA, which is an ATTRIB response, to the reader / writer 4 (S23), then sets the communication parameter of the proximity IC card 5A to the value specified by ATTRIB, and is in the Active state. Transition to. The communication parameter negotiation between the reader / writer 4 and the proximity IC card 5A ends when the proximity IC card 5A changes to the active state.

リーダライタ4は、近接型ICカード5AからATAを受信すると、上位コマンド(例えば、Read Recordコマンド)を近接型ICカード5Aへ送信し(S24)、上位コマンドのレスポンスを近接型カード5Aから受信することで(S25)、近接型ICカード5Aに係わる処理を進める。   When the reader / writer 4 receives the ATA from the proximity IC card 5A, the reader / writer 4 transmits an upper command (for example, Read Record command) to the proximity IC card 5A (S24), and receives a response of the upper command from the proximity card 5A. As a result (S25), the processing related to the proximity IC card 5A is advanced.

近接型ICカード5Aに係わる処理が終了すると、リーダライタ4は、初期応答要求コマンドの一つで、指定したスロット番号に対応する乱数Rを生成した近接型ICカード5から初期応答を取得するためのコマンドであるSlot−Makerとして、スロット番号「2」を指定するSlot−Makerを送信するが(S26)、ここでは、生成した乱数Rが「2」である近接型ICカード5はないため、リーダライタ4はATQBを受信できない(S27)。   When the processing related to the proximity IC card 5A is completed, the reader / writer 4 obtains an initial response from the proximity IC card 5 that has generated the random number R corresponding to the designated slot number by one of the initial response request commands. A slot-maker that designates the slot number “2” is transmitted as the slot-maker that is the command (S26). However, since there is no proximity IC card 5 in which the generated random number R is “2”, The reader / writer 4 cannot receive ATQB (S27).

スロット番号が「2」のSlot−MakerではATQBが受信できないため、リーダライタは、スロット番号「3」を指定するSlot−Makerを送信し(S28)、生成した乱数Rが「3」である近接型ICカード5Bは、Slot−MakerのレスポンスであるATQBを送信して(S29)、近接型ICカード5Aと同様に、リーダライタ4は、ATTRIBを近接ICカード5Bに対して送出し(S30)、ATAを近接ICカード5Bから受信して(S31)、近接型ICカード5Bとの通信パラメータのネゴシエーションを行う。近接型ICカード5Bとの通信パラメータのネゴシエーションが完了すると、リーダライタ4は、近接型ICカード5Bにかかる処理を進める。   Since the slot-maker with slot number “2” cannot receive ATQB, the reader / writer sends a slot-maker specifying slot number “3” (S28), and the generated random number R is close to “3”. The type IC card 5B transmits ATQB, which is a slot-maker response (S29), and the reader / writer 4 sends ATTRIB to the proximity IC card 5B in the same manner as the proximity IC card 5A (S30). ATA is received from the proximity IC card 5B (S31), and communication parameters are negotiated with the proximity IC card 5B. When the negotiation of the communication parameters with the proximity IC card 5B is completed, the reader / writer 4 proceeds with the processing for the proximity IC card 5B.

ISO/IEC14443−3ISO / IEC144443-3

このように、ISO/IEC14443−3(タイプB)の衝突防止手順では、リーダライタは、通信パラメータのネゴシエーション処理を実行するが、リーダライタと近接型ICカード間の通信に使用する通信パラメータが予め決まっている場合、通信パラメータのネゴシエーション処理を省くことができれば、衝突防止手順にかかる時間を短縮できると考えられる。   As described above, in the collision prevention procedure of ISO / IEC144443-3 (type B), the reader / writer executes the communication parameter negotiation process. However, the communication parameter used for communication between the reader / writer and the proximity IC card is previously set. If it is determined, the time required for the collision prevention procedure can be shortened if the communication parameter negotiation process can be omitted.

そこで、本発明は、リーダライタと近接型ICカード間の通信に使用する通信パラメータが予め決まっている場合、衝突防止手順で定められた通信パラメータのネゴシエーション処理にかかる時間を短縮することができる近接型ICカードシステム、この近接型ICカードシステムで必要な近接型ICカードおよびリーダライタを提供することを目的とする。   Therefore, the present invention provides a proximity that can reduce the time required for the negotiation process of the communication parameters determined in the collision prevention procedure when the communication parameters used for communication between the reader / writer and the proximity IC card are predetermined. It is an object of the present invention to provide a proximity IC card system, a proximity IC card and a reader / writer necessary for the proximity IC card system.

上述した発明を解決する第1の発明は、近接型ICカードとリーダライタとから少なくとも構成される近接型ICカードシステムであって、前記リーダライタは、通信パラメータのネゴシエーション処理を省くために、衝突防止手順を行う際、衝突防止手順が完了していない前記近接型ICカードに初期応答を要求する初期応答要求コマンドを送出するタイミングで、前記初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを送出し、前記近接型ICカードは、衝突防止手順を行う際、前記初期応答要求コマンドと共に前記近接型ICカード選択コマンドを受信すると、前記初期応答要求コマンドのレスポンスを送出する条件が成立している場合、前記初期応答要求コマンドのレスポンスを送出せずに、前記近接型ICカード選択コマンドのレスポンスを前記リーダライタへ送信することを特徴とする。 A first invention that solves the above-described invention is a proximity IC card system that includes at least a proximity IC card and a reader / writer, and the reader / writer performs a collision in order to omit a communication parameter negotiation process. When performing the prevention procedure, at the timing of sending an initial response request command for requesting an initial response to the proximity IC card for which the collision prevention procedure has not been completed, a predetermined communication parameter is set together with the initial response request command. sending a proximity type IC card selected command including, the proximity type IC card, when performing the collision avoidance procedure, when receiving the proximity type IC card selection commands with the initial response request command, the response of the previous SL initial response request command Response to the initial response request command Without sending, and transmits a response before Symbol proximity IC card select command to the reader writer.

更に、第2の発明は、第1の発明に記載した近接型ICカードシステムにおいて、前記近接型ICカードを他のシステムでも利用できるように、前記近接型ICカードは、前記初期応答要求コマンドのみを受信した場合、前記初期応答要求コマンドで示される規格に準じた衝突防止手順を実行することを特徴とする。 Further, according to a second invention, in the proximity IC card system described in the first invention, the proximity IC card can use only the initial response request command so that the proximity IC card can be used in other systems. Is received, an anti-collision procedure according to the standard indicated by the initial response request command is executed.

更に、第3の発明は、ISO/IEC14443−3(タイプB)の適用させた発明で、第1の発明または第2の発明に記載した近接型ICカードシステムにおいて、前記初期応答要求コマンドをISO/IEC14443−3(タイプB)のREQBおよびSlot−Makerとし、前記近接型ICカード選択コマンドをISO/IEC14443−3(タイプB)のATTRIBとしたことを特徴とする。   Further, a third invention is an invention to which ISO / IEC144443-3 (type B) is applied. In the proximity IC card system described in the first invention or the second invention, the initial response request command is sent to the ISO. / IEC144443-3 (type B) REQB and Slot-Maker, and the proximity IC card selection command is ISO / IEC144443-3 (type B) ATTRIB.

更に、第4の発明は、衝突防止手順を行う際、衝突防止手順が完了していない近接型ICカードに初期応答を要求する初期応答要求コマンドを送出するタイミングで、前記初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを送出するように構成されていることを特徴とするリーダライタである。   Furthermore, in the fourth aspect of the invention, when performing the collision prevention procedure, at the timing of sending an initial response request command for requesting an initial response to a proximity IC card that has not completed the collision prevention procedure, together with the initial response request command, The reader / writer is configured to transmit a proximity IC card selection command including a predetermined communication parameter.

更に、第5の発明は、衝突防止手順を行う際、衝突防止手順が完了していない近接型ICカードに初期応答を要求する初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを受信すると、前記初期応答要求コマンドのレスポンスを送信する条件が成立している場合、前記初期応答要求コマンドのレスポンスを送出せずに、前記近接型ICカード選択コマンドのレスポンスを送信するように構成されていることを特徴とする近接型ICカードである。 Further, the fifth aspect of the present invention provides a proximity type including a predetermined communication parameter together with an initial response request command for requesting an initial response to a proximity type IC card that has not completed the collision prevention procedure when performing the collision prevention procedure. Upon receiving the IC card select command, before Symbol if the conditions for sending a response of the initial response request command is satisfied, without providing the response of the initial response request command, the response of the previous SL proximity IC card select command It is a proximity IC card characterized by being configured to transmit.

更に、第6の発明は、第5の発明に記載した近接型ICカードであって、前記近接型ICカードは、前記初期応答要求コマンドのみを受信した場合、前記初期応答要求コマンドで示される規格に準じた衝突防止手順を実行するように構成されていることを特徴とする。 Further, the sixth invention is the proximity IC card according to the fifth invention, wherein the proximity IC card receives the initial response request command only, and the standard indicated by the initial response request command. It is comprised so that the collision prevention procedure according to may be performed.

このように、本発明によれば、リーダライタと近接型ICカード間の通信に使用する通信パラメータが予め決まっている場合、通信パラメータのネゴシエーションを行うためにリーダライタと近接型ICカード間で複数のコマンドをやりとりする必要はなく、通信パラメータのネゴシエーション処理にかかる時間を短縮できる。   As described above, according to the present invention, when communication parameters used for communication between a reader / writer and a proximity IC card are determined in advance, a plurality of communication parameters are negotiated between the reader / writer and the proximity IC card in order to negotiate communication parameters. It is not necessary to exchange these commands, and the time required for the communication parameter negotiation process can be reduced.

本実施形態にかかる近接型ICカードシステムを説明する図。The figure explaining the proximity type IC card system concerning this embodiment. リーダライタの概略構成を説明する図。The figure explaining schematic structure of a reader / writer. 近接型ICカードの概略構成を説明する図。The figure explaining schematic structure of a proximity type IC card. 二枚の近接型ICカードを用いる運用形態の時の動作を説明する図。The figure explaining the operation | movement at the time of the operation | use form using two proximity | contact type | mold IC cards. ISO/IEC14443−3(タイプB)における衝突防止手順を説明する図。The figure explaining the collision prevention procedure in ISO / IEC144443-3 (type B).

ここから、本発明の好適な実施形態を記載する。なお、以下の記載は本発明の範囲を束縛するものでなく、理解を助けるために記述するものである。   From this, a preferred embodiment of the present invention will be described. The following description is not intended to limit the scope of the present invention, but is provided to aid understanding.

図1は、本実施形態にかかる近接型ICカードシステム1を説明する図である。図1に図示したように、本実施形態にかかる近接型ICカードシステム1は、リーダライタ2と近接型ICカード3により構成される。   FIG. 1 is a diagram for explaining a proximity IC card system 1 according to the present embodiment. As shown in FIG. 1, the proximity IC card system 1 according to this embodiment includes a reader / writer 2 and a proximity IC card 3.

本実施形態の近接型ICカードシステム1は、リーダライタ2と近接型ICカード3間の通信に使用する通信パラメータが予め決まっている場合、衝突防止手順で実行される通信パラメータのネゴシエーション処理にかかる時間を短縮できるように開発されたシステムで、ここで、通信パラメータのネゴシエーション処理とは、リーダライタ2が、近接型ICカード3が対応している通信パラメータを示す情報を近接型ICカード3から取得して、近接型ICカード3との通信に用いる通信パラメータを決定し、決定した通信パラメータを近接型ICカード3に通知する一連の処理を意味する。   The proximity IC card system 1 according to the present embodiment is subjected to a communication parameter negotiation process executed in the collision prevention procedure when communication parameters used for communication between the reader / writer 2 and the proximity IC card 3 are determined in advance. Here, the communication parameter negotiation process is a system developed so that the time can be shortened. The reader / writer 2 sends information indicating communication parameters supported by the proximity IC card 3 from the proximity IC card 3. This means a series of processes for acquiring and determining communication parameters used for communication with the proximity IC card 3 and notifying the proximity IC card 3 of the determined communication parameters.

衝突防止手順で実行される通信パラメータのネゴシエーション処理において、リーダライタ2と近接型ICカード3間で複数のコマンドをやりとりする規格として、ISO/IEC14443−3(タイプB)が有名であるため、本実施形態では、近接型ICカード3をISO/IEC14443−3(タイプB)に準拠したものとし、リーダライタ2もISO/IEC14443−3(タイプB)に準拠したものとする。   ISO / IEC 14443-3 (type B) is well known as a standard for exchanging a plurality of commands between the reader / writer 2 and the proximity IC card 3 in the communication parameter negotiation process executed in the collision prevention procedure. In the embodiment, it is assumed that the proximity IC card 3 conforms to ISO / IEC144443-3 (type B), and the reader / writer 2 also conforms to ISO / IEC144443-3 (type B).

まず、近接型ICカードシステム1を構成するリーダライタ2について説明する。図2は、リーダライタ2の概略構成を説明する図である。   First, the reader / writer 2 constituting the proximity IC card system 1 will be described. FIG. 2 is a diagram illustrating a schematic configuration of the reader / writer 2.

図2に示すように、リーダライタ2は、アンテナ2a、RFインターフェース2b、CPU2c、ROM2d、RAM2e、NVM(Non-Volatile Memory)2fを備えている。   As shown in FIG. 2, the reader / writer 2 includes an antenna 2a, an RF interface 2b, a CPU 2c, a ROM 2d, a RAM 2e, and an NVM (Non-Volatile Memory) 2f.

アンテナ2aは、搬送波を発信するためにリーダライタ2に備えられ、この搬送波を利用して、近接型ICカード3に電力供給がなされると共に、近接型ICカード3とのデータ伝送がなされる。RFインターフェース2bは、近接型ICカード3へ送信するデータを変調し、近接型ICカード3から受信したデータを復調する回路である。   The antenna 2 a is provided in the reader / writer 2 for transmitting a carrier wave. The carrier IC is used to supply power to the proximity IC card 3 and to transmit data to and from the proximity IC card 3. The RF interface 2 b is a circuit that modulates data to be transmitted to the proximity IC card 3 and demodulates data received from the proximity IC card 3.

CPU2cは、リーダライタ2全体を制御する回路で、EEPROMやフラッシュメモリなどのNVM2f、RAM2eおよびROM2dは、CPU2cが利用するメモリで、本実施形態において、衝突防止手順にかかるプログラムコードはROM2dに格納されている。   The CPU 2c is a circuit that controls the reader / writer 2 as a whole. The NVM 2f, the RAM 2e, and the ROM 2d such as an EEPROM and a flash memory are memories used by the CPU 2c. In this embodiment, the program code for the collision prevention procedure is stored in the ROM 2d. ing.

ISO/IEC14443−3(タイプB)の衝突防止手順において、リーダライタ2は、通信パラメータのネゴシエーションを近接型ICカード3と行う際、衝突防止手順が完了していない近接型ICカード3に初期応答を要求する初期応答要求コマンドを送出して、近接型ICカード3から初期応答を受信した後、初期応答に含まれる情報に基づき決定した通信パラメータを含む近接型ICカード選択コマンドを初期応答を送出した近接型ICカード3に対して送信するが、リーダライタ2と近接型ICカード3間の通信に使用する通信パラメータが予め決まっている場合、近接型ICカード3が対応している通信パラメータを示す情報はリーダライタ2側で不要になる。   In the ISO / IEC144443-3 (type B) collision prevention procedure, when the reader / writer 2 negotiates communication parameters with the proximity IC card 3, an initial response is sent to the proximity IC card 3 for which the collision prevention procedure has not been completed. After sending an initial response request command for requesting and receiving an initial response from the proximity IC card 3, an initial response is sent for a proximity IC card selection command including communication parameters determined based on information included in the initial response If the communication parameter used for communication between the reader / writer 2 and the proximity IC card 3 is determined in advance, the communication parameter supported by the proximity IC card 3 is set. The information shown is not necessary on the reader / writer 2 side.

そこで、本実施形態にかかるリーダライタ2は、衝突防止手順で実行される通信パラメータのネゴシエーション処理にかかる時間を短縮できるように、衝突防止手順を実行している際、初期応答要求コマンドを送信するタイミングで、この初期応答要求コマンドと共に、初期応答要求コマンドの次に送るコマンドで、予め決められている通信パラメータを含む近接型ICカード選択コマンドを送出する。   Therefore, the reader / writer 2 according to the present embodiment transmits an initial response request command when executing the collision prevention procedure so that the time required for the communication parameter negotiation process executed in the collision prevention procedure can be shortened. At the timing, a proximity IC card selection command including a predetermined communication parameter is transmitted by a command to be sent next to the initial response request command together with the initial response request command.

上述しているように、ISO/IEC14443−3(タイプB)の衝突防止手順において、初期応答要求コマンドはREQBとSlot−Makerになるため、本実施形態のリーダライタ2は、REQBを送信するタイミングで、REQBと共にATTRIBを送出し、REQBのレスポンスであるATQBを送出する近接型ICカード3が動作磁界内にあれば、ATQBではなく、ATTRIBのレスポンスであるATAを該近接型ICカード3から受信する。   As described above, in the ISO / IEC144443-3 (type B) collision prevention procedure, the initial response request command is REQB and Slot-Maker, and therefore the reader / writer 2 of the present embodiment transmits the REQB. If the proximity IC card 3 that sends ATRQB together with REQB and sends ATQB that is a response to REQB is within the operating magnetic field, ATA that is an ATTRIB response is received from the proximity IC card 3 instead of ATQB. To do.

また、本実施形態のリーダライタ2は、Slot−Makerを送信するタイミングで、Slot−Makerと共にATTRIBを送出し、Slot−MakerのレスポンスであるATQBを送出する近接型ICカード3が動作磁界内にあれば、ATQBではなく、ATTRIBのレスポンスであるATAを該近接型ICカード3から受信する。   Further, the reader / writer 2 of the present embodiment transmits the ATTRIB together with the slot-maker at the timing of transmitting the slot-maker, and the proximity IC card 3 that transmits the ATQB that is the response of the slot-maker is within the operating magnetic field. If there is, the ATA which is an ATTRIB response is received from the proximity IC card 3 instead of the ATQB.

次に、近接型ICカードシステム1を構成する近接型ICカード3について説明する。図3は、近接型ICカード3の概略構成を説明する図である。   Next, the proximity IC card 3 constituting the proximity IC card system 1 will be described. FIG. 3 is a diagram illustrating a schematic configuration of the proximity IC card 3.

図3に示すように、近接型ICカード3は、アンテナ3a、RFインターフェース3b、CPU3c、暗号演算に特化したコプロセッサ3d、ROM3e、RAM3f、NVM3gを備えている。   As shown in FIG. 3, the proximity IC card 3 includes an antenna 3a, an RF interface 3b, a CPU 3c, a coprocessor 3d specialized for cryptographic operations, a ROM 3e, a RAM 3f, and an NVM 3g.

アンテナ3aは、リーダライタ2が発信する搬送波を受信するために近接型ICカード3に備えられ、この搬送波を利用して、近接型ICカード3に電力供給がなされると共に、リーダライタ2とのデータ伝送がなされる。RFインターフェース3bは、リーダライタ2へ送信するデータを変調し、リーダライタ2から受信したデータを復調する回路である。   The antenna 3a is provided in the proximity IC card 3 to receive a carrier wave transmitted from the reader / writer 2, and power is supplied to the proximity IC card 3 using this carrier wave, and the antenna 3a is connected to the reader / writer 2. Data transmission is performed. The RF interface 3 b is a circuit that modulates data to be transmitted to the reader / writer 2 and demodulates data received from the reader / writer 2.

CPU3cは、近接型ICカード3を制御する回路で、EEPROMなどのNVM3g、RAM3fおよびROM3eは、CPU3cが利用するメモリで、衝突防止手順にかかるプログラムコードはROM3eに格納されている。   The CPU 3c is a circuit that controls the proximity IC card 3, and the NVM 3g such as EEPROM, the RAM 3f, and the ROM 3e are memories used by the CPU 3c, and the program code for the collision prevention procedure is stored in the ROM 3e.

本実施形態のリーダライタ2は、衝突防止手順を実行している際、初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを送出するため、本実施形態の近接型ICカード3は、衝突防止手順を行う際、初期応答要求コマンドと共に近接型ICカード選択コマンドを受信すると、初期応答要求コマンドを実行した後、初期応答要求コマンドのレスポンスを送信する条件が成立している場合、初期応答要求コマンドのレスポンスを送出せずに、初期応答要求コマンドと共に受信した近接型ICカード選択コマンドを実行し、近接型ICカード選択コマンドのレスポンスを送出する。   The reader / writer 2 of the present embodiment sends a proximity IC card selection command including a predetermined communication parameter together with the initial response request command when executing the collision prevention procedure. When the type IC card 3 receives the proximity type IC card selection command together with the initial response request command when performing the collision prevention procedure, the condition for transmitting the response of the initial response request command is satisfied after executing the initial response request command. If it is, the proximity IC card selection command received together with the initial response request command is executed without sending the response of the initial response request command, and the response of the proximity IC card selection command is sent.

上述しているように、リーダライタ2は、REQBを送出するタイミングで、初期応答要求コマンドの一つであるREQBと共にATTRIBを送出するケースと、初期応答要求コマンドの一つであるSlot−Makerを送出するタイミングで、Slot−Makerと共にATTRIBを送出するケースがあるため、近接型ICカード3は、REQBと共にATTRIBを受信すると、REQBを実行した後、REQBのレスポンスであるATQBを送出する条件が成立している場合、ATQBを送出せずにATTRIBを実行し、REQBと共に受信したATTRIBのレスポンスであるATAを送出する。なお、REQBのレスポンスであるATQBを送出する条件が成立していない場合は、近接型ICカード3はATTRIBを実行せず、無応答になる。   As described above, the reader / writer 2 sends ATTRIB together with REQB, which is one of the initial response request commands, and Slot-Maker, which is one of the initial response request commands, at the timing of sending REQB. Since there is a case where ATTRIB is transmitted together with the slot-maker at the transmission timing, when the proximity IC card 3 receives ATTRIB together with REQB, a condition for transmitting ATQB which is a response of REQB is established after executing REQB. If it does, ATTRIB is executed without sending ATQB, and ATA, which is a response to ATTRIB received together with REQB, is sent. When the condition for sending ATQB, which is a response to REQB, is not satisfied, the proximity IC card 3 does not execute ATTRIB and does not respond.

また、近接型ICカード3は、Slot−Makerと共にATTRIBを受信すると、Slot−Makerを実行する条件が成立している場合、このSlot−Makerを実行した後、Slot−MakerのレスポンスであるATQBを送出する条件が成立している場合、Slot−MakerのレスポンスであるATQBを送出せずにATTRIBを実行し、ATTRIBのレスポンスであるATAを送出する。なお、Slot−MakerのレスポンスであるATQBを送出する条件が成立していない場合は、近接型ICカード3はATTRIBを実行せず、無応答になる。   Further, when the proximity IC card 3 receives ATTRIB together with the slot-maker, if the condition for executing the slot-maker is satisfied, after executing the slot-maker, the proximity IC card 3 receives the ATQB which is the response of the slot-maker. If the transmission condition is satisfied, ATTRIB is executed without transmitting ATQB which is a response of Slot-Maker, and ATA which is a response of ATTRIB is transmitted. If the condition for sending ATQB, which is a slot-maker response, is not satisfied, the proximity IC card 3 does not execute ATTRIB, and does not respond.

ここから、本実施形態の近接型ICカードシステム1の動作について説明する。なお、一枚の近接型ICカード3のみを用いる運用形態では、リーダライタ2がREQBで指定するスロット数は「1」になるため、リーダライタ2はSlot−Makerを送出しない。この運用形態では、図1に図示したように、リーダライタ2は、リーダライタ2の動作磁界内に存在する近接型ICカード3を検出するために、初期応答要求コマンドの一つであるREQBを送出することになるが、ここでは、リーダライタ2は、REQBと共にATTRIBを送出する(S1)。   From here, the operation of the proximity IC card system 1 of the present embodiment will be described. Note that, in an operation mode using only one proximity IC card 3, the reader / writer 2 does not transmit a slot-maker because the number of slots specified by the reader / writer 2 in REQB is “1”. In this operation mode, as shown in FIG. 1, the reader / writer 2 receives REQB, which is one of the initial response request commands, in order to detect the proximity IC card 3 existing in the operating magnetic field of the reader / writer 2. Here, the reader / writer 2 sends ATTRIB together with REQB (S1).

リーダライタ2の動作磁界内に存在する近接型ICカード3は、REQBと共にATTRIBを受信すると、REQBを実行するが、ここでは、スロット数は「1」であるため、必ず、REQBのレスポンスであるATQBを送出する条件が成立することになり、近接型ICカード3は、REQBを実行すると、REQBのレスポンスであるATQBを送出することなくATTRIBを実行し、ATTRIBのレスポンスであるATAを送出する(S2)。   When the proximity IC card 3 existing in the operating magnetic field of the reader / writer 2 receives ATTRIB together with REQB, it executes REQB. Here, since the number of slots is “1”, it is always a response of REQB. When the condition for sending ATQB is satisfied and the proximity IC card 3 executes REQB, it executes ATTRIB without sending ATQB which is a response of REQB, and sends ATA which is a response of ATTRIB ( S2).

図4は、二枚の近接型ICカード3A、Bを用いる運用形態の時の動作を説明する図である。二枚の近接型ICカード3A、Bを用いる運用形態の場合、リーダライタ2は、スロット数が「1」より大きいREQBを送出することになるが、ここでは、リーダライタ2は、スロット数が「4」のREQBと共にATTRIBを送出する(S10)。   FIG. 4 is a diagram for explaining the operation in the operation mode using two proximity IC cards 3A and 3B. In the operation mode using two proximity IC cards 3A and 3B, the reader / writer 2 sends out a REQB having a slot number larger than “1”. Here, the reader / writer 2 has a slot number of ATTRIB is transmitted together with REQB of “4” (S10).

REQBと共にATTRIBを受信した近接型ICカード3A、Bは、それぞれ、REQBを実行する際、衝突防止に用いる乱数Rを生成する。ここでは、近接型ICカード3Aが生成した乱数Rを「1」、近接型ICカード3Bが生成した乱数Rを「3」とする。   The proximity IC cards 3A and 3B that have received ATTRIB together with REQB generate a random number R used for collision prevention when executing REQB. Here, the random number R generated by the proximity IC card 3A is “1”, and the random number R generated by the proximity IC card 3B is “3”.

生成した乱数Rが「1」である近接型ICカード3Aは、ATQBを送出する条件が成立するため、ATQBを送出することなく、REQBと共に受信したATTRIBを実行して、このATTRIBのレスポンスであるATAを送出する(S11)。なお、生成した乱数Rが「3」である近接型ICカード3Bは、ATQBを送出する条件が成立しないため、REQBと共に受信したATTRIBを実行せず、無応答である。   The proximity IC card 3A with the generated random number R being “1” satisfies the condition for sending ATQB, so the ATTRIB received together with REQB is executed without sending ATQB, and this ATTRIB response is ATA is sent out (S11). Note that the proximity IC card 3B with the generated random number R of “3” does not execute the ATTRIB received together with the REQB and does not respond because the condition for sending the ATQB is not satisfied.

リーダライタ2は、近接型ICカード3AからATAを受信すると、上位コマンドを近接型ICカード3Aに対して送出し(S12)、上位コマンドのレスポンスを近接型ICカード3Aから受信することで(S13)、近接型ICカード3Aに係わる処理を進める。   Upon receiving the ATA from the proximity IC card 3A, the reader / writer 2 sends an upper command to the proximity IC card 3A (S12), and receives a response of the upper command from the proximity IC card 3A (S13). ), The process related to the proximity IC card 3A is advanced.

近接型ICカード3Aに係わる処理が終了すると、リーダライタ2は、スロット番号「2」を指定したSlot−Makerと共にATTRIBを送信するが(S14)、ここでは、スロット番号「2」に対応する乱数Rを生成した近接型ICカード3はないため、リーダライタ2は、Slot−Makerと共に送信したATTRIBのレスポンスであるATAを受信できない(S15)。   When the processing related to the proximity IC card 3A is completed, the reader / writer 2 transmits ATTRIB together with the slot-maker specifying the slot number “2” (S14). Here, the random number corresponding to the slot number “2” is transmitted. Since there is no proximity IC card 3 that has generated R, the reader / writer 2 cannot receive the ATA, which is an ATTRIB response transmitted together with the slot-maker (S15).

次に、リーダライタ2は、スロット番号「3」を指定したSlot−Makerと共にATTRIBを送信する(S16)。スロット番号「3」に対応する乱数Rを生成した近接型ICカード3Bは、ATQBを送出する条件が成立するため、ATQBを送出することなく、Slot−Makerと共に受信したATTRIBを実行して、このATTRIBのレスポンスであるATAを送出し(S17)、上述した手順で、近接型ICカード3Bにかかる処理が進められる。   Next, the reader / writer 2 transmits ATTRIB together with the Slot-Maker specifying the slot number “3” (S16). The proximity IC card 3B that has generated the random number R corresponding to the slot number “3” executes the ATTRIB received together with the Slot-Maker without sending the ATQB because the condition for sending the ATQB is satisfied. ATA, which is an ATTRIB response, is sent out (S17), and the processing for the proximity IC card 3B is advanced by the procedure described above.

なお、本実施形態の近接型ICカードシステム1では、衝突防止手順にかかるコンピュータプログラムとして、これまで説明した処理を実行するコンピュータプログラムと、近接型ICカード3の規格に準じた処理を実行するコンピュータプログラムを近接型ICカード3のROM3eに記憶させ、近接型ICカード3が、リーダライタ2から受信した初期応答要求コマンドの内容に応じて、衝突防止手順にかかるコンピュータプログラムを切り替えるようにすることもできる。   In the proximity IC card system 1 of the present embodiment, a computer program that executes the processing described so far and a computer that executes processing according to the standard of the proximity IC card 3 as computer programs for the collision prevention procedure. The program may be stored in the ROM 3e of the proximity IC card 3, and the proximity IC card 3 may switch the computer program related to the collision prevention procedure according to the content of the initial response request command received from the reader / writer 2. it can.

この場合、近接型ICカード3は、初期応答コマンドと共に近接型ICカード選択コマンドを受信した場合、近接型ICカード3は、通信パラメータのネゴシエーション処理を省く処理(例えば、図4)を実行し、初期応答コマンドのみを受信した場合、ISO/IEC14443−3(タイプB)に準拠した手順(例えば、図5)を実行する。   In this case, when the proximity IC card 3 receives the proximity IC card selection command together with the initial response command, the proximity IC card 3 executes a process (eg, FIG. 4) that omits the communication parameter negotiation process. When only the initial response command is received, a procedure (for example, FIG. 5) based on ISO / IEC144443-3 (type B) is executed.

このように、本実施形態の近接型ICカードシステム1によれば、リーダライタ2と近接型ICカード3間の通信で使用するパラメータは予め決まっている場合、リーダライタ2と近接型ICカード3間の通信で使用する通信パラメータを決定するためのネゴシエーションにかかる手順を省けるため、この処理時間を短縮することができる。   Thus, according to the proximity IC card system 1 of the present embodiment, when parameters used for communication between the reader / writer 2 and the proximity IC card 3 are determined in advance, the reader / writer 2 and the proximity IC card 3 are used. Since the procedure for negotiation for determining communication parameters used in communication between the two can be omitted, this processing time can be shortened.

1 近接型ICカードシステム
2 リーダライタ
3 近接型ICカード
1 Proximity IC Card System 2 Reader / Writer 3 Proximity IC Card

Claims (5)

近接型ICカードとリーダライタとから少なくとも構成される近接型ICカードシステムであって、
前記リーダライタは、衝突防止手順を行う際、衝突防止手順が完了していない前記近接型ICカードに初期応答を要求する初期応答要求コマンドを送出するタイミングで、前記初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを送出し、
前記近接型ICカードは、衝突防止手順を行う際、前記初期応答要求コマンドと共に前記近接型ICカード選択コマンドを受信すると、前記初期応答要求コマンドのレスポンスを送出する条件が成立している場合、前記初期応答要求コマンドのレスポンスを送出することなく、前記近接型ICカード選択コマンドのレスポンスを送出する、
ことを特徴とする近接型ICカードシステム。
A proximity IC card system comprising at least a proximity IC card and a reader / writer,
When performing the collision prevention procedure, the reader / writer determines in advance together with the initial response request command at the timing of sending an initial response request command requesting an initial response to the proximity IC card for which the collision prevention procedure has not been completed. Send a proximity IC card selection command including the communication parameters
When the proximity IC card performs the collision prevention procedure, when the proximity IC card selection command is received together with the initial response request command, if the condition for sending the response of the initial response request command is satisfied, Sending a response of the proximity IC card selection command without sending a response of the initial response request command;
Proximity IC card system characterized by the above.
前記近接型ICカードは、前記初期応答要求コマンドのみを受信した場合、前記初期応答要求コマンドで示される規格に準じた衝突防止手順を実行することを特徴とする、請求項1に記載した近接型ICカードシステム。   2. The proximity type card according to claim 1, wherein, when only the initial response request command is received, the proximity type IC card executes a collision prevention procedure according to a standard indicated by the initial response request command. IC card system. 前記初期応答要求コマンドをISO/IEC14443−3(タイプB)のREQBおよびSlot−Makerとし、前記近接型ICカード選択コマンドをISO/IEC14443−3(タイプB)のATTRIBとしたことを特徴とする、請求項1または2に記載した近接型ICカードシステム。   The initial response request command is REQB and Slot-Maker of ISO / IEC144443-3 (type B), and the proximity IC card selection command is ATTRIB of ISO / IEC144443-3 (type B), The proximity IC card system according to claim 1 or 2. 衝突防止手順を行う際、衝突防止手順が完了していない近接型ICカードに初期応答を要求する初期応答要求コマンドと共に、予め決められている通信パラメータを含む近接型ICカード選択コマンドを受信すると、前記初期応答要求コマンドのレスポンスを送出する条件が成立している場合、前記初期応答要求コマンドのレスポンスを送出することなく、前記近接型ICカード選択コマンドのレスポンスを送出するように構成されていることを特徴とする近接型ICカード。   When performing a collision prevention procedure, when receiving a proximity IC card selection command including a predetermined communication parameter together with an initial response request command requesting an initial response to a proximity IC card for which the collision prevention procedure has not been completed, When the condition for sending the response of the initial response request command is satisfied, the response of the proximity IC card selection command is sent without sending the response of the initial response request command. Proximity IC card characterized by 前記近接型ICカードは、前記初期応答要求コマンドのみを受信した場合、前記初期応答要求コマンドで示される規格に準じた衝突防止手順を実行するように構成されていることを特徴とする、請求項に記載した近接型ICカード。 The proximity IC card is configured to execute a collision prevention procedure according to a standard indicated by the initial response request command when only the initial response request command is received. 4. The proximity IC card described in 4 .
JP2013042364A 2013-03-04 2013-03-04 Proximity IC card system and proximity IC card Active JP6111742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013042364A JP6111742B2 (en) 2013-03-04 2013-03-04 Proximity IC card system and proximity IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013042364A JP6111742B2 (en) 2013-03-04 2013-03-04 Proximity IC card system and proximity IC card

Publications (3)

Publication Number Publication Date
JP2014170423A JP2014170423A (en) 2014-09-18
JP2014170423A5 JP2014170423A5 (en) 2016-09-23
JP6111742B2 true JP6111742B2 (en) 2017-04-12

Family

ID=51692765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013042364A Active JP6111742B2 (en) 2013-03-04 2013-03-04 Proximity IC card system and proximity IC card

Country Status (1)

Country Link
JP (1) JP6111742B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204794A (en) * 1990-01-08 1991-09-06 Hitachi Ltd Ic card controlling method
US7274284B2 (en) * 2005-02-04 2007-09-25 Atmel Corporation Method for RF card detection in a contactless system
JP5693824B2 (en) * 2009-03-25 2015-04-01 株式会社東芝 IC card processing device, IC card, and IC card processing system
JP5433358B2 (en) * 2009-09-17 2014-03-05 株式会社東芝 Portable electronic device
JP2012043303A (en) * 2010-08-20 2012-03-01 Toshiba Corp Portable electronic device, processing unit for portable electronic device, and processing system for portable electronic device
JP5602075B2 (en) * 2011-03-17 2014-10-08 株式会社東芝 PORTABLE ELECTRONIC DEVICE, COMMUNICATION METHOD USED FOR IC CARD AND PORTABLE ELECTRONIC DEVICE

Also Published As

Publication number Publication date
JP2014170423A (en) 2014-09-18

Similar Documents

Publication Publication Date Title
KR101799389B1 (en) Method for identifying and authenticating an rfid tag by a reader
CN106664513B (en) Electronic device, electronic system, controller, control method, and recording medium
US9413427B2 (en) Emulation of multiple devices in an NFC device
CN108141733B (en) NFC split stack architecture
US9615196B2 (en) NFC device configuration after device power up
EP3242494A1 (en) Nfc-based communication device and method
KR20200002807A (en) Communication device and method
JP6111742B2 (en) Proximity IC card system and proximity IC card
EP2717193B1 (en) IC card, portable electronic device, and reader/ writer
US9007176B2 (en) Portable electronic apparatus and control method of portable electronic apparatus
CN113098566B (en) Method for configuring non-contact communication equipment and non-contact communication electronic equipment
JP6096497B2 (en) Communication program, information processing apparatus, communication system, and communication method
JP2011150661A (en) Portable electronic device and portable electronic device control method
CN104184699B (en) Security information interaction system, device and method
JP2008033426A (en) Ic card with mode change function and ic card program
US9070065B2 (en) IC card, portable electronic apparatus, and controlling method of IC card
JP7468754B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, RECEPTION BLOCK PROCESSING METHOD, AND PROGRAM
JP5217689B2 (en) Communication system, its originating node, receiving node
JP2008276572A (en) Non-contact ic card
JP5991119B2 (en) COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD
JP6201812B2 (en) Information processing apparatus and information processing method
JP5787692B2 (en) IC card, portable electronic device, and IC card control method
JP5762941B2 (en) IC card, portable electronic device, and IC card control program
JP2017167835A (en) Tag reading device, collation device, tag reading method, and program
JP2014071522A (en) Ic card, ic card processing program, and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160729

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20160729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170227

R150 Certificate of patent or registration of utility model

Ref document number: 6111742

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150